diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index e8ccc5b9d..4b262b17d 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -24,15 +24,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi - - name: Lint with flake8 - run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + pip install -r requirements.txt + pip install -r test-requirements.txt - name: Test with pytest run: | - pytest + pytest --cov={{packageName}} diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1e83c36a..0e369dd24 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,9 +14,6 @@ stages: - pip install -r test-requirements.txt - pytest --cov=eZmaxApi -pytest-3.7: - extends: .pytest - image: python:3.7-alpine pytest-3.8: extends: .pytest image: python:3.8-alpine @@ -29,3 +26,6 @@ pytest-3.10: pytest-3.11: extends: .pytest image: python:3.11-alpine +pytest-3.12: + extends: .pytest + image: python:3.12-alpine diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 79c12dc9a..054639372 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -4,6 +4,9 @@ .openapi-generator-ignore .travis.yml README.md +docs/ActivesessionGenerateFederationTokenV1Request.md +docs/ActivesessionGenerateFederationTokenV1Response.md +docs/ActivesessionGenerateFederationTokenV1ResponseMPayload.md docs/ActivesessionGetCurrentV1Response.md docs/ActivesessionGetCurrentV1ResponseMPayload.md docs/ActivesessionGetListV1Response.md @@ -15,6 +18,8 @@ docs/ActivesessionResponseCompoundApikey.md docs/ActivesessionResponseCompoundUser.md docs/AddressRequest.md docs/AddressRequestCompound.md +docs/AddressResponse.md +docs/AddressResponseCompound.md docs/ApikeyCreateObjectV2Request.md docs/ApikeyCreateObjectV2Response.md docs/ApikeyCreateObjectV2ResponseMPayload.md @@ -23,6 +28,9 @@ docs/ApikeyEditObjectV1Response.md docs/ApikeyEditPermissionsV1Request.md docs/ApikeyEditPermissionsV1Response.md docs/ApikeyEditPermissionsV1ResponseMPayload.md +docs/ApikeyGenerateDelegatedCredentialsV1Request.md +docs/ApikeyGenerateDelegatedCredentialsV1Response.md +docs/ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.md docs/ApikeyGetCorsV1Response.md docs/ApikeyGetCorsV1ResponseMPayload.md docs/ApikeyGetListV1Response.md @@ -43,15 +51,35 @@ docs/ApikeyResponse.md docs/ApikeyResponseCompound.md docs/AttachmentGetAttachmentlogsV1Response.md docs/AttachmentGetAttachmentlogsV1ResponseMPayload.md -docs/AttachmentGetDownloadUrlV1Response.md -docs/AttachmentGetDownloadUrlV1ResponseMPayload.md docs/AttachmentResponse.md docs/AttachmentResponseCompound.md docs/AttachmentlogResponse.md docs/AttachmentlogResponseCompound.md docs/AttemptResponse.md docs/AttemptResponseCompound.md +docs/AuthenticationexternalAutocompleteElementResponse.md +docs/AuthenticationexternalCreateObjectV1Request.md +docs/AuthenticationexternalCreateObjectV1Response.md +docs/AuthenticationexternalCreateObjectV1ResponseMPayload.md +docs/AuthenticationexternalDeleteObjectV1Response.md +docs/AuthenticationexternalEditObjectV1Request.md +docs/AuthenticationexternalEditObjectV1Response.md +docs/AuthenticationexternalGetAutocompleteV2Response.md +docs/AuthenticationexternalGetAutocompleteV2ResponseMPayload.md +docs/AuthenticationexternalGetListV1Response.md +docs/AuthenticationexternalGetListV1ResponseMPayload.md +docs/AuthenticationexternalGetObjectV2Response.md +docs/AuthenticationexternalGetObjectV2ResponseMPayload.md +docs/AuthenticationexternalListElement.md +docs/AuthenticationexternalRequest.md +docs/AuthenticationexternalRequestCompound.md +docs/AuthenticationexternalResetAuthorizationV1Response.md +docs/AuthenticationexternalResponse.md +docs/AuthenticationexternalResponseCompound.md docs/BillingentityexternalAutocompleteElementResponse.md +docs/BillingentityexternalGenerateFederationTokenV1Request.md +docs/BillingentityexternalGenerateFederationTokenV1Response.md +docs/BillingentityexternalGenerateFederationTokenV1ResponseMPayload.md docs/BillingentityexternalGetAutocompleteV2Response.md docs/BillingentityexternalGetAutocompleteV2ResponseMPayload.md docs/BillingentityinternalAutocompleteElementResponse.md @@ -76,27 +104,37 @@ docs/BillingentityinternalproductRequestCompound.md docs/BillingentityinternalproductResponse.md docs/BillingentityinternalproductResponseCompound.md docs/BrandingAutocompleteElementResponse.md -docs/BrandingCreateObjectV1Request.md -docs/BrandingCreateObjectV1Response.md -docs/BrandingCreateObjectV1ResponseMPayload.md -docs/BrandingEditObjectV1Request.md -docs/BrandingEditObjectV1Response.md +docs/BrandingCreateObjectV2Request.md +docs/BrandingCreateObjectV2Response.md +docs/BrandingCreateObjectV2ResponseMPayload.md +docs/BrandingEditObjectV2Request.md +docs/BrandingEditObjectV2Response.md docs/BrandingGetAutocompleteV2Response.md docs/BrandingGetAutocompleteV2ResponseMPayload.md docs/BrandingGetListV1Response.md docs/BrandingGetListV1ResponseMPayload.md -docs/BrandingGetObjectV2Response.md -docs/BrandingGetObjectV2ResponseMPayload.md +docs/BrandingGetObjectV3Response.md +docs/BrandingGetObjectV3ResponseMPayload.md docs/BrandingListElement.md -docs/BrandingRequest.md -docs/BrandingRequestCompound.md -docs/BrandingResponse.md -docs/BrandingResponseCompound.md +docs/BrandingRequestCompoundV2.md +docs/BrandingRequestV2.md +docs/BrandingResponseCompoundV3.md +docs/BrandingResponseV3.md +docs/BuyercontractGetCommunicationCountV1Response.md +docs/BuyercontractGetCommunicationCountV1ResponseMPayload.md docs/BuyercontractGetCommunicationListV1Response.md docs/BuyercontractGetCommunicationListV1ResponseMPayload.md +docs/BuyercontractGetCommunicationrecipientsV1Response.md +docs/BuyercontractGetCommunicationrecipientsV1ResponseMPayload.md +docs/BuyercontractGetCommunicationsendersV1Response.md +docs/BuyercontractGetCommunicationsendersV1ResponseMPayload.md docs/ClonehistoryGetListV1Response.md docs/ClonehistoryGetListV1ResponseMPayload.md docs/ClonehistoryListElement.md +docs/ColleagueRequestCompoundV2.md +docs/ColleagueRequestV2.md +docs/ColleagueResponseCompoundV2.md +docs/ColleagueResponseV2.md docs/CommonAudit.md docs/CommonAuditdetail.md docs/CommonFile.md @@ -114,9 +152,11 @@ docs/CommonReportsubsection.md docs/CommonReportsubsectionpart.md docs/CommonResponse.md docs/CommonResponseError.md +docs/CommonResponseErrorCreditcardValidation.md docs/CommonResponseErrorEzsignformValidation.md docs/CommonResponseErrorSTemporaryFileUrl.md docs/CommonResponseErrorTooManyRequests.md +docs/CommonResponseErrorWrongFranchiseoffice.md docs/CommonResponseFilter.md docs/CommonResponseGetList.md docs/CommonResponseObjDebug.md @@ -126,11 +166,11 @@ docs/CommonResponseObjSQLQuery.md docs/CommonResponseRedirectSSecretquestionTextX.md docs/CommonResponseWarning.md docs/CommonWebhook.md -docs/CommunicationCreateObjectV1ResponseMPayload.md docs/CommunicationRequest.md docs/CommunicationRequestCompound.md docs/CommunicationSendV1Request.md docs/CommunicationSendV1Response.md +docs/CommunicationSendV1ResponseMPayload.md docs/CommunicationattachmentRequest.md docs/CommunicationattachmentRequestCompound.md docs/CommunicationexternalrecipientRequest.md @@ -144,10 +184,22 @@ docs/CompanyGetAutocompleteV2Response.md docs/CompanyGetAutocompleteV2ResponseMPayload.md docs/ComputedECommunicationDirection.md docs/ComputedEEzsigndocumentSteptype.md +docs/ComputedEEzsignfolderAccess.md docs/ContactRequest.md docs/ContactRequestCompound.md +docs/ContactRequestCompoundV2.md +docs/ContactRequestV2.md +docs/ContactResponse.md +docs/ContactResponseCompound.md docs/ContactinformationsRequest.md docs/ContactinformationsRequestCompound.md +docs/ContactinformationsRequestCompoundV2.md +docs/ContactinformationsRequestV2.md +docs/ContactinformationsResponse.md +docs/ContactinformationsResponseCompound.md +docs/ContacttitleAutocompleteElementResponse.md +docs/ContacttitleGetAutocompleteV2Response.md +docs/ContacttitleGetAutocompleteV2ResponseMPayload.md docs/CorsCreateObjectV1Request.md docs/CorsCreateObjectV1Response.md docs/CorsCreateObjectV1ResponseMPayload.md @@ -177,8 +229,11 @@ docs/CreditcardclientGetListV1ResponseMPayload.md docs/CreditcardclientGetObjectV2Response.md docs/CreditcardclientGetObjectV2ResponseMPayload.md docs/CreditcardclientListElement.md +docs/CreditcardclientPatchObjectV1Request.md +docs/CreditcardclientPatchObjectV1Response.md docs/CreditcardclientRequest.md docs/CreditcardclientRequestCompound.md +docs/CreditcardclientRequestPatch.md docs/CreditcardclientResponse.md docs/CreditcardclientResponseCompound.md docs/CreditcarddetailRequest.md @@ -187,8 +242,11 @@ docs/CreditcarddetailResponseCompound.md docs/CreditcardtypeAutocompleteElementResponse.md docs/CreditcardtypeGetAutocompleteV2Response.md docs/CreditcardtypeGetAutocompleteV2ResponseMPayload.md +docs/CustomApikey.md +docs/CustomApikeyfederation.md docs/CustomAttachmentResponse.md docs/CustomAttachmentdocumenttypeResponse.md +docs/CustomBrandingResponse.md docs/CustomCommunicationListElementResponse.md docs/CustomCommunicationattachmentRequest.md docs/CustomCommunicationrecipientsgroupResponse.md @@ -198,16 +256,22 @@ docs/CustomCommunicationsenderResponse.md docs/CustomContactNameResponse.md docs/CustomCreateEzsignelementsPositionedByWordRequest.md docs/CustomCreditcardtransactionResponse.md +docs/CustomCreditcardtransactionresponseResponse.md docs/CustomDiscussionconfigurationResponse.md +docs/CustomDnsrecordResponse.md docs/CustomDropdownElementRequest.md docs/CustomDropdownElementRequestCompound.md docs/CustomDropdownElementResponse.md docs/CustomDropdownElementResponseCompound.md +docs/CustomEWebhookEzsignevent.md docs/CustomEzmaxinvoicingEzsigndocumentResponse.md docs/CustomEzmaxinvoicingEzsignfolderResponse.md docs/CustomEzmaxpricingResponse.md docs/CustomEzsigndocumentEzsignsignaturesAutomaticResponse.md +docs/CustomEzsigndocumentRequest.md docs/CustomEzsignfolderEzsignsignaturesAutomaticResponse.md +docs/CustomEzsignfolderezsigntemplatepublicResponse.md +docs/CustomEzsignfolderezsigntemplatepublicSignerResponse.md docs/CustomEzsignfoldersignerassociationActionableElementResponse.md docs/CustomEzsignfoldersignerassociationstatusResponse.md docs/CustomEzsignfoldertransmissionResponse.md @@ -229,11 +293,21 @@ docs/CustomFormsDataFolderResponse.md docs/CustomImportEzsigntemplatepackageRelationRequest.md docs/CustomNotificationsubsectiongetnotificationtestsResponse.md docs/CustomNotificationtestgetnotificationtestsResponse.md -docs/CustomUserResponse.md +docs/CustomTimezoneWithCodeResponse.md +docs/CustomUserNameResponse.md docs/CustomWebhookResponse.md docs/CustomWebhooklogResponse.md docs/CustomWordPositionOccurenceResponse.md docs/CustomWordPositionWordResponse.md +docs/CustomerCreateObjectV1Request.md +docs/CustomerCreateObjectV1Response.md +docs/CustomerCreateObjectV1ResponseMPayload.md +docs/CustomerGetObjectV2Response.md +docs/CustomerGetObjectV2ResponseMPayload.md +docs/CustomerRequest.md +docs/CustomerRequestCompound.md +docs/CustomerResponse.md +docs/CustomerResponseCompound.md docs/DepartmentAutocompleteElementResponse.md docs/DepartmentGetAutocompleteV2Response.md docs/DepartmentGetAutocompleteV2ResponseMPayload.md @@ -271,8 +345,27 @@ docs/DiscussionmessageRequestCompound.md docs/DiscussionmessageRequestPatch.md docs/DiscussionmessageResponse.md docs/DiscussionmessageResponseCompound.md +docs/DomainCreateObjectV1Request.md +docs/DomainCreateObjectV1Response.md +docs/DomainCreateObjectV1ResponseMPayload.md +docs/DomainDeleteObjectV1Response.md +docs/DomainGetListV1Response.md +docs/DomainGetListV1ResponseMPayload.md +docs/DomainGetObjectV2Response.md +docs/DomainGetObjectV2ResponseMPayload.md +docs/DomainListElement.md +docs/DomainRequest.md +docs/DomainRequestCompound.md +docs/DomainResponse.md +docs/DomainResponseCompound.md +docs/ElectronicfundstransferGetCommunicationCountV1Response.md +docs/ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.md docs/ElectronicfundstransferGetCommunicationListV1Response.md docs/ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md +docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md +docs/ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.md +docs/ElectronicfundstransferGetCommunicationsendersV1Response.md +docs/ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.md docs/EmailRequest.md docs/EmailRequestCompound.md docs/EmailResponse.md @@ -285,6 +378,32 @@ docs/EnumFontweight.md docs/EnumHorizontalalignment.md docs/EnumTextvalidation.md docs/EnumVerticalalignment.md +docs/EzdoctemplatedocumentAutocompleteElementResponse.md +docs/EzdoctemplatedocumentCreateObjectV1Request.md +docs/EzdoctemplatedocumentCreateObjectV1Response.md +docs/EzdoctemplatedocumentCreateObjectV1ResponseMPayload.md +docs/EzdoctemplatedocumentEditObjectV1Request.md +docs/EzdoctemplatedocumentEditObjectV1Response.md +docs/EzdoctemplatedocumentGetAutocompleteV2Response.md +docs/EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.md +docs/EzdoctemplatedocumentGetListV1Response.md +docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md +docs/EzdoctemplatedocumentGetObjectV2Response.md +docs/EzdoctemplatedocumentGetObjectV2ResponseMPayload.md +docs/EzdoctemplatedocumentListElement.md +docs/EzdoctemplatedocumentPatchObjectV1Request.md +docs/EzdoctemplatedocumentPatchObjectV1Response.md +docs/EzdoctemplatedocumentRequest.md +docs/EzdoctemplatedocumentRequestCompound.md +docs/EzdoctemplatedocumentRequestPatch.md +docs/EzdoctemplatedocumentResponse.md +docs/EzdoctemplatedocumentResponseCompound.md +docs/EzdoctemplatefieldtypecategoryAutocompleteElementResponse.md +docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md +docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.md +docs/EzdoctemplatetypeAutocompleteElementResponse.md +docs/EzdoctemplatetypeGetAutocompleteV2Response.md +docs/EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.md docs/EzmaxinvoicingAutocompleteElementResponse.md docs/EzmaxinvoicingGetAutocompleteV2Response.md docs/EzmaxinvoicingGetAutocompleteV2ResponseMPayload.md @@ -315,15 +434,21 @@ docs/EzmaxinvoicinguserResponseCompound.md docs/EzmaxproductAutocompleteElementResponse.md docs/EzmaxproductGetAutocompleteV2Response.md docs/EzmaxproductGetAutocompleteV2ResponseMPayload.md -docs/EzsignSuggestSignersV1Response.md -docs/EzsignSuggestSignersV1ResponseMPayload.md -docs/EzsignSuggestTemplatesV1Response.md -docs/EzsignSuggestTemplatesV1ResponseMPayload.md +docs/EzsignannotationCreateObjectV1Request.md +docs/EzsignannotationCreateObjectV1Response.md +docs/EzsignannotationCreateObjectV1ResponseMPayload.md +docs/EzsignannotationDeleteObjectV1Response.md +docs/EzsignannotationEditObjectV1Request.md +docs/EzsignannotationEditObjectV1Response.md +docs/EzsignannotationGetObjectV2Response.md +docs/EzsignannotationGetObjectV2ResponseMPayload.md +docs/EzsignannotationRequest.md +docs/EzsignannotationRequestCompound.md docs/EzsignannotationResponse.md docs/EzsignannotationResponseCompound.md -docs/EzsignbulksendCreateEzsignbulksendtransmissionV1Request.md -docs/EzsignbulksendCreateEzsignbulksendtransmissionV1Response.md -docs/EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload.md +docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Request.md +docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md +docs/EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.md docs/EzsignbulksendCreateObjectV1Request.md docs/EzsignbulksendCreateObjectV1Response.md docs/EzsignbulksendCreateObjectV1ResponseMPayload.md @@ -391,6 +516,7 @@ docs/EzsigndocumentApplyEzsigntemplateV2Request.md docs/EzsigndocumentApplyEzsigntemplateV2Response.md docs/EzsigndocumentApplyEzsigntemplateglobalV1Request.md docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md +docs/EzsigndocumentCreateElementV3Response.md docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Request.md docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload.md @@ -400,16 +526,27 @@ docs/EzsigndocumentCreateObjectV1ResponseMPayload.md docs/EzsigndocumentCreateObjectV2Request.md docs/EzsigndocumentCreateObjectV2Response.md docs/EzsigndocumentCreateObjectV2ResponseMPayload.md +docs/EzsigndocumentCreateObjectV3Request.md +docs/EzsigndocumentCreateObjectV3Response.md +docs/EzsigndocumentCreateObjectV3ResponseMPayload.md docs/EzsigndocumentDeclineToSignV1Request.md docs/EzsigndocumentDeclineToSignV1Response.md docs/EzsigndocumentDeleteObjectV1Response.md +docs/EzsigndocumentEditEzsignannotationsV1Request.md +docs/EzsigndocumentEditEzsignannotationsV1Response.md +docs/EzsigndocumentEditEzsignannotationsV1ResponseMPayload.md docs/EzsigndocumentEditEzsignformfieldgroupsV1Request.md docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md docs/EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload.md docs/EzsigndocumentEditEzsignsignaturesV1Request.md docs/EzsigndocumentEditEzsignsignaturesV1Response.md docs/EzsigndocumentEditEzsignsignaturesV1ResponseMPayload.md +docs/EzsigndocumentEditObjectV1Request.md +docs/EzsigndocumentEditObjectV1Response.md docs/EzsigndocumentEndPrematurelyV1Response.md +docs/EzsigndocumentExtractTextV1Request.md +docs/EzsigndocumentExtractTextV1Response.md +docs/EzsigndocumentExtractTextV1ResponseMPayload.md docs/EzsigndocumentFlattenV1Response.md docs/EzsigndocumentGetActionableElementsV1Response.md docs/EzsigndocumentGetActionableElementsV1ResponseMPayload.md @@ -441,6 +578,7 @@ docs/EzsigndocumentGetTemporaryProofV1Response.md docs/EzsigndocumentGetTemporaryProofV1ResponseMPayload.md docs/EzsigndocumentGetWordsPositionsV1Request.md docs/EzsigndocumentGetWordsPositionsV1Response.md +docs/EzsigndocumentMatchingtemplateV3Response.md docs/EzsigndocumentPatchObjectV1Request.md docs/EzsigndocumentPatchObjectV1Response.md docs/EzsigndocumentRequest.md @@ -451,6 +589,9 @@ docs/EzsigndocumentResponseCompound.md docs/EzsigndocumentSubmitEzsignformV1Request.md docs/EzsigndocumentSubmitEzsignformV1Response.md docs/EzsigndocumentUnsendV1Response.md +docs/EzsigndocumentdependencyRequest.md +docs/EzsigndocumentdependencyRequestCompound.md +docs/EzsigndocumentdependencyResponse.md docs/EzsigndocumentlogResponse.md docs/EzsigndocumentlogResponseCompound.md docs/EzsignelementdependencyRequest.md @@ -465,12 +606,15 @@ docs/EzsignfolderCreateObjectV1ResponseMPayload.md docs/EzsignfolderCreateObjectV2Request.md docs/EzsignfolderCreateObjectV2Response.md docs/EzsignfolderCreateObjectV2ResponseMPayload.md +docs/EzsignfolderCreateObjectV3Request.md +docs/EzsignfolderCreateObjectV3Response.md +docs/EzsignfolderCreateObjectV3ResponseMPayload.md docs/EzsignfolderDeleteObjectV1Response.md docs/EzsignfolderDisposeEzsignfoldersV1Request.md docs/EzsignfolderDisposeEzsignfoldersV1Response.md docs/EzsignfolderDisposeV1Response.md -docs/EzsignfolderEditObjectV1Request.md -docs/EzsignfolderEditObjectV1Response.md +docs/EzsignfolderEditObjectV3Request.md +docs/EzsignfolderEditObjectV3Response.md docs/EzsignfolderEndPrematurelyV1Response.md docs/EzsignfolderGetActionableElementsV1Response.md docs/EzsignfolderGetActionableElementsV1ResponseMPayload.md @@ -500,6 +644,8 @@ docs/EzsignfolderGetObjectV1Response.md docs/EzsignfolderGetObjectV1ResponseMPayload.md docs/EzsignfolderGetObjectV2Response.md docs/EzsignfolderGetObjectV2ResponseMPayload.md +docs/EzsignfolderGetObjectV3Response.md +docs/EzsignfolderGetObjectV3ResponseMPayload.md docs/EzsignfolderImportEzsignfoldersignerassociationsV1Request.md docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md docs/EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload.md @@ -509,10 +655,16 @@ docs/EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload.md docs/EzsignfolderListElement.md docs/EzsignfolderReorderV1Request.md docs/EzsignfolderReorderV1Response.md +docs/EzsignfolderReorderV2Request.md +docs/EzsignfolderReorderV2Response.md docs/EzsignfolderRequest.md docs/EzsignfolderRequestCompound.md +docs/EzsignfolderRequestCompoundV3.md +docs/EzsignfolderRequestV3.md docs/EzsignfolderResponse.md docs/EzsignfolderResponseCompound.md +docs/EzsignfolderResponseCompoundV3.md +docs/EzsignfolderResponseV3.md docs/EzsignfolderSendV1Request.md docs/EzsignfolderSendV1Response.md docs/EzsignfolderSendV3Request.md @@ -539,6 +691,8 @@ docs/EzsignfoldersignerassociationGetObjectV2Response.md docs/EzsignfoldersignerassociationGetObjectV2ResponseMPayload.md docs/EzsignfoldersignerassociationPatchObjectV1Request.md docs/EzsignfoldersignerassociationPatchObjectV1Response.md +docs/EzsignfoldersignerassociationReassignV1Request.md +docs/EzsignfoldersignerassociationReassignV1Response.md docs/EzsignfoldersignerassociationRequest.md docs/EzsignfoldersignerassociationRequestCompound.md docs/EzsignfoldersignerassociationRequestPatch.md @@ -546,30 +700,26 @@ docs/EzsignfoldersignerassociationResponse.md docs/EzsignfoldersignerassociationResponseCompound.md docs/EzsignfoldersignerassociationResponseCompoundUser.md docs/EzsignfoldertypeAutocompleteElementResponse.md -docs/EzsignfoldertypeCreateObjectV2Request.md -docs/EzsignfoldertypeCreateObjectV2Response.md -docs/EzsignfoldertypeCreateObjectV2ResponseMPayload.md -docs/EzsignfoldertypeEditObjectV1Request.md -docs/EzsignfoldertypeEditObjectV1Response.md -docs/EzsignfoldertypeEditObjectV2Request.md -docs/EzsignfoldertypeEditObjectV2Response.md +docs/EzsignfoldertypeCreateObjectV3Request.md +docs/EzsignfoldertypeCreateObjectV3Response.md +docs/EzsignfoldertypeCreateObjectV3ResponseMPayload.md +docs/EzsignfoldertypeEditObjectV3Request.md +docs/EzsignfoldertypeEditObjectV3Response.md docs/EzsignfoldertypeGetAutocompleteV2Response.md docs/EzsignfoldertypeGetAutocompleteV2ResponseMPayload.md docs/EzsignfoldertypeGetListV1Response.md docs/EzsignfoldertypeGetListV1ResponseMPayload.md docs/EzsignfoldertypeGetObjectV2Response.md docs/EzsignfoldertypeGetObjectV2ResponseMPayload.md -docs/EzsignfoldertypeGetObjectV3Response.md -docs/EzsignfoldertypeGetObjectV3ResponseMPayload.md +docs/EzsignfoldertypeGetObjectV4Response.md +docs/EzsignfoldertypeGetObjectV4ResponseMPayload.md docs/EzsignfoldertypeListElement.md -docs/EzsignfoldertypeRequest.md -docs/EzsignfoldertypeRequestCompound.md -docs/EzsignfoldertypeRequestCompoundV2.md -docs/EzsignfoldertypeRequestV2.md +docs/EzsignfoldertypeRequestCompoundV3.md +docs/EzsignfoldertypeRequestV3.md docs/EzsignfoldertypeResponse.md docs/EzsignfoldertypeResponseCompound.md -docs/EzsignfoldertypeResponseCompoundV3.md -docs/EzsignfoldertypeResponseV3.md +docs/EzsignfoldertypeResponseCompoundV4.md +docs/EzsignfoldertypeResponseV4.md docs/EzsignformfieldRequest.md docs/EzsignformfieldRequestCompound.md docs/EzsignformfieldResponse.md @@ -599,26 +749,36 @@ docs/EzsignsignatureCreateObjectV1ResponseMPayload.md docs/EzsignsignatureCreateObjectV2Request.md docs/EzsignsignatureCreateObjectV2Response.md docs/EzsignsignatureCreateObjectV2ResponseMPayload.md +docs/EzsignsignatureCreateObjectV3Request.md +docs/EzsignsignatureCreateObjectV3Response.md +docs/EzsignsignatureCreateObjectV3ResponseMPayload.md docs/EzsignsignatureDeleteObjectV1Response.md -docs/EzsignsignatureEditObjectV1Request.md -docs/EzsignsignatureEditObjectV1Response.md +docs/EzsignsignatureEditObjectV2Request.md +docs/EzsignsignatureEditObjectV2Response.md docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md docs/EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload.md docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md docs/EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload.md -docs/EzsignsignatureGetObjectV2Response.md -docs/EzsignsignatureGetObjectV2ResponseMPayload.md +docs/EzsignsignatureGetObjectV3Response.md +docs/EzsignsignatureGetObjectV3ResponseMPayload.md docs/EzsignsignatureRequest.md docs/EzsignsignatureRequestCompound.md +docs/EzsignsignatureRequestCompoundV2.md docs/EzsignsignatureResponse.md docs/EzsignsignatureResponseCompound.md +docs/EzsignsignatureResponseCompoundV3.md docs/EzsignsignatureSignV1Request.md docs/EzsignsignatureSignV1Response.md +docs/EzsignsignatureSignV1ResponseMPayload.md docs/EzsignsignatureattachmentResponse.md docs/EzsignsignaturecustomdateRequest.md docs/EzsignsignaturecustomdateRequestCompound.md +docs/EzsignsignaturecustomdateRequestCompoundV2.md +docs/EzsignsignaturecustomdateRequestV2.md docs/EzsignsignaturecustomdateResponse.md docs/EzsignsignaturecustomdateResponseCompound.md +docs/EzsignsignaturecustomdateResponseCompoundV2.md +docs/EzsignsignaturecustomdateResponseV2.md docs/EzsignsignerRequest.md docs/EzsignsignerRequestCompound.md docs/EzsignsignerRequestCompoundContact.md @@ -673,35 +833,31 @@ docs/EzsigntemplateAutocompleteElementResponse.md docs/EzsigntemplateCopyV1Request.md docs/EzsigntemplateCopyV1Response.md docs/EzsigntemplateCopyV1ResponseMPayload.md -docs/EzsigntemplateCreateObjectV1Request.md -docs/EzsigntemplateCreateObjectV1Response.md -docs/EzsigntemplateCreateObjectV1ResponseMPayload.md -docs/EzsigntemplateCreateObjectV2Request.md -docs/EzsigntemplateCreateObjectV2Response.md -docs/EzsigntemplateCreateObjectV2ResponseMPayload.md +docs/EzsigntemplateCreateObjectV3Request.md +docs/EzsigntemplateCreateObjectV3Response.md +docs/EzsigntemplateCreateObjectV3ResponseMPayload.md docs/EzsigntemplateDeleteObjectV1Response.md -docs/EzsigntemplateEditObjectV1Request.md -docs/EzsigntemplateEditObjectV1Response.md -docs/EzsigntemplateEditObjectV2Request.md -docs/EzsigntemplateEditObjectV2Response.md +docs/EzsigntemplateEditObjectV3Request.md +docs/EzsigntemplateEditObjectV3Response.md docs/EzsigntemplateGetAutocompleteV2Response.md docs/EzsigntemplateGetAutocompleteV2ResponseMPayload.md docs/EzsigntemplateGetListV1Response.md docs/EzsigntemplateGetListV1ResponseMPayload.md -docs/EzsigntemplateGetObjectV1Response.md -docs/EzsigntemplateGetObjectV1ResponseMPayload.md -docs/EzsigntemplateGetObjectV2Response.md -docs/EzsigntemplateGetObjectV2ResponseMPayload.md +docs/EzsigntemplateGetObjectV3Response.md +docs/EzsigntemplateGetObjectV3ResponseMPayload.md docs/EzsigntemplateListElement.md -docs/EzsigntemplateRequest.md -docs/EzsigntemplateRequestCompound.md -docs/EzsigntemplateRequestCompoundV2.md -docs/EzsigntemplateRequestV2.md +docs/EzsigntemplateRequestCompoundV3.md +docs/EzsigntemplateRequestV3.md docs/EzsigntemplateResponse.md docs/EzsigntemplateResponseCompound.md +docs/EzsigntemplateResponseCompoundV3.md +docs/EzsigntemplateResponseV3.md docs/EzsigntemplatedocumentCreateObjectV1Request.md docs/EzsigntemplatedocumentCreateObjectV1Response.md docs/EzsigntemplatedocumentCreateObjectV1ResponseMPayload.md +docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request.md +docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md +docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request.md docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload.md @@ -710,7 +866,12 @@ docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload.md docs/EzsigntemplatedocumentEditObjectV1Request.md docs/EzsigntemplatedocumentEditObjectV1Response.md +docs/EzsigntemplatedocumentExtractTextV1Request.md +docs/EzsigntemplatedocumentExtractTextV1Response.md +docs/EzsigntemplatedocumentExtractTextV1ResponseMPayload.md docs/EzsigntemplatedocumentFlattenV1Response.md +docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md +docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md @@ -730,6 +891,18 @@ docs/EzsigntemplatedocumentResponse.md docs/EzsigntemplatedocumentResponseCompound.md docs/EzsigntemplatedocumentpageResponse.md docs/EzsigntemplatedocumentpageResponseCompound.md +docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Request.md +docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md +docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.md +docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md +docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Request.md +docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md +docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md +docs/EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.md +docs/EzsigntemplatedocumentpagerecognitionRequest.md +docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md +docs/EzsigntemplatedocumentpagerecognitionResponse.md +docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md docs/EzsigntemplateelementdependencyRequest.md docs/EzsigntemplateelementdependencyRequestCompound.md docs/EzsigntemplateelementdependencyResponse.md @@ -819,22 +992,54 @@ docs/EzsigntemplatepackagesignermembershipRequest.md docs/EzsigntemplatepackagesignermembershipRequestCompound.md docs/EzsigntemplatepackagesignermembershipResponse.md docs/EzsigntemplatepackagesignermembershipResponseCompound.md -docs/EzsigntemplatesignatureCreateObjectV1Request.md -docs/EzsigntemplatesignatureCreateObjectV1Response.md -docs/EzsigntemplatesignatureCreateObjectV1ResponseMPayload.md +docs/EzsigntemplatepublicCreateEzsignfolderV1Request.md +docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md +docs/EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.md +docs/EzsigntemplatepublicCreateObjectV1Request.md +docs/EzsigntemplatepublicCreateObjectV1Response.md +docs/EzsigntemplatepublicCreateObjectV1ResponseMPayload.md +docs/EzsigntemplatepublicEditObjectV1Request.md +docs/EzsigntemplatepublicEditObjectV1Response.md +docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request.md +docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md +docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md +docs/EzsigntemplatepublicGetFormsDataV1Response.md +docs/EzsigntemplatepublicGetFormsDataV1ResponseMPayload.md +docs/EzsigntemplatepublicGetListV1Response.md +docs/EzsigntemplatepublicGetListV1ResponseMPayload.md +docs/EzsigntemplatepublicGetObjectV2Response.md +docs/EzsigntemplatepublicGetObjectV2ResponseMPayload.md +docs/EzsigntemplatepublicListElement.md +docs/EzsigntemplatepublicRequest.md +docs/EzsigntemplatepublicRequestCompound.md +docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md +docs/EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.md +docs/EzsigntemplatepublicResetUrlV1Response.md +docs/EzsigntemplatepublicResetUrlV1ResponseMPayload.md +docs/EzsigntemplatepublicResponse.md +docs/EzsigntemplatepublicResponseCompound.md +docs/EzsigntemplatesignatureCreateObjectV2Request.md +docs/EzsigntemplatesignatureCreateObjectV2Response.md +docs/EzsigntemplatesignatureCreateObjectV2ResponseMPayload.md docs/EzsigntemplatesignatureDeleteObjectV1Response.md -docs/EzsigntemplatesignatureEditObjectV1Request.md -docs/EzsigntemplatesignatureEditObjectV1Response.md -docs/EzsigntemplatesignatureGetObjectV2Response.md -docs/EzsigntemplatesignatureGetObjectV2ResponseMPayload.md +docs/EzsigntemplatesignatureEditObjectV2Request.md +docs/EzsigntemplatesignatureEditObjectV2Response.md +docs/EzsigntemplatesignatureGetObjectV3Response.md +docs/EzsigntemplatesignatureGetObjectV3ResponseMPayload.md docs/EzsigntemplatesignatureRequest.md docs/EzsigntemplatesignatureRequestCompound.md +docs/EzsigntemplatesignatureRequestCompoundV2.md docs/EzsigntemplatesignatureResponse.md docs/EzsigntemplatesignatureResponseCompound.md +docs/EzsigntemplatesignatureResponseCompoundV3.md docs/EzsigntemplatesignaturecustomdateRequest.md docs/EzsigntemplatesignaturecustomdateRequestCompound.md +docs/EzsigntemplatesignaturecustomdateRequestCompoundV2.md +docs/EzsigntemplatesignaturecustomdateRequestV2.md docs/EzsigntemplatesignaturecustomdateResponse.md docs/EzsigntemplatesignaturecustomdateResponseCompound.md +docs/EzsigntemplatesignaturecustomdateResponseCompoundV2.md +docs/EzsigntemplatesignaturecustomdateResponseV2.md docs/EzsigntemplatesignerCreateObjectV1Request.md docs/EzsigntemplatesignerCreateObjectV1Response.md docs/EzsigntemplatesignerCreateObjectV1ResponseMPayload.md @@ -850,7 +1055,19 @@ docs/EzsigntemplatesignerResponseCompound.md docs/EzsigntsarequirementAutocompleteElementResponse.md docs/EzsigntsarequirementGetAutocompleteV2Response.md docs/EzsigntsarequirementGetAutocompleteV2ResponseMPayload.md +docs/EzsignuserEditObjectV1Request.md +docs/EzsignuserEditObjectV1Response.md +docs/EzsignuserGetObjectV2Response.md +docs/EzsignuserGetObjectV2ResponseMPayload.md +docs/EzsignuserRequest.md +docs/EzsignuserRequestCompound.md +docs/EzsignuserResponse.md +docs/EzsignuserResponseCompound.md +docs/FieldEActivesessionEzsign.md +docs/FieldEActivesessionEzsignaccess.md +docs/FieldEActivesessionEzsignprepaid.md docs/FieldEActivesessionOrigin.md +docs/FieldEActivesessionRealestateinprogress.md docs/FieldEActivesessionUsertype.md docs/FieldEActivesessionWeekdaystart.md docs/FieldEAttachmentDocumenttype.md @@ -858,15 +1075,25 @@ docs/FieldEAttachmentPrivacy.md docs/FieldEAttachmentType.md docs/FieldEAttachmentVerified.md docs/FieldEAttachmentlogType.md +docs/FieldEAuthenticationexternalType.md +docs/FieldEBrandingAlignlogo.md docs/FieldEBrandingLogo.md -docs/FieldEBrandingLogointerface.md +docs/FieldEColleagueEzsign.md +docs/FieldEColleagueRealestateinprogess.md docs/FieldECommunicationImportance.md docs/FieldECommunicationType.md docs/FieldECommunicationexternalrecipientType.md docs/FieldECommunicationrecipientType.md +docs/FieldEContactType.md +docs/FieldEContactinformationsType.md +docs/FieldECreditcardtransactionAvsresult.md +docs/FieldECreditcardtransactionCvdresult.md docs/FieldECreditcardtypeCodename.md +docs/FieldECustomerMarketingcorrespondence.md +docs/FieldECustomerType.md docs/FieldEDiscussionmessageStatus.md docs/FieldEErrorCode.md +docs/FieldEEzdoctemplatedocumentPrivacylevel.md docs/FieldEEzmaxinvoicingPaymenttype.md docs/FieldEEzmaxinvoicingagentVariationezmax.md docs/FieldEEzmaxinvoicingagentVariationezsign.md @@ -878,22 +1105,32 @@ docs/FieldEEzsigndocumentlogType.md docs/FieldEEzsignelementdependencyOperator.md docs/FieldEEzsignelementdependencyValidation.md docs/FieldEEzsignfolderCompletion.md +docs/FieldEEzsignfolderDocumentdependency.md +docs/FieldEEzsignfolderMessageorder.md docs/FieldEEzsignfolderSendreminderfrequency.md docs/FieldEEzsignfolderStep.md docs/FieldEEzsignfoldertypeCompletion.md docs/FieldEEzsignfoldertypeDisposal.md +docs/FieldEEzsignfoldertypeDocumentdependency.md +docs/FieldEEzsignfoldertypePdfanoncompliantaction.md +docs/FieldEEzsignfoldertypePdfarequirement.md docs/FieldEEzsignfoldertypePrivacylevel.md docs/FieldEEzsignfoldertypeSendreminderfrequency.md +docs/FieldEEzsignfoldertypeSigneraccess.md docs/FieldEEzsignformfieldDependencyrequirement.md docs/FieldEEzsignformfieldgroupSignerrequirement.md docs/FieldEEzsignformfieldgroupTooltipposition.md docs/FieldEEzsignformfieldgroupType.md docs/FieldEEzsignsignatureAttachmentnamesource.md +docs/FieldEEzsignsignatureConsultationtrigger.md docs/FieldEEzsignsignatureDependencyrequirement.md docs/FieldEEzsignsignatureFont.md docs/FieldEEzsignsignatureTooltipposition.md docs/FieldEEzsignsignatureType.md +docs/FieldEEzsigntemplateRecognition.md docs/FieldEEzsigntemplateType.md +docs/FieldEEzsigntemplatedocumentpagerecognitionOperator.md +docs/FieldEEzsigntemplatedocumentpagerecognitionSection.md docs/FieldEEzsigntemplateelementdependencyOperator.md docs/FieldEEzsigntemplateelementdependencyValidation.md docs/FieldEEzsigntemplateformfieldDependencyrequirement.md @@ -904,17 +1141,22 @@ docs/FieldEEzsigntemplateformfieldgroupTooltipposition.md docs/FieldEEzsigntemplateformfieldgroupType.md docs/FieldEEzsigntemplateglobalModule.md docs/FieldEEzsigntemplateglobalSupplier.md +docs/FieldEEzsigntemplatepackagesignerMapping.md +docs/FieldEEzsigntemplatepublicLimittype.md docs/FieldEEzsigntemplatesignatureAttachmentnamesource.md +docs/FieldEEzsigntemplatesignatureConsultationtrigger.md docs/FieldEEzsigntemplatesignatureDependencyrequirement.md docs/FieldEEzsigntemplatesignatureFont.md docs/FieldEEzsigntemplatesignaturePositioning.md docs/FieldEEzsigntemplatesignaturePositioningoccurence.md docs/FieldEEzsigntemplatesignatureTooltipposition.md docs/FieldEEzsigntemplatesignatureType.md +docs/FieldEEzsigntemplatesignerMapping.md docs/FieldENotificationpreferenceStatus.md docs/FieldEPaymenttermType.md docs/FieldEPhoneType.md docs/FieldESessionhistoryEndby.md +docs/FieldESignaturePreference.md docs/FieldESystemconfigurationEzsign.md docs/FieldESystemconfigurationEzsignofficeplan.md docs/FieldESystemconfigurationLanguage1.md @@ -947,6 +1189,12 @@ docs/FranchisereferalincomeCreateObjectV2Response.md docs/FranchisereferalincomeCreateObjectV2ResponseMPayload.md docs/FranchisereferalincomeRequest.md docs/FranchisereferalincomeRequestCompound.md +docs/GlaccountAutocompleteElementResponse.md +docs/GlaccountGetAutocompleteV2Response.md +docs/GlaccountGetAutocompleteV2ResponseMPayload.md +docs/GlaccountcontainerAutocompleteElementResponse.md +docs/GlaccountcontainerGetAutocompleteV2Response.md +docs/GlaccountcontainerGetAutocompleteV2ResponseMPayload.md docs/GlobalCustomerApi.md docs/GlobalCustomerGetEndpointV1Response.md docs/GlobalEzmaxclientApi.md @@ -956,23 +1204,44 @@ docs/GlobalEzmaxcustomerGetConfigurationV1Response.md docs/HeaderAcceptLanguage.md docs/InscriptionGetAttachmentsV1Response.md docs/InscriptionGetAttachmentsV1ResponseMPayload.md +docs/InscriptionGetCommunicationCountV1Response.md +docs/InscriptionGetCommunicationCountV1ResponseMPayload.md docs/InscriptionGetCommunicationListV1Response.md docs/InscriptionGetCommunicationListV1ResponseMPayload.md +docs/InscriptionGetCommunicationrecipientsV1Response.md +docs/InscriptionGetCommunicationrecipientsV1ResponseMPayload.md docs/InscriptionGetCommunicationsendersV1Response.md docs/InscriptionGetCommunicationsendersV1ResponseMPayload.md +docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md +docs/InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.md docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md docs/InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md +docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md +docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.md +docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md +docs/InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.md +docs/InscriptiontempGetCommunicationCountV1Response.md +docs/InscriptiontempGetCommunicationCountV1ResponseMPayload.md docs/InscriptiontempGetCommunicationListV1Response.md docs/InscriptiontempGetCommunicationListV1ResponseMPayload.md +docs/InscriptiontempGetCommunicationrecipientsV1Response.md +docs/InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.md +docs/InscriptiontempGetCommunicationsendersV1Response.md +docs/InscriptiontempGetCommunicationsendersV1ResponseMPayload.md docs/InvoiceGetAttachmentsV1Response.md docs/InvoiceGetAttachmentsV1ResponseMPayload.md +docs/InvoiceGetCommunicationCountV1Response.md +docs/InvoiceGetCommunicationCountV1ResponseMPayload.md docs/InvoiceGetCommunicationListV1Response.md docs/InvoiceGetCommunicationListV1ResponseMPayload.md +docs/InvoiceGetCommunicationrecipientsV1Response.md +docs/InvoiceGetCommunicationrecipientsV1ResponseMPayload.md +docs/InvoiceGetCommunicationsendersV1Response.md +docs/InvoiceGetCommunicationsendersV1ResponseMPayload.md docs/LanguageAutocompleteElementResponse.md docs/LanguageGetAutocompleteV2Response.md docs/LanguageGetAutocompleteV2ResponseMPayload.md docs/ModuleAutocompleteElementResponse.md -docs/ModuleEzsignApi.md docs/ModuleGetAutocompleteV2Response.md docs/ModuleGetAutocompleteV2ResponseMPayload.md docs/ModuleReportApi.md @@ -988,6 +1257,7 @@ docs/ModulesectionResponseCompound.md docs/MultilingualApikeyDescription.md docs/MultilingualBillingentityinternalDescription.md docs/MultilingualBrandingDescription.md +docs/MultilingualEzdoctemplatedocumentName.md docs/MultilingualEzmaxinvoicingsummaryinternalDescription.md docs/MultilingualEzsignfoldertypeName.md docs/MultilingualEzsignsignergroupDescription.md @@ -996,6 +1266,7 @@ docs/MultilingualNotificationsubsectionName.md docs/MultilingualNotificationtestName.md docs/MultilingualPaymenttermDescription.md docs/MultilingualSubnetDescription.md +docs/MultilingualSupplyDescription.md docs/MultilingualUsergroupName.md docs/MultilingualUserlogintypeDescription.md docs/MultilingualVariableexpenseDescription.md @@ -1009,6 +1280,7 @@ docs/NotificationtestResponse.md docs/ObjectActivesessionApi.md docs/ObjectApikeyApi.md docs/ObjectAttachmentApi.md +docs/ObjectAuthenticationexternalApi.md docs/ObjectBillingentityexternalApi.md docs/ObjectBillingentityinternalApi.md docs/ObjectBrandingApi.md @@ -1016,18 +1288,25 @@ docs/ObjectBuyercontractApi.md docs/ObjectClonehistoryApi.md docs/ObjectCommunicationApi.md docs/ObjectCompanyApi.md +docs/ObjectContacttitleApi.md docs/ObjectCorsApi.md docs/ObjectCountryApi.md docs/ObjectCreditcardclientApi.md docs/ObjectCreditcardtypeApi.md +docs/ObjectCustomerApi.md docs/ObjectDepartmentApi.md docs/ObjectDiscussionApi.md docs/ObjectDiscussionmembershipApi.md docs/ObjectDiscussionmessageApi.md +docs/ObjectDomainApi.md docs/ObjectElectronicfundstransferApi.md docs/ObjectEmailtypeApi.md +docs/ObjectEzdoctemplatedocumentApi.md +docs/ObjectEzdoctemplatefieldtypecategoryApi.md +docs/ObjectEzdoctemplatetypeApi.md docs/ObjectEzmaxinvoicingApi.md docs/ObjectEzmaxproductApi.md +docs/ObjectEzsignannotationApi.md docs/ObjectEzsignbulksendApi.md docs/ObjectEzsignbulksenddocumentmappingApi.md docs/ObjectEzsignbulksendsignermappingApi.md @@ -1045,19 +1324,24 @@ docs/ObjectEzsignsignergroupmembershipApi.md docs/ObjectEzsignsigningreasonApi.md docs/ObjectEzsigntemplateApi.md docs/ObjectEzsigntemplatedocumentApi.md +docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md docs/ObjectEzsigntemplateformfieldgroupApi.md docs/ObjectEzsigntemplateglobalApi.md docs/ObjectEzsigntemplatepackageApi.md docs/ObjectEzsigntemplatepackagemembershipApi.md docs/ObjectEzsigntemplatepackagesignerApi.md docs/ObjectEzsigntemplatepackagesignermembershipApi.md +docs/ObjectEzsigntemplatepublicApi.md docs/ObjectEzsigntemplatesignatureApi.md docs/ObjectEzsigntemplatesignerApi.md docs/ObjectEzsigntsarequirementApi.md +docs/ObjectEzsignuserApi.md docs/ObjectFontApi.md docs/ObjectFranchisebrokerApi.md docs/ObjectFranchiseofficeApi.md docs/ObjectFranchisereferalincomeApi.md +docs/ObjectGlaccountApi.md +docs/ObjectGlaccountcontainerApi.md docs/ObjectInscriptionApi.md docs/ObjectInscriptionnotauthenticatedApi.md docs/ObjectInscriptiontempApi.md @@ -1069,6 +1353,7 @@ docs/ObjectNotificationsectionApi.md docs/ObjectNotificationtestApi.md docs/ObjectOtherincomeApi.md docs/ObjectPaymenttermApi.md +docs/ObjectPdfalevelApi.md docs/ObjectPeriodApi.md docs/ObjectPermissionApi.md docs/ObjectPhonetypeApi.md @@ -1078,9 +1363,11 @@ docs/ObjectSecretquestionApi.md docs/ObjectSessionhistoryApi.md docs/ObjectSignatureApi.md docs/ObjectSubnetApi.md +docs/ObjectSupplyApi.md docs/ObjectSystemconfigurationApi.md docs/ObjectTaxassignmentApi.md docs/ObjectTimezoneApi.md +docs/ObjectTranqcontractApi.md docs/ObjectUserApi.md docs/ObjectUsergroupApi.md docs/ObjectUsergroupdelegationApi.md @@ -1091,8 +1378,14 @@ docs/ObjectUserstagedApi.md docs/ObjectVariableexpenseApi.md docs/ObjectVersionhistoryApi.md docs/ObjectWebhookApi.md +docs/OtherincomeGetCommunicationCountV1Response.md +docs/OtherincomeGetCommunicationCountV1ResponseMPayload.md docs/OtherincomeGetCommunicationListV1Response.md docs/OtherincomeGetCommunicationListV1ResponseMPayload.md +docs/OtherincomeGetCommunicationrecipientsV1Response.md +docs/OtherincomeGetCommunicationrecipientsV1ResponseMPayload.md +docs/OtherincomeGetCommunicationsendersV1Response.md +docs/OtherincomeGetCommunicationsendersV1ResponseMPayload.md docs/PaymenttermAutocompleteElementResponse.md docs/PaymenttermCreateObjectV1Request.md docs/PaymenttermCreateObjectV1Response.md @@ -1110,6 +1403,9 @@ docs/PaymenttermRequest.md docs/PaymenttermRequestCompound.md docs/PaymenttermResponse.md docs/PaymenttermResponseCompound.md +docs/PdfalevelAutocompleteElementResponse.md +docs/PdfalevelGetAutocompleteV2Response.md +docs/PdfalevelGetAutocompleteV2ResponseMPayload.md docs/PeriodAutocompleteElementResponse.md docs/PeriodGetAutocompleteV2Response.md docs/PeriodGetAutocompleteV2ResponseMPayload.md @@ -1137,8 +1433,14 @@ docs/PhonetypeGetAutocompleteV2ResponseMPayload.md docs/ProvinceAutocompleteElementResponse.md docs/ProvinceGetAutocompleteV2Response.md docs/ProvinceGetAutocompleteV2ResponseMPayload.md +docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md +docs/RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.md docs/RejectedoffertopurchaseGetCommunicationListV1Response.md docs/RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md +docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md +docs/RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.md +docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md +docs/RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.md docs/ScimAuthenticationScheme.md docs/ScimEmail.md docs/ScimGroup.md @@ -1169,10 +1471,14 @@ docs/SignatureEditObjectV1Request.md docs/SignatureEditObjectV1Response.md docs/SignatureGetObjectV2Response.md docs/SignatureGetObjectV2ResponseMPayload.md +docs/SignatureGetObjectV3Response.md +docs/SignatureGetObjectV3ResponseMPayload.md docs/SignatureRequest.md docs/SignatureRequestCompound.md docs/SignatureResponse.md docs/SignatureResponseCompound.md +docs/SignatureResponseCompoundV3.md +docs/SignatureResponseV3.md docs/SubnetCreateObjectV1Request.md docs/SubnetCreateObjectV1Response.md docs/SubnetCreateObjectV1ResponseMPayload.md @@ -1185,6 +1491,24 @@ docs/SubnetRequest.md docs/SubnetRequestCompound.md docs/SubnetResponse.md docs/SubnetResponseCompound.md +docs/SupplyAutocompleteElementResponse.md +docs/SupplyCreateObjectV1Request.md +docs/SupplyCreateObjectV1Response.md +docs/SupplyCreateObjectV1ResponseMPayload.md +docs/SupplyDeleteObjectV1Response.md +docs/SupplyEditObjectV1Request.md +docs/SupplyEditObjectV1Response.md +docs/SupplyGetAutocompleteV2Response.md +docs/SupplyGetAutocompleteV2ResponseMPayload.md +docs/SupplyGetListV1Response.md +docs/SupplyGetListV1ResponseMPayload.md +docs/SupplyGetObjectV2Response.md +docs/SupplyGetObjectV2ResponseMPayload.md +docs/SupplyListElement.md +docs/SupplyRequest.md +docs/SupplyRequestCompound.md +docs/SupplyResponse.md +docs/SupplyResponseCompound.md docs/SystemconfigurationEditObjectV1Request.md docs/SystemconfigurationEditObjectV1Response.md docs/SystemconfigurationGetObjectV2Response.md @@ -1196,11 +1520,21 @@ docs/SystemconfigurationResponseCompound.md docs/TaxassignmentAutocompleteElementResponse.md docs/TaxassignmentGetAutocompleteV2Response.md docs/TaxassignmentGetAutocompleteV2ResponseMPayload.md +docs/TextstylestaticRequest.md +docs/TextstylestaticRequestCompound.md docs/TextstylestaticResponse.md docs/TextstylestaticResponseCompound.md docs/TimezoneAutocompleteElementResponse.md docs/TimezoneGetAutocompleteV2Response.md docs/TimezoneGetAutocompleteV2ResponseMPayload.md +docs/TranqcontractGetCommunicationCountV1Response.md +docs/TranqcontractGetCommunicationCountV1ResponseMPayload.md +docs/TranqcontractGetCommunicationListV1Response.md +docs/TranqcontractGetCommunicationListV1ResponseMPayload.md +docs/TranqcontractGetCommunicationrecipientsV1Response.md +docs/TranqcontractGetCommunicationrecipientsV1ResponseMPayload.md +docs/TranqcontractGetCommunicationsendersV1Response.md +docs/TranqcontractGetCommunicationsendersV1ResponseMPayload.md docs/UserAutocompleteElementResponse.md docs/UserCreateEzsignuserV1Request.md docs/UserCreateEzsignuserV1Response.md @@ -1211,6 +1545,9 @@ docs/UserCreateObjectV1ResponseMPayload.md docs/UserCreateObjectV2Request.md docs/UserCreateObjectV2Response.md docs/UserCreateObjectV2ResponseMPayload.md +docs/UserEditColleaguesV2Request.md +docs/UserEditColleaguesV2Response.md +docs/UserEditColleaguesV2ResponseMPayload.md docs/UserEditObjectV1Request.md docs/UserEditObjectV1Response.md docs/UserEditPermissionsV1Request.md @@ -1220,6 +1557,8 @@ docs/UserGetApikeysV1Response.md docs/UserGetApikeysV1ResponseMPayload.md docs/UserGetAutocompleteV2Response.md docs/UserGetAutocompleteV2ResponseMPayload.md +docs/UserGetColleaguesV2Response.md +docs/UserGetColleaguesV2ResponseMPayload.md docs/UserGetEffectivePermissionsV1Response.md docs/UserGetEffectivePermissionsV1ResponseMPayload.md docs/UserGetListV1Response.md @@ -1389,6 +1728,8 @@ docs/WebhookRequest.md docs/WebhookRequestCompound.md docs/WebhookResponse.md docs/WebhookResponseCompound.md +docs/WebhookSendWebhookV1Request.md +docs/WebhookSendWebhookV1Response.md docs/WebhookTestV1Response.md docs/WebhookUserUserCreated.md docs/WebhookUserstagedUserstagedCreated.md @@ -1398,6 +1739,8 @@ docs/WebhookheaderResponse.md docs/WebhookheaderResponseCompound.md docs/WebsiteRequest.md docs/WebsiteRequestCompound.md +docs/WebsiteResponse.md +docs/WebsiteResponseCompound.md docs/WebsocketRequestServerGetWebsocketIDV1.md docs/WebsocketResponseErrorV1.md docs/WebsocketResponseErrorV1MPayload.md @@ -1410,12 +1753,12 @@ eZmaxApi/api/__init__.py eZmaxApi/api/global_customer_api.py eZmaxApi/api/global_ezmaxclient_api.py eZmaxApi/api/global_ezmaxcustomer_api.py -eZmaxApi/api/module_ezsign_api.py eZmaxApi/api/module_report_api.py eZmaxApi/api/module_user_api.py eZmaxApi/api/object_activesession_api.py eZmaxApi/api/object_apikey_api.py eZmaxApi/api/object_attachment_api.py +eZmaxApi/api/object_authenticationexternal_api.py eZmaxApi/api/object_billingentityexternal_api.py eZmaxApi/api/object_billingentityinternal_api.py eZmaxApi/api/object_branding_api.py @@ -1423,18 +1766,25 @@ eZmaxApi/api/object_buyercontract_api.py eZmaxApi/api/object_clonehistory_api.py eZmaxApi/api/object_communication_api.py eZmaxApi/api/object_company_api.py +eZmaxApi/api/object_contacttitle_api.py eZmaxApi/api/object_cors_api.py eZmaxApi/api/object_country_api.py eZmaxApi/api/object_creditcardclient_api.py eZmaxApi/api/object_creditcardtype_api.py +eZmaxApi/api/object_customer_api.py eZmaxApi/api/object_department_api.py eZmaxApi/api/object_discussion_api.py eZmaxApi/api/object_discussionmembership_api.py eZmaxApi/api/object_discussionmessage_api.py +eZmaxApi/api/object_domain_api.py eZmaxApi/api/object_electronicfundstransfer_api.py eZmaxApi/api/object_emailtype_api.py +eZmaxApi/api/object_ezdoctemplatedocument_api.py +eZmaxApi/api/object_ezdoctemplatefieldtypecategory_api.py +eZmaxApi/api/object_ezdoctemplatetype_api.py eZmaxApi/api/object_ezmaxinvoicing_api.py eZmaxApi/api/object_ezmaxproduct_api.py +eZmaxApi/api/object_ezsignannotation_api.py eZmaxApi/api/object_ezsignbulksend_api.py eZmaxApi/api/object_ezsignbulksenddocumentmapping_api.py eZmaxApi/api/object_ezsignbulksendsignermapping_api.py @@ -1452,19 +1802,24 @@ eZmaxApi/api/object_ezsignsignergroupmembership_api.py eZmaxApi/api/object_ezsignsigningreason_api.py eZmaxApi/api/object_ezsigntemplate_api.py eZmaxApi/api/object_ezsigntemplatedocument_api.py +eZmaxApi/api/object_ezsigntemplatedocumentpagerecognition_api.py eZmaxApi/api/object_ezsigntemplateformfieldgroup_api.py eZmaxApi/api/object_ezsigntemplateglobal_api.py eZmaxApi/api/object_ezsigntemplatepackage_api.py eZmaxApi/api/object_ezsigntemplatepackagemembership_api.py eZmaxApi/api/object_ezsigntemplatepackagesigner_api.py eZmaxApi/api/object_ezsigntemplatepackagesignermembership_api.py +eZmaxApi/api/object_ezsigntemplatepublic_api.py eZmaxApi/api/object_ezsigntemplatesignature_api.py eZmaxApi/api/object_ezsigntemplatesigner_api.py eZmaxApi/api/object_ezsigntsarequirement_api.py +eZmaxApi/api/object_ezsignuser_api.py eZmaxApi/api/object_font_api.py eZmaxApi/api/object_franchisebroker_api.py eZmaxApi/api/object_franchiseoffice_api.py eZmaxApi/api/object_franchisereferalincome_api.py +eZmaxApi/api/object_glaccount_api.py +eZmaxApi/api/object_glaccountcontainer_api.py eZmaxApi/api/object_inscription_api.py eZmaxApi/api/object_inscriptionnotauthenticated_api.py eZmaxApi/api/object_inscriptiontemp_api.py @@ -1476,6 +1831,7 @@ eZmaxApi/api/object_notificationsection_api.py eZmaxApi/api/object_notificationtest_api.py eZmaxApi/api/object_otherincome_api.py eZmaxApi/api/object_paymentterm_api.py +eZmaxApi/api/object_pdfalevel_api.py eZmaxApi/api/object_period_api.py eZmaxApi/api/object_permission_api.py eZmaxApi/api/object_phonetype_api.py @@ -1485,9 +1841,11 @@ eZmaxApi/api/object_secretquestion_api.py eZmaxApi/api/object_sessionhistory_api.py eZmaxApi/api/object_signature_api.py eZmaxApi/api/object_subnet_api.py +eZmaxApi/api/object_supply_api.py eZmaxApi/api/object_systemconfiguration_api.py eZmaxApi/api/object_taxassignment_api.py eZmaxApi/api/object_timezone_api.py +eZmaxApi/api/object_tranqcontract_api.py eZmaxApi/api/object_user_api.py eZmaxApi/api/object_usergroup_api.py eZmaxApi/api/object_usergroupdelegation_api.py @@ -1506,6 +1864,9 @@ eZmaxApi/api_response.py eZmaxApi/configuration.py eZmaxApi/exceptions.py eZmaxApi/models/__init__.py +eZmaxApi/models/activesession_generate_federation_token_v1_request.py +eZmaxApi/models/activesession_generate_federation_token_v1_response.py +eZmaxApi/models/activesession_generate_federation_token_v1_response_m_payload.py eZmaxApi/models/activesession_get_current_v1_response.py eZmaxApi/models/activesession_get_current_v1_response_m_payload.py eZmaxApi/models/activesession_get_list_v1_response.py @@ -1517,6 +1878,8 @@ eZmaxApi/models/activesession_response_compound_apikey.py eZmaxApi/models/activesession_response_compound_user.py eZmaxApi/models/address_request.py eZmaxApi/models/address_request_compound.py +eZmaxApi/models/address_response.py +eZmaxApi/models/address_response_compound.py eZmaxApi/models/apikey_create_object_v2_request.py eZmaxApi/models/apikey_create_object_v2_response.py eZmaxApi/models/apikey_create_object_v2_response_m_payload.py @@ -1525,6 +1888,9 @@ eZmaxApi/models/apikey_edit_object_v1_response.py eZmaxApi/models/apikey_edit_permissions_v1_request.py eZmaxApi/models/apikey_edit_permissions_v1_response.py eZmaxApi/models/apikey_edit_permissions_v1_response_m_payload.py +eZmaxApi/models/apikey_generate_delegated_credentials_v1_request.py +eZmaxApi/models/apikey_generate_delegated_credentials_v1_response.py +eZmaxApi/models/apikey_generate_delegated_credentials_v1_response_m_payload.py eZmaxApi/models/apikey_get_cors_v1_response.py eZmaxApi/models/apikey_get_cors_v1_response_m_payload.py eZmaxApi/models/apikey_get_list_v1_response.py @@ -1545,15 +1911,35 @@ eZmaxApi/models/apikey_response.py eZmaxApi/models/apikey_response_compound.py eZmaxApi/models/attachment_get_attachmentlogs_v1_response.py eZmaxApi/models/attachment_get_attachmentlogs_v1_response_m_payload.py -eZmaxApi/models/attachment_get_download_url_v1_response.py -eZmaxApi/models/attachment_get_download_url_v1_response_m_payload.py eZmaxApi/models/attachment_response.py eZmaxApi/models/attachment_response_compound.py eZmaxApi/models/attachmentlog_response.py eZmaxApi/models/attachmentlog_response_compound.py eZmaxApi/models/attempt_response.py eZmaxApi/models/attempt_response_compound.py +eZmaxApi/models/authenticationexternal_autocomplete_element_response.py +eZmaxApi/models/authenticationexternal_create_object_v1_request.py +eZmaxApi/models/authenticationexternal_create_object_v1_response.py +eZmaxApi/models/authenticationexternal_create_object_v1_response_m_payload.py +eZmaxApi/models/authenticationexternal_delete_object_v1_response.py +eZmaxApi/models/authenticationexternal_edit_object_v1_request.py +eZmaxApi/models/authenticationexternal_edit_object_v1_response.py +eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response.py +eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/authenticationexternal_get_list_v1_response.py +eZmaxApi/models/authenticationexternal_get_list_v1_response_m_payload.py +eZmaxApi/models/authenticationexternal_get_object_v2_response.py +eZmaxApi/models/authenticationexternal_get_object_v2_response_m_payload.py +eZmaxApi/models/authenticationexternal_list_element.py +eZmaxApi/models/authenticationexternal_request.py +eZmaxApi/models/authenticationexternal_request_compound.py +eZmaxApi/models/authenticationexternal_reset_authorization_v1_response.py +eZmaxApi/models/authenticationexternal_response.py +eZmaxApi/models/authenticationexternal_response_compound.py eZmaxApi/models/billingentityexternal_autocomplete_element_response.py +eZmaxApi/models/billingentityexternal_generate_federation_token_v1_request.py +eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response.py +eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response_m_payload.py eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response.py eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/billingentityinternal_autocomplete_element_response.py @@ -1578,27 +1964,37 @@ eZmaxApi/models/billingentityinternalproduct_request_compound.py eZmaxApi/models/billingentityinternalproduct_response.py eZmaxApi/models/billingentityinternalproduct_response_compound.py eZmaxApi/models/branding_autocomplete_element_response.py -eZmaxApi/models/branding_create_object_v1_request.py -eZmaxApi/models/branding_create_object_v1_response.py -eZmaxApi/models/branding_create_object_v1_response_m_payload.py -eZmaxApi/models/branding_edit_object_v1_request.py -eZmaxApi/models/branding_edit_object_v1_response.py +eZmaxApi/models/branding_create_object_v2_request.py +eZmaxApi/models/branding_create_object_v2_response.py +eZmaxApi/models/branding_create_object_v2_response_m_payload.py +eZmaxApi/models/branding_edit_object_v2_request.py +eZmaxApi/models/branding_edit_object_v2_response.py eZmaxApi/models/branding_get_autocomplete_v2_response.py eZmaxApi/models/branding_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/branding_get_list_v1_response.py eZmaxApi/models/branding_get_list_v1_response_m_payload.py -eZmaxApi/models/branding_get_object_v2_response.py -eZmaxApi/models/branding_get_object_v2_response_m_payload.py +eZmaxApi/models/branding_get_object_v3_response.py +eZmaxApi/models/branding_get_object_v3_response_m_payload.py eZmaxApi/models/branding_list_element.py -eZmaxApi/models/branding_request.py -eZmaxApi/models/branding_request_compound.py -eZmaxApi/models/branding_response.py -eZmaxApi/models/branding_response_compound.py +eZmaxApi/models/branding_request_compound_v2.py +eZmaxApi/models/branding_request_v2.py +eZmaxApi/models/branding_response_compound_v3.py +eZmaxApi/models/branding_response_v3.py +eZmaxApi/models/buyercontract_get_communication_count_v1_response.py +eZmaxApi/models/buyercontract_get_communication_count_v1_response_m_payload.py eZmaxApi/models/buyercontract_get_communication_list_v1_response.py eZmaxApi/models/buyercontract_get_communication_list_v1_response_m_payload.py +eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response.py +eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response_m_payload.py +eZmaxApi/models/buyercontract_get_communicationsenders_v1_response.py +eZmaxApi/models/buyercontract_get_communicationsenders_v1_response_m_payload.py eZmaxApi/models/clonehistory_get_list_v1_response.py eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py eZmaxApi/models/clonehistory_list_element.py +eZmaxApi/models/colleague_request_compound_v2.py +eZmaxApi/models/colleague_request_v2.py +eZmaxApi/models/colleague_response_compound_v2.py +eZmaxApi/models/colleague_response_v2.py eZmaxApi/models/common_audit.py eZmaxApi/models/common_auditdetail.py eZmaxApi/models/common_file.py @@ -1616,9 +2012,11 @@ eZmaxApi/models/common_reportsubsection.py eZmaxApi/models/common_reportsubsectionpart.py eZmaxApi/models/common_response.py eZmaxApi/models/common_response_error.py +eZmaxApi/models/common_response_error_creditcard_validation.py eZmaxApi/models/common_response_error_ezsignform_validation.py eZmaxApi/models/common_response_error_s_temporary_file_url.py eZmaxApi/models/common_response_error_too_many_requests.py +eZmaxApi/models/common_response_error_wrong_franchiseoffice.py eZmaxApi/models/common_response_filter.py eZmaxApi/models/common_response_get_list.py eZmaxApi/models/common_response_obj_debug.py @@ -1628,11 +2026,11 @@ eZmaxApi/models/common_response_obj_sql_query.py eZmaxApi/models/common_response_redirect_s_secretquestion_text_x.py eZmaxApi/models/common_response_warning.py eZmaxApi/models/common_webhook.py -eZmaxApi/models/communication_create_object_v1_response_m_payload.py eZmaxApi/models/communication_request.py eZmaxApi/models/communication_request_compound.py eZmaxApi/models/communication_send_v1_request.py eZmaxApi/models/communication_send_v1_response.py +eZmaxApi/models/communication_send_v1_response_m_payload.py eZmaxApi/models/communicationattachment_request.py eZmaxApi/models/communicationattachment_request_compound.py eZmaxApi/models/communicationexternalrecipient_request.py @@ -1646,10 +2044,22 @@ eZmaxApi/models/company_get_autocomplete_v2_response.py eZmaxApi/models/company_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/computed_e_communication_direction.py eZmaxApi/models/computed_e_ezsigndocument_steptype.py +eZmaxApi/models/computed_e_ezsignfolder_access.py eZmaxApi/models/contact_request.py eZmaxApi/models/contact_request_compound.py +eZmaxApi/models/contact_request_compound_v2.py +eZmaxApi/models/contact_request_v2.py +eZmaxApi/models/contact_response.py +eZmaxApi/models/contact_response_compound.py eZmaxApi/models/contactinformations_request.py eZmaxApi/models/contactinformations_request_compound.py +eZmaxApi/models/contactinformations_request_compound_v2.py +eZmaxApi/models/contactinformations_request_v2.py +eZmaxApi/models/contactinformations_response.py +eZmaxApi/models/contactinformations_response_compound.py +eZmaxApi/models/contacttitle_autocomplete_element_response.py +eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py +eZmaxApi/models/contacttitle_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/cors_create_object_v1_request.py eZmaxApi/models/cors_create_object_v1_response.py eZmaxApi/models/cors_create_object_v1_response_m_payload.py @@ -1679,8 +2089,11 @@ eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py eZmaxApi/models/creditcardclient_get_object_v2_response.py eZmaxApi/models/creditcardclient_get_object_v2_response_m_payload.py eZmaxApi/models/creditcardclient_list_element.py +eZmaxApi/models/creditcardclient_patch_object_v1_request.py +eZmaxApi/models/creditcardclient_patch_object_v1_response.py eZmaxApi/models/creditcardclient_request.py eZmaxApi/models/creditcardclient_request_compound.py +eZmaxApi/models/creditcardclient_request_patch.py eZmaxApi/models/creditcardclient_response.py eZmaxApi/models/creditcardclient_response_compound.py eZmaxApi/models/creditcarddetail_request.py @@ -1689,8 +2102,11 @@ eZmaxApi/models/creditcarddetail_response_compound.py eZmaxApi/models/creditcardtype_autocomplete_element_response.py eZmaxApi/models/creditcardtype_get_autocomplete_v2_response.py eZmaxApi/models/creditcardtype_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/custom_apikey.py +eZmaxApi/models/custom_apikeyfederation.py eZmaxApi/models/custom_attachment_response.py eZmaxApi/models/custom_attachmentdocumenttype_response.py +eZmaxApi/models/custom_branding_response.py eZmaxApi/models/custom_communication_list_element_response.py eZmaxApi/models/custom_communicationattachment_request.py eZmaxApi/models/custom_communicationrecipientsgroup_response.py @@ -1700,16 +2116,22 @@ eZmaxApi/models/custom_communicationsender_response.py eZmaxApi/models/custom_contact_name_response.py eZmaxApi/models/custom_create_ezsignelements_positioned_by_word_request.py eZmaxApi/models/custom_creditcardtransaction_response.py +eZmaxApi/models/custom_creditcardtransactionresponse_response.py eZmaxApi/models/custom_discussionconfiguration_response.py +eZmaxApi/models/custom_dnsrecord_response.py eZmaxApi/models/custom_dropdown_element_request.py eZmaxApi/models/custom_dropdown_element_request_compound.py eZmaxApi/models/custom_dropdown_element_response.py eZmaxApi/models/custom_dropdown_element_response_compound.py +eZmaxApi/models/custom_e_webhook_ezsignevent.py eZmaxApi/models/custom_ezmaxinvoicing_ezsigndocument_response.py eZmaxApi/models/custom_ezmaxinvoicing_ezsignfolder_response.py eZmaxApi/models/custom_ezmaxpricing_response.py eZmaxApi/models/custom_ezsigndocument_ezsignsignatures_automatic_response.py +eZmaxApi/models/custom_ezsigndocument_request.py eZmaxApi/models/custom_ezsignfolder_ezsignsignatures_automatic_response.py +eZmaxApi/models/custom_ezsignfolderezsigntemplatepublic_response.py +eZmaxApi/models/custom_ezsignfolderezsigntemplatepublic_signer_response.py eZmaxApi/models/custom_ezsignfoldersignerassociation_actionable_element_response.py eZmaxApi/models/custom_ezsignfoldersignerassociationstatus_response.py eZmaxApi/models/custom_ezsignfoldertransmission_response.py @@ -1731,11 +2153,21 @@ eZmaxApi/models/custom_forms_data_folder_response.py eZmaxApi/models/custom_import_ezsigntemplatepackage_relation_request.py eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py eZmaxApi/models/custom_notificationtestgetnotificationtests_response.py -eZmaxApi/models/custom_user_response.py +eZmaxApi/models/custom_timezone_with_code_response.py +eZmaxApi/models/custom_user_name_response.py eZmaxApi/models/custom_webhook_response.py eZmaxApi/models/custom_webhooklog_response.py eZmaxApi/models/custom_word_position_occurence_response.py eZmaxApi/models/custom_word_position_word_response.py +eZmaxApi/models/customer_create_object_v1_request.py +eZmaxApi/models/customer_create_object_v1_response.py +eZmaxApi/models/customer_create_object_v1_response_m_payload.py +eZmaxApi/models/customer_get_object_v2_response.py +eZmaxApi/models/customer_get_object_v2_response_m_payload.py +eZmaxApi/models/customer_request.py +eZmaxApi/models/customer_request_compound.py +eZmaxApi/models/customer_response.py +eZmaxApi/models/customer_response_compound.py eZmaxApi/models/department_autocomplete_element_response.py eZmaxApi/models/department_get_autocomplete_v2_response.py eZmaxApi/models/department_get_autocomplete_v2_response_m_payload.py @@ -1773,8 +2205,27 @@ eZmaxApi/models/discussionmessage_request_compound.py eZmaxApi/models/discussionmessage_request_patch.py eZmaxApi/models/discussionmessage_response.py eZmaxApi/models/discussionmessage_response_compound.py +eZmaxApi/models/domain_create_object_v1_request.py +eZmaxApi/models/domain_create_object_v1_response.py +eZmaxApi/models/domain_create_object_v1_response_m_payload.py +eZmaxApi/models/domain_delete_object_v1_response.py +eZmaxApi/models/domain_get_list_v1_response.py +eZmaxApi/models/domain_get_list_v1_response_m_payload.py +eZmaxApi/models/domain_get_object_v2_response.py +eZmaxApi/models/domain_get_object_v2_response_m_payload.py +eZmaxApi/models/domain_list_element.py +eZmaxApi/models/domain_request.py +eZmaxApi/models/domain_request_compound.py +eZmaxApi/models/domain_response.py +eZmaxApi/models/domain_response_compound.py +eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py +eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response_m_payload.py eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response_m_payload.py +eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response.py +eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.py +eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response.py +eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response_m_payload.py eZmaxApi/models/email_request.py eZmaxApi/models/email_request_compound.py eZmaxApi/models/email_response.py @@ -1787,6 +2238,32 @@ eZmaxApi/models/enum_fontweight.py eZmaxApi/models/enum_horizontalalignment.py eZmaxApi/models/enum_textvalidation.py eZmaxApi/models/enum_verticalalignment.py +eZmaxApi/models/ezdoctemplatedocument_autocomplete_element_response.py +eZmaxApi/models/ezdoctemplatedocument_create_object_v1_request.py +eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response.py +eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response_m_payload.py +eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_request.py +eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_response.py +eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response.py +eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response.py +eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response_m_payload.py +eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response.py +eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response_m_payload.py +eZmaxApi/models/ezdoctemplatedocument_list_element.py +eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_request.py +eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_response.py +eZmaxApi/models/ezdoctemplatedocument_request.py +eZmaxApi/models/ezdoctemplatedocument_request_compound.py +eZmaxApi/models/ezdoctemplatedocument_request_patch.py +eZmaxApi/models/ezdoctemplatedocument_response.py +eZmaxApi/models/ezdoctemplatedocument_response_compound.py +eZmaxApi/models/ezdoctemplatefieldtypecategory_autocomplete_element_response.py +eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py +eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/ezdoctemplatetype_autocomplete_element_response.py +eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response.py +eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/ezmaxinvoicing_autocomplete_element_response.py eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response.py eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response_m_payload.py @@ -1817,15 +2294,21 @@ eZmaxApi/models/ezmaxinvoicinguser_response_compound.py eZmaxApi/models/ezmaxproduct_autocomplete_element_response.py eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response.py eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response_m_payload.py -eZmaxApi/models/ezsign_suggest_signers_v1_response.py -eZmaxApi/models/ezsign_suggest_signers_v1_response_m_payload.py -eZmaxApi/models/ezsign_suggest_templates_v1_response.py -eZmaxApi/models/ezsign_suggest_templates_v1_response_m_payload.py +eZmaxApi/models/ezsignannotation_create_object_v1_request.py +eZmaxApi/models/ezsignannotation_create_object_v1_response.py +eZmaxApi/models/ezsignannotation_create_object_v1_response_m_payload.py +eZmaxApi/models/ezsignannotation_delete_object_v1_response.py +eZmaxApi/models/ezsignannotation_edit_object_v1_request.py +eZmaxApi/models/ezsignannotation_edit_object_v1_response.py +eZmaxApi/models/ezsignannotation_get_object_v2_response.py +eZmaxApi/models/ezsignannotation_get_object_v2_response_m_payload.py +eZmaxApi/models/ezsignannotation_request.py +eZmaxApi/models/ezsignannotation_request_compound.py eZmaxApi/models/ezsignannotation_response.py eZmaxApi/models/ezsignannotation_response_compound.py -eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_request.py -eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_response.py -eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.py +eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_request.py +eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py +eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.py eZmaxApi/models/ezsignbulksend_create_object_v1_request.py eZmaxApi/models/ezsignbulksend_create_object_v1_response.py eZmaxApi/models/ezsignbulksend_create_object_v1_response_m_payload.py @@ -1893,6 +2376,7 @@ eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_request.py eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_request.py eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py +eZmaxApi/models/ezsigndocument_create_element_v3_response.py eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.py eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload.py @@ -1902,16 +2386,27 @@ eZmaxApi/models/ezsigndocument_create_object_v1_response_m_payload.py eZmaxApi/models/ezsigndocument_create_object_v2_request.py eZmaxApi/models/ezsigndocument_create_object_v2_response.py eZmaxApi/models/ezsigndocument_create_object_v2_response_m_payload.py +eZmaxApi/models/ezsigndocument_create_object_v3_request.py +eZmaxApi/models/ezsigndocument_create_object_v3_response.py +eZmaxApi/models/ezsigndocument_create_object_v3_response_m_payload.py eZmaxApi/models/ezsigndocument_decline_to_sign_v1_request.py eZmaxApi/models/ezsigndocument_decline_to_sign_v1_response.py eZmaxApi/models/ezsigndocument_delete_object_v1_response.py +eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_request.py +eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response.py +eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response_m_payload.py eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_request.py eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_response.py eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload.py eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_request.py eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_response.py eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_response_m_payload.py +eZmaxApi/models/ezsigndocument_edit_object_v1_request.py +eZmaxApi/models/ezsigndocument_edit_object_v1_response.py eZmaxApi/models/ezsigndocument_end_prematurely_v1_response.py +eZmaxApi/models/ezsigndocument_extract_text_v1_request.py +eZmaxApi/models/ezsigndocument_extract_text_v1_response.py +eZmaxApi/models/ezsigndocument_extract_text_v1_response_m_payload.py eZmaxApi/models/ezsigndocument_flatten_v1_response.py eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response.py eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response_m_payload.py @@ -1943,6 +2438,7 @@ eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response.py eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response_m_payload.py eZmaxApi/models/ezsigndocument_get_words_positions_v1_request.py eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py +eZmaxApi/models/ezsigndocument_matchingtemplate_v3_response.py eZmaxApi/models/ezsigndocument_patch_object_v1_request.py eZmaxApi/models/ezsigndocument_patch_object_v1_response.py eZmaxApi/models/ezsigndocument_request.py @@ -1953,6 +2449,9 @@ eZmaxApi/models/ezsigndocument_response_compound.py eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_request.py eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_response.py eZmaxApi/models/ezsigndocument_unsend_v1_response.py +eZmaxApi/models/ezsigndocumentdependency_request.py +eZmaxApi/models/ezsigndocumentdependency_request_compound.py +eZmaxApi/models/ezsigndocumentdependency_response.py eZmaxApi/models/ezsigndocumentlog_response.py eZmaxApi/models/ezsigndocumentlog_response_compound.py eZmaxApi/models/ezsignelementdependency_request.py @@ -1967,12 +2466,15 @@ eZmaxApi/models/ezsignfolder_create_object_v1_response_m_payload.py eZmaxApi/models/ezsignfolder_create_object_v2_request.py eZmaxApi/models/ezsignfolder_create_object_v2_response.py eZmaxApi/models/ezsignfolder_create_object_v2_response_m_payload.py +eZmaxApi/models/ezsignfolder_create_object_v3_request.py +eZmaxApi/models/ezsignfolder_create_object_v3_response.py +eZmaxApi/models/ezsignfolder_create_object_v3_response_m_payload.py eZmaxApi/models/ezsignfolder_delete_object_v1_response.py eZmaxApi/models/ezsignfolder_dispose_ezsignfolders_v1_request.py eZmaxApi/models/ezsignfolder_dispose_ezsignfolders_v1_response.py eZmaxApi/models/ezsignfolder_dispose_v1_response.py -eZmaxApi/models/ezsignfolder_edit_object_v1_request.py -eZmaxApi/models/ezsignfolder_edit_object_v1_response.py +eZmaxApi/models/ezsignfolder_edit_object_v3_request.py +eZmaxApi/models/ezsignfolder_edit_object_v3_response.py eZmaxApi/models/ezsignfolder_end_prematurely_v1_response.py eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response.py eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response_m_payload.py @@ -2002,6 +2504,8 @@ eZmaxApi/models/ezsignfolder_get_object_v1_response.py eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py eZmaxApi/models/ezsignfolder_get_object_v2_response.py eZmaxApi/models/ezsignfolder_get_object_v2_response_m_payload.py +eZmaxApi/models/ezsignfolder_get_object_v3_response.py +eZmaxApi/models/ezsignfolder_get_object_v3_response_m_payload.py eZmaxApi/models/ezsignfolder_import_ezsignfoldersignerassociations_v1_request.py eZmaxApi/models/ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py eZmaxApi/models/ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload.py @@ -2011,10 +2515,16 @@ eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload. eZmaxApi/models/ezsignfolder_list_element.py eZmaxApi/models/ezsignfolder_reorder_v1_request.py eZmaxApi/models/ezsignfolder_reorder_v1_response.py +eZmaxApi/models/ezsignfolder_reorder_v2_request.py +eZmaxApi/models/ezsignfolder_reorder_v2_response.py eZmaxApi/models/ezsignfolder_request.py eZmaxApi/models/ezsignfolder_request_compound.py +eZmaxApi/models/ezsignfolder_request_compound_v3.py +eZmaxApi/models/ezsignfolder_request_v3.py eZmaxApi/models/ezsignfolder_response.py eZmaxApi/models/ezsignfolder_response_compound.py +eZmaxApi/models/ezsignfolder_response_compound_v3.py +eZmaxApi/models/ezsignfolder_response_v3.py eZmaxApi/models/ezsignfolder_send_v1_request.py eZmaxApi/models/ezsignfolder_send_v1_response.py eZmaxApi/models/ezsignfolder_send_v3_request.py @@ -2041,6 +2551,8 @@ eZmaxApi/models/ezsignfoldersignerassociation_get_object_v2_response.py eZmaxApi/models/ezsignfoldersignerassociation_get_object_v2_response_m_payload.py eZmaxApi/models/ezsignfoldersignerassociation_patch_object_v1_request.py eZmaxApi/models/ezsignfoldersignerassociation_patch_object_v1_response.py +eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_request.py +eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_response.py eZmaxApi/models/ezsignfoldersignerassociation_request.py eZmaxApi/models/ezsignfoldersignerassociation_request_compound.py eZmaxApi/models/ezsignfoldersignerassociation_request_patch.py @@ -2048,30 +2560,26 @@ eZmaxApi/models/ezsignfoldersignerassociation_response.py eZmaxApi/models/ezsignfoldersignerassociation_response_compound.py eZmaxApi/models/ezsignfoldersignerassociation_response_compound_user.py eZmaxApi/models/ezsignfoldertype_autocomplete_element_response.py -eZmaxApi/models/ezsignfoldertype_create_object_v2_request.py -eZmaxApi/models/ezsignfoldertype_create_object_v2_response.py -eZmaxApi/models/ezsignfoldertype_create_object_v2_response_m_payload.py -eZmaxApi/models/ezsignfoldertype_edit_object_v1_request.py -eZmaxApi/models/ezsignfoldertype_edit_object_v1_response.py -eZmaxApi/models/ezsignfoldertype_edit_object_v2_request.py -eZmaxApi/models/ezsignfoldertype_edit_object_v2_response.py +eZmaxApi/models/ezsignfoldertype_create_object_v3_request.py +eZmaxApi/models/ezsignfoldertype_create_object_v3_response.py +eZmaxApi/models/ezsignfoldertype_create_object_v3_response_m_payload.py +eZmaxApi/models/ezsignfoldertype_edit_object_v3_request.py +eZmaxApi/models/ezsignfoldertype_edit_object_v3_response.py eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response.py eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/ezsignfoldertype_get_list_v1_response.py eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py eZmaxApi/models/ezsignfoldertype_get_object_v2_response.py eZmaxApi/models/ezsignfoldertype_get_object_v2_response_m_payload.py -eZmaxApi/models/ezsignfoldertype_get_object_v3_response.py -eZmaxApi/models/ezsignfoldertype_get_object_v3_response_m_payload.py +eZmaxApi/models/ezsignfoldertype_get_object_v4_response.py +eZmaxApi/models/ezsignfoldertype_get_object_v4_response_m_payload.py eZmaxApi/models/ezsignfoldertype_list_element.py -eZmaxApi/models/ezsignfoldertype_request.py -eZmaxApi/models/ezsignfoldertype_request_compound.py -eZmaxApi/models/ezsignfoldertype_request_compound_v2.py -eZmaxApi/models/ezsignfoldertype_request_v2.py +eZmaxApi/models/ezsignfoldertype_request_compound_v3.py +eZmaxApi/models/ezsignfoldertype_request_v3.py eZmaxApi/models/ezsignfoldertype_response.py eZmaxApi/models/ezsignfoldertype_response_compound.py -eZmaxApi/models/ezsignfoldertype_response_compound_v3.py -eZmaxApi/models/ezsignfoldertype_response_v3.py +eZmaxApi/models/ezsignfoldertype_response_compound_v4.py +eZmaxApi/models/ezsignfoldertype_response_v4.py eZmaxApi/models/ezsignformfield_request.py eZmaxApi/models/ezsignformfield_request_compound.py eZmaxApi/models/ezsignformfield_response.py @@ -2101,26 +2609,36 @@ eZmaxApi/models/ezsignsignature_create_object_v1_response_m_payload.py eZmaxApi/models/ezsignsignature_create_object_v2_request.py eZmaxApi/models/ezsignsignature_create_object_v2_response.py eZmaxApi/models/ezsignsignature_create_object_v2_response_m_payload.py +eZmaxApi/models/ezsignsignature_create_object_v3_request.py +eZmaxApi/models/ezsignsignature_create_object_v3_response.py +eZmaxApi/models/ezsignsignature_create_object_v3_response_m_payload.py eZmaxApi/models/ezsignsignature_delete_object_v1_response.py -eZmaxApi/models/ezsignsignature_edit_object_v1_request.py -eZmaxApi/models/ezsignsignature_edit_object_v1_response.py +eZmaxApi/models/ezsignsignature_edit_object_v2_request.py +eZmaxApi/models/ezsignsignature_edit_object_v2_response.py eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response.py eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.py eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response.py eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.py -eZmaxApi/models/ezsignsignature_get_object_v2_response.py -eZmaxApi/models/ezsignsignature_get_object_v2_response_m_payload.py +eZmaxApi/models/ezsignsignature_get_object_v3_response.py +eZmaxApi/models/ezsignsignature_get_object_v3_response_m_payload.py eZmaxApi/models/ezsignsignature_request.py eZmaxApi/models/ezsignsignature_request_compound.py +eZmaxApi/models/ezsignsignature_request_compound_v2.py eZmaxApi/models/ezsignsignature_response.py eZmaxApi/models/ezsignsignature_response_compound.py +eZmaxApi/models/ezsignsignature_response_compound_v3.py eZmaxApi/models/ezsignsignature_sign_v1_request.py eZmaxApi/models/ezsignsignature_sign_v1_response.py +eZmaxApi/models/ezsignsignature_sign_v1_response_m_payload.py eZmaxApi/models/ezsignsignatureattachment_response.py eZmaxApi/models/ezsignsignaturecustomdate_request.py eZmaxApi/models/ezsignsignaturecustomdate_request_compound.py +eZmaxApi/models/ezsignsignaturecustomdate_request_compound_v2.py +eZmaxApi/models/ezsignsignaturecustomdate_request_v2.py eZmaxApi/models/ezsignsignaturecustomdate_response.py eZmaxApi/models/ezsignsignaturecustomdate_response_compound.py +eZmaxApi/models/ezsignsignaturecustomdate_response_compound_v2.py +eZmaxApi/models/ezsignsignaturecustomdate_response_v2.py eZmaxApi/models/ezsignsigner_request.py eZmaxApi/models/ezsignsigner_request_compound.py eZmaxApi/models/ezsignsigner_request_compound_contact.py @@ -2175,35 +2693,31 @@ eZmaxApi/models/ezsigntemplate_autocomplete_element_response.py eZmaxApi/models/ezsigntemplate_copy_v1_request.py eZmaxApi/models/ezsigntemplate_copy_v1_response.py eZmaxApi/models/ezsigntemplate_copy_v1_response_m_payload.py -eZmaxApi/models/ezsigntemplate_create_object_v1_request.py -eZmaxApi/models/ezsigntemplate_create_object_v1_response.py -eZmaxApi/models/ezsigntemplate_create_object_v1_response_m_payload.py -eZmaxApi/models/ezsigntemplate_create_object_v2_request.py -eZmaxApi/models/ezsigntemplate_create_object_v2_response.py -eZmaxApi/models/ezsigntemplate_create_object_v2_response_m_payload.py +eZmaxApi/models/ezsigntemplate_create_object_v3_request.py +eZmaxApi/models/ezsigntemplate_create_object_v3_response.py +eZmaxApi/models/ezsigntemplate_create_object_v3_response_m_payload.py eZmaxApi/models/ezsigntemplate_delete_object_v1_response.py -eZmaxApi/models/ezsigntemplate_edit_object_v1_request.py -eZmaxApi/models/ezsigntemplate_edit_object_v1_response.py -eZmaxApi/models/ezsigntemplate_edit_object_v2_request.py -eZmaxApi/models/ezsigntemplate_edit_object_v2_response.py +eZmaxApi/models/ezsigntemplate_edit_object_v3_request.py +eZmaxApi/models/ezsigntemplate_edit_object_v3_response.py eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response.py eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/ezsigntemplate_get_list_v1_response.py eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py -eZmaxApi/models/ezsigntemplate_get_object_v1_response.py -eZmaxApi/models/ezsigntemplate_get_object_v1_response_m_payload.py -eZmaxApi/models/ezsigntemplate_get_object_v2_response.py -eZmaxApi/models/ezsigntemplate_get_object_v2_response_m_payload.py +eZmaxApi/models/ezsigntemplate_get_object_v3_response.py +eZmaxApi/models/ezsigntemplate_get_object_v3_response_m_payload.py eZmaxApi/models/ezsigntemplate_list_element.py -eZmaxApi/models/ezsigntemplate_request.py -eZmaxApi/models/ezsigntemplate_request_compound.py -eZmaxApi/models/ezsigntemplate_request_compound_v2.py -eZmaxApi/models/ezsigntemplate_request_v2.py +eZmaxApi/models/ezsigntemplate_request_compound_v3.py +eZmaxApi/models/ezsigntemplate_request_v3.py eZmaxApi/models/ezsigntemplate_response.py eZmaxApi/models/ezsigntemplate_response_compound.py +eZmaxApi/models/ezsigntemplate_response_compound_v3.py +eZmaxApi/models/ezsigntemplate_response_v3.py eZmaxApi/models/ezsigntemplatedocument_create_object_v1_request.py eZmaxApi/models/ezsigntemplatedocument_create_object_v1_response.py eZmaxApi/models/ezsigntemplatedocument_create_object_v1_response_m_payload.py +eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request.py +eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py +eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.py eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload.py @@ -2212,7 +2726,12 @@ eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload.py eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_request.py eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py +eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_request.py +eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response.py +eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response_m_payload.py eZmaxApi/models/ezsigntemplatedocument_flatten_v1_response.py +eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py +eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py @@ -2232,6 +2751,18 @@ eZmaxApi/models/ezsigntemplatedocument_response.py eZmaxApi/models/ezsigntemplatedocument_response_compound.py eZmaxApi/models/ezsigntemplatedocumentpage_response.py eZmaxApi/models/ezsigntemplatedocumentpage_response_compound.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_request.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_request.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request_compound.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response.py +eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response_compound.py eZmaxApi/models/ezsigntemplateelementdependency_request.py eZmaxApi/models/ezsigntemplateelementdependency_request_compound.py eZmaxApi/models/ezsigntemplateelementdependency_response.py @@ -2321,22 +2852,54 @@ eZmaxApi/models/ezsigntemplatepackagesignermembership_request.py eZmaxApi/models/ezsigntemplatepackagesignermembership_request_compound.py eZmaxApi/models/ezsigntemplatepackagesignermembership_response.py eZmaxApi/models/ezsigntemplatepackagesignermembership_response_compound.py -eZmaxApi/models/ezsigntemplatesignature_create_object_v1_request.py -eZmaxApi/models/ezsigntemplatesignature_create_object_v1_response.py -eZmaxApi/models/ezsigntemplatesignature_create_object_v1_response_m_payload.py +eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_request.py +eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response.py +eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.py +eZmaxApi/models/ezsigntemplatepublic_create_object_v1_request.py +eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response.py +eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response_m_payload.py +eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_request.py +eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_response.py +eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request.py +eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py +eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py +eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response.py +eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response_m_payload.py +eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response.py +eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response_m_payload.py +eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response.py +eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response_m_payload.py +eZmaxApi/models/ezsigntemplatepublic_list_element.py +eZmaxApi/models/ezsigntemplatepublic_request.py +eZmaxApi/models/ezsigntemplatepublic_request_compound.py +eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py +eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.py +eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response.py +eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response_m_payload.py +eZmaxApi/models/ezsigntemplatepublic_response.py +eZmaxApi/models/ezsigntemplatepublic_response_compound.py +eZmaxApi/models/ezsigntemplatesignature_create_object_v2_request.py +eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response.py +eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response_m_payload.py eZmaxApi/models/ezsigntemplatesignature_delete_object_v1_response.py -eZmaxApi/models/ezsigntemplatesignature_edit_object_v1_request.py -eZmaxApi/models/ezsigntemplatesignature_edit_object_v1_response.py -eZmaxApi/models/ezsigntemplatesignature_get_object_v2_response.py -eZmaxApi/models/ezsigntemplatesignature_get_object_v2_response_m_payload.py +eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_request.py +eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_response.py +eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response.py +eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response_m_payload.py eZmaxApi/models/ezsigntemplatesignature_request.py eZmaxApi/models/ezsigntemplatesignature_request_compound.py +eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py eZmaxApi/models/ezsigntemplatesignature_response.py eZmaxApi/models/ezsigntemplatesignature_response_compound.py +eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py eZmaxApi/models/ezsigntemplatesignaturecustomdate_request.py eZmaxApi/models/ezsigntemplatesignaturecustomdate_request_compound.py +eZmaxApi/models/ezsigntemplatesignaturecustomdate_request_compound_v2.py +eZmaxApi/models/ezsigntemplatesignaturecustomdate_request_v2.py eZmaxApi/models/ezsigntemplatesignaturecustomdate_response.py eZmaxApi/models/ezsigntemplatesignaturecustomdate_response_compound.py +eZmaxApi/models/ezsigntemplatesignaturecustomdate_response_compound_v2.py +eZmaxApi/models/ezsigntemplatesignaturecustomdate_response_v2.py eZmaxApi/models/ezsigntemplatesigner_create_object_v1_request.py eZmaxApi/models/ezsigntemplatesigner_create_object_v1_response.py eZmaxApi/models/ezsigntemplatesigner_create_object_v1_response_m_payload.py @@ -2352,7 +2915,19 @@ eZmaxApi/models/ezsigntemplatesigner_response_compound.py eZmaxApi/models/ezsigntsarequirement_autocomplete_element_response.py eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response.py eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/ezsignuser_edit_object_v1_request.py +eZmaxApi/models/ezsignuser_edit_object_v1_response.py +eZmaxApi/models/ezsignuser_get_object_v2_response.py +eZmaxApi/models/ezsignuser_get_object_v2_response_m_payload.py +eZmaxApi/models/ezsignuser_request.py +eZmaxApi/models/ezsignuser_request_compound.py +eZmaxApi/models/ezsignuser_response.py +eZmaxApi/models/ezsignuser_response_compound.py +eZmaxApi/models/field_e_activesession_ezsign.py +eZmaxApi/models/field_e_activesession_ezsignaccess.py +eZmaxApi/models/field_e_activesession_ezsignprepaid.py eZmaxApi/models/field_e_activesession_origin.py +eZmaxApi/models/field_e_activesession_realestateinprogress.py eZmaxApi/models/field_e_activesession_usertype.py eZmaxApi/models/field_e_activesession_weekdaystart.py eZmaxApi/models/field_e_attachment_documenttype.py @@ -2360,15 +2935,25 @@ eZmaxApi/models/field_e_attachment_privacy.py eZmaxApi/models/field_e_attachment_type.py eZmaxApi/models/field_e_attachment_verified.py eZmaxApi/models/field_e_attachmentlog_type.py +eZmaxApi/models/field_e_authenticationexternal_type.py +eZmaxApi/models/field_e_branding_alignlogo.py eZmaxApi/models/field_e_branding_logo.py -eZmaxApi/models/field_e_branding_logointerface.py +eZmaxApi/models/field_e_colleague_ezsign.py +eZmaxApi/models/field_e_colleague_realestateinprogess.py eZmaxApi/models/field_e_communication_importance.py eZmaxApi/models/field_e_communication_type.py eZmaxApi/models/field_e_communicationexternalrecipient_type.py eZmaxApi/models/field_e_communicationrecipient_type.py +eZmaxApi/models/field_e_contact_type.py +eZmaxApi/models/field_e_contactinformations_type.py +eZmaxApi/models/field_e_creditcardtransaction_avsresult.py +eZmaxApi/models/field_e_creditcardtransaction_cvdresult.py eZmaxApi/models/field_e_creditcardtype_codename.py +eZmaxApi/models/field_e_customer_marketingcorrespondence.py +eZmaxApi/models/field_e_customer_type.py eZmaxApi/models/field_e_discussionmessage_status.py eZmaxApi/models/field_e_error_code.py +eZmaxApi/models/field_e_ezdoctemplatedocument_privacylevel.py eZmaxApi/models/field_e_ezmaxinvoicing_paymenttype.py eZmaxApi/models/field_e_ezmaxinvoicingagent_variationezmax.py eZmaxApi/models/field_e_ezmaxinvoicingagent_variationezsign.py @@ -2380,22 +2965,32 @@ eZmaxApi/models/field_e_ezsigndocumentlog_type.py eZmaxApi/models/field_e_ezsignelementdependency_operator.py eZmaxApi/models/field_e_ezsignelementdependency_validation.py eZmaxApi/models/field_e_ezsignfolder_completion.py +eZmaxApi/models/field_e_ezsignfolder_documentdependency.py +eZmaxApi/models/field_e_ezsignfolder_messageorder.py eZmaxApi/models/field_e_ezsignfolder_sendreminderfrequency.py eZmaxApi/models/field_e_ezsignfolder_step.py eZmaxApi/models/field_e_ezsignfoldertype_completion.py eZmaxApi/models/field_e_ezsignfoldertype_disposal.py +eZmaxApi/models/field_e_ezsignfoldertype_documentdependency.py +eZmaxApi/models/field_e_ezsignfoldertype_pdfanoncompliantaction.py +eZmaxApi/models/field_e_ezsignfoldertype_pdfarequirement.py eZmaxApi/models/field_e_ezsignfoldertype_privacylevel.py eZmaxApi/models/field_e_ezsignfoldertype_sendreminderfrequency.py +eZmaxApi/models/field_e_ezsignfoldertype_signeraccess.py eZmaxApi/models/field_e_ezsignformfield_dependencyrequirement.py eZmaxApi/models/field_e_ezsignformfieldgroup_signerrequirement.py eZmaxApi/models/field_e_ezsignformfieldgroup_tooltipposition.py eZmaxApi/models/field_e_ezsignformfieldgroup_type.py eZmaxApi/models/field_e_ezsignsignature_attachmentnamesource.py +eZmaxApi/models/field_e_ezsignsignature_consultationtrigger.py eZmaxApi/models/field_e_ezsignsignature_dependencyrequirement.py eZmaxApi/models/field_e_ezsignsignature_font.py eZmaxApi/models/field_e_ezsignsignature_tooltipposition.py eZmaxApi/models/field_e_ezsignsignature_type.py +eZmaxApi/models/field_e_ezsigntemplate_recognition.py eZmaxApi/models/field_e_ezsigntemplate_type.py +eZmaxApi/models/field_e_ezsigntemplatedocumentpagerecognition_operator.py +eZmaxApi/models/field_e_ezsigntemplatedocumentpagerecognition_section.py eZmaxApi/models/field_e_ezsigntemplateelementdependency_operator.py eZmaxApi/models/field_e_ezsigntemplateelementdependency_validation.py eZmaxApi/models/field_e_ezsigntemplateformfield_dependencyrequirement.py @@ -2406,17 +3001,22 @@ eZmaxApi/models/field_e_ezsigntemplateformfieldgroup_tooltipposition.py eZmaxApi/models/field_e_ezsigntemplateformfieldgroup_type.py eZmaxApi/models/field_e_ezsigntemplateglobal_module.py eZmaxApi/models/field_e_ezsigntemplateglobal_supplier.py +eZmaxApi/models/field_e_ezsigntemplatepackagesigner_mapping.py +eZmaxApi/models/field_e_ezsigntemplatepublic_limittype.py eZmaxApi/models/field_e_ezsigntemplatesignature_attachmentnamesource.py +eZmaxApi/models/field_e_ezsigntemplatesignature_consultationtrigger.py eZmaxApi/models/field_e_ezsigntemplatesignature_dependencyrequirement.py eZmaxApi/models/field_e_ezsigntemplatesignature_font.py eZmaxApi/models/field_e_ezsigntemplatesignature_positioning.py eZmaxApi/models/field_e_ezsigntemplatesignature_positioningoccurence.py eZmaxApi/models/field_e_ezsigntemplatesignature_tooltipposition.py eZmaxApi/models/field_e_ezsigntemplatesignature_type.py +eZmaxApi/models/field_e_ezsigntemplatesigner_mapping.py eZmaxApi/models/field_e_notificationpreference_status.py eZmaxApi/models/field_e_paymentterm_type.py eZmaxApi/models/field_e_phone_type.py eZmaxApi/models/field_e_sessionhistory_endby.py +eZmaxApi/models/field_e_signature_preference.py eZmaxApi/models/field_e_systemconfiguration_ezsign.py eZmaxApi/models/field_e_systemconfiguration_ezsignofficeplan.py eZmaxApi/models/field_e_systemconfiguration_language1.py @@ -2449,24 +3049,52 @@ eZmaxApi/models/franchisereferalincome_create_object_v2_response.py eZmaxApi/models/franchisereferalincome_create_object_v2_response_m_payload.py eZmaxApi/models/franchisereferalincome_request.py eZmaxApi/models/franchisereferalincome_request_compound.py +eZmaxApi/models/glaccount_autocomplete_element_response.py +eZmaxApi/models/glaccount_get_autocomplete_v2_response.py +eZmaxApi/models/glaccount_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/glaccountcontainer_autocomplete_element_response.py +eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response.py +eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/global_customer_get_endpoint_v1_response.py eZmaxApi/models/global_ezmaxclient_version_v1_response.py eZmaxApi/models/global_ezmaxcustomer_get_configuration_v1_response.py eZmaxApi/models/header_accept_language.py eZmaxApi/models/inscription_get_attachments_v1_response.py eZmaxApi/models/inscription_get_attachments_v1_response_m_payload.py +eZmaxApi/models/inscription_get_communication_count_v1_response.py +eZmaxApi/models/inscription_get_communication_count_v1_response_m_payload.py eZmaxApi/models/inscription_get_communication_list_v1_response.py eZmaxApi/models/inscription_get_communication_list_v1_response_m_payload.py +eZmaxApi/models/inscription_get_communicationrecipients_v1_response.py +eZmaxApi/models/inscription_get_communicationrecipients_v1_response_m_payload.py eZmaxApi/models/inscription_get_communicationsenders_v1_response.py eZmaxApi/models/inscription_get_communicationsenders_v1_response_m_payload.py +eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response.py +eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.py eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response.py eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py +eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response.py +eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.py +eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response.py +eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.py +eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response.py +eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response_m_payload.py eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response.py eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response_m_payload.py +eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response.py +eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response_m_payload.py +eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response.py +eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response_m_payload.py eZmaxApi/models/invoice_get_attachments_v1_response.py eZmaxApi/models/invoice_get_attachments_v1_response_m_payload.py +eZmaxApi/models/invoice_get_communication_count_v1_response.py +eZmaxApi/models/invoice_get_communication_count_v1_response_m_payload.py eZmaxApi/models/invoice_get_communication_list_v1_response.py eZmaxApi/models/invoice_get_communication_list_v1_response_m_payload.py +eZmaxApi/models/invoice_get_communicationrecipients_v1_response.py +eZmaxApi/models/invoice_get_communicationrecipients_v1_response_m_payload.py +eZmaxApi/models/invoice_get_communicationsenders_v1_response.py +eZmaxApi/models/invoice_get_communicationsenders_v1_response_m_payload.py eZmaxApi/models/language_autocomplete_element_response.py eZmaxApi/models/language_get_autocomplete_v2_response.py eZmaxApi/models/language_get_autocomplete_v2_response_m_payload.py @@ -2484,6 +3112,7 @@ eZmaxApi/models/modulesection_response_compound.py eZmaxApi/models/multilingual_apikey_description.py eZmaxApi/models/multilingual_billingentityinternal_description.py eZmaxApi/models/multilingual_branding_description.py +eZmaxApi/models/multilingual_ezdoctemplatedocument_name.py eZmaxApi/models/multilingual_ezmaxinvoicingsummaryinternal_description.py eZmaxApi/models/multilingual_ezsignfoldertype_name.py eZmaxApi/models/multilingual_ezsignsignergroup_description.py @@ -2492,6 +3121,7 @@ eZmaxApi/models/multilingual_notificationsubsection_name.py eZmaxApi/models/multilingual_notificationtest_name.py eZmaxApi/models/multilingual_paymentterm_description.py eZmaxApi/models/multilingual_subnet_description.py +eZmaxApi/models/multilingual_supply_description.py eZmaxApi/models/multilingual_usergroup_name.py eZmaxApi/models/multilingual_userlogintype_description.py eZmaxApi/models/multilingual_variableexpense_description.py @@ -2502,8 +3132,14 @@ eZmaxApi/models/notificationsubsection_response.py eZmaxApi/models/notificationtest_get_elements_v1_response.py eZmaxApi/models/notificationtest_get_elements_v1_response_m_payload.py eZmaxApi/models/notificationtest_response.py +eZmaxApi/models/otherincome_get_communication_count_v1_response.py +eZmaxApi/models/otherincome_get_communication_count_v1_response_m_payload.py eZmaxApi/models/otherincome_get_communication_list_v1_response.py eZmaxApi/models/otherincome_get_communication_list_v1_response_m_payload.py +eZmaxApi/models/otherincome_get_communicationrecipients_v1_response.py +eZmaxApi/models/otherincome_get_communicationrecipients_v1_response_m_payload.py +eZmaxApi/models/otherincome_get_communicationsenders_v1_response.py +eZmaxApi/models/otherincome_get_communicationsenders_v1_response_m_payload.py eZmaxApi/models/paymentterm_autocomplete_element_response.py eZmaxApi/models/paymentterm_create_object_v1_request.py eZmaxApi/models/paymentterm_create_object_v1_response.py @@ -2521,6 +3157,9 @@ eZmaxApi/models/paymentterm_request.py eZmaxApi/models/paymentterm_request_compound.py eZmaxApi/models/paymentterm_response.py eZmaxApi/models/paymentterm_response_compound.py +eZmaxApi/models/pdfalevel_autocomplete_element_response.py +eZmaxApi/models/pdfalevel_get_autocomplete_v2_response.py +eZmaxApi/models/pdfalevel_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/period_autocomplete_element_response.py eZmaxApi/models/period_get_autocomplete_v2_response.py eZmaxApi/models/period_get_autocomplete_v2_response_m_payload.py @@ -2548,8 +3187,14 @@ eZmaxApi/models/phonetype_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/province_autocomplete_element_response.py eZmaxApi/models/province_get_autocomplete_v2_response.py eZmaxApi/models/province_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response.py +eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response_m_payload.py eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response.py eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py +eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response.py +eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.py +eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response.py +eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.py eZmaxApi/models/scim_authentication_scheme.py eZmaxApi/models/scim_email.py eZmaxApi/models/scim_group.py @@ -2577,10 +3222,14 @@ eZmaxApi/models/signature_edit_object_v1_request.py eZmaxApi/models/signature_edit_object_v1_response.py eZmaxApi/models/signature_get_object_v2_response.py eZmaxApi/models/signature_get_object_v2_response_m_payload.py +eZmaxApi/models/signature_get_object_v3_response.py +eZmaxApi/models/signature_get_object_v3_response_m_payload.py eZmaxApi/models/signature_request.py eZmaxApi/models/signature_request_compound.py eZmaxApi/models/signature_response.py eZmaxApi/models/signature_response_compound.py +eZmaxApi/models/signature_response_compound_v3.py +eZmaxApi/models/signature_response_v3.py eZmaxApi/models/subnet_create_object_v1_request.py eZmaxApi/models/subnet_create_object_v1_response.py eZmaxApi/models/subnet_create_object_v1_response_m_payload.py @@ -2593,6 +3242,24 @@ eZmaxApi/models/subnet_request.py eZmaxApi/models/subnet_request_compound.py eZmaxApi/models/subnet_response.py eZmaxApi/models/subnet_response_compound.py +eZmaxApi/models/supply_autocomplete_element_response.py +eZmaxApi/models/supply_create_object_v1_request.py +eZmaxApi/models/supply_create_object_v1_response.py +eZmaxApi/models/supply_create_object_v1_response_m_payload.py +eZmaxApi/models/supply_delete_object_v1_response.py +eZmaxApi/models/supply_edit_object_v1_request.py +eZmaxApi/models/supply_edit_object_v1_response.py +eZmaxApi/models/supply_get_autocomplete_v2_response.py +eZmaxApi/models/supply_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/supply_get_list_v1_response.py +eZmaxApi/models/supply_get_list_v1_response_m_payload.py +eZmaxApi/models/supply_get_object_v2_response.py +eZmaxApi/models/supply_get_object_v2_response_m_payload.py +eZmaxApi/models/supply_list_element.py +eZmaxApi/models/supply_request.py +eZmaxApi/models/supply_request_compound.py +eZmaxApi/models/supply_response.py +eZmaxApi/models/supply_response_compound.py eZmaxApi/models/systemconfiguration_edit_object_v1_request.py eZmaxApi/models/systemconfiguration_edit_object_v1_response.py eZmaxApi/models/systemconfiguration_get_object_v2_response.py @@ -2604,11 +3271,21 @@ eZmaxApi/models/systemconfiguration_response_compound.py eZmaxApi/models/taxassignment_autocomplete_element_response.py eZmaxApi/models/taxassignment_get_autocomplete_v2_response.py eZmaxApi/models/taxassignment_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/textstylestatic_request.py +eZmaxApi/models/textstylestatic_request_compound.py eZmaxApi/models/textstylestatic_response.py eZmaxApi/models/textstylestatic_response_compound.py eZmaxApi/models/timezone_autocomplete_element_response.py eZmaxApi/models/timezone_get_autocomplete_v2_response.py eZmaxApi/models/timezone_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/tranqcontract_get_communication_count_v1_response.py +eZmaxApi/models/tranqcontract_get_communication_count_v1_response_m_payload.py +eZmaxApi/models/tranqcontract_get_communication_list_v1_response.py +eZmaxApi/models/tranqcontract_get_communication_list_v1_response_m_payload.py +eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response.py +eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response_m_payload.py +eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response.py +eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response_m_payload.py eZmaxApi/models/user_autocomplete_element_response.py eZmaxApi/models/user_create_ezsignuser_v1_request.py eZmaxApi/models/user_create_ezsignuser_v1_response.py @@ -2619,6 +3296,9 @@ eZmaxApi/models/user_create_object_v1_response_m_payload.py eZmaxApi/models/user_create_object_v2_request.py eZmaxApi/models/user_create_object_v2_response.py eZmaxApi/models/user_create_object_v2_response_m_payload.py +eZmaxApi/models/user_edit_colleagues_v2_request.py +eZmaxApi/models/user_edit_colleagues_v2_response.py +eZmaxApi/models/user_edit_colleagues_v2_response_m_payload.py eZmaxApi/models/user_edit_object_v1_request.py eZmaxApi/models/user_edit_object_v1_response.py eZmaxApi/models/user_edit_permissions_v1_request.py @@ -2628,6 +3308,8 @@ eZmaxApi/models/user_get_apikeys_v1_response.py eZmaxApi/models/user_get_apikeys_v1_response_m_payload.py eZmaxApi/models/user_get_autocomplete_v2_response.py eZmaxApi/models/user_get_autocomplete_v2_response_m_payload.py +eZmaxApi/models/user_get_colleagues_v2_response.py +eZmaxApi/models/user_get_colleagues_v2_response_m_payload.py eZmaxApi/models/user_get_effective_permissions_v1_response.py eZmaxApi/models/user_get_effective_permissions_v1_response_m_payload.py eZmaxApi/models/user_get_list_v1_response.py @@ -2797,6 +3479,8 @@ eZmaxApi/models/webhook_request.py eZmaxApi/models/webhook_request_compound.py eZmaxApi/models/webhook_response.py eZmaxApi/models/webhook_response_compound.py +eZmaxApi/models/webhook_send_webhook_v1_request.py +eZmaxApi/models/webhook_send_webhook_v1_response.py eZmaxApi/models/webhook_test_v1_response.py eZmaxApi/models/webhook_user_user_created.py eZmaxApi/models/webhook_userstaged_userstaged_created.py @@ -2806,6 +3490,8 @@ eZmaxApi/models/webhookheader_response.py eZmaxApi/models/webhookheader_response_compound.py eZmaxApi/models/website_request.py eZmaxApi/models/website_request_compound.py +eZmaxApi/models/website_response.py +eZmaxApi/models/website_response_compound.py eZmaxApi/models/websocket_request_server_get_websocket_idv1.py eZmaxApi/models/websocket_response_error_v1.py eZmaxApi/models/websocket_response_error_v1_m_payload.py @@ -2822,6 +3508,9 @@ setup.cfg setup.py test-requirements.txt test/__init__.py +test/test_activesession_generate_federation_token_v1_request.py +test/test_activesession_generate_federation_token_v1_response.py +test/test_activesession_generate_federation_token_v1_response_m_payload.py test/test_activesession_get_current_v1_response.py test/test_activesession_get_current_v1_response_m_payload.py test/test_activesession_get_list_v1_response.py @@ -2833,6 +3522,8 @@ test/test_activesession_response_compound_apikey.py test/test_activesession_response_compound_user.py test/test_address_request.py test/test_address_request_compound.py +test/test_address_response.py +test/test_address_response_compound.py test/test_apikey_create_object_v2_request.py test/test_apikey_create_object_v2_response.py test/test_apikey_create_object_v2_response_m_payload.py @@ -2841,6 +3532,9 @@ test/test_apikey_edit_object_v1_response.py test/test_apikey_edit_permissions_v1_request.py test/test_apikey_edit_permissions_v1_response.py test/test_apikey_edit_permissions_v1_response_m_payload.py +test/test_apikey_generate_delegated_credentials_v1_request.py +test/test_apikey_generate_delegated_credentials_v1_response.py +test/test_apikey_generate_delegated_credentials_v1_response_m_payload.py test/test_apikey_get_cors_v1_response.py test/test_apikey_get_cors_v1_response_m_payload.py test/test_apikey_get_list_v1_response.py @@ -2861,15 +3555,35 @@ test/test_apikey_response.py test/test_apikey_response_compound.py test/test_attachment_get_attachmentlogs_v1_response.py test/test_attachment_get_attachmentlogs_v1_response_m_payload.py -test/test_attachment_get_download_url_v1_response.py -test/test_attachment_get_download_url_v1_response_m_payload.py test/test_attachment_response.py test/test_attachment_response_compound.py test/test_attachmentlog_response.py test/test_attachmentlog_response_compound.py test/test_attempt_response.py test/test_attempt_response_compound.py +test/test_authenticationexternal_autocomplete_element_response.py +test/test_authenticationexternal_create_object_v1_request.py +test/test_authenticationexternal_create_object_v1_response.py +test/test_authenticationexternal_create_object_v1_response_m_payload.py +test/test_authenticationexternal_delete_object_v1_response.py +test/test_authenticationexternal_edit_object_v1_request.py +test/test_authenticationexternal_edit_object_v1_response.py +test/test_authenticationexternal_get_autocomplete_v2_response.py +test/test_authenticationexternal_get_autocomplete_v2_response_m_payload.py +test/test_authenticationexternal_get_list_v1_response.py +test/test_authenticationexternal_get_list_v1_response_m_payload.py +test/test_authenticationexternal_get_object_v2_response.py +test/test_authenticationexternal_get_object_v2_response_m_payload.py +test/test_authenticationexternal_list_element.py +test/test_authenticationexternal_request.py +test/test_authenticationexternal_request_compound.py +test/test_authenticationexternal_reset_authorization_v1_response.py +test/test_authenticationexternal_response.py +test/test_authenticationexternal_response_compound.py test/test_billingentityexternal_autocomplete_element_response.py +test/test_billingentityexternal_generate_federation_token_v1_request.py +test/test_billingentityexternal_generate_federation_token_v1_response.py +test/test_billingentityexternal_generate_federation_token_v1_response_m_payload.py test/test_billingentityexternal_get_autocomplete_v2_response.py test/test_billingentityexternal_get_autocomplete_v2_response_m_payload.py test/test_billingentityinternal_autocomplete_element_response.py @@ -2894,27 +3608,37 @@ test/test_billingentityinternalproduct_request_compound.py test/test_billingentityinternalproduct_response.py test/test_billingentityinternalproduct_response_compound.py test/test_branding_autocomplete_element_response.py -test/test_branding_create_object_v1_request.py -test/test_branding_create_object_v1_response.py -test/test_branding_create_object_v1_response_m_payload.py -test/test_branding_edit_object_v1_request.py -test/test_branding_edit_object_v1_response.py +test/test_branding_create_object_v2_request.py +test/test_branding_create_object_v2_response.py +test/test_branding_create_object_v2_response_m_payload.py +test/test_branding_edit_object_v2_request.py +test/test_branding_edit_object_v2_response.py test/test_branding_get_autocomplete_v2_response.py test/test_branding_get_autocomplete_v2_response_m_payload.py test/test_branding_get_list_v1_response.py test/test_branding_get_list_v1_response_m_payload.py -test/test_branding_get_object_v2_response.py -test/test_branding_get_object_v2_response_m_payload.py +test/test_branding_get_object_v3_response.py +test/test_branding_get_object_v3_response_m_payload.py test/test_branding_list_element.py -test/test_branding_request.py -test/test_branding_request_compound.py -test/test_branding_response.py -test/test_branding_response_compound.py +test/test_branding_request_compound_v2.py +test/test_branding_request_v2.py +test/test_branding_response_compound_v3.py +test/test_branding_response_v3.py +test/test_buyercontract_get_communication_count_v1_response.py +test/test_buyercontract_get_communication_count_v1_response_m_payload.py test/test_buyercontract_get_communication_list_v1_response.py test/test_buyercontract_get_communication_list_v1_response_m_payload.py +test/test_buyercontract_get_communicationrecipients_v1_response.py +test/test_buyercontract_get_communicationrecipients_v1_response_m_payload.py +test/test_buyercontract_get_communicationsenders_v1_response.py +test/test_buyercontract_get_communicationsenders_v1_response_m_payload.py test/test_clonehistory_get_list_v1_response.py test/test_clonehistory_get_list_v1_response_m_payload.py test/test_clonehistory_list_element.py +test/test_colleague_request_compound_v2.py +test/test_colleague_request_v2.py +test/test_colleague_response_compound_v2.py +test/test_colleague_response_v2.py test/test_common_audit.py test/test_common_auditdetail.py test/test_common_file.py @@ -2932,9 +3656,11 @@ test/test_common_reportsubsection.py test/test_common_reportsubsectionpart.py test/test_common_response.py test/test_common_response_error.py +test/test_common_response_error_creditcard_validation.py test/test_common_response_error_ezsignform_validation.py test/test_common_response_error_s_temporary_file_url.py test/test_common_response_error_too_many_requests.py +test/test_common_response_error_wrong_franchiseoffice.py test/test_common_response_filter.py test/test_common_response_get_list.py test/test_common_response_obj_debug.py @@ -2944,11 +3670,11 @@ test/test_common_response_obj_sql_query.py test/test_common_response_redirect_s_secretquestion_text_x.py test/test_common_response_warning.py test/test_common_webhook.py -test/test_communication_create_object_v1_response_m_payload.py test/test_communication_request.py test/test_communication_request_compound.py test/test_communication_send_v1_request.py test/test_communication_send_v1_response.py +test/test_communication_send_v1_response_m_payload.py test/test_communicationattachment_request.py test/test_communicationattachment_request_compound.py test/test_communicationexternalrecipient_request.py @@ -2962,10 +3688,22 @@ test/test_company_get_autocomplete_v2_response.py test/test_company_get_autocomplete_v2_response_m_payload.py test/test_computed_e_communication_direction.py test/test_computed_e_ezsigndocument_steptype.py +test/test_computed_e_ezsignfolder_access.py test/test_contact_request.py test/test_contact_request_compound.py +test/test_contact_request_compound_v2.py +test/test_contact_request_v2.py +test/test_contact_response.py +test/test_contact_response_compound.py test/test_contactinformations_request.py test/test_contactinformations_request_compound.py +test/test_contactinformations_request_compound_v2.py +test/test_contactinformations_request_v2.py +test/test_contactinformations_response.py +test/test_contactinformations_response_compound.py +test/test_contacttitle_autocomplete_element_response.py +test/test_contacttitle_get_autocomplete_v2_response.py +test/test_contacttitle_get_autocomplete_v2_response_m_payload.py test/test_cors_create_object_v1_request.py test/test_cors_create_object_v1_response.py test/test_cors_create_object_v1_response_m_payload.py @@ -2995,8 +3733,11 @@ test/test_creditcardclient_get_list_v1_response_m_payload.py test/test_creditcardclient_get_object_v2_response.py test/test_creditcardclient_get_object_v2_response_m_payload.py test/test_creditcardclient_list_element.py +test/test_creditcardclient_patch_object_v1_request.py +test/test_creditcardclient_patch_object_v1_response.py test/test_creditcardclient_request.py test/test_creditcardclient_request_compound.py +test/test_creditcardclient_request_patch.py test/test_creditcardclient_response.py test/test_creditcardclient_response_compound.py test/test_creditcarddetail_request.py @@ -3005,8 +3746,11 @@ test/test_creditcarddetail_response_compound.py test/test_creditcardtype_autocomplete_element_response.py test/test_creditcardtype_get_autocomplete_v2_response.py test/test_creditcardtype_get_autocomplete_v2_response_m_payload.py +test/test_custom_apikey.py +test/test_custom_apikeyfederation.py test/test_custom_attachment_response.py test/test_custom_attachmentdocumenttype_response.py +test/test_custom_branding_response.py test/test_custom_communication_list_element_response.py test/test_custom_communicationattachment_request.py test/test_custom_communicationrecipientsgroup_response.py @@ -3016,16 +3760,22 @@ test/test_custom_communicationsender_response.py test/test_custom_contact_name_response.py test/test_custom_create_ezsignelements_positioned_by_word_request.py test/test_custom_creditcardtransaction_response.py +test/test_custom_creditcardtransactionresponse_response.py test/test_custom_discussionconfiguration_response.py +test/test_custom_dnsrecord_response.py test/test_custom_dropdown_element_request.py test/test_custom_dropdown_element_request_compound.py test/test_custom_dropdown_element_response.py test/test_custom_dropdown_element_response_compound.py +test/test_custom_e_webhook_ezsignevent.py test/test_custom_ezmaxinvoicing_ezsigndocument_response.py test/test_custom_ezmaxinvoicing_ezsignfolder_response.py test/test_custom_ezmaxpricing_response.py test/test_custom_ezsigndocument_ezsignsignatures_automatic_response.py +test/test_custom_ezsigndocument_request.py test/test_custom_ezsignfolder_ezsignsignatures_automatic_response.py +test/test_custom_ezsignfolderezsigntemplatepublic_response.py +test/test_custom_ezsignfolderezsigntemplatepublic_signer_response.py test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py test/test_custom_ezsignfoldersignerassociationstatus_response.py test/test_custom_ezsignfoldertransmission_response.py @@ -3047,11 +3797,21 @@ test/test_custom_forms_data_folder_response.py test/test_custom_import_ezsigntemplatepackage_relation_request.py test/test_custom_notificationsubsectiongetnotificationtests_response.py test/test_custom_notificationtestgetnotificationtests_response.py -test/test_custom_user_response.py +test/test_custom_timezone_with_code_response.py +test/test_custom_user_name_response.py test/test_custom_webhook_response.py test/test_custom_webhooklog_response.py test/test_custom_word_position_occurence_response.py test/test_custom_word_position_word_response.py +test/test_customer_create_object_v1_request.py +test/test_customer_create_object_v1_response.py +test/test_customer_create_object_v1_response_m_payload.py +test/test_customer_get_object_v2_response.py +test/test_customer_get_object_v2_response_m_payload.py +test/test_customer_request.py +test/test_customer_request_compound.py +test/test_customer_response.py +test/test_customer_response_compound.py test/test_department_autocomplete_element_response.py test/test_department_get_autocomplete_v2_response.py test/test_department_get_autocomplete_v2_response_m_payload.py @@ -3089,8 +3849,27 @@ test/test_discussionmessage_request_compound.py test/test_discussionmessage_request_patch.py test/test_discussionmessage_response.py test/test_discussionmessage_response_compound.py +test/test_domain_create_object_v1_request.py +test/test_domain_create_object_v1_response.py +test/test_domain_create_object_v1_response_m_payload.py +test/test_domain_delete_object_v1_response.py +test/test_domain_get_list_v1_response.py +test/test_domain_get_list_v1_response_m_payload.py +test/test_domain_get_object_v2_response.py +test/test_domain_get_object_v2_response_m_payload.py +test/test_domain_list_element.py +test/test_domain_request.py +test/test_domain_request_compound.py +test/test_domain_response.py +test/test_domain_response_compound.py +test/test_electronicfundstransfer_get_communication_count_v1_response.py +test/test_electronicfundstransfer_get_communication_count_v1_response_m_payload.py test/test_electronicfundstransfer_get_communication_list_v1_response.py test/test_electronicfundstransfer_get_communication_list_v1_response_m_payload.py +test/test_electronicfundstransfer_get_communicationrecipients_v1_response.py +test/test_electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.py +test/test_electronicfundstransfer_get_communicationsenders_v1_response.py +test/test_electronicfundstransfer_get_communicationsenders_v1_response_m_payload.py test/test_email_request.py test/test_email_request_compound.py test/test_email_response.py @@ -3103,6 +3882,32 @@ test/test_enum_fontweight.py test/test_enum_horizontalalignment.py test/test_enum_textvalidation.py test/test_enum_verticalalignment.py +test/test_ezdoctemplatedocument_autocomplete_element_response.py +test/test_ezdoctemplatedocument_create_object_v1_request.py +test/test_ezdoctemplatedocument_create_object_v1_response.py +test/test_ezdoctemplatedocument_create_object_v1_response_m_payload.py +test/test_ezdoctemplatedocument_edit_object_v1_request.py +test/test_ezdoctemplatedocument_edit_object_v1_response.py +test/test_ezdoctemplatedocument_get_autocomplete_v2_response.py +test/test_ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.py +test/test_ezdoctemplatedocument_get_list_v1_response.py +test/test_ezdoctemplatedocument_get_list_v1_response_m_payload.py +test/test_ezdoctemplatedocument_get_object_v2_response.py +test/test_ezdoctemplatedocument_get_object_v2_response_m_payload.py +test/test_ezdoctemplatedocument_list_element.py +test/test_ezdoctemplatedocument_patch_object_v1_request.py +test/test_ezdoctemplatedocument_patch_object_v1_response.py +test/test_ezdoctemplatedocument_request.py +test/test_ezdoctemplatedocument_request_compound.py +test/test_ezdoctemplatedocument_request_patch.py +test/test_ezdoctemplatedocument_response.py +test/test_ezdoctemplatedocument_response_compound.py +test/test_ezdoctemplatefieldtypecategory_autocomplete_element_response.py +test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py +test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.py +test/test_ezdoctemplatetype_autocomplete_element_response.py +test/test_ezdoctemplatetype_get_autocomplete_v2_response.py +test/test_ezdoctemplatetype_get_autocomplete_v2_response_m_payload.py test/test_ezmaxinvoicing_autocomplete_element_response.py test/test_ezmaxinvoicing_get_autocomplete_v2_response.py test/test_ezmaxinvoicing_get_autocomplete_v2_response_m_payload.py @@ -3133,15 +3938,21 @@ test/test_ezmaxinvoicinguser_response_compound.py test/test_ezmaxproduct_autocomplete_element_response.py test/test_ezmaxproduct_get_autocomplete_v2_response.py test/test_ezmaxproduct_get_autocomplete_v2_response_m_payload.py -test/test_ezsign_suggest_signers_v1_response.py -test/test_ezsign_suggest_signers_v1_response_m_payload.py -test/test_ezsign_suggest_templates_v1_response.py -test/test_ezsign_suggest_templates_v1_response_m_payload.py +test/test_ezsignannotation_create_object_v1_request.py +test/test_ezsignannotation_create_object_v1_response.py +test/test_ezsignannotation_create_object_v1_response_m_payload.py +test/test_ezsignannotation_delete_object_v1_response.py +test/test_ezsignannotation_edit_object_v1_request.py +test/test_ezsignannotation_edit_object_v1_response.py +test/test_ezsignannotation_get_object_v2_response.py +test/test_ezsignannotation_get_object_v2_response_m_payload.py +test/test_ezsignannotation_request.py +test/test_ezsignannotation_request_compound.py test/test_ezsignannotation_response.py test/test_ezsignannotation_response_compound.py -test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_request.py -test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_response.py -test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.py +test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_request.py +test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py +test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.py test/test_ezsignbulksend_create_object_v1_request.py test/test_ezsignbulksend_create_object_v1_response.py test/test_ezsignbulksend_create_object_v1_response_m_payload.py @@ -3209,6 +4020,7 @@ test/test_ezsigndocument_apply_ezsigntemplate_v2_request.py test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_request.py test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py +test/test_ezsigndocument_create_element_v3_response.py test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.py test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload.py @@ -3218,16 +4030,27 @@ test/test_ezsigndocument_create_object_v1_response_m_payload.py test/test_ezsigndocument_create_object_v2_request.py test/test_ezsigndocument_create_object_v2_response.py test/test_ezsigndocument_create_object_v2_response_m_payload.py +test/test_ezsigndocument_create_object_v3_request.py +test/test_ezsigndocument_create_object_v3_response.py +test/test_ezsigndocument_create_object_v3_response_m_payload.py test/test_ezsigndocument_decline_to_sign_v1_request.py test/test_ezsigndocument_decline_to_sign_v1_response.py test/test_ezsigndocument_delete_object_v1_response.py +test/test_ezsigndocument_edit_ezsignannotations_v1_request.py +test/test_ezsigndocument_edit_ezsignannotations_v1_response.py +test/test_ezsigndocument_edit_ezsignannotations_v1_response_m_payload.py test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_request.py test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload.py test/test_ezsigndocument_edit_ezsignsignatures_v1_request.py test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py test/test_ezsigndocument_edit_ezsignsignatures_v1_response_m_payload.py +test/test_ezsigndocument_edit_object_v1_request.py +test/test_ezsigndocument_edit_object_v1_response.py test/test_ezsigndocument_end_prematurely_v1_response.py +test/test_ezsigndocument_extract_text_v1_request.py +test/test_ezsigndocument_extract_text_v1_response.py +test/test_ezsigndocument_extract_text_v1_response_m_payload.py test/test_ezsigndocument_flatten_v1_response.py test/test_ezsigndocument_get_actionable_elements_v1_response.py test/test_ezsigndocument_get_actionable_elements_v1_response_m_payload.py @@ -3259,6 +4082,7 @@ test/test_ezsigndocument_get_temporary_proof_v1_response.py test/test_ezsigndocument_get_temporary_proof_v1_response_m_payload.py test/test_ezsigndocument_get_words_positions_v1_request.py test/test_ezsigndocument_get_words_positions_v1_response.py +test/test_ezsigndocument_matchingtemplate_v3_response.py test/test_ezsigndocument_patch_object_v1_request.py test/test_ezsigndocument_patch_object_v1_response.py test/test_ezsigndocument_request.py @@ -3269,6 +4093,9 @@ test/test_ezsigndocument_response_compound.py test/test_ezsigndocument_submit_ezsignform_v1_request.py test/test_ezsigndocument_submit_ezsignform_v1_response.py test/test_ezsigndocument_unsend_v1_response.py +test/test_ezsigndocumentdependency_request.py +test/test_ezsigndocumentdependency_request_compound.py +test/test_ezsigndocumentdependency_response.py test/test_ezsigndocumentlog_response.py test/test_ezsigndocumentlog_response_compound.py test/test_ezsignelementdependency_request.py @@ -3283,12 +4110,15 @@ test/test_ezsignfolder_create_object_v1_response_m_payload.py test/test_ezsignfolder_create_object_v2_request.py test/test_ezsignfolder_create_object_v2_response.py test/test_ezsignfolder_create_object_v2_response_m_payload.py +test/test_ezsignfolder_create_object_v3_request.py +test/test_ezsignfolder_create_object_v3_response.py +test/test_ezsignfolder_create_object_v3_response_m_payload.py test/test_ezsignfolder_delete_object_v1_response.py test/test_ezsignfolder_dispose_ezsignfolders_v1_request.py test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py test/test_ezsignfolder_dispose_v1_response.py -test/test_ezsignfolder_edit_object_v1_request.py -test/test_ezsignfolder_edit_object_v1_response.py +test/test_ezsignfolder_edit_object_v3_request.py +test/test_ezsignfolder_edit_object_v3_response.py test/test_ezsignfolder_end_prematurely_v1_response.py test/test_ezsignfolder_get_actionable_elements_v1_response.py test/test_ezsignfolder_get_actionable_elements_v1_response_m_payload.py @@ -3318,6 +4148,8 @@ test/test_ezsignfolder_get_object_v1_response.py test/test_ezsignfolder_get_object_v1_response_m_payload.py test/test_ezsignfolder_get_object_v2_response.py test/test_ezsignfolder_get_object_v2_response_m_payload.py +test/test_ezsignfolder_get_object_v3_response.py +test/test_ezsignfolder_get_object_v3_response_m_payload.py test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_request.py test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload.py @@ -3327,10 +4159,16 @@ test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.py test/test_ezsignfolder_list_element.py test/test_ezsignfolder_reorder_v1_request.py test/test_ezsignfolder_reorder_v1_response.py +test/test_ezsignfolder_reorder_v2_request.py +test/test_ezsignfolder_reorder_v2_response.py test/test_ezsignfolder_request.py test/test_ezsignfolder_request_compound.py +test/test_ezsignfolder_request_compound_v3.py +test/test_ezsignfolder_request_v3.py test/test_ezsignfolder_response.py test/test_ezsignfolder_response_compound.py +test/test_ezsignfolder_response_compound_v3.py +test/test_ezsignfolder_response_v3.py test/test_ezsignfolder_send_v1_request.py test/test_ezsignfolder_send_v1_response.py test/test_ezsignfolder_send_v3_request.py @@ -3357,6 +4195,8 @@ test/test_ezsignfoldersignerassociation_get_object_v2_response.py test/test_ezsignfoldersignerassociation_get_object_v2_response_m_payload.py test/test_ezsignfoldersignerassociation_patch_object_v1_request.py test/test_ezsignfoldersignerassociation_patch_object_v1_response.py +test/test_ezsignfoldersignerassociation_reassign_v1_request.py +test/test_ezsignfoldersignerassociation_reassign_v1_response.py test/test_ezsignfoldersignerassociation_request.py test/test_ezsignfoldersignerassociation_request_compound.py test/test_ezsignfoldersignerassociation_request_patch.py @@ -3364,30 +4204,26 @@ test/test_ezsignfoldersignerassociation_response.py test/test_ezsignfoldersignerassociation_response_compound.py test/test_ezsignfoldersignerassociation_response_compound_user.py test/test_ezsignfoldertype_autocomplete_element_response.py -test/test_ezsignfoldertype_create_object_v2_request.py -test/test_ezsignfoldertype_create_object_v2_response.py -test/test_ezsignfoldertype_create_object_v2_response_m_payload.py -test/test_ezsignfoldertype_edit_object_v1_request.py -test/test_ezsignfoldertype_edit_object_v1_response.py -test/test_ezsignfoldertype_edit_object_v2_request.py -test/test_ezsignfoldertype_edit_object_v2_response.py +test/test_ezsignfoldertype_create_object_v3_request.py +test/test_ezsignfoldertype_create_object_v3_response.py +test/test_ezsignfoldertype_create_object_v3_response_m_payload.py +test/test_ezsignfoldertype_edit_object_v3_request.py +test/test_ezsignfoldertype_edit_object_v3_response.py test/test_ezsignfoldertype_get_autocomplete_v2_response.py test/test_ezsignfoldertype_get_autocomplete_v2_response_m_payload.py test/test_ezsignfoldertype_get_list_v1_response.py test/test_ezsignfoldertype_get_list_v1_response_m_payload.py test/test_ezsignfoldertype_get_object_v2_response.py test/test_ezsignfoldertype_get_object_v2_response_m_payload.py -test/test_ezsignfoldertype_get_object_v3_response.py -test/test_ezsignfoldertype_get_object_v3_response_m_payload.py +test/test_ezsignfoldertype_get_object_v4_response.py +test/test_ezsignfoldertype_get_object_v4_response_m_payload.py test/test_ezsignfoldertype_list_element.py -test/test_ezsignfoldertype_request.py -test/test_ezsignfoldertype_request_compound.py -test/test_ezsignfoldertype_request_compound_v2.py -test/test_ezsignfoldertype_request_v2.py +test/test_ezsignfoldertype_request_compound_v3.py +test/test_ezsignfoldertype_request_v3.py test/test_ezsignfoldertype_response.py test/test_ezsignfoldertype_response_compound.py -test/test_ezsignfoldertype_response_compound_v3.py -test/test_ezsignfoldertype_response_v3.py +test/test_ezsignfoldertype_response_compound_v4.py +test/test_ezsignfoldertype_response_v4.py test/test_ezsignformfield_request.py test/test_ezsignformfield_request_compound.py test/test_ezsignformfield_response.py @@ -3417,26 +4253,36 @@ test/test_ezsignsignature_create_object_v1_response_m_payload.py test/test_ezsignsignature_create_object_v2_request.py test/test_ezsignsignature_create_object_v2_response.py test/test_ezsignsignature_create_object_v2_response_m_payload.py +test/test_ezsignsignature_create_object_v3_request.py +test/test_ezsignsignature_create_object_v3_response.py +test/test_ezsignsignature_create_object_v3_response_m_payload.py test/test_ezsignsignature_delete_object_v1_response.py -test/test_ezsignsignature_edit_object_v1_request.py -test/test_ezsignsignature_edit_object_v1_response.py +test/test_ezsignsignature_edit_object_v2_request.py +test/test_ezsignsignature_edit_object_v2_response.py test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.py test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.py -test/test_ezsignsignature_get_object_v2_response.py -test/test_ezsignsignature_get_object_v2_response_m_payload.py +test/test_ezsignsignature_get_object_v3_response.py +test/test_ezsignsignature_get_object_v3_response_m_payload.py test/test_ezsignsignature_request.py test/test_ezsignsignature_request_compound.py +test/test_ezsignsignature_request_compound_v2.py test/test_ezsignsignature_response.py test/test_ezsignsignature_response_compound.py +test/test_ezsignsignature_response_compound_v3.py test/test_ezsignsignature_sign_v1_request.py test/test_ezsignsignature_sign_v1_response.py +test/test_ezsignsignature_sign_v1_response_m_payload.py test/test_ezsignsignatureattachment_response.py test/test_ezsignsignaturecustomdate_request.py test/test_ezsignsignaturecustomdate_request_compound.py +test/test_ezsignsignaturecustomdate_request_compound_v2.py +test/test_ezsignsignaturecustomdate_request_v2.py test/test_ezsignsignaturecustomdate_response.py test/test_ezsignsignaturecustomdate_response_compound.py +test/test_ezsignsignaturecustomdate_response_compound_v2.py +test/test_ezsignsignaturecustomdate_response_v2.py test/test_ezsignsigner_request.py test/test_ezsignsigner_request_compound.py test/test_ezsignsigner_request_compound_contact.py @@ -3491,35 +4337,31 @@ test/test_ezsigntemplate_autocomplete_element_response.py test/test_ezsigntemplate_copy_v1_request.py test/test_ezsigntemplate_copy_v1_response.py test/test_ezsigntemplate_copy_v1_response_m_payload.py -test/test_ezsigntemplate_create_object_v1_request.py -test/test_ezsigntemplate_create_object_v1_response.py -test/test_ezsigntemplate_create_object_v1_response_m_payload.py -test/test_ezsigntemplate_create_object_v2_request.py -test/test_ezsigntemplate_create_object_v2_response.py -test/test_ezsigntemplate_create_object_v2_response_m_payload.py +test/test_ezsigntemplate_create_object_v3_request.py +test/test_ezsigntemplate_create_object_v3_response.py +test/test_ezsigntemplate_create_object_v3_response_m_payload.py test/test_ezsigntemplate_delete_object_v1_response.py -test/test_ezsigntemplate_edit_object_v1_request.py -test/test_ezsigntemplate_edit_object_v1_response.py -test/test_ezsigntemplate_edit_object_v2_request.py -test/test_ezsigntemplate_edit_object_v2_response.py +test/test_ezsigntemplate_edit_object_v3_request.py +test/test_ezsigntemplate_edit_object_v3_response.py test/test_ezsigntemplate_get_autocomplete_v2_response.py test/test_ezsigntemplate_get_autocomplete_v2_response_m_payload.py test/test_ezsigntemplate_get_list_v1_response.py test/test_ezsigntemplate_get_list_v1_response_m_payload.py -test/test_ezsigntemplate_get_object_v1_response.py -test/test_ezsigntemplate_get_object_v1_response_m_payload.py -test/test_ezsigntemplate_get_object_v2_response.py -test/test_ezsigntemplate_get_object_v2_response_m_payload.py +test/test_ezsigntemplate_get_object_v3_response.py +test/test_ezsigntemplate_get_object_v3_response_m_payload.py test/test_ezsigntemplate_list_element.py -test/test_ezsigntemplate_request.py -test/test_ezsigntemplate_request_compound.py -test/test_ezsigntemplate_request_compound_v2.py -test/test_ezsigntemplate_request_v2.py +test/test_ezsigntemplate_request_compound_v3.py +test/test_ezsigntemplate_request_v3.py test/test_ezsigntemplate_response.py test/test_ezsigntemplate_response_compound.py +test/test_ezsigntemplate_response_compound_v3.py +test/test_ezsigntemplate_response_v3.py test/test_ezsigntemplatedocument_create_object_v1_request.py test/test_ezsigntemplatedocument_create_object_v1_response.py test/test_ezsigntemplatedocument_create_object_v1_response_m_payload.py +test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request.py +test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py +test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.py test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload.py @@ -3528,7 +4370,12 @@ test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload.py test/test_ezsigntemplatedocument_edit_object_v1_request.py test/test_ezsigntemplatedocument_edit_object_v1_response.py +test/test_ezsigntemplatedocument_extract_text_v1_request.py +test/test_ezsigntemplatedocument_extract_text_v1_response.py +test/test_ezsigntemplatedocument_extract_text_v1_response_m_payload.py test/test_ezsigntemplatedocument_flatten_v1_response.py +test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py +test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py @@ -3548,6 +4395,18 @@ test/test_ezsigntemplatedocument_response.py test/test_ezsigntemplatedocument_response_compound.py test/test_ezsigntemplatedocumentpage_response.py test/test_ezsigntemplatedocumentpage_response_compound.py +test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_request.py +test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response.py +test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.py +test/test_ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py +test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_request.py +test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py +test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response.py +test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.py +test/test_ezsigntemplatedocumentpagerecognition_request.py +test/test_ezsigntemplatedocumentpagerecognition_request_compound.py +test/test_ezsigntemplatedocumentpagerecognition_response.py +test/test_ezsigntemplatedocumentpagerecognition_response_compound.py test/test_ezsigntemplateelementdependency_request.py test/test_ezsigntemplateelementdependency_request_compound.py test/test_ezsigntemplateelementdependency_response.py @@ -3637,22 +4496,54 @@ test/test_ezsigntemplatepackagesignermembership_request.py test/test_ezsigntemplatepackagesignermembership_request_compound.py test/test_ezsigntemplatepackagesignermembership_response.py test/test_ezsigntemplatepackagesignermembership_response_compound.py -test/test_ezsigntemplatesignature_create_object_v1_request.py -test/test_ezsigntemplatesignature_create_object_v1_response.py -test/test_ezsigntemplatesignature_create_object_v1_response_m_payload.py +test/test_ezsigntemplatepublic_create_ezsignfolder_v1_request.py +test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response.py +test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.py +test/test_ezsigntemplatepublic_create_object_v1_request.py +test/test_ezsigntemplatepublic_create_object_v1_response.py +test/test_ezsigntemplatepublic_create_object_v1_response_m_payload.py +test/test_ezsigntemplatepublic_edit_object_v1_request.py +test/test_ezsigntemplatepublic_edit_object_v1_response.py +test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request.py +test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py +test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py +test/test_ezsigntemplatepublic_get_forms_data_v1_response.py +test/test_ezsigntemplatepublic_get_forms_data_v1_response_m_payload.py +test/test_ezsigntemplatepublic_get_list_v1_response.py +test/test_ezsigntemplatepublic_get_list_v1_response_m_payload.py +test/test_ezsigntemplatepublic_get_object_v2_response.py +test/test_ezsigntemplatepublic_get_object_v2_response_m_payload.py +test/test_ezsigntemplatepublic_list_element.py +test/test_ezsigntemplatepublic_request.py +test/test_ezsigntemplatepublic_request_compound.py +test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py +test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.py +test/test_ezsigntemplatepublic_reset_url_v1_response.py +test/test_ezsigntemplatepublic_reset_url_v1_response_m_payload.py +test/test_ezsigntemplatepublic_response.py +test/test_ezsigntemplatepublic_response_compound.py +test/test_ezsigntemplatesignature_create_object_v2_request.py +test/test_ezsigntemplatesignature_create_object_v2_response.py +test/test_ezsigntemplatesignature_create_object_v2_response_m_payload.py test/test_ezsigntemplatesignature_delete_object_v1_response.py -test/test_ezsigntemplatesignature_edit_object_v1_request.py -test/test_ezsigntemplatesignature_edit_object_v1_response.py -test/test_ezsigntemplatesignature_get_object_v2_response.py -test/test_ezsigntemplatesignature_get_object_v2_response_m_payload.py +test/test_ezsigntemplatesignature_edit_object_v2_request.py +test/test_ezsigntemplatesignature_edit_object_v2_response.py +test/test_ezsigntemplatesignature_get_object_v3_response.py +test/test_ezsigntemplatesignature_get_object_v3_response_m_payload.py test/test_ezsigntemplatesignature_request.py test/test_ezsigntemplatesignature_request_compound.py +test/test_ezsigntemplatesignature_request_compound_v2.py test/test_ezsigntemplatesignature_response.py test/test_ezsigntemplatesignature_response_compound.py +test/test_ezsigntemplatesignature_response_compound_v3.py test/test_ezsigntemplatesignaturecustomdate_request.py test/test_ezsigntemplatesignaturecustomdate_request_compound.py +test/test_ezsigntemplatesignaturecustomdate_request_compound_v2.py +test/test_ezsigntemplatesignaturecustomdate_request_v2.py test/test_ezsigntemplatesignaturecustomdate_response.py test/test_ezsigntemplatesignaturecustomdate_response_compound.py +test/test_ezsigntemplatesignaturecustomdate_response_compound_v2.py +test/test_ezsigntemplatesignaturecustomdate_response_v2.py test/test_ezsigntemplatesigner_create_object_v1_request.py test/test_ezsigntemplatesigner_create_object_v1_response.py test/test_ezsigntemplatesigner_create_object_v1_response_m_payload.py @@ -3668,7 +4559,19 @@ test/test_ezsigntemplatesigner_response_compound.py test/test_ezsigntsarequirement_autocomplete_element_response.py test/test_ezsigntsarequirement_get_autocomplete_v2_response.py test/test_ezsigntsarequirement_get_autocomplete_v2_response_m_payload.py +test/test_ezsignuser_edit_object_v1_request.py +test/test_ezsignuser_edit_object_v1_response.py +test/test_ezsignuser_get_object_v2_response.py +test/test_ezsignuser_get_object_v2_response_m_payload.py +test/test_ezsignuser_request.py +test/test_ezsignuser_request_compound.py +test/test_ezsignuser_response.py +test/test_ezsignuser_response_compound.py +test/test_field_e_activesession_ezsign.py +test/test_field_e_activesession_ezsignaccess.py +test/test_field_e_activesession_ezsignprepaid.py test/test_field_e_activesession_origin.py +test/test_field_e_activesession_realestateinprogress.py test/test_field_e_activesession_usertype.py test/test_field_e_activesession_weekdaystart.py test/test_field_e_attachment_documenttype.py @@ -3676,15 +4579,25 @@ test/test_field_e_attachment_privacy.py test/test_field_e_attachment_type.py test/test_field_e_attachment_verified.py test/test_field_e_attachmentlog_type.py +test/test_field_e_authenticationexternal_type.py +test/test_field_e_branding_alignlogo.py test/test_field_e_branding_logo.py -test/test_field_e_branding_logointerface.py +test/test_field_e_colleague_ezsign.py +test/test_field_e_colleague_realestateinprogess.py test/test_field_e_communication_importance.py test/test_field_e_communication_type.py test/test_field_e_communicationexternalrecipient_type.py test/test_field_e_communicationrecipient_type.py +test/test_field_e_contact_type.py +test/test_field_e_contactinformations_type.py +test/test_field_e_creditcardtransaction_avsresult.py +test/test_field_e_creditcardtransaction_cvdresult.py test/test_field_e_creditcardtype_codename.py +test/test_field_e_customer_marketingcorrespondence.py +test/test_field_e_customer_type.py test/test_field_e_discussionmessage_status.py test/test_field_e_error_code.py +test/test_field_e_ezdoctemplatedocument_privacylevel.py test/test_field_e_ezmaxinvoicing_paymenttype.py test/test_field_e_ezmaxinvoicingagent_variationezmax.py test/test_field_e_ezmaxinvoicingagent_variationezsign.py @@ -3696,22 +4609,32 @@ test/test_field_e_ezsigndocumentlog_type.py test/test_field_e_ezsignelementdependency_operator.py test/test_field_e_ezsignelementdependency_validation.py test/test_field_e_ezsignfolder_completion.py +test/test_field_e_ezsignfolder_documentdependency.py +test/test_field_e_ezsignfolder_messageorder.py test/test_field_e_ezsignfolder_sendreminderfrequency.py test/test_field_e_ezsignfolder_step.py test/test_field_e_ezsignfoldertype_completion.py test/test_field_e_ezsignfoldertype_disposal.py +test/test_field_e_ezsignfoldertype_documentdependency.py +test/test_field_e_ezsignfoldertype_pdfanoncompliantaction.py +test/test_field_e_ezsignfoldertype_pdfarequirement.py test/test_field_e_ezsignfoldertype_privacylevel.py test/test_field_e_ezsignfoldertype_sendreminderfrequency.py +test/test_field_e_ezsignfoldertype_signeraccess.py test/test_field_e_ezsignformfield_dependencyrequirement.py test/test_field_e_ezsignformfieldgroup_signerrequirement.py test/test_field_e_ezsignformfieldgroup_tooltipposition.py test/test_field_e_ezsignformfieldgroup_type.py test/test_field_e_ezsignsignature_attachmentnamesource.py +test/test_field_e_ezsignsignature_consultationtrigger.py test/test_field_e_ezsignsignature_dependencyrequirement.py test/test_field_e_ezsignsignature_font.py test/test_field_e_ezsignsignature_tooltipposition.py test/test_field_e_ezsignsignature_type.py +test/test_field_e_ezsigntemplate_recognition.py test/test_field_e_ezsigntemplate_type.py +test/test_field_e_ezsigntemplatedocumentpagerecognition_operator.py +test/test_field_e_ezsigntemplatedocumentpagerecognition_section.py test/test_field_e_ezsigntemplateelementdependency_operator.py test/test_field_e_ezsigntemplateelementdependency_validation.py test/test_field_e_ezsigntemplateformfield_dependencyrequirement.py @@ -3722,17 +4645,22 @@ test/test_field_e_ezsigntemplateformfieldgroup_tooltipposition.py test/test_field_e_ezsigntemplateformfieldgroup_type.py test/test_field_e_ezsigntemplateglobal_module.py test/test_field_e_ezsigntemplateglobal_supplier.py +test/test_field_e_ezsigntemplatepackagesigner_mapping.py +test/test_field_e_ezsigntemplatepublic_limittype.py test/test_field_e_ezsigntemplatesignature_attachmentnamesource.py +test/test_field_e_ezsigntemplatesignature_consultationtrigger.py test/test_field_e_ezsigntemplatesignature_dependencyrequirement.py test/test_field_e_ezsigntemplatesignature_font.py test/test_field_e_ezsigntemplatesignature_positioning.py test/test_field_e_ezsigntemplatesignature_positioningoccurence.py test/test_field_e_ezsigntemplatesignature_tooltipposition.py test/test_field_e_ezsigntemplatesignature_type.py +test/test_field_e_ezsigntemplatesigner_mapping.py test/test_field_e_notificationpreference_status.py test/test_field_e_paymentterm_type.py test/test_field_e_phone_type.py test/test_field_e_sessionhistory_endby.py +test/test_field_e_signature_preference.py test/test_field_e_systemconfiguration_ezsign.py test/test_field_e_systemconfiguration_ezsignofficeplan.py test/test_field_e_systemconfiguration_language1.py @@ -3765,6 +4693,12 @@ test/test_franchisereferalincome_create_object_v2_response.py test/test_franchisereferalincome_create_object_v2_response_m_payload.py test/test_franchisereferalincome_request.py test/test_franchisereferalincome_request_compound.py +test/test_glaccount_autocomplete_element_response.py +test/test_glaccount_get_autocomplete_v2_response.py +test/test_glaccount_get_autocomplete_v2_response_m_payload.py +test/test_glaccountcontainer_autocomplete_element_response.py +test/test_glaccountcontainer_get_autocomplete_v2_response.py +test/test_glaccountcontainer_get_autocomplete_v2_response_m_payload.py test/test_global_customer_api.py test/test_global_customer_get_endpoint_v1_response.py test/test_global_ezmaxclient_api.py @@ -3774,23 +4708,44 @@ test/test_global_ezmaxcustomer_get_configuration_v1_response.py test/test_header_accept_language.py test/test_inscription_get_attachments_v1_response.py test/test_inscription_get_attachments_v1_response_m_payload.py +test/test_inscription_get_communication_count_v1_response.py +test/test_inscription_get_communication_count_v1_response_m_payload.py test/test_inscription_get_communication_list_v1_response.py test/test_inscription_get_communication_list_v1_response_m_payload.py +test/test_inscription_get_communicationrecipients_v1_response.py +test/test_inscription_get_communicationrecipients_v1_response_m_payload.py test/test_inscription_get_communicationsenders_v1_response.py test/test_inscription_get_communicationsenders_v1_response_m_payload.py +test/test_inscriptionnotauthenticated_get_communication_count_v1_response.py +test/test_inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.py test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py test/test_inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py +test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response.py +test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.py +test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response.py +test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.py +test/test_inscriptiontemp_get_communication_count_v1_response.py +test/test_inscriptiontemp_get_communication_count_v1_response_m_payload.py test/test_inscriptiontemp_get_communication_list_v1_response.py test/test_inscriptiontemp_get_communication_list_v1_response_m_payload.py +test/test_inscriptiontemp_get_communicationrecipients_v1_response.py +test/test_inscriptiontemp_get_communicationrecipients_v1_response_m_payload.py +test/test_inscriptiontemp_get_communicationsenders_v1_response.py +test/test_inscriptiontemp_get_communicationsenders_v1_response_m_payload.py test/test_invoice_get_attachments_v1_response.py test/test_invoice_get_attachments_v1_response_m_payload.py +test/test_invoice_get_communication_count_v1_response.py +test/test_invoice_get_communication_count_v1_response_m_payload.py test/test_invoice_get_communication_list_v1_response.py test/test_invoice_get_communication_list_v1_response_m_payload.py +test/test_invoice_get_communicationrecipients_v1_response.py +test/test_invoice_get_communicationrecipients_v1_response_m_payload.py +test/test_invoice_get_communicationsenders_v1_response.py +test/test_invoice_get_communicationsenders_v1_response_m_payload.py test/test_language_autocomplete_element_response.py test/test_language_get_autocomplete_v2_response.py test/test_language_get_autocomplete_v2_response_m_payload.py test/test_module_autocomplete_element_response.py -test/test_module_ezsign_api.py test/test_module_get_autocomplete_v2_response.py test/test_module_get_autocomplete_v2_response_m_payload.py test/test_module_report_api.py @@ -3806,6 +4761,7 @@ test/test_modulesection_response_compound.py test/test_multilingual_apikey_description.py test/test_multilingual_billingentityinternal_description.py test/test_multilingual_branding_description.py +test/test_multilingual_ezdoctemplatedocument_name.py test/test_multilingual_ezmaxinvoicingsummaryinternal_description.py test/test_multilingual_ezsignfoldertype_name.py test/test_multilingual_ezsignsignergroup_description.py @@ -3814,6 +4770,7 @@ test/test_multilingual_notificationsubsection_name.py test/test_multilingual_notificationtest_name.py test/test_multilingual_paymentterm_description.py test/test_multilingual_subnet_description.py +test/test_multilingual_supply_description.py test/test_multilingual_usergroup_name.py test/test_multilingual_userlogintype_description.py test/test_multilingual_variableexpense_description.py @@ -3827,6 +4784,7 @@ test/test_notificationtest_response.py test/test_object_activesession_api.py test/test_object_apikey_api.py test/test_object_attachment_api.py +test/test_object_authenticationexternal_api.py test/test_object_billingentityexternal_api.py test/test_object_billingentityinternal_api.py test/test_object_branding_api.py @@ -3834,18 +4792,25 @@ test/test_object_buyercontract_api.py test/test_object_clonehistory_api.py test/test_object_communication_api.py test/test_object_company_api.py +test/test_object_contacttitle_api.py test/test_object_cors_api.py test/test_object_country_api.py test/test_object_creditcardclient_api.py test/test_object_creditcardtype_api.py +test/test_object_customer_api.py test/test_object_department_api.py test/test_object_discussion_api.py test/test_object_discussionmembership_api.py test/test_object_discussionmessage_api.py +test/test_object_domain_api.py test/test_object_electronicfundstransfer_api.py test/test_object_emailtype_api.py +test/test_object_ezdoctemplatedocument_api.py +test/test_object_ezdoctemplatefieldtypecategory_api.py +test/test_object_ezdoctemplatetype_api.py test/test_object_ezmaxinvoicing_api.py test/test_object_ezmaxproduct_api.py +test/test_object_ezsignannotation_api.py test/test_object_ezsignbulksend_api.py test/test_object_ezsignbulksenddocumentmapping_api.py test/test_object_ezsignbulksendsignermapping_api.py @@ -3863,19 +4828,24 @@ test/test_object_ezsignsignergroupmembership_api.py test/test_object_ezsignsigningreason_api.py test/test_object_ezsigntemplate_api.py test/test_object_ezsigntemplatedocument_api.py +test/test_object_ezsigntemplatedocumentpagerecognition_api.py test/test_object_ezsigntemplateformfieldgroup_api.py test/test_object_ezsigntemplateglobal_api.py test/test_object_ezsigntemplatepackage_api.py test/test_object_ezsigntemplatepackagemembership_api.py test/test_object_ezsigntemplatepackagesigner_api.py test/test_object_ezsigntemplatepackagesignermembership_api.py +test/test_object_ezsigntemplatepublic_api.py test/test_object_ezsigntemplatesignature_api.py test/test_object_ezsigntemplatesigner_api.py test/test_object_ezsigntsarequirement_api.py +test/test_object_ezsignuser_api.py test/test_object_font_api.py test/test_object_franchisebroker_api.py test/test_object_franchiseoffice_api.py test/test_object_franchisereferalincome_api.py +test/test_object_glaccount_api.py +test/test_object_glaccountcontainer_api.py test/test_object_inscription_api.py test/test_object_inscriptionnotauthenticated_api.py test/test_object_inscriptiontemp_api.py @@ -3887,6 +4857,7 @@ test/test_object_notificationsection_api.py test/test_object_notificationtest_api.py test/test_object_otherincome_api.py test/test_object_paymentterm_api.py +test/test_object_pdfalevel_api.py test/test_object_period_api.py test/test_object_permission_api.py test/test_object_phonetype_api.py @@ -3896,9 +4867,11 @@ test/test_object_secretquestion_api.py test/test_object_sessionhistory_api.py test/test_object_signature_api.py test/test_object_subnet_api.py +test/test_object_supply_api.py test/test_object_systemconfiguration_api.py test/test_object_taxassignment_api.py test/test_object_timezone_api.py +test/test_object_tranqcontract_api.py test/test_object_user_api.py test/test_object_usergroup_api.py test/test_object_usergroupdelegation_api.py @@ -3909,8 +4882,14 @@ test/test_object_userstaged_api.py test/test_object_variableexpense_api.py test/test_object_versionhistory_api.py test/test_object_webhook_api.py +test/test_otherincome_get_communication_count_v1_response.py +test/test_otherincome_get_communication_count_v1_response_m_payload.py test/test_otherincome_get_communication_list_v1_response.py test/test_otherincome_get_communication_list_v1_response_m_payload.py +test/test_otherincome_get_communicationrecipients_v1_response.py +test/test_otherincome_get_communicationrecipients_v1_response_m_payload.py +test/test_otherincome_get_communicationsenders_v1_response.py +test/test_otherincome_get_communicationsenders_v1_response_m_payload.py test/test_paymentterm_autocomplete_element_response.py test/test_paymentterm_create_object_v1_request.py test/test_paymentterm_create_object_v1_response.py @@ -3928,6 +4907,9 @@ test/test_paymentterm_request.py test/test_paymentterm_request_compound.py test/test_paymentterm_response.py test/test_paymentterm_response_compound.py +test/test_pdfalevel_autocomplete_element_response.py +test/test_pdfalevel_get_autocomplete_v2_response.py +test/test_pdfalevel_get_autocomplete_v2_response_m_payload.py test/test_period_autocomplete_element_response.py test/test_period_get_autocomplete_v2_response.py test/test_period_get_autocomplete_v2_response_m_payload.py @@ -3955,8 +4937,14 @@ test/test_phonetype_get_autocomplete_v2_response_m_payload.py test/test_province_autocomplete_element_response.py test/test_province_get_autocomplete_v2_response.py test/test_province_get_autocomplete_v2_response_m_payload.py +test/test_rejectedoffertopurchase_get_communication_count_v1_response.py +test/test_rejectedoffertopurchase_get_communication_count_v1_response_m_payload.py test/test_rejectedoffertopurchase_get_communication_list_v1_response.py test/test_rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py +test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response.py +test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.py +test/test_rejectedoffertopurchase_get_communicationsenders_v1_response.py +test/test_rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.py test/test_scim_authentication_scheme.py test/test_scim_email.py test/test_scim_group.py @@ -3987,10 +4975,14 @@ test/test_signature_edit_object_v1_request.py test/test_signature_edit_object_v1_response.py test/test_signature_get_object_v2_response.py test/test_signature_get_object_v2_response_m_payload.py +test/test_signature_get_object_v3_response.py +test/test_signature_get_object_v3_response_m_payload.py test/test_signature_request.py test/test_signature_request_compound.py test/test_signature_response.py test/test_signature_response_compound.py +test/test_signature_response_compound_v3.py +test/test_signature_response_v3.py test/test_subnet_create_object_v1_request.py test/test_subnet_create_object_v1_response.py test/test_subnet_create_object_v1_response_m_payload.py @@ -4003,6 +4995,24 @@ test/test_subnet_request.py test/test_subnet_request_compound.py test/test_subnet_response.py test/test_subnet_response_compound.py +test/test_supply_autocomplete_element_response.py +test/test_supply_create_object_v1_request.py +test/test_supply_create_object_v1_response.py +test/test_supply_create_object_v1_response_m_payload.py +test/test_supply_delete_object_v1_response.py +test/test_supply_edit_object_v1_request.py +test/test_supply_edit_object_v1_response.py +test/test_supply_get_autocomplete_v2_response.py +test/test_supply_get_autocomplete_v2_response_m_payload.py +test/test_supply_get_list_v1_response.py +test/test_supply_get_list_v1_response_m_payload.py +test/test_supply_get_object_v2_response.py +test/test_supply_get_object_v2_response_m_payload.py +test/test_supply_list_element.py +test/test_supply_request.py +test/test_supply_request_compound.py +test/test_supply_response.py +test/test_supply_response_compound.py test/test_systemconfiguration_edit_object_v1_request.py test/test_systemconfiguration_edit_object_v1_response.py test/test_systemconfiguration_get_object_v2_response.py @@ -4014,11 +5024,21 @@ test/test_systemconfiguration_response_compound.py test/test_taxassignment_autocomplete_element_response.py test/test_taxassignment_get_autocomplete_v2_response.py test/test_taxassignment_get_autocomplete_v2_response_m_payload.py +test/test_textstylestatic_request.py +test/test_textstylestatic_request_compound.py test/test_textstylestatic_response.py test/test_textstylestatic_response_compound.py test/test_timezone_autocomplete_element_response.py test/test_timezone_get_autocomplete_v2_response.py test/test_timezone_get_autocomplete_v2_response_m_payload.py +test/test_tranqcontract_get_communication_count_v1_response.py +test/test_tranqcontract_get_communication_count_v1_response_m_payload.py +test/test_tranqcontract_get_communication_list_v1_response.py +test/test_tranqcontract_get_communication_list_v1_response_m_payload.py +test/test_tranqcontract_get_communicationrecipients_v1_response.py +test/test_tranqcontract_get_communicationrecipients_v1_response_m_payload.py +test/test_tranqcontract_get_communicationsenders_v1_response.py +test/test_tranqcontract_get_communicationsenders_v1_response_m_payload.py test/test_user_autocomplete_element_response.py test/test_user_create_ezsignuser_v1_request.py test/test_user_create_ezsignuser_v1_response.py @@ -4029,6 +5049,9 @@ test/test_user_create_object_v1_response_m_payload.py test/test_user_create_object_v2_request.py test/test_user_create_object_v2_response.py test/test_user_create_object_v2_response_m_payload.py +test/test_user_edit_colleagues_v2_request.py +test/test_user_edit_colleagues_v2_response.py +test/test_user_edit_colleagues_v2_response_m_payload.py test/test_user_edit_object_v1_request.py test/test_user_edit_object_v1_response.py test/test_user_edit_permissions_v1_request.py @@ -4038,6 +5061,8 @@ test/test_user_get_apikeys_v1_response.py test/test_user_get_apikeys_v1_response_m_payload.py test/test_user_get_autocomplete_v2_response.py test/test_user_get_autocomplete_v2_response_m_payload.py +test/test_user_get_colleagues_v2_response.py +test/test_user_get_colleagues_v2_response_m_payload.py test/test_user_get_effective_permissions_v1_response.py test/test_user_get_effective_permissions_v1_response_m_payload.py test/test_user_get_list_v1_response.py @@ -4207,6 +5232,8 @@ test/test_webhook_request.py test/test_webhook_request_compound.py test/test_webhook_response.py test/test_webhook_response_compound.py +test/test_webhook_send_webhook_v1_request.py +test/test_webhook_send_webhook_v1_response.py test/test_webhook_test_v1_response.py test/test_webhook_user_user_created.py test/test_webhook_userstaged_userstaged_created.py @@ -4216,6 +5243,8 @@ test/test_webhookheader_response.py test/test_webhookheader_response_compound.py test/test_website_request.py test/test_website_request_compound.py +test/test_website_response.py +test/test_website_response_compound.py test/test_websocket_request_server_get_websocket_idv1.py test/test_websocket_response_error_v1.py test/test_websocket_response_error_v1_m_payload.py diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index ba7f754d0..4bc5d6181 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.4.0 +7.9.0 diff --git a/.travis.yml b/.travis.yml index 82e01a854..aa4059af5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,13 @@ # ref: https://docs.travis-ci.com/user/languages/python language: python python: - - "3.7" - "3.8" - "3.9" - "3.10" - "3.11" + - "3.12" # uncomment the following if needed - #- "3.11-dev" # 3.11 development branch + #- "3.12-dev" # 3.12 development branch #- "nightly" # nightly build # command to install dependencies install: diff --git a/README.md b/README.md index dffcc8181..c9262bc8c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https: - API version: 1.2.1 - Package version: 1.2.1 -- Generator version: 7.4.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://www.ezmax.ca/en/contact](https://www.ezmax.ca/en/contact) @@ -90,15 +90,15 @@ Class | Method | HTTP request | Description *GlobalCustomerApi* | [**global_customer_get_endpoint_v1**](docs/GlobalCustomerApi.md#global_customer_get_endpoint_v1) | **GET** /1/customer/{pksCustomerCode}/endpoint | Get customer endpoint *GlobalEzmaxclientApi* | [**global_ezmaxclient_version_v1**](docs/GlobalEzmaxclientApi.md#global_ezmaxclient_version_v1) | **GET** /1/ezmaxclient/{pksEzmaxclientOs}/version | Retrieve the latest version of the Ezmaxclient *GlobalEzmaxcustomerApi* | [**global_ezmaxcustomer_get_configuration_v1**](docs/GlobalEzmaxcustomerApi.md#global_ezmaxcustomer_get_configuration_v1) | **GET** /1/ezmaxcustomer/{pksEzmaxcustomerCode}/getConfiguration | Get ezmaxcustomer configuration -*ModuleEzsignApi* | [**ezsign_suggest_signers_v1**](docs/ModuleEzsignApi.md#ezsign_suggest_signers_v1) | **GET** /1/module/ezsign/suggestSigners | Suggest signers -*ModuleEzsignApi* | [**ezsign_suggest_templates_v1**](docs/ModuleEzsignApi.md#ezsign_suggest_templates_v1) | **GET** /1/module/ezsign/suggestTemplates | Suggest templates *ModuleReportApi* | [**report_get_report_from_cache_v1**](docs/ModuleReportApi.md#report_get_report_from_cache_v1) | **GET** /1/module/report/getReportFromCache/{sReportgroupCacheID} | Retrieve report from cache *ModuleUserApi* | [**user_create_ezsignuser_v1**](docs/ModuleUserApi.md#user_create_ezsignuser_v1) | **POST** /1/module/user/createezsignuser | Create a new User of type Ezsignuser +*ObjectActivesessionApi* | [**activesession_generate_federation_token_v1**](docs/ObjectActivesessionApi.md#activesession_generate_federation_token_v1) | **POST** /1/object/activesession/generateFederationToken | Generate a federation token *ObjectActivesessionApi* | [**activesession_get_current_v1**](docs/ObjectActivesessionApi.md#activesession_get_current_v1) | **GET** /1/object/activesession/getCurrent | Get Current Activesession *ObjectActivesessionApi* | [**activesession_get_list_v1**](docs/ObjectActivesessionApi.md#activesession_get_list_v1) | **GET** /1/object/activesession/getList | Retrieve Activesession list *ObjectApikeyApi* | [**apikey_create_object_v2**](docs/ObjectApikeyApi.md#apikey_create_object_v2) | **POST** /2/object/apikey | Create a new Apikey *ObjectApikeyApi* | [**apikey_edit_object_v1**](docs/ObjectApikeyApi.md#apikey_edit_object_v1) | **PUT** /1/object/apikey/{pkiApikeyID} | Edit an existing Apikey *ObjectApikeyApi* | [**apikey_edit_permissions_v1**](docs/ObjectApikeyApi.md#apikey_edit_permissions_v1) | **PUT** /1/object/apikey/{pkiApikeyID}/editPermissions | Edit multiple Permissions +*ObjectApikeyApi* | [**apikey_generate_delegated_credentials_v1**](docs/ObjectApikeyApi.md#apikey_generate_delegated_credentials_v1) | **POST** /1/object/apikey/generateDelegatedCredentials | Generate a delegated credentials *ObjectApikeyApi* | [**apikey_get_cors_v1**](docs/ObjectApikeyApi.md#apikey_get_cors_v1) | **GET** /1/object/apikey/{pkiApikeyID}/getCors | Retrieve an existing Apikey's cors *ObjectApikeyApi* | [**apikey_get_list_v1**](docs/ObjectApikeyApi.md#apikey_get_list_v1) | **GET** /1/object/apikey/getList | Retrieve Apikey list *ObjectApikeyApi* | [**apikey_get_object_v2**](docs/ObjectApikeyApi.md#apikey_get_object_v2) | **GET** /2/object/apikey/{pkiApikeyID} | Retrieve an existing Apikey @@ -107,22 +107,34 @@ Class | Method | HTTP request | Description *ObjectApikeyApi* | [**apikey_regenerate_v1**](docs/ObjectApikeyApi.md#apikey_regenerate_v1) | **POST** /1/object/apikey/{pkiApikeyID}/regenerate | Regenerate the Apikey *ObjectAttachmentApi* | [**attachment_download_v1**](docs/ObjectAttachmentApi.md#attachment_download_v1) | **GET** /1/object/attachment/{pkiAttachmentID}/download | Retrieve the content *ObjectAttachmentApi* | [**attachment_get_attachmentlogs_v1**](docs/ObjectAttachmentApi.md#attachment_get_attachmentlogs_v1) | **GET** /1/object/attachment/{pkiAttachmentID}/getAttachmentlogs | Retrieve the Attachmentlogs -*ObjectAttachmentApi* | [**attachment_get_download_url_v1**](docs/ObjectAttachmentApi.md#attachment_get_download_url_v1) | **GET** /1/object/attachment/{pkiAttachmentID}/getDownloadUrl | Retrieve a URL to download attachments. +*ObjectAuthenticationexternalApi* | [**authenticationexternal_create_object_v1**](docs/ObjectAuthenticationexternalApi.md#authenticationexternal_create_object_v1) | **POST** /1/object/authenticationexternal | Create a new Authenticationexternal +*ObjectAuthenticationexternalApi* | [**authenticationexternal_delete_object_v1**](docs/ObjectAuthenticationexternalApi.md#authenticationexternal_delete_object_v1) | **DELETE** /1/object/authenticationexternal/{pkiAuthenticationexternalID} | Delete an existing Authenticationexternal +*ObjectAuthenticationexternalApi* | [**authenticationexternal_edit_object_v1**](docs/ObjectAuthenticationexternalApi.md#authenticationexternal_edit_object_v1) | **PUT** /1/object/authenticationexternal/{pkiAuthenticationexternalID} | Edit an existing Authenticationexternal +*ObjectAuthenticationexternalApi* | [**authenticationexternal_get_autocomplete_v2**](docs/ObjectAuthenticationexternalApi.md#authenticationexternal_get_autocomplete_v2) | **GET** /2/object/authenticationexternal/getAutocomplete/{sSelector} | Retrieve Authenticationexternals and IDs +*ObjectAuthenticationexternalApi* | [**authenticationexternal_get_list_v1**](docs/ObjectAuthenticationexternalApi.md#authenticationexternal_get_list_v1) | **GET** /1/object/authenticationexternal/getList | Retrieve Authenticationexternal list +*ObjectAuthenticationexternalApi* | [**authenticationexternal_get_object_v2**](docs/ObjectAuthenticationexternalApi.md#authenticationexternal_get_object_v2) | **GET** /2/object/authenticationexternal/{pkiAuthenticationexternalID} | Retrieve an existing Authenticationexternal +*ObjectAuthenticationexternalApi* | [**authenticationexternal_reset_authorization_v1**](docs/ObjectAuthenticationexternalApi.md#authenticationexternal_reset_authorization_v1) | **POST** /1/object/authenticationexternal/{pkiAuthenticationexternalID}/resetAuthorization | Reset the Authenticationexternal authorization +*ObjectBillingentityexternalApi* | [**billingentityexternal_generate_federation_token_v1**](docs/ObjectBillingentityexternalApi.md#billingentityexternal_generate_federation_token_v1) | **POST** /1/object/billingentityexternal/{pkiBillingentityexternalID}/generateFederationToken | Generate a federation token *ObjectBillingentityexternalApi* | [**billingentityexternal_get_autocomplete_v2**](docs/ObjectBillingentityexternalApi.md#billingentityexternal_get_autocomplete_v2) | **GET** /2/object/billingentityexternal/getAutocomplete/{sSelector} | Retrieve Billingentityexternals and IDs *ObjectBillingentityinternalApi* | [**billingentityinternal_create_object_v1**](docs/ObjectBillingentityinternalApi.md#billingentityinternal_create_object_v1) | **POST** /1/object/billingentityinternal | Create a new Billingentityinternal *ObjectBillingentityinternalApi* | [**billingentityinternal_edit_object_v1**](docs/ObjectBillingentityinternalApi.md#billingentityinternal_edit_object_v1) | **PUT** /1/object/billingentityinternal/{pkiBillingentityinternalID} | Edit an existing Billingentityinternal *ObjectBillingentityinternalApi* | [**billingentityinternal_get_autocomplete_v2**](docs/ObjectBillingentityinternalApi.md#billingentityinternal_get_autocomplete_v2) | **GET** /2/object/billingentityinternal/getAutocomplete/{sSelector} | Retrieve Billingentityinternals and IDs *ObjectBillingentityinternalApi* | [**billingentityinternal_get_list_v1**](docs/ObjectBillingentityinternalApi.md#billingentityinternal_get_list_v1) | **GET** /1/object/billingentityinternal/getList | Retrieve Billingentityinternal list *ObjectBillingentityinternalApi* | [**billingentityinternal_get_object_v2**](docs/ObjectBillingentityinternalApi.md#billingentityinternal_get_object_v2) | **GET** /2/object/billingentityinternal/{pkiBillingentityinternalID} | Retrieve an existing Billingentityinternal -*ObjectBrandingApi* | [**branding_create_object_v1**](docs/ObjectBrandingApi.md#branding_create_object_v1) | **POST** /1/object/branding | Create a new Branding -*ObjectBrandingApi* | [**branding_edit_object_v1**](docs/ObjectBrandingApi.md#branding_edit_object_v1) | **PUT** /1/object/branding/{pkiBrandingID} | Edit an existing Branding +*ObjectBrandingApi* | [**branding_create_object_v2**](docs/ObjectBrandingApi.md#branding_create_object_v2) | **POST** /2/object/branding | Create a new Branding +*ObjectBrandingApi* | [**branding_edit_object_v2**](docs/ObjectBrandingApi.md#branding_edit_object_v2) | **PUT** /2/object/branding/{pkiBrandingID} | Edit an existing Branding *ObjectBrandingApi* | [**branding_get_autocomplete_v2**](docs/ObjectBrandingApi.md#branding_get_autocomplete_v2) | **GET** /2/object/branding/getAutocomplete/{sSelector} | Retrieve Brandings and IDs *ObjectBrandingApi* | [**branding_get_list_v1**](docs/ObjectBrandingApi.md#branding_get_list_v1) | **GET** /1/object/branding/getList | Retrieve Branding list -*ObjectBrandingApi* | [**branding_get_object_v2**](docs/ObjectBrandingApi.md#branding_get_object_v2) | **GET** /2/object/branding/{pkiBrandingID} | Retrieve an existing Branding +*ObjectBrandingApi* | [**branding_get_object_v3**](docs/ObjectBrandingApi.md#branding_get_object_v3) | **GET** /3/object/branding/{pkiBrandingID} | Retrieve an existing Branding +*ObjectBuyercontractApi* | [**buyercontract_get_communication_count_v1**](docs/ObjectBuyercontractApi.md#buyercontract_get_communication_count_v1) | **GET** /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationCount | Retrieve Communication count *ObjectBuyercontractApi* | [**buyercontract_get_communication_list_v1**](docs/ObjectBuyercontractApi.md#buyercontract_get_communication_list_v1) | **GET** /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationList | Retrieve Communication list +*ObjectBuyercontractApi* | [**buyercontract_get_communicationrecipients_v1**](docs/ObjectBuyercontractApi.md#buyercontract_get_communicationrecipients_v1) | **GET** /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients | Retrieve Buyercontract's Communicationrecipient +*ObjectBuyercontractApi* | [**buyercontract_get_communicationsenders_v1**](docs/ObjectBuyercontractApi.md#buyercontract_get_communicationsenders_v1) | **GET** /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationsenders | Retrieve Buyercontract's Communicationsender *ObjectClonehistoryApi* | [**clonehistory_get_list_v1**](docs/ObjectClonehistoryApi.md#clonehistory_get_list_v1) | **GET** /1/object/clonehistory/getList | Retrieve Clonehistory list +*ObjectCommunicationApi* | [**communication_get_communication_body_v1**](docs/ObjectCommunicationApi.md#communication_get_communication_body_v1) | **GET** /1/object/communication/{pkiCommunicationID}/getCommunicationBody | Retrieve the communication body. *ObjectCommunicationApi* | [**communication_send_v1**](docs/ObjectCommunicationApi.md#communication_send_v1) | **POST** /1/object/communication/send | Send a new Communication *ObjectCompanyApi* | [**company_get_autocomplete_v2**](docs/ObjectCompanyApi.md#company_get_autocomplete_v2) | **GET** /2/object/company/getAutocomplete/{sSelector} | Retrieve Companys and IDs +*ObjectContacttitleApi* | [**contacttitle_get_autocomplete_v2**](docs/ObjectContacttitleApi.md#contacttitle_get_autocomplete_v2) | **GET** /2/object/contacttitle/getAutocomplete/{sSelector} | Retrieve Contacttitles and IDs *ObjectCorsApi* | [**cors_create_object_v1**](docs/ObjectCorsApi.md#cors_create_object_v1) | **POST** /1/object/cors | Create a new Cors *ObjectCorsApi* | [**cors_delete_object_v1**](docs/ObjectCorsApi.md#cors_delete_object_v1) | **DELETE** /1/object/cors/{pkiCorsID} | Delete an existing Cors *ObjectCorsApi* | [**cors_edit_object_v1**](docs/ObjectCorsApi.md#cors_edit_object_v1) | **PUT** /1/object/cors/{pkiCorsID} | Edit an existing Cors @@ -134,7 +146,10 @@ Class | Method | HTTP request | Description *ObjectCreditcardclientApi* | [**creditcardclient_get_autocomplete_v2**](docs/ObjectCreditcardclientApi.md#creditcardclient_get_autocomplete_v2) | **GET** /2/object/creditcardclient/getAutocomplete/{sSelector} | Retrieve Creditcardclients and IDs *ObjectCreditcardclientApi* | [**creditcardclient_get_list_v1**](docs/ObjectCreditcardclientApi.md#creditcardclient_get_list_v1) | **GET** /1/object/creditcardclient/getList | Retrieve Creditcardclient list *ObjectCreditcardclientApi* | [**creditcardclient_get_object_v2**](docs/ObjectCreditcardclientApi.md#creditcardclient_get_object_v2) | **GET** /2/object/creditcardclient/{pkiCreditcardclientID} | Retrieve an existing Creditcardclient +*ObjectCreditcardclientApi* | [**creditcardclient_patch_object_v1**](docs/ObjectCreditcardclientApi.md#creditcardclient_patch_object_v1) | **PATCH** /1/object/creditcardclient/{pkiCreditcardclientID} | Patch an existing Creditcardclient *ObjectCreditcardtypeApi* | [**creditcardtype_get_autocomplete_v2**](docs/ObjectCreditcardtypeApi.md#creditcardtype_get_autocomplete_v2) | **GET** /2/object/creditcardtype/getAutocomplete/{sSelector} | Retrieve Creditcardtypes and IDs +*ObjectCustomerApi* | [**customer_create_object_v1**](docs/ObjectCustomerApi.md#customer_create_object_v1) | **POST** /1/object/customer | Create a new Customer +*ObjectCustomerApi* | [**customer_get_object_v2**](docs/ObjectCustomerApi.md#customer_get_object_v2) | **GET** /2/object/customer/{pkiCustomerID} | Retrieve an existing Customer *ObjectDepartmentApi* | [**department_get_autocomplete_v2**](docs/ObjectDepartmentApi.md#department_get_autocomplete_v2) | **GET** /2/object/department/getAutocomplete/{sSelector} | Retrieve Departments and IDs *ObjectDiscussionApi* | [**discussion_create_object_v1**](docs/ObjectDiscussionApi.md#discussion_create_object_v1) | **POST** /1/object/discussion | Create a new Discussion *ObjectDiscussionApi* | [**discussion_delete_object_v1**](docs/ObjectDiscussionApi.md#discussion_delete_object_v1) | **DELETE** /1/object/discussion/{pkiDiscussionID} | Delete an existing Discussion @@ -146,13 +161,33 @@ Class | Method | HTTP request | Description *ObjectDiscussionmessageApi* | [**discussionmessage_create_object_v1**](docs/ObjectDiscussionmessageApi.md#discussionmessage_create_object_v1) | **POST** /1/object/discussionmessage | Create a new Discussionmessage *ObjectDiscussionmessageApi* | [**discussionmessage_delete_object_v1**](docs/ObjectDiscussionmessageApi.md#discussionmessage_delete_object_v1) | **DELETE** /1/object/discussionmessage/{pkiDiscussionmessageID} | Delete an existing Discussionmessage *ObjectDiscussionmessageApi* | [**discussionmessage_patch_object_v1**](docs/ObjectDiscussionmessageApi.md#discussionmessage_patch_object_v1) | **PATCH** /1/object/discussionmessage/{pkiDiscussionmessageID} | Patch an existing Discussionmessage +*ObjectDomainApi* | [**domain_create_object_v1**](docs/ObjectDomainApi.md#domain_create_object_v1) | **POST** /1/object/domain | Create a new Domain +*ObjectDomainApi* | [**domain_delete_object_v1**](docs/ObjectDomainApi.md#domain_delete_object_v1) | **DELETE** /1/object/domain/{pkiDomainID} | Delete an existing Domain +*ObjectDomainApi* | [**domain_get_list_v1**](docs/ObjectDomainApi.md#domain_get_list_v1) | **GET** /1/object/domain/getList | Retrieve Domain list +*ObjectDomainApi* | [**domain_get_object_v2**](docs/ObjectDomainApi.md#domain_get_object_v2) | **GET** /2/object/domain/{pkiDomainID} | Retrieve an existing Domain +*ObjectElectronicfundstransferApi* | [**electronicfundstransfer_get_communication_count_v1**](docs/ObjectElectronicfundstransferApi.md#electronicfundstransfer_get_communication_count_v1) | **GET** /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationCount | Retrieve Communication count *ObjectElectronicfundstransferApi* | [**electronicfundstransfer_get_communication_list_v1**](docs/ObjectElectronicfundstransferApi.md#electronicfundstransfer_get_communication_list_v1) | **GET** /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationList | Retrieve Communication list +*ObjectElectronicfundstransferApi* | [**electronicfundstransfer_get_communicationrecipients_v1**](docs/ObjectElectronicfundstransferApi.md#electronicfundstransfer_get_communicationrecipients_v1) | **GET** /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients | Retrieve Electronicfundstransfer's Communicationrecipient +*ObjectElectronicfundstransferApi* | [**electronicfundstransfer_get_communicationsenders_v1**](docs/ObjectElectronicfundstransferApi.md#electronicfundstransfer_get_communicationsenders_v1) | **GET** /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationsenders | Retrieve Electronicfundstransfer's Communicationsender *ObjectEmailtypeApi* | [**emailtype_get_autocomplete_v2**](docs/ObjectEmailtypeApi.md#emailtype_get_autocomplete_v2) | **GET** /2/object/emailtype/getAutocomplete/{sSelector} | Retrieve Emailtypes and IDs +*ObjectEzdoctemplatedocumentApi* | [**ezdoctemplatedocument_create_object_v1**](docs/ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_create_object_v1) | **POST** /1/object/ezdoctemplatedocument | Create a new Ezdoctemplatedocument +*ObjectEzdoctemplatedocumentApi* | [**ezdoctemplatedocument_download_v1**](docs/ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_download_v1) | **GET** /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID}/download | Retrieve the content +*ObjectEzdoctemplatedocumentApi* | [**ezdoctemplatedocument_edit_object_v1**](docs/ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_edit_object_v1) | **PUT** /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} | Edit an existing Ezdoctemplatedocument +*ObjectEzdoctemplatedocumentApi* | [**ezdoctemplatedocument_get_autocomplete_v2**](docs/ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_get_autocomplete_v2) | **GET** /2/object/ezdoctemplatedocument/getAutocomplete/{sSelector} | Retrieve Ezdoctemplatedocuments and IDs +*ObjectEzdoctemplatedocumentApi* | [**ezdoctemplatedocument_get_list_v1**](docs/ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_get_list_v1) | **GET** /1/object/ezdoctemplatedocument/getList | Retrieve Ezdoctemplatedocument list +*ObjectEzdoctemplatedocumentApi* | [**ezdoctemplatedocument_get_object_v2**](docs/ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_get_object_v2) | **GET** /2/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} | Retrieve an existing Ezdoctemplatedocument +*ObjectEzdoctemplatedocumentApi* | [**ezdoctemplatedocument_patch_object_v1**](docs/ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_patch_object_v1) | **PATCH** /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} | Patch an existing Ezdoctemplatedocument +*ObjectEzdoctemplatefieldtypecategoryApi* | [**ezdoctemplatefieldtypecategory_get_autocomplete_v2**](docs/ObjectEzdoctemplatefieldtypecategoryApi.md#ezdoctemplatefieldtypecategory_get_autocomplete_v2) | **GET** /2/object/ezdoctemplatefieldtypecategory/getAutocomplete/{sSelector} | Retrieve Ezdoctemplatefieldtypecategorys and IDs +*ObjectEzdoctemplatetypeApi* | [**ezdoctemplatetype_get_autocomplete_v2**](docs/ObjectEzdoctemplatetypeApi.md#ezdoctemplatetype_get_autocomplete_v2) | **GET** /2/object/ezdoctemplatetype/getAutocomplete/{sSelector} | Retrieve Ezdoctemplatetypes and IDs *ObjectEzmaxinvoicingApi* | [**ezmaxinvoicing_get_autocomplete_v2**](docs/ObjectEzmaxinvoicingApi.md#ezmaxinvoicing_get_autocomplete_v2) | **GET** /2/object/ezmaxinvoicing/getAutocomplete/{sSelector} | Retrieve Ezmaxinvoicings and IDs *ObjectEzmaxinvoicingApi* | [**ezmaxinvoicing_get_object_v2**](docs/ObjectEzmaxinvoicingApi.md#ezmaxinvoicing_get_object_v2) | **GET** /2/object/ezmaxinvoicing/{pkiEzmaxinvoicingID} | Retrieve an existing Ezmaxinvoicing *ObjectEzmaxinvoicingApi* | [**ezmaxinvoicing_get_provisional_v1**](docs/ObjectEzmaxinvoicingApi.md#ezmaxinvoicing_get_provisional_v1) | **GET** /1/object/ezmaxinvoicing/getProvisional | Retrieve provisional Ezmaxinvoicing *ObjectEzmaxproductApi* | [**ezmaxproduct_get_autocomplete_v2**](docs/ObjectEzmaxproductApi.md#ezmaxproduct_get_autocomplete_v2) | **GET** /2/object/ezmaxproduct/getAutocomplete/{sSelector} | Retrieve Ezmaxproducts and IDs -*ObjectEzsignbulksendApi* | [**ezsignbulksend_create_ezsignbulksendtransmission_v1**](docs/ObjectEzsignbulksendApi.md#ezsignbulksend_create_ezsignbulksendtransmission_v1) | **POST** /1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission | Create a new Ezsignbulksendtransmission in the Ezsignbulksend +*ObjectEzsignannotationApi* | [**ezsignannotation_create_object_v1**](docs/ObjectEzsignannotationApi.md#ezsignannotation_create_object_v1) | **POST** /1/object/ezsignannotation | Create a new Ezsignannotation +*ObjectEzsignannotationApi* | [**ezsignannotation_delete_object_v1**](docs/ObjectEzsignannotationApi.md#ezsignannotation_delete_object_v1) | **DELETE** /1/object/ezsignannotation/{pkiEzsignannotationID} | Delete an existing Ezsignannotation +*ObjectEzsignannotationApi* | [**ezsignannotation_edit_object_v1**](docs/ObjectEzsignannotationApi.md#ezsignannotation_edit_object_v1) | **PUT** /1/object/ezsignannotation/{pkiEzsignannotationID} | Edit an existing Ezsignannotation +*ObjectEzsignannotationApi* | [**ezsignannotation_get_object_v2**](docs/ObjectEzsignannotationApi.md#ezsignannotation_get_object_v2) | **GET** /2/object/ezsignannotation/{pkiEzsignannotationID} | Retrieve an existing Ezsignannotation +*ObjectEzsignbulksendApi* | [**ezsignbulksend_create_ezsignbulksendtransmission_v2**](docs/ObjectEzsignbulksendApi.md#ezsignbulksend_create_ezsignbulksendtransmission_v2) | **POST** /2/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission | Create a new Ezsignbulksendtransmission in the Ezsignbulksend *ObjectEzsignbulksendApi* | [**ezsignbulksend_create_object_v1**](docs/ObjectEzsignbulksendApi.md#ezsignbulksend_create_object_v1) | **POST** /1/object/ezsignbulksend | Create a new Ezsignbulksend *ObjectEzsignbulksendApi* | [**ezsignbulksend_delete_object_v1**](docs/ObjectEzsignbulksendApi.md#ezsignbulksend_delete_object_v1) | **DELETE** /1/object/ezsignbulksend/{pkiEzsignbulksendID} | Delete an existing Ezsignbulksend *ObjectEzsignbulksendApi* | [**ezsignbulksend_edit_object_v1**](docs/ObjectEzsignbulksendApi.md#ezsignbulksend_edit_object_v1) | **PUT** /1/object/ezsignbulksend/{pkiEzsignbulksendID} | Edit an existing Ezsignbulksend @@ -182,11 +217,15 @@ Class | Method | HTTP request | Description *ObjectEzsigndocumentApi* | [**ezsigndocument_create_ezsignelements_positioned_by_word_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_create_ezsignelements_positioned_by_word_v1) | **POST** /1/object/ezsigndocument/{pkiEzsigndocumentID}/createEzsignelementsPositionedByWord | Create multiple Ezsignsignatures/Ezsignformfieldgroups *ObjectEzsigndocumentApi* | [**ezsigndocument_create_object_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_create_object_v1) | **POST** /1/object/ezsigndocument | Create a new Ezsigndocument *ObjectEzsigndocumentApi* | [**ezsigndocument_create_object_v2**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_create_object_v2) | **POST** /2/object/ezsigndocument | Create a new Ezsigndocument +*ObjectEzsigndocumentApi* | [**ezsigndocument_create_object_v3**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_create_object_v3) | **POST** /3/object/ezsigndocument | Create a new Ezsigndocument *ObjectEzsigndocumentApi* | [**ezsigndocument_decline_to_sign_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_decline_to_sign_v1) | **POST** /1/object/ezsigndocument/{pkiEzsigndocumentID}/declineToSign | Decline to sign *ObjectEzsigndocumentApi* | [**ezsigndocument_delete_object_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_delete_object_v1) | **DELETE** /1/object/ezsigndocument/{pkiEzsigndocumentID} | Delete an existing Ezsigndocument +*ObjectEzsigndocumentApi* | [**ezsigndocument_edit_ezsignannotations_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_edit_ezsignannotations_v1) | **PUT** /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannotations | Edit multiple Ezsignannotations *ObjectEzsigndocumentApi* | [**ezsigndocument_edit_ezsignformfieldgroups_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_edit_ezsignformfieldgroups_v1) | **PUT** /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignformfieldgroups | Edit multiple Ezsignformfieldgroups *ObjectEzsigndocumentApi* | [**ezsigndocument_edit_ezsignsignatures_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_edit_ezsignsignatures_v1) | **PUT** /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignsignatures | Edit multiple Ezsignsignatures +*ObjectEzsigndocumentApi* | [**ezsigndocument_edit_object_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_edit_object_v1) | **PUT** /1/object/ezsigndocument/{pkiEzsigndocumentID} | Edit an existing Ezsigndocument *ObjectEzsigndocumentApi* | [**ezsigndocument_end_prematurely_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_end_prematurely_v1) | **POST** /1/object/ezsigndocument/{pkiEzsigndocumentID}/endPrematurely | End prematurely +*ObjectEzsigndocumentApi* | [**ezsigndocument_extract_text_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_extract_text_v1) | **POST** /1/object/ezsigndocument/{pkiEzsigndocumentID}/extractText | Extract text from Ezsigndocument area *ObjectEzsigndocumentApi* | [**ezsigndocument_flatten_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_flatten_v1) | **POST** /1/object/ezsigndocument/{pkiEzsigndocumentID}/flatten | Flatten *ObjectEzsigndocumentApi* | [**ezsigndocument_get_actionable_elements_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_get_actionable_elements_v1) | **GET** /1/object/ezsigndocument/{pkiEzsigndocumentID}/getActionableElements | Retrieve actionable elements for the Ezsigndocument *ObjectEzsigndocumentApi* | [**ezsigndocument_get_attachments_v1**](docs/ObjectEzsigndocumentApi.md#ezsigndocument_get_attachments_v1) | **GET** /1/object/ezsigndocument/{pkiEzsigndocumentID}/getAttachments | Retrieve Ezsigndocument's Attachments @@ -210,10 +249,11 @@ Class | Method | HTTP request | Description *ObjectEzsignfolderApi* | [**ezsignfolder_batch_download_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_batch_download_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/batchDownload | Download multiples files from an Ezsignfolder *ObjectEzsignfolderApi* | [**ezsignfolder_create_object_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_create_object_v1) | **POST** /1/object/ezsignfolder | Create a new Ezsignfolder *ObjectEzsignfolderApi* | [**ezsignfolder_create_object_v2**](docs/ObjectEzsignfolderApi.md#ezsignfolder_create_object_v2) | **POST** /2/object/ezsignfolder | Create a new Ezsignfolder +*ObjectEzsignfolderApi* | [**ezsignfolder_create_object_v3**](docs/ObjectEzsignfolderApi.md#ezsignfolder_create_object_v3) | **POST** /3/object/ezsignfolder | Create a new Ezsignfolder *ObjectEzsignfolderApi* | [**ezsignfolder_delete_object_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_delete_object_v1) | **DELETE** /1/object/ezsignfolder/{pkiEzsignfolderID} | Delete an existing Ezsignfolder *ObjectEzsignfolderApi* | [**ezsignfolder_dispose_ezsignfolders_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_dispose_ezsignfolders_v1) | **POST** /1/object/ezsignfolder/disposeEzsignfolders | Dispose Ezsignfolders *ObjectEzsignfolderApi* | [**ezsignfolder_dispose_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_dispose_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/dispose | Dispose the Ezsignfolder -*ObjectEzsignfolderApi* | [**ezsignfolder_edit_object_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_edit_object_v1) | **PUT** /1/object/ezsignfolder/{pkiEzsignfolderID} | Edit an existing Ezsignfolder +*ObjectEzsignfolderApi* | [**ezsignfolder_edit_object_v3**](docs/ObjectEzsignfolderApi.md#ezsignfolder_edit_object_v3) | **PUT** /3/object/ezsignfolder/{pkiEzsignfolderID} | Edit an existing Ezsignfolder *ObjectEzsignfolderApi* | [**ezsignfolder_end_prematurely_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_end_prematurely_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/endPrematurely | End prematurely *ObjectEzsignfolderApi* | [**ezsignfolder_get_actionable_elements_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_actionable_elements_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getActionableElements | Retrieve actionable elements for the Ezsignfolder *ObjectEzsignfolderApi* | [**ezsignfolder_get_attachment_count_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_attachment_count_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getAttachmentCount | Retrieve Attachment count @@ -229,9 +269,11 @@ Class | Method | HTTP request | Description *ObjectEzsignfolderApi* | [**ezsignfolder_get_list_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_list_v1) | **GET** /1/object/ezsignfolder/getList | Retrieve Ezsignfolder list *ObjectEzsignfolderApi* | [**ezsignfolder_get_object_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_object_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID} | Retrieve an existing Ezsignfolder *ObjectEzsignfolderApi* | [**ezsignfolder_get_object_v2**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_object_v2) | **GET** /2/object/ezsignfolder/{pkiEzsignfolderID} | Retrieve an existing Ezsignfolder +*ObjectEzsignfolderApi* | [**ezsignfolder_get_object_v3**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_object_v3) | **GET** /3/object/ezsignfolder/{pkiEzsignfolderID} | Retrieve an existing Ezsignfolder *ObjectEzsignfolderApi* | [**ezsignfolder_import_ezsignfoldersignerassociations_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_import_ezsignfoldersignerassociations_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/importEzsignfoldersignerassociations | Import an existing Ezsignfoldersignerassociation into this Ezsignfolder *ObjectEzsignfolderApi* | [**ezsignfolder_import_ezsigntemplatepackage_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_import_ezsigntemplatepackage_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/importEzsigntemplatepackage | Import an Ezsigntemplatepackage in the Ezsignfolder. *ObjectEzsignfolderApi* | [**ezsignfolder_reorder_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_reorder_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/reorder | Reorder Ezsigndocuments in the Ezsignfolder +*ObjectEzsignfolderApi* | [**ezsignfolder_reorder_v2**](docs/ObjectEzsignfolderApi.md#ezsignfolder_reorder_v2) | **POST** /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder | Reorder Ezsigndocuments in the Ezsignfolder *ObjectEzsignfolderApi* | [**ezsignfolder_send_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_send_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/send | Send the Ezsignfolder to the signatories for signature *ObjectEzsignfolderApi* | [**ezsignfolder_send_v3**](docs/ObjectEzsignfolderApi.md#ezsignfolder_send_v3) | **POST** /3/object/ezsignfolder/{pkiEzsignfolderID}/send | Send the Ezsignfolder to the signatories for signature *ObjectEzsignfolderApi* | [**ezsignfolder_unsend_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_unsend_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/unsend | Unsend the Ezsignfolder @@ -245,13 +287,13 @@ Class | Method | HTTP request | Description *ObjectEzsignfoldersignerassociationApi* | [**ezsignfoldersignerassociation_get_object_v1**](docs/ObjectEzsignfoldersignerassociationApi.md#ezsignfoldersignerassociation_get_object_v1) | **GET** /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} | Retrieve an existing Ezsignfoldersignerassociation *ObjectEzsignfoldersignerassociationApi* | [**ezsignfoldersignerassociation_get_object_v2**](docs/ObjectEzsignfoldersignerassociationApi.md#ezsignfoldersignerassociation_get_object_v2) | **GET** /2/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} | Retrieve an existing Ezsignfoldersignerassociation *ObjectEzsignfoldersignerassociationApi* | [**ezsignfoldersignerassociation_patch_object_v1**](docs/ObjectEzsignfoldersignerassociationApi.md#ezsignfoldersignerassociation_patch_object_v1) | **PATCH** /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} | Patch an existing Ezsignfoldersignerassociation -*ObjectEzsignfoldertypeApi* | [**ezsignfoldertype_create_object_v2**](docs/ObjectEzsignfoldertypeApi.md#ezsignfoldertype_create_object_v2) | **POST** /2/object/ezsignfoldertype | Create a new Ezsignfoldertype -*ObjectEzsignfoldertypeApi* | [**ezsignfoldertype_edit_object_v1**](docs/ObjectEzsignfoldertypeApi.md#ezsignfoldertype_edit_object_v1) | **PUT** /1/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Edit an existing Ezsignfoldertype -*ObjectEzsignfoldertypeApi* | [**ezsignfoldertype_edit_object_v2**](docs/ObjectEzsignfoldertypeApi.md#ezsignfoldertype_edit_object_v2) | **PUT** /2/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Edit an existing Ezsignfoldertype +*ObjectEzsignfoldersignerassociationApi* | [**ezsignfoldersignerassociation_reassign_v1**](docs/ObjectEzsignfoldersignerassociationApi.md#ezsignfoldersignerassociation_reassign_v1) | **POST** /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}/reassign | Reassign remaining unsigned signatures and forms +*ObjectEzsignfoldertypeApi* | [**ezsignfoldertype_create_object_v3**](docs/ObjectEzsignfoldertypeApi.md#ezsignfoldertype_create_object_v3) | **POST** /3/object/ezsignfoldertype | Create a new Ezsignfoldertype +*ObjectEzsignfoldertypeApi* | [**ezsignfoldertype_edit_object_v3**](docs/ObjectEzsignfoldertypeApi.md#ezsignfoldertype_edit_object_v3) | **PUT** /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Edit an existing Ezsignfoldertype *ObjectEzsignfoldertypeApi* | [**ezsignfoldertype_get_autocomplete_v2**](docs/ObjectEzsignfoldertypeApi.md#ezsignfoldertype_get_autocomplete_v2) | **GET** /2/object/ezsignfoldertype/getAutocomplete/{sSelector} | Retrieve Ezsignfoldertypes and IDs *ObjectEzsignfoldertypeApi* | [**ezsignfoldertype_get_list_v1**](docs/ObjectEzsignfoldertypeApi.md#ezsignfoldertype_get_list_v1) | **GET** /1/object/ezsignfoldertype/getList | Retrieve Ezsignfoldertype list *ObjectEzsignfoldertypeApi* | [**ezsignfoldertype_get_object_v2**](docs/ObjectEzsignfoldertypeApi.md#ezsignfoldertype_get_object_v2) | **GET** /2/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Retrieve an existing Ezsignfoldertype -*ObjectEzsignfoldertypeApi* | [**ezsignfoldertype_get_object_v3**](docs/ObjectEzsignfoldertypeApi.md#ezsignfoldertype_get_object_v3) | **GET** /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Retrieve an existing Ezsignfoldertype +*ObjectEzsignfoldertypeApi* | [**ezsignfoldertype_get_object_v4**](docs/ObjectEzsignfoldertypeApi.md#ezsignfoldertype_get_object_v4) | **GET** /4/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Retrieve an existing Ezsignfoldertype *ObjectEzsignformfieldgroupApi* | [**ezsignformfieldgroup_create_object_v1**](docs/ObjectEzsignformfieldgroupApi.md#ezsignformfieldgroup_create_object_v1) | **POST** /1/object/ezsignformfieldgroup | Create a new Ezsignformfieldgroup *ObjectEzsignformfieldgroupApi* | [**ezsignformfieldgroup_delete_object_v1**](docs/ObjectEzsignformfieldgroupApi.md#ezsignformfieldgroup_delete_object_v1) | **DELETE** /1/object/ezsignformfieldgroup/{pkiEzsignformfieldgroupID} | Delete an existing Ezsignformfieldgroup *ObjectEzsignformfieldgroupApi* | [**ezsignformfieldgroup_edit_object_v1**](docs/ObjectEzsignformfieldgroupApi.md#ezsignformfieldgroup_edit_object_v1) | **PUT** /1/object/ezsignformfieldgroup/{pkiEzsignformfieldgroupID} | Edit an existing Ezsignformfieldgroup @@ -259,11 +301,12 @@ Class | Method | HTTP request | Description *ObjectEzsignpageApi* | [**ezsignpage_consult_v1**](docs/ObjectEzsignpageApi.md#ezsignpage_consult_v1) | **POST** /1/object/ezsignpage/{pkiEzsignpageID}/consult | Consult an Ezsignpage *ObjectEzsignsignatureApi* | [**ezsignsignature_create_object_v1**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_create_object_v1) | **POST** /1/object/ezsignsignature | Create a new Ezsignsignature *ObjectEzsignsignatureApi* | [**ezsignsignature_create_object_v2**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_create_object_v2) | **POST** /2/object/ezsignsignature | Create a new Ezsignsignature +*ObjectEzsignsignatureApi* | [**ezsignsignature_create_object_v3**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_create_object_v3) | **POST** /3/object/ezsignsignature | Create a new Ezsignsignature *ObjectEzsignsignatureApi* | [**ezsignsignature_delete_object_v1**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_delete_object_v1) | **DELETE** /1/object/ezsignsignature/{pkiEzsignsignatureID} | Delete an existing Ezsignsignature -*ObjectEzsignsignatureApi* | [**ezsignsignature_edit_object_v1**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_edit_object_v1) | **PUT** /1/object/ezsignsignature/{pkiEzsignsignatureID} | Edit an existing Ezsignsignature +*ObjectEzsignsignatureApi* | [**ezsignsignature_edit_object_v2**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_edit_object_v2) | **PUT** /2/object/ezsignsignature/{pkiEzsignsignatureID} | Edit an existing Ezsignsignature *ObjectEzsignsignatureApi* | [**ezsignsignature_get_ezsignsignatureattachment_v1**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_get_ezsignsignatureattachment_v1) | **GET** /1/object/ezsignsignature/{pkiEzsignsignatureID}/getEzsignsignatureattachment | Retrieve an existing Ezsignsignature's Ezsignsignatureattachments *ObjectEzsignsignatureApi* | [**ezsignsignature_get_ezsignsignatures_automatic_v1**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_get_ezsignsignatures_automatic_v1) | **GET** /1/object/ezsignsignature/getEzsignsignaturesAutomatic | Retrieve all automatic Ezsignsignatures -*ObjectEzsignsignatureApi* | [**ezsignsignature_get_object_v2**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_get_object_v2) | **GET** /2/object/ezsignsignature/{pkiEzsignsignatureID} | Retrieve an existing Ezsignsignature +*ObjectEzsignsignatureApi* | [**ezsignsignature_get_object_v3**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_get_object_v3) | **GET** /3/object/ezsignsignature/{pkiEzsignsignatureID} | Retrieve an existing Ezsignsignature *ObjectEzsignsignatureApi* | [**ezsignsignature_sign_v1**](docs/ObjectEzsignsignatureApi.md#ezsignsignature_sign_v1) | **POST** /1/object/ezsignsignature/{pkiEzsignsignatureID}/sign | Sign the Ezsignsignature *ObjectEzsignsignergroupApi* | [**ezsignsignergroup_create_object_v1**](docs/ObjectEzsignsignergroupApi.md#ezsignsignergroup_create_object_v1) | **POST** /1/object/ezsignsignergroup | Create a new Ezsignsignergroup *ObjectEzsignsignergroupApi* | [**ezsignsignergroup_delete_object_v1**](docs/ObjectEzsignsignergroupApi.md#ezsignsignergroup_delete_object_v1) | **DELETE** /1/object/ezsignsignergroup/{pkiEzsignsignergroupID} | Delete an existing Ezsignsignergroup @@ -280,26 +323,30 @@ Class | Method | HTTP request | Description *ObjectEzsignsigningreasonApi* | [**ezsignsigningreason_get_list_v1**](docs/ObjectEzsignsigningreasonApi.md#ezsignsigningreason_get_list_v1) | **GET** /1/object/ezsignsigningreason/getList | Retrieve Ezsignsigningreason list *ObjectEzsignsigningreasonApi* | [**ezsignsigningreason_get_object_v2**](docs/ObjectEzsignsigningreasonApi.md#ezsignsigningreason_get_object_v2) | **GET** /2/object/ezsignsigningreason/{pkiEzsignsigningreasonID} | Retrieve an existing Ezsignsigningreason *ObjectEzsigntemplateApi* | [**ezsigntemplate_copy_v1**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_copy_v1) | **POST** /1/object/ezsigntemplate/{pkiEzsigntemplateID}/copy | Copy the Ezsigntemplate -*ObjectEzsigntemplateApi* | [**ezsigntemplate_create_object_v1**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_create_object_v1) | **POST** /1/object/ezsigntemplate | Create a new Ezsigntemplate -*ObjectEzsigntemplateApi* | [**ezsigntemplate_create_object_v2**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_create_object_v2) | **POST** /2/object/ezsigntemplate | Create a new Ezsigntemplate +*ObjectEzsigntemplateApi* | [**ezsigntemplate_create_object_v3**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_create_object_v3) | **POST** /3/object/ezsigntemplate | Create a new Ezsigntemplate *ObjectEzsigntemplateApi* | [**ezsigntemplate_delete_object_v1**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_delete_object_v1) | **DELETE** /1/object/ezsigntemplate/{pkiEzsigntemplateID} | Delete an existing Ezsigntemplate -*ObjectEzsigntemplateApi* | [**ezsigntemplate_edit_object_v1**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_edit_object_v1) | **PUT** /1/object/ezsigntemplate/{pkiEzsigntemplateID} | Edit an existing Ezsigntemplate -*ObjectEzsigntemplateApi* | [**ezsigntemplate_edit_object_v2**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_edit_object_v2) | **PUT** /2/object/ezsigntemplate/{pkiEzsigntemplateID} | Edit an existing Ezsigntemplate +*ObjectEzsigntemplateApi* | [**ezsigntemplate_edit_object_v3**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_edit_object_v3) | **PUT** /3/object/ezsigntemplate/{pkiEzsigntemplateID} | Edit an existing Ezsigntemplate *ObjectEzsigntemplateApi* | [**ezsigntemplate_get_autocomplete_v2**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_get_autocomplete_v2) | **GET** /2/object/ezsigntemplate/getAutocomplete/{sSelector} | Retrieve Ezsigntemplates and IDs *ObjectEzsigntemplateApi* | [**ezsigntemplate_get_list_v1**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_get_list_v1) | **GET** /1/object/ezsigntemplate/getList | Retrieve Ezsigntemplate list -*ObjectEzsigntemplateApi* | [**ezsigntemplate_get_object_v1**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_get_object_v1) | **GET** /1/object/ezsigntemplate/{pkiEzsigntemplateID} | Retrieve an existing Ezsigntemplate -*ObjectEzsigntemplateApi* | [**ezsigntemplate_get_object_v2**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_get_object_v2) | **GET** /2/object/ezsigntemplate/{pkiEzsigntemplateID} | Retrieve an existing Ezsigntemplate +*ObjectEzsigntemplateApi* | [**ezsigntemplate_get_object_v3**](docs/ObjectEzsigntemplateApi.md#ezsigntemplate_get_object_v3) | **GET** /3/object/ezsigntemplate/{pkiEzsigntemplateID} | Retrieve an existing Ezsigntemplate *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_create_object_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_create_object_v1) | **POST** /1/object/ezsigntemplatedocument | Create a new Ezsigntemplatedocument +*ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1) | **PUT** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatedocumentpagerecognitions | Edit multiple Ezsigntemplatedocumentpagerecognitions *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1) | **PUT** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplateformfieldgroups | Edit multiple Ezsigntemplateformfieldgroups *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1) | **PUT** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatesignatures | Edit multiple Ezsigntemplatesignatures *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_edit_object_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_edit_object_v1) | **PUT** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} | Edit an existing Ezsigntemplatedocument +*ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_extract_text_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_extract_text_v1) | **POST** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/extractText | Extract text from Ezsigntemplatedocument area *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_flatten_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_flatten_v1) | **POST** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/flatten | Flatten +*ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1) | **GET** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplatedocumentpagerecognitions | Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatedocumentpagerecognitions *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1) | **GET** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplatedocumentpages | Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatedocumentpages *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1) | **GET** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplateformfieldgroups | Retrieve an existing Ezsigntemplatedocument's Ezsigntemplateformfieldgroups *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_get_ezsigntemplatesignatures_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_get_ezsigntemplatesignatures_v1) | **GET** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplatesignatures | Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatesignatures *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_get_object_v2**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_get_object_v2) | **GET** /2/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} | Retrieve an existing Ezsigntemplatedocument *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_get_words_positions_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_get_words_positions_v1) | **POST** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getWordsPositions | Retrieve positions X,Y of given words from a Ezsigntemplatedocument *ObjectEzsigntemplatedocumentApi* | [**ezsigntemplatedocument_patch_object_v1**](docs/ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_patch_object_v1) | **PATCH** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} | Patch an existing Ezsigntemplatedocument +*ObjectEzsigntemplatedocumentpagerecognitionApi* | [**ezsigntemplatedocumentpagerecognition_create_object_v1**](docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md#ezsigntemplatedocumentpagerecognition_create_object_v1) | **POST** /1/object/ezsigntemplatedocumentpagerecognition | Create a new Ezsigntemplatedocumentpagerecognition +*ObjectEzsigntemplatedocumentpagerecognitionApi* | [**ezsigntemplatedocumentpagerecognition_delete_object_v1**](docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md#ezsigntemplatedocumentpagerecognition_delete_object_v1) | **DELETE** /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} | Delete an existing Ezsigntemplatedocumentpagerecognition +*ObjectEzsigntemplatedocumentpagerecognitionApi* | [**ezsigntemplatedocumentpagerecognition_edit_object_v1**](docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md#ezsigntemplatedocumentpagerecognition_edit_object_v1) | **PUT** /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} | Edit an existing Ezsigntemplatedocumentpagerecognition +*ObjectEzsigntemplatedocumentpagerecognitionApi* | [**ezsigntemplatedocumentpagerecognition_get_object_v2**](docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md#ezsigntemplatedocumentpagerecognition_get_object_v2) | **GET** /2/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} | Retrieve an existing Ezsigntemplatedocumentpagerecognition *ObjectEzsigntemplateformfieldgroupApi* | [**ezsigntemplateformfieldgroup_create_object_v1**](docs/ObjectEzsigntemplateformfieldgroupApi.md#ezsigntemplateformfieldgroup_create_object_v1) | **POST** /1/object/ezsigntemplateformfieldgroup | Create a new Ezsigntemplateformfieldgroup *ObjectEzsigntemplateformfieldgroupApi* | [**ezsigntemplateformfieldgroup_delete_object_v1**](docs/ObjectEzsigntemplateformfieldgroupApi.md#ezsigntemplateformfieldgroup_delete_object_v1) | **DELETE** /1/object/ezsigntemplateformfieldgroup/{pkiEzsigntemplateformfieldgroupID} | Delete an existing Ezsigntemplateformfieldgroup *ObjectEzsigntemplateformfieldgroupApi* | [**ezsigntemplateformfieldgroup_edit_object_v1**](docs/ObjectEzsigntemplateformfieldgroupApi.md#ezsigntemplateformfieldgroup_edit_object_v1) | **PUT** /1/object/ezsigntemplateformfieldgroup/{pkiEzsigntemplateformfieldgroupID} | Edit an existing Ezsigntemplateformfieldgroup @@ -323,37 +370,65 @@ Class | Method | HTTP request | Description *ObjectEzsigntemplatepackagesignermembershipApi* | [**ezsigntemplatepackagesignermembership_create_object_v1**](docs/ObjectEzsigntemplatepackagesignermembershipApi.md#ezsigntemplatepackagesignermembership_create_object_v1) | **POST** /1/object/ezsigntemplatepackagesignermembership | Create a new Ezsigntemplatepackagesignermembership *ObjectEzsigntemplatepackagesignermembershipApi* | [**ezsigntemplatepackagesignermembership_delete_object_v1**](docs/ObjectEzsigntemplatepackagesignermembershipApi.md#ezsigntemplatepackagesignermembership_delete_object_v1) | **DELETE** /1/object/ezsigntemplatepackagesignermembership/{pkiEzsigntemplatepackagesignermembershipID} | Delete an existing Ezsigntemplatepackagesignermembership *ObjectEzsigntemplatepackagesignermembershipApi* | [**ezsigntemplatepackagesignermembership_get_object_v2**](docs/ObjectEzsigntemplatepackagesignermembershipApi.md#ezsigntemplatepackagesignermembership_get_object_v2) | **GET** /2/object/ezsigntemplatepackagesignermembership/{pkiEzsigntemplatepackagesignermembershipID} | Retrieve an existing Ezsigntemplatepackagesignermembership -*ObjectEzsigntemplatesignatureApi* | [**ezsigntemplatesignature_create_object_v1**](docs/ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_create_object_v1) | **POST** /1/object/ezsigntemplatesignature | Create a new Ezsigntemplatesignature +*ObjectEzsigntemplatepublicApi* | [**ezsigntemplatepublic_create_ezsignfolder_v1**](docs/ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_create_ezsignfolder_v1) | **POST** /1/object/ezsigntemplatepublic/createEzsignfolder | Create an Ezsignfolder +*ObjectEzsigntemplatepublicApi* | [**ezsigntemplatepublic_create_object_v1**](docs/ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_create_object_v1) | **POST** /1/object/ezsigntemplatepublic | Create a new Ezsigntemplatepublic +*ObjectEzsigntemplatepublicApi* | [**ezsigntemplatepublic_edit_object_v1**](docs/ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_edit_object_v1) | **PUT** /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} | Edit an existing Ezsigntemplatepublic +*ObjectEzsigntemplatepublicApi* | [**ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1**](docs/ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1) | **POST** /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails | Retrieve the Ezsigntemplatepublic details +*ObjectEzsigntemplatepublicApi* | [**ezsigntemplatepublic_get_forms_data_v1**](docs/ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_get_forms_data_v1) | **GET** /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/getFormsData | Retrieve an existing Ezsigntemplatepublic's forms data +*ObjectEzsigntemplatepublicApi* | [**ezsigntemplatepublic_get_list_v1**](docs/ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_get_list_v1) | **GET** /1/object/ezsigntemplatepublic/getList | Retrieve Ezsigntemplatepublic list +*ObjectEzsigntemplatepublicApi* | [**ezsigntemplatepublic_get_object_v2**](docs/ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_get_object_v2) | **GET** /2/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} | Retrieve an existing Ezsigntemplatepublic +*ObjectEzsigntemplatepublicApi* | [**ezsigntemplatepublic_reset_limit_exceeded_counter_v1**](docs/ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_reset_limit_exceeded_counter_v1) | **POST** /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetLimitExceededCounter | Reset the limit exceeded counter +*ObjectEzsigntemplatepublicApi* | [**ezsigntemplatepublic_reset_url_v1**](docs/ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_reset_url_v1) | **POST** /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetUrl | Reset the Ezsigntemplatepublic url +*ObjectEzsigntemplatesignatureApi* | [**ezsigntemplatesignature_create_object_v2**](docs/ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_create_object_v2) | **POST** /2/object/ezsigntemplatesignature | Create a new Ezsigntemplatesignature *ObjectEzsigntemplatesignatureApi* | [**ezsigntemplatesignature_delete_object_v1**](docs/ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_delete_object_v1) | **DELETE** /1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} | Delete an existing Ezsigntemplatesignature -*ObjectEzsigntemplatesignatureApi* | [**ezsigntemplatesignature_edit_object_v1**](docs/ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_edit_object_v1) | **PUT** /1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} | Edit an existing Ezsigntemplatesignature -*ObjectEzsigntemplatesignatureApi* | [**ezsigntemplatesignature_get_object_v2**](docs/ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_get_object_v2) | **GET** /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} | Retrieve an existing Ezsigntemplatesignature +*ObjectEzsigntemplatesignatureApi* | [**ezsigntemplatesignature_edit_object_v2**](docs/ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_edit_object_v2) | **PUT** /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} | Edit an existing Ezsigntemplatesignature +*ObjectEzsigntemplatesignatureApi* | [**ezsigntemplatesignature_get_object_v3**](docs/ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_get_object_v3) | **GET** /3/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} | Retrieve an existing Ezsigntemplatesignature *ObjectEzsigntemplatesignerApi* | [**ezsigntemplatesigner_create_object_v1**](docs/ObjectEzsigntemplatesignerApi.md#ezsigntemplatesigner_create_object_v1) | **POST** /1/object/ezsigntemplatesigner | Create a new Ezsigntemplatesigner *ObjectEzsigntemplatesignerApi* | [**ezsigntemplatesigner_delete_object_v1**](docs/ObjectEzsigntemplatesignerApi.md#ezsigntemplatesigner_delete_object_v1) | **DELETE** /1/object/ezsigntemplatesigner/{pkiEzsigntemplatesignerID} | Delete an existing Ezsigntemplatesigner *ObjectEzsigntemplatesignerApi* | [**ezsigntemplatesigner_edit_object_v1**](docs/ObjectEzsigntemplatesignerApi.md#ezsigntemplatesigner_edit_object_v1) | **PUT** /1/object/ezsigntemplatesigner/{pkiEzsigntemplatesignerID} | Edit an existing Ezsigntemplatesigner *ObjectEzsigntemplatesignerApi* | [**ezsigntemplatesigner_get_object_v2**](docs/ObjectEzsigntemplatesignerApi.md#ezsigntemplatesigner_get_object_v2) | **GET** /2/object/ezsigntemplatesigner/{pkiEzsigntemplatesignerID} | Retrieve an existing Ezsigntemplatesigner *ObjectEzsigntsarequirementApi* | [**ezsigntsarequirement_get_autocomplete_v2**](docs/ObjectEzsigntsarequirementApi.md#ezsigntsarequirement_get_autocomplete_v2) | **GET** /2/object/ezsigntsarequirement/getAutocomplete/{sSelector} | Retrieve Ezsigntsarequirements and IDs +*ObjectEzsignuserApi* | [**ezsignuser_edit_object_v1**](docs/ObjectEzsignuserApi.md#ezsignuser_edit_object_v1) | **PUT** /1/object/ezsignuser/{pkiEzsignuserID} | Edit an existing Ezsignuser +*ObjectEzsignuserApi* | [**ezsignuser_get_object_v2**](docs/ObjectEzsignuserApi.md#ezsignuser_get_object_v2) | **GET** /2/object/ezsignuser/{pkiEzsignuserID} | Retrieve an existing Ezsignuser *ObjectFontApi* | [**font_get_autocomplete_v2**](docs/ObjectFontApi.md#font_get_autocomplete_v2) | **GET** /2/object/font/getAutocomplete/{sSelector} | Retrieve Fonts and IDs *ObjectFranchisebrokerApi* | [**franchisebroker_get_autocomplete_v2**](docs/ObjectFranchisebrokerApi.md#franchisebroker_get_autocomplete_v2) | **GET** /2/object/franchisebroker/getAutocomplete/{sSelector} | Retrieve Franchisebrokers and IDs *ObjectFranchiseofficeApi* | [**franchiseoffice_get_autocomplete_v2**](docs/ObjectFranchiseofficeApi.md#franchiseoffice_get_autocomplete_v2) | **GET** /2/object/franchiseoffice/getAutocomplete/{sSelector} | Retrieve Franchiseoffices and IDs *ObjectFranchisereferalincomeApi* | [**franchisereferalincome_create_object_v2**](docs/ObjectFranchisereferalincomeApi.md#franchisereferalincome_create_object_v2) | **POST** /2/object/franchisereferalincome | Create a new Franchisereferalincome +*ObjectGlaccountApi* | [**glaccount_get_autocomplete_v2**](docs/ObjectGlaccountApi.md#glaccount_get_autocomplete_v2) | **GET** /2/object/glaccount/getAutocomplete/{sSelector} | Retrieve Glaccounts and IDs +*ObjectGlaccountcontainerApi* | [**glaccountcontainer_get_autocomplete_v2**](docs/ObjectGlaccountcontainerApi.md#glaccountcontainer_get_autocomplete_v2) | **GET** /2/object/glaccountcontainer/getAutocomplete/{sSelector} | Retrieve Glaccountcontainers and IDs *ObjectInscriptionApi* | [**inscription_get_attachments_v1**](docs/ObjectInscriptionApi.md#inscription_get_attachments_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getAttachments | Retrieve Inscription's Attachments +*ObjectInscriptionApi* | [**inscription_get_communication_count_v1**](docs/ObjectInscriptionApi.md#inscription_get_communication_count_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getCommunicationCount | Retrieve Communication count *ObjectInscriptionApi* | [**inscription_get_communication_list_v1**](docs/ObjectInscriptionApi.md#inscription_get_communication_list_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getCommunicationList | Retrieve Communication list +*ObjectInscriptionApi* | [**inscription_get_communicationrecipients_v1**](docs/ObjectInscriptionApi.md#inscription_get_communicationrecipients_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getCommunicationrecipients | Retrieve Inscription's Communicationrecipient *ObjectInscriptionApi* | [**inscription_get_communicationsenders_v1**](docs/ObjectInscriptionApi.md#inscription_get_communicationsenders_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getCommunicationsenders | Retrieve Inscription's Communicationsender +*ObjectInscriptionnotauthenticatedApi* | [**inscriptionnotauthenticated_get_communication_count_v1**](docs/ObjectInscriptionnotauthenticatedApi.md#inscriptionnotauthenticated_get_communication_count_v1) | **GET** /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationCount | Retrieve Communication count *ObjectInscriptionnotauthenticatedApi* | [**inscriptionnotauthenticated_get_communication_list_v1**](docs/ObjectInscriptionnotauthenticatedApi.md#inscriptionnotauthenticated_get_communication_list_v1) | **GET** /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationList | Retrieve Communication list +*ObjectInscriptionnotauthenticatedApi* | [**inscriptionnotauthenticated_get_communicationrecipients_v1**](docs/ObjectInscriptionnotauthenticatedApi.md#inscriptionnotauthenticated_get_communicationrecipients_v1) | **GET** /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients | Retrieve Inscriptionnotauthenticated's Communicationrecipient +*ObjectInscriptionnotauthenticatedApi* | [**inscriptionnotauthenticated_get_communicationsenders_v1**](docs/ObjectInscriptionnotauthenticatedApi.md#inscriptionnotauthenticated_get_communicationsenders_v1) | **GET** /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationsenders | Retrieve Inscriptionnotauthenticated's Communicationsender +*ObjectInscriptiontempApi* | [**inscriptiontemp_get_communication_count_v1**](docs/ObjectInscriptiontempApi.md#inscriptiontemp_get_communication_count_v1) | **GET** /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationCount | Retrieve Communication count *ObjectInscriptiontempApi* | [**inscriptiontemp_get_communication_list_v1**](docs/ObjectInscriptiontempApi.md#inscriptiontemp_get_communication_list_v1) | **GET** /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationList | Retrieve Communication list +*ObjectInscriptiontempApi* | [**inscriptiontemp_get_communicationrecipients_v1**](docs/ObjectInscriptiontempApi.md#inscriptiontemp_get_communicationrecipients_v1) | **GET** /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients | Retrieve Inscriptiontemp's Communicationrecipient +*ObjectInscriptiontempApi* | [**inscriptiontemp_get_communicationsenders_v1**](docs/ObjectInscriptiontempApi.md#inscriptiontemp_get_communicationsenders_v1) | **GET** /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationsenders | Retrieve Inscriptiontemp's Communicationsender *ObjectInvoiceApi* | [**invoice_get_attachments_v1**](docs/ObjectInvoiceApi.md#invoice_get_attachments_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getAttachments | Retrieve Invoice's Attachments +*ObjectInvoiceApi* | [**invoice_get_communication_count_v1**](docs/ObjectInvoiceApi.md#invoice_get_communication_count_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getCommunicationCount | Retrieve Communication count *ObjectInvoiceApi* | [**invoice_get_communication_list_v1**](docs/ObjectInvoiceApi.md#invoice_get_communication_list_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getCommunicationList | Retrieve Communication list +*ObjectInvoiceApi* | [**invoice_get_communicationrecipients_v1**](docs/ObjectInvoiceApi.md#invoice_get_communicationrecipients_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients | Retrieve Invoice's Communicationrecipient +*ObjectInvoiceApi* | [**invoice_get_communicationsenders_v1**](docs/ObjectInvoiceApi.md#invoice_get_communicationsenders_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getCommunicationsenders | Retrieve Invoice's Communicationsender *ObjectLanguageApi* | [**language_get_autocomplete_v2**](docs/ObjectLanguageApi.md#language_get_autocomplete_v2) | **GET** /2/object/language/getAutocomplete/{sSelector} | Retrieve Languages and IDs *ObjectModuleApi* | [**module_get_autocomplete_v2**](docs/ObjectModuleApi.md#module_get_autocomplete_v2) | **GET** /2/object/module/getAutocomplete/{sSelector} | Retrieve Modules and IDs *ObjectModulegroupApi* | [**modulegroup_get_all_v1**](docs/ObjectModulegroupApi.md#modulegroup_get_all_v1) | **GET** /1/object/modulegroup/getAll/{eContext} | Retrieve all Modulegroups *ObjectNotificationsectionApi* | [**notificationsection_get_notificationtests_v1**](docs/ObjectNotificationsectionApi.md#notificationsection_get_notificationtests_v1) | **GET** /1/object/notificationsection/{pkiNotificationsectionID}/getNotificationtests | Retrieve an existing Notificationsection's Notificationtests *ObjectNotificationtestApi* | [**notificationtest_get_elements_v1**](docs/ObjectNotificationtestApi.md#notificationtest_get_elements_v1) | **GET** /1/object/notificationtest/{pkiNotificationtestID}/getElements | Retrieve an existing Notificationtest's Elements +*ObjectOtherincomeApi* | [**otherincome_get_communication_count_v1**](docs/ObjectOtherincomeApi.md#otherincome_get_communication_count_v1) | **GET** /1/object/otherincome/{pkiOtherincomeID}/getCommunicationCount | Retrieve Communication count *ObjectOtherincomeApi* | [**otherincome_get_communication_list_v1**](docs/ObjectOtherincomeApi.md#otherincome_get_communication_list_v1) | **GET** /1/object/otherincome/{pkiOtherincomeID}/getCommunicationList | Retrieve Communication list +*ObjectOtherincomeApi* | [**otherincome_get_communicationrecipients_v1**](docs/ObjectOtherincomeApi.md#otherincome_get_communicationrecipients_v1) | **GET** /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients | Retrieve Otherincome's Communicationrecipient +*ObjectOtherincomeApi* | [**otherincome_get_communicationsenders_v1**](docs/ObjectOtherincomeApi.md#otherincome_get_communicationsenders_v1) | **GET** /1/object/otherincome/{pkiOtherincomeID}/getCommunicationsenders | Retrieve Otherincome's Communicationsender *ObjectPaymenttermApi* | [**paymentterm_create_object_v1**](docs/ObjectPaymenttermApi.md#paymentterm_create_object_v1) | **POST** /1/object/paymentterm | Create a new Paymentterm *ObjectPaymenttermApi* | [**paymentterm_edit_object_v1**](docs/ObjectPaymenttermApi.md#paymentterm_edit_object_v1) | **PUT** /1/object/paymentterm/{pkiPaymenttermID} | Edit an existing Paymentterm *ObjectPaymenttermApi* | [**paymentterm_get_autocomplete_v2**](docs/ObjectPaymenttermApi.md#paymentterm_get_autocomplete_v2) | **GET** /2/object/paymentterm/getAutocomplete/{sSelector} | Retrieve Paymentterms and IDs *ObjectPaymenttermApi* | [**paymentterm_get_list_v1**](docs/ObjectPaymenttermApi.md#paymentterm_get_list_v1) | **GET** /1/object/paymentterm/getList | Retrieve Paymentterm list *ObjectPaymenttermApi* | [**paymentterm_get_object_v2**](docs/ObjectPaymenttermApi.md#paymentterm_get_object_v2) | **GET** /2/object/paymentterm/{pkiPaymenttermID} | Retrieve an existing Paymentterm +*ObjectPdfalevelApi* | [**pdfalevel_get_autocomplete_v2**](docs/ObjectPdfalevelApi.md#pdfalevel_get_autocomplete_v2) | **GET** /2/object/pdfalevel/getAutocomplete/{sSelector} | Retrieve Pdfalevels and IDs *ObjectPeriodApi* | [**period_get_autocomplete_v2**](docs/ObjectPeriodApi.md#period_get_autocomplete_v2) | **GET** /2/object/period/getAutocomplete/{sSelector} | Retrieve Periods and IDs *ObjectPermissionApi* | [**permission_create_object_v1**](docs/ObjectPermissionApi.md#permission_create_object_v1) | **POST** /1/object/permission | Create a new Permission *ObjectPermissionApi* | [**permission_delete_object_v1**](docs/ObjectPermissionApi.md#permission_delete_object_v1) | **DELETE** /1/object/permission/{pkiPermissionID} | Delete an existing Permission @@ -361,27 +436,45 @@ Class | Method | HTTP request | Description *ObjectPermissionApi* | [**permission_get_object_v2**](docs/ObjectPermissionApi.md#permission_get_object_v2) | **GET** /2/object/permission/{pkiPermissionID} | Retrieve an existing Permission *ObjectPhonetypeApi* | [**phonetype_get_autocomplete_v2**](docs/ObjectPhonetypeApi.md#phonetype_get_autocomplete_v2) | **GET** /2/object/phonetype/getAutocomplete/{sSelector} | Retrieve Phonetypes and IDs *ObjectProvinceApi* | [**province_get_autocomplete_v2**](docs/ObjectProvinceApi.md#province_get_autocomplete_v2) | **GET** /2/object/province/getAutocomplete/{sSelector} | Retrieve Provinces and IDs +*ObjectRejectedoffertopurchaseApi* | [**rejectedoffertopurchase_get_communication_count_v1**](docs/ObjectRejectedoffertopurchaseApi.md#rejectedoffertopurchase_get_communication_count_v1) | **GET** /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationCount | Retrieve Communication count *ObjectRejectedoffertopurchaseApi* | [**rejectedoffertopurchase_get_communication_list_v1**](docs/ObjectRejectedoffertopurchaseApi.md#rejectedoffertopurchase_get_communication_list_v1) | **GET** /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationList | Retrieve Communication list +*ObjectRejectedoffertopurchaseApi* | [**rejectedoffertopurchase_get_communicationrecipients_v1**](docs/ObjectRejectedoffertopurchaseApi.md#rejectedoffertopurchase_get_communicationrecipients_v1) | **GET** /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients | Retrieve Rejectedoffertopurchase's Communicationrecipient +*ObjectRejectedoffertopurchaseApi* | [**rejectedoffertopurchase_get_communicationsenders_v1**](docs/ObjectRejectedoffertopurchaseApi.md#rejectedoffertopurchase_get_communicationsenders_v1) | **GET** /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationsenders | Retrieve Rejectedoffertopurchase's Communicationsender *ObjectSecretquestionApi* | [**secretquestion_get_autocomplete_v2**](docs/ObjectSecretquestionApi.md#secretquestion_get_autocomplete_v2) | **GET** /2/object/secretquestion/getAutocomplete/{sSelector} | Retrieve Secretquestions and IDs *ObjectSessionhistoryApi* | [**sessionhistory_get_list_v1**](docs/ObjectSessionhistoryApi.md#sessionhistory_get_list_v1) | **GET** /1/object/sessionhistory/getList | Retrieve Sessionhistory list *ObjectSignatureApi* | [**signature_create_object_v1**](docs/ObjectSignatureApi.md#signature_create_object_v1) | **POST** /1/object/signature | Create a new Signature *ObjectSignatureApi* | [**signature_delete_object_v1**](docs/ObjectSignatureApi.md#signature_delete_object_v1) | **DELETE** /1/object/signature/{pkiSignatureID} | Delete an existing Signature *ObjectSignatureApi* | [**signature_edit_object_v1**](docs/ObjectSignatureApi.md#signature_edit_object_v1) | **PUT** /1/object/signature/{pkiSignatureID} | Edit an existing Signature *ObjectSignatureApi* | [**signature_get_object_v2**](docs/ObjectSignatureApi.md#signature_get_object_v2) | **GET** /2/object/signature/{pkiSignatureID} | Retrieve an existing Signature +*ObjectSignatureApi* | [**signature_get_object_v3**](docs/ObjectSignatureApi.md#signature_get_object_v3) | **GET** /3/object/signature/{pkiSignatureID} | Retrieve an existing Signature +*ObjectSignatureApi* | [**signature_get_svg_initials_v1**](docs/ObjectSignatureApi.md#signature_get_svg_initials_v1) | **GET** /1/object/signature/{pkiSignatureID}/getSVGInitials | Retrieve an existing Signature initial SVG +*ObjectSignatureApi* | [**signature_get_svg_signature_v1**](docs/ObjectSignatureApi.md#signature_get_svg_signature_v1) | **GET** /1/object/signature/{pkiSignatureID}/getSVGSignature | Retrieve an existing Signature SVG *ObjectSubnetApi* | [**subnet_create_object_v1**](docs/ObjectSubnetApi.md#subnet_create_object_v1) | **POST** /1/object/subnet | Create a new Subnet *ObjectSubnetApi* | [**subnet_delete_object_v1**](docs/ObjectSubnetApi.md#subnet_delete_object_v1) | **DELETE** /1/object/subnet/{pkiSubnetID} | Delete an existing Subnet *ObjectSubnetApi* | [**subnet_edit_object_v1**](docs/ObjectSubnetApi.md#subnet_edit_object_v1) | **PUT** /1/object/subnet/{pkiSubnetID} | Edit an existing Subnet *ObjectSubnetApi* | [**subnet_get_object_v2**](docs/ObjectSubnetApi.md#subnet_get_object_v2) | **GET** /2/object/subnet/{pkiSubnetID} | Retrieve an existing Subnet +*ObjectSupplyApi* | [**supply_create_object_v1**](docs/ObjectSupplyApi.md#supply_create_object_v1) | **POST** /1/object/supply | Create a new Supply +*ObjectSupplyApi* | [**supply_delete_object_v1**](docs/ObjectSupplyApi.md#supply_delete_object_v1) | **DELETE** /1/object/supply/{pkiSupplyID} | Delete an existing Supply +*ObjectSupplyApi* | [**supply_edit_object_v1**](docs/ObjectSupplyApi.md#supply_edit_object_v1) | **PUT** /1/object/supply/{pkiSupplyID} | Edit an existing Supply +*ObjectSupplyApi* | [**supply_get_autocomplete_v2**](docs/ObjectSupplyApi.md#supply_get_autocomplete_v2) | **GET** /2/object/supply/getAutocomplete/{sSelector} | Retrieve Supplys and IDs +*ObjectSupplyApi* | [**supply_get_list_v1**](docs/ObjectSupplyApi.md#supply_get_list_v1) | **GET** /1/object/supply/getList | Retrieve Supply list +*ObjectSupplyApi* | [**supply_get_object_v2**](docs/ObjectSupplyApi.md#supply_get_object_v2) | **GET** /2/object/supply/{pkiSupplyID} | Retrieve an existing Supply *ObjectSystemconfigurationApi* | [**systemconfiguration_edit_object_v1**](docs/ObjectSystemconfigurationApi.md#systemconfiguration_edit_object_v1) | **PUT** /1/object/systemconfiguration/{pkiSystemconfigurationID} | Edit an existing Systemconfiguration *ObjectSystemconfigurationApi* | [**systemconfiguration_get_object_v2**](docs/ObjectSystemconfigurationApi.md#systemconfiguration_get_object_v2) | **GET** /2/object/systemconfiguration/{pkiSystemconfigurationID} | Retrieve an existing Systemconfiguration *ObjectTaxassignmentApi* | [**taxassignment_get_autocomplete_v2**](docs/ObjectTaxassignmentApi.md#taxassignment_get_autocomplete_v2) | **GET** /2/object/taxassignment/getAutocomplete/{sSelector} | Retrieve Taxassignments and IDs *ObjectTimezoneApi* | [**timezone_get_autocomplete_v2**](docs/ObjectTimezoneApi.md#timezone_get_autocomplete_v2) | **GET** /2/object/timezone/getAutocomplete/{sSelector} | Retrieve Timezones and IDs +*ObjectTranqcontractApi* | [**tranqcontract_get_communication_count_v1**](docs/ObjectTranqcontractApi.md#tranqcontract_get_communication_count_v1) | **GET** /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCount | Retrieve Communication count +*ObjectTranqcontractApi* | [**tranqcontract_get_communication_list_v1**](docs/ObjectTranqcontractApi.md#tranqcontract_get_communication_list_v1) | **GET** /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationList | Retrieve Communication list +*ObjectTranqcontractApi* | [**tranqcontract_get_communicationrecipients_v1**](docs/ObjectTranqcontractApi.md#tranqcontract_get_communicationrecipients_v1) | **GET** /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients | Retrieve Tranqcontract's Communicationrecipient +*ObjectTranqcontractApi* | [**tranqcontract_get_communicationsenders_v1**](docs/ObjectTranqcontractApi.md#tranqcontract_get_communicationsenders_v1) | **GET** /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationsenders | Retrieve Tranqcontract's Communicationsender *ObjectUserApi* | [**user_create_object_v1**](docs/ObjectUserApi.md#user_create_object_v1) | **POST** /1/object/user | Create a new User *ObjectUserApi* | [**user_create_object_v2**](docs/ObjectUserApi.md#user_create_object_v2) | **POST** /2/object/user | Create a new User +*ObjectUserApi* | [**user_edit_colleagues_v2**](docs/ObjectUserApi.md#user_edit_colleagues_v2) | **PUT** /2/object/user/{pkiUserID}/editColleagues | Edit multiple Colleagues *ObjectUserApi* | [**user_edit_object_v1**](docs/ObjectUserApi.md#user_edit_object_v1) | **PUT** /1/object/user/{pkiUserID} | Edit an existing User *ObjectUserApi* | [**user_edit_permissions_v1**](docs/ObjectUserApi.md#user_edit_permissions_v1) | **PUT** /1/object/user/{pkiUserID}/editPermissions | Edit multiple Permissions *ObjectUserApi* | [**user_get_apikeys_v1**](docs/ObjectUserApi.md#user_get_apikeys_v1) | **GET** /1/object/user/{pkiUserID}/getApikeys | Retrieve an existing User's Apikeys *ObjectUserApi* | [**user_get_autocomplete_v2**](docs/ObjectUserApi.md#user_get_autocomplete_v2) | **GET** /2/object/user/getAutocomplete/{sSelector} | Retrieve Users and IDs +*ObjectUserApi* | [**user_get_colleagues_v2**](docs/ObjectUserApi.md#user_get_colleagues_v2) | **GET** /2/object/user/{pkiUserID}/getColleagues | Retrieve an existing User's Colleagues *ObjectUserApi* | [**user_get_effective_permissions_v1**](docs/ObjectUserApi.md#user_get_effective_permissions_v1) | **GET** /1/object/user/{pkiUserID}/getEffectivePermissions | Retrieve an existing User's Effective Permissions *ObjectUserApi* | [**user_get_list_v1**](docs/ObjectUserApi.md#user_get_list_v1) | **GET** /1/object/user/getList | Retrieve User list *ObjectUserApi* | [**user_get_object_v2**](docs/ObjectUserApi.md#user_get_object_v2) | **GET** /2/object/user/{pkiUserID} | Retrieve an existing User @@ -436,6 +529,7 @@ Class | Method | HTTP request | Description *ObjectWebhookApi* | [**webhook_get_list_v1**](docs/ObjectWebhookApi.md#webhook_get_list_v1) | **GET** /1/object/webhook/getList | Retrieve Webhook list *ObjectWebhookApi* | [**webhook_get_object_v2**](docs/ObjectWebhookApi.md#webhook_get_object_v2) | **GET** /2/object/webhook/{pkiWebhookID} | Retrieve an existing Webhook *ObjectWebhookApi* | [**webhook_regenerate_apikey_v1**](docs/ObjectWebhookApi.md#webhook_regenerate_apikey_v1) | **POST** /1/object/webhook/{pkiWebhookID}/regenerateApikey | Regenerate the Apikey +*ObjectWebhookApi* | [**webhook_send_webhook_v1**](docs/ObjectWebhookApi.md#webhook_send_webhook_v1) | **POST** /1/object/webhook/sendWebhook | Emit a Webhook event *ObjectWebhookApi* | [**webhook_test_v1**](docs/ObjectWebhookApi.md#webhook_test_v1) | **POST** /1/object/webhook/{pkiWebhookID}/test | Test the Webhook by calling the Url *ScimGroupsApi* | [**groups_create_object_scim_v2**](docs/ScimGroupsApi.md#groups_create_object_scim_v2) | **POST** /2/scim/Groups | Create a new Usergroup *ScimGroupsApi* | [**groups_delete_object_scim_v2**](docs/ScimGroupsApi.md#groups_delete_object_scim_v2) | **DELETE** /2/scim/Groups/{groupId} | Delete an existing Usergroup @@ -452,6 +546,9 @@ Class | Method | HTTP request | Description ## Documentation For Models + - [ActivesessionGenerateFederationTokenV1Request](docs/ActivesessionGenerateFederationTokenV1Request.md) + - [ActivesessionGenerateFederationTokenV1Response](docs/ActivesessionGenerateFederationTokenV1Response.md) + - [ActivesessionGenerateFederationTokenV1ResponseMPayload](docs/ActivesessionGenerateFederationTokenV1ResponseMPayload.md) - [ActivesessionGetCurrentV1Response](docs/ActivesessionGetCurrentV1Response.md) - [ActivesessionGetCurrentV1ResponseMPayload](docs/ActivesessionGetCurrentV1ResponseMPayload.md) - [ActivesessionGetListV1Response](docs/ActivesessionGetListV1Response.md) @@ -463,6 +560,8 @@ Class | Method | HTTP request | Description - [ActivesessionResponseCompoundUser](docs/ActivesessionResponseCompoundUser.md) - [AddressRequest](docs/AddressRequest.md) - [AddressRequestCompound](docs/AddressRequestCompound.md) + - [AddressResponse](docs/AddressResponse.md) + - [AddressResponseCompound](docs/AddressResponseCompound.md) - [ApikeyCreateObjectV2Request](docs/ApikeyCreateObjectV2Request.md) - [ApikeyCreateObjectV2Response](docs/ApikeyCreateObjectV2Response.md) - [ApikeyCreateObjectV2ResponseMPayload](docs/ApikeyCreateObjectV2ResponseMPayload.md) @@ -471,6 +570,9 @@ Class | Method | HTTP request | Description - [ApikeyEditPermissionsV1Request](docs/ApikeyEditPermissionsV1Request.md) - [ApikeyEditPermissionsV1Response](docs/ApikeyEditPermissionsV1Response.md) - [ApikeyEditPermissionsV1ResponseMPayload](docs/ApikeyEditPermissionsV1ResponseMPayload.md) + - [ApikeyGenerateDelegatedCredentialsV1Request](docs/ApikeyGenerateDelegatedCredentialsV1Request.md) + - [ApikeyGenerateDelegatedCredentialsV1Response](docs/ApikeyGenerateDelegatedCredentialsV1Response.md) + - [ApikeyGenerateDelegatedCredentialsV1ResponseMPayload](docs/ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.md) - [ApikeyGetCorsV1Response](docs/ApikeyGetCorsV1Response.md) - [ApikeyGetCorsV1ResponseMPayload](docs/ApikeyGetCorsV1ResponseMPayload.md) - [ApikeyGetListV1Response](docs/ApikeyGetListV1Response.md) @@ -491,15 +593,35 @@ Class | Method | HTTP request | Description - [ApikeyResponseCompound](docs/ApikeyResponseCompound.md) - [AttachmentGetAttachmentlogsV1Response](docs/AttachmentGetAttachmentlogsV1Response.md) - [AttachmentGetAttachmentlogsV1ResponseMPayload](docs/AttachmentGetAttachmentlogsV1ResponseMPayload.md) - - [AttachmentGetDownloadUrlV1Response](docs/AttachmentGetDownloadUrlV1Response.md) - - [AttachmentGetDownloadUrlV1ResponseMPayload](docs/AttachmentGetDownloadUrlV1ResponseMPayload.md) - [AttachmentResponse](docs/AttachmentResponse.md) - [AttachmentResponseCompound](docs/AttachmentResponseCompound.md) - [AttachmentlogResponse](docs/AttachmentlogResponse.md) - [AttachmentlogResponseCompound](docs/AttachmentlogResponseCompound.md) - [AttemptResponse](docs/AttemptResponse.md) - [AttemptResponseCompound](docs/AttemptResponseCompound.md) + - [AuthenticationexternalAutocompleteElementResponse](docs/AuthenticationexternalAutocompleteElementResponse.md) + - [AuthenticationexternalCreateObjectV1Request](docs/AuthenticationexternalCreateObjectV1Request.md) + - [AuthenticationexternalCreateObjectV1Response](docs/AuthenticationexternalCreateObjectV1Response.md) + - [AuthenticationexternalCreateObjectV1ResponseMPayload](docs/AuthenticationexternalCreateObjectV1ResponseMPayload.md) + - [AuthenticationexternalDeleteObjectV1Response](docs/AuthenticationexternalDeleteObjectV1Response.md) + - [AuthenticationexternalEditObjectV1Request](docs/AuthenticationexternalEditObjectV1Request.md) + - [AuthenticationexternalEditObjectV1Response](docs/AuthenticationexternalEditObjectV1Response.md) + - [AuthenticationexternalGetAutocompleteV2Response](docs/AuthenticationexternalGetAutocompleteV2Response.md) + - [AuthenticationexternalGetAutocompleteV2ResponseMPayload](docs/AuthenticationexternalGetAutocompleteV2ResponseMPayload.md) + - [AuthenticationexternalGetListV1Response](docs/AuthenticationexternalGetListV1Response.md) + - [AuthenticationexternalGetListV1ResponseMPayload](docs/AuthenticationexternalGetListV1ResponseMPayload.md) + - [AuthenticationexternalGetObjectV2Response](docs/AuthenticationexternalGetObjectV2Response.md) + - [AuthenticationexternalGetObjectV2ResponseMPayload](docs/AuthenticationexternalGetObjectV2ResponseMPayload.md) + - [AuthenticationexternalListElement](docs/AuthenticationexternalListElement.md) + - [AuthenticationexternalRequest](docs/AuthenticationexternalRequest.md) + - [AuthenticationexternalRequestCompound](docs/AuthenticationexternalRequestCompound.md) + - [AuthenticationexternalResetAuthorizationV1Response](docs/AuthenticationexternalResetAuthorizationV1Response.md) + - [AuthenticationexternalResponse](docs/AuthenticationexternalResponse.md) + - [AuthenticationexternalResponseCompound](docs/AuthenticationexternalResponseCompound.md) - [BillingentityexternalAutocompleteElementResponse](docs/BillingentityexternalAutocompleteElementResponse.md) + - [BillingentityexternalGenerateFederationTokenV1Request](docs/BillingentityexternalGenerateFederationTokenV1Request.md) + - [BillingentityexternalGenerateFederationTokenV1Response](docs/BillingentityexternalGenerateFederationTokenV1Response.md) + - [BillingentityexternalGenerateFederationTokenV1ResponseMPayload](docs/BillingentityexternalGenerateFederationTokenV1ResponseMPayload.md) - [BillingentityexternalGetAutocompleteV2Response](docs/BillingentityexternalGetAutocompleteV2Response.md) - [BillingentityexternalGetAutocompleteV2ResponseMPayload](docs/BillingentityexternalGetAutocompleteV2ResponseMPayload.md) - [BillingentityinternalAutocompleteElementResponse](docs/BillingentityinternalAutocompleteElementResponse.md) @@ -524,27 +646,37 @@ Class | Method | HTTP request | Description - [BillingentityinternalproductResponse](docs/BillingentityinternalproductResponse.md) - [BillingentityinternalproductResponseCompound](docs/BillingentityinternalproductResponseCompound.md) - [BrandingAutocompleteElementResponse](docs/BrandingAutocompleteElementResponse.md) - - [BrandingCreateObjectV1Request](docs/BrandingCreateObjectV1Request.md) - - [BrandingCreateObjectV1Response](docs/BrandingCreateObjectV1Response.md) - - [BrandingCreateObjectV1ResponseMPayload](docs/BrandingCreateObjectV1ResponseMPayload.md) - - [BrandingEditObjectV1Request](docs/BrandingEditObjectV1Request.md) - - [BrandingEditObjectV1Response](docs/BrandingEditObjectV1Response.md) + - [BrandingCreateObjectV2Request](docs/BrandingCreateObjectV2Request.md) + - [BrandingCreateObjectV2Response](docs/BrandingCreateObjectV2Response.md) + - [BrandingCreateObjectV2ResponseMPayload](docs/BrandingCreateObjectV2ResponseMPayload.md) + - [BrandingEditObjectV2Request](docs/BrandingEditObjectV2Request.md) + - [BrandingEditObjectV2Response](docs/BrandingEditObjectV2Response.md) - [BrandingGetAutocompleteV2Response](docs/BrandingGetAutocompleteV2Response.md) - [BrandingGetAutocompleteV2ResponseMPayload](docs/BrandingGetAutocompleteV2ResponseMPayload.md) - [BrandingGetListV1Response](docs/BrandingGetListV1Response.md) - [BrandingGetListV1ResponseMPayload](docs/BrandingGetListV1ResponseMPayload.md) - - [BrandingGetObjectV2Response](docs/BrandingGetObjectV2Response.md) - - [BrandingGetObjectV2ResponseMPayload](docs/BrandingGetObjectV2ResponseMPayload.md) + - [BrandingGetObjectV3Response](docs/BrandingGetObjectV3Response.md) + - [BrandingGetObjectV3ResponseMPayload](docs/BrandingGetObjectV3ResponseMPayload.md) - [BrandingListElement](docs/BrandingListElement.md) - - [BrandingRequest](docs/BrandingRequest.md) - - [BrandingRequestCompound](docs/BrandingRequestCompound.md) - - [BrandingResponse](docs/BrandingResponse.md) - - [BrandingResponseCompound](docs/BrandingResponseCompound.md) + - [BrandingRequestCompoundV2](docs/BrandingRequestCompoundV2.md) + - [BrandingRequestV2](docs/BrandingRequestV2.md) + - [BrandingResponseCompoundV3](docs/BrandingResponseCompoundV3.md) + - [BrandingResponseV3](docs/BrandingResponseV3.md) + - [BuyercontractGetCommunicationCountV1Response](docs/BuyercontractGetCommunicationCountV1Response.md) + - [BuyercontractGetCommunicationCountV1ResponseMPayload](docs/BuyercontractGetCommunicationCountV1ResponseMPayload.md) - [BuyercontractGetCommunicationListV1Response](docs/BuyercontractGetCommunicationListV1Response.md) - [BuyercontractGetCommunicationListV1ResponseMPayload](docs/BuyercontractGetCommunicationListV1ResponseMPayload.md) + - [BuyercontractGetCommunicationrecipientsV1Response](docs/BuyercontractGetCommunicationrecipientsV1Response.md) + - [BuyercontractGetCommunicationrecipientsV1ResponseMPayload](docs/BuyercontractGetCommunicationrecipientsV1ResponseMPayload.md) + - [BuyercontractGetCommunicationsendersV1Response](docs/BuyercontractGetCommunicationsendersV1Response.md) + - [BuyercontractGetCommunicationsendersV1ResponseMPayload](docs/BuyercontractGetCommunicationsendersV1ResponseMPayload.md) - [ClonehistoryGetListV1Response](docs/ClonehistoryGetListV1Response.md) - [ClonehistoryGetListV1ResponseMPayload](docs/ClonehistoryGetListV1ResponseMPayload.md) - [ClonehistoryListElement](docs/ClonehistoryListElement.md) + - [ColleagueRequestCompoundV2](docs/ColleagueRequestCompoundV2.md) + - [ColleagueRequestV2](docs/ColleagueRequestV2.md) + - [ColleagueResponseCompoundV2](docs/ColleagueResponseCompoundV2.md) + - [ColleagueResponseV2](docs/ColleagueResponseV2.md) - [CommonAudit](docs/CommonAudit.md) - [CommonAuditdetail](docs/CommonAuditdetail.md) - [CommonFile](docs/CommonFile.md) @@ -562,9 +694,11 @@ Class | Method | HTTP request | Description - [CommonReportsubsectionpart](docs/CommonReportsubsectionpart.md) - [CommonResponse](docs/CommonResponse.md) - [CommonResponseError](docs/CommonResponseError.md) + - [CommonResponseErrorCreditcardValidation](docs/CommonResponseErrorCreditcardValidation.md) - [CommonResponseErrorEzsignformValidation](docs/CommonResponseErrorEzsignformValidation.md) - [CommonResponseErrorSTemporaryFileUrl](docs/CommonResponseErrorSTemporaryFileUrl.md) - [CommonResponseErrorTooManyRequests](docs/CommonResponseErrorTooManyRequests.md) + - [CommonResponseErrorWrongFranchiseoffice](docs/CommonResponseErrorWrongFranchiseoffice.md) - [CommonResponseFilter](docs/CommonResponseFilter.md) - [CommonResponseGetList](docs/CommonResponseGetList.md) - [CommonResponseObjDebug](docs/CommonResponseObjDebug.md) @@ -574,11 +708,11 @@ Class | Method | HTTP request | Description - [CommonResponseRedirectSSecretquestionTextX](docs/CommonResponseRedirectSSecretquestionTextX.md) - [CommonResponseWarning](docs/CommonResponseWarning.md) - [CommonWebhook](docs/CommonWebhook.md) - - [CommunicationCreateObjectV1ResponseMPayload](docs/CommunicationCreateObjectV1ResponseMPayload.md) - [CommunicationRequest](docs/CommunicationRequest.md) - [CommunicationRequestCompound](docs/CommunicationRequestCompound.md) - [CommunicationSendV1Request](docs/CommunicationSendV1Request.md) - [CommunicationSendV1Response](docs/CommunicationSendV1Response.md) + - [CommunicationSendV1ResponseMPayload](docs/CommunicationSendV1ResponseMPayload.md) - [CommunicationattachmentRequest](docs/CommunicationattachmentRequest.md) - [CommunicationattachmentRequestCompound](docs/CommunicationattachmentRequestCompound.md) - [CommunicationexternalrecipientRequest](docs/CommunicationexternalrecipientRequest.md) @@ -592,10 +726,22 @@ Class | Method | HTTP request | Description - [CompanyGetAutocompleteV2ResponseMPayload](docs/CompanyGetAutocompleteV2ResponseMPayload.md) - [ComputedECommunicationDirection](docs/ComputedECommunicationDirection.md) - [ComputedEEzsigndocumentSteptype](docs/ComputedEEzsigndocumentSteptype.md) + - [ComputedEEzsignfolderAccess](docs/ComputedEEzsignfolderAccess.md) - [ContactRequest](docs/ContactRequest.md) - [ContactRequestCompound](docs/ContactRequestCompound.md) + - [ContactRequestCompoundV2](docs/ContactRequestCompoundV2.md) + - [ContactRequestV2](docs/ContactRequestV2.md) + - [ContactResponse](docs/ContactResponse.md) + - [ContactResponseCompound](docs/ContactResponseCompound.md) - [ContactinformationsRequest](docs/ContactinformationsRequest.md) - [ContactinformationsRequestCompound](docs/ContactinformationsRequestCompound.md) + - [ContactinformationsRequestCompoundV2](docs/ContactinformationsRequestCompoundV2.md) + - [ContactinformationsRequestV2](docs/ContactinformationsRequestV2.md) + - [ContactinformationsResponse](docs/ContactinformationsResponse.md) + - [ContactinformationsResponseCompound](docs/ContactinformationsResponseCompound.md) + - [ContacttitleAutocompleteElementResponse](docs/ContacttitleAutocompleteElementResponse.md) + - [ContacttitleGetAutocompleteV2Response](docs/ContacttitleGetAutocompleteV2Response.md) + - [ContacttitleGetAutocompleteV2ResponseMPayload](docs/ContacttitleGetAutocompleteV2ResponseMPayload.md) - [CorsCreateObjectV1Request](docs/CorsCreateObjectV1Request.md) - [CorsCreateObjectV1Response](docs/CorsCreateObjectV1Response.md) - [CorsCreateObjectV1ResponseMPayload](docs/CorsCreateObjectV1ResponseMPayload.md) @@ -625,8 +771,11 @@ Class | Method | HTTP request | Description - [CreditcardclientGetObjectV2Response](docs/CreditcardclientGetObjectV2Response.md) - [CreditcardclientGetObjectV2ResponseMPayload](docs/CreditcardclientGetObjectV2ResponseMPayload.md) - [CreditcardclientListElement](docs/CreditcardclientListElement.md) + - [CreditcardclientPatchObjectV1Request](docs/CreditcardclientPatchObjectV1Request.md) + - [CreditcardclientPatchObjectV1Response](docs/CreditcardclientPatchObjectV1Response.md) - [CreditcardclientRequest](docs/CreditcardclientRequest.md) - [CreditcardclientRequestCompound](docs/CreditcardclientRequestCompound.md) + - [CreditcardclientRequestPatch](docs/CreditcardclientRequestPatch.md) - [CreditcardclientResponse](docs/CreditcardclientResponse.md) - [CreditcardclientResponseCompound](docs/CreditcardclientResponseCompound.md) - [CreditcarddetailRequest](docs/CreditcarddetailRequest.md) @@ -635,8 +784,11 @@ Class | Method | HTTP request | Description - [CreditcardtypeAutocompleteElementResponse](docs/CreditcardtypeAutocompleteElementResponse.md) - [CreditcardtypeGetAutocompleteV2Response](docs/CreditcardtypeGetAutocompleteV2Response.md) - [CreditcardtypeGetAutocompleteV2ResponseMPayload](docs/CreditcardtypeGetAutocompleteV2ResponseMPayload.md) + - [CustomApikey](docs/CustomApikey.md) + - [CustomApikeyfederation](docs/CustomApikeyfederation.md) - [CustomAttachmentResponse](docs/CustomAttachmentResponse.md) - [CustomAttachmentdocumenttypeResponse](docs/CustomAttachmentdocumenttypeResponse.md) + - [CustomBrandingResponse](docs/CustomBrandingResponse.md) - [CustomCommunicationListElementResponse](docs/CustomCommunicationListElementResponse.md) - [CustomCommunicationattachmentRequest](docs/CustomCommunicationattachmentRequest.md) - [CustomCommunicationrecipientsgroupResponse](docs/CustomCommunicationrecipientsgroupResponse.md) @@ -646,16 +798,22 @@ Class | Method | HTTP request | Description - [CustomContactNameResponse](docs/CustomContactNameResponse.md) - [CustomCreateEzsignelementsPositionedByWordRequest](docs/CustomCreateEzsignelementsPositionedByWordRequest.md) - [CustomCreditcardtransactionResponse](docs/CustomCreditcardtransactionResponse.md) + - [CustomCreditcardtransactionresponseResponse](docs/CustomCreditcardtransactionresponseResponse.md) - [CustomDiscussionconfigurationResponse](docs/CustomDiscussionconfigurationResponse.md) + - [CustomDnsrecordResponse](docs/CustomDnsrecordResponse.md) - [CustomDropdownElementRequest](docs/CustomDropdownElementRequest.md) - [CustomDropdownElementRequestCompound](docs/CustomDropdownElementRequestCompound.md) - [CustomDropdownElementResponse](docs/CustomDropdownElementResponse.md) - [CustomDropdownElementResponseCompound](docs/CustomDropdownElementResponseCompound.md) + - [CustomEWebhookEzsignevent](docs/CustomEWebhookEzsignevent.md) - [CustomEzmaxinvoicingEzsigndocumentResponse](docs/CustomEzmaxinvoicingEzsigndocumentResponse.md) - [CustomEzmaxinvoicingEzsignfolderResponse](docs/CustomEzmaxinvoicingEzsignfolderResponse.md) - [CustomEzmaxpricingResponse](docs/CustomEzmaxpricingResponse.md) - [CustomEzsigndocumentEzsignsignaturesAutomaticResponse](docs/CustomEzsigndocumentEzsignsignaturesAutomaticResponse.md) + - [CustomEzsigndocumentRequest](docs/CustomEzsigndocumentRequest.md) - [CustomEzsignfolderEzsignsignaturesAutomaticResponse](docs/CustomEzsignfolderEzsignsignaturesAutomaticResponse.md) + - [CustomEzsignfolderezsigntemplatepublicResponse](docs/CustomEzsignfolderezsigntemplatepublicResponse.md) + - [CustomEzsignfolderezsigntemplatepublicSignerResponse](docs/CustomEzsignfolderezsigntemplatepublicSignerResponse.md) - [CustomEzsignfoldersignerassociationActionableElementResponse](docs/CustomEzsignfoldersignerassociationActionableElementResponse.md) - [CustomEzsignfoldersignerassociationstatusResponse](docs/CustomEzsignfoldersignerassociationstatusResponse.md) - [CustomEzsignfoldertransmissionResponse](docs/CustomEzsignfoldertransmissionResponse.md) @@ -677,11 +835,21 @@ Class | Method | HTTP request | Description - [CustomImportEzsigntemplatepackageRelationRequest](docs/CustomImportEzsigntemplatepackageRelationRequest.md) - [CustomNotificationsubsectiongetnotificationtestsResponse](docs/CustomNotificationsubsectiongetnotificationtestsResponse.md) - [CustomNotificationtestgetnotificationtestsResponse](docs/CustomNotificationtestgetnotificationtestsResponse.md) - - [CustomUserResponse](docs/CustomUserResponse.md) + - [CustomTimezoneWithCodeResponse](docs/CustomTimezoneWithCodeResponse.md) + - [CustomUserNameResponse](docs/CustomUserNameResponse.md) - [CustomWebhookResponse](docs/CustomWebhookResponse.md) - [CustomWebhooklogResponse](docs/CustomWebhooklogResponse.md) - [CustomWordPositionOccurenceResponse](docs/CustomWordPositionOccurenceResponse.md) - [CustomWordPositionWordResponse](docs/CustomWordPositionWordResponse.md) + - [CustomerCreateObjectV1Request](docs/CustomerCreateObjectV1Request.md) + - [CustomerCreateObjectV1Response](docs/CustomerCreateObjectV1Response.md) + - [CustomerCreateObjectV1ResponseMPayload](docs/CustomerCreateObjectV1ResponseMPayload.md) + - [CustomerGetObjectV2Response](docs/CustomerGetObjectV2Response.md) + - [CustomerGetObjectV2ResponseMPayload](docs/CustomerGetObjectV2ResponseMPayload.md) + - [CustomerRequest](docs/CustomerRequest.md) + - [CustomerRequestCompound](docs/CustomerRequestCompound.md) + - [CustomerResponse](docs/CustomerResponse.md) + - [CustomerResponseCompound](docs/CustomerResponseCompound.md) - [DepartmentAutocompleteElementResponse](docs/DepartmentAutocompleteElementResponse.md) - [DepartmentGetAutocompleteV2Response](docs/DepartmentGetAutocompleteV2Response.md) - [DepartmentGetAutocompleteV2ResponseMPayload](docs/DepartmentGetAutocompleteV2ResponseMPayload.md) @@ -719,8 +887,27 @@ Class | Method | HTTP request | Description - [DiscussionmessageRequestPatch](docs/DiscussionmessageRequestPatch.md) - [DiscussionmessageResponse](docs/DiscussionmessageResponse.md) - [DiscussionmessageResponseCompound](docs/DiscussionmessageResponseCompound.md) + - [DomainCreateObjectV1Request](docs/DomainCreateObjectV1Request.md) + - [DomainCreateObjectV1Response](docs/DomainCreateObjectV1Response.md) + - [DomainCreateObjectV1ResponseMPayload](docs/DomainCreateObjectV1ResponseMPayload.md) + - [DomainDeleteObjectV1Response](docs/DomainDeleteObjectV1Response.md) + - [DomainGetListV1Response](docs/DomainGetListV1Response.md) + - [DomainGetListV1ResponseMPayload](docs/DomainGetListV1ResponseMPayload.md) + - [DomainGetObjectV2Response](docs/DomainGetObjectV2Response.md) + - [DomainGetObjectV2ResponseMPayload](docs/DomainGetObjectV2ResponseMPayload.md) + - [DomainListElement](docs/DomainListElement.md) + - [DomainRequest](docs/DomainRequest.md) + - [DomainRequestCompound](docs/DomainRequestCompound.md) + - [DomainResponse](docs/DomainResponse.md) + - [DomainResponseCompound](docs/DomainResponseCompound.md) + - [ElectronicfundstransferGetCommunicationCountV1Response](docs/ElectronicfundstransferGetCommunicationCountV1Response.md) + - [ElectronicfundstransferGetCommunicationCountV1ResponseMPayload](docs/ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.md) - [ElectronicfundstransferGetCommunicationListV1Response](docs/ElectronicfundstransferGetCommunicationListV1Response.md) - [ElectronicfundstransferGetCommunicationListV1ResponseMPayload](docs/ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md) + - [ElectronicfundstransferGetCommunicationrecipientsV1Response](docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md) + - [ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload](docs/ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.md) + - [ElectronicfundstransferGetCommunicationsendersV1Response](docs/ElectronicfundstransferGetCommunicationsendersV1Response.md) + - [ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload](docs/ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.md) - [EmailRequest](docs/EmailRequest.md) - [EmailRequestCompound](docs/EmailRequestCompound.md) - [EmailResponse](docs/EmailResponse.md) @@ -733,6 +920,32 @@ Class | Method | HTTP request | Description - [EnumHorizontalalignment](docs/EnumHorizontalalignment.md) - [EnumTextvalidation](docs/EnumTextvalidation.md) - [EnumVerticalalignment](docs/EnumVerticalalignment.md) + - [EzdoctemplatedocumentAutocompleteElementResponse](docs/EzdoctemplatedocumentAutocompleteElementResponse.md) + - [EzdoctemplatedocumentCreateObjectV1Request](docs/EzdoctemplatedocumentCreateObjectV1Request.md) + - [EzdoctemplatedocumentCreateObjectV1Response](docs/EzdoctemplatedocumentCreateObjectV1Response.md) + - [EzdoctemplatedocumentCreateObjectV1ResponseMPayload](docs/EzdoctemplatedocumentCreateObjectV1ResponseMPayload.md) + - [EzdoctemplatedocumentEditObjectV1Request](docs/EzdoctemplatedocumentEditObjectV1Request.md) + - [EzdoctemplatedocumentEditObjectV1Response](docs/EzdoctemplatedocumentEditObjectV1Response.md) + - [EzdoctemplatedocumentGetAutocompleteV2Response](docs/EzdoctemplatedocumentGetAutocompleteV2Response.md) + - [EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload](docs/EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.md) + - [EzdoctemplatedocumentGetListV1Response](docs/EzdoctemplatedocumentGetListV1Response.md) + - [EzdoctemplatedocumentGetListV1ResponseMPayload](docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md) + - [EzdoctemplatedocumentGetObjectV2Response](docs/EzdoctemplatedocumentGetObjectV2Response.md) + - [EzdoctemplatedocumentGetObjectV2ResponseMPayload](docs/EzdoctemplatedocumentGetObjectV2ResponseMPayload.md) + - [EzdoctemplatedocumentListElement](docs/EzdoctemplatedocumentListElement.md) + - [EzdoctemplatedocumentPatchObjectV1Request](docs/EzdoctemplatedocumentPatchObjectV1Request.md) + - [EzdoctemplatedocumentPatchObjectV1Response](docs/EzdoctemplatedocumentPatchObjectV1Response.md) + - [EzdoctemplatedocumentRequest](docs/EzdoctemplatedocumentRequest.md) + - [EzdoctemplatedocumentRequestCompound](docs/EzdoctemplatedocumentRequestCompound.md) + - [EzdoctemplatedocumentRequestPatch](docs/EzdoctemplatedocumentRequestPatch.md) + - [EzdoctemplatedocumentResponse](docs/EzdoctemplatedocumentResponse.md) + - [EzdoctemplatedocumentResponseCompound](docs/EzdoctemplatedocumentResponseCompound.md) + - [EzdoctemplatefieldtypecategoryAutocompleteElementResponse](docs/EzdoctemplatefieldtypecategoryAutocompleteElementResponse.md) + - [EzdoctemplatefieldtypecategoryGetAutocompleteV2Response](docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md) + - [EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload](docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.md) + - [EzdoctemplatetypeAutocompleteElementResponse](docs/EzdoctemplatetypeAutocompleteElementResponse.md) + - [EzdoctemplatetypeGetAutocompleteV2Response](docs/EzdoctemplatetypeGetAutocompleteV2Response.md) + - [EzdoctemplatetypeGetAutocompleteV2ResponseMPayload](docs/EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.md) - [EzmaxinvoicingAutocompleteElementResponse](docs/EzmaxinvoicingAutocompleteElementResponse.md) - [EzmaxinvoicingGetAutocompleteV2Response](docs/EzmaxinvoicingGetAutocompleteV2Response.md) - [EzmaxinvoicingGetAutocompleteV2ResponseMPayload](docs/EzmaxinvoicingGetAutocompleteV2ResponseMPayload.md) @@ -763,15 +976,21 @@ Class | Method | HTTP request | Description - [EzmaxproductAutocompleteElementResponse](docs/EzmaxproductAutocompleteElementResponse.md) - [EzmaxproductGetAutocompleteV2Response](docs/EzmaxproductGetAutocompleteV2Response.md) - [EzmaxproductGetAutocompleteV2ResponseMPayload](docs/EzmaxproductGetAutocompleteV2ResponseMPayload.md) - - [EzsignSuggestSignersV1Response](docs/EzsignSuggestSignersV1Response.md) - - [EzsignSuggestSignersV1ResponseMPayload](docs/EzsignSuggestSignersV1ResponseMPayload.md) - - [EzsignSuggestTemplatesV1Response](docs/EzsignSuggestTemplatesV1Response.md) - - [EzsignSuggestTemplatesV1ResponseMPayload](docs/EzsignSuggestTemplatesV1ResponseMPayload.md) + - [EzsignannotationCreateObjectV1Request](docs/EzsignannotationCreateObjectV1Request.md) + - [EzsignannotationCreateObjectV1Response](docs/EzsignannotationCreateObjectV1Response.md) + - [EzsignannotationCreateObjectV1ResponseMPayload](docs/EzsignannotationCreateObjectV1ResponseMPayload.md) + - [EzsignannotationDeleteObjectV1Response](docs/EzsignannotationDeleteObjectV1Response.md) + - [EzsignannotationEditObjectV1Request](docs/EzsignannotationEditObjectV1Request.md) + - [EzsignannotationEditObjectV1Response](docs/EzsignannotationEditObjectV1Response.md) + - [EzsignannotationGetObjectV2Response](docs/EzsignannotationGetObjectV2Response.md) + - [EzsignannotationGetObjectV2ResponseMPayload](docs/EzsignannotationGetObjectV2ResponseMPayload.md) + - [EzsignannotationRequest](docs/EzsignannotationRequest.md) + - [EzsignannotationRequestCompound](docs/EzsignannotationRequestCompound.md) - [EzsignannotationResponse](docs/EzsignannotationResponse.md) - [EzsignannotationResponseCompound](docs/EzsignannotationResponseCompound.md) - - [EzsignbulksendCreateEzsignbulksendtransmissionV1Request](docs/EzsignbulksendCreateEzsignbulksendtransmissionV1Request.md) - - [EzsignbulksendCreateEzsignbulksendtransmissionV1Response](docs/EzsignbulksendCreateEzsignbulksendtransmissionV1Response.md) - - [EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload](docs/EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload.md) + - [EzsignbulksendCreateEzsignbulksendtransmissionV2Request](docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Request.md) + - [EzsignbulksendCreateEzsignbulksendtransmissionV2Response](docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md) + - [EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload](docs/EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.md) - [EzsignbulksendCreateObjectV1Request](docs/EzsignbulksendCreateObjectV1Request.md) - [EzsignbulksendCreateObjectV1Response](docs/EzsignbulksendCreateObjectV1Response.md) - [EzsignbulksendCreateObjectV1ResponseMPayload](docs/EzsignbulksendCreateObjectV1ResponseMPayload.md) @@ -839,6 +1058,7 @@ Class | Method | HTTP request | Description - [EzsigndocumentApplyEzsigntemplateV2Response](docs/EzsigndocumentApplyEzsigntemplateV2Response.md) - [EzsigndocumentApplyEzsigntemplateglobalV1Request](docs/EzsigndocumentApplyEzsigntemplateglobalV1Request.md) - [EzsigndocumentApplyEzsigntemplateglobalV1Response](docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md) + - [EzsigndocumentCreateElementV3Response](docs/EzsigndocumentCreateElementV3Response.md) - [EzsigndocumentCreateEzsignelementsPositionedByWordV1Request](docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Request.md) - [EzsigndocumentCreateEzsignelementsPositionedByWordV1Response](docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md) - [EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload](docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload.md) @@ -848,16 +1068,27 @@ Class | Method | HTTP request | Description - [EzsigndocumentCreateObjectV2Request](docs/EzsigndocumentCreateObjectV2Request.md) - [EzsigndocumentCreateObjectV2Response](docs/EzsigndocumentCreateObjectV2Response.md) - [EzsigndocumentCreateObjectV2ResponseMPayload](docs/EzsigndocumentCreateObjectV2ResponseMPayload.md) + - [EzsigndocumentCreateObjectV3Request](docs/EzsigndocumentCreateObjectV3Request.md) + - [EzsigndocumentCreateObjectV3Response](docs/EzsigndocumentCreateObjectV3Response.md) + - [EzsigndocumentCreateObjectV3ResponseMPayload](docs/EzsigndocumentCreateObjectV3ResponseMPayload.md) - [EzsigndocumentDeclineToSignV1Request](docs/EzsigndocumentDeclineToSignV1Request.md) - [EzsigndocumentDeclineToSignV1Response](docs/EzsigndocumentDeclineToSignV1Response.md) - [EzsigndocumentDeleteObjectV1Response](docs/EzsigndocumentDeleteObjectV1Response.md) + - [EzsigndocumentEditEzsignannotationsV1Request](docs/EzsigndocumentEditEzsignannotationsV1Request.md) + - [EzsigndocumentEditEzsignannotationsV1Response](docs/EzsigndocumentEditEzsignannotationsV1Response.md) + - [EzsigndocumentEditEzsignannotationsV1ResponseMPayload](docs/EzsigndocumentEditEzsignannotationsV1ResponseMPayload.md) - [EzsigndocumentEditEzsignformfieldgroupsV1Request](docs/EzsigndocumentEditEzsignformfieldgroupsV1Request.md) - [EzsigndocumentEditEzsignformfieldgroupsV1Response](docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md) - [EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload](docs/EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload.md) - [EzsigndocumentEditEzsignsignaturesV1Request](docs/EzsigndocumentEditEzsignsignaturesV1Request.md) - [EzsigndocumentEditEzsignsignaturesV1Response](docs/EzsigndocumentEditEzsignsignaturesV1Response.md) - [EzsigndocumentEditEzsignsignaturesV1ResponseMPayload](docs/EzsigndocumentEditEzsignsignaturesV1ResponseMPayload.md) + - [EzsigndocumentEditObjectV1Request](docs/EzsigndocumentEditObjectV1Request.md) + - [EzsigndocumentEditObjectV1Response](docs/EzsigndocumentEditObjectV1Response.md) - [EzsigndocumentEndPrematurelyV1Response](docs/EzsigndocumentEndPrematurelyV1Response.md) + - [EzsigndocumentExtractTextV1Request](docs/EzsigndocumentExtractTextV1Request.md) + - [EzsigndocumentExtractTextV1Response](docs/EzsigndocumentExtractTextV1Response.md) + - [EzsigndocumentExtractTextV1ResponseMPayload](docs/EzsigndocumentExtractTextV1ResponseMPayload.md) - [EzsigndocumentFlattenV1Response](docs/EzsigndocumentFlattenV1Response.md) - [EzsigndocumentGetActionableElementsV1Response](docs/EzsigndocumentGetActionableElementsV1Response.md) - [EzsigndocumentGetActionableElementsV1ResponseMPayload](docs/EzsigndocumentGetActionableElementsV1ResponseMPayload.md) @@ -889,6 +1120,7 @@ Class | Method | HTTP request | Description - [EzsigndocumentGetTemporaryProofV1ResponseMPayload](docs/EzsigndocumentGetTemporaryProofV1ResponseMPayload.md) - [EzsigndocumentGetWordsPositionsV1Request](docs/EzsigndocumentGetWordsPositionsV1Request.md) - [EzsigndocumentGetWordsPositionsV1Response](docs/EzsigndocumentGetWordsPositionsV1Response.md) + - [EzsigndocumentMatchingtemplateV3Response](docs/EzsigndocumentMatchingtemplateV3Response.md) - [EzsigndocumentPatchObjectV1Request](docs/EzsigndocumentPatchObjectV1Request.md) - [EzsigndocumentPatchObjectV1Response](docs/EzsigndocumentPatchObjectV1Response.md) - [EzsigndocumentRequest](docs/EzsigndocumentRequest.md) @@ -899,6 +1131,9 @@ Class | Method | HTTP request | Description - [EzsigndocumentSubmitEzsignformV1Request](docs/EzsigndocumentSubmitEzsignformV1Request.md) - [EzsigndocumentSubmitEzsignformV1Response](docs/EzsigndocumentSubmitEzsignformV1Response.md) - [EzsigndocumentUnsendV1Response](docs/EzsigndocumentUnsendV1Response.md) + - [EzsigndocumentdependencyRequest](docs/EzsigndocumentdependencyRequest.md) + - [EzsigndocumentdependencyRequestCompound](docs/EzsigndocumentdependencyRequestCompound.md) + - [EzsigndocumentdependencyResponse](docs/EzsigndocumentdependencyResponse.md) - [EzsigndocumentlogResponse](docs/EzsigndocumentlogResponse.md) - [EzsigndocumentlogResponseCompound](docs/EzsigndocumentlogResponseCompound.md) - [EzsignelementdependencyRequest](docs/EzsignelementdependencyRequest.md) @@ -913,12 +1148,15 @@ Class | Method | HTTP request | Description - [EzsignfolderCreateObjectV2Request](docs/EzsignfolderCreateObjectV2Request.md) - [EzsignfolderCreateObjectV2Response](docs/EzsignfolderCreateObjectV2Response.md) - [EzsignfolderCreateObjectV2ResponseMPayload](docs/EzsignfolderCreateObjectV2ResponseMPayload.md) + - [EzsignfolderCreateObjectV3Request](docs/EzsignfolderCreateObjectV3Request.md) + - [EzsignfolderCreateObjectV3Response](docs/EzsignfolderCreateObjectV3Response.md) + - [EzsignfolderCreateObjectV3ResponseMPayload](docs/EzsignfolderCreateObjectV3ResponseMPayload.md) - [EzsignfolderDeleteObjectV1Response](docs/EzsignfolderDeleteObjectV1Response.md) - [EzsignfolderDisposeEzsignfoldersV1Request](docs/EzsignfolderDisposeEzsignfoldersV1Request.md) - [EzsignfolderDisposeEzsignfoldersV1Response](docs/EzsignfolderDisposeEzsignfoldersV1Response.md) - [EzsignfolderDisposeV1Response](docs/EzsignfolderDisposeV1Response.md) - - [EzsignfolderEditObjectV1Request](docs/EzsignfolderEditObjectV1Request.md) - - [EzsignfolderEditObjectV1Response](docs/EzsignfolderEditObjectV1Response.md) + - [EzsignfolderEditObjectV3Request](docs/EzsignfolderEditObjectV3Request.md) + - [EzsignfolderEditObjectV3Response](docs/EzsignfolderEditObjectV3Response.md) - [EzsignfolderEndPrematurelyV1Response](docs/EzsignfolderEndPrematurelyV1Response.md) - [EzsignfolderGetActionableElementsV1Response](docs/EzsignfolderGetActionableElementsV1Response.md) - [EzsignfolderGetActionableElementsV1ResponseMPayload](docs/EzsignfolderGetActionableElementsV1ResponseMPayload.md) @@ -948,6 +1186,8 @@ Class | Method | HTTP request | Description - [EzsignfolderGetObjectV1ResponseMPayload](docs/EzsignfolderGetObjectV1ResponseMPayload.md) - [EzsignfolderGetObjectV2Response](docs/EzsignfolderGetObjectV2Response.md) - [EzsignfolderGetObjectV2ResponseMPayload](docs/EzsignfolderGetObjectV2ResponseMPayload.md) + - [EzsignfolderGetObjectV3Response](docs/EzsignfolderGetObjectV3Response.md) + - [EzsignfolderGetObjectV3ResponseMPayload](docs/EzsignfolderGetObjectV3ResponseMPayload.md) - [EzsignfolderImportEzsignfoldersignerassociationsV1Request](docs/EzsignfolderImportEzsignfoldersignerassociationsV1Request.md) - [EzsignfolderImportEzsignfoldersignerassociationsV1Response](docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md) - [EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload](docs/EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload.md) @@ -957,10 +1197,16 @@ Class | Method | HTTP request | Description - [EzsignfolderListElement](docs/EzsignfolderListElement.md) - [EzsignfolderReorderV1Request](docs/EzsignfolderReorderV1Request.md) - [EzsignfolderReorderV1Response](docs/EzsignfolderReorderV1Response.md) + - [EzsignfolderReorderV2Request](docs/EzsignfolderReorderV2Request.md) + - [EzsignfolderReorderV2Response](docs/EzsignfolderReorderV2Response.md) - [EzsignfolderRequest](docs/EzsignfolderRequest.md) - [EzsignfolderRequestCompound](docs/EzsignfolderRequestCompound.md) + - [EzsignfolderRequestCompoundV3](docs/EzsignfolderRequestCompoundV3.md) + - [EzsignfolderRequestV3](docs/EzsignfolderRequestV3.md) - [EzsignfolderResponse](docs/EzsignfolderResponse.md) - [EzsignfolderResponseCompound](docs/EzsignfolderResponseCompound.md) + - [EzsignfolderResponseCompoundV3](docs/EzsignfolderResponseCompoundV3.md) + - [EzsignfolderResponseV3](docs/EzsignfolderResponseV3.md) - [EzsignfolderSendV1Request](docs/EzsignfolderSendV1Request.md) - [EzsignfolderSendV1Response](docs/EzsignfolderSendV1Response.md) - [EzsignfolderSendV3Request](docs/EzsignfolderSendV3Request.md) @@ -987,6 +1233,8 @@ Class | Method | HTTP request | Description - [EzsignfoldersignerassociationGetObjectV2ResponseMPayload](docs/EzsignfoldersignerassociationGetObjectV2ResponseMPayload.md) - [EzsignfoldersignerassociationPatchObjectV1Request](docs/EzsignfoldersignerassociationPatchObjectV1Request.md) - [EzsignfoldersignerassociationPatchObjectV1Response](docs/EzsignfoldersignerassociationPatchObjectV1Response.md) + - [EzsignfoldersignerassociationReassignV1Request](docs/EzsignfoldersignerassociationReassignV1Request.md) + - [EzsignfoldersignerassociationReassignV1Response](docs/EzsignfoldersignerassociationReassignV1Response.md) - [EzsignfoldersignerassociationRequest](docs/EzsignfoldersignerassociationRequest.md) - [EzsignfoldersignerassociationRequestCompound](docs/EzsignfoldersignerassociationRequestCompound.md) - [EzsignfoldersignerassociationRequestPatch](docs/EzsignfoldersignerassociationRequestPatch.md) @@ -994,30 +1242,26 @@ Class | Method | HTTP request | Description - [EzsignfoldersignerassociationResponseCompound](docs/EzsignfoldersignerassociationResponseCompound.md) - [EzsignfoldersignerassociationResponseCompoundUser](docs/EzsignfoldersignerassociationResponseCompoundUser.md) - [EzsignfoldertypeAutocompleteElementResponse](docs/EzsignfoldertypeAutocompleteElementResponse.md) - - [EzsignfoldertypeCreateObjectV2Request](docs/EzsignfoldertypeCreateObjectV2Request.md) - - [EzsignfoldertypeCreateObjectV2Response](docs/EzsignfoldertypeCreateObjectV2Response.md) - - [EzsignfoldertypeCreateObjectV2ResponseMPayload](docs/EzsignfoldertypeCreateObjectV2ResponseMPayload.md) - - [EzsignfoldertypeEditObjectV1Request](docs/EzsignfoldertypeEditObjectV1Request.md) - - [EzsignfoldertypeEditObjectV1Response](docs/EzsignfoldertypeEditObjectV1Response.md) - - [EzsignfoldertypeEditObjectV2Request](docs/EzsignfoldertypeEditObjectV2Request.md) - - [EzsignfoldertypeEditObjectV2Response](docs/EzsignfoldertypeEditObjectV2Response.md) + - [EzsignfoldertypeCreateObjectV3Request](docs/EzsignfoldertypeCreateObjectV3Request.md) + - [EzsignfoldertypeCreateObjectV3Response](docs/EzsignfoldertypeCreateObjectV3Response.md) + - [EzsignfoldertypeCreateObjectV3ResponseMPayload](docs/EzsignfoldertypeCreateObjectV3ResponseMPayload.md) + - [EzsignfoldertypeEditObjectV3Request](docs/EzsignfoldertypeEditObjectV3Request.md) + - [EzsignfoldertypeEditObjectV3Response](docs/EzsignfoldertypeEditObjectV3Response.md) - [EzsignfoldertypeGetAutocompleteV2Response](docs/EzsignfoldertypeGetAutocompleteV2Response.md) - [EzsignfoldertypeGetAutocompleteV2ResponseMPayload](docs/EzsignfoldertypeGetAutocompleteV2ResponseMPayload.md) - [EzsignfoldertypeGetListV1Response](docs/EzsignfoldertypeGetListV1Response.md) - [EzsignfoldertypeGetListV1ResponseMPayload](docs/EzsignfoldertypeGetListV1ResponseMPayload.md) - [EzsignfoldertypeGetObjectV2Response](docs/EzsignfoldertypeGetObjectV2Response.md) - [EzsignfoldertypeGetObjectV2ResponseMPayload](docs/EzsignfoldertypeGetObjectV2ResponseMPayload.md) - - [EzsignfoldertypeGetObjectV3Response](docs/EzsignfoldertypeGetObjectV3Response.md) - - [EzsignfoldertypeGetObjectV3ResponseMPayload](docs/EzsignfoldertypeGetObjectV3ResponseMPayload.md) + - [EzsignfoldertypeGetObjectV4Response](docs/EzsignfoldertypeGetObjectV4Response.md) + - [EzsignfoldertypeGetObjectV4ResponseMPayload](docs/EzsignfoldertypeGetObjectV4ResponseMPayload.md) - [EzsignfoldertypeListElement](docs/EzsignfoldertypeListElement.md) - - [EzsignfoldertypeRequest](docs/EzsignfoldertypeRequest.md) - - [EzsignfoldertypeRequestCompound](docs/EzsignfoldertypeRequestCompound.md) - - [EzsignfoldertypeRequestCompoundV2](docs/EzsignfoldertypeRequestCompoundV2.md) - - [EzsignfoldertypeRequestV2](docs/EzsignfoldertypeRequestV2.md) + - [EzsignfoldertypeRequestCompoundV3](docs/EzsignfoldertypeRequestCompoundV3.md) + - [EzsignfoldertypeRequestV3](docs/EzsignfoldertypeRequestV3.md) - [EzsignfoldertypeResponse](docs/EzsignfoldertypeResponse.md) - [EzsignfoldertypeResponseCompound](docs/EzsignfoldertypeResponseCompound.md) - - [EzsignfoldertypeResponseCompoundV3](docs/EzsignfoldertypeResponseCompoundV3.md) - - [EzsignfoldertypeResponseV3](docs/EzsignfoldertypeResponseV3.md) + - [EzsignfoldertypeResponseCompoundV4](docs/EzsignfoldertypeResponseCompoundV4.md) + - [EzsignfoldertypeResponseV4](docs/EzsignfoldertypeResponseV4.md) - [EzsignformfieldRequest](docs/EzsignformfieldRequest.md) - [EzsignformfieldRequestCompound](docs/EzsignformfieldRequestCompound.md) - [EzsignformfieldResponse](docs/EzsignformfieldResponse.md) @@ -1047,26 +1291,36 @@ Class | Method | HTTP request | Description - [EzsignsignatureCreateObjectV2Request](docs/EzsignsignatureCreateObjectV2Request.md) - [EzsignsignatureCreateObjectV2Response](docs/EzsignsignatureCreateObjectV2Response.md) - [EzsignsignatureCreateObjectV2ResponseMPayload](docs/EzsignsignatureCreateObjectV2ResponseMPayload.md) + - [EzsignsignatureCreateObjectV3Request](docs/EzsignsignatureCreateObjectV3Request.md) + - [EzsignsignatureCreateObjectV3Response](docs/EzsignsignatureCreateObjectV3Response.md) + - [EzsignsignatureCreateObjectV3ResponseMPayload](docs/EzsignsignatureCreateObjectV3ResponseMPayload.md) - [EzsignsignatureDeleteObjectV1Response](docs/EzsignsignatureDeleteObjectV1Response.md) - - [EzsignsignatureEditObjectV1Request](docs/EzsignsignatureEditObjectV1Request.md) - - [EzsignsignatureEditObjectV1Response](docs/EzsignsignatureEditObjectV1Response.md) + - [EzsignsignatureEditObjectV2Request](docs/EzsignsignatureEditObjectV2Request.md) + - [EzsignsignatureEditObjectV2Response](docs/EzsignsignatureEditObjectV2Response.md) - [EzsignsignatureGetEzsignsignatureattachmentV1Response](docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md) - [EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload](docs/EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload.md) - [EzsignsignatureGetEzsignsignaturesAutomaticV1Response](docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md) - [EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload](docs/EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload.md) - - [EzsignsignatureGetObjectV2Response](docs/EzsignsignatureGetObjectV2Response.md) - - [EzsignsignatureGetObjectV2ResponseMPayload](docs/EzsignsignatureGetObjectV2ResponseMPayload.md) + - [EzsignsignatureGetObjectV3Response](docs/EzsignsignatureGetObjectV3Response.md) + - [EzsignsignatureGetObjectV3ResponseMPayload](docs/EzsignsignatureGetObjectV3ResponseMPayload.md) - [EzsignsignatureRequest](docs/EzsignsignatureRequest.md) - [EzsignsignatureRequestCompound](docs/EzsignsignatureRequestCompound.md) + - [EzsignsignatureRequestCompoundV2](docs/EzsignsignatureRequestCompoundV2.md) - [EzsignsignatureResponse](docs/EzsignsignatureResponse.md) - [EzsignsignatureResponseCompound](docs/EzsignsignatureResponseCompound.md) + - [EzsignsignatureResponseCompoundV3](docs/EzsignsignatureResponseCompoundV3.md) - [EzsignsignatureSignV1Request](docs/EzsignsignatureSignV1Request.md) - [EzsignsignatureSignV1Response](docs/EzsignsignatureSignV1Response.md) + - [EzsignsignatureSignV1ResponseMPayload](docs/EzsignsignatureSignV1ResponseMPayload.md) - [EzsignsignatureattachmentResponse](docs/EzsignsignatureattachmentResponse.md) - [EzsignsignaturecustomdateRequest](docs/EzsignsignaturecustomdateRequest.md) - [EzsignsignaturecustomdateRequestCompound](docs/EzsignsignaturecustomdateRequestCompound.md) + - [EzsignsignaturecustomdateRequestCompoundV2](docs/EzsignsignaturecustomdateRequestCompoundV2.md) + - [EzsignsignaturecustomdateRequestV2](docs/EzsignsignaturecustomdateRequestV2.md) - [EzsignsignaturecustomdateResponse](docs/EzsignsignaturecustomdateResponse.md) - [EzsignsignaturecustomdateResponseCompound](docs/EzsignsignaturecustomdateResponseCompound.md) + - [EzsignsignaturecustomdateResponseCompoundV2](docs/EzsignsignaturecustomdateResponseCompoundV2.md) + - [EzsignsignaturecustomdateResponseV2](docs/EzsignsignaturecustomdateResponseV2.md) - [EzsignsignerRequest](docs/EzsignsignerRequest.md) - [EzsignsignerRequestCompound](docs/EzsignsignerRequestCompound.md) - [EzsignsignerRequestCompoundContact](docs/EzsignsignerRequestCompoundContact.md) @@ -1121,35 +1375,31 @@ Class | Method | HTTP request | Description - [EzsigntemplateCopyV1Request](docs/EzsigntemplateCopyV1Request.md) - [EzsigntemplateCopyV1Response](docs/EzsigntemplateCopyV1Response.md) - [EzsigntemplateCopyV1ResponseMPayload](docs/EzsigntemplateCopyV1ResponseMPayload.md) - - [EzsigntemplateCreateObjectV1Request](docs/EzsigntemplateCreateObjectV1Request.md) - - [EzsigntemplateCreateObjectV1Response](docs/EzsigntemplateCreateObjectV1Response.md) - - [EzsigntemplateCreateObjectV1ResponseMPayload](docs/EzsigntemplateCreateObjectV1ResponseMPayload.md) - - [EzsigntemplateCreateObjectV2Request](docs/EzsigntemplateCreateObjectV2Request.md) - - [EzsigntemplateCreateObjectV2Response](docs/EzsigntemplateCreateObjectV2Response.md) - - [EzsigntemplateCreateObjectV2ResponseMPayload](docs/EzsigntemplateCreateObjectV2ResponseMPayload.md) + - [EzsigntemplateCreateObjectV3Request](docs/EzsigntemplateCreateObjectV3Request.md) + - [EzsigntemplateCreateObjectV3Response](docs/EzsigntemplateCreateObjectV3Response.md) + - [EzsigntemplateCreateObjectV3ResponseMPayload](docs/EzsigntemplateCreateObjectV3ResponseMPayload.md) - [EzsigntemplateDeleteObjectV1Response](docs/EzsigntemplateDeleteObjectV1Response.md) - - [EzsigntemplateEditObjectV1Request](docs/EzsigntemplateEditObjectV1Request.md) - - [EzsigntemplateEditObjectV1Response](docs/EzsigntemplateEditObjectV1Response.md) - - [EzsigntemplateEditObjectV2Request](docs/EzsigntemplateEditObjectV2Request.md) - - [EzsigntemplateEditObjectV2Response](docs/EzsigntemplateEditObjectV2Response.md) + - [EzsigntemplateEditObjectV3Request](docs/EzsigntemplateEditObjectV3Request.md) + - [EzsigntemplateEditObjectV3Response](docs/EzsigntemplateEditObjectV3Response.md) - [EzsigntemplateGetAutocompleteV2Response](docs/EzsigntemplateGetAutocompleteV2Response.md) - [EzsigntemplateGetAutocompleteV2ResponseMPayload](docs/EzsigntemplateGetAutocompleteV2ResponseMPayload.md) - [EzsigntemplateGetListV1Response](docs/EzsigntemplateGetListV1Response.md) - [EzsigntemplateGetListV1ResponseMPayload](docs/EzsigntemplateGetListV1ResponseMPayload.md) - - [EzsigntemplateGetObjectV1Response](docs/EzsigntemplateGetObjectV1Response.md) - - [EzsigntemplateGetObjectV1ResponseMPayload](docs/EzsigntemplateGetObjectV1ResponseMPayload.md) - - [EzsigntemplateGetObjectV2Response](docs/EzsigntemplateGetObjectV2Response.md) - - [EzsigntemplateGetObjectV2ResponseMPayload](docs/EzsigntemplateGetObjectV2ResponseMPayload.md) + - [EzsigntemplateGetObjectV3Response](docs/EzsigntemplateGetObjectV3Response.md) + - [EzsigntemplateGetObjectV3ResponseMPayload](docs/EzsigntemplateGetObjectV3ResponseMPayload.md) - [EzsigntemplateListElement](docs/EzsigntemplateListElement.md) - - [EzsigntemplateRequest](docs/EzsigntemplateRequest.md) - - [EzsigntemplateRequestCompound](docs/EzsigntemplateRequestCompound.md) - - [EzsigntemplateRequestCompoundV2](docs/EzsigntemplateRequestCompoundV2.md) - - [EzsigntemplateRequestV2](docs/EzsigntemplateRequestV2.md) + - [EzsigntemplateRequestCompoundV3](docs/EzsigntemplateRequestCompoundV3.md) + - [EzsigntemplateRequestV3](docs/EzsigntemplateRequestV3.md) - [EzsigntemplateResponse](docs/EzsigntemplateResponse.md) - [EzsigntemplateResponseCompound](docs/EzsigntemplateResponseCompound.md) + - [EzsigntemplateResponseCompoundV3](docs/EzsigntemplateResponseCompoundV3.md) + - [EzsigntemplateResponseV3](docs/EzsigntemplateResponseV3.md) - [EzsigntemplatedocumentCreateObjectV1Request](docs/EzsigntemplatedocumentCreateObjectV1Request.md) - [EzsigntemplatedocumentCreateObjectV1Response](docs/EzsigntemplatedocumentCreateObjectV1Response.md) - [EzsigntemplatedocumentCreateObjectV1ResponseMPayload](docs/EzsigntemplatedocumentCreateObjectV1ResponseMPayload.md) + - [EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request](docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request.md) + - [EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response](docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md) + - [EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload](docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md) - [EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request](docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request.md) - [EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response](docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md) - [EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload](docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload.md) @@ -1158,7 +1408,12 @@ Class | Method | HTTP request | Description - [EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload](docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload.md) - [EzsigntemplatedocumentEditObjectV1Request](docs/EzsigntemplatedocumentEditObjectV1Request.md) - [EzsigntemplatedocumentEditObjectV1Response](docs/EzsigntemplatedocumentEditObjectV1Response.md) + - [EzsigntemplatedocumentExtractTextV1Request](docs/EzsigntemplatedocumentExtractTextV1Request.md) + - [EzsigntemplatedocumentExtractTextV1Response](docs/EzsigntemplatedocumentExtractTextV1Response.md) + - [EzsigntemplatedocumentExtractTextV1ResponseMPayload](docs/EzsigntemplatedocumentExtractTextV1ResponseMPayload.md) - [EzsigntemplatedocumentFlattenV1Response](docs/EzsigntemplatedocumentFlattenV1Response.md) + - [EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response](docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md) + - [EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload](docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md) - [EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response](docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md) - [EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload](docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md) - [EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response](docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md) @@ -1178,6 +1433,18 @@ Class | Method | HTTP request | Description - [EzsigntemplatedocumentResponseCompound](docs/EzsigntemplatedocumentResponseCompound.md) - [EzsigntemplatedocumentpageResponse](docs/EzsigntemplatedocumentpageResponse.md) - [EzsigntemplatedocumentpageResponseCompound](docs/EzsigntemplatedocumentpageResponseCompound.md) + - [EzsigntemplatedocumentpagerecognitionCreateObjectV1Request](docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Request.md) + - [EzsigntemplatedocumentpagerecognitionCreateObjectV1Response](docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md) + - [EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload](docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.md) + - [EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response](docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md) + - [EzsigntemplatedocumentpagerecognitionEditObjectV1Request](docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Request.md) + - [EzsigntemplatedocumentpagerecognitionEditObjectV1Response](docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md) + - [EzsigntemplatedocumentpagerecognitionGetObjectV2Response](docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md) + - [EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload](docs/EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.md) + - [EzsigntemplatedocumentpagerecognitionRequest](docs/EzsigntemplatedocumentpagerecognitionRequest.md) + - [EzsigntemplatedocumentpagerecognitionRequestCompound](docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md) + - [EzsigntemplatedocumentpagerecognitionResponse](docs/EzsigntemplatedocumentpagerecognitionResponse.md) + - [EzsigntemplatedocumentpagerecognitionResponseCompound](docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md) - [EzsigntemplateelementdependencyRequest](docs/EzsigntemplateelementdependencyRequest.md) - [EzsigntemplateelementdependencyRequestCompound](docs/EzsigntemplateelementdependencyRequestCompound.md) - [EzsigntemplateelementdependencyResponse](docs/EzsigntemplateelementdependencyResponse.md) @@ -1267,22 +1534,54 @@ Class | Method | HTTP request | Description - [EzsigntemplatepackagesignermembershipRequestCompound](docs/EzsigntemplatepackagesignermembershipRequestCompound.md) - [EzsigntemplatepackagesignermembershipResponse](docs/EzsigntemplatepackagesignermembershipResponse.md) - [EzsigntemplatepackagesignermembershipResponseCompound](docs/EzsigntemplatepackagesignermembershipResponseCompound.md) - - [EzsigntemplatesignatureCreateObjectV1Request](docs/EzsigntemplatesignatureCreateObjectV1Request.md) - - [EzsigntemplatesignatureCreateObjectV1Response](docs/EzsigntemplatesignatureCreateObjectV1Response.md) - - [EzsigntemplatesignatureCreateObjectV1ResponseMPayload](docs/EzsigntemplatesignatureCreateObjectV1ResponseMPayload.md) + - [EzsigntemplatepublicCreateEzsignfolderV1Request](docs/EzsigntemplatepublicCreateEzsignfolderV1Request.md) + - [EzsigntemplatepublicCreateEzsignfolderV1Response](docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md) + - [EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload](docs/EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.md) + - [EzsigntemplatepublicCreateObjectV1Request](docs/EzsigntemplatepublicCreateObjectV1Request.md) + - [EzsigntemplatepublicCreateObjectV1Response](docs/EzsigntemplatepublicCreateObjectV1Response.md) + - [EzsigntemplatepublicCreateObjectV1ResponseMPayload](docs/EzsigntemplatepublicCreateObjectV1ResponseMPayload.md) + - [EzsigntemplatepublicEditObjectV1Request](docs/EzsigntemplatepublicEditObjectV1Request.md) + - [EzsigntemplatepublicEditObjectV1Response](docs/EzsigntemplatepublicEditObjectV1Response.md) + - [EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request](docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request.md) + - [EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response](docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md) + - [EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload](docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md) + - [EzsigntemplatepublicGetFormsDataV1Response](docs/EzsigntemplatepublicGetFormsDataV1Response.md) + - [EzsigntemplatepublicGetFormsDataV1ResponseMPayload](docs/EzsigntemplatepublicGetFormsDataV1ResponseMPayload.md) + - [EzsigntemplatepublicGetListV1Response](docs/EzsigntemplatepublicGetListV1Response.md) + - [EzsigntemplatepublicGetListV1ResponseMPayload](docs/EzsigntemplatepublicGetListV1ResponseMPayload.md) + - [EzsigntemplatepublicGetObjectV2Response](docs/EzsigntemplatepublicGetObjectV2Response.md) + - [EzsigntemplatepublicGetObjectV2ResponseMPayload](docs/EzsigntemplatepublicGetObjectV2ResponseMPayload.md) + - [EzsigntemplatepublicListElement](docs/EzsigntemplatepublicListElement.md) + - [EzsigntemplatepublicRequest](docs/EzsigntemplatepublicRequest.md) + - [EzsigntemplatepublicRequestCompound](docs/EzsigntemplatepublicRequestCompound.md) + - [EzsigntemplatepublicResetLimitExceededCounterV1Response](docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md) + - [EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload](docs/EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.md) + - [EzsigntemplatepublicResetUrlV1Response](docs/EzsigntemplatepublicResetUrlV1Response.md) + - [EzsigntemplatepublicResetUrlV1ResponseMPayload](docs/EzsigntemplatepublicResetUrlV1ResponseMPayload.md) + - [EzsigntemplatepublicResponse](docs/EzsigntemplatepublicResponse.md) + - [EzsigntemplatepublicResponseCompound](docs/EzsigntemplatepublicResponseCompound.md) + - [EzsigntemplatesignatureCreateObjectV2Request](docs/EzsigntemplatesignatureCreateObjectV2Request.md) + - [EzsigntemplatesignatureCreateObjectV2Response](docs/EzsigntemplatesignatureCreateObjectV2Response.md) + - [EzsigntemplatesignatureCreateObjectV2ResponseMPayload](docs/EzsigntemplatesignatureCreateObjectV2ResponseMPayload.md) - [EzsigntemplatesignatureDeleteObjectV1Response](docs/EzsigntemplatesignatureDeleteObjectV1Response.md) - - [EzsigntemplatesignatureEditObjectV1Request](docs/EzsigntemplatesignatureEditObjectV1Request.md) - - [EzsigntemplatesignatureEditObjectV1Response](docs/EzsigntemplatesignatureEditObjectV1Response.md) - - [EzsigntemplatesignatureGetObjectV2Response](docs/EzsigntemplatesignatureGetObjectV2Response.md) - - [EzsigntemplatesignatureGetObjectV2ResponseMPayload](docs/EzsigntemplatesignatureGetObjectV2ResponseMPayload.md) + - [EzsigntemplatesignatureEditObjectV2Request](docs/EzsigntemplatesignatureEditObjectV2Request.md) + - [EzsigntemplatesignatureEditObjectV2Response](docs/EzsigntemplatesignatureEditObjectV2Response.md) + - [EzsigntemplatesignatureGetObjectV3Response](docs/EzsigntemplatesignatureGetObjectV3Response.md) + - [EzsigntemplatesignatureGetObjectV3ResponseMPayload](docs/EzsigntemplatesignatureGetObjectV3ResponseMPayload.md) - [EzsigntemplatesignatureRequest](docs/EzsigntemplatesignatureRequest.md) - [EzsigntemplatesignatureRequestCompound](docs/EzsigntemplatesignatureRequestCompound.md) + - [EzsigntemplatesignatureRequestCompoundV2](docs/EzsigntemplatesignatureRequestCompoundV2.md) - [EzsigntemplatesignatureResponse](docs/EzsigntemplatesignatureResponse.md) - [EzsigntemplatesignatureResponseCompound](docs/EzsigntemplatesignatureResponseCompound.md) + - [EzsigntemplatesignatureResponseCompoundV3](docs/EzsigntemplatesignatureResponseCompoundV3.md) - [EzsigntemplatesignaturecustomdateRequest](docs/EzsigntemplatesignaturecustomdateRequest.md) - [EzsigntemplatesignaturecustomdateRequestCompound](docs/EzsigntemplatesignaturecustomdateRequestCompound.md) + - [EzsigntemplatesignaturecustomdateRequestCompoundV2](docs/EzsigntemplatesignaturecustomdateRequestCompoundV2.md) + - [EzsigntemplatesignaturecustomdateRequestV2](docs/EzsigntemplatesignaturecustomdateRequestV2.md) - [EzsigntemplatesignaturecustomdateResponse](docs/EzsigntemplatesignaturecustomdateResponse.md) - [EzsigntemplatesignaturecustomdateResponseCompound](docs/EzsigntemplatesignaturecustomdateResponseCompound.md) + - [EzsigntemplatesignaturecustomdateResponseCompoundV2](docs/EzsigntemplatesignaturecustomdateResponseCompoundV2.md) + - [EzsigntemplatesignaturecustomdateResponseV2](docs/EzsigntemplatesignaturecustomdateResponseV2.md) - [EzsigntemplatesignerCreateObjectV1Request](docs/EzsigntemplatesignerCreateObjectV1Request.md) - [EzsigntemplatesignerCreateObjectV1Response](docs/EzsigntemplatesignerCreateObjectV1Response.md) - [EzsigntemplatesignerCreateObjectV1ResponseMPayload](docs/EzsigntemplatesignerCreateObjectV1ResponseMPayload.md) @@ -1298,7 +1597,19 @@ Class | Method | HTTP request | Description - [EzsigntsarequirementAutocompleteElementResponse](docs/EzsigntsarequirementAutocompleteElementResponse.md) - [EzsigntsarequirementGetAutocompleteV2Response](docs/EzsigntsarequirementGetAutocompleteV2Response.md) - [EzsigntsarequirementGetAutocompleteV2ResponseMPayload](docs/EzsigntsarequirementGetAutocompleteV2ResponseMPayload.md) + - [EzsignuserEditObjectV1Request](docs/EzsignuserEditObjectV1Request.md) + - [EzsignuserEditObjectV1Response](docs/EzsignuserEditObjectV1Response.md) + - [EzsignuserGetObjectV2Response](docs/EzsignuserGetObjectV2Response.md) + - [EzsignuserGetObjectV2ResponseMPayload](docs/EzsignuserGetObjectV2ResponseMPayload.md) + - [EzsignuserRequest](docs/EzsignuserRequest.md) + - [EzsignuserRequestCompound](docs/EzsignuserRequestCompound.md) + - [EzsignuserResponse](docs/EzsignuserResponse.md) + - [EzsignuserResponseCompound](docs/EzsignuserResponseCompound.md) + - [FieldEActivesessionEzsign](docs/FieldEActivesessionEzsign.md) + - [FieldEActivesessionEzsignaccess](docs/FieldEActivesessionEzsignaccess.md) + - [FieldEActivesessionEzsignprepaid](docs/FieldEActivesessionEzsignprepaid.md) - [FieldEActivesessionOrigin](docs/FieldEActivesessionOrigin.md) + - [FieldEActivesessionRealestateinprogress](docs/FieldEActivesessionRealestateinprogress.md) - [FieldEActivesessionUsertype](docs/FieldEActivesessionUsertype.md) - [FieldEActivesessionWeekdaystart](docs/FieldEActivesessionWeekdaystart.md) - [FieldEAttachmentDocumenttype](docs/FieldEAttachmentDocumenttype.md) @@ -1306,15 +1617,25 @@ Class | Method | HTTP request | Description - [FieldEAttachmentType](docs/FieldEAttachmentType.md) - [FieldEAttachmentVerified](docs/FieldEAttachmentVerified.md) - [FieldEAttachmentlogType](docs/FieldEAttachmentlogType.md) + - [FieldEAuthenticationexternalType](docs/FieldEAuthenticationexternalType.md) + - [FieldEBrandingAlignlogo](docs/FieldEBrandingAlignlogo.md) - [FieldEBrandingLogo](docs/FieldEBrandingLogo.md) - - [FieldEBrandingLogointerface](docs/FieldEBrandingLogointerface.md) + - [FieldEColleagueEzsign](docs/FieldEColleagueEzsign.md) + - [FieldEColleagueRealestateinprogess](docs/FieldEColleagueRealestateinprogess.md) - [FieldECommunicationImportance](docs/FieldECommunicationImportance.md) - [FieldECommunicationType](docs/FieldECommunicationType.md) - [FieldECommunicationexternalrecipientType](docs/FieldECommunicationexternalrecipientType.md) - [FieldECommunicationrecipientType](docs/FieldECommunicationrecipientType.md) + - [FieldEContactType](docs/FieldEContactType.md) + - [FieldEContactinformationsType](docs/FieldEContactinformationsType.md) + - [FieldECreditcardtransactionAvsresult](docs/FieldECreditcardtransactionAvsresult.md) + - [FieldECreditcardtransactionCvdresult](docs/FieldECreditcardtransactionCvdresult.md) - [FieldECreditcardtypeCodename](docs/FieldECreditcardtypeCodename.md) + - [FieldECustomerMarketingcorrespondence](docs/FieldECustomerMarketingcorrespondence.md) + - [FieldECustomerType](docs/FieldECustomerType.md) - [FieldEDiscussionmessageStatus](docs/FieldEDiscussionmessageStatus.md) - [FieldEErrorCode](docs/FieldEErrorCode.md) + - [FieldEEzdoctemplatedocumentPrivacylevel](docs/FieldEEzdoctemplatedocumentPrivacylevel.md) - [FieldEEzmaxinvoicingPaymenttype](docs/FieldEEzmaxinvoicingPaymenttype.md) - [FieldEEzmaxinvoicingagentVariationezmax](docs/FieldEEzmaxinvoicingagentVariationezmax.md) - [FieldEEzmaxinvoicingagentVariationezsign](docs/FieldEEzmaxinvoicingagentVariationezsign.md) @@ -1326,22 +1647,32 @@ Class | Method | HTTP request | Description - [FieldEEzsignelementdependencyOperator](docs/FieldEEzsignelementdependencyOperator.md) - [FieldEEzsignelementdependencyValidation](docs/FieldEEzsignelementdependencyValidation.md) - [FieldEEzsignfolderCompletion](docs/FieldEEzsignfolderCompletion.md) + - [FieldEEzsignfolderDocumentdependency](docs/FieldEEzsignfolderDocumentdependency.md) + - [FieldEEzsignfolderMessageorder](docs/FieldEEzsignfolderMessageorder.md) - [FieldEEzsignfolderSendreminderfrequency](docs/FieldEEzsignfolderSendreminderfrequency.md) - [FieldEEzsignfolderStep](docs/FieldEEzsignfolderStep.md) - [FieldEEzsignfoldertypeCompletion](docs/FieldEEzsignfoldertypeCompletion.md) - [FieldEEzsignfoldertypeDisposal](docs/FieldEEzsignfoldertypeDisposal.md) + - [FieldEEzsignfoldertypeDocumentdependency](docs/FieldEEzsignfoldertypeDocumentdependency.md) + - [FieldEEzsignfoldertypePdfanoncompliantaction](docs/FieldEEzsignfoldertypePdfanoncompliantaction.md) + - [FieldEEzsignfoldertypePdfarequirement](docs/FieldEEzsignfoldertypePdfarequirement.md) - [FieldEEzsignfoldertypePrivacylevel](docs/FieldEEzsignfoldertypePrivacylevel.md) - [FieldEEzsignfoldertypeSendreminderfrequency](docs/FieldEEzsignfoldertypeSendreminderfrequency.md) + - [FieldEEzsignfoldertypeSigneraccess](docs/FieldEEzsignfoldertypeSigneraccess.md) - [FieldEEzsignformfieldDependencyrequirement](docs/FieldEEzsignformfieldDependencyrequirement.md) - [FieldEEzsignformfieldgroupSignerrequirement](docs/FieldEEzsignformfieldgroupSignerrequirement.md) - [FieldEEzsignformfieldgroupTooltipposition](docs/FieldEEzsignformfieldgroupTooltipposition.md) - [FieldEEzsignformfieldgroupType](docs/FieldEEzsignformfieldgroupType.md) - [FieldEEzsignsignatureAttachmentnamesource](docs/FieldEEzsignsignatureAttachmentnamesource.md) + - [FieldEEzsignsignatureConsultationtrigger](docs/FieldEEzsignsignatureConsultationtrigger.md) - [FieldEEzsignsignatureDependencyrequirement](docs/FieldEEzsignsignatureDependencyrequirement.md) - [FieldEEzsignsignatureFont](docs/FieldEEzsignsignatureFont.md) - [FieldEEzsignsignatureTooltipposition](docs/FieldEEzsignsignatureTooltipposition.md) - [FieldEEzsignsignatureType](docs/FieldEEzsignsignatureType.md) + - [FieldEEzsigntemplateRecognition](docs/FieldEEzsigntemplateRecognition.md) - [FieldEEzsigntemplateType](docs/FieldEEzsigntemplateType.md) + - [FieldEEzsigntemplatedocumentpagerecognitionOperator](docs/FieldEEzsigntemplatedocumentpagerecognitionOperator.md) + - [FieldEEzsigntemplatedocumentpagerecognitionSection](docs/FieldEEzsigntemplatedocumentpagerecognitionSection.md) - [FieldEEzsigntemplateelementdependencyOperator](docs/FieldEEzsigntemplateelementdependencyOperator.md) - [FieldEEzsigntemplateelementdependencyValidation](docs/FieldEEzsigntemplateelementdependencyValidation.md) - [FieldEEzsigntemplateformfieldDependencyrequirement](docs/FieldEEzsigntemplateformfieldDependencyrequirement.md) @@ -1352,17 +1683,22 @@ Class | Method | HTTP request | Description - [FieldEEzsigntemplateformfieldgroupType](docs/FieldEEzsigntemplateformfieldgroupType.md) - [FieldEEzsigntemplateglobalModule](docs/FieldEEzsigntemplateglobalModule.md) - [FieldEEzsigntemplateglobalSupplier](docs/FieldEEzsigntemplateglobalSupplier.md) + - [FieldEEzsigntemplatepackagesignerMapping](docs/FieldEEzsigntemplatepackagesignerMapping.md) + - [FieldEEzsigntemplatepublicLimittype](docs/FieldEEzsigntemplatepublicLimittype.md) - [FieldEEzsigntemplatesignatureAttachmentnamesource](docs/FieldEEzsigntemplatesignatureAttachmentnamesource.md) + - [FieldEEzsigntemplatesignatureConsultationtrigger](docs/FieldEEzsigntemplatesignatureConsultationtrigger.md) - [FieldEEzsigntemplatesignatureDependencyrequirement](docs/FieldEEzsigntemplatesignatureDependencyrequirement.md) - [FieldEEzsigntemplatesignatureFont](docs/FieldEEzsigntemplatesignatureFont.md) - [FieldEEzsigntemplatesignaturePositioning](docs/FieldEEzsigntemplatesignaturePositioning.md) - [FieldEEzsigntemplatesignaturePositioningoccurence](docs/FieldEEzsigntemplatesignaturePositioningoccurence.md) - [FieldEEzsigntemplatesignatureTooltipposition](docs/FieldEEzsigntemplatesignatureTooltipposition.md) - [FieldEEzsigntemplatesignatureType](docs/FieldEEzsigntemplatesignatureType.md) + - [FieldEEzsigntemplatesignerMapping](docs/FieldEEzsigntemplatesignerMapping.md) - [FieldENotificationpreferenceStatus](docs/FieldENotificationpreferenceStatus.md) - [FieldEPaymenttermType](docs/FieldEPaymenttermType.md) - [FieldEPhoneType](docs/FieldEPhoneType.md) - [FieldESessionhistoryEndby](docs/FieldESessionhistoryEndby.md) + - [FieldESignaturePreference](docs/FieldESignaturePreference.md) - [FieldESystemconfigurationEzsign](docs/FieldESystemconfigurationEzsign.md) - [FieldESystemconfigurationEzsignofficeplan](docs/FieldESystemconfigurationEzsignofficeplan.md) - [FieldESystemconfigurationLanguage1](docs/FieldESystemconfigurationLanguage1.md) @@ -1395,24 +1731,52 @@ Class | Method | HTTP request | Description - [FranchisereferalincomeCreateObjectV2ResponseMPayload](docs/FranchisereferalincomeCreateObjectV2ResponseMPayload.md) - [FranchisereferalincomeRequest](docs/FranchisereferalincomeRequest.md) - [FranchisereferalincomeRequestCompound](docs/FranchisereferalincomeRequestCompound.md) + - [GlaccountAutocompleteElementResponse](docs/GlaccountAutocompleteElementResponse.md) + - [GlaccountGetAutocompleteV2Response](docs/GlaccountGetAutocompleteV2Response.md) + - [GlaccountGetAutocompleteV2ResponseMPayload](docs/GlaccountGetAutocompleteV2ResponseMPayload.md) + - [GlaccountcontainerAutocompleteElementResponse](docs/GlaccountcontainerAutocompleteElementResponse.md) + - [GlaccountcontainerGetAutocompleteV2Response](docs/GlaccountcontainerGetAutocompleteV2Response.md) + - [GlaccountcontainerGetAutocompleteV2ResponseMPayload](docs/GlaccountcontainerGetAutocompleteV2ResponseMPayload.md) - [GlobalCustomerGetEndpointV1Response](docs/GlobalCustomerGetEndpointV1Response.md) - [GlobalEzmaxclientVersionV1Response](docs/GlobalEzmaxclientVersionV1Response.md) - [GlobalEzmaxcustomerGetConfigurationV1Response](docs/GlobalEzmaxcustomerGetConfigurationV1Response.md) - [HeaderAcceptLanguage](docs/HeaderAcceptLanguage.md) - [InscriptionGetAttachmentsV1Response](docs/InscriptionGetAttachmentsV1Response.md) - [InscriptionGetAttachmentsV1ResponseMPayload](docs/InscriptionGetAttachmentsV1ResponseMPayload.md) + - [InscriptionGetCommunicationCountV1Response](docs/InscriptionGetCommunicationCountV1Response.md) + - [InscriptionGetCommunicationCountV1ResponseMPayload](docs/InscriptionGetCommunicationCountV1ResponseMPayload.md) - [InscriptionGetCommunicationListV1Response](docs/InscriptionGetCommunicationListV1Response.md) - [InscriptionGetCommunicationListV1ResponseMPayload](docs/InscriptionGetCommunicationListV1ResponseMPayload.md) + - [InscriptionGetCommunicationrecipientsV1Response](docs/InscriptionGetCommunicationrecipientsV1Response.md) + - [InscriptionGetCommunicationrecipientsV1ResponseMPayload](docs/InscriptionGetCommunicationrecipientsV1ResponseMPayload.md) - [InscriptionGetCommunicationsendersV1Response](docs/InscriptionGetCommunicationsendersV1Response.md) - [InscriptionGetCommunicationsendersV1ResponseMPayload](docs/InscriptionGetCommunicationsendersV1ResponseMPayload.md) + - [InscriptionnotauthenticatedGetCommunicationCountV1Response](docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md) + - [InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload](docs/InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.md) - [InscriptionnotauthenticatedGetCommunicationListV1Response](docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md) - [InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload](docs/InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md) + - [InscriptionnotauthenticatedGetCommunicationrecipientsV1Response](docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md) + - [InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload](docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.md) + - [InscriptionnotauthenticatedGetCommunicationsendersV1Response](docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md) + - [InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload](docs/InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.md) + - [InscriptiontempGetCommunicationCountV1Response](docs/InscriptiontempGetCommunicationCountV1Response.md) + - [InscriptiontempGetCommunicationCountV1ResponseMPayload](docs/InscriptiontempGetCommunicationCountV1ResponseMPayload.md) - [InscriptiontempGetCommunicationListV1Response](docs/InscriptiontempGetCommunicationListV1Response.md) - [InscriptiontempGetCommunicationListV1ResponseMPayload](docs/InscriptiontempGetCommunicationListV1ResponseMPayload.md) + - [InscriptiontempGetCommunicationrecipientsV1Response](docs/InscriptiontempGetCommunicationrecipientsV1Response.md) + - [InscriptiontempGetCommunicationrecipientsV1ResponseMPayload](docs/InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.md) + - [InscriptiontempGetCommunicationsendersV1Response](docs/InscriptiontempGetCommunicationsendersV1Response.md) + - [InscriptiontempGetCommunicationsendersV1ResponseMPayload](docs/InscriptiontempGetCommunicationsendersV1ResponseMPayload.md) - [InvoiceGetAttachmentsV1Response](docs/InvoiceGetAttachmentsV1Response.md) - [InvoiceGetAttachmentsV1ResponseMPayload](docs/InvoiceGetAttachmentsV1ResponseMPayload.md) + - [InvoiceGetCommunicationCountV1Response](docs/InvoiceGetCommunicationCountV1Response.md) + - [InvoiceGetCommunicationCountV1ResponseMPayload](docs/InvoiceGetCommunicationCountV1ResponseMPayload.md) - [InvoiceGetCommunicationListV1Response](docs/InvoiceGetCommunicationListV1Response.md) - [InvoiceGetCommunicationListV1ResponseMPayload](docs/InvoiceGetCommunicationListV1ResponseMPayload.md) + - [InvoiceGetCommunicationrecipientsV1Response](docs/InvoiceGetCommunicationrecipientsV1Response.md) + - [InvoiceGetCommunicationrecipientsV1ResponseMPayload](docs/InvoiceGetCommunicationrecipientsV1ResponseMPayload.md) + - [InvoiceGetCommunicationsendersV1Response](docs/InvoiceGetCommunicationsendersV1Response.md) + - [InvoiceGetCommunicationsendersV1ResponseMPayload](docs/InvoiceGetCommunicationsendersV1ResponseMPayload.md) - [LanguageAutocompleteElementResponse](docs/LanguageAutocompleteElementResponse.md) - [LanguageGetAutocompleteV2Response](docs/LanguageGetAutocompleteV2Response.md) - [LanguageGetAutocompleteV2ResponseMPayload](docs/LanguageGetAutocompleteV2ResponseMPayload.md) @@ -1430,6 +1794,7 @@ Class | Method | HTTP request | Description - [MultilingualApikeyDescription](docs/MultilingualApikeyDescription.md) - [MultilingualBillingentityinternalDescription](docs/MultilingualBillingentityinternalDescription.md) - [MultilingualBrandingDescription](docs/MultilingualBrandingDescription.md) + - [MultilingualEzdoctemplatedocumentName](docs/MultilingualEzdoctemplatedocumentName.md) - [MultilingualEzmaxinvoicingsummaryinternalDescription](docs/MultilingualEzmaxinvoicingsummaryinternalDescription.md) - [MultilingualEzsignfoldertypeName](docs/MultilingualEzsignfoldertypeName.md) - [MultilingualEzsignsignergroupDescription](docs/MultilingualEzsignsignergroupDescription.md) @@ -1438,6 +1803,7 @@ Class | Method | HTTP request | Description - [MultilingualNotificationtestName](docs/MultilingualNotificationtestName.md) - [MultilingualPaymenttermDescription](docs/MultilingualPaymenttermDescription.md) - [MultilingualSubnetDescription](docs/MultilingualSubnetDescription.md) + - [MultilingualSupplyDescription](docs/MultilingualSupplyDescription.md) - [MultilingualUsergroupName](docs/MultilingualUsergroupName.md) - [MultilingualUserlogintypeDescription](docs/MultilingualUserlogintypeDescription.md) - [MultilingualVariableexpenseDescription](docs/MultilingualVariableexpenseDescription.md) @@ -1448,8 +1814,14 @@ Class | Method | HTTP request | Description - [NotificationtestGetElementsV1Response](docs/NotificationtestGetElementsV1Response.md) - [NotificationtestGetElementsV1ResponseMPayload](docs/NotificationtestGetElementsV1ResponseMPayload.md) - [NotificationtestResponse](docs/NotificationtestResponse.md) + - [OtherincomeGetCommunicationCountV1Response](docs/OtherincomeGetCommunicationCountV1Response.md) + - [OtherincomeGetCommunicationCountV1ResponseMPayload](docs/OtherincomeGetCommunicationCountV1ResponseMPayload.md) - [OtherincomeGetCommunicationListV1Response](docs/OtherincomeGetCommunicationListV1Response.md) - [OtherincomeGetCommunicationListV1ResponseMPayload](docs/OtherincomeGetCommunicationListV1ResponseMPayload.md) + - [OtherincomeGetCommunicationrecipientsV1Response](docs/OtherincomeGetCommunicationrecipientsV1Response.md) + - [OtherincomeGetCommunicationrecipientsV1ResponseMPayload](docs/OtherincomeGetCommunicationrecipientsV1ResponseMPayload.md) + - [OtherincomeGetCommunicationsendersV1Response](docs/OtherincomeGetCommunicationsendersV1Response.md) + - [OtherincomeGetCommunicationsendersV1ResponseMPayload](docs/OtherincomeGetCommunicationsendersV1ResponseMPayload.md) - [PaymenttermAutocompleteElementResponse](docs/PaymenttermAutocompleteElementResponse.md) - [PaymenttermCreateObjectV1Request](docs/PaymenttermCreateObjectV1Request.md) - [PaymenttermCreateObjectV1Response](docs/PaymenttermCreateObjectV1Response.md) @@ -1467,6 +1839,9 @@ Class | Method | HTTP request | Description - [PaymenttermRequestCompound](docs/PaymenttermRequestCompound.md) - [PaymenttermResponse](docs/PaymenttermResponse.md) - [PaymenttermResponseCompound](docs/PaymenttermResponseCompound.md) + - [PdfalevelAutocompleteElementResponse](docs/PdfalevelAutocompleteElementResponse.md) + - [PdfalevelGetAutocompleteV2Response](docs/PdfalevelGetAutocompleteV2Response.md) + - [PdfalevelGetAutocompleteV2ResponseMPayload](docs/PdfalevelGetAutocompleteV2ResponseMPayload.md) - [PeriodAutocompleteElementResponse](docs/PeriodAutocompleteElementResponse.md) - [PeriodGetAutocompleteV2Response](docs/PeriodGetAutocompleteV2Response.md) - [PeriodGetAutocompleteV2ResponseMPayload](docs/PeriodGetAutocompleteV2ResponseMPayload.md) @@ -1494,8 +1869,14 @@ Class | Method | HTTP request | Description - [ProvinceAutocompleteElementResponse](docs/ProvinceAutocompleteElementResponse.md) - [ProvinceGetAutocompleteV2Response](docs/ProvinceGetAutocompleteV2Response.md) - [ProvinceGetAutocompleteV2ResponseMPayload](docs/ProvinceGetAutocompleteV2ResponseMPayload.md) + - [RejectedoffertopurchaseGetCommunicationCountV1Response](docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md) + - [RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload](docs/RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.md) - [RejectedoffertopurchaseGetCommunicationListV1Response](docs/RejectedoffertopurchaseGetCommunicationListV1Response.md) - [RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload](docs/RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md) + - [RejectedoffertopurchaseGetCommunicationrecipientsV1Response](docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md) + - [RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload](docs/RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.md) + - [RejectedoffertopurchaseGetCommunicationsendersV1Response](docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md) + - [RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload](docs/RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.md) - [ScimAuthenticationScheme](docs/ScimAuthenticationScheme.md) - [ScimEmail](docs/ScimEmail.md) - [ScimGroup](docs/ScimGroup.md) @@ -1523,10 +1904,14 @@ Class | Method | HTTP request | Description - [SignatureEditObjectV1Response](docs/SignatureEditObjectV1Response.md) - [SignatureGetObjectV2Response](docs/SignatureGetObjectV2Response.md) - [SignatureGetObjectV2ResponseMPayload](docs/SignatureGetObjectV2ResponseMPayload.md) + - [SignatureGetObjectV3Response](docs/SignatureGetObjectV3Response.md) + - [SignatureGetObjectV3ResponseMPayload](docs/SignatureGetObjectV3ResponseMPayload.md) - [SignatureRequest](docs/SignatureRequest.md) - [SignatureRequestCompound](docs/SignatureRequestCompound.md) - [SignatureResponse](docs/SignatureResponse.md) - [SignatureResponseCompound](docs/SignatureResponseCompound.md) + - [SignatureResponseCompoundV3](docs/SignatureResponseCompoundV3.md) + - [SignatureResponseV3](docs/SignatureResponseV3.md) - [SubnetCreateObjectV1Request](docs/SubnetCreateObjectV1Request.md) - [SubnetCreateObjectV1Response](docs/SubnetCreateObjectV1Response.md) - [SubnetCreateObjectV1ResponseMPayload](docs/SubnetCreateObjectV1ResponseMPayload.md) @@ -1539,6 +1924,24 @@ Class | Method | HTTP request | Description - [SubnetRequestCompound](docs/SubnetRequestCompound.md) - [SubnetResponse](docs/SubnetResponse.md) - [SubnetResponseCompound](docs/SubnetResponseCompound.md) + - [SupplyAutocompleteElementResponse](docs/SupplyAutocompleteElementResponse.md) + - [SupplyCreateObjectV1Request](docs/SupplyCreateObjectV1Request.md) + - [SupplyCreateObjectV1Response](docs/SupplyCreateObjectV1Response.md) + - [SupplyCreateObjectV1ResponseMPayload](docs/SupplyCreateObjectV1ResponseMPayload.md) + - [SupplyDeleteObjectV1Response](docs/SupplyDeleteObjectV1Response.md) + - [SupplyEditObjectV1Request](docs/SupplyEditObjectV1Request.md) + - [SupplyEditObjectV1Response](docs/SupplyEditObjectV1Response.md) + - [SupplyGetAutocompleteV2Response](docs/SupplyGetAutocompleteV2Response.md) + - [SupplyGetAutocompleteV2ResponseMPayload](docs/SupplyGetAutocompleteV2ResponseMPayload.md) + - [SupplyGetListV1Response](docs/SupplyGetListV1Response.md) + - [SupplyGetListV1ResponseMPayload](docs/SupplyGetListV1ResponseMPayload.md) + - [SupplyGetObjectV2Response](docs/SupplyGetObjectV2Response.md) + - [SupplyGetObjectV2ResponseMPayload](docs/SupplyGetObjectV2ResponseMPayload.md) + - [SupplyListElement](docs/SupplyListElement.md) + - [SupplyRequest](docs/SupplyRequest.md) + - [SupplyRequestCompound](docs/SupplyRequestCompound.md) + - [SupplyResponse](docs/SupplyResponse.md) + - [SupplyResponseCompound](docs/SupplyResponseCompound.md) - [SystemconfigurationEditObjectV1Request](docs/SystemconfigurationEditObjectV1Request.md) - [SystemconfigurationEditObjectV1Response](docs/SystemconfigurationEditObjectV1Response.md) - [SystemconfigurationGetObjectV2Response](docs/SystemconfigurationGetObjectV2Response.md) @@ -1550,11 +1953,21 @@ Class | Method | HTTP request | Description - [TaxassignmentAutocompleteElementResponse](docs/TaxassignmentAutocompleteElementResponse.md) - [TaxassignmentGetAutocompleteV2Response](docs/TaxassignmentGetAutocompleteV2Response.md) - [TaxassignmentGetAutocompleteV2ResponseMPayload](docs/TaxassignmentGetAutocompleteV2ResponseMPayload.md) + - [TextstylestaticRequest](docs/TextstylestaticRequest.md) + - [TextstylestaticRequestCompound](docs/TextstylestaticRequestCompound.md) - [TextstylestaticResponse](docs/TextstylestaticResponse.md) - [TextstylestaticResponseCompound](docs/TextstylestaticResponseCompound.md) - [TimezoneAutocompleteElementResponse](docs/TimezoneAutocompleteElementResponse.md) - [TimezoneGetAutocompleteV2Response](docs/TimezoneGetAutocompleteV2Response.md) - [TimezoneGetAutocompleteV2ResponseMPayload](docs/TimezoneGetAutocompleteV2ResponseMPayload.md) + - [TranqcontractGetCommunicationCountV1Response](docs/TranqcontractGetCommunicationCountV1Response.md) + - [TranqcontractGetCommunicationCountV1ResponseMPayload](docs/TranqcontractGetCommunicationCountV1ResponseMPayload.md) + - [TranqcontractGetCommunicationListV1Response](docs/TranqcontractGetCommunicationListV1Response.md) + - [TranqcontractGetCommunicationListV1ResponseMPayload](docs/TranqcontractGetCommunicationListV1ResponseMPayload.md) + - [TranqcontractGetCommunicationrecipientsV1Response](docs/TranqcontractGetCommunicationrecipientsV1Response.md) + - [TranqcontractGetCommunicationrecipientsV1ResponseMPayload](docs/TranqcontractGetCommunicationrecipientsV1ResponseMPayload.md) + - [TranqcontractGetCommunicationsendersV1Response](docs/TranqcontractGetCommunicationsendersV1Response.md) + - [TranqcontractGetCommunicationsendersV1ResponseMPayload](docs/TranqcontractGetCommunicationsendersV1ResponseMPayload.md) - [UserAutocompleteElementResponse](docs/UserAutocompleteElementResponse.md) - [UserCreateEzsignuserV1Request](docs/UserCreateEzsignuserV1Request.md) - [UserCreateEzsignuserV1Response](docs/UserCreateEzsignuserV1Response.md) @@ -1565,6 +1978,9 @@ Class | Method | HTTP request | Description - [UserCreateObjectV2Request](docs/UserCreateObjectV2Request.md) - [UserCreateObjectV2Response](docs/UserCreateObjectV2Response.md) - [UserCreateObjectV2ResponseMPayload](docs/UserCreateObjectV2ResponseMPayload.md) + - [UserEditColleaguesV2Request](docs/UserEditColleaguesV2Request.md) + - [UserEditColleaguesV2Response](docs/UserEditColleaguesV2Response.md) + - [UserEditColleaguesV2ResponseMPayload](docs/UserEditColleaguesV2ResponseMPayload.md) - [UserEditObjectV1Request](docs/UserEditObjectV1Request.md) - [UserEditObjectV1Response](docs/UserEditObjectV1Response.md) - [UserEditPermissionsV1Request](docs/UserEditPermissionsV1Request.md) @@ -1574,6 +1990,8 @@ Class | Method | HTTP request | Description - [UserGetApikeysV1ResponseMPayload](docs/UserGetApikeysV1ResponseMPayload.md) - [UserGetAutocompleteV2Response](docs/UserGetAutocompleteV2Response.md) - [UserGetAutocompleteV2ResponseMPayload](docs/UserGetAutocompleteV2ResponseMPayload.md) + - [UserGetColleaguesV2Response](docs/UserGetColleaguesV2Response.md) + - [UserGetColleaguesV2ResponseMPayload](docs/UserGetColleaguesV2ResponseMPayload.md) - [UserGetEffectivePermissionsV1Response](docs/UserGetEffectivePermissionsV1Response.md) - [UserGetEffectivePermissionsV1ResponseMPayload](docs/UserGetEffectivePermissionsV1ResponseMPayload.md) - [UserGetListV1Response](docs/UserGetListV1Response.md) @@ -1743,6 +2161,8 @@ Class | Method | HTTP request | Description - [WebhookRequestCompound](docs/WebhookRequestCompound.md) - [WebhookResponse](docs/WebhookResponse.md) - [WebhookResponseCompound](docs/WebhookResponseCompound.md) + - [WebhookSendWebhookV1Request](docs/WebhookSendWebhookV1Request.md) + - [WebhookSendWebhookV1Response](docs/WebhookSendWebhookV1Response.md) - [WebhookTestV1Response](docs/WebhookTestV1Response.md) - [WebhookUserUserCreated](docs/WebhookUserUserCreated.md) - [WebhookUserstagedUserstagedCreated](docs/WebhookUserstagedUserstagedCreated.md) @@ -1752,6 +2172,8 @@ Class | Method | HTTP request | Description - [WebhookheaderResponseCompound](docs/WebhookheaderResponseCompound.md) - [WebsiteRequest](docs/WebsiteRequest.md) - [WebsiteRequestCompound](docs/WebsiteRequestCompound.md) + - [WebsiteResponse](docs/WebsiteResponse.md) + - [WebsiteResponseCompound](docs/WebsiteResponseCompound.md) - [WebsocketRequestServerGetWebsocketIDV1](docs/WebsocketRequestServerGetWebsocketIDV1.md) - [WebsocketResponseErrorV1](docs/WebsocketResponseErrorV1.md) - [WebsocketResponseErrorV1MPayload](docs/WebsocketResponseErrorV1MPayload.md) diff --git a/docs/ActivesessionGenerateFederationTokenV1Request.md b/docs/ActivesessionGenerateFederationTokenV1Request.md new file mode 100644 index 000000000..b89541e99 --- /dev/null +++ b/docs/ActivesessionGenerateFederationTokenV1Request.md @@ -0,0 +1,30 @@ +# ActivesessionGenerateFederationTokenV1Request + +Request for POST /1/object/activesession/generateFederationToken + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fks_ezmaxcustomer_code** | **str** | The Ezmaxcustomer code | + +## Example + +```python +from eZmaxApi.models.activesession_generate_federation_token_v1_request import ActivesessionGenerateFederationTokenV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of ActivesessionGenerateFederationTokenV1Request from a JSON string +activesession_generate_federation_token_v1_request_instance = ActivesessionGenerateFederationTokenV1Request.from_json(json) +# print the JSON string representation of the object +print(ActivesessionGenerateFederationTokenV1Request.to_json()) + +# convert the object into a dict +activesession_generate_federation_token_v1_request_dict = activesession_generate_federation_token_v1_request_instance.to_dict() +# create an instance of ActivesessionGenerateFederationTokenV1Request from a dict +activesession_generate_federation_token_v1_request_from_dict = ActivesessionGenerateFederationTokenV1Request.from_dict(activesession_generate_federation_token_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ActivesessionGenerateFederationTokenV1Response.md b/docs/ActivesessionGenerateFederationTokenV1Response.md new file mode 100644 index 000000000..9663cd471 --- /dev/null +++ b/docs/ActivesessionGenerateFederationTokenV1Response.md @@ -0,0 +1,32 @@ +# ActivesessionGenerateFederationTokenV1Response + +Response for POST /1/object/activesession/generateFederationToken + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**ActivesessionGenerateFederationTokenV1ResponseMPayload**](ActivesessionGenerateFederationTokenV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.activesession_generate_federation_token_v1_response import ActivesessionGenerateFederationTokenV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of ActivesessionGenerateFederationTokenV1Response from a JSON string +activesession_generate_federation_token_v1_response_instance = ActivesessionGenerateFederationTokenV1Response.from_json(json) +# print the JSON string representation of the object +print(ActivesessionGenerateFederationTokenV1Response.to_json()) + +# convert the object into a dict +activesession_generate_federation_token_v1_response_dict = activesession_generate_federation_token_v1_response_instance.to_dict() +# create an instance of ActivesessionGenerateFederationTokenV1Response from a dict +activesession_generate_federation_token_v1_response_from_dict = ActivesessionGenerateFederationTokenV1Response.from_dict(activesession_generate_federation_token_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ActivesessionGenerateFederationTokenV1ResponseMPayload.md b/docs/ActivesessionGenerateFederationTokenV1ResponseMPayload.md new file mode 100644 index 000000000..348010a5b --- /dev/null +++ b/docs/ActivesessionGenerateFederationTokenV1ResponseMPayload.md @@ -0,0 +1,31 @@ +# ActivesessionGenerateFederationTokenV1ResponseMPayload + +Payload for POST /1/object/activesession/generateFederationToken + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_apikeyfederation** | [**CustomApikeyfederation**](CustomApikeyfederation.md) | | +**s_ezmaxcustomercode_url** | **str** | The url of the server the Ezmaxcustomer is located | + +## Example + +```python +from eZmaxApi.models.activesession_generate_federation_token_v1_response_m_payload import ActivesessionGenerateFederationTokenV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of ActivesessionGenerateFederationTokenV1ResponseMPayload from a JSON string +activesession_generate_federation_token_v1_response_m_payload_instance = ActivesessionGenerateFederationTokenV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(ActivesessionGenerateFederationTokenV1ResponseMPayload.to_json()) + +# convert the object into a dict +activesession_generate_federation_token_v1_response_m_payload_dict = activesession_generate_federation_token_v1_response_m_payload_instance.to_dict() +# create an instance of ActivesessionGenerateFederationTokenV1ResponseMPayload from a dict +activesession_generate_federation_token_v1_response_m_payload_from_dict = ActivesessionGenerateFederationTokenV1ResponseMPayload.from_dict(activesession_generate_federation_token_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ActivesessionGetCurrentV1Response.md b/docs/ActivesessionGetCurrentV1Response.md index 8dd138101..9d0efcb8b 100644 --- a/docs/ActivesessionGetCurrentV1Response.md +++ b/docs/ActivesessionGetCurrentV1Response.md @@ -25,7 +25,7 @@ print(ActivesessionGetCurrentV1Response.to_json()) # convert the object into a dict activesession_get_current_v1_response_dict = activesession_get_current_v1_response_instance.to_dict() # create an instance of ActivesessionGetCurrentV1Response from a dict -activesession_get_current_v1_response_form_dict = activesession_get_current_v1_response.from_dict(activesession_get_current_v1_response_dict) +activesession_get_current_v1_response_from_dict = ActivesessionGetCurrentV1Response.from_dict(activesession_get_current_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ActivesessionGetCurrentV1ResponseMPayload.md b/docs/ActivesessionGetCurrentV1ResponseMPayload.md index efcf20961..740307da7 100644 --- a/docs/ActivesessionGetCurrentV1ResponseMPayload.md +++ b/docs/ActivesessionGetCurrentV1ResponseMPayload.md @@ -14,13 +14,23 @@ Name | Type | Description | Notes **s_department_name_x** | **str** | The Name of the Department in the language of the requester | **b_activesession_debug** | **bool** | Whether the active session is in debug or not | **b_activesession_issuperadmin** | **bool** | Whether the active session is superadmin or not | +**b_activesession_attachment** | **bool** | Can access attachment when we clone a user | [optional] +**b_activesession_canafe** | **bool** | Can access canafe when we clone a user | [optional] +**b_activesession_financial** | **bool** | Can access financial element when we clone a user | [optional] +**b_activesession_realestatecompleted** | **bool** | Can access closed realestate folders when we clone a user | [optional] +**e_activesession_ezsign** | [**FieldEActivesessionEzsign**](FieldEActivesessionEzsign.md) | | [optional] +**e_activesession_ezsignaccess** | [**FieldEActivesessionEzsignaccess**](FieldEActivesessionEzsignaccess.md) | | +**e_activesession_ezsignprepaid** | [**FieldEActivesessionEzsignprepaid**](FieldEActivesessionEzsignprepaid.md) | | [optional] +**e_activesession_realestateinprogress** | [**FieldEActivesessionRealestateinprogress**](FieldEActivesessionRealestateinprogress.md) | | [optional] **pks_customer_code** | **str** | The customer code assigned to your account | **fki_systemconfigurationtype_id** | **int** | The unique ID of the Systemconfigurationtype | **fki_signature_id** | **int** | The unique ID of the Signature | [optional] +**fki_ezsignuser_id** | **int** | The unique ID of the Ezsignuser | [optional] **b_systemconfiguration_ezsignpaidbyoffice** | **bool** | Whether if Ezsign is paid by the company or not | [optional] **e_systemconfiguration_ezsignofficeplan** | [**FieldESystemconfigurationEzsignofficeplan**](FieldESystemconfigurationEzsignofficeplan.md) | | [optional] **e_user_ezsignaccess** | [**FieldEUserEzsignaccess**](FieldEUserEzsignaccess.md) | | **e_user_ezsignprepaid** | [**FieldEUserEzsignprepaid**](FieldEUserEzsignprepaid.md) | | [optional] +**b_user_ezsigntrial** | **bool** | Whether the User's eZsign subscription is a trial | [optional] **dt_user_ezsignprepaidexpiration** | **str** | The eZsign prepaid expiration date | [optional] **a_pki_permission_id** | **List[int]** | An array of permissions granted to the user or api key | **obj_user_real** | [**ActivesessionResponseCompoundUser**](ActivesessionResponseCompoundUser.md) | | @@ -43,7 +53,7 @@ print(ActivesessionGetCurrentV1ResponseMPayload.to_json()) # convert the object into a dict activesession_get_current_v1_response_m_payload_dict = activesession_get_current_v1_response_m_payload_instance.to_dict() # create an instance of ActivesessionGetCurrentV1ResponseMPayload from a dict -activesession_get_current_v1_response_m_payload_form_dict = activesession_get_current_v1_response_m_payload.from_dict(activesession_get_current_v1_response_m_payload_dict) +activesession_get_current_v1_response_m_payload_from_dict = ActivesessionGetCurrentV1ResponseMPayload.from_dict(activesession_get_current_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ActivesessionGetListV1Response.md b/docs/ActivesessionGetListV1Response.md index 87b549250..c4300bb2a 100644 --- a/docs/ActivesessionGetListV1Response.md +++ b/docs/ActivesessionGetListV1Response.md @@ -25,7 +25,7 @@ print(ActivesessionGetListV1Response.to_json()) # convert the object into a dict activesession_get_list_v1_response_dict = activesession_get_list_v1_response_instance.to_dict() # create an instance of ActivesessionGetListV1Response from a dict -activesession_get_list_v1_response_form_dict = activesession_get_list_v1_response.from_dict(activesession_get_list_v1_response_dict) +activesession_get_list_v1_response_from_dict = ActivesessionGetListV1Response.from_dict(activesession_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ActivesessionGetListV1ResponseMPayload.md b/docs/ActivesessionGetListV1ResponseMPayload.md index aabd7b7fd..41bde76bd 100644 --- a/docs/ActivesessionGetListV1ResponseMPayload.md +++ b/docs/ActivesessionGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(ActivesessionGetListV1ResponseMPayload.to_json()) # convert the object into a dict activesession_get_list_v1_response_m_payload_dict = activesession_get_list_v1_response_m_payload_instance.to_dict() # create an instance of ActivesessionGetListV1ResponseMPayload from a dict -activesession_get_list_v1_response_m_payload_form_dict = activesession_get_list_v1_response_m_payload.from_dict(activesession_get_list_v1_response_m_payload_dict) +activesession_get_list_v1_response_m_payload_from_dict = ActivesessionGetListV1ResponseMPayload.from_dict(activesession_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ActivesessionListElement.md b/docs/ActivesessionListElement.md index c5e4b1303..ed0c05a61 100644 --- a/docs/ActivesessionListElement.md +++ b/docs/ActivesessionListElement.md @@ -34,7 +34,7 @@ print(ActivesessionListElement.to_json()) # convert the object into a dict activesession_list_element_dict = activesession_list_element_instance.to_dict() # create an instance of ActivesessionListElement from a dict -activesession_list_element_form_dict = activesession_list_element.from_dict(activesession_list_element_dict) +activesession_list_element_from_dict = ActivesessionListElement.from_dict(activesession_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ActivesessionResponse.md b/docs/ActivesessionResponse.md index 300cd1364..4c85db69c 100644 --- a/docs/ActivesessionResponse.md +++ b/docs/ActivesessionResponse.md @@ -14,6 +14,14 @@ Name | Type | Description | Notes **s_department_name_x** | **str** | The Name of the Department in the language of the requester | **b_activesession_debug** | **bool** | Whether the active session is in debug or not | **b_activesession_issuperadmin** | **bool** | Whether the active session is superadmin or not | +**b_activesession_attachment** | **bool** | Can access attachment when we clone a user | [optional] +**b_activesession_canafe** | **bool** | Can access canafe when we clone a user | [optional] +**b_activesession_financial** | **bool** | Can access financial element when we clone a user | [optional] +**b_activesession_realestatecompleted** | **bool** | Can access closed realestate folders when we clone a user | [optional] +**e_activesession_ezsign** | [**FieldEActivesessionEzsign**](FieldEActivesessionEzsign.md) | | [optional] +**e_activesession_ezsignaccess** | [**FieldEActivesessionEzsignaccess**](FieldEActivesessionEzsignaccess.md) | | +**e_activesession_ezsignprepaid** | [**FieldEActivesessionEzsignprepaid**](FieldEActivesessionEzsignprepaid.md) | | [optional] +**e_activesession_realestateinprogress** | [**FieldEActivesessionRealestateinprogress**](FieldEActivesessionRealestateinprogress.md) | | [optional] **pks_customer_code** | **str** | The customer code assigned to your account | **fki_systemconfigurationtype_id** | **int** | The unique ID of the Systemconfigurationtype | **fki_signature_id** | **int** | The unique ID of the Signature | [optional] @@ -33,7 +41,7 @@ print(ActivesessionResponse.to_json()) # convert the object into a dict activesession_response_dict = activesession_response_instance.to_dict() # create an instance of ActivesessionResponse from a dict -activesession_response_form_dict = activesession_response.from_dict(activesession_response_dict) +activesession_response_from_dict = ActivesessionResponse.from_dict(activesession_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ActivesessionResponseCompound.md b/docs/ActivesessionResponseCompound.md index 05393dd63..0abaa6d7a 100644 --- a/docs/ActivesessionResponseCompound.md +++ b/docs/ActivesessionResponseCompound.md @@ -14,13 +14,23 @@ Name | Type | Description | Notes **s_department_name_x** | **str** | The Name of the Department in the language of the requester | **b_activesession_debug** | **bool** | Whether the active session is in debug or not | **b_activesession_issuperadmin** | **bool** | Whether the active session is superadmin or not | +**b_activesession_attachment** | **bool** | Can access attachment when we clone a user | [optional] +**b_activesession_canafe** | **bool** | Can access canafe when we clone a user | [optional] +**b_activesession_financial** | **bool** | Can access financial element when we clone a user | [optional] +**b_activesession_realestatecompleted** | **bool** | Can access closed realestate folders when we clone a user | [optional] +**e_activesession_ezsign** | [**FieldEActivesessionEzsign**](FieldEActivesessionEzsign.md) | | [optional] +**e_activesession_ezsignaccess** | [**FieldEActivesessionEzsignaccess**](FieldEActivesessionEzsignaccess.md) | | +**e_activesession_ezsignprepaid** | [**FieldEActivesessionEzsignprepaid**](FieldEActivesessionEzsignprepaid.md) | | [optional] +**e_activesession_realestateinprogress** | [**FieldEActivesessionRealestateinprogress**](FieldEActivesessionRealestateinprogress.md) | | [optional] **pks_customer_code** | **str** | The customer code assigned to your account | **fki_systemconfigurationtype_id** | **int** | The unique ID of the Systemconfigurationtype | **fki_signature_id** | **int** | The unique ID of the Signature | [optional] +**fki_ezsignuser_id** | **int** | The unique ID of the Ezsignuser | [optional] **b_systemconfiguration_ezsignpaidbyoffice** | **bool** | Whether if Ezsign is paid by the company or not | [optional] **e_systemconfiguration_ezsignofficeplan** | [**FieldESystemconfigurationEzsignofficeplan**](FieldESystemconfigurationEzsignofficeplan.md) | | [optional] **e_user_ezsignaccess** | [**FieldEUserEzsignaccess**](FieldEUserEzsignaccess.md) | | **e_user_ezsignprepaid** | [**FieldEUserEzsignprepaid**](FieldEUserEzsignprepaid.md) | | [optional] +**b_user_ezsigntrial** | **bool** | Whether the User's eZsign subscription is a trial | [optional] **dt_user_ezsignprepaidexpiration** | **str** | The eZsign prepaid expiration date | [optional] **a_pki_permission_id** | **List[int]** | An array of permissions granted to the user or api key | **obj_user_real** | [**ActivesessionResponseCompoundUser**](ActivesessionResponseCompoundUser.md) | | @@ -43,7 +53,7 @@ print(ActivesessionResponseCompound.to_json()) # convert the object into a dict activesession_response_compound_dict = activesession_response_compound_instance.to_dict() # create an instance of ActivesessionResponseCompound from a dict -activesession_response_compound_form_dict = activesession_response_compound.from_dict(activesession_response_compound_dict) +activesession_response_compound_from_dict = ActivesessionResponseCompound.from_dict(activesession_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ActivesessionResponseCompoundApikey.md b/docs/ActivesessionResponseCompoundApikey.md index 8408264b6..032b4ab57 100644 --- a/docs/ActivesessionResponseCompoundApikey.md +++ b/docs/ActivesessionResponseCompoundApikey.md @@ -24,7 +24,7 @@ print(ActivesessionResponseCompoundApikey.to_json()) # convert the object into a dict activesession_response_compound_apikey_dict = activesession_response_compound_apikey_instance.to_dict() # create an instance of ActivesessionResponseCompoundApikey from a dict -activesession_response_compound_apikey_form_dict = activesession_response_compound_apikey.from_dict(activesession_response_compound_apikey_dict) +activesession_response_compound_apikey_from_dict = ActivesessionResponseCompoundApikey.from_dict(activesession_response_compound_apikey_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ActivesessionResponseCompoundUser.md b/docs/ActivesessionResponseCompoundUser.md index 25577f4fb..a323dcc40 100644 --- a/docs/ActivesessionResponseCompoundUser.md +++ b/docs/ActivesessionResponseCompoundUser.md @@ -32,7 +32,7 @@ print(ActivesessionResponseCompoundUser.to_json()) # convert the object into a dict activesession_response_compound_user_dict = activesession_response_compound_user_instance.to_dict() # create an instance of ActivesessionResponseCompoundUser from a dict -activesession_response_compound_user_form_dict = activesession_response_compound_user.from_dict(activesession_response_compound_user_dict) +activesession_response_compound_user_from_dict = ActivesessionResponseCompoundUser.from_dict(activesession_response_compound_user_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AddressRequest.md b/docs/AddressRequest.md index db651cef2..2913c47e0 100644 --- a/docs/AddressRequest.md +++ b/docs/AddressRequest.md @@ -6,10 +6,11 @@ An Address Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_address_id** | **int** | The unique ID of the Address | [optional] **fki_addresstype_id** | **int** | The unique ID of the Addresstype. Valid values: |Value|Description| |-|-| |1|Office| |2|Home| |3|Real Estate Invoice| |4|Invoicing| |5|Shipping| | **s_address_civic** | **str** | The Civic number. | **s_address_street** | **str** | The Street Name | -**s_address_suite** | **str** | The Suite or appartment number | +**s_address_suite** | **str** | The Suite or appartment number | [optional] **s_address_city** | **str** | The City name | **fki_province_id** | **int** | The unique ID of the Province. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|(Canada) Alberta |2|(Canada) British Columbia| |3|(Canada) Manitoba| |3|(Canada) Manitoba| |4|(Canada) New Brunswick| |5|(Canada) Newfoundland| |6|(Canada) Northwest Territories| |7|(Canada) Nova Scotia| |8|(Canada) Nunavut| |9|(Canada) Ontario| |10|(Canada) Prince Edward Island| |11|(Canada) Quebec| |12|(Canada) Saskatchewan| |13|(Canada) Yukon| |14|(United-States) Alabama| |15|(United-States) Alaska| |16|(United-States) Arizona| |17|(United-States) Arkansas| |18|(United-States) California| |19|(United-States) Colorado| |20|(United-States) Connecticut| |21|(United-States) Delaware| |22|(United-States) District of Columbia| |23|(United-States) Florida| |24|(United-States) Georgia| |25|(United-States) Hawaii| |26|(United-States) Idaho| |27|(United-States) Illinois| |28|(United-States) Indiana| |29|(United-States) Iowa| |30|(United-States) Kansas| |31|(United-States) Kentucky| |32|(United-States) Louisiane| |33|(United-States) Maine| |34|(United-States) Maryland| |35|(United-States) Massachusetts| |36|(United-States) Michigan| |37|(United-States) Minnesota| |38|(United-States) Mississippi| |39|(United-States) Missouri| |40|(United-States) Montana| |41|(United-States) Nebraska| |42|(United-States) Nevada| |43|(United-States) New Hampshire| |44|(United-States) New Jersey| |45|(United-States) New Mexico| |46|(United-States) New York| |47|(United-States) North Carolina| |48|(United-States) North Dakota| |49|(United-States) Ohio| |50|(United-States) Oklahoma| |51|(United-States) Oregon| |52|(United-States) Pennsylvania| |53|(United-States) Rhode Island| |54|(United-States) South Carolina| |55|(United-States) South Dakota| |56|(United-States) Tennessee| |57|(United-States) Texas| |58|(United-States) Utah| |60|(United-States) Vermont| |59|(United-States) Virginia| |61|(United-States) Washington| |62|(United-States) West Virginia| |63|(United-States) Wisconsin| |64|(United-States) Wyoming| | **fki_country_id** | **int** | The unique ID of the Country. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|Canada| |2|United-States| | @@ -32,7 +33,7 @@ print(AddressRequest.to_json()) # convert the object into a dict address_request_dict = address_request_instance.to_dict() # create an instance of AddressRequest from a dict -address_request_form_dict = address_request.from_dict(address_request_dict) +address_request_from_dict = AddressRequest.from_dict(address_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AddressRequestCompound.md b/docs/AddressRequestCompound.md index 4a9998f63..458a35e1c 100644 --- a/docs/AddressRequestCompound.md +++ b/docs/AddressRequestCompound.md @@ -6,10 +6,11 @@ An Address Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_address_id** | **int** | The unique ID of the Address | [optional] **fki_addresstype_id** | **int** | The unique ID of the Addresstype. Valid values: |Value|Description| |-|-| |1|Office| |2|Home| |3|Real Estate Invoice| |4|Invoicing| |5|Shipping| | **s_address_civic** | **str** | The Civic number. | **s_address_street** | **str** | The Street Name | -**s_address_suite** | **str** | The Suite or appartment number | +**s_address_suite** | **str** | The Suite or appartment number | [optional] **s_address_city** | **str** | The City name | **fki_province_id** | **int** | The unique ID of the Province. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|(Canada) Alberta |2|(Canada) British Columbia| |3|(Canada) Manitoba| |3|(Canada) Manitoba| |4|(Canada) New Brunswick| |5|(Canada) Newfoundland| |6|(Canada) Northwest Territories| |7|(Canada) Nova Scotia| |8|(Canada) Nunavut| |9|(Canada) Ontario| |10|(Canada) Prince Edward Island| |11|(Canada) Quebec| |12|(Canada) Saskatchewan| |13|(Canada) Yukon| |14|(United-States) Alabama| |15|(United-States) Alaska| |16|(United-States) Arizona| |17|(United-States) Arkansas| |18|(United-States) California| |19|(United-States) Colorado| |20|(United-States) Connecticut| |21|(United-States) Delaware| |22|(United-States) District of Columbia| |23|(United-States) Florida| |24|(United-States) Georgia| |25|(United-States) Hawaii| |26|(United-States) Idaho| |27|(United-States) Illinois| |28|(United-States) Indiana| |29|(United-States) Iowa| |30|(United-States) Kansas| |31|(United-States) Kentucky| |32|(United-States) Louisiane| |33|(United-States) Maine| |34|(United-States) Maryland| |35|(United-States) Massachusetts| |36|(United-States) Michigan| |37|(United-States) Minnesota| |38|(United-States) Mississippi| |39|(United-States) Missouri| |40|(United-States) Montana| |41|(United-States) Nebraska| |42|(United-States) Nevada| |43|(United-States) New Hampshire| |44|(United-States) New Jersey| |45|(United-States) New Mexico| |46|(United-States) New York| |47|(United-States) North Carolina| |48|(United-States) North Dakota| |49|(United-States) Ohio| |50|(United-States) Oklahoma| |51|(United-States) Oregon| |52|(United-States) Pennsylvania| |53|(United-States) Rhode Island| |54|(United-States) South Carolina| |55|(United-States) South Dakota| |56|(United-States) Tennessee| |57|(United-States) Texas| |58|(United-States) Utah| |60|(United-States) Vermont| |59|(United-States) Virginia| |61|(United-States) Washington| |62|(United-States) West Virginia| |63|(United-States) Wisconsin| |64|(United-States) Wyoming| | **fki_country_id** | **int** | The unique ID of the Country. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|Canada| |2|United-States| | @@ -32,7 +33,7 @@ print(AddressRequestCompound.to_json()) # convert the object into a dict address_request_compound_dict = address_request_compound_instance.to_dict() # create an instance of AddressRequestCompound from a dict -address_request_compound_form_dict = address_request_compound.from_dict(address_request_compound_dict) +address_request_compound_from_dict = AddressRequestCompound.from_dict(address_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AddressResponse.md b/docs/AddressResponse.md new file mode 100644 index 000000000..50000f8b7 --- /dev/null +++ b/docs/AddressResponse.md @@ -0,0 +1,42 @@ +# AddressResponse + +An Address Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_address_id** | **int** | The unique ID of the Address | +**fki_addresstype_id** | **int** | The unique ID of the Addresstype. Valid values: |Value|Description| |-|-| |1|Office| |2|Home| |3|Real Estate Invoice| |4|Invoicing| |5|Shipping| | +**s_address_civic** | **str** | The Civic number. | +**s_address_street** | **str** | The Street Name | +**s_address_suite** | **str** | The Suite or appartment number | [optional] +**s_address_city** | **str** | The City name | +**fki_province_id** | **int** | The unique ID of the Province. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|(Canada) Alberta |2|(Canada) British Columbia| |3|(Canada) Manitoba| |3|(Canada) Manitoba| |4|(Canada) New Brunswick| |5|(Canada) Newfoundland| |6|(Canada) Northwest Territories| |7|(Canada) Nova Scotia| |8|(Canada) Nunavut| |9|(Canada) Ontario| |10|(Canada) Prince Edward Island| |11|(Canada) Quebec| |12|(Canada) Saskatchewan| |13|(Canada) Yukon| |14|(United-States) Alabama| |15|(United-States) Alaska| |16|(United-States) Arizona| |17|(United-States) Arkansas| |18|(United-States) California| |19|(United-States) Colorado| |20|(United-States) Connecticut| |21|(United-States) Delaware| |22|(United-States) District of Columbia| |23|(United-States) Florida| |24|(United-States) Georgia| |25|(United-States) Hawaii| |26|(United-States) Idaho| |27|(United-States) Illinois| |28|(United-States) Indiana| |29|(United-States) Iowa| |30|(United-States) Kansas| |31|(United-States) Kentucky| |32|(United-States) Louisiane| |33|(United-States) Maine| |34|(United-States) Maryland| |35|(United-States) Massachusetts| |36|(United-States) Michigan| |37|(United-States) Minnesota| |38|(United-States) Mississippi| |39|(United-States) Missouri| |40|(United-States) Montana| |41|(United-States) Nebraska| |42|(United-States) Nevada| |43|(United-States) New Hampshire| |44|(United-States) New Jersey| |45|(United-States) New Mexico| |46|(United-States) New York| |47|(United-States) North Carolina| |48|(United-States) North Dakota| |49|(United-States) Ohio| |50|(United-States) Oklahoma| |51|(United-States) Oregon| |52|(United-States) Pennsylvania| |53|(United-States) Rhode Island| |54|(United-States) South Carolina| |55|(United-States) South Dakota| |56|(United-States) Tennessee| |57|(United-States) Texas| |58|(United-States) Utah| |60|(United-States) Vermont| |59|(United-States) Virginia| |61|(United-States) Washington| |62|(United-States) West Virginia| |63|(United-States) Wisconsin| |64|(United-States) Wyoming| | +**s_province_name_x** | **str** | The name of the Province in the language of the requester | +**fki_country_id** | **int** | The unique ID of the Country. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|Canada| |2|United-States| | +**s_country_name_x** | **str** | The name of the Country in the language of the requester | +**s_address_zip** | **str** | The Postal/Zip Code The value must be entered without spaces | +**f_address_longitude** | **str** | The Longitude of the Address | [optional] +**f_address_latitude** | **str** | The Latitude of the Address | [optional] + +## Example + +```python +from eZmaxApi.models.address_response import AddressResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of AddressResponse from a JSON string +address_response_instance = AddressResponse.from_json(json) +# print the JSON string representation of the object +print(AddressResponse.to_json()) + +# convert the object into a dict +address_response_dict = address_response_instance.to_dict() +# create an instance of AddressResponse from a dict +address_response_from_dict = AddressResponse.from_dict(address_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AddressResponseCompound.md b/docs/AddressResponseCompound.md new file mode 100644 index 000000000..3cf826681 --- /dev/null +++ b/docs/AddressResponseCompound.md @@ -0,0 +1,42 @@ +# AddressResponseCompound + +An Address Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_address_id** | **int** | The unique ID of the Address | +**fki_addresstype_id** | **int** | The unique ID of the Addresstype. Valid values: |Value|Description| |-|-| |1|Office| |2|Home| |3|Real Estate Invoice| |4|Invoicing| |5|Shipping| | +**s_address_civic** | **str** | The Civic number. | +**s_address_street** | **str** | The Street Name | +**s_address_suite** | **str** | The Suite or appartment number | [optional] +**s_address_city** | **str** | The City name | +**fki_province_id** | **int** | The unique ID of the Province. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|(Canada) Alberta |2|(Canada) British Columbia| |3|(Canada) Manitoba| |3|(Canada) Manitoba| |4|(Canada) New Brunswick| |5|(Canada) Newfoundland| |6|(Canada) Northwest Territories| |7|(Canada) Nova Scotia| |8|(Canada) Nunavut| |9|(Canada) Ontario| |10|(Canada) Prince Edward Island| |11|(Canada) Quebec| |12|(Canada) Saskatchewan| |13|(Canada) Yukon| |14|(United-States) Alabama| |15|(United-States) Alaska| |16|(United-States) Arizona| |17|(United-States) Arkansas| |18|(United-States) California| |19|(United-States) Colorado| |20|(United-States) Connecticut| |21|(United-States) Delaware| |22|(United-States) District of Columbia| |23|(United-States) Florida| |24|(United-States) Georgia| |25|(United-States) Hawaii| |26|(United-States) Idaho| |27|(United-States) Illinois| |28|(United-States) Indiana| |29|(United-States) Iowa| |30|(United-States) Kansas| |31|(United-States) Kentucky| |32|(United-States) Louisiane| |33|(United-States) Maine| |34|(United-States) Maryland| |35|(United-States) Massachusetts| |36|(United-States) Michigan| |37|(United-States) Minnesota| |38|(United-States) Mississippi| |39|(United-States) Missouri| |40|(United-States) Montana| |41|(United-States) Nebraska| |42|(United-States) Nevada| |43|(United-States) New Hampshire| |44|(United-States) New Jersey| |45|(United-States) New Mexico| |46|(United-States) New York| |47|(United-States) North Carolina| |48|(United-States) North Dakota| |49|(United-States) Ohio| |50|(United-States) Oklahoma| |51|(United-States) Oregon| |52|(United-States) Pennsylvania| |53|(United-States) Rhode Island| |54|(United-States) South Carolina| |55|(United-States) South Dakota| |56|(United-States) Tennessee| |57|(United-States) Texas| |58|(United-States) Utah| |60|(United-States) Vermont| |59|(United-States) Virginia| |61|(United-States) Washington| |62|(United-States) West Virginia| |63|(United-States) Wisconsin| |64|(United-States) Wyoming| | +**s_province_name_x** | **str** | The name of the Province in the language of the requester | +**fki_country_id** | **int** | The unique ID of the Country. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|Canada| |2|United-States| | +**s_country_name_x** | **str** | The name of the Country in the language of the requester | +**s_address_zip** | **str** | The Postal/Zip Code The value must be entered without spaces | +**f_address_longitude** | **str** | The Longitude of the Address | [optional] +**f_address_latitude** | **str** | The Latitude of the Address | [optional] + +## Example + +```python +from eZmaxApi.models.address_response_compound import AddressResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of AddressResponseCompound from a JSON string +address_response_compound_instance = AddressResponseCompound.from_json(json) +# print the JSON string representation of the object +print(AddressResponseCompound.to_json()) + +# convert the object into a dict +address_response_compound_dict = address_response_compound_instance.to_dict() +# create an instance of AddressResponseCompound from a dict +address_response_compound_from_dict = AddressResponseCompound.from_dict(address_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ApikeyCreateObjectV2Request.md b/docs/ApikeyCreateObjectV2Request.md index ec541fdc1..6a0b2f319 100644 --- a/docs/ApikeyCreateObjectV2Request.md +++ b/docs/ApikeyCreateObjectV2Request.md @@ -23,7 +23,7 @@ print(ApikeyCreateObjectV2Request.to_json()) # convert the object into a dict apikey_create_object_v2_request_dict = apikey_create_object_v2_request_instance.to_dict() # create an instance of ApikeyCreateObjectV2Request from a dict -apikey_create_object_v2_request_form_dict = apikey_create_object_v2_request.from_dict(apikey_create_object_v2_request_dict) +apikey_create_object_v2_request_from_dict = ApikeyCreateObjectV2Request.from_dict(apikey_create_object_v2_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyCreateObjectV2Response.md b/docs/ApikeyCreateObjectV2Response.md index 765d7f716..88de685dd 100644 --- a/docs/ApikeyCreateObjectV2Response.md +++ b/docs/ApikeyCreateObjectV2Response.md @@ -25,7 +25,7 @@ print(ApikeyCreateObjectV2Response.to_json()) # convert the object into a dict apikey_create_object_v2_response_dict = apikey_create_object_v2_response_instance.to_dict() # create an instance of ApikeyCreateObjectV2Response from a dict -apikey_create_object_v2_response_form_dict = apikey_create_object_v2_response.from_dict(apikey_create_object_v2_response_dict) +apikey_create_object_v2_response_from_dict = ApikeyCreateObjectV2Response.from_dict(apikey_create_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyCreateObjectV2ResponseMPayload.md b/docs/ApikeyCreateObjectV2ResponseMPayload.md index b8a752b83..31e5a3d61 100644 --- a/docs/ApikeyCreateObjectV2ResponseMPayload.md +++ b/docs/ApikeyCreateObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(ApikeyCreateObjectV2ResponseMPayload.to_json()) # convert the object into a dict apikey_create_object_v2_response_m_payload_dict = apikey_create_object_v2_response_m_payload_instance.to_dict() # create an instance of ApikeyCreateObjectV2ResponseMPayload from a dict -apikey_create_object_v2_response_m_payload_form_dict = apikey_create_object_v2_response_m_payload.from_dict(apikey_create_object_v2_response_m_payload_dict) +apikey_create_object_v2_response_m_payload_from_dict = ApikeyCreateObjectV2ResponseMPayload.from_dict(apikey_create_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyEditObjectV1Request.md b/docs/ApikeyEditObjectV1Request.md index 1e7aafd1e..806c047e0 100644 --- a/docs/ApikeyEditObjectV1Request.md +++ b/docs/ApikeyEditObjectV1Request.md @@ -23,7 +23,7 @@ print(ApikeyEditObjectV1Request.to_json()) # convert the object into a dict apikey_edit_object_v1_request_dict = apikey_edit_object_v1_request_instance.to_dict() # create an instance of ApikeyEditObjectV1Request from a dict -apikey_edit_object_v1_request_form_dict = apikey_edit_object_v1_request.from_dict(apikey_edit_object_v1_request_dict) +apikey_edit_object_v1_request_from_dict = ApikeyEditObjectV1Request.from_dict(apikey_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyEditObjectV1Response.md b/docs/ApikeyEditObjectV1Response.md index e56d5b65d..767dbdb08 100644 --- a/docs/ApikeyEditObjectV1Response.md +++ b/docs/ApikeyEditObjectV1Response.md @@ -24,7 +24,7 @@ print(ApikeyEditObjectV1Response.to_json()) # convert the object into a dict apikey_edit_object_v1_response_dict = apikey_edit_object_v1_response_instance.to_dict() # create an instance of ApikeyEditObjectV1Response from a dict -apikey_edit_object_v1_response_form_dict = apikey_edit_object_v1_response.from_dict(apikey_edit_object_v1_response_dict) +apikey_edit_object_v1_response_from_dict = ApikeyEditObjectV1Response.from_dict(apikey_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyEditPermissionsV1Request.md b/docs/ApikeyEditPermissionsV1Request.md index bacb0c369..0a193f9d6 100644 --- a/docs/ApikeyEditPermissionsV1Request.md +++ b/docs/ApikeyEditPermissionsV1Request.md @@ -23,7 +23,7 @@ print(ApikeyEditPermissionsV1Request.to_json()) # convert the object into a dict apikey_edit_permissions_v1_request_dict = apikey_edit_permissions_v1_request_instance.to_dict() # create an instance of ApikeyEditPermissionsV1Request from a dict -apikey_edit_permissions_v1_request_form_dict = apikey_edit_permissions_v1_request.from_dict(apikey_edit_permissions_v1_request_dict) +apikey_edit_permissions_v1_request_from_dict = ApikeyEditPermissionsV1Request.from_dict(apikey_edit_permissions_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyEditPermissionsV1Response.md b/docs/ApikeyEditPermissionsV1Response.md index 7765b7025..938a3a893 100644 --- a/docs/ApikeyEditPermissionsV1Response.md +++ b/docs/ApikeyEditPermissionsV1Response.md @@ -25,7 +25,7 @@ print(ApikeyEditPermissionsV1Response.to_json()) # convert the object into a dict apikey_edit_permissions_v1_response_dict = apikey_edit_permissions_v1_response_instance.to_dict() # create an instance of ApikeyEditPermissionsV1Response from a dict -apikey_edit_permissions_v1_response_form_dict = apikey_edit_permissions_v1_response.from_dict(apikey_edit_permissions_v1_response_dict) +apikey_edit_permissions_v1_response_from_dict = ApikeyEditPermissionsV1Response.from_dict(apikey_edit_permissions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyEditPermissionsV1ResponseMPayload.md b/docs/ApikeyEditPermissionsV1ResponseMPayload.md index 0e91b7302..d36fe6923 100644 --- a/docs/ApikeyEditPermissionsV1ResponseMPayload.md +++ b/docs/ApikeyEditPermissionsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(ApikeyEditPermissionsV1ResponseMPayload.to_json()) # convert the object into a dict apikey_edit_permissions_v1_response_m_payload_dict = apikey_edit_permissions_v1_response_m_payload_instance.to_dict() # create an instance of ApikeyEditPermissionsV1ResponseMPayload from a dict -apikey_edit_permissions_v1_response_m_payload_form_dict = apikey_edit_permissions_v1_response_m_payload.from_dict(apikey_edit_permissions_v1_response_m_payload_dict) +apikey_edit_permissions_v1_response_m_payload_from_dict = ApikeyEditPermissionsV1ResponseMPayload.from_dict(apikey_edit_permissions_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyGenerateDelegatedCredentialsV1Request.md b/docs/ApikeyGenerateDelegatedCredentialsV1Request.md new file mode 100644 index 000000000..8ba7e6de7 --- /dev/null +++ b/docs/ApikeyGenerateDelegatedCredentialsV1Request.md @@ -0,0 +1,30 @@ +# ApikeyGenerateDelegatedCredentialsV1Request + +Request for POST /1/object/apikey/generateDelegatedCredentials + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_expiration_minutes** | **int** | The number of minute before key is no longer active | + +## Example + +```python +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_request import ApikeyGenerateDelegatedCredentialsV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of ApikeyGenerateDelegatedCredentialsV1Request from a JSON string +apikey_generate_delegated_credentials_v1_request_instance = ApikeyGenerateDelegatedCredentialsV1Request.from_json(json) +# print the JSON string representation of the object +print(ApikeyGenerateDelegatedCredentialsV1Request.to_json()) + +# convert the object into a dict +apikey_generate_delegated_credentials_v1_request_dict = apikey_generate_delegated_credentials_v1_request_instance.to_dict() +# create an instance of ApikeyGenerateDelegatedCredentialsV1Request from a dict +apikey_generate_delegated_credentials_v1_request_from_dict = ApikeyGenerateDelegatedCredentialsV1Request.from_dict(apikey_generate_delegated_credentials_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ApikeyGenerateDelegatedCredentialsV1Response.md b/docs/ApikeyGenerateDelegatedCredentialsV1Response.md new file mode 100644 index 000000000..1f2542c6e --- /dev/null +++ b/docs/ApikeyGenerateDelegatedCredentialsV1Response.md @@ -0,0 +1,32 @@ +# ApikeyGenerateDelegatedCredentialsV1Response + +Response for POST /1/object/apikey/generateDelegatedCredentials + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**ApikeyGenerateDelegatedCredentialsV1ResponseMPayload**](ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response import ApikeyGenerateDelegatedCredentialsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of ApikeyGenerateDelegatedCredentialsV1Response from a JSON string +apikey_generate_delegated_credentials_v1_response_instance = ApikeyGenerateDelegatedCredentialsV1Response.from_json(json) +# print the JSON string representation of the object +print(ApikeyGenerateDelegatedCredentialsV1Response.to_json()) + +# convert the object into a dict +apikey_generate_delegated_credentials_v1_response_dict = apikey_generate_delegated_credentials_v1_response_instance.to_dict() +# create an instance of ApikeyGenerateDelegatedCredentialsV1Response from a dict +apikey_generate_delegated_credentials_v1_response_from_dict = ApikeyGenerateDelegatedCredentialsV1Response.from_dict(apikey_generate_delegated_credentials_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.md b/docs/ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.md new file mode 100644 index 000000000..01d084302 --- /dev/null +++ b/docs/ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# ApikeyGenerateDelegatedCredentialsV1ResponseMPayload + +Payload for POST /1/object/apikey/generateDelegatedCredentials + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_apikey** | [**CustomApikey**](CustomApikey.md) | | + +## Example + +```python +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response_m_payload import ApikeyGenerateDelegatedCredentialsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of ApikeyGenerateDelegatedCredentialsV1ResponseMPayload from a JSON string +apikey_generate_delegated_credentials_v1_response_m_payload_instance = ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.to_json()) + +# convert the object into a dict +apikey_generate_delegated_credentials_v1_response_m_payload_dict = apikey_generate_delegated_credentials_v1_response_m_payload_instance.to_dict() +# create an instance of ApikeyGenerateDelegatedCredentialsV1ResponseMPayload from a dict +apikey_generate_delegated_credentials_v1_response_m_payload_from_dict = ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.from_dict(apikey_generate_delegated_credentials_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ApikeyGetCorsV1Response.md b/docs/ApikeyGetCorsV1Response.md index 7816041e6..6080616d9 100644 --- a/docs/ApikeyGetCorsV1Response.md +++ b/docs/ApikeyGetCorsV1Response.md @@ -25,7 +25,7 @@ print(ApikeyGetCorsV1Response.to_json()) # convert the object into a dict apikey_get_cors_v1_response_dict = apikey_get_cors_v1_response_instance.to_dict() # create an instance of ApikeyGetCorsV1Response from a dict -apikey_get_cors_v1_response_form_dict = apikey_get_cors_v1_response.from_dict(apikey_get_cors_v1_response_dict) +apikey_get_cors_v1_response_from_dict = ApikeyGetCorsV1Response.from_dict(apikey_get_cors_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyGetCorsV1ResponseMPayload.md b/docs/ApikeyGetCorsV1ResponseMPayload.md index 266f8c734..4fe27939f 100644 --- a/docs/ApikeyGetCorsV1ResponseMPayload.md +++ b/docs/ApikeyGetCorsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(ApikeyGetCorsV1ResponseMPayload.to_json()) # convert the object into a dict apikey_get_cors_v1_response_m_payload_dict = apikey_get_cors_v1_response_m_payload_instance.to_dict() # create an instance of ApikeyGetCorsV1ResponseMPayload from a dict -apikey_get_cors_v1_response_m_payload_form_dict = apikey_get_cors_v1_response_m_payload.from_dict(apikey_get_cors_v1_response_m_payload_dict) +apikey_get_cors_v1_response_m_payload_from_dict = ApikeyGetCorsV1ResponseMPayload.from_dict(apikey_get_cors_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyGetListV1Response.md b/docs/ApikeyGetListV1Response.md index 6ee022014..21497f0f5 100644 --- a/docs/ApikeyGetListV1Response.md +++ b/docs/ApikeyGetListV1Response.md @@ -25,7 +25,7 @@ print(ApikeyGetListV1Response.to_json()) # convert the object into a dict apikey_get_list_v1_response_dict = apikey_get_list_v1_response_instance.to_dict() # create an instance of ApikeyGetListV1Response from a dict -apikey_get_list_v1_response_form_dict = apikey_get_list_v1_response.from_dict(apikey_get_list_v1_response_dict) +apikey_get_list_v1_response_from_dict = ApikeyGetListV1Response.from_dict(apikey_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyGetListV1ResponseMPayload.md b/docs/ApikeyGetListV1ResponseMPayload.md index 3c3c1517d..6f636b3ec 100644 --- a/docs/ApikeyGetListV1ResponseMPayload.md +++ b/docs/ApikeyGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(ApikeyGetListV1ResponseMPayload.to_json()) # convert the object into a dict apikey_get_list_v1_response_m_payload_dict = apikey_get_list_v1_response_m_payload_instance.to_dict() # create an instance of ApikeyGetListV1ResponseMPayload from a dict -apikey_get_list_v1_response_m_payload_form_dict = apikey_get_list_v1_response_m_payload.from_dict(apikey_get_list_v1_response_m_payload_dict) +apikey_get_list_v1_response_m_payload_from_dict = ApikeyGetListV1ResponseMPayload.from_dict(apikey_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyGetObjectV2Response.md b/docs/ApikeyGetObjectV2Response.md index fd12f6925..d0524f64f 100644 --- a/docs/ApikeyGetObjectV2Response.md +++ b/docs/ApikeyGetObjectV2Response.md @@ -25,7 +25,7 @@ print(ApikeyGetObjectV2Response.to_json()) # convert the object into a dict apikey_get_object_v2_response_dict = apikey_get_object_v2_response_instance.to_dict() # create an instance of ApikeyGetObjectV2Response from a dict -apikey_get_object_v2_response_form_dict = apikey_get_object_v2_response.from_dict(apikey_get_object_v2_response_dict) +apikey_get_object_v2_response_from_dict = ApikeyGetObjectV2Response.from_dict(apikey_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyGetObjectV2ResponseMPayload.md b/docs/ApikeyGetObjectV2ResponseMPayload.md index 0b5fc435e..912d7895a 100644 --- a/docs/ApikeyGetObjectV2ResponseMPayload.md +++ b/docs/ApikeyGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(ApikeyGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict apikey_get_object_v2_response_m_payload_dict = apikey_get_object_v2_response_m_payload_instance.to_dict() # create an instance of ApikeyGetObjectV2ResponseMPayload from a dict -apikey_get_object_v2_response_m_payload_form_dict = apikey_get_object_v2_response_m_payload.from_dict(apikey_get_object_v2_response_m_payload_dict) +apikey_get_object_v2_response_m_payload_from_dict = ApikeyGetObjectV2ResponseMPayload.from_dict(apikey_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyGetPermissionsV1Response.md b/docs/ApikeyGetPermissionsV1Response.md index e6d8e5183..f6784ee60 100644 --- a/docs/ApikeyGetPermissionsV1Response.md +++ b/docs/ApikeyGetPermissionsV1Response.md @@ -25,7 +25,7 @@ print(ApikeyGetPermissionsV1Response.to_json()) # convert the object into a dict apikey_get_permissions_v1_response_dict = apikey_get_permissions_v1_response_instance.to_dict() # create an instance of ApikeyGetPermissionsV1Response from a dict -apikey_get_permissions_v1_response_form_dict = apikey_get_permissions_v1_response.from_dict(apikey_get_permissions_v1_response_dict) +apikey_get_permissions_v1_response_from_dict = ApikeyGetPermissionsV1Response.from_dict(apikey_get_permissions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyGetPermissionsV1ResponseMPayload.md b/docs/ApikeyGetPermissionsV1ResponseMPayload.md index 1a9d1ded4..e4505738d 100644 --- a/docs/ApikeyGetPermissionsV1ResponseMPayload.md +++ b/docs/ApikeyGetPermissionsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(ApikeyGetPermissionsV1ResponseMPayload.to_json()) # convert the object into a dict apikey_get_permissions_v1_response_m_payload_dict = apikey_get_permissions_v1_response_m_payload_instance.to_dict() # create an instance of ApikeyGetPermissionsV1ResponseMPayload from a dict -apikey_get_permissions_v1_response_m_payload_form_dict = apikey_get_permissions_v1_response_m_payload.from_dict(apikey_get_permissions_v1_response_m_payload_dict) +apikey_get_permissions_v1_response_m_payload_from_dict = ApikeyGetPermissionsV1ResponseMPayload.from_dict(apikey_get_permissions_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyGetSubnetsV1Response.md b/docs/ApikeyGetSubnetsV1Response.md index bc507a627..122a93c9f 100644 --- a/docs/ApikeyGetSubnetsV1Response.md +++ b/docs/ApikeyGetSubnetsV1Response.md @@ -25,7 +25,7 @@ print(ApikeyGetSubnetsV1Response.to_json()) # convert the object into a dict apikey_get_subnets_v1_response_dict = apikey_get_subnets_v1_response_instance.to_dict() # create an instance of ApikeyGetSubnetsV1Response from a dict -apikey_get_subnets_v1_response_form_dict = apikey_get_subnets_v1_response.from_dict(apikey_get_subnets_v1_response_dict) +apikey_get_subnets_v1_response_from_dict = ApikeyGetSubnetsV1Response.from_dict(apikey_get_subnets_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyGetSubnetsV1ResponseMPayload.md b/docs/ApikeyGetSubnetsV1ResponseMPayload.md index 02e66088b..261de493b 100644 --- a/docs/ApikeyGetSubnetsV1ResponseMPayload.md +++ b/docs/ApikeyGetSubnetsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(ApikeyGetSubnetsV1ResponseMPayload.to_json()) # convert the object into a dict apikey_get_subnets_v1_response_m_payload_dict = apikey_get_subnets_v1_response_m_payload_instance.to_dict() # create an instance of ApikeyGetSubnetsV1ResponseMPayload from a dict -apikey_get_subnets_v1_response_m_payload_form_dict = apikey_get_subnets_v1_response_m_payload.from_dict(apikey_get_subnets_v1_response_m_payload_dict) +apikey_get_subnets_v1_response_m_payload_from_dict = ApikeyGetSubnetsV1ResponseMPayload.from_dict(apikey_get_subnets_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyListElement.md b/docs/ApikeyListElement.md index ecabd5083..3199741ed 100644 --- a/docs/ApikeyListElement.md +++ b/docs/ApikeyListElement.md @@ -28,7 +28,7 @@ print(ApikeyListElement.to_json()) # convert the object into a dict apikey_list_element_dict = apikey_list_element_instance.to_dict() # create an instance of ApikeyListElement from a dict -apikey_list_element_form_dict = apikey_list_element.from_dict(apikey_list_element_dict) +apikey_list_element_from_dict = ApikeyListElement.from_dict(apikey_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyRegenerateV1Request.md b/docs/ApikeyRegenerateV1Request.md index 5a0a7e223..7ed83bc07 100644 --- a/docs/ApikeyRegenerateV1Request.md +++ b/docs/ApikeyRegenerateV1Request.md @@ -23,7 +23,7 @@ print(ApikeyRegenerateV1Request.to_json()) # convert the object into a dict apikey_regenerate_v1_request_dict = apikey_regenerate_v1_request_instance.to_dict() # create an instance of ApikeyRegenerateV1Request from a dict -apikey_regenerate_v1_request_form_dict = apikey_regenerate_v1_request.from_dict(apikey_regenerate_v1_request_dict) +apikey_regenerate_v1_request_from_dict = ApikeyRegenerateV1Request.from_dict(apikey_regenerate_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyRegenerateV1Response.md b/docs/ApikeyRegenerateV1Response.md index d6adf219c..fed59bfc6 100644 --- a/docs/ApikeyRegenerateV1Response.md +++ b/docs/ApikeyRegenerateV1Response.md @@ -25,7 +25,7 @@ print(ApikeyRegenerateV1Response.to_json()) # convert the object into a dict apikey_regenerate_v1_response_dict = apikey_regenerate_v1_response_instance.to_dict() # create an instance of ApikeyRegenerateV1Response from a dict -apikey_regenerate_v1_response_form_dict = apikey_regenerate_v1_response.from_dict(apikey_regenerate_v1_response_dict) +apikey_regenerate_v1_response_from_dict = ApikeyRegenerateV1Response.from_dict(apikey_regenerate_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyRegenerateV1ResponseMPayload.md b/docs/ApikeyRegenerateV1ResponseMPayload.md index 23640b3c9..10f1f8270 100644 --- a/docs/ApikeyRegenerateV1ResponseMPayload.md +++ b/docs/ApikeyRegenerateV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(ApikeyRegenerateV1ResponseMPayload.to_json()) # convert the object into a dict apikey_regenerate_v1_response_m_payload_dict = apikey_regenerate_v1_response_m_payload_instance.to_dict() # create an instance of ApikeyRegenerateV1ResponseMPayload from a dict -apikey_regenerate_v1_response_m_payload_form_dict = apikey_regenerate_v1_response_m_payload.from_dict(apikey_regenerate_v1_response_m_payload_dict) +apikey_regenerate_v1_response_m_payload_from_dict = ApikeyRegenerateV1ResponseMPayload.from_dict(apikey_regenerate_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyRequest.md b/docs/ApikeyRequest.md index c18579a39..9341618ba 100644 --- a/docs/ApikeyRequest.md +++ b/docs/ApikeyRequest.md @@ -27,7 +27,7 @@ print(ApikeyRequest.to_json()) # convert the object into a dict apikey_request_dict = apikey_request_instance.to_dict() # create an instance of ApikeyRequest from a dict -apikey_request_form_dict = apikey_request.from_dict(apikey_request_dict) +apikey_request_from_dict = ApikeyRequest.from_dict(apikey_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyRequestCompound.md b/docs/ApikeyRequestCompound.md index f3174e0be..44a19375d 100644 --- a/docs/ApikeyRequestCompound.md +++ b/docs/ApikeyRequestCompound.md @@ -27,7 +27,7 @@ print(ApikeyRequestCompound.to_json()) # convert the object into a dict apikey_request_compound_dict = apikey_request_compound_instance.to_dict() # create an instance of ApikeyRequestCompound from a dict -apikey_request_compound_form_dict = apikey_request_compound.from_dict(apikey_request_compound_dict) +apikey_request_compound_from_dict = ApikeyRequestCompound.from_dict(apikey_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyResponse.md b/docs/ApikeyResponse.md index 27b0ed0b1..20beaa500 100644 --- a/docs/ApikeyResponse.md +++ b/docs/ApikeyResponse.md @@ -31,7 +31,7 @@ print(ApikeyResponse.to_json()) # convert the object into a dict apikey_response_dict = apikey_response_instance.to_dict() # create an instance of ApikeyResponse from a dict -apikey_response_form_dict = apikey_response.from_dict(apikey_response_dict) +apikey_response_from_dict = ApikeyResponse.from_dict(apikey_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApikeyResponseCompound.md b/docs/ApikeyResponseCompound.md index 6a14174a7..b77910fd5 100644 --- a/docs/ApikeyResponseCompound.md +++ b/docs/ApikeyResponseCompound.md @@ -31,7 +31,7 @@ print(ApikeyResponseCompound.to_json()) # convert the object into a dict apikey_response_compound_dict = apikey_response_compound_instance.to_dict() # create an instance of ApikeyResponseCompound from a dict -apikey_response_compound_form_dict = apikey_response_compound.from_dict(apikey_response_compound_dict) +apikey_response_compound_from_dict = ApikeyResponseCompound.from_dict(apikey_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AttachmentGetAttachmentlogsV1Response.md b/docs/AttachmentGetAttachmentlogsV1Response.md index 0685cc5e0..7b807008d 100644 --- a/docs/AttachmentGetAttachmentlogsV1Response.md +++ b/docs/AttachmentGetAttachmentlogsV1Response.md @@ -25,7 +25,7 @@ print(AttachmentGetAttachmentlogsV1Response.to_json()) # convert the object into a dict attachment_get_attachmentlogs_v1_response_dict = attachment_get_attachmentlogs_v1_response_instance.to_dict() # create an instance of AttachmentGetAttachmentlogsV1Response from a dict -attachment_get_attachmentlogs_v1_response_form_dict = attachment_get_attachmentlogs_v1_response.from_dict(attachment_get_attachmentlogs_v1_response_dict) +attachment_get_attachmentlogs_v1_response_from_dict = AttachmentGetAttachmentlogsV1Response.from_dict(attachment_get_attachmentlogs_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AttachmentGetAttachmentlogsV1ResponseMPayload.md b/docs/AttachmentGetAttachmentlogsV1ResponseMPayload.md index 4fc954090..0c68f492a 100644 --- a/docs/AttachmentGetAttachmentlogsV1ResponseMPayload.md +++ b/docs/AttachmentGetAttachmentlogsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(AttachmentGetAttachmentlogsV1ResponseMPayload.to_json()) # convert the object into a dict attachment_get_attachmentlogs_v1_response_m_payload_dict = attachment_get_attachmentlogs_v1_response_m_payload_instance.to_dict() # create an instance of AttachmentGetAttachmentlogsV1ResponseMPayload from a dict -attachment_get_attachmentlogs_v1_response_m_payload_form_dict = attachment_get_attachmentlogs_v1_response_m_payload.from_dict(attachment_get_attachmentlogs_v1_response_m_payload_dict) +attachment_get_attachmentlogs_v1_response_m_payload_from_dict = AttachmentGetAttachmentlogsV1ResponseMPayload.from_dict(attachment_get_attachmentlogs_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AttachmentGetDownloadUrlV1Response.md b/docs/AttachmentGetDownloadUrlV1Response.md deleted file mode 100644 index 372558a7c..000000000 --- a/docs/AttachmentGetDownloadUrlV1Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# AttachmentGetDownloadUrlV1Response - -Response for GET /1/object/attachment/{pkiAttachmentID}/getDownloadUrl - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**AttachmentGetDownloadUrlV1ResponseMPayload**](AttachmentGetDownloadUrlV1ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.attachment_get_download_url_v1_response import AttachmentGetDownloadUrlV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of AttachmentGetDownloadUrlV1Response from a JSON string -attachment_get_download_url_v1_response_instance = AttachmentGetDownloadUrlV1Response.from_json(json) -# print the JSON string representation of the object -print(AttachmentGetDownloadUrlV1Response.to_json()) - -# convert the object into a dict -attachment_get_download_url_v1_response_dict = attachment_get_download_url_v1_response_instance.to_dict() -# create an instance of AttachmentGetDownloadUrlV1Response from a dict -attachment_get_download_url_v1_response_form_dict = attachment_get_download_url_v1_response.from_dict(attachment_get_download_url_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/AttachmentGetDownloadUrlV1ResponseMPayload.md b/docs/AttachmentGetDownloadUrlV1ResponseMPayload.md deleted file mode 100644 index 9b8d5ad95..000000000 --- a/docs/AttachmentGetDownloadUrlV1ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# AttachmentGetDownloadUrlV1ResponseMPayload - -Payload for GET /1/object/attachment/{pkiAttachmentID}/getDownloadUrl - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**s_download_url** | **str** | The Url to the requested attachment. Url will expire after 5 minutes. | - -## Example - -```python -from eZmaxApi.models.attachment_get_download_url_v1_response_m_payload import AttachmentGetDownloadUrlV1ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of AttachmentGetDownloadUrlV1ResponseMPayload from a JSON string -attachment_get_download_url_v1_response_m_payload_instance = AttachmentGetDownloadUrlV1ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(AttachmentGetDownloadUrlV1ResponseMPayload.to_json()) - -# convert the object into a dict -attachment_get_download_url_v1_response_m_payload_dict = attachment_get_download_url_v1_response_m_payload_instance.to_dict() -# create an instance of AttachmentGetDownloadUrlV1ResponseMPayload from a dict -attachment_get_download_url_v1_response_m_payload_form_dict = attachment_get_download_url_v1_response_m_payload.from_dict(attachment_get_download_url_v1_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/AttachmentResponse.md b/docs/AttachmentResponse.md index 37475c77e..8e477ca31 100644 --- a/docs/AttachmentResponse.md +++ b/docs/AttachmentResponse.md @@ -83,7 +83,7 @@ print(AttachmentResponse.to_json()) # convert the object into a dict attachment_response_dict = attachment_response_instance.to_dict() # create an instance of AttachmentResponse from a dict -attachment_response_form_dict = attachment_response.from_dict(attachment_response_dict) +attachment_response_from_dict = AttachmentResponse.from_dict(attachment_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AttachmentResponseCompound.md b/docs/AttachmentResponseCompound.md index b0da4bb4c..daadd84c0 100644 --- a/docs/AttachmentResponseCompound.md +++ b/docs/AttachmentResponseCompound.md @@ -83,7 +83,7 @@ print(AttachmentResponseCompound.to_json()) # convert the object into a dict attachment_response_compound_dict = attachment_response_compound_instance.to_dict() # create an instance of AttachmentResponseCompound from a dict -attachment_response_compound_form_dict = attachment_response_compound.from_dict(attachment_response_compound_dict) +attachment_response_compound_from_dict = AttachmentResponseCompound.from_dict(attachment_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AttachmentlogResponse.md b/docs/AttachmentlogResponse.md index 4a2715bb3..cacc3e29b 100644 --- a/docs/AttachmentlogResponse.md +++ b/docs/AttachmentlogResponse.md @@ -27,7 +27,7 @@ print(AttachmentlogResponse.to_json()) # convert the object into a dict attachmentlog_response_dict = attachmentlog_response_instance.to_dict() # create an instance of AttachmentlogResponse from a dict -attachmentlog_response_form_dict = attachmentlog_response.from_dict(attachmentlog_response_dict) +attachmentlog_response_from_dict = AttachmentlogResponse.from_dict(attachmentlog_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AttachmentlogResponseCompound.md b/docs/AttachmentlogResponseCompound.md index 4e12a5786..b14fbbf56 100644 --- a/docs/AttachmentlogResponseCompound.md +++ b/docs/AttachmentlogResponseCompound.md @@ -27,7 +27,7 @@ print(AttachmentlogResponseCompound.to_json()) # convert the object into a dict attachmentlog_response_compound_dict = attachmentlog_response_compound_instance.to_dict() # create an instance of AttachmentlogResponseCompound from a dict -attachmentlog_response_compound_form_dict = attachmentlog_response_compound.from_dict(attachmentlog_response_compound_dict) +attachmentlog_response_compound_from_dict = AttachmentlogResponseCompound.from_dict(attachmentlog_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AttemptResponse.md b/docs/AttemptResponse.md index 760b7edd3..dda42336f 100644 --- a/docs/AttemptResponse.md +++ b/docs/AttemptResponse.md @@ -25,7 +25,7 @@ print(AttemptResponse.to_json()) # convert the object into a dict attempt_response_dict = attempt_response_instance.to_dict() # create an instance of AttemptResponse from a dict -attempt_response_form_dict = attempt_response.from_dict(attempt_response_dict) +attempt_response_from_dict = AttemptResponse.from_dict(attempt_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AttemptResponseCompound.md b/docs/AttemptResponseCompound.md index a1069db1a..a0d5627bc 100644 --- a/docs/AttemptResponseCompound.md +++ b/docs/AttemptResponseCompound.md @@ -25,7 +25,7 @@ print(AttemptResponseCompound.to_json()) # convert the object into a dict attempt_response_compound_dict = attempt_response_compound_instance.to_dict() # create an instance of AttemptResponseCompound from a dict -attempt_response_compound_form_dict = attempt_response_compound.from_dict(attempt_response_compound_dict) +attempt_response_compound_from_dict = AttemptResponseCompound.from_dict(attempt_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AuthenticationexternalAutocompleteElementResponse.md b/docs/AuthenticationexternalAutocompleteElementResponse.md new file mode 100644 index 000000000..4bc24c0ad --- /dev/null +++ b/docs/AuthenticationexternalAutocompleteElementResponse.md @@ -0,0 +1,32 @@ +# AuthenticationexternalAutocompleteElementResponse + +A Authenticationexternal AutocompleteElement Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | +**b_authenticationexternal_isactive** | **bool** | Whether the Authenticationexternal is active or not | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_autocomplete_element_response import AuthenticationexternalAutocompleteElementResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalAutocompleteElementResponse from a JSON string +authenticationexternal_autocomplete_element_response_instance = AuthenticationexternalAutocompleteElementResponse.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalAutocompleteElementResponse.to_json()) + +# convert the object into a dict +authenticationexternal_autocomplete_element_response_dict = authenticationexternal_autocomplete_element_response_instance.to_dict() +# create an instance of AuthenticationexternalAutocompleteElementResponse from a dict +authenticationexternal_autocomplete_element_response_from_dict = AuthenticationexternalAutocompleteElementResponse.from_dict(authenticationexternal_autocomplete_element_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalCreateObjectV1Request.md b/docs/AuthenticationexternalCreateObjectV1Request.md new file mode 100644 index 000000000..525119504 --- /dev/null +++ b/docs/AuthenticationexternalCreateObjectV1Request.md @@ -0,0 +1,30 @@ +# AuthenticationexternalCreateObjectV1Request + +Request for POST /1/object/authenticationexternal + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_authenticationexternal** | [**List[AuthenticationexternalRequestCompound]**](AuthenticationexternalRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_create_object_v1_request import AuthenticationexternalCreateObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalCreateObjectV1Request from a JSON string +authenticationexternal_create_object_v1_request_instance = AuthenticationexternalCreateObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalCreateObjectV1Request.to_json()) + +# convert the object into a dict +authenticationexternal_create_object_v1_request_dict = authenticationexternal_create_object_v1_request_instance.to_dict() +# create an instance of AuthenticationexternalCreateObjectV1Request from a dict +authenticationexternal_create_object_v1_request_from_dict = AuthenticationexternalCreateObjectV1Request.from_dict(authenticationexternal_create_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalCreateObjectV1Response.md b/docs/AuthenticationexternalCreateObjectV1Response.md new file mode 100644 index 000000000..64bbbf100 --- /dev/null +++ b/docs/AuthenticationexternalCreateObjectV1Response.md @@ -0,0 +1,32 @@ +# AuthenticationexternalCreateObjectV1Response + +Response for POST /1/object/authenticationexternal + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**AuthenticationexternalCreateObjectV1ResponseMPayload**](AuthenticationexternalCreateObjectV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_create_object_v1_response import AuthenticationexternalCreateObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalCreateObjectV1Response from a JSON string +authenticationexternal_create_object_v1_response_instance = AuthenticationexternalCreateObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalCreateObjectV1Response.to_json()) + +# convert the object into a dict +authenticationexternal_create_object_v1_response_dict = authenticationexternal_create_object_v1_response_instance.to_dict() +# create an instance of AuthenticationexternalCreateObjectV1Response from a dict +authenticationexternal_create_object_v1_response_from_dict = AuthenticationexternalCreateObjectV1Response.from_dict(authenticationexternal_create_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalCreateObjectV1ResponseMPayload.md b/docs/AuthenticationexternalCreateObjectV1ResponseMPayload.md new file mode 100644 index 000000000..019df9577 --- /dev/null +++ b/docs/AuthenticationexternalCreateObjectV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# AuthenticationexternalCreateObjectV1ResponseMPayload + +Payload for POST /1/object/authenticationexternal + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_authenticationexternal_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_create_object_v1_response_m_payload import AuthenticationexternalCreateObjectV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalCreateObjectV1ResponseMPayload from a JSON string +authenticationexternal_create_object_v1_response_m_payload_instance = AuthenticationexternalCreateObjectV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalCreateObjectV1ResponseMPayload.to_json()) + +# convert the object into a dict +authenticationexternal_create_object_v1_response_m_payload_dict = authenticationexternal_create_object_v1_response_m_payload_instance.to_dict() +# create an instance of AuthenticationexternalCreateObjectV1ResponseMPayload from a dict +authenticationexternal_create_object_v1_response_m_payload_from_dict = AuthenticationexternalCreateObjectV1ResponseMPayload.from_dict(authenticationexternal_create_object_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalDeleteObjectV1Response.md b/docs/AuthenticationexternalDeleteObjectV1Response.md new file mode 100644 index 000000000..19494f34e --- /dev/null +++ b/docs/AuthenticationexternalDeleteObjectV1Response.md @@ -0,0 +1,31 @@ +# AuthenticationexternalDeleteObjectV1Response + +Response for DELETE /1/object/authenticationexternal/{pkiAuthenticationexternalID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.authenticationexternal_delete_object_v1_response import AuthenticationexternalDeleteObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalDeleteObjectV1Response from a JSON string +authenticationexternal_delete_object_v1_response_instance = AuthenticationexternalDeleteObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalDeleteObjectV1Response.to_json()) + +# convert the object into a dict +authenticationexternal_delete_object_v1_response_dict = authenticationexternal_delete_object_v1_response_instance.to_dict() +# create an instance of AuthenticationexternalDeleteObjectV1Response from a dict +authenticationexternal_delete_object_v1_response_from_dict = AuthenticationexternalDeleteObjectV1Response.from_dict(authenticationexternal_delete_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalEditObjectV1Request.md b/docs/AuthenticationexternalEditObjectV1Request.md new file mode 100644 index 000000000..5fe0bbc2c --- /dev/null +++ b/docs/AuthenticationexternalEditObjectV1Request.md @@ -0,0 +1,30 @@ +# AuthenticationexternalEditObjectV1Request + +Request for PUT /1/object/authenticationexternal/{pkiAuthenticationexternalID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_authenticationexternal** | [**AuthenticationexternalRequestCompound**](AuthenticationexternalRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_edit_object_v1_request import AuthenticationexternalEditObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalEditObjectV1Request from a JSON string +authenticationexternal_edit_object_v1_request_instance = AuthenticationexternalEditObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalEditObjectV1Request.to_json()) + +# convert the object into a dict +authenticationexternal_edit_object_v1_request_dict = authenticationexternal_edit_object_v1_request_instance.to_dict() +# create an instance of AuthenticationexternalEditObjectV1Request from a dict +authenticationexternal_edit_object_v1_request_from_dict = AuthenticationexternalEditObjectV1Request.from_dict(authenticationexternal_edit_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalEditObjectV1Response.md b/docs/AuthenticationexternalEditObjectV1Response.md new file mode 100644 index 000000000..5f038db6b --- /dev/null +++ b/docs/AuthenticationexternalEditObjectV1Response.md @@ -0,0 +1,31 @@ +# AuthenticationexternalEditObjectV1Response + +Response for PUT /1/object/authenticationexternal/{pkiAuthenticationexternalID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.authenticationexternal_edit_object_v1_response import AuthenticationexternalEditObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalEditObjectV1Response from a JSON string +authenticationexternal_edit_object_v1_response_instance = AuthenticationexternalEditObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalEditObjectV1Response.to_json()) + +# convert the object into a dict +authenticationexternal_edit_object_v1_response_dict = authenticationexternal_edit_object_v1_response_instance.to_dict() +# create an instance of AuthenticationexternalEditObjectV1Response from a dict +authenticationexternal_edit_object_v1_response_from_dict = AuthenticationexternalEditObjectV1Response.from_dict(authenticationexternal_edit_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalGetAutocompleteV2Response.md b/docs/AuthenticationexternalGetAutocompleteV2Response.md new file mode 100644 index 000000000..5b7a51db0 --- /dev/null +++ b/docs/AuthenticationexternalGetAutocompleteV2Response.md @@ -0,0 +1,32 @@ +# AuthenticationexternalGetAutocompleteV2Response + +Response for GET /2/object/authenticationexternal/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**AuthenticationexternalGetAutocompleteV2ResponseMPayload**](AuthenticationexternalGetAutocompleteV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response import AuthenticationexternalGetAutocompleteV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalGetAutocompleteV2Response from a JSON string +authenticationexternal_get_autocomplete_v2_response_instance = AuthenticationexternalGetAutocompleteV2Response.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalGetAutocompleteV2Response.to_json()) + +# convert the object into a dict +authenticationexternal_get_autocomplete_v2_response_dict = authenticationexternal_get_autocomplete_v2_response_instance.to_dict() +# create an instance of AuthenticationexternalGetAutocompleteV2Response from a dict +authenticationexternal_get_autocomplete_v2_response_from_dict = AuthenticationexternalGetAutocompleteV2Response.from_dict(authenticationexternal_get_autocomplete_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalGetAutocompleteV2ResponseMPayload.md b/docs/AuthenticationexternalGetAutocompleteV2ResponseMPayload.md new file mode 100644 index 000000000..650213eaf --- /dev/null +++ b/docs/AuthenticationexternalGetAutocompleteV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# AuthenticationexternalGetAutocompleteV2ResponseMPayload + +Payload for POST /2/object/authenticationexternal/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_authenticationexternal** | [**List[AuthenticationexternalAutocompleteElementResponse]**](AuthenticationexternalAutocompleteElementResponse.md) | An array of Authenticationexternal autocomplete element response. | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response_m_payload import AuthenticationexternalGetAutocompleteV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalGetAutocompleteV2ResponseMPayload from a JSON string +authenticationexternal_get_autocomplete_v2_response_m_payload_instance = AuthenticationexternalGetAutocompleteV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalGetAutocompleteV2ResponseMPayload.to_json()) + +# convert the object into a dict +authenticationexternal_get_autocomplete_v2_response_m_payload_dict = authenticationexternal_get_autocomplete_v2_response_m_payload_instance.to_dict() +# create an instance of AuthenticationexternalGetAutocompleteV2ResponseMPayload from a dict +authenticationexternal_get_autocomplete_v2_response_m_payload_from_dict = AuthenticationexternalGetAutocompleteV2ResponseMPayload.from_dict(authenticationexternal_get_autocomplete_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalGetListV1Response.md b/docs/AuthenticationexternalGetListV1Response.md new file mode 100644 index 000000000..7823c9e35 --- /dev/null +++ b/docs/AuthenticationexternalGetListV1Response.md @@ -0,0 +1,32 @@ +# AuthenticationexternalGetListV1Response + +Response for GET /1/object/authenticationexternal/getList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**AuthenticationexternalGetListV1ResponseMPayload**](AuthenticationexternalGetListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_get_list_v1_response import AuthenticationexternalGetListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalGetListV1Response from a JSON string +authenticationexternal_get_list_v1_response_instance = AuthenticationexternalGetListV1Response.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalGetListV1Response.to_json()) + +# convert the object into a dict +authenticationexternal_get_list_v1_response_dict = authenticationexternal_get_list_v1_response_instance.to_dict() +# create an instance of AuthenticationexternalGetListV1Response from a dict +authenticationexternal_get_list_v1_response_from_dict = AuthenticationexternalGetListV1Response.from_dict(authenticationexternal_get_list_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalGetListV1ResponseMPayload.md b/docs/AuthenticationexternalGetListV1ResponseMPayload.md new file mode 100644 index 000000000..360d482cc --- /dev/null +++ b/docs/AuthenticationexternalGetListV1ResponseMPayload.md @@ -0,0 +1,32 @@ +# AuthenticationexternalGetListV1ResponseMPayload + +Payload for GET /1/object/authenticationexternal/getList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | +**a_obj_authenticationexternal** | [**List[AuthenticationexternalListElement]**](AuthenticationexternalListElement.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_get_list_v1_response_m_payload import AuthenticationexternalGetListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalGetListV1ResponseMPayload from a JSON string +authenticationexternal_get_list_v1_response_m_payload_instance = AuthenticationexternalGetListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalGetListV1ResponseMPayload.to_json()) + +# convert the object into a dict +authenticationexternal_get_list_v1_response_m_payload_dict = authenticationexternal_get_list_v1_response_m_payload_instance.to_dict() +# create an instance of AuthenticationexternalGetListV1ResponseMPayload from a dict +authenticationexternal_get_list_v1_response_m_payload_from_dict = AuthenticationexternalGetListV1ResponseMPayload.from_dict(authenticationexternal_get_list_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalGetObjectV2Response.md b/docs/AuthenticationexternalGetObjectV2Response.md new file mode 100644 index 000000000..c15b1e8a7 --- /dev/null +++ b/docs/AuthenticationexternalGetObjectV2Response.md @@ -0,0 +1,32 @@ +# AuthenticationexternalGetObjectV2Response + +Response for GET /2/object/authenticationexternal/{pkiAuthenticationexternalID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**AuthenticationexternalGetObjectV2ResponseMPayload**](AuthenticationexternalGetObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_get_object_v2_response import AuthenticationexternalGetObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalGetObjectV2Response from a JSON string +authenticationexternal_get_object_v2_response_instance = AuthenticationexternalGetObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalGetObjectV2Response.to_json()) + +# convert the object into a dict +authenticationexternal_get_object_v2_response_dict = authenticationexternal_get_object_v2_response_instance.to_dict() +# create an instance of AuthenticationexternalGetObjectV2Response from a dict +authenticationexternal_get_object_v2_response_from_dict = AuthenticationexternalGetObjectV2Response.from_dict(authenticationexternal_get_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalGetObjectV2ResponseMPayload.md b/docs/AuthenticationexternalGetObjectV2ResponseMPayload.md new file mode 100644 index 000000000..3ce90b31c --- /dev/null +++ b/docs/AuthenticationexternalGetObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# AuthenticationexternalGetObjectV2ResponseMPayload + +Payload for GET /2/object/authenticationexternal/{pkiAuthenticationexternalID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_authenticationexternal** | [**AuthenticationexternalResponseCompound**](AuthenticationexternalResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_get_object_v2_response_m_payload import AuthenticationexternalGetObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalGetObjectV2ResponseMPayload from a JSON string +authenticationexternal_get_object_v2_response_m_payload_instance = AuthenticationexternalGetObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalGetObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +authenticationexternal_get_object_v2_response_m_payload_dict = authenticationexternal_get_object_v2_response_m_payload_instance.to_dict() +# create an instance of AuthenticationexternalGetObjectV2ResponseMPayload from a dict +authenticationexternal_get_object_v2_response_m_payload_from_dict = AuthenticationexternalGetObjectV2ResponseMPayload.from_dict(authenticationexternal_get_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalListElement.md b/docs/AuthenticationexternalListElement.md new file mode 100644 index 000000000..74d72baf1 --- /dev/null +++ b/docs/AuthenticationexternalListElement.md @@ -0,0 +1,33 @@ +# AuthenticationexternalListElement + +A Authenticationexternal List Element + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | +**e_authenticationexternal_type** | [**FieldEAuthenticationexternalType**](FieldEAuthenticationexternalType.md) | | +**b_authenticationexternal_connected** | **bool** | Whether the Authenticationexternal has been connected or not | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_list_element import AuthenticationexternalListElement + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalListElement from a JSON string +authenticationexternal_list_element_instance = AuthenticationexternalListElement.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalListElement.to_json()) + +# convert the object into a dict +authenticationexternal_list_element_dict = authenticationexternal_list_element_instance.to_dict() +# create an instance of AuthenticationexternalListElement from a dict +authenticationexternal_list_element_from_dict = AuthenticationexternalListElement.from_dict(authenticationexternal_list_element_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalRequest.md b/docs/AuthenticationexternalRequest.md new file mode 100644 index 000000000..957816568 --- /dev/null +++ b/docs/AuthenticationexternalRequest.md @@ -0,0 +1,32 @@ +# AuthenticationexternalRequest + +A Authenticationexternal Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | +**e_authenticationexternal_type** | [**FieldEAuthenticationexternalType**](FieldEAuthenticationexternalType.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_request import AuthenticationexternalRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalRequest from a JSON string +authenticationexternal_request_instance = AuthenticationexternalRequest.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalRequest.to_json()) + +# convert the object into a dict +authenticationexternal_request_dict = authenticationexternal_request_instance.to_dict() +# create an instance of AuthenticationexternalRequest from a dict +authenticationexternal_request_from_dict = AuthenticationexternalRequest.from_dict(authenticationexternal_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalRequestCompound.md b/docs/AuthenticationexternalRequestCompound.md new file mode 100644 index 000000000..7435947e0 --- /dev/null +++ b/docs/AuthenticationexternalRequestCompound.md @@ -0,0 +1,32 @@ +# AuthenticationexternalRequestCompound + +A Authenticationexternal Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | +**e_authenticationexternal_type** | [**FieldEAuthenticationexternalType**](FieldEAuthenticationexternalType.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_request_compound import AuthenticationexternalRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalRequestCompound from a JSON string +authenticationexternal_request_compound_instance = AuthenticationexternalRequestCompound.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalRequestCompound.to_json()) + +# convert the object into a dict +authenticationexternal_request_compound_dict = authenticationexternal_request_compound_instance.to_dict() +# create an instance of AuthenticationexternalRequestCompound from a dict +authenticationexternal_request_compound_from_dict = AuthenticationexternalRequestCompound.from_dict(authenticationexternal_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalResetAuthorizationV1Response.md b/docs/AuthenticationexternalResetAuthorizationV1Response.md new file mode 100644 index 000000000..2b3d5b73e --- /dev/null +++ b/docs/AuthenticationexternalResetAuthorizationV1Response.md @@ -0,0 +1,31 @@ +# AuthenticationexternalResetAuthorizationV1Response + +Response for POST /1/object/authenticationexternal/{pkiAuthenticationexternalID}/resetAuthorization + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.authenticationexternal_reset_authorization_v1_response import AuthenticationexternalResetAuthorizationV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalResetAuthorizationV1Response from a JSON string +authenticationexternal_reset_authorization_v1_response_instance = AuthenticationexternalResetAuthorizationV1Response.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalResetAuthorizationV1Response.to_json()) + +# convert the object into a dict +authenticationexternal_reset_authorization_v1_response_dict = authenticationexternal_reset_authorization_v1_response_instance.to_dict() +# create an instance of AuthenticationexternalResetAuthorizationV1Response from a dict +authenticationexternal_reset_authorization_v1_response_from_dict = AuthenticationexternalResetAuthorizationV1Response.from_dict(authenticationexternal_reset_authorization_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalResponse.md b/docs/AuthenticationexternalResponse.md new file mode 100644 index 000000000..59b9948c0 --- /dev/null +++ b/docs/AuthenticationexternalResponse.md @@ -0,0 +1,35 @@ +# AuthenticationexternalResponse + +A Authenticationexternal Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | +**e_authenticationexternal_type** | [**FieldEAuthenticationexternalType**](FieldEAuthenticationexternalType.md) | | +**b_authenticationexternal_connected** | **bool** | Whether the Authenticationexternal has been connected or not | [optional] +**s_authenticationexternal_authorizationurl** | **str** | The url to authorize the Authenticationexternal | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_response import AuthenticationexternalResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalResponse from a JSON string +authenticationexternal_response_instance = AuthenticationexternalResponse.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalResponse.to_json()) + +# convert the object into a dict +authenticationexternal_response_dict = authenticationexternal_response_instance.to_dict() +# create an instance of AuthenticationexternalResponse from a dict +authenticationexternal_response_from_dict = AuthenticationexternalResponse.from_dict(authenticationexternal_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AuthenticationexternalResponseCompound.md b/docs/AuthenticationexternalResponseCompound.md new file mode 100644 index 000000000..f000e6e36 --- /dev/null +++ b/docs/AuthenticationexternalResponseCompound.md @@ -0,0 +1,35 @@ +# AuthenticationexternalResponseCompound + +A Authenticationexternal Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | +**e_authenticationexternal_type** | [**FieldEAuthenticationexternalType**](FieldEAuthenticationexternalType.md) | | +**b_authenticationexternal_connected** | **bool** | Whether the Authenticationexternal has been connected or not | [optional] +**s_authenticationexternal_authorizationurl** | **str** | The url to authorize the Authenticationexternal | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | + +## Example + +```python +from eZmaxApi.models.authenticationexternal_response_compound import AuthenticationexternalResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of AuthenticationexternalResponseCompound from a JSON string +authenticationexternal_response_compound_instance = AuthenticationexternalResponseCompound.from_json(json) +# print the JSON string representation of the object +print(AuthenticationexternalResponseCompound.to_json()) + +# convert the object into a dict +authenticationexternal_response_compound_dict = authenticationexternal_response_compound_instance.to_dict() +# create an instance of AuthenticationexternalResponseCompound from a dict +authenticationexternal_response_compound_from_dict = AuthenticationexternalResponseCompound.from_dict(authenticationexternal_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BillingentityexternalAutocompleteElementResponse.md b/docs/BillingentityexternalAutocompleteElementResponse.md index 78d498f00..f9c7b91d9 100644 --- a/docs/BillingentityexternalAutocompleteElementResponse.md +++ b/docs/BillingentityexternalAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(BillingentityexternalAutocompleteElementResponse.to_json()) # convert the object into a dict billingentityexternal_autocomplete_element_response_dict = billingentityexternal_autocomplete_element_response_instance.to_dict() # create an instance of BillingentityexternalAutocompleteElementResponse from a dict -billingentityexternal_autocomplete_element_response_form_dict = billingentityexternal_autocomplete_element_response.from_dict(billingentityexternal_autocomplete_element_response_dict) +billingentityexternal_autocomplete_element_response_from_dict = BillingentityexternalAutocompleteElementResponse.from_dict(billingentityexternal_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityexternalGenerateFederationTokenV1Request.md b/docs/BillingentityexternalGenerateFederationTokenV1Request.md new file mode 100644 index 000000000..ca123642a --- /dev/null +++ b/docs/BillingentityexternalGenerateFederationTokenV1Request.md @@ -0,0 +1,30 @@ +# BillingentityexternalGenerateFederationTokenV1Request + +Request for POST /1/object/billingentityexternal/{pkiBillingentityexternalID}/generateFederationToken + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fks_ezmaxcustomer_code** | **str** | The Ezmaxcustomer code | + +## Example + +```python +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_request import BillingentityexternalGenerateFederationTokenV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of BillingentityexternalGenerateFederationTokenV1Request from a JSON string +billingentityexternal_generate_federation_token_v1_request_instance = BillingentityexternalGenerateFederationTokenV1Request.from_json(json) +# print the JSON string representation of the object +print(BillingentityexternalGenerateFederationTokenV1Request.to_json()) + +# convert the object into a dict +billingentityexternal_generate_federation_token_v1_request_dict = billingentityexternal_generate_federation_token_v1_request_instance.to_dict() +# create an instance of BillingentityexternalGenerateFederationTokenV1Request from a dict +billingentityexternal_generate_federation_token_v1_request_from_dict = BillingentityexternalGenerateFederationTokenV1Request.from_dict(billingentityexternal_generate_federation_token_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BillingentityexternalGenerateFederationTokenV1Response.md b/docs/BillingentityexternalGenerateFederationTokenV1Response.md new file mode 100644 index 000000000..b28b0ad4d --- /dev/null +++ b/docs/BillingentityexternalGenerateFederationTokenV1Response.md @@ -0,0 +1,32 @@ +# BillingentityexternalGenerateFederationTokenV1Response + +Response for POST /1/object/billingentityexternal/{pkiBillingentityexternalID}/generateFederationToken + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**BillingentityexternalGenerateFederationTokenV1ResponseMPayload**](BillingentityexternalGenerateFederationTokenV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response import BillingentityexternalGenerateFederationTokenV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of BillingentityexternalGenerateFederationTokenV1Response from a JSON string +billingentityexternal_generate_federation_token_v1_response_instance = BillingentityexternalGenerateFederationTokenV1Response.from_json(json) +# print the JSON string representation of the object +print(BillingentityexternalGenerateFederationTokenV1Response.to_json()) + +# convert the object into a dict +billingentityexternal_generate_federation_token_v1_response_dict = billingentityexternal_generate_federation_token_v1_response_instance.to_dict() +# create an instance of BillingentityexternalGenerateFederationTokenV1Response from a dict +billingentityexternal_generate_federation_token_v1_response_from_dict = BillingentityexternalGenerateFederationTokenV1Response.from_dict(billingentityexternal_generate_federation_token_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BillingentityexternalGenerateFederationTokenV1ResponseMPayload.md b/docs/BillingentityexternalGenerateFederationTokenV1ResponseMPayload.md new file mode 100644 index 000000000..ea2e85ec8 --- /dev/null +++ b/docs/BillingentityexternalGenerateFederationTokenV1ResponseMPayload.md @@ -0,0 +1,31 @@ +# BillingentityexternalGenerateFederationTokenV1ResponseMPayload + +Payload for POST /1/object/billingentityexternal/{pkiBillingentityexternalID}/generateFederationToken + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_apikeyfederation** | [**CustomApikeyfederation**](CustomApikeyfederation.md) | | +**s_ezmaxcustomercode_url** | **str** | The url of the server the Ezmaxcustomer is located | + +## Example + +```python +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response_m_payload import BillingentityexternalGenerateFederationTokenV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of BillingentityexternalGenerateFederationTokenV1ResponseMPayload from a JSON string +billingentityexternal_generate_federation_token_v1_response_m_payload_instance = BillingentityexternalGenerateFederationTokenV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(BillingentityexternalGenerateFederationTokenV1ResponseMPayload.to_json()) + +# convert the object into a dict +billingentityexternal_generate_federation_token_v1_response_m_payload_dict = billingentityexternal_generate_federation_token_v1_response_m_payload_instance.to_dict() +# create an instance of BillingentityexternalGenerateFederationTokenV1ResponseMPayload from a dict +billingentityexternal_generate_federation_token_v1_response_m_payload_from_dict = BillingentityexternalGenerateFederationTokenV1ResponseMPayload.from_dict(billingentityexternal_generate_federation_token_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BillingentityexternalGetAutocompleteV2Response.md b/docs/BillingentityexternalGetAutocompleteV2Response.md index 1c5dbe99c..6604e0ac4 100644 --- a/docs/BillingentityexternalGetAutocompleteV2Response.md +++ b/docs/BillingentityexternalGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(BillingentityexternalGetAutocompleteV2Response.to_json()) # convert the object into a dict billingentityexternal_get_autocomplete_v2_response_dict = billingentityexternal_get_autocomplete_v2_response_instance.to_dict() # create an instance of BillingentityexternalGetAutocompleteV2Response from a dict -billingentityexternal_get_autocomplete_v2_response_form_dict = billingentityexternal_get_autocomplete_v2_response.from_dict(billingentityexternal_get_autocomplete_v2_response_dict) +billingentityexternal_get_autocomplete_v2_response_from_dict = BillingentityexternalGetAutocompleteV2Response.from_dict(billingentityexternal_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityexternalGetAutocompleteV2ResponseMPayload.md b/docs/BillingentityexternalGetAutocompleteV2ResponseMPayload.md index 055c7a098..b52be3c48 100644 --- a/docs/BillingentityexternalGetAutocompleteV2ResponseMPayload.md +++ b/docs/BillingentityexternalGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(BillingentityexternalGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict billingentityexternal_get_autocomplete_v2_response_m_payload_dict = billingentityexternal_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of BillingentityexternalGetAutocompleteV2ResponseMPayload from a dict -billingentityexternal_get_autocomplete_v2_response_m_payload_form_dict = billingentityexternal_get_autocomplete_v2_response_m_payload.from_dict(billingentityexternal_get_autocomplete_v2_response_m_payload_dict) +billingentityexternal_get_autocomplete_v2_response_m_payload_from_dict = BillingentityexternalGetAutocompleteV2ResponseMPayload.from_dict(billingentityexternal_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalAutocompleteElementResponse.md b/docs/BillingentityinternalAutocompleteElementResponse.md index 44d2491aa..84c9f38bc 100644 --- a/docs/BillingentityinternalAutocompleteElementResponse.md +++ b/docs/BillingentityinternalAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(BillingentityinternalAutocompleteElementResponse.to_json()) # convert the object into a dict billingentityinternal_autocomplete_element_response_dict = billingentityinternal_autocomplete_element_response_instance.to_dict() # create an instance of BillingentityinternalAutocompleteElementResponse from a dict -billingentityinternal_autocomplete_element_response_form_dict = billingentityinternal_autocomplete_element_response.from_dict(billingentityinternal_autocomplete_element_response_dict) +billingentityinternal_autocomplete_element_response_from_dict = BillingentityinternalAutocompleteElementResponse.from_dict(billingentityinternal_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalCreateObjectV1Request.md b/docs/BillingentityinternalCreateObjectV1Request.md index e11f10df5..dbf958497 100644 --- a/docs/BillingentityinternalCreateObjectV1Request.md +++ b/docs/BillingentityinternalCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(BillingentityinternalCreateObjectV1Request.to_json()) # convert the object into a dict billingentityinternal_create_object_v1_request_dict = billingentityinternal_create_object_v1_request_instance.to_dict() # create an instance of BillingentityinternalCreateObjectV1Request from a dict -billingentityinternal_create_object_v1_request_form_dict = billingentityinternal_create_object_v1_request.from_dict(billingentityinternal_create_object_v1_request_dict) +billingentityinternal_create_object_v1_request_from_dict = BillingentityinternalCreateObjectV1Request.from_dict(billingentityinternal_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalCreateObjectV1Response.md b/docs/BillingentityinternalCreateObjectV1Response.md index 60fa3820a..18d012539 100644 --- a/docs/BillingentityinternalCreateObjectV1Response.md +++ b/docs/BillingentityinternalCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(BillingentityinternalCreateObjectV1Response.to_json()) # convert the object into a dict billingentityinternal_create_object_v1_response_dict = billingentityinternal_create_object_v1_response_instance.to_dict() # create an instance of BillingentityinternalCreateObjectV1Response from a dict -billingentityinternal_create_object_v1_response_form_dict = billingentityinternal_create_object_v1_response.from_dict(billingentityinternal_create_object_v1_response_dict) +billingentityinternal_create_object_v1_response_from_dict = BillingentityinternalCreateObjectV1Response.from_dict(billingentityinternal_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalCreateObjectV1ResponseMPayload.md b/docs/BillingentityinternalCreateObjectV1ResponseMPayload.md index 4aefddc11..79bc38ebb 100644 --- a/docs/BillingentityinternalCreateObjectV1ResponseMPayload.md +++ b/docs/BillingentityinternalCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(BillingentityinternalCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict billingentityinternal_create_object_v1_response_m_payload_dict = billingentityinternal_create_object_v1_response_m_payload_instance.to_dict() # create an instance of BillingentityinternalCreateObjectV1ResponseMPayload from a dict -billingentityinternal_create_object_v1_response_m_payload_form_dict = billingentityinternal_create_object_v1_response_m_payload.from_dict(billingentityinternal_create_object_v1_response_m_payload_dict) +billingentityinternal_create_object_v1_response_m_payload_from_dict = BillingentityinternalCreateObjectV1ResponseMPayload.from_dict(billingentityinternal_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalEditObjectV1Request.md b/docs/BillingentityinternalEditObjectV1Request.md index dddb91879..b11bba03a 100644 --- a/docs/BillingentityinternalEditObjectV1Request.md +++ b/docs/BillingentityinternalEditObjectV1Request.md @@ -23,7 +23,7 @@ print(BillingentityinternalEditObjectV1Request.to_json()) # convert the object into a dict billingentityinternal_edit_object_v1_request_dict = billingentityinternal_edit_object_v1_request_instance.to_dict() # create an instance of BillingentityinternalEditObjectV1Request from a dict -billingentityinternal_edit_object_v1_request_form_dict = billingentityinternal_edit_object_v1_request.from_dict(billingentityinternal_edit_object_v1_request_dict) +billingentityinternal_edit_object_v1_request_from_dict = BillingentityinternalEditObjectV1Request.from_dict(billingentityinternal_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalEditObjectV1Response.md b/docs/BillingentityinternalEditObjectV1Response.md index acd7b75d5..36d8b1ddd 100644 --- a/docs/BillingentityinternalEditObjectV1Response.md +++ b/docs/BillingentityinternalEditObjectV1Response.md @@ -24,7 +24,7 @@ print(BillingentityinternalEditObjectV1Response.to_json()) # convert the object into a dict billingentityinternal_edit_object_v1_response_dict = billingentityinternal_edit_object_v1_response_instance.to_dict() # create an instance of BillingentityinternalEditObjectV1Response from a dict -billingentityinternal_edit_object_v1_response_form_dict = billingentityinternal_edit_object_v1_response.from_dict(billingentityinternal_edit_object_v1_response_dict) +billingentityinternal_edit_object_v1_response_from_dict = BillingentityinternalEditObjectV1Response.from_dict(billingentityinternal_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalGetAutocompleteV2Response.md b/docs/BillingentityinternalGetAutocompleteV2Response.md index 58114d213..aa562d5f4 100644 --- a/docs/BillingentityinternalGetAutocompleteV2Response.md +++ b/docs/BillingentityinternalGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(BillingentityinternalGetAutocompleteV2Response.to_json()) # convert the object into a dict billingentityinternal_get_autocomplete_v2_response_dict = billingentityinternal_get_autocomplete_v2_response_instance.to_dict() # create an instance of BillingentityinternalGetAutocompleteV2Response from a dict -billingentityinternal_get_autocomplete_v2_response_form_dict = billingentityinternal_get_autocomplete_v2_response.from_dict(billingentityinternal_get_autocomplete_v2_response_dict) +billingentityinternal_get_autocomplete_v2_response_from_dict = BillingentityinternalGetAutocompleteV2Response.from_dict(billingentityinternal_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalGetAutocompleteV2ResponseMPayload.md b/docs/BillingentityinternalGetAutocompleteV2ResponseMPayload.md index ff5a4a57f..6217439a4 100644 --- a/docs/BillingentityinternalGetAutocompleteV2ResponseMPayload.md +++ b/docs/BillingentityinternalGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(BillingentityinternalGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict billingentityinternal_get_autocomplete_v2_response_m_payload_dict = billingentityinternal_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of BillingentityinternalGetAutocompleteV2ResponseMPayload from a dict -billingentityinternal_get_autocomplete_v2_response_m_payload_form_dict = billingentityinternal_get_autocomplete_v2_response_m_payload.from_dict(billingentityinternal_get_autocomplete_v2_response_m_payload_dict) +billingentityinternal_get_autocomplete_v2_response_m_payload_from_dict = BillingentityinternalGetAutocompleteV2ResponseMPayload.from_dict(billingentityinternal_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalGetListV1Response.md b/docs/BillingentityinternalGetListV1Response.md index 94ac439f0..356f8c3a7 100644 --- a/docs/BillingentityinternalGetListV1Response.md +++ b/docs/BillingentityinternalGetListV1Response.md @@ -25,7 +25,7 @@ print(BillingentityinternalGetListV1Response.to_json()) # convert the object into a dict billingentityinternal_get_list_v1_response_dict = billingentityinternal_get_list_v1_response_instance.to_dict() # create an instance of BillingentityinternalGetListV1Response from a dict -billingentityinternal_get_list_v1_response_form_dict = billingentityinternal_get_list_v1_response.from_dict(billingentityinternal_get_list_v1_response_dict) +billingentityinternal_get_list_v1_response_from_dict = BillingentityinternalGetListV1Response.from_dict(billingentityinternal_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalGetListV1ResponseMPayload.md b/docs/BillingentityinternalGetListV1ResponseMPayload.md index e9198d1c0..e266c11d4 100644 --- a/docs/BillingentityinternalGetListV1ResponseMPayload.md +++ b/docs/BillingentityinternalGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(BillingentityinternalGetListV1ResponseMPayload.to_json()) # convert the object into a dict billingentityinternal_get_list_v1_response_m_payload_dict = billingentityinternal_get_list_v1_response_m_payload_instance.to_dict() # create an instance of BillingentityinternalGetListV1ResponseMPayload from a dict -billingentityinternal_get_list_v1_response_m_payload_form_dict = billingentityinternal_get_list_v1_response_m_payload.from_dict(billingentityinternal_get_list_v1_response_m_payload_dict) +billingentityinternal_get_list_v1_response_m_payload_from_dict = BillingentityinternalGetListV1ResponseMPayload.from_dict(billingentityinternal_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalGetObjectV2Response.md b/docs/BillingentityinternalGetObjectV2Response.md index 3bd938ad2..1f85c53b5 100644 --- a/docs/BillingentityinternalGetObjectV2Response.md +++ b/docs/BillingentityinternalGetObjectV2Response.md @@ -25,7 +25,7 @@ print(BillingentityinternalGetObjectV2Response.to_json()) # convert the object into a dict billingentityinternal_get_object_v2_response_dict = billingentityinternal_get_object_v2_response_instance.to_dict() # create an instance of BillingentityinternalGetObjectV2Response from a dict -billingentityinternal_get_object_v2_response_form_dict = billingentityinternal_get_object_v2_response.from_dict(billingentityinternal_get_object_v2_response_dict) +billingentityinternal_get_object_v2_response_from_dict = BillingentityinternalGetObjectV2Response.from_dict(billingentityinternal_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalGetObjectV2ResponseMPayload.md b/docs/BillingentityinternalGetObjectV2ResponseMPayload.md index eecb18a8d..36a05379d 100644 --- a/docs/BillingentityinternalGetObjectV2ResponseMPayload.md +++ b/docs/BillingentityinternalGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(BillingentityinternalGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict billingentityinternal_get_object_v2_response_m_payload_dict = billingentityinternal_get_object_v2_response_m_payload_instance.to_dict() # create an instance of BillingentityinternalGetObjectV2ResponseMPayload from a dict -billingentityinternal_get_object_v2_response_m_payload_form_dict = billingentityinternal_get_object_v2_response_m_payload.from_dict(billingentityinternal_get_object_v2_response_m_payload_dict) +billingentityinternal_get_object_v2_response_m_payload_from_dict = BillingentityinternalGetObjectV2ResponseMPayload.from_dict(billingentityinternal_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalListElement.md b/docs/BillingentityinternalListElement.md index 872b5238e..179bf44e1 100644 --- a/docs/BillingentityinternalListElement.md +++ b/docs/BillingentityinternalListElement.md @@ -24,7 +24,7 @@ print(BillingentityinternalListElement.to_json()) # convert the object into a dict billingentityinternal_list_element_dict = billingentityinternal_list_element_instance.to_dict() # create an instance of BillingentityinternalListElement from a dict -billingentityinternal_list_element_form_dict = billingentityinternal_list_element.from_dict(billingentityinternal_list_element_dict) +billingentityinternal_list_element_from_dict = BillingentityinternalListElement.from_dict(billingentityinternal_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalRequest.md b/docs/BillingentityinternalRequest.md index 5e111e3bb..85f085003 100644 --- a/docs/BillingentityinternalRequest.md +++ b/docs/BillingentityinternalRequest.md @@ -24,7 +24,7 @@ print(BillingentityinternalRequest.to_json()) # convert the object into a dict billingentityinternal_request_dict = billingentityinternal_request_instance.to_dict() # create an instance of BillingentityinternalRequest from a dict -billingentityinternal_request_form_dict = billingentityinternal_request.from_dict(billingentityinternal_request_dict) +billingentityinternal_request_from_dict = BillingentityinternalRequest.from_dict(billingentityinternal_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalRequestCompound.md b/docs/BillingentityinternalRequestCompound.md index 16fbb1cf2..1795a5c97 100644 --- a/docs/BillingentityinternalRequestCompound.md +++ b/docs/BillingentityinternalRequestCompound.md @@ -25,7 +25,7 @@ print(BillingentityinternalRequestCompound.to_json()) # convert the object into a dict billingentityinternal_request_compound_dict = billingentityinternal_request_compound_instance.to_dict() # create an instance of BillingentityinternalRequestCompound from a dict -billingentityinternal_request_compound_form_dict = billingentityinternal_request_compound.from_dict(billingentityinternal_request_compound_dict) +billingentityinternal_request_compound_from_dict = BillingentityinternalRequestCompound.from_dict(billingentityinternal_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalResponse.md b/docs/BillingentityinternalResponse.md index c1f712c44..83c6f47e9 100644 --- a/docs/BillingentityinternalResponse.md +++ b/docs/BillingentityinternalResponse.md @@ -24,7 +24,7 @@ print(BillingentityinternalResponse.to_json()) # convert the object into a dict billingentityinternal_response_dict = billingentityinternal_response_instance.to_dict() # create an instance of BillingentityinternalResponse from a dict -billingentityinternal_response_form_dict = billingentityinternal_response.from_dict(billingentityinternal_response_dict) +billingentityinternal_response_from_dict = BillingentityinternalResponse.from_dict(billingentityinternal_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalResponseCompound.md b/docs/BillingentityinternalResponseCompound.md index 2e5b1792c..8b563d6f5 100644 --- a/docs/BillingentityinternalResponseCompound.md +++ b/docs/BillingentityinternalResponseCompound.md @@ -25,7 +25,7 @@ print(BillingentityinternalResponseCompound.to_json()) # convert the object into a dict billingentityinternal_response_compound_dict = billingentityinternal_response_compound_instance.to_dict() # create an instance of BillingentityinternalResponseCompound from a dict -billingentityinternal_response_compound_form_dict = billingentityinternal_response_compound.from_dict(billingentityinternal_response_compound_dict) +billingentityinternal_response_compound_from_dict = BillingentityinternalResponseCompound.from_dict(billingentityinternal_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalproductRequest.md b/docs/BillingentityinternalproductRequest.md index 0d58233aa..c62234fb8 100644 --- a/docs/BillingentityinternalproductRequest.md +++ b/docs/BillingentityinternalproductRequest.md @@ -25,7 +25,7 @@ print(BillingentityinternalproductRequest.to_json()) # convert the object into a dict billingentityinternalproduct_request_dict = billingentityinternalproduct_request_instance.to_dict() # create an instance of BillingentityinternalproductRequest from a dict -billingentityinternalproduct_request_form_dict = billingentityinternalproduct_request.from_dict(billingentityinternalproduct_request_dict) +billingentityinternalproduct_request_from_dict = BillingentityinternalproductRequest.from_dict(billingentityinternalproduct_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalproductRequestCompound.md b/docs/BillingentityinternalproductRequestCompound.md index cd87cecbb..8e9669e56 100644 --- a/docs/BillingentityinternalproductRequestCompound.md +++ b/docs/BillingentityinternalproductRequestCompound.md @@ -25,7 +25,7 @@ print(BillingentityinternalproductRequestCompound.to_json()) # convert the object into a dict billingentityinternalproduct_request_compound_dict = billingentityinternalproduct_request_compound_instance.to_dict() # create an instance of BillingentityinternalproductRequestCompound from a dict -billingentityinternalproduct_request_compound_form_dict = billingentityinternalproduct_request_compound.from_dict(billingentityinternalproduct_request_compound_dict) +billingentityinternalproduct_request_compound_from_dict = BillingentityinternalproductRequestCompound.from_dict(billingentityinternalproduct_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalproductResponse.md b/docs/BillingentityinternalproductResponse.md index 00e4efa23..6800ef034 100644 --- a/docs/BillingentityinternalproductResponse.md +++ b/docs/BillingentityinternalproductResponse.md @@ -29,7 +29,7 @@ print(BillingentityinternalproductResponse.to_json()) # convert the object into a dict billingentityinternalproduct_response_dict = billingentityinternalproduct_response_instance.to_dict() # create an instance of BillingentityinternalproductResponse from a dict -billingentityinternalproduct_response_form_dict = billingentityinternalproduct_response.from_dict(billingentityinternalproduct_response_dict) +billingentityinternalproduct_response_from_dict = BillingentityinternalproductResponse.from_dict(billingentityinternalproduct_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BillingentityinternalproductResponseCompound.md b/docs/BillingentityinternalproductResponseCompound.md index 8ddd88df1..b208e10a7 100644 --- a/docs/BillingentityinternalproductResponseCompound.md +++ b/docs/BillingentityinternalproductResponseCompound.md @@ -29,7 +29,7 @@ print(BillingentityinternalproductResponseCompound.to_json()) # convert the object into a dict billingentityinternalproduct_response_compound_dict = billingentityinternalproduct_response_compound_instance.to_dict() # create an instance of BillingentityinternalproductResponseCompound from a dict -billingentityinternalproduct_response_compound_form_dict = billingentityinternalproduct_response_compound.from_dict(billingentityinternalproduct_response_compound_dict) +billingentityinternalproduct_response_compound_from_dict = BillingentityinternalproductResponseCompound.from_dict(billingentityinternalproduct_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BrandingAutocompleteElementResponse.md b/docs/BrandingAutocompleteElementResponse.md index 5772c57fc..eb86bf4e5 100644 --- a/docs/BrandingAutocompleteElementResponse.md +++ b/docs/BrandingAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(BrandingAutocompleteElementResponse.to_json()) # convert the object into a dict branding_autocomplete_element_response_dict = branding_autocomplete_element_response_instance.to_dict() # create an instance of BrandingAutocompleteElementResponse from a dict -branding_autocomplete_element_response_form_dict = branding_autocomplete_element_response.from_dict(branding_autocomplete_element_response_dict) +branding_autocomplete_element_response_from_dict = BrandingAutocompleteElementResponse.from_dict(branding_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BrandingCreateObjectV1Request.md b/docs/BrandingCreateObjectV1Request.md deleted file mode 100644 index 1fd44e299..000000000 --- a/docs/BrandingCreateObjectV1Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# BrandingCreateObjectV1Request - -Request for POST /1/object/branding - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_obj_branding** | [**List[BrandingRequestCompound]**](BrandingRequestCompound.md) | | - -## Example - -```python -from eZmaxApi.models.branding_create_object_v1_request import BrandingCreateObjectV1Request - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingCreateObjectV1Request from a JSON string -branding_create_object_v1_request_instance = BrandingCreateObjectV1Request.from_json(json) -# print the JSON string representation of the object -print(BrandingCreateObjectV1Request.to_json()) - -# convert the object into a dict -branding_create_object_v1_request_dict = branding_create_object_v1_request_instance.to_dict() -# create an instance of BrandingCreateObjectV1Request from a dict -branding_create_object_v1_request_form_dict = branding_create_object_v1_request.from_dict(branding_create_object_v1_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingCreateObjectV1Response.md b/docs/BrandingCreateObjectV1Response.md deleted file mode 100644 index 59e2be24e..000000000 --- a/docs/BrandingCreateObjectV1Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# BrandingCreateObjectV1Response - -Response for POST /1/object/branding - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**BrandingCreateObjectV1ResponseMPayload**](BrandingCreateObjectV1ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.branding_create_object_v1_response import BrandingCreateObjectV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingCreateObjectV1Response from a JSON string -branding_create_object_v1_response_instance = BrandingCreateObjectV1Response.from_json(json) -# print the JSON string representation of the object -print(BrandingCreateObjectV1Response.to_json()) - -# convert the object into a dict -branding_create_object_v1_response_dict = branding_create_object_v1_response_instance.to_dict() -# create an instance of BrandingCreateObjectV1Response from a dict -branding_create_object_v1_response_form_dict = branding_create_object_v1_response.from_dict(branding_create_object_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingCreateObjectV1ResponseMPayload.md b/docs/BrandingCreateObjectV1ResponseMPayload.md deleted file mode 100644 index aca1400a0..000000000 --- a/docs/BrandingCreateObjectV1ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# BrandingCreateObjectV1ResponseMPayload - -Payload for POST /1/object/branding - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_pki_branding_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | - -## Example - -```python -from eZmaxApi.models.branding_create_object_v1_response_m_payload import BrandingCreateObjectV1ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingCreateObjectV1ResponseMPayload from a JSON string -branding_create_object_v1_response_m_payload_instance = BrandingCreateObjectV1ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(BrandingCreateObjectV1ResponseMPayload.to_json()) - -# convert the object into a dict -branding_create_object_v1_response_m_payload_dict = branding_create_object_v1_response_m_payload_instance.to_dict() -# create an instance of BrandingCreateObjectV1ResponseMPayload from a dict -branding_create_object_v1_response_m_payload_form_dict = branding_create_object_v1_response_m_payload.from_dict(branding_create_object_v1_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingCreateObjectV2Request.md b/docs/BrandingCreateObjectV2Request.md new file mode 100644 index 000000000..b96c04e02 --- /dev/null +++ b/docs/BrandingCreateObjectV2Request.md @@ -0,0 +1,30 @@ +# BrandingCreateObjectV2Request + +Request for POST /2/object/branding + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_branding** | [**List[BrandingRequestCompoundV2]**](BrandingRequestCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.branding_create_object_v2_request import BrandingCreateObjectV2Request + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingCreateObjectV2Request from a JSON string +branding_create_object_v2_request_instance = BrandingCreateObjectV2Request.from_json(json) +# print the JSON string representation of the object +print(BrandingCreateObjectV2Request.to_json()) + +# convert the object into a dict +branding_create_object_v2_request_dict = branding_create_object_v2_request_instance.to_dict() +# create an instance of BrandingCreateObjectV2Request from a dict +branding_create_object_v2_request_from_dict = BrandingCreateObjectV2Request.from_dict(branding_create_object_v2_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BrandingCreateObjectV2Response.md b/docs/BrandingCreateObjectV2Response.md new file mode 100644 index 000000000..fdf76a0fc --- /dev/null +++ b/docs/BrandingCreateObjectV2Response.md @@ -0,0 +1,32 @@ +# BrandingCreateObjectV2Response + +Response for POST /2/object/branding + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**BrandingCreateObjectV2ResponseMPayload**](BrandingCreateObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.branding_create_object_v2_response import BrandingCreateObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingCreateObjectV2Response from a JSON string +branding_create_object_v2_response_instance = BrandingCreateObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(BrandingCreateObjectV2Response.to_json()) + +# convert the object into a dict +branding_create_object_v2_response_dict = branding_create_object_v2_response_instance.to_dict() +# create an instance of BrandingCreateObjectV2Response from a dict +branding_create_object_v2_response_from_dict = BrandingCreateObjectV2Response.from_dict(branding_create_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BrandingCreateObjectV2ResponseMPayload.md b/docs/BrandingCreateObjectV2ResponseMPayload.md new file mode 100644 index 000000000..e06e72884 --- /dev/null +++ b/docs/BrandingCreateObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# BrandingCreateObjectV2ResponseMPayload + +Payload for POST /2/object/branding + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_branding_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.branding_create_object_v2_response_m_payload import BrandingCreateObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingCreateObjectV2ResponseMPayload from a JSON string +branding_create_object_v2_response_m_payload_instance = BrandingCreateObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(BrandingCreateObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +branding_create_object_v2_response_m_payload_dict = branding_create_object_v2_response_m_payload_instance.to_dict() +# create an instance of BrandingCreateObjectV2ResponseMPayload from a dict +branding_create_object_v2_response_m_payload_from_dict = BrandingCreateObjectV2ResponseMPayload.from_dict(branding_create_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BrandingEditObjectV1Request.md b/docs/BrandingEditObjectV1Request.md deleted file mode 100644 index f19a5ed7c..000000000 --- a/docs/BrandingEditObjectV1Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# BrandingEditObjectV1Request - -Request for PUT /1/object/branding/{pkiBrandingID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_branding** | [**BrandingRequestCompound**](BrandingRequestCompound.md) | | - -## Example - -```python -from eZmaxApi.models.branding_edit_object_v1_request import BrandingEditObjectV1Request - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingEditObjectV1Request from a JSON string -branding_edit_object_v1_request_instance = BrandingEditObjectV1Request.from_json(json) -# print the JSON string representation of the object -print(BrandingEditObjectV1Request.to_json()) - -# convert the object into a dict -branding_edit_object_v1_request_dict = branding_edit_object_v1_request_instance.to_dict() -# create an instance of BrandingEditObjectV1Request from a dict -branding_edit_object_v1_request_form_dict = branding_edit_object_v1_request.from_dict(branding_edit_object_v1_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingEditObjectV1Response.md b/docs/BrandingEditObjectV1Response.md deleted file mode 100644 index ceaf50052..000000000 --- a/docs/BrandingEditObjectV1Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# BrandingEditObjectV1Response - -Response for PUT /1/object/branding/{pkiBrandingID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.branding_edit_object_v1_response import BrandingEditObjectV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingEditObjectV1Response from a JSON string -branding_edit_object_v1_response_instance = BrandingEditObjectV1Response.from_json(json) -# print the JSON string representation of the object -print(BrandingEditObjectV1Response.to_json()) - -# convert the object into a dict -branding_edit_object_v1_response_dict = branding_edit_object_v1_response_instance.to_dict() -# create an instance of BrandingEditObjectV1Response from a dict -branding_edit_object_v1_response_form_dict = branding_edit_object_v1_response.from_dict(branding_edit_object_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingEditObjectV2Request.md b/docs/BrandingEditObjectV2Request.md new file mode 100644 index 000000000..798337d38 --- /dev/null +++ b/docs/BrandingEditObjectV2Request.md @@ -0,0 +1,30 @@ +# BrandingEditObjectV2Request + +Request for PUT /2/object/branding/{pkiBrandingID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_branding** | [**BrandingRequestCompoundV2**](BrandingRequestCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.branding_edit_object_v2_request import BrandingEditObjectV2Request + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingEditObjectV2Request from a JSON string +branding_edit_object_v2_request_instance = BrandingEditObjectV2Request.from_json(json) +# print the JSON string representation of the object +print(BrandingEditObjectV2Request.to_json()) + +# convert the object into a dict +branding_edit_object_v2_request_dict = branding_edit_object_v2_request_instance.to_dict() +# create an instance of BrandingEditObjectV2Request from a dict +branding_edit_object_v2_request_from_dict = BrandingEditObjectV2Request.from_dict(branding_edit_object_v2_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BrandingEditObjectV2Response.md b/docs/BrandingEditObjectV2Response.md new file mode 100644 index 000000000..1b5602838 --- /dev/null +++ b/docs/BrandingEditObjectV2Response.md @@ -0,0 +1,31 @@ +# BrandingEditObjectV2Response + +Response for PUT /2/object/branding/{pkiBrandingID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.branding_edit_object_v2_response import BrandingEditObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingEditObjectV2Response from a JSON string +branding_edit_object_v2_response_instance = BrandingEditObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(BrandingEditObjectV2Response.to_json()) + +# convert the object into a dict +branding_edit_object_v2_response_dict = branding_edit_object_v2_response_instance.to_dict() +# create an instance of BrandingEditObjectV2Response from a dict +branding_edit_object_v2_response_from_dict = BrandingEditObjectV2Response.from_dict(branding_edit_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BrandingGetAutocompleteV2Response.md b/docs/BrandingGetAutocompleteV2Response.md index 7a9715d6b..def6f0c40 100644 --- a/docs/BrandingGetAutocompleteV2Response.md +++ b/docs/BrandingGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(BrandingGetAutocompleteV2Response.to_json()) # convert the object into a dict branding_get_autocomplete_v2_response_dict = branding_get_autocomplete_v2_response_instance.to_dict() # create an instance of BrandingGetAutocompleteV2Response from a dict -branding_get_autocomplete_v2_response_form_dict = branding_get_autocomplete_v2_response.from_dict(branding_get_autocomplete_v2_response_dict) +branding_get_autocomplete_v2_response_from_dict = BrandingGetAutocompleteV2Response.from_dict(branding_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BrandingGetAutocompleteV2ResponseMPayload.md b/docs/BrandingGetAutocompleteV2ResponseMPayload.md index 0043e50a1..6e616ec79 100644 --- a/docs/BrandingGetAutocompleteV2ResponseMPayload.md +++ b/docs/BrandingGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(BrandingGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict branding_get_autocomplete_v2_response_m_payload_dict = branding_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of BrandingGetAutocompleteV2ResponseMPayload from a dict -branding_get_autocomplete_v2_response_m_payload_form_dict = branding_get_autocomplete_v2_response_m_payload.from_dict(branding_get_autocomplete_v2_response_m_payload_dict) +branding_get_autocomplete_v2_response_m_payload_from_dict = BrandingGetAutocompleteV2ResponseMPayload.from_dict(branding_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BrandingGetListV1Response.md b/docs/BrandingGetListV1Response.md index 5a7822078..432184ea9 100644 --- a/docs/BrandingGetListV1Response.md +++ b/docs/BrandingGetListV1Response.md @@ -25,7 +25,7 @@ print(BrandingGetListV1Response.to_json()) # convert the object into a dict branding_get_list_v1_response_dict = branding_get_list_v1_response_instance.to_dict() # create an instance of BrandingGetListV1Response from a dict -branding_get_list_v1_response_form_dict = branding_get_list_v1_response.from_dict(branding_get_list_v1_response_dict) +branding_get_list_v1_response_from_dict = BrandingGetListV1Response.from_dict(branding_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BrandingGetListV1ResponseMPayload.md b/docs/BrandingGetListV1ResponseMPayload.md index ebd6d8bbe..fc6850034 100644 --- a/docs/BrandingGetListV1ResponseMPayload.md +++ b/docs/BrandingGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(BrandingGetListV1ResponseMPayload.to_json()) # convert the object into a dict branding_get_list_v1_response_m_payload_dict = branding_get_list_v1_response_m_payload_instance.to_dict() # create an instance of BrandingGetListV1ResponseMPayload from a dict -branding_get_list_v1_response_m_payload_form_dict = branding_get_list_v1_response_m_payload.from_dict(branding_get_list_v1_response_m_payload_dict) +branding_get_list_v1_response_m_payload_from_dict = BrandingGetListV1ResponseMPayload.from_dict(branding_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BrandingGetObjectV2Response.md b/docs/BrandingGetObjectV2Response.md deleted file mode 100644 index 09b6df89c..000000000 --- a/docs/BrandingGetObjectV2Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# BrandingGetObjectV2Response - -Response for GET /2/object/branding/{pkiBrandingID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**BrandingGetObjectV2ResponseMPayload**](BrandingGetObjectV2ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.branding_get_object_v2_response import BrandingGetObjectV2Response - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingGetObjectV2Response from a JSON string -branding_get_object_v2_response_instance = BrandingGetObjectV2Response.from_json(json) -# print the JSON string representation of the object -print(BrandingGetObjectV2Response.to_json()) - -# convert the object into a dict -branding_get_object_v2_response_dict = branding_get_object_v2_response_instance.to_dict() -# create an instance of BrandingGetObjectV2Response from a dict -branding_get_object_v2_response_form_dict = branding_get_object_v2_response.from_dict(branding_get_object_v2_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingGetObjectV2ResponseMPayload.md b/docs/BrandingGetObjectV2ResponseMPayload.md deleted file mode 100644 index 26fc3e86d..000000000 --- a/docs/BrandingGetObjectV2ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# BrandingGetObjectV2ResponseMPayload - -Payload for GET /2/object/branding/{pkiBrandingID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_branding** | [**BrandingResponseCompound**](BrandingResponseCompound.md) | | - -## Example - -```python -from eZmaxApi.models.branding_get_object_v2_response_m_payload import BrandingGetObjectV2ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingGetObjectV2ResponseMPayload from a JSON string -branding_get_object_v2_response_m_payload_instance = BrandingGetObjectV2ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(BrandingGetObjectV2ResponseMPayload.to_json()) - -# convert the object into a dict -branding_get_object_v2_response_m_payload_dict = branding_get_object_v2_response_m_payload_instance.to_dict() -# create an instance of BrandingGetObjectV2ResponseMPayload from a dict -branding_get_object_v2_response_m_payload_form_dict = branding_get_object_v2_response_m_payload.from_dict(branding_get_object_v2_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingGetObjectV3Response.md b/docs/BrandingGetObjectV3Response.md new file mode 100644 index 000000000..ec85f4c03 --- /dev/null +++ b/docs/BrandingGetObjectV3Response.md @@ -0,0 +1,32 @@ +# BrandingGetObjectV3Response + +Response for GET /3/object/branding/{pkiBrandingID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**BrandingGetObjectV3ResponseMPayload**](BrandingGetObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.branding_get_object_v3_response import BrandingGetObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingGetObjectV3Response from a JSON string +branding_get_object_v3_response_instance = BrandingGetObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(BrandingGetObjectV3Response.to_json()) + +# convert the object into a dict +branding_get_object_v3_response_dict = branding_get_object_v3_response_instance.to_dict() +# create an instance of BrandingGetObjectV3Response from a dict +branding_get_object_v3_response_from_dict = BrandingGetObjectV3Response.from_dict(branding_get_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BrandingGetObjectV3ResponseMPayload.md b/docs/BrandingGetObjectV3ResponseMPayload.md new file mode 100644 index 000000000..153e9dd2a --- /dev/null +++ b/docs/BrandingGetObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# BrandingGetObjectV3ResponseMPayload + +Payload for GET /3/object/branding/{pkiBrandingID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_branding** | [**BrandingResponseCompoundV3**](BrandingResponseCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.branding_get_object_v3_response_m_payload import BrandingGetObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingGetObjectV3ResponseMPayload from a JSON string +branding_get_object_v3_response_m_payload_instance = BrandingGetObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(BrandingGetObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +branding_get_object_v3_response_m_payload_dict = branding_get_object_v3_response_m_payload_instance.to_dict() +# create an instance of BrandingGetObjectV3ResponseMPayload from a dict +branding_get_object_v3_response_m_payload_from_dict = BrandingGetObjectV3ResponseMPayload.from_dict(branding_get_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BrandingListElement.md b/docs/BrandingListElement.md index eb4d339f9..b51cc5681 100644 --- a/docs/BrandingListElement.md +++ b/docs/BrandingListElement.md @@ -31,7 +31,7 @@ print(BrandingListElement.to_json()) # convert the object into a dict branding_list_element_dict = branding_list_element_instance.to_dict() # create an instance of BrandingListElement from a dict -branding_list_element_form_dict = branding_list_element.from_dict(branding_list_element_dict) +branding_list_element_from_dict = BrandingListElement.from_dict(branding_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BrandingRequest.md b/docs/BrandingRequest.md deleted file mode 100644 index d3813be40..000000000 --- a/docs/BrandingRequest.md +++ /dev/null @@ -1,45 +0,0 @@ -# BrandingRequest - -A Branding Object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_branding_id** | **int** | The unique ID of the Branding | [optional] -**obj_branding_description** | [**MultilingualBrandingDescription**](MultilingualBrandingDescription.md) | | -**e_branding_logo** | [**FieldEBrandingLogo**](FieldEBrandingLogo.md) | | -**s_branding_base64** | **bytearray** | The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogo if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used. | [optional] -**e_branding_logointerface** | [**FieldEBrandingLogointerface**](FieldEBrandingLogointerface.md) | | [optional] -**s_branding_logointerface_base64** | **bytearray** | The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogointerface if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used. | [optional] -**i_branding_colortext** | **int** | The color of the text. This is a RGB color converted into integer | -**i_branding_colortextlinkbox** | **int** | The color of the text in the link box. This is a RGB color converted into integer | -**i_branding_colortextbutton** | **int** | The color of the text in the button. This is a RGB color converted into integer | -**i_branding_colorbackground** | **int** | The color of the background. This is a RGB color converted into integer | -**i_branding_colorbackgroundbutton** | **int** | The color of the background of the button. This is a RGB color converted into integer | -**i_branding_colorbackgroundsmallbox** | **int** | The color of the background of the small box. This is a RGB color converted into integer | -**i_branding_interfacecolor** | **int** | The color of the interface. This is a RGB color converted into integer | [optional] -**s_branding_name** | **str** | The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty | [optional] -**s_email_address** | **str** | The email address. | [optional] -**b_branding_isactive** | **bool** | Whether the Branding is active or not | - -## Example - -```python -from eZmaxApi.models.branding_request import BrandingRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingRequest from a JSON string -branding_request_instance = BrandingRequest.from_json(json) -# print the JSON string representation of the object -print(BrandingRequest.to_json()) - -# convert the object into a dict -branding_request_dict = branding_request_instance.to_dict() -# create an instance of BrandingRequest from a dict -branding_request_form_dict = branding_request.from_dict(branding_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingRequestCompound.md b/docs/BrandingRequestCompound.md deleted file mode 100644 index be1f5a1d2..000000000 --- a/docs/BrandingRequestCompound.md +++ /dev/null @@ -1,45 +0,0 @@ -# BrandingRequestCompound - -A Branding Object and children - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_branding_id** | **int** | The unique ID of the Branding | [optional] -**obj_branding_description** | [**MultilingualBrandingDescription**](MultilingualBrandingDescription.md) | | -**e_branding_logo** | [**FieldEBrandingLogo**](FieldEBrandingLogo.md) | | -**s_branding_base64** | **bytearray** | The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogo if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used. | [optional] -**e_branding_logointerface** | [**FieldEBrandingLogointerface**](FieldEBrandingLogointerface.md) | | [optional] -**s_branding_logointerface_base64** | **bytearray** | The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogointerface if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used. | [optional] -**i_branding_colortext** | **int** | The color of the text. This is a RGB color converted into integer | -**i_branding_colortextlinkbox** | **int** | The color of the text in the link box. This is a RGB color converted into integer | -**i_branding_colortextbutton** | **int** | The color of the text in the button. This is a RGB color converted into integer | -**i_branding_colorbackground** | **int** | The color of the background. This is a RGB color converted into integer | -**i_branding_colorbackgroundbutton** | **int** | The color of the background of the button. This is a RGB color converted into integer | -**i_branding_colorbackgroundsmallbox** | **int** | The color of the background of the small box. This is a RGB color converted into integer | -**i_branding_interfacecolor** | **int** | The color of the interface. This is a RGB color converted into integer | [optional] -**s_branding_name** | **str** | The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty | [optional] -**s_email_address** | **str** | The email address. | [optional] -**b_branding_isactive** | **bool** | Whether the Branding is active or not | - -## Example - -```python -from eZmaxApi.models.branding_request_compound import BrandingRequestCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingRequestCompound from a JSON string -branding_request_compound_instance = BrandingRequestCompound.from_json(json) -# print the JSON string representation of the object -print(BrandingRequestCompound.to_json()) - -# convert the object into a dict -branding_request_compound_dict = branding_request_compound_instance.to_dict() -# create an instance of BrandingRequestCompound from a dict -branding_request_compound_form_dict = branding_request_compound.from_dict(branding_request_compound_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingRequestCompoundV2.md b/docs/BrandingRequestCompoundV2.md new file mode 100644 index 000000000..69a50b96d --- /dev/null +++ b/docs/BrandingRequestCompoundV2.md @@ -0,0 +1,38 @@ +# BrandingRequestCompoundV2 + +A Branding Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_branding_id** | **int** | The unique ID of the Branding | [optional] +**obj_branding_description** | [**MultilingualBrandingDescription**](MultilingualBrandingDescription.md) | | +**e_branding_logo** | [**FieldEBrandingLogo**](FieldEBrandingLogo.md) | | +**e_branding_alignlogo** | [**FieldEBrandingAlignlogo**](FieldEBrandingAlignlogo.md) | | [optional] +**s_branding_base64** | **bytearray** | The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogo if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used. | [optional] +**i_branding_color** | **int** | The primary color. This is a RGB color converted into integer | +**s_branding_name** | **str** | The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty | [optional] +**s_email_address** | **str** | The email address. | [optional] +**b_branding_isactive** | **bool** | Whether the Branding is active or not | + +## Example + +```python +from eZmaxApi.models.branding_request_compound_v2 import BrandingRequestCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingRequestCompoundV2 from a JSON string +branding_request_compound_v2_instance = BrandingRequestCompoundV2.from_json(json) +# print the JSON string representation of the object +print(BrandingRequestCompoundV2.to_json()) + +# convert the object into a dict +branding_request_compound_v2_dict = branding_request_compound_v2_instance.to_dict() +# create an instance of BrandingRequestCompoundV2 from a dict +branding_request_compound_v2_from_dict = BrandingRequestCompoundV2.from_dict(branding_request_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BrandingRequestV2.md b/docs/BrandingRequestV2.md new file mode 100644 index 000000000..2bbdc6bde --- /dev/null +++ b/docs/BrandingRequestV2.md @@ -0,0 +1,38 @@ +# BrandingRequestV2 + +A Branding Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_branding_id** | **int** | The unique ID of the Branding | [optional] +**obj_branding_description** | [**MultilingualBrandingDescription**](MultilingualBrandingDescription.md) | | +**e_branding_logo** | [**FieldEBrandingLogo**](FieldEBrandingLogo.md) | | +**e_branding_alignlogo** | [**FieldEBrandingAlignlogo**](FieldEBrandingAlignlogo.md) | | [optional] +**s_branding_base64** | **bytearray** | The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogo if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used. | [optional] +**i_branding_color** | **int** | The primary color. This is a RGB color converted into integer | +**s_branding_name** | **str** | The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty | [optional] +**s_email_address** | **str** | The email address. | [optional] +**b_branding_isactive** | **bool** | Whether the Branding is active or not | + +## Example + +```python +from eZmaxApi.models.branding_request_v2 import BrandingRequestV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingRequestV2 from a JSON string +branding_request_v2_instance = BrandingRequestV2.from_json(json) +# print the JSON string representation of the object +print(BrandingRequestV2.to_json()) + +# convert the object into a dict +branding_request_v2_dict = branding_request_v2_instance.to_dict() +# create an instance of BrandingRequestV2 from a dict +branding_request_v2_from_dict = BrandingRequestV2.from_dict(branding_request_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BrandingResponse.md b/docs/BrandingResponse.md deleted file mode 100644 index 0de95066e..000000000 --- a/docs/BrandingResponse.md +++ /dev/null @@ -1,45 +0,0 @@ -# BrandingResponse - -A Branding Object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_branding_id** | **int** | The unique ID of the Branding | -**fki_email_id** | **int** | The unique ID of the Email | [optional] -**obj_branding_description** | [**MultilingualBrandingDescription**](MultilingualBrandingDescription.md) | | -**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | -**s_branding_name** | **str** | The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty | [optional] -**s_email_address** | **str** | The email address. | [optional] -**e_branding_logo** | [**FieldEBrandingLogo**](FieldEBrandingLogo.md) | | -**e_branding_logointerface** | [**FieldEBrandingLogointerface**](FieldEBrandingLogointerface.md) | | [optional] -**i_branding_colortext** | **int** | The color of the text. This is a RGB color converted into integer | -**i_branding_colortextlinkbox** | **int** | The color of the text in the link box. This is a RGB color converted into integer | -**i_branding_colortextbutton** | **int** | The color of the text in the button. This is a RGB color converted into integer | -**i_branding_colorbackground** | **int** | The color of the background. This is a RGB color converted into integer | -**i_branding_colorbackgroundbutton** | **int** | The color of the background of the button. This is a RGB color converted into integer | -**i_branding_colorbackgroundsmallbox** | **int** | The color of the background of the small box. This is a RGB color converted into integer | -**i_branding_interfacecolor** | **int** | The color of the interface. This is a RGB color converted into integer | [optional] -**b_branding_isactive** | **bool** | Whether the Branding is active or not | - -## Example - -```python -from eZmaxApi.models.branding_response import BrandingResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingResponse from a JSON string -branding_response_instance = BrandingResponse.from_json(json) -# print the JSON string representation of the object -print(BrandingResponse.to_json()) - -# convert the object into a dict -branding_response_dict = branding_response_instance.to_dict() -# create an instance of BrandingResponse from a dict -branding_response_form_dict = branding_response.from_dict(branding_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingResponseCompound.md b/docs/BrandingResponseCompound.md deleted file mode 100644 index e0ee27e5a..000000000 --- a/docs/BrandingResponseCompound.md +++ /dev/null @@ -1,47 +0,0 @@ -# BrandingResponseCompound - -A Branding Object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_branding_id** | **int** | The unique ID of the Branding | -**fki_email_id** | **int** | The unique ID of the Email | [optional] -**obj_branding_description** | [**MultilingualBrandingDescription**](MultilingualBrandingDescription.md) | | -**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | -**s_branding_name** | **str** | The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty | [optional] -**s_email_address** | **str** | The email address. | [optional] -**e_branding_logo** | [**FieldEBrandingLogo**](FieldEBrandingLogo.md) | | -**e_branding_logointerface** | [**FieldEBrandingLogointerface**](FieldEBrandingLogointerface.md) | | [optional] -**i_branding_colortext** | **int** | The color of the text. This is a RGB color converted into integer | -**i_branding_colortextlinkbox** | **int** | The color of the text in the link box. This is a RGB color converted into integer | -**i_branding_colortextbutton** | **int** | The color of the text in the button. This is a RGB color converted into integer | -**i_branding_colorbackground** | **int** | The color of the background. This is a RGB color converted into integer | -**i_branding_colorbackgroundbutton** | **int** | The color of the background of the button. This is a RGB color converted into integer | -**i_branding_colorbackgroundsmallbox** | **int** | The color of the background of the small box. This is a RGB color converted into integer | -**i_branding_interfacecolor** | **int** | The color of the interface. This is a RGB color converted into integer | [optional] -**b_branding_isactive** | **bool** | Whether the Branding is active or not | -**s_branding_logourl** | **str** | The url of the picture used as logo in the Branding | [optional] -**s_branding_logointerfaceurl** | **str** | The url of the picture used as logo in the Branding | [optional] - -## Example - -```python -from eZmaxApi.models.branding_response_compound import BrandingResponseCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of BrandingResponseCompound from a JSON string -branding_response_compound_instance = BrandingResponseCompound.from_json(json) -# print the JSON string representation of the object -print(BrandingResponseCompound.to_json()) - -# convert the object into a dict -branding_response_compound_dict = branding_response_compound_instance.to_dict() -# create an instance of BrandingResponseCompound from a dict -branding_response_compound_form_dict = branding_response_compound.from_dict(branding_response_compound_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/BrandingResponseCompoundV3.md b/docs/BrandingResponseCompoundV3.md new file mode 100644 index 000000000..349e4d76b --- /dev/null +++ b/docs/BrandingResponseCompoundV3.md @@ -0,0 +1,42 @@ +# BrandingResponseCompoundV3 + +A Branding Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_branding_id** | **int** | The unique ID of the Branding | +**fki_email_id** | **int** | The unique ID of the Email | [optional] +**obj_branding_description** | [**MultilingualBrandingDescription**](MultilingualBrandingDescription.md) | | +**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | +**s_branding_name** | **str** | The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty | [optional] +**s_email_address** | **str** | The email address. | [optional] +**e_branding_logo** | [**FieldEBrandingLogo**](FieldEBrandingLogo.md) | | +**e_branding_alignlogo** | [**FieldEBrandingAlignlogo**](FieldEBrandingAlignlogo.md) | | +**i_branding_color** | **int** | The primary color. This is a RGB color converted into integer | +**b_branding_isactive** | **bool** | Whether the Branding is active or not | +**s_branding_logourl** | **str** | The url of the picture used as logo in the Branding | [optional] +**s_branding_logoemailurl** | **str** | The url of the picture used in email as logo in the Branding | [optional] +**s_branding_logointerfaceurl** | **str** | The url of the picture used as logo in the Branding | [optional] + +## Example + +```python +from eZmaxApi.models.branding_response_compound_v3 import BrandingResponseCompoundV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingResponseCompoundV3 from a JSON string +branding_response_compound_v3_instance = BrandingResponseCompoundV3.from_json(json) +# print the JSON string representation of the object +print(BrandingResponseCompoundV3.to_json()) + +# convert the object into a dict +branding_response_compound_v3_dict = branding_response_compound_v3_instance.to_dict() +# create an instance of BrandingResponseCompoundV3 from a dict +branding_response_compound_v3_from_dict = BrandingResponseCompoundV3.from_dict(branding_response_compound_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BrandingResponseV3.md b/docs/BrandingResponseV3.md new file mode 100644 index 000000000..df032c6b1 --- /dev/null +++ b/docs/BrandingResponseV3.md @@ -0,0 +1,39 @@ +# BrandingResponseV3 + +A Branding Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_branding_id** | **int** | The unique ID of the Branding | +**fki_email_id** | **int** | The unique ID of the Email | [optional] +**obj_branding_description** | [**MultilingualBrandingDescription**](MultilingualBrandingDescription.md) | | +**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | +**s_branding_name** | **str** | The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty | [optional] +**s_email_address** | **str** | The email address. | [optional] +**e_branding_logo** | [**FieldEBrandingLogo**](FieldEBrandingLogo.md) | | +**e_branding_alignlogo** | [**FieldEBrandingAlignlogo**](FieldEBrandingAlignlogo.md) | | +**i_branding_color** | **int** | The primary color. This is a RGB color converted into integer | +**b_branding_isactive** | **bool** | Whether the Branding is active or not | + +## Example + +```python +from eZmaxApi.models.branding_response_v3 import BrandingResponseV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of BrandingResponseV3 from a JSON string +branding_response_v3_instance = BrandingResponseV3.from_json(json) +# print the JSON string representation of the object +print(BrandingResponseV3.to_json()) + +# convert the object into a dict +branding_response_v3_dict = branding_response_v3_instance.to_dict() +# create an instance of BrandingResponseV3 from a dict +branding_response_v3_from_dict = BrandingResponseV3.from_dict(branding_response_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BuyercontractGetCommunicationCountV1Response.md b/docs/BuyercontractGetCommunicationCountV1Response.md new file mode 100644 index 000000000..fbd3eb934 --- /dev/null +++ b/docs/BuyercontractGetCommunicationCountV1Response.md @@ -0,0 +1,32 @@ +# BuyercontractGetCommunicationCountV1Response + +Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**BuyercontractGetCommunicationCountV1ResponseMPayload**](BuyercontractGetCommunicationCountV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.buyercontract_get_communication_count_v1_response import BuyercontractGetCommunicationCountV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of BuyercontractGetCommunicationCountV1Response from a JSON string +buyercontract_get_communication_count_v1_response_instance = BuyercontractGetCommunicationCountV1Response.from_json(json) +# print the JSON string representation of the object +print(BuyercontractGetCommunicationCountV1Response.to_json()) + +# convert the object into a dict +buyercontract_get_communication_count_v1_response_dict = buyercontract_get_communication_count_v1_response_instance.to_dict() +# create an instance of BuyercontractGetCommunicationCountV1Response from a dict +buyercontract_get_communication_count_v1_response_from_dict = BuyercontractGetCommunicationCountV1Response.from_dict(buyercontract_get_communication_count_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BuyercontractGetCommunicationCountV1ResponseMPayload.md b/docs/BuyercontractGetCommunicationCountV1ResponseMPayload.md new file mode 100644 index 000000000..7f60abe36 --- /dev/null +++ b/docs/BuyercontractGetCommunicationCountV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# BuyercontractGetCommunicationCountV1ResponseMPayload + +Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_communication_count** | **int** | The count of Communication. | + +## Example + +```python +from eZmaxApi.models.buyercontract_get_communication_count_v1_response_m_payload import BuyercontractGetCommunicationCountV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of BuyercontractGetCommunicationCountV1ResponseMPayload from a JSON string +buyercontract_get_communication_count_v1_response_m_payload_instance = BuyercontractGetCommunicationCountV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(BuyercontractGetCommunicationCountV1ResponseMPayload.to_json()) + +# convert the object into a dict +buyercontract_get_communication_count_v1_response_m_payload_dict = buyercontract_get_communication_count_v1_response_m_payload_instance.to_dict() +# create an instance of BuyercontractGetCommunicationCountV1ResponseMPayload from a dict +buyercontract_get_communication_count_v1_response_m_payload_from_dict = BuyercontractGetCommunicationCountV1ResponseMPayload.from_dict(buyercontract_get_communication_count_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BuyercontractGetCommunicationListV1Response.md b/docs/BuyercontractGetCommunicationListV1Response.md index c4bd25641..4ab939bf4 100644 --- a/docs/BuyercontractGetCommunicationListV1Response.md +++ b/docs/BuyercontractGetCommunicationListV1Response.md @@ -25,7 +25,7 @@ print(BuyercontractGetCommunicationListV1Response.to_json()) # convert the object into a dict buyercontract_get_communication_list_v1_response_dict = buyercontract_get_communication_list_v1_response_instance.to_dict() # create an instance of BuyercontractGetCommunicationListV1Response from a dict -buyercontract_get_communication_list_v1_response_form_dict = buyercontract_get_communication_list_v1_response.from_dict(buyercontract_get_communication_list_v1_response_dict) +buyercontract_get_communication_list_v1_response_from_dict = BuyercontractGetCommunicationListV1Response.from_dict(buyercontract_get_communication_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BuyercontractGetCommunicationListV1ResponseMPayload.md b/docs/BuyercontractGetCommunicationListV1ResponseMPayload.md index 975ad7741..537356f12 100644 --- a/docs/BuyercontractGetCommunicationListV1ResponseMPayload.md +++ b/docs/BuyercontractGetCommunicationListV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(BuyercontractGetCommunicationListV1ResponseMPayload.to_json()) # convert the object into a dict buyercontract_get_communication_list_v1_response_m_payload_dict = buyercontract_get_communication_list_v1_response_m_payload_instance.to_dict() # create an instance of BuyercontractGetCommunicationListV1ResponseMPayload from a dict -buyercontract_get_communication_list_v1_response_m_payload_form_dict = buyercontract_get_communication_list_v1_response_m_payload.from_dict(buyercontract_get_communication_list_v1_response_m_payload_dict) +buyercontract_get_communication_list_v1_response_m_payload_from_dict = BuyercontractGetCommunicationListV1ResponseMPayload.from_dict(buyercontract_get_communication_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BuyercontractGetCommunicationrecipientsV1Response.md b/docs/BuyercontractGetCommunicationrecipientsV1Response.md new file mode 100644 index 000000000..c8e04472f --- /dev/null +++ b/docs/BuyercontractGetCommunicationrecipientsV1Response.md @@ -0,0 +1,32 @@ +# BuyercontractGetCommunicationrecipientsV1Response + +Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**BuyercontractGetCommunicationrecipientsV1ResponseMPayload**](BuyercontractGetCommunicationrecipientsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response import BuyercontractGetCommunicationrecipientsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of BuyercontractGetCommunicationrecipientsV1Response from a JSON string +buyercontract_get_communicationrecipients_v1_response_instance = BuyercontractGetCommunicationrecipientsV1Response.from_json(json) +# print the JSON string representation of the object +print(BuyercontractGetCommunicationrecipientsV1Response.to_json()) + +# convert the object into a dict +buyercontract_get_communicationrecipients_v1_response_dict = buyercontract_get_communicationrecipients_v1_response_instance.to_dict() +# create an instance of BuyercontractGetCommunicationrecipientsV1Response from a dict +buyercontract_get_communicationrecipients_v1_response_from_dict = BuyercontractGetCommunicationrecipientsV1Response.from_dict(buyercontract_get_communicationrecipients_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BuyercontractGetCommunicationrecipientsV1ResponseMPayload.md b/docs/BuyercontractGetCommunicationrecipientsV1ResponseMPayload.md new file mode 100644 index 000000000..047c11bd2 --- /dev/null +++ b/docs/BuyercontractGetCommunicationrecipientsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# BuyercontractGetCommunicationrecipientsV1ResponseMPayload + +Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationrecipientsgroup** | [**List[CustomCommunicationrecipientsgroupResponse]**](CustomCommunicationrecipientsgroupResponse.md) | | + +## Example + +```python +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response_m_payload import BuyercontractGetCommunicationrecipientsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of BuyercontractGetCommunicationrecipientsV1ResponseMPayload from a JSON string +buyercontract_get_communicationrecipients_v1_response_m_payload_instance = BuyercontractGetCommunicationrecipientsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(BuyercontractGetCommunicationrecipientsV1ResponseMPayload.to_json()) + +# convert the object into a dict +buyercontract_get_communicationrecipients_v1_response_m_payload_dict = buyercontract_get_communicationrecipients_v1_response_m_payload_instance.to_dict() +# create an instance of BuyercontractGetCommunicationrecipientsV1ResponseMPayload from a dict +buyercontract_get_communicationrecipients_v1_response_m_payload_from_dict = BuyercontractGetCommunicationrecipientsV1ResponseMPayload.from_dict(buyercontract_get_communicationrecipients_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BuyercontractGetCommunicationsendersV1Response.md b/docs/BuyercontractGetCommunicationsendersV1Response.md new file mode 100644 index 000000000..73e839ec0 --- /dev/null +++ b/docs/BuyercontractGetCommunicationsendersV1Response.md @@ -0,0 +1,32 @@ +# BuyercontractGetCommunicationsendersV1Response + +Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**BuyercontractGetCommunicationsendersV1ResponseMPayload**](BuyercontractGetCommunicationsendersV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response import BuyercontractGetCommunicationsendersV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of BuyercontractGetCommunicationsendersV1Response from a JSON string +buyercontract_get_communicationsenders_v1_response_instance = BuyercontractGetCommunicationsendersV1Response.from_json(json) +# print the JSON string representation of the object +print(BuyercontractGetCommunicationsendersV1Response.to_json()) + +# convert the object into a dict +buyercontract_get_communicationsenders_v1_response_dict = buyercontract_get_communicationsenders_v1_response_instance.to_dict() +# create an instance of BuyercontractGetCommunicationsendersV1Response from a dict +buyercontract_get_communicationsenders_v1_response_from_dict = BuyercontractGetCommunicationsendersV1Response.from_dict(buyercontract_get_communicationsenders_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BuyercontractGetCommunicationsendersV1ResponseMPayload.md b/docs/BuyercontractGetCommunicationsendersV1ResponseMPayload.md new file mode 100644 index 000000000..060825da7 --- /dev/null +++ b/docs/BuyercontractGetCommunicationsendersV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# BuyercontractGetCommunicationsendersV1ResponseMPayload + +Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationsenders + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationsenders** | [**List[CustomCommunicationsenderResponse]**](CustomCommunicationsenderResponse.md) | | + +## Example + +```python +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response_m_payload import BuyercontractGetCommunicationsendersV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of BuyercontractGetCommunicationsendersV1ResponseMPayload from a JSON string +buyercontract_get_communicationsenders_v1_response_m_payload_instance = BuyercontractGetCommunicationsendersV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(BuyercontractGetCommunicationsendersV1ResponseMPayload.to_json()) + +# convert the object into a dict +buyercontract_get_communicationsenders_v1_response_m_payload_dict = buyercontract_get_communicationsenders_v1_response_m_payload_instance.to_dict() +# create an instance of BuyercontractGetCommunicationsendersV1ResponseMPayload from a dict +buyercontract_get_communicationsenders_v1_response_m_payload_from_dict = BuyercontractGetCommunicationsendersV1ResponseMPayload.from_dict(buyercontract_get_communicationsenders_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ClonehistoryGetListV1Response.md b/docs/ClonehistoryGetListV1Response.md index a2d3ad59f..bbcef4ecd 100644 --- a/docs/ClonehistoryGetListV1Response.md +++ b/docs/ClonehistoryGetListV1Response.md @@ -25,7 +25,7 @@ print(ClonehistoryGetListV1Response.to_json()) # convert the object into a dict clonehistory_get_list_v1_response_dict = clonehistory_get_list_v1_response_instance.to_dict() # create an instance of ClonehistoryGetListV1Response from a dict -clonehistory_get_list_v1_response_form_dict = clonehistory_get_list_v1_response.from_dict(clonehistory_get_list_v1_response_dict) +clonehistory_get_list_v1_response_from_dict = ClonehistoryGetListV1Response.from_dict(clonehistory_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ClonehistoryGetListV1ResponseMPayload.md b/docs/ClonehistoryGetListV1ResponseMPayload.md index 716d76127..b35d526be 100644 --- a/docs/ClonehistoryGetListV1ResponseMPayload.md +++ b/docs/ClonehistoryGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(ClonehistoryGetListV1ResponseMPayload.to_json()) # convert the object into a dict clonehistory_get_list_v1_response_m_payload_dict = clonehistory_get_list_v1_response_m_payload_instance.to_dict() # create an instance of ClonehistoryGetListV1ResponseMPayload from a dict -clonehistory_get_list_v1_response_m_payload_form_dict = clonehistory_get_list_v1_response_m_payload.from_dict(clonehistory_get_list_v1_response_m_payload_dict) +clonehistory_get_list_v1_response_m_payload_from_dict = ClonehistoryGetListV1ResponseMPayload.from_dict(clonehistory_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ClonehistoryListElement.md b/docs/ClonehistoryListElement.md index c775cd016..d5add7610 100644 --- a/docs/ClonehistoryListElement.md +++ b/docs/ClonehistoryListElement.md @@ -33,7 +33,7 @@ print(ClonehistoryListElement.to_json()) # convert the object into a dict clonehistory_list_element_dict = clonehistory_list_element_instance.to_dict() # create an instance of ClonehistoryListElement from a dict -clonehistory_list_element_form_dict = clonehistory_list_element.from_dict(clonehistory_list_element_dict) +clonehistory_list_element_from_dict = ClonehistoryListElement.from_dict(clonehistory_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ColleagueRequestCompoundV2.md b/docs/ColleagueRequestCompoundV2.md new file mode 100644 index 000000000..9f178295a --- /dev/null +++ b/docs/ColleagueRequestCompoundV2.md @@ -0,0 +1,43 @@ +# ColleagueRequestCompoundV2 + +A Colleague Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_colleague_id** | **int** | The unique ID of the Colleague | [optional] +**fki_user_id** | **int** | The unique ID of the User | +**fki_user_id_colleague** | **int** | The unique ID of the User | +**b_colleague_ezsignemail** | **bool** | Whether the email can be used by the cloning user in Ezsign | +**b_colleague_financial** | **bool** | Whether the cloning user has access to the financial | +**b_colleague_usecloneemail** | **bool** | Whether the cloning user has access to the cloned user email to send communications | +**b_colleague_attachment** | **bool** | Whether the cloning user has access to the attachment | +**b_colleague_canafe** | **bool** | Whether the cloning user has access to canafe | +**b_colleague_permission** | **bool** | Whether the cloning user copies the permission of the cloned user | +**b_colleague_realestatecompleted** | **bool** | Whether if the cloning user has access to the completed folders in real estate | +**dt_colleague_from** | **str** | The from of the Colleague | [optional] +**dt_colleague_to** | **str** | The to of the Colleague | [optional] +**e_colleague_ezsign** | [**FieldEColleagueEzsign**](FieldEColleagueEzsign.md) | | +**e_colleague_realestateinprogress** | [**FieldEColleagueRealestateinprogess**](FieldEColleagueRealestateinprogess.md) | | + +## Example + +```python +from eZmaxApi.models.colleague_request_compound_v2 import ColleagueRequestCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of ColleagueRequestCompoundV2 from a JSON string +colleague_request_compound_v2_instance = ColleagueRequestCompoundV2.from_json(json) +# print the JSON string representation of the object +print(ColleagueRequestCompoundV2.to_json()) + +# convert the object into a dict +colleague_request_compound_v2_dict = colleague_request_compound_v2_instance.to_dict() +# create an instance of ColleagueRequestCompoundV2 from a dict +colleague_request_compound_v2_from_dict = ColleagueRequestCompoundV2.from_dict(colleague_request_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ColleagueRequestV2.md b/docs/ColleagueRequestV2.md new file mode 100644 index 000000000..c57870610 --- /dev/null +++ b/docs/ColleagueRequestV2.md @@ -0,0 +1,43 @@ +# ColleagueRequestV2 + +A Colleague Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_colleague_id** | **int** | The unique ID of the Colleague | [optional] +**fki_user_id** | **int** | The unique ID of the User | +**fki_user_id_colleague** | **int** | The unique ID of the User | +**b_colleague_ezsignemail** | **bool** | Whether the email can be used by the cloning user in Ezsign | +**b_colleague_financial** | **bool** | Whether the cloning user has access to the financial | +**b_colleague_usecloneemail** | **bool** | Whether the cloning user has access to the cloned user email to send communications | +**b_colleague_attachment** | **bool** | Whether the cloning user has access to the attachment | +**b_colleague_canafe** | **bool** | Whether the cloning user has access to canafe | +**b_colleague_permission** | **bool** | Whether the cloning user copies the permission of the cloned user | +**b_colleague_realestatecompleted** | **bool** | Whether if the cloning user has access to the completed folders in real estate | +**dt_colleague_from** | **str** | The from of the Colleague | [optional] +**dt_colleague_to** | **str** | The to of the Colleague | [optional] +**e_colleague_ezsign** | [**FieldEColleagueEzsign**](FieldEColleagueEzsign.md) | | +**e_colleague_realestateinprogress** | [**FieldEColleagueRealestateinprogess**](FieldEColleagueRealestateinprogess.md) | | + +## Example + +```python +from eZmaxApi.models.colleague_request_v2 import ColleagueRequestV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of ColleagueRequestV2 from a JSON string +colleague_request_v2_instance = ColleagueRequestV2.from_json(json) +# print the JSON string representation of the object +print(ColleagueRequestV2.to_json()) + +# convert the object into a dict +colleague_request_v2_dict = colleague_request_v2_instance.to_dict() +# create an instance of ColleagueRequestV2 from a dict +colleague_request_v2_from_dict = ColleagueRequestV2.from_dict(colleague_request_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ColleagueResponseCompoundV2.md b/docs/ColleagueResponseCompoundV2.md new file mode 100644 index 000000000..48728c788 --- /dev/null +++ b/docs/ColleagueResponseCompoundV2.md @@ -0,0 +1,45 @@ +# ColleagueResponseCompoundV2 + +A Colleague Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_colleague_id** | **int** | The unique ID of the Colleague | +**fki_user_id** | **int** | The unique ID of the User | +**fki_user_id_colleague** | **int** | The unique ID of the User | +**b_colleague_ezsignemail** | **bool** | Whether the email can be used by the cloning user in Ezsign | +**b_colleague_financial** | **bool** | Whether the cloning user has access to the financial | +**b_colleague_usecloneemail** | **bool** | Whether the cloning user has access to the cloned user email to send communications | +**b_colleague_attachment** | **bool** | Whether the cloning user has access to the attachment | +**b_colleague_canafe** | **bool** | Whether the cloning user has access to canafe | +**b_colleague_permission** | **bool** | Whether the cloning user copies the permission of the cloned user | +**b_colleague_realestatecompleted** | **bool** | Whether if the cloning user has access to the completed folders in real estate | +**dt_colleague_from** | **str** | The from of the Colleague | [optional] +**dt_colleague_to** | **str** | The to of the Colleague | [optional] +**e_colleague_ezsign** | [**FieldEColleagueEzsign**](FieldEColleagueEzsign.md) | | +**e_colleague_realestateinprogress** | [**FieldEColleagueRealestateinprogess**](FieldEColleagueRealestateinprogess.md) | | +**obj_user_name** | [**CustomUserNameResponse**](CustomUserNameResponse.md) | | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | + +## Example + +```python +from eZmaxApi.models.colleague_response_compound_v2 import ColleagueResponseCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of ColleagueResponseCompoundV2 from a JSON string +colleague_response_compound_v2_instance = ColleagueResponseCompoundV2.from_json(json) +# print the JSON string representation of the object +print(ColleagueResponseCompoundV2.to_json()) + +# convert the object into a dict +colleague_response_compound_v2_dict = colleague_response_compound_v2_instance.to_dict() +# create an instance of ColleagueResponseCompoundV2 from a dict +colleague_response_compound_v2_from_dict = ColleagueResponseCompoundV2.from_dict(colleague_response_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ColleagueResponseV2.md b/docs/ColleagueResponseV2.md new file mode 100644 index 000000000..3896332a6 --- /dev/null +++ b/docs/ColleagueResponseV2.md @@ -0,0 +1,45 @@ +# ColleagueResponseV2 + +A Colleague Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_colleague_id** | **int** | The unique ID of the Colleague | +**fki_user_id** | **int** | The unique ID of the User | +**fki_user_id_colleague** | **int** | The unique ID of the User | +**b_colleague_ezsignemail** | **bool** | Whether the email can be used by the cloning user in Ezsign | +**b_colleague_financial** | **bool** | Whether the cloning user has access to the financial | +**b_colleague_usecloneemail** | **bool** | Whether the cloning user has access to the cloned user email to send communications | +**b_colleague_attachment** | **bool** | Whether the cloning user has access to the attachment | +**b_colleague_canafe** | **bool** | Whether the cloning user has access to canafe | +**b_colleague_permission** | **bool** | Whether the cloning user copies the permission of the cloned user | +**b_colleague_realestatecompleted** | **bool** | Whether if the cloning user has access to the completed folders in real estate | +**dt_colleague_from** | **str** | The from of the Colleague | [optional] +**dt_colleague_to** | **str** | The to of the Colleague | [optional] +**e_colleague_ezsign** | [**FieldEColleagueEzsign**](FieldEColleagueEzsign.md) | | +**e_colleague_realestateinprogress** | [**FieldEColleagueRealestateinprogess**](FieldEColleagueRealestateinprogess.md) | | +**obj_user_name** | [**CustomUserNameResponse**](CustomUserNameResponse.md) | | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | + +## Example + +```python +from eZmaxApi.models.colleague_response_v2 import ColleagueResponseV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of ColleagueResponseV2 from a JSON string +colleague_response_v2_instance = ColleagueResponseV2.from_json(json) +# print the JSON string representation of the object +print(ColleagueResponseV2.to_json()) + +# convert the object into a dict +colleague_response_v2_dict = colleague_response_v2_instance.to_dict() +# create an instance of ColleagueResponseV2 from a dict +colleague_response_v2_from_dict = ColleagueResponseV2.from_dict(colleague_response_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CommonAudit.md b/docs/CommonAudit.md index eebe9bd6f..8396ed20d 100644 --- a/docs/CommonAudit.md +++ b/docs/CommonAudit.md @@ -24,7 +24,7 @@ print(CommonAudit.to_json()) # convert the object into a dict common_audit_dict = common_audit_instance.to_dict() # create an instance of CommonAudit from a dict -common_audit_form_dict = common_audit.from_dict(common_audit_dict) +common_audit_from_dict = CommonAudit.from_dict(common_audit_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonAuditdetail.md b/docs/CommonAuditdetail.md index 460492e65..e63236a0e 100644 --- a/docs/CommonAuditdetail.md +++ b/docs/CommonAuditdetail.md @@ -29,7 +29,7 @@ print(CommonAuditdetail.to_json()) # convert the object into a dict common_auditdetail_dict = common_auditdetail_instance.to_dict() # create an instance of CommonAuditdetail from a dict -common_auditdetail_form_dict = common_auditdetail.from_dict(common_auditdetail_dict) +common_auditdetail_from_dict = CommonAuditdetail.from_dict(common_auditdetail_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonFile.md b/docs/CommonFile.md index b9b43741a..052c3a744 100644 --- a/docs/CommonFile.md +++ b/docs/CommonFile.md @@ -26,7 +26,7 @@ print(CommonFile.to_json()) # convert the object into a dict common_file_dict = common_file_instance.to_dict() # create an instance of CommonFile from a dict -common_file_form_dict = common_file.from_dict(common_file_dict) +common_file_from_dict = CommonFile.from_dict(common_file_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonGetListV1ResponseMPayload.md b/docs/CommonGetListV1ResponseMPayload.md index 76ce5bda0..757771adc 100644 --- a/docs/CommonGetListV1ResponseMPayload.md +++ b/docs/CommonGetListV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(CommonGetListV1ResponseMPayload.to_json()) # convert the object into a dict common_get_list_v1_response_m_payload_dict = common_get_list_v1_response_m_payload_instance.to_dict() # create an instance of CommonGetListV1ResponseMPayload from a dict -common_get_list_v1_response_m_payload_form_dict = common_get_list_v1_response_m_payload.from_dict(common_get_list_v1_response_m_payload_dict) +common_get_list_v1_response_m_payload_from_dict = CommonGetListV1ResponseMPayload.from_dict(common_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonGetReportV1Response.md b/docs/CommonGetReportV1Response.md index 308b949f3..8afb87279 100644 --- a/docs/CommonGetReportV1Response.md +++ b/docs/CommonGetReportV1Response.md @@ -25,7 +25,7 @@ print(CommonGetReportV1Response.to_json()) # convert the object into a dict common_get_report_v1_response_dict = common_get_report_v1_response_instance.to_dict() # create an instance of CommonGetReportV1Response from a dict -common_get_report_v1_response_form_dict = common_get_report_v1_response.from_dict(common_get_report_v1_response_dict) +common_get_report_v1_response_from_dict = CommonGetReportV1Response.from_dict(common_get_report_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonGetReportV1ResponseMPayload.md b/docs/CommonGetReportV1ResponseMPayload.md index 945229316..8e2e41425 100644 --- a/docs/CommonGetReportV1ResponseMPayload.md +++ b/docs/CommonGetReportV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(CommonGetReportV1ResponseMPayload.to_json()) # convert the object into a dict common_get_report_v1_response_m_payload_dict = common_get_report_v1_response_m_payload_instance.to_dict() # create an instance of CommonGetReportV1ResponseMPayload from a dict -common_get_report_v1_response_m_payload_form_dict = common_get_report_v1_response_m_payload.from_dict(common_get_report_v1_response_m_payload_dict) +common_get_report_v1_response_m_payload_from_dict = CommonGetReportV1ResponseMPayload.from_dict(common_get_report_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonReport.md b/docs/CommonReport.md index 907be4a32..2141ed8bf 100644 --- a/docs/CommonReport.md +++ b/docs/CommonReport.md @@ -23,7 +23,7 @@ print(CommonReport.to_json()) # convert the object into a dict common_report_dict = common_report_instance.to_dict() # create an instance of CommonReport from a dict -common_report_form_dict = common_report.from_dict(common_report_dict) +common_report_from_dict = CommonReport.from_dict(common_report_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonReportcell.md b/docs/CommonReportcell.md index 810171a57..6b4938d5e 100644 --- a/docs/CommonReportcell.md +++ b/docs/CommonReportcell.md @@ -24,7 +24,7 @@ print(CommonReportcell.to_json()) # convert the object into a dict common_reportcell_dict = common_reportcell_instance.to_dict() # create an instance of CommonReportcell from a dict -common_reportcell_form_dict = common_reportcell.from_dict(common_reportcell_dict) +common_reportcell_from_dict = CommonReportcell.from_dict(common_reportcell_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonReportcellstyle.md b/docs/CommonReportcellstyle.md index f39df5e96..73f6b6269 100644 --- a/docs/CommonReportcellstyle.md +++ b/docs/CommonReportcellstyle.md @@ -30,7 +30,7 @@ print(CommonReportcellstyle.to_json()) # convert the object into a dict common_reportcellstyle_dict = common_reportcellstyle_instance.to_dict() # create an instance of CommonReportcellstyle from a dict -common_reportcellstyle_form_dict = common_reportcellstyle.from_dict(common_reportcellstyle_dict) +common_reportcellstyle_from_dict = CommonReportcellstyle.from_dict(common_reportcellstyle_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonReportcolumn.md b/docs/CommonReportcolumn.md index 4ca8a636e..9c2bd50e1 100644 --- a/docs/CommonReportcolumn.md +++ b/docs/CommonReportcolumn.md @@ -24,7 +24,7 @@ print(CommonReportcolumn.to_json()) # convert the object into a dict common_reportcolumn_dict = common_reportcolumn_instance.to_dict() # create an instance of CommonReportcolumn from a dict -common_reportcolumn_form_dict = common_reportcolumn.from_dict(common_reportcolumn_dict) +common_reportcolumn_from_dict = CommonReportcolumn.from_dict(common_reportcolumn_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonReportgroup.md b/docs/CommonReportgroup.md index 16c730a97..8b613e00f 100644 --- a/docs/CommonReportgroup.md +++ b/docs/CommonReportgroup.md @@ -24,7 +24,7 @@ print(CommonReportgroup.to_json()) # convert the object into a dict common_reportgroup_dict = common_reportgroup_instance.to_dict() # create an instance of CommonReportgroup from a dict -common_reportgroup_form_dict = common_reportgroup.from_dict(common_reportgroup_dict) +common_reportgroup_from_dict = CommonReportgroup.from_dict(common_reportgroup_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonReportrow.md b/docs/CommonReportrow.md index c568815ec..13a432899 100644 --- a/docs/CommonReportrow.md +++ b/docs/CommonReportrow.md @@ -24,7 +24,7 @@ print(CommonReportrow.to_json()) # convert the object into a dict common_reportrow_dict = common_reportrow_instance.to_dict() # create an instance of CommonReportrow from a dict -common_reportrow_form_dict = common_reportrow.from_dict(common_reportrow_dict) +common_reportrow_from_dict = CommonReportrow.from_dict(common_reportrow_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonReportsection.md b/docs/CommonReportsection.md index 5c16cf6dd..5da73544b 100644 --- a/docs/CommonReportsection.md +++ b/docs/CommonReportsection.md @@ -27,7 +27,7 @@ print(CommonReportsection.to_json()) # convert the object into a dict common_reportsection_dict = common_reportsection_instance.to_dict() # create an instance of CommonReportsection from a dict -common_reportsection_form_dict = common_reportsection.from_dict(common_reportsection_dict) +common_reportsection_from_dict = CommonReportsection.from_dict(common_reportsection_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonReportsubsection.md b/docs/CommonReportsubsection.md index 994cfcec6..2d367a34b 100644 --- a/docs/CommonReportsubsection.md +++ b/docs/CommonReportsubsection.md @@ -25,7 +25,7 @@ print(CommonReportsubsection.to_json()) # convert the object into a dict common_reportsubsection_dict = common_reportsubsection_instance.to_dict() # create an instance of CommonReportsubsection from a dict -common_reportsubsection_form_dict = common_reportsubsection.from_dict(common_reportsubsection_dict) +common_reportsubsection_from_dict = CommonReportsubsection.from_dict(common_reportsubsection_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonReportsubsectionpart.md b/docs/CommonReportsubsectionpart.md index dfc20fdb0..becddee8d 100644 --- a/docs/CommonReportsubsectionpart.md +++ b/docs/CommonReportsubsectionpart.md @@ -24,7 +24,7 @@ print(CommonReportsubsectionpart.to_json()) # convert the object into a dict common_reportsubsectionpart_dict = common_reportsubsectionpart_instance.to_dict() # create an instance of CommonReportsubsectionpart from a dict -common_reportsubsectionpart_form_dict = common_reportsubsectionpart.from_dict(common_reportsubsectionpart_dict) +common_reportsubsectionpart_from_dict = CommonReportsubsectionpart.from_dict(common_reportsubsectionpart_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponse.md b/docs/CommonResponse.md index 576153413..51f5a961a 100644 --- a/docs/CommonResponse.md +++ b/docs/CommonResponse.md @@ -24,7 +24,7 @@ print(CommonResponse.to_json()) # convert the object into a dict common_response_dict = common_response_instance.to_dict() # create an instance of CommonResponse from a dict -common_response_form_dict = common_response.from_dict(common_response_dict) +common_response_from_dict = CommonResponse.from_dict(common_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseError.md b/docs/CommonResponseError.md index 0ef70b7b4..2932b8b53 100644 --- a/docs/CommonResponseError.md +++ b/docs/CommonResponseError.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **s_error_message** | **str** | The message giving details about the error | **e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] ## Example @@ -24,7 +25,7 @@ print(CommonResponseError.to_json()) # convert the object into a dict common_response_error_dict = common_response_error_instance.to_dict() # create an instance of CommonResponseError from a dict -common_response_error_form_dict = common_response_error.from_dict(common_response_error_dict) +common_response_error_from_dict = CommonResponseError.from_dict(common_response_error_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseErrorCreditcardValidation.md b/docs/CommonResponseErrorCreditcardValidation.md new file mode 100644 index 000000000..abb746320 --- /dev/null +++ b/docs/CommonResponseErrorCreditcardValidation.md @@ -0,0 +1,33 @@ +# CommonResponseErrorCreditcardValidation + +Generic Error Message + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_error_message** | **str** | The message giving details about the error | +**e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] +**obj_creditcardtransactionresponse** | [**CustomCreditcardtransactionresponseResponse**](CustomCreditcardtransactionresponseResponse.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.common_response_error_creditcard_validation import CommonResponseErrorCreditcardValidation + +# TODO update the JSON string below +json = "{}" +# create an instance of CommonResponseErrorCreditcardValidation from a JSON string +common_response_error_creditcard_validation_instance = CommonResponseErrorCreditcardValidation.from_json(json) +# print the JSON string representation of the object +print(CommonResponseErrorCreditcardValidation.to_json()) + +# convert the object into a dict +common_response_error_creditcard_validation_dict = common_response_error_creditcard_validation_instance.to_dict() +# create an instance of CommonResponseErrorCreditcardValidation from a dict +common_response_error_creditcard_validation_from_dict = CommonResponseErrorCreditcardValidation.from_dict(common_response_error_creditcard_validation_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CommonResponseErrorEzsignformValidation.md b/docs/CommonResponseErrorEzsignformValidation.md index be243ac70..957be6ec9 100644 --- a/docs/CommonResponseErrorEzsignformValidation.md +++ b/docs/CommonResponseErrorEzsignformValidation.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **s_error_message** | **str** | The message giving details about the error | **e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] **a_obj_ezsignformfielderror** | [**List[CustomEzsignformfielderrorResponse]**](CustomEzsignformfielderrorResponse.md) | | ## Example @@ -25,7 +26,7 @@ print(CommonResponseErrorEzsignformValidation.to_json()) # convert the object into a dict common_response_error_ezsignform_validation_dict = common_response_error_ezsignform_validation_instance.to_dict() # create an instance of CommonResponseErrorEzsignformValidation from a dict -common_response_error_ezsignform_validation_form_dict = common_response_error_ezsignform_validation.from_dict(common_response_error_ezsignform_validation_dict) +common_response_error_ezsignform_validation_from_dict = CommonResponseErrorEzsignformValidation.from_dict(common_response_error_ezsignform_validation_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseErrorSTemporaryFileUrl.md b/docs/CommonResponseErrorSTemporaryFileUrl.md index c40c405ad..a40d847b0 100644 --- a/docs/CommonResponseErrorSTemporaryFileUrl.md +++ b/docs/CommonResponseErrorSTemporaryFileUrl.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **s_error_message** | **str** | The message giving details about the error | **e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] **s_temporary_file_url** | **str** | The Temporary File Url of the document that was uploaded. That url can be reused instead of uploading the file again. | [optional] ## Example @@ -25,7 +26,7 @@ print(CommonResponseErrorSTemporaryFileUrl.to_json()) # convert the object into a dict common_response_error_s_temporary_file_url_dict = common_response_error_s_temporary_file_url_instance.to_dict() # create an instance of CommonResponseErrorSTemporaryFileUrl from a dict -common_response_error_s_temporary_file_url_form_dict = common_response_error_s_temporary_file_url.from_dict(common_response_error_s_temporary_file_url_dict) +common_response_error_s_temporary_file_url_from_dict = CommonResponseErrorSTemporaryFileUrl.from_dict(common_response_error_s_temporary_file_url_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseErrorTooManyRequests.md b/docs/CommonResponseErrorTooManyRequests.md index debfdca76..25b95e842 100644 --- a/docs/CommonResponseErrorTooManyRequests.md +++ b/docs/CommonResponseErrorTooManyRequests.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **s_error_message** | **str** | The message giving details about the error | **e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] ## Example @@ -24,7 +25,7 @@ print(CommonResponseErrorTooManyRequests.to_json()) # convert the object into a dict common_response_error_too_many_requests_dict = common_response_error_too_many_requests_instance.to_dict() # create an instance of CommonResponseErrorTooManyRequests from a dict -common_response_error_too_many_requests_form_dict = common_response_error_too_many_requests.from_dict(common_response_error_too_many_requests_dict) +common_response_error_too_many_requests_from_dict = CommonResponseErrorTooManyRequests.from_dict(common_response_error_too_many_requests_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseErrorWrongFranchiseoffice.md b/docs/CommonResponseErrorWrongFranchiseoffice.md new file mode 100644 index 000000000..a0e8e67c2 --- /dev/null +++ b/docs/CommonResponseErrorWrongFranchiseoffice.md @@ -0,0 +1,36 @@ +# CommonResponseErrorWrongFranchiseoffice + +Error Message when a Franchisebroker is not in this Franchiseoffice. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_error_message** | **str** | The message giving details about the error | +**e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] +**fki_franchiseagence_id** | **int** | The unique ID of the Franchiseagence | +**s_franchiseagence_name** | **str** | The name of the Franchiseagence | +**fki_franchiseoffice_id** | **int** | The unique ID of the Franchisereoffice | +**i_franchiseoffice_code** | **str** | The code of the Franchiseoffice | + +## Example + +```python +from eZmaxApi.models.common_response_error_wrong_franchiseoffice import CommonResponseErrorWrongFranchiseoffice + +# TODO update the JSON string below +json = "{}" +# create an instance of CommonResponseErrorWrongFranchiseoffice from a JSON string +common_response_error_wrong_franchiseoffice_instance = CommonResponseErrorWrongFranchiseoffice.from_json(json) +# print the JSON string representation of the object +print(CommonResponseErrorWrongFranchiseoffice.to_json()) + +# convert the object into a dict +common_response_error_wrong_franchiseoffice_dict = common_response_error_wrong_franchiseoffice_instance.to_dict() +# create an instance of CommonResponseErrorWrongFranchiseoffice from a dict +common_response_error_wrong_franchiseoffice_from_dict = CommonResponseErrorWrongFranchiseoffice.from_dict(common_response_error_wrong_franchiseoffice_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CommonResponseFilter.md b/docs/CommonResponseFilter.md index b8f60112c..0772eb288 100644 --- a/docs/CommonResponseFilter.md +++ b/docs/CommonResponseFilter.md @@ -25,7 +25,7 @@ print(CommonResponseFilter.to_json()) # convert the object into a dict common_response_filter_dict = common_response_filter_instance.to_dict() # create an instance of CommonResponseFilter from a dict -common_response_filter_form_dict = common_response_filter.from_dict(common_response_filter_dict) +common_response_filter_from_dict = CommonResponseFilter.from_dict(common_response_filter_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseGetList.md b/docs/CommonResponseGetList.md index 52ddd2fd3..1006dab8e 100644 --- a/docs/CommonResponseGetList.md +++ b/docs/CommonResponseGetList.md @@ -24,7 +24,7 @@ print(CommonResponseGetList.to_json()) # convert the object into a dict common_response_get_list_dict = common_response_get_list_instance.to_dict() # create an instance of CommonResponseGetList from a dict -common_response_get_list_form_dict = common_response_get_list.from_dict(common_response_get_list_dict) +common_response_get_list_from_dict = CommonResponseGetList.from_dict(common_response_get_list_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseObjDebug.md b/docs/CommonResponseObjDebug.md index a7e7c1ec0..bfb80b8c2 100644 --- a/docs/CommonResponseObjDebug.md +++ b/docs/CommonResponseObjDebug.md @@ -27,7 +27,7 @@ print(CommonResponseObjDebug.to_json()) # convert the object into a dict common_response_obj_debug_dict = common_response_obj_debug_instance.to_dict() # create an instance of CommonResponseObjDebug from a dict -common_response_obj_debug_form_dict = common_response_obj_debug.from_dict(common_response_obj_debug_dict) +common_response_obj_debug_from_dict = CommonResponseObjDebug.from_dict(common_response_obj_debug_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseObjDebugPayload.md b/docs/CommonResponseObjDebugPayload.md index 46b2f9e9f..430e1eaaf 100644 --- a/docs/CommonResponseObjDebugPayload.md +++ b/docs/CommonResponseObjDebugPayload.md @@ -27,7 +27,7 @@ print(CommonResponseObjDebugPayload.to_json()) # convert the object into a dict common_response_obj_debug_payload_dict = common_response_obj_debug_payload_instance.to_dict() # create an instance of CommonResponseObjDebugPayload from a dict -common_response_obj_debug_payload_form_dict = common_response_obj_debug_payload.from_dict(common_response_obj_debug_payload_dict) +common_response_obj_debug_payload_from_dict = CommonResponseObjDebugPayload.from_dict(common_response_obj_debug_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseObjDebugPayloadGetList.md b/docs/CommonResponseObjDebugPayloadGetList.md index afc0b3805..d0621cdb0 100644 --- a/docs/CommonResponseObjDebugPayloadGetList.md +++ b/docs/CommonResponseObjDebugPayloadGetList.md @@ -31,7 +31,7 @@ print(CommonResponseObjDebugPayloadGetList.to_json()) # convert the object into a dict common_response_obj_debug_payload_get_list_dict = common_response_obj_debug_payload_get_list_instance.to_dict() # create an instance of CommonResponseObjDebugPayloadGetList from a dict -common_response_obj_debug_payload_get_list_form_dict = common_response_obj_debug_payload_get_list.from_dict(common_response_obj_debug_payload_get_list_dict) +common_response_obj_debug_payload_get_list_from_dict = CommonResponseObjDebugPayloadGetList.from_dict(common_response_obj_debug_payload_get_list_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseObjSQLQuery.md b/docs/CommonResponseObjSQLQuery.md index 8f6cf4943..6ac26c87f 100644 --- a/docs/CommonResponseObjSQLQuery.md +++ b/docs/CommonResponseObjSQLQuery.md @@ -24,7 +24,7 @@ print(CommonResponseObjSQLQuery.to_json()) # convert the object into a dict common_response_obj_sql_query_dict = common_response_obj_sql_query_instance.to_dict() # create an instance of CommonResponseObjSQLQuery from a dict -common_response_obj_sql_query_form_dict = common_response_obj_sql_query.from_dict(common_response_obj_sql_query_dict) +common_response_obj_sql_query_from_dict = CommonResponseObjSQLQuery.from_dict(common_response_obj_sql_query_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseRedirectSSecretquestionTextX.md b/docs/CommonResponseRedirectSSecretquestionTextX.md index 3cba5d28d..f35b81014 100644 --- a/docs/CommonResponseRedirectSSecretquestionTextX.md +++ b/docs/CommonResponseRedirectSSecretquestionTextX.md @@ -23,7 +23,7 @@ print(CommonResponseRedirectSSecretquestionTextX.to_json()) # convert the object into a dict common_response_redirect_s_secretquestion_text_x_dict = common_response_redirect_s_secretquestion_text_x_instance.to_dict() # create an instance of CommonResponseRedirectSSecretquestionTextX from a dict -common_response_redirect_s_secretquestion_text_x_form_dict = common_response_redirect_s_secretquestion_text_x.from_dict(common_response_redirect_s_secretquestion_text_x_dict) +common_response_redirect_s_secretquestion_text_x_from_dict = CommonResponseRedirectSSecretquestionTextX.from_dict(common_response_redirect_s_secretquestion_text_x_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonResponseWarning.md b/docs/CommonResponseWarning.md index eddbd718d..936fbc394 100644 --- a/docs/CommonResponseWarning.md +++ b/docs/CommonResponseWarning.md @@ -24,7 +24,7 @@ print(CommonResponseWarning.to_json()) # convert the object into a dict common_response_warning_dict = common_response_warning_instance.to_dict() # create an instance of CommonResponseWarning from a dict -common_response_warning_form_dict = common_response_warning.from_dict(common_response_warning_dict) +common_response_warning_from_dict = CommonResponseWarning.from_dict(common_response_warning_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommonWebhook.md b/docs/CommonWebhook.md index e04ce5611..f1e856b5d 100644 --- a/docs/CommonWebhook.md +++ b/docs/CommonWebhook.md @@ -24,7 +24,7 @@ print(CommonWebhook.to_json()) # convert the object into a dict common_webhook_dict = common_webhook_instance.to_dict() # create an instance of CommonWebhook from a dict -common_webhook_form_dict = common_webhook.from_dict(common_webhook_dict) +common_webhook_from_dict = CommonWebhook.from_dict(common_webhook_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationCreateObjectV1ResponseMPayload.md b/docs/CommunicationCreateObjectV1ResponseMPayload.md deleted file mode 100644 index 64c5949a3..000000000 --- a/docs/CommunicationCreateObjectV1ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# CommunicationCreateObjectV1ResponseMPayload - -Payload for POST /1/object/communication - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_pki_communication_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | - -## Example - -```python -from eZmaxApi.models.communication_create_object_v1_response_m_payload import CommunicationCreateObjectV1ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of CommunicationCreateObjectV1ResponseMPayload from a JSON string -communication_create_object_v1_response_m_payload_instance = CommunicationCreateObjectV1ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(CommunicationCreateObjectV1ResponseMPayload.to_json()) - -# convert the object into a dict -communication_create_object_v1_response_m_payload_dict = communication_create_object_v1_response_m_payload_instance.to_dict() -# create an instance of CommunicationCreateObjectV1ResponseMPayload from a dict -communication_create_object_v1_response_m_payload_form_dict = communication_create_object_v1_response_m_payload.from_dict(communication_create_object_v1_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/CommunicationRequest.md b/docs/CommunicationRequest.md index 48a355bd9..e18aa65b5 100644 --- a/docs/CommunicationRequest.md +++ b/docs/CommunicationRequest.md @@ -32,7 +32,7 @@ print(CommunicationRequest.to_json()) # convert the object into a dict communication_request_dict = communication_request_instance.to_dict() # create an instance of CommunicationRequest from a dict -communication_request_form_dict = communication_request.from_dict(communication_request_dict) +communication_request_from_dict = CommunicationRequest.from_dict(communication_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationRequestCompound.md b/docs/CommunicationRequestCompound.md index 000e32b1e..4a2514976 100644 --- a/docs/CommunicationRequestCompound.md +++ b/docs/CommunicationRequestCompound.md @@ -36,7 +36,7 @@ print(CommunicationRequestCompound.to_json()) # convert the object into a dict communication_request_compound_dict = communication_request_compound_instance.to_dict() # create an instance of CommunicationRequestCompound from a dict -communication_request_compound_form_dict = communication_request_compound.from_dict(communication_request_compound_dict) +communication_request_compound_from_dict = CommunicationRequestCompound.from_dict(communication_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationSendV1Request.md b/docs/CommunicationSendV1Request.md index 8421d0906..01d09f724 100644 --- a/docs/CommunicationSendV1Request.md +++ b/docs/CommunicationSendV1Request.md @@ -23,7 +23,7 @@ print(CommunicationSendV1Request.to_json()) # convert the object into a dict communication_send_v1_request_dict = communication_send_v1_request_instance.to_dict() # create an instance of CommunicationSendV1Request from a dict -communication_send_v1_request_form_dict = communication_send_v1_request.from_dict(communication_send_v1_request_dict) +communication_send_v1_request_from_dict = CommunicationSendV1Request.from_dict(communication_send_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationSendV1Response.md b/docs/CommunicationSendV1Response.md index 7f537fb90..b8c3abdd7 100644 --- a/docs/CommunicationSendV1Response.md +++ b/docs/CommunicationSendV1Response.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | **obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**CommunicationCreateObjectV1ResponseMPayload**](CommunicationCreateObjectV1ResponseMPayload.md) | | +**m_payload** | [**CommunicationSendV1ResponseMPayload**](CommunicationSendV1ResponseMPayload.md) | | ## Example @@ -25,7 +25,7 @@ print(CommunicationSendV1Response.to_json()) # convert the object into a dict communication_send_v1_response_dict = communication_send_v1_response_instance.to_dict() # create an instance of CommunicationSendV1Response from a dict -communication_send_v1_response_form_dict = communication_send_v1_response.from_dict(communication_send_v1_response_dict) +communication_send_v1_response_from_dict = CommunicationSendV1Response.from_dict(communication_send_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationSendV1ResponseMPayload.md b/docs/CommunicationSendV1ResponseMPayload.md new file mode 100644 index 000000000..d992d568c --- /dev/null +++ b/docs/CommunicationSendV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# CommunicationSendV1ResponseMPayload + +Payload for POST /1/object/communication + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_communication_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.communication_send_v1_response_m_payload import CommunicationSendV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationSendV1ResponseMPayload from a JSON string +communication_send_v1_response_m_payload_instance = CommunicationSendV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(CommunicationSendV1ResponseMPayload.to_json()) + +# convert the object into a dict +communication_send_v1_response_m_payload_dict = communication_send_v1_response_m_payload_instance.to_dict() +# create an instance of CommunicationSendV1ResponseMPayload from a dict +communication_send_v1_response_m_payload_from_dict = CommunicationSendV1ResponseMPayload.from_dict(communication_send_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CommunicationattachmentRequest.md b/docs/CommunicationattachmentRequest.md index 36689b82b..5ed31f702 100644 --- a/docs/CommunicationattachmentRequest.md +++ b/docs/CommunicationattachmentRequest.md @@ -26,7 +26,7 @@ print(CommunicationattachmentRequest.to_json()) # convert the object into a dict communicationattachment_request_dict = communicationattachment_request_instance.to_dict() # create an instance of CommunicationattachmentRequest from a dict -communicationattachment_request_form_dict = communicationattachment_request.from_dict(communicationattachment_request_dict) +communicationattachment_request_from_dict = CommunicationattachmentRequest.from_dict(communicationattachment_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationattachmentRequestCompound.md b/docs/CommunicationattachmentRequestCompound.md index 35526e231..93570d159 100644 --- a/docs/CommunicationattachmentRequestCompound.md +++ b/docs/CommunicationattachmentRequestCompound.md @@ -26,7 +26,7 @@ print(CommunicationattachmentRequestCompound.to_json()) # convert the object into a dict communicationattachment_request_compound_dict = communicationattachment_request_compound_instance.to_dict() # create an instance of CommunicationattachmentRequestCompound from a dict -communicationattachment_request_compound_form_dict = communicationattachment_request_compound.from_dict(communicationattachment_request_compound_dict) +communicationattachment_request_compound_from_dict = CommunicationattachmentRequestCompound.from_dict(communicationattachment_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationexternalrecipientRequest.md b/docs/CommunicationexternalrecipientRequest.md index fa73af4a3..091d1be2f 100644 --- a/docs/CommunicationexternalrecipientRequest.md +++ b/docs/CommunicationexternalrecipientRequest.md @@ -27,7 +27,7 @@ print(CommunicationexternalrecipientRequest.to_json()) # convert the object into a dict communicationexternalrecipient_request_dict = communicationexternalrecipient_request_instance.to_dict() # create an instance of CommunicationexternalrecipientRequest from a dict -communicationexternalrecipient_request_form_dict = communicationexternalrecipient_request.from_dict(communicationexternalrecipient_request_dict) +communicationexternalrecipient_request_from_dict = CommunicationexternalrecipientRequest.from_dict(communicationexternalrecipient_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationexternalrecipientRequestCompound.md b/docs/CommunicationexternalrecipientRequestCompound.md index 1d90bd0e5..3ba96c360 100644 --- a/docs/CommunicationexternalrecipientRequestCompound.md +++ b/docs/CommunicationexternalrecipientRequestCompound.md @@ -27,7 +27,7 @@ print(CommunicationexternalrecipientRequestCompound.to_json()) # convert the object into a dict communicationexternalrecipient_request_compound_dict = communicationexternalrecipient_request_compound_instance.to_dict() # create an instance of CommunicationexternalrecipientRequestCompound from a dict -communicationexternalrecipient_request_compound_form_dict = communicationexternalrecipient_request_compound.from_dict(communicationexternalrecipient_request_compound_dict) +communicationexternalrecipient_request_compound_from_dict = CommunicationexternalrecipientRequestCompound.from_dict(communicationexternalrecipient_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationrecipientRequest.md b/docs/CommunicationrecipientRequest.md index 60f66df19..db9d99950 100644 --- a/docs/CommunicationrecipientRequest.md +++ b/docs/CommunicationrecipientRequest.md @@ -37,7 +37,7 @@ print(CommunicationrecipientRequest.to_json()) # convert the object into a dict communicationrecipient_request_dict = communicationrecipient_request_instance.to_dict() # create an instance of CommunicationrecipientRequest from a dict -communicationrecipient_request_form_dict = communicationrecipient_request.from_dict(communicationrecipient_request_dict) +communicationrecipient_request_from_dict = CommunicationrecipientRequest.from_dict(communicationrecipient_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationrecipientRequestCompound.md b/docs/CommunicationrecipientRequestCompound.md index 69060ea57..13dc80783 100644 --- a/docs/CommunicationrecipientRequestCompound.md +++ b/docs/CommunicationrecipientRequestCompound.md @@ -37,7 +37,7 @@ print(CommunicationrecipientRequestCompound.to_json()) # convert the object into a dict communicationrecipient_request_compound_dict = communicationrecipient_request_compound_instance.to_dict() # create an instance of CommunicationrecipientRequestCompound from a dict -communicationrecipient_request_compound_form_dict = communicationrecipient_request_compound.from_dict(communicationrecipient_request_compound_dict) +communicationrecipient_request_compound_from_dict = CommunicationrecipientRequestCompound.from_dict(communicationrecipient_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationreferenceRequest.md b/docs/CommunicationreferenceRequest.md index d0642a60a..1224c9d70 100644 --- a/docs/CommunicationreferenceRequest.md +++ b/docs/CommunicationreferenceRequest.md @@ -31,7 +31,7 @@ print(CommunicationreferenceRequest.to_json()) # convert the object into a dict communicationreference_request_dict = communicationreference_request_instance.to_dict() # create an instance of CommunicationreferenceRequest from a dict -communicationreference_request_form_dict = communicationreference_request.from_dict(communicationreference_request_dict) +communicationreference_request_from_dict = CommunicationreferenceRequest.from_dict(communicationreference_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CommunicationreferenceRequestCompound.md b/docs/CommunicationreferenceRequestCompound.md index 55780d34c..c8ff1509e 100644 --- a/docs/CommunicationreferenceRequestCompound.md +++ b/docs/CommunicationreferenceRequestCompound.md @@ -31,7 +31,7 @@ print(CommunicationreferenceRequestCompound.to_json()) # convert the object into a dict communicationreference_request_compound_dict = communicationreference_request_compound_instance.to_dict() # create an instance of CommunicationreferenceRequestCompound from a dict -communicationreference_request_compound_form_dict = communicationreference_request_compound.from_dict(communicationreference_request_compound_dict) +communicationreference_request_compound_from_dict = CommunicationreferenceRequestCompound.from_dict(communicationreference_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CompanyAutocompleteElementResponse.md b/docs/CompanyAutocompleteElementResponse.md index 860a27876..7f0a641bf 100644 --- a/docs/CompanyAutocompleteElementResponse.md +++ b/docs/CompanyAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(CompanyAutocompleteElementResponse.to_json()) # convert the object into a dict company_autocomplete_element_response_dict = company_autocomplete_element_response_instance.to_dict() # create an instance of CompanyAutocompleteElementResponse from a dict -company_autocomplete_element_response_form_dict = company_autocomplete_element_response.from_dict(company_autocomplete_element_response_dict) +company_autocomplete_element_response_from_dict = CompanyAutocompleteElementResponse.from_dict(company_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CompanyGetAutocompleteV2Response.md b/docs/CompanyGetAutocompleteV2Response.md index e988cad92..c82860ba4 100644 --- a/docs/CompanyGetAutocompleteV2Response.md +++ b/docs/CompanyGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(CompanyGetAutocompleteV2Response.to_json()) # convert the object into a dict company_get_autocomplete_v2_response_dict = company_get_autocomplete_v2_response_instance.to_dict() # create an instance of CompanyGetAutocompleteV2Response from a dict -company_get_autocomplete_v2_response_form_dict = company_get_autocomplete_v2_response.from_dict(company_get_autocomplete_v2_response_dict) +company_get_autocomplete_v2_response_from_dict = CompanyGetAutocompleteV2Response.from_dict(company_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CompanyGetAutocompleteV2ResponseMPayload.md b/docs/CompanyGetAutocompleteV2ResponseMPayload.md index 6c04557be..c20ad42de 100644 --- a/docs/CompanyGetAutocompleteV2ResponseMPayload.md +++ b/docs/CompanyGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(CompanyGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict company_get_autocomplete_v2_response_m_payload_dict = company_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of CompanyGetAutocompleteV2ResponseMPayload from a dict -company_get_autocomplete_v2_response_m_payload_form_dict = company_get_autocomplete_v2_response_m_payload.from_dict(company_get_autocomplete_v2_response_m_payload_dict) +company_get_autocomplete_v2_response_m_payload_from_dict = CompanyGetAutocompleteV2ResponseMPayload.from_dict(company_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ComputedECommunicationDirection.md b/docs/ComputedECommunicationDirection.md index 7dfe1a68c..3b4e8a3de 100644 --- a/docs/ComputedECommunicationDirection.md +++ b/docs/ComputedECommunicationDirection.md @@ -2,10 +2,11 @@ The direction of the Communication -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `OUTBOUND` (value: `'Outbound'`) + +* `INBOUND` (value: `'Inbound'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ComputedEEzsigndocumentSteptype.md b/docs/ComputedEEzsigndocumentSteptype.md index 06baa9662..05eabb9d5 100644 --- a/docs/ComputedEEzsigndocumentSteptype.md +++ b/docs/ComputedEEzsigndocumentSteptype.md @@ -2,10 +2,13 @@ Indicates whether the current step is a form or signatures. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `FORM` (value: `'Form'`) + +* `SIGN` (value: `'Sign'`) + +* `NONE` (value: `'None'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ComputedEEzsignfolderAccess.md b/docs/ComputedEEzsignfolderAccess.md new file mode 100644 index 000000000..d9dc72133 --- /dev/null +++ b/docs/ComputedEEzsignfolderAccess.md @@ -0,0 +1,17 @@ +# ComputedEEzsignfolderAccess + +Indicates the user's access level to this folder. + +## Enum + +* `SIGNER` (value: `'Signer'`) + +* `READ` (value: `'Read'`) + +* `MODIFY` (value: `'Modify'`) + +* `FULL` (value: `'Full'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContactRequest.md b/docs/ContactRequest.md index 033dcbc9a..5aa41cd65 100644 --- a/docs/ContactRequest.md +++ b/docs/ContactRequest.md @@ -28,7 +28,7 @@ print(ContactRequest.to_json()) # convert the object into a dict contact_request_dict = contact_request_instance.to_dict() # create an instance of ContactRequest from a dict -contact_request_form_dict = contact_request.from_dict(contact_request_dict) +contact_request_from_dict = ContactRequest.from_dict(contact_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ContactRequestCompound.md b/docs/ContactRequestCompound.md index 8101988c8..b75644f6a 100644 --- a/docs/ContactRequestCompound.md +++ b/docs/ContactRequestCompound.md @@ -29,7 +29,7 @@ print(ContactRequestCompound.to_json()) # convert the object into a dict contact_request_compound_dict = contact_request_compound_instance.to_dict() # create an instance of ContactRequestCompound from a dict -contact_request_compound_form_dict = contact_request_compound.from_dict(contact_request_compound_dict) +contact_request_compound_from_dict = ContactRequestCompound.from_dict(contact_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ContactRequestCompoundV2.md b/docs/ContactRequestCompoundV2.md new file mode 100644 index 000000000..2d9a58274 --- /dev/null +++ b/docs/ContactRequestCompoundV2.md @@ -0,0 +1,40 @@ +# ContactRequestCompoundV2 + +A Contact Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fki_contacttitle_id** | **int** | The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)| | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**e_contact_type** | [**FieldEContactType**](FieldEContactType.md) | | +**s_contact_firstname** | **str** | The First name of the contact | +**s_contact_lastname** | **str** | The Last name of the contact | +**s_contact_company** | **str** | The Company name of the contact | [optional] +**dt_contact_birthdate** | **str** | The Birth Date of the contact | [optional] +**s_contact_occupation** | **str** | The occupation of the Contact | [optional] +**t_contact_note** | **str** | The note of the Contact | [optional] +**b_contact_isactive** | **bool** | Whether the contact is active or not | [optional] +**obj_contactinformations** | [**ContactinformationsRequestCompoundV2**](ContactinformationsRequestCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.contact_request_compound_v2 import ContactRequestCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of ContactRequestCompoundV2 from a JSON string +contact_request_compound_v2_instance = ContactRequestCompoundV2.from_json(json) +# print the JSON string representation of the object +print(ContactRequestCompoundV2.to_json()) + +# convert the object into a dict +contact_request_compound_v2_dict = contact_request_compound_v2_instance.to_dict() +# create an instance of ContactRequestCompoundV2 from a dict +contact_request_compound_v2_from_dict = ContactRequestCompoundV2.from_dict(contact_request_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContactRequestV2.md b/docs/ContactRequestV2.md new file mode 100644 index 000000000..1b084923b --- /dev/null +++ b/docs/ContactRequestV2.md @@ -0,0 +1,40 @@ +# ContactRequestV2 + +A Contact Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fki_contacttitle_id** | **int** | The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)| | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**e_contact_type** | [**FieldEContactType**](FieldEContactType.md) | | +**s_contact_firstname** | **str** | The First name of the contact | +**s_contact_lastname** | **str** | The Last name of the contact | +**s_contact_company** | **str** | The Company name of the contact | [optional] +**dt_contact_birthdate** | **str** | The Birth Date of the contact | [optional] +**s_contact_occupation** | **str** | The occupation of the Contact | [optional] +**t_contact_note** | **str** | The note of the Contact | [optional] +**b_contact_isactive** | **bool** | Whether the contact is active or not | [optional] +**obj_contactinformations** | [**ContactinformationsRequestCompound**](ContactinformationsRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.contact_request_v2 import ContactRequestV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of ContactRequestV2 from a JSON string +contact_request_v2_instance = ContactRequestV2.from_json(json) +# print the JSON string representation of the object +print(ContactRequestV2.to_json()) + +# convert the object into a dict +contact_request_v2_dict = contact_request_v2_instance.to_dict() +# create an instance of ContactRequestV2 from a dict +contact_request_v2_from_dict = ContactRequestV2.from_dict(contact_request_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContactResponse.md b/docs/ContactResponse.md new file mode 100644 index 000000000..ea6197999 --- /dev/null +++ b/docs/ContactResponse.md @@ -0,0 +1,42 @@ +# ContactResponse + +A Contact Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_contact_id** | **int** | The unique ID of the Contact | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_contacttitle_id** | **int** | The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)| | +**fki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**dt_contact_birthdate** | **str** | The Birth Date of the contact | [optional] +**e_contact_type** | [**FieldEContactType**](FieldEContactType.md) | | +**s_contact_firstname** | **str** | The First name of the contact | +**s_contact_lastname** | **str** | The Last name of the contact | +**s_contact_company** | **str** | The Company name of the contact | [optional] +**s_contact_occupation** | **str** | The occupation of the Contact | [optional] +**t_contact_note** | **str** | The note of the Contact | [optional] +**b_contact_isactive** | **bool** | Whether the contact is active or not | +**obj_contactinformations** | [**ContactinformationsResponseCompound**](ContactinformationsResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.contact_response import ContactResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of ContactResponse from a JSON string +contact_response_instance = ContactResponse.from_json(json) +# print the JSON string representation of the object +print(ContactResponse.to_json()) + +# convert the object into a dict +contact_response_dict = contact_response_instance.to_dict() +# create an instance of ContactResponse from a dict +contact_response_from_dict = ContactResponse.from_dict(contact_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContactResponseCompound.md b/docs/ContactResponseCompound.md new file mode 100644 index 000000000..723fc50c5 --- /dev/null +++ b/docs/ContactResponseCompound.md @@ -0,0 +1,42 @@ +# ContactResponseCompound + +A Contact Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_contact_id** | **int** | The unique ID of the Contact | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_contacttitle_id** | **int** | The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)| | +**fki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**dt_contact_birthdate** | **str** | The Birth Date of the contact | [optional] +**e_contact_type** | [**FieldEContactType**](FieldEContactType.md) | | +**s_contact_firstname** | **str** | The First name of the contact | +**s_contact_lastname** | **str** | The Last name of the contact | +**s_contact_company** | **str** | The Company name of the contact | [optional] +**s_contact_occupation** | **str** | The occupation of the Contact | [optional] +**t_contact_note** | **str** | The note of the Contact | [optional] +**b_contact_isactive** | **bool** | Whether the contact is active or not | +**obj_contactinformations** | [**ContactinformationsResponseCompound**](ContactinformationsResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.contact_response_compound import ContactResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of ContactResponseCompound from a JSON string +contact_response_compound_instance = ContactResponseCompound.from_json(json) +# print the JSON string representation of the object +print(ContactResponseCompound.to_json()) + +# convert the object into a dict +contact_response_compound_dict = contact_response_compound_instance.to_dict() +# create an instance of ContactResponseCompound from a dict +contact_response_compound_from_dict = ContactResponseCompound.from_dict(contact_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContactinformationsRequest.md b/docs/ContactinformationsRequest.md index 39df7e5fe..50983f3ce 100644 --- a/docs/ContactinformationsRequest.md +++ b/docs/ContactinformationsRequest.md @@ -26,7 +26,7 @@ print(ContactinformationsRequest.to_json()) # convert the object into a dict contactinformations_request_dict = contactinformations_request_instance.to_dict() # create an instance of ContactinformationsRequest from a dict -contactinformations_request_form_dict = contactinformations_request.from_dict(contactinformations_request_dict) +contactinformations_request_from_dict = ContactinformationsRequest.from_dict(contactinformations_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ContactinformationsRequestCompound.md b/docs/ContactinformationsRequestCompound.md index fa6ab2202..13f3caba1 100644 --- a/docs/ContactinformationsRequestCompound.md +++ b/docs/ContactinformationsRequestCompound.md @@ -30,7 +30,7 @@ print(ContactinformationsRequestCompound.to_json()) # convert the object into a dict contactinformations_request_compound_dict = contactinformations_request_compound_instance.to_dict() # create an instance of ContactinformationsRequestCompound from a dict -contactinformations_request_compound_form_dict = contactinformations_request_compound.from_dict(contactinformations_request_compound_dict) +contactinformations_request_compound_from_dict = ContactinformationsRequestCompound.from_dict(contactinformations_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ContactinformationsRequestCompoundV2.md b/docs/ContactinformationsRequestCompoundV2.md new file mode 100644 index 000000000..b08433b7f --- /dev/null +++ b/docs/ContactinformationsRequestCompoundV2.md @@ -0,0 +1,38 @@ +# ContactinformationsRequestCompoundV2 + +A Contactinformations Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**e_contactinformations_type** | [**FieldEContactinformationsType**](FieldEContactinformationsType.md) | | +**i_address_default** | **int** | The index in the a_objAddress array (zero based index) representing the Address object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_phone_default** | **int** | The index in the a_objPhone array (zero based index) representing the Phone object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_email_default** | **int** | The index in the a_objEmail array (zero based index) representing the Email object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_website_default** | **int** | The index in the a_objWebsite array (zero based index) representing the Website object that should become the default one. You can leave the value to 0 if the array is empty. | +**a_obj_address** | [**List[AddressRequestCompound]**](AddressRequestCompound.md) | | +**a_obj_phone** | [**List[PhoneRequestCompound]**](PhoneRequestCompound.md) | | +**a_obj_email** | [**List[EmailRequestCompound]**](EmailRequestCompound.md) | | +**a_obj_website** | [**List[WebsiteRequestCompound]**](WebsiteRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.contactinformations_request_compound_v2 import ContactinformationsRequestCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of ContactinformationsRequestCompoundV2 from a JSON string +contactinformations_request_compound_v2_instance = ContactinformationsRequestCompoundV2.from_json(json) +# print the JSON string representation of the object +print(ContactinformationsRequestCompoundV2.to_json()) + +# convert the object into a dict +contactinformations_request_compound_v2_dict = contactinformations_request_compound_v2_instance.to_dict() +# create an instance of ContactinformationsRequestCompoundV2 from a dict +contactinformations_request_compound_v2_from_dict = ContactinformationsRequestCompoundV2.from_dict(contactinformations_request_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContactinformationsRequestV2.md b/docs/ContactinformationsRequestV2.md new file mode 100644 index 000000000..09aa913a3 --- /dev/null +++ b/docs/ContactinformationsRequestV2.md @@ -0,0 +1,34 @@ +# ContactinformationsRequestV2 + +A Contactinformations Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**e_contactinformations_type** | [**FieldEContactinformationsType**](FieldEContactinformationsType.md) | | +**i_address_default** | **int** | The index in the a_objAddress array (zero based index) representing the Address object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_phone_default** | **int** | The index in the a_objPhone array (zero based index) representing the Phone object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_email_default** | **int** | The index in the a_objEmail array (zero based index) representing the Email object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_website_default** | **int** | The index in the a_objWebsite array (zero based index) representing the Website object that should become the default one. You can leave the value to 0 if the array is empty. | + +## Example + +```python +from eZmaxApi.models.contactinformations_request_v2 import ContactinformationsRequestV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of ContactinformationsRequestV2 from a JSON string +contactinformations_request_v2_instance = ContactinformationsRequestV2.from_json(json) +# print the JSON string representation of the object +print(ContactinformationsRequestV2.to_json()) + +# convert the object into a dict +contactinformations_request_v2_dict = contactinformations_request_v2_instance.to_dict() +# create an instance of ContactinformationsRequestV2 from a dict +contactinformations_request_v2_from_dict = ContactinformationsRequestV2.from_dict(contactinformations_request_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContactinformationsResponse.md b/docs/ContactinformationsResponse.md new file mode 100644 index 000000000..ae592202d --- /dev/null +++ b/docs/ContactinformationsResponse.md @@ -0,0 +1,40 @@ +# ContactinformationsResponse + +A Contactinformations Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**fki_address_id_default** | **int** | The unique ID of the Address | [optional] +**fki_phone_id_default** | **int** | The unique ID of the Phone. | [optional] +**fki_email_id_default** | **int** | The unique ID of the Email | [optional] +**fki_website_id_default** | **int** | The unique ID of the Website Default | [optional] +**e_contactinformations_type** | [**FieldEContactinformationsType**](FieldEContactinformationsType.md) | | +**s_contactinformations_url** | **str** | The url of the Contactinformations | [optional] +**obj_address_default** | [**AddressResponseCompound**](AddressResponseCompound.md) | | [optional] +**obj_phone_default** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] +**obj_email_default** | [**EmailResponseCompound**](EmailResponseCompound.md) | | [optional] +**obj_website_default** | [**WebsiteResponseCompound**](WebsiteResponseCompound.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.contactinformations_response import ContactinformationsResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of ContactinformationsResponse from a JSON string +contactinformations_response_instance = ContactinformationsResponse.from_json(json) +# print the JSON string representation of the object +print(ContactinformationsResponse.to_json()) + +# convert the object into a dict +contactinformations_response_dict = contactinformations_response_instance.to_dict() +# create an instance of ContactinformationsResponse from a dict +contactinformations_response_from_dict = ContactinformationsResponse.from_dict(contactinformations_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContactinformationsResponseCompound.md b/docs/ContactinformationsResponseCompound.md new file mode 100644 index 000000000..45be41392 --- /dev/null +++ b/docs/ContactinformationsResponseCompound.md @@ -0,0 +1,44 @@ +# ContactinformationsResponseCompound + +A Contactinformations Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**fki_address_id_default** | **int** | The unique ID of the Address | [optional] +**fki_phone_id_default** | **int** | The unique ID of the Phone. | [optional] +**fki_email_id_default** | **int** | The unique ID of the Email | [optional] +**fki_website_id_default** | **int** | The unique ID of the Website Default | [optional] +**e_contactinformations_type** | [**FieldEContactinformationsType**](FieldEContactinformationsType.md) | | +**s_contactinformations_url** | **str** | The url of the Contactinformations | [optional] +**obj_address_default** | [**AddressResponseCompound**](AddressResponseCompound.md) | | [optional] +**obj_phone_default** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] +**obj_email_default** | [**EmailResponseCompound**](EmailResponseCompound.md) | | [optional] +**obj_website_default** | [**WebsiteResponseCompound**](WebsiteResponseCompound.md) | | [optional] +**a_obj_address** | [**List[AddressResponseCompound]**](AddressResponseCompound.md) | | +**a_obj_phone** | [**List[PhoneResponseCompound]**](PhoneResponseCompound.md) | | +**a_obj_email** | [**List[EmailResponseCompound]**](EmailResponseCompound.md) | | +**a_obj_website** | [**List[WebsiteResponseCompound]**](WebsiteResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.contactinformations_response_compound import ContactinformationsResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of ContactinformationsResponseCompound from a JSON string +contactinformations_response_compound_instance = ContactinformationsResponseCompound.from_json(json) +# print the JSON string representation of the object +print(ContactinformationsResponseCompound.to_json()) + +# convert the object into a dict +contactinformations_response_compound_dict = contactinformations_response_compound_instance.to_dict() +# create an instance of ContactinformationsResponseCompound from a dict +contactinformations_response_compound_from_dict = ContactinformationsResponseCompound.from_dict(contactinformations_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContacttitleAutocompleteElementResponse.md b/docs/ContacttitleAutocompleteElementResponse.md new file mode 100644 index 000000000..5ce91847a --- /dev/null +++ b/docs/ContacttitleAutocompleteElementResponse.md @@ -0,0 +1,31 @@ +# ContacttitleAutocompleteElementResponse + +A Contacttitle AutocompleteElement Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_contacttitle_id** | **int** | The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)| | +**s_contacttitle_name_x** | **str** | The name of the Contacttitle in the language of the requester | + +## Example + +```python +from eZmaxApi.models.contacttitle_autocomplete_element_response import ContacttitleAutocompleteElementResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of ContacttitleAutocompleteElementResponse from a JSON string +contacttitle_autocomplete_element_response_instance = ContacttitleAutocompleteElementResponse.from_json(json) +# print the JSON string representation of the object +print(ContacttitleAutocompleteElementResponse.to_json()) + +# convert the object into a dict +contacttitle_autocomplete_element_response_dict = contacttitle_autocomplete_element_response_instance.to_dict() +# create an instance of ContacttitleAutocompleteElementResponse from a dict +contacttitle_autocomplete_element_response_from_dict = ContacttitleAutocompleteElementResponse.from_dict(contacttitle_autocomplete_element_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContacttitleGetAutocompleteV2Response.md b/docs/ContacttitleGetAutocompleteV2Response.md new file mode 100644 index 000000000..67a76336f --- /dev/null +++ b/docs/ContacttitleGetAutocompleteV2Response.md @@ -0,0 +1,32 @@ +# ContacttitleGetAutocompleteV2Response + +Response for GET /2/object/contacttitle/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**ContacttitleGetAutocompleteV2ResponseMPayload**](ContacttitleGetAutocompleteV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response import ContacttitleGetAutocompleteV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of ContacttitleGetAutocompleteV2Response from a JSON string +contacttitle_get_autocomplete_v2_response_instance = ContacttitleGetAutocompleteV2Response.from_json(json) +# print the JSON string representation of the object +print(ContacttitleGetAutocompleteV2Response.to_json()) + +# convert the object into a dict +contacttitle_get_autocomplete_v2_response_dict = contacttitle_get_autocomplete_v2_response_instance.to_dict() +# create an instance of ContacttitleGetAutocompleteV2Response from a dict +contacttitle_get_autocomplete_v2_response_from_dict = ContacttitleGetAutocompleteV2Response.from_dict(contacttitle_get_autocomplete_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ContacttitleGetAutocompleteV2ResponseMPayload.md b/docs/ContacttitleGetAutocompleteV2ResponseMPayload.md new file mode 100644 index 000000000..a6c389e0c --- /dev/null +++ b/docs/ContacttitleGetAutocompleteV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# ContacttitleGetAutocompleteV2ResponseMPayload + +Payload for POST /2/object/contacttitle/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_contacttitle** | [**List[ContacttitleAutocompleteElementResponse]**](ContacttitleAutocompleteElementResponse.md) | An array of Contacttitle autocomplete element response. | + +## Example + +```python +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response_m_payload import ContacttitleGetAutocompleteV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of ContacttitleGetAutocompleteV2ResponseMPayload from a JSON string +contacttitle_get_autocomplete_v2_response_m_payload_instance = ContacttitleGetAutocompleteV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(ContacttitleGetAutocompleteV2ResponseMPayload.to_json()) + +# convert the object into a dict +contacttitle_get_autocomplete_v2_response_m_payload_dict = contacttitle_get_autocomplete_v2_response_m_payload_instance.to_dict() +# create an instance of ContacttitleGetAutocompleteV2ResponseMPayload from a dict +contacttitle_get_autocomplete_v2_response_m_payload_from_dict = ContacttitleGetAutocompleteV2ResponseMPayload.from_dict(contacttitle_get_autocomplete_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CorsCreateObjectV1Request.md b/docs/CorsCreateObjectV1Request.md index acfe632b5..a49c30396 100644 --- a/docs/CorsCreateObjectV1Request.md +++ b/docs/CorsCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(CorsCreateObjectV1Request.to_json()) # convert the object into a dict cors_create_object_v1_request_dict = cors_create_object_v1_request_instance.to_dict() # create an instance of CorsCreateObjectV1Request from a dict -cors_create_object_v1_request_form_dict = cors_create_object_v1_request.from_dict(cors_create_object_v1_request_dict) +cors_create_object_v1_request_from_dict = CorsCreateObjectV1Request.from_dict(cors_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsCreateObjectV1Response.md b/docs/CorsCreateObjectV1Response.md index 75c714406..eef43a5be 100644 --- a/docs/CorsCreateObjectV1Response.md +++ b/docs/CorsCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(CorsCreateObjectV1Response.to_json()) # convert the object into a dict cors_create_object_v1_response_dict = cors_create_object_v1_response_instance.to_dict() # create an instance of CorsCreateObjectV1Response from a dict -cors_create_object_v1_response_form_dict = cors_create_object_v1_response.from_dict(cors_create_object_v1_response_dict) +cors_create_object_v1_response_from_dict = CorsCreateObjectV1Response.from_dict(cors_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsCreateObjectV1ResponseMPayload.md b/docs/CorsCreateObjectV1ResponseMPayload.md index ddbff86dc..00390359c 100644 --- a/docs/CorsCreateObjectV1ResponseMPayload.md +++ b/docs/CorsCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(CorsCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict cors_create_object_v1_response_m_payload_dict = cors_create_object_v1_response_m_payload_instance.to_dict() # create an instance of CorsCreateObjectV1ResponseMPayload from a dict -cors_create_object_v1_response_m_payload_form_dict = cors_create_object_v1_response_m_payload.from_dict(cors_create_object_v1_response_m_payload_dict) +cors_create_object_v1_response_m_payload_from_dict = CorsCreateObjectV1ResponseMPayload.from_dict(cors_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsDeleteObjectV1Response.md b/docs/CorsDeleteObjectV1Response.md index 0a4f848c2..85fb95ec9 100644 --- a/docs/CorsDeleteObjectV1Response.md +++ b/docs/CorsDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(CorsDeleteObjectV1Response.to_json()) # convert the object into a dict cors_delete_object_v1_response_dict = cors_delete_object_v1_response_instance.to_dict() # create an instance of CorsDeleteObjectV1Response from a dict -cors_delete_object_v1_response_form_dict = cors_delete_object_v1_response.from_dict(cors_delete_object_v1_response_dict) +cors_delete_object_v1_response_from_dict = CorsDeleteObjectV1Response.from_dict(cors_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsEditObjectV1Request.md b/docs/CorsEditObjectV1Request.md index 6e50b8031..20a2addf4 100644 --- a/docs/CorsEditObjectV1Request.md +++ b/docs/CorsEditObjectV1Request.md @@ -23,7 +23,7 @@ print(CorsEditObjectV1Request.to_json()) # convert the object into a dict cors_edit_object_v1_request_dict = cors_edit_object_v1_request_instance.to_dict() # create an instance of CorsEditObjectV1Request from a dict -cors_edit_object_v1_request_form_dict = cors_edit_object_v1_request.from_dict(cors_edit_object_v1_request_dict) +cors_edit_object_v1_request_from_dict = CorsEditObjectV1Request.from_dict(cors_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsEditObjectV1Response.md b/docs/CorsEditObjectV1Response.md index c2882fdc5..6480f6cbf 100644 --- a/docs/CorsEditObjectV1Response.md +++ b/docs/CorsEditObjectV1Response.md @@ -24,7 +24,7 @@ print(CorsEditObjectV1Response.to_json()) # convert the object into a dict cors_edit_object_v1_response_dict = cors_edit_object_v1_response_instance.to_dict() # create an instance of CorsEditObjectV1Response from a dict -cors_edit_object_v1_response_form_dict = cors_edit_object_v1_response.from_dict(cors_edit_object_v1_response_dict) +cors_edit_object_v1_response_from_dict = CorsEditObjectV1Response.from_dict(cors_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsGetObjectV2Response.md b/docs/CorsGetObjectV2Response.md index 015bbdc74..3978a7fc3 100644 --- a/docs/CorsGetObjectV2Response.md +++ b/docs/CorsGetObjectV2Response.md @@ -25,7 +25,7 @@ print(CorsGetObjectV2Response.to_json()) # convert the object into a dict cors_get_object_v2_response_dict = cors_get_object_v2_response_instance.to_dict() # create an instance of CorsGetObjectV2Response from a dict -cors_get_object_v2_response_form_dict = cors_get_object_v2_response.from_dict(cors_get_object_v2_response_dict) +cors_get_object_v2_response_from_dict = CorsGetObjectV2Response.from_dict(cors_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsGetObjectV2ResponseMPayload.md b/docs/CorsGetObjectV2ResponseMPayload.md index 199fc9dac..5492f03fa 100644 --- a/docs/CorsGetObjectV2ResponseMPayload.md +++ b/docs/CorsGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(CorsGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict cors_get_object_v2_response_m_payload_dict = cors_get_object_v2_response_m_payload_instance.to_dict() # create an instance of CorsGetObjectV2ResponseMPayload from a dict -cors_get_object_v2_response_m_payload_form_dict = cors_get_object_v2_response_m_payload.from_dict(cors_get_object_v2_response_m_payload_dict) +cors_get_object_v2_response_m_payload_from_dict = CorsGetObjectV2ResponseMPayload.from_dict(cors_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsRequest.md b/docs/CorsRequest.md index 166891f0c..72ba10ea1 100644 --- a/docs/CorsRequest.md +++ b/docs/CorsRequest.md @@ -25,7 +25,7 @@ print(CorsRequest.to_json()) # convert the object into a dict cors_request_dict = cors_request_instance.to_dict() # create an instance of CorsRequest from a dict -cors_request_form_dict = cors_request.from_dict(cors_request_dict) +cors_request_from_dict = CorsRequest.from_dict(cors_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsRequestCompound.md b/docs/CorsRequestCompound.md index 4e6f28fbc..ce4cb3835 100644 --- a/docs/CorsRequestCompound.md +++ b/docs/CorsRequestCompound.md @@ -25,7 +25,7 @@ print(CorsRequestCompound.to_json()) # convert the object into a dict cors_request_compound_dict = cors_request_compound_instance.to_dict() # create an instance of CorsRequestCompound from a dict -cors_request_compound_form_dict = cors_request_compound.from_dict(cors_request_compound_dict) +cors_request_compound_from_dict = CorsRequestCompound.from_dict(cors_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsResponse.md b/docs/CorsResponse.md index a2ad5dccd..5ac78f17e 100644 --- a/docs/CorsResponse.md +++ b/docs/CorsResponse.md @@ -25,7 +25,7 @@ print(CorsResponse.to_json()) # convert the object into a dict cors_response_dict = cors_response_instance.to_dict() # create an instance of CorsResponse from a dict -cors_response_form_dict = cors_response.from_dict(cors_response_dict) +cors_response_from_dict = CorsResponse.from_dict(cors_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CorsResponseCompound.md b/docs/CorsResponseCompound.md index d90c90fb8..01eca7a54 100644 --- a/docs/CorsResponseCompound.md +++ b/docs/CorsResponseCompound.md @@ -25,7 +25,7 @@ print(CorsResponseCompound.to_json()) # convert the object into a dict cors_response_compound_dict = cors_response_compound_instance.to_dict() # create an instance of CorsResponseCompound from a dict -cors_response_compound_form_dict = cors_response_compound.from_dict(cors_response_compound_dict) +cors_response_compound_from_dict = CorsResponseCompound.from_dict(cors_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CountryAutocompleteElementResponse.md b/docs/CountryAutocompleteElementResponse.md index f8d9d0691..2ca01cd89 100644 --- a/docs/CountryAutocompleteElementResponse.md +++ b/docs/CountryAutocompleteElementResponse.md @@ -26,7 +26,7 @@ print(CountryAutocompleteElementResponse.to_json()) # convert the object into a dict country_autocomplete_element_response_dict = country_autocomplete_element_response_instance.to_dict() # create an instance of CountryAutocompleteElementResponse from a dict -country_autocomplete_element_response_form_dict = country_autocomplete_element_response.from_dict(country_autocomplete_element_response_dict) +country_autocomplete_element_response_from_dict = CountryAutocompleteElementResponse.from_dict(country_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CountryGetAutocompleteV2Response.md b/docs/CountryGetAutocompleteV2Response.md index f3b7dd588..b950bf94e 100644 --- a/docs/CountryGetAutocompleteV2Response.md +++ b/docs/CountryGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(CountryGetAutocompleteV2Response.to_json()) # convert the object into a dict country_get_autocomplete_v2_response_dict = country_get_autocomplete_v2_response_instance.to_dict() # create an instance of CountryGetAutocompleteV2Response from a dict -country_get_autocomplete_v2_response_form_dict = country_get_autocomplete_v2_response.from_dict(country_get_autocomplete_v2_response_dict) +country_get_autocomplete_v2_response_from_dict = CountryGetAutocompleteV2Response.from_dict(country_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CountryGetAutocompleteV2ResponseMPayload.md b/docs/CountryGetAutocompleteV2ResponseMPayload.md index 659713b23..c22b77b16 100644 --- a/docs/CountryGetAutocompleteV2ResponseMPayload.md +++ b/docs/CountryGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(CountryGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict country_get_autocomplete_v2_response_m_payload_dict = country_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of CountryGetAutocompleteV2ResponseMPayload from a dict -country_get_autocomplete_v2_response_m_payload_form_dict = country_get_autocomplete_v2_response_m_payload.from_dict(country_get_autocomplete_v2_response_m_payload_dict) +country_get_autocomplete_v2_response_m_payload_from_dict = CountryGetAutocompleteV2ResponseMPayload.from_dict(country_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientAutocompleteElementResponse.md b/docs/CreditcardclientAutocompleteElementResponse.md index 38383acd9..4f62e08bb 100644 --- a/docs/CreditcardclientAutocompleteElementResponse.md +++ b/docs/CreditcardclientAutocompleteElementResponse.md @@ -8,7 +8,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_creditcardclient_id** | **int** | The unique ID of the Creditcardclient | **s_creditcardclient_description** | **str** | The description of the Creditcardclient | -**b_creditcardclient_isactive** | **bool** | Whether the creditcardclient is active or not | ## Example @@ -25,7 +24,7 @@ print(CreditcardclientAutocompleteElementResponse.to_json()) # convert the object into a dict creditcardclient_autocomplete_element_response_dict = creditcardclient_autocomplete_element_response_instance.to_dict() # create an instance of CreditcardclientAutocompleteElementResponse from a dict -creditcardclient_autocomplete_element_response_form_dict = creditcardclient_autocomplete_element_response.from_dict(creditcardclient_autocomplete_element_response_dict) +creditcardclient_autocomplete_element_response_from_dict = CreditcardclientAutocompleteElementResponse.from_dict(creditcardclient_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientCreateObjectV1Request.md b/docs/CreditcardclientCreateObjectV1Request.md index 0f6af0953..b15cbcbbe 100644 --- a/docs/CreditcardclientCreateObjectV1Request.md +++ b/docs/CreditcardclientCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(CreditcardclientCreateObjectV1Request.to_json()) # convert the object into a dict creditcardclient_create_object_v1_request_dict = creditcardclient_create_object_v1_request_instance.to_dict() # create an instance of CreditcardclientCreateObjectV1Request from a dict -creditcardclient_create_object_v1_request_form_dict = creditcardclient_create_object_v1_request.from_dict(creditcardclient_create_object_v1_request_dict) +creditcardclient_create_object_v1_request_from_dict = CreditcardclientCreateObjectV1Request.from_dict(creditcardclient_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientCreateObjectV1Response.md b/docs/CreditcardclientCreateObjectV1Response.md index 25bbc6872..000f3e472 100644 --- a/docs/CreditcardclientCreateObjectV1Response.md +++ b/docs/CreditcardclientCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(CreditcardclientCreateObjectV1Response.to_json()) # convert the object into a dict creditcardclient_create_object_v1_response_dict = creditcardclient_create_object_v1_response_instance.to_dict() # create an instance of CreditcardclientCreateObjectV1Response from a dict -creditcardclient_create_object_v1_response_form_dict = creditcardclient_create_object_v1_response.from_dict(creditcardclient_create_object_v1_response_dict) +creditcardclient_create_object_v1_response_from_dict = CreditcardclientCreateObjectV1Response.from_dict(creditcardclient_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientCreateObjectV1ResponseMPayload.md b/docs/CreditcardclientCreateObjectV1ResponseMPayload.md index 6a3e16ba7..667364d19 100644 --- a/docs/CreditcardclientCreateObjectV1ResponseMPayload.md +++ b/docs/CreditcardclientCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(CreditcardclientCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict creditcardclient_create_object_v1_response_m_payload_dict = creditcardclient_create_object_v1_response_m_payload_instance.to_dict() # create an instance of CreditcardclientCreateObjectV1ResponseMPayload from a dict -creditcardclient_create_object_v1_response_m_payload_form_dict = creditcardclient_create_object_v1_response_m_payload.from_dict(creditcardclient_create_object_v1_response_m_payload_dict) +creditcardclient_create_object_v1_response_m_payload_from_dict = CreditcardclientCreateObjectV1ResponseMPayload.from_dict(creditcardclient_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientDeleteObjectV1Response.md b/docs/CreditcardclientDeleteObjectV1Response.md index d790ad883..d6949da7e 100644 --- a/docs/CreditcardclientDeleteObjectV1Response.md +++ b/docs/CreditcardclientDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(CreditcardclientDeleteObjectV1Response.to_json()) # convert the object into a dict creditcardclient_delete_object_v1_response_dict = creditcardclient_delete_object_v1_response_instance.to_dict() # create an instance of CreditcardclientDeleteObjectV1Response from a dict -creditcardclient_delete_object_v1_response_form_dict = creditcardclient_delete_object_v1_response.from_dict(creditcardclient_delete_object_v1_response_dict) +creditcardclient_delete_object_v1_response_from_dict = CreditcardclientDeleteObjectV1Response.from_dict(creditcardclient_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientEditObjectV1Request.md b/docs/CreditcardclientEditObjectV1Request.md index 0681243bb..29c6fc011 100644 --- a/docs/CreditcardclientEditObjectV1Request.md +++ b/docs/CreditcardclientEditObjectV1Request.md @@ -23,7 +23,7 @@ print(CreditcardclientEditObjectV1Request.to_json()) # convert the object into a dict creditcardclient_edit_object_v1_request_dict = creditcardclient_edit_object_v1_request_instance.to_dict() # create an instance of CreditcardclientEditObjectV1Request from a dict -creditcardclient_edit_object_v1_request_form_dict = creditcardclient_edit_object_v1_request.from_dict(creditcardclient_edit_object_v1_request_dict) +creditcardclient_edit_object_v1_request_from_dict = CreditcardclientEditObjectV1Request.from_dict(creditcardclient_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientEditObjectV1Response.md b/docs/CreditcardclientEditObjectV1Response.md index d243efd19..3c303f985 100644 --- a/docs/CreditcardclientEditObjectV1Response.md +++ b/docs/CreditcardclientEditObjectV1Response.md @@ -24,7 +24,7 @@ print(CreditcardclientEditObjectV1Response.to_json()) # convert the object into a dict creditcardclient_edit_object_v1_response_dict = creditcardclient_edit_object_v1_response_instance.to_dict() # create an instance of CreditcardclientEditObjectV1Response from a dict -creditcardclient_edit_object_v1_response_form_dict = creditcardclient_edit_object_v1_response.from_dict(creditcardclient_edit_object_v1_response_dict) +creditcardclient_edit_object_v1_response_from_dict = CreditcardclientEditObjectV1Response.from_dict(creditcardclient_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientGetAutocompleteV2Response.md b/docs/CreditcardclientGetAutocompleteV2Response.md index 9e33a3d87..51cd416e6 100644 --- a/docs/CreditcardclientGetAutocompleteV2Response.md +++ b/docs/CreditcardclientGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(CreditcardclientGetAutocompleteV2Response.to_json()) # convert the object into a dict creditcardclient_get_autocomplete_v2_response_dict = creditcardclient_get_autocomplete_v2_response_instance.to_dict() # create an instance of CreditcardclientGetAutocompleteV2Response from a dict -creditcardclient_get_autocomplete_v2_response_form_dict = creditcardclient_get_autocomplete_v2_response.from_dict(creditcardclient_get_autocomplete_v2_response_dict) +creditcardclient_get_autocomplete_v2_response_from_dict = CreditcardclientGetAutocompleteV2Response.from_dict(creditcardclient_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientGetAutocompleteV2ResponseMPayload.md b/docs/CreditcardclientGetAutocompleteV2ResponseMPayload.md index f6c289a63..b737080e3 100644 --- a/docs/CreditcardclientGetAutocompleteV2ResponseMPayload.md +++ b/docs/CreditcardclientGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(CreditcardclientGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict creditcardclient_get_autocomplete_v2_response_m_payload_dict = creditcardclient_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of CreditcardclientGetAutocompleteV2ResponseMPayload from a dict -creditcardclient_get_autocomplete_v2_response_m_payload_form_dict = creditcardclient_get_autocomplete_v2_response_m_payload.from_dict(creditcardclient_get_autocomplete_v2_response_m_payload_dict) +creditcardclient_get_autocomplete_v2_response_m_payload_from_dict = CreditcardclientGetAutocompleteV2ResponseMPayload.from_dict(creditcardclient_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientGetListV1Response.md b/docs/CreditcardclientGetListV1Response.md index 8d466974c..579ca0a02 100644 --- a/docs/CreditcardclientGetListV1Response.md +++ b/docs/CreditcardclientGetListV1Response.md @@ -25,7 +25,7 @@ print(CreditcardclientGetListV1Response.to_json()) # convert the object into a dict creditcardclient_get_list_v1_response_dict = creditcardclient_get_list_v1_response_instance.to_dict() # create an instance of CreditcardclientGetListV1Response from a dict -creditcardclient_get_list_v1_response_form_dict = creditcardclient_get_list_v1_response.from_dict(creditcardclient_get_list_v1_response_dict) +creditcardclient_get_list_v1_response_from_dict = CreditcardclientGetListV1Response.from_dict(creditcardclient_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientGetListV1ResponseMPayload.md b/docs/CreditcardclientGetListV1ResponseMPayload.md index 33e56aece..fa666c7f0 100644 --- a/docs/CreditcardclientGetListV1ResponseMPayload.md +++ b/docs/CreditcardclientGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(CreditcardclientGetListV1ResponseMPayload.to_json()) # convert the object into a dict creditcardclient_get_list_v1_response_m_payload_dict = creditcardclient_get_list_v1_response_m_payload_instance.to_dict() # create an instance of CreditcardclientGetListV1ResponseMPayload from a dict -creditcardclient_get_list_v1_response_m_payload_form_dict = creditcardclient_get_list_v1_response_m_payload.from_dict(creditcardclient_get_list_v1_response_m_payload_dict) +creditcardclient_get_list_v1_response_m_payload_from_dict = CreditcardclientGetListV1ResponseMPayload.from_dict(creditcardclient_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientGetObjectV2Response.md b/docs/CreditcardclientGetObjectV2Response.md index cf0c25933..a40b670ce 100644 --- a/docs/CreditcardclientGetObjectV2Response.md +++ b/docs/CreditcardclientGetObjectV2Response.md @@ -25,7 +25,7 @@ print(CreditcardclientGetObjectV2Response.to_json()) # convert the object into a dict creditcardclient_get_object_v2_response_dict = creditcardclient_get_object_v2_response_instance.to_dict() # create an instance of CreditcardclientGetObjectV2Response from a dict -creditcardclient_get_object_v2_response_form_dict = creditcardclient_get_object_v2_response.from_dict(creditcardclient_get_object_v2_response_dict) +creditcardclient_get_object_v2_response_from_dict = CreditcardclientGetObjectV2Response.from_dict(creditcardclient_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientGetObjectV2ResponseMPayload.md b/docs/CreditcardclientGetObjectV2ResponseMPayload.md index cec5abf5b..87ae84630 100644 --- a/docs/CreditcardclientGetObjectV2ResponseMPayload.md +++ b/docs/CreditcardclientGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(CreditcardclientGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict creditcardclient_get_object_v2_response_m_payload_dict = creditcardclient_get_object_v2_response_m_payload_instance.to_dict() # create an instance of CreditcardclientGetObjectV2ResponseMPayload from a dict -creditcardclient_get_object_v2_response_m_payload_form_dict = creditcardclient_get_object_v2_response_m_payload.from_dict(creditcardclient_get_object_v2_response_m_payload_dict) +creditcardclient_get_object_v2_response_m_payload_from_dict = CreditcardclientGetObjectV2ResponseMPayload.from_dict(creditcardclient_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientListElement.md b/docs/CreditcardclientListElement.md index 4a3f47ddb..00fc4d9e2 100644 --- a/docs/CreditcardclientListElement.md +++ b/docs/CreditcardclientListElement.md @@ -8,15 +8,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_creditcardclient_id** | **int** | The unique ID of the Creditcardclient | **fki_creditcarddetail_id** | **int** | The unique ID of the Creditcarddetail | -**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's an relationisdefault | +**fki_creditcardtype_id** | **int** | The unique ID of the Creditcardtype | +**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's the creditcardclient is the default one | **s_creditcardclient_description** | **str** | The description of the Creditcardclient | -**b_creditcardclient_isactive** | **bool** | Whether the creditcardclient is active or not | -**b_creditcardclient_allowedagencypayment** | **bool** | Whether if it's an allowedagencypayment | -**b_creditcardclient_allowedroyallepageprotection** | **bool** | Whether if it's an allowedroyallepageprotection | +**b_creditcardclient_allowedcompanypayment** | **bool** | Whether if it's an allowedagencypayment | **b_creditcardclient_allowedtranquillit** | **bool** | Whether if it's an allowedtranquillit | **i_creditcarddetail_expirationmonth** | **int** | The expirationmonth of the Creditcarddetail | **i_creditcarddetail_expirationyear** | **int** | The expirationyear of the Creditcarddetail | -**s_creditcarddetail_numbermasked** | **str** | The numbermasked of the Creditcarddetail | +**i_creditcarddetail_lastdigits** | **int** | The last digits of the Creditcarddetail | ## Example @@ -33,7 +32,7 @@ print(CreditcardclientListElement.to_json()) # convert the object into a dict creditcardclient_list_element_dict = creditcardclient_list_element_instance.to_dict() # create an instance of CreditcardclientListElement from a dict -creditcardclient_list_element_form_dict = creditcardclient_list_element.from_dict(creditcardclient_list_element_dict) +creditcardclient_list_element_from_dict = CreditcardclientListElement.from_dict(creditcardclient_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientPatchObjectV1Request.md b/docs/CreditcardclientPatchObjectV1Request.md new file mode 100644 index 000000000..8e8d9ee3b --- /dev/null +++ b/docs/CreditcardclientPatchObjectV1Request.md @@ -0,0 +1,30 @@ +# CreditcardclientPatchObjectV1Request + +Request for PATCH /1/object/creditcardclient/{pkiCreditcardclientID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_creditcardclient** | [**CreditcardclientRequestPatch**](CreditcardclientRequestPatch.md) | | + +## Example + +```python +from eZmaxApi.models.creditcardclient_patch_object_v1_request import CreditcardclientPatchObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of CreditcardclientPatchObjectV1Request from a JSON string +creditcardclient_patch_object_v1_request_instance = CreditcardclientPatchObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(CreditcardclientPatchObjectV1Request.to_json()) + +# convert the object into a dict +creditcardclient_patch_object_v1_request_dict = creditcardclient_patch_object_v1_request_instance.to_dict() +# create an instance of CreditcardclientPatchObjectV1Request from a dict +creditcardclient_patch_object_v1_request_from_dict = CreditcardclientPatchObjectV1Request.from_dict(creditcardclient_patch_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreditcardclientPatchObjectV1Response.md b/docs/CreditcardclientPatchObjectV1Response.md new file mode 100644 index 000000000..b01322fc9 --- /dev/null +++ b/docs/CreditcardclientPatchObjectV1Response.md @@ -0,0 +1,31 @@ +# CreditcardclientPatchObjectV1Response + +Response for PATCH /1/object/creditcardclient/{pkiCreditcardclientID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.creditcardclient_patch_object_v1_response import CreditcardclientPatchObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of CreditcardclientPatchObjectV1Response from a JSON string +creditcardclient_patch_object_v1_response_instance = CreditcardclientPatchObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(CreditcardclientPatchObjectV1Response.to_json()) + +# convert the object into a dict +creditcardclient_patch_object_v1_response_dict = creditcardclient_patch_object_v1_response_instance.to_dict() +# create an instance of CreditcardclientPatchObjectV1Response from a dict +creditcardclient_patch_object_v1_response_from_dict = CreditcardclientPatchObjectV1Response.from_dict(creditcardclient_patch_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreditcardclientRequest.md b/docs/CreditcardclientRequest.md index e49ab5d20..4cc294e70 100644 --- a/docs/CreditcardclientRequest.md +++ b/docs/CreditcardclientRequest.md @@ -8,11 +8,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_creditcardclient_id** | **int** | The unique ID of the Creditcardclient | [optional] **fks_creditcardtoken_id** | **str** | The creditcard token identifier | [optional] -**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's an relationisdefault | +**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's the creditcardclient is the default one | **s_creditcardclient_description** | **str** | The description of the Creditcardclient | -**b_creditcardclient_isactive** | **bool** | Whether the creditcardclient is active or not | -**b_creditcardclient_allowedagencypayment** | **bool** | Whether if it's an allowedagencypayment | -**b_creditcardclient_allowedroyallepageprotection** | **bool** | Whether if it's an allowedroyallepageprotection | +**b_creditcardclient_allowedcompanypayment** | **bool** | Whether if it's an allowedagencypayment | +**b_creditcardclient_allowedezsign** | **bool** | Whether if it's an allowedroyallepageprotection | **b_creditcardclient_allowedtranquillit** | **bool** | Whether if it's an allowedtranquillit | **obj_creditcarddetail** | [**CreditcarddetailRequest**](CreditcarddetailRequest.md) | | **s_creditcardclient_cvv** | **str** | The creditcard card CVV | @@ -32,7 +31,7 @@ print(CreditcardclientRequest.to_json()) # convert the object into a dict creditcardclient_request_dict = creditcardclient_request_instance.to_dict() # create an instance of CreditcardclientRequest from a dict -creditcardclient_request_form_dict = creditcardclient_request.from_dict(creditcardclient_request_dict) +creditcardclient_request_from_dict = CreditcardclientRequest.from_dict(creditcardclient_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientRequestCompound.md b/docs/CreditcardclientRequestCompound.md index b6564426a..b2c2c8fc1 100644 --- a/docs/CreditcardclientRequestCompound.md +++ b/docs/CreditcardclientRequestCompound.md @@ -8,11 +8,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_creditcardclient_id** | **int** | The unique ID of the Creditcardclient | [optional] **fks_creditcardtoken_id** | **str** | The creditcard token identifier | [optional] -**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's an relationisdefault | +**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's the creditcardclient is the default one | **s_creditcardclient_description** | **str** | The description of the Creditcardclient | -**b_creditcardclient_isactive** | **bool** | Whether the creditcardclient is active or not | -**b_creditcardclient_allowedagencypayment** | **bool** | Whether if it's an allowedagencypayment | -**b_creditcardclient_allowedroyallepageprotection** | **bool** | Whether if it's an allowedroyallepageprotection | +**b_creditcardclient_allowedcompanypayment** | **bool** | Whether if it's an allowedagencypayment | +**b_creditcardclient_allowedezsign** | **bool** | Whether if it's an allowedroyallepageprotection | **b_creditcardclient_allowedtranquillit** | **bool** | Whether if it's an allowedtranquillit | **obj_creditcarddetail** | [**CreditcarddetailRequest**](CreditcarddetailRequest.md) | | **s_creditcardclient_cvv** | **str** | The creditcard card CVV | @@ -32,7 +31,7 @@ print(CreditcardclientRequestCompound.to_json()) # convert the object into a dict creditcardclient_request_compound_dict = creditcardclient_request_compound_instance.to_dict() # create an instance of CreditcardclientRequestCompound from a dict -creditcardclient_request_compound_form_dict = creditcardclient_request_compound.from_dict(creditcardclient_request_compound_dict) +creditcardclient_request_compound_from_dict = CreditcardclientRequestCompound.from_dict(creditcardclient_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientRequestPatch.md b/docs/CreditcardclientRequestPatch.md new file mode 100644 index 000000000..334bf7ec5 --- /dev/null +++ b/docs/CreditcardclientRequestPatch.md @@ -0,0 +1,30 @@ +# CreditcardclientRequestPatch + +A Creditcardclient Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's the creditcardclient is the default one | [optional] + +## Example + +```python +from eZmaxApi.models.creditcardclient_request_patch import CreditcardclientRequestPatch + +# TODO update the JSON string below +json = "{}" +# create an instance of CreditcardclientRequestPatch from a JSON string +creditcardclient_request_patch_instance = CreditcardclientRequestPatch.from_json(json) +# print the JSON string representation of the object +print(CreditcardclientRequestPatch.to_json()) + +# convert the object into a dict +creditcardclient_request_patch_dict = creditcardclient_request_patch_instance.to_dict() +# create an instance of CreditcardclientRequestPatch from a dict +creditcardclient_request_patch_from_dict = CreditcardclientRequestPatch.from_dict(creditcardclient_request_patch_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreditcardclientResponse.md b/docs/CreditcardclientResponse.md index cf78dfb62..c89ae8def 100644 --- a/docs/CreditcardclientResponse.md +++ b/docs/CreditcardclientResponse.md @@ -8,11 +8,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_creditcardclient_id** | **int** | The unique ID of the Creditcardclient | **fki_creditcarddetail_id** | **int** | The unique ID of the Creditcarddetail | -**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's an relationisdefault | +**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's the creditcardclient is the default one | **s_creditcardclient_description** | **str** | The description of the Creditcardclient | -**b_creditcardclient_isactive** | **bool** | Whether the creditcardclient is active or not | -**b_creditcardclient_allowedagencypayment** | **bool** | Whether if it's an allowedagencypayment | -**b_creditcardclient_allowedroyallepageprotection** | **bool** | Whether if it's an allowedroyallepageprotection | +**b_creditcardclient_allowedcompanypayment** | **bool** | Whether if it's an allowedagencypayment | **b_creditcardclient_allowedtranquillit** | **bool** | Whether if it's an allowedtranquillit | **obj_creditcarddetail** | [**CreditcarddetailResponseCompound**](CreditcarddetailResponseCompound.md) | | @@ -31,7 +29,7 @@ print(CreditcardclientResponse.to_json()) # convert the object into a dict creditcardclient_response_dict = creditcardclient_response_instance.to_dict() # create an instance of CreditcardclientResponse from a dict -creditcardclient_response_form_dict = creditcardclient_response.from_dict(creditcardclient_response_dict) +creditcardclient_response_from_dict = CreditcardclientResponse.from_dict(creditcardclient_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardclientResponseCompound.md b/docs/CreditcardclientResponseCompound.md index 13104f057..0ee785bd8 100644 --- a/docs/CreditcardclientResponseCompound.md +++ b/docs/CreditcardclientResponseCompound.md @@ -8,11 +8,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_creditcardclient_id** | **int** | The unique ID of the Creditcardclient | **fki_creditcarddetail_id** | **int** | The unique ID of the Creditcarddetail | -**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's an relationisdefault | +**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's the creditcardclient is the default one | **s_creditcardclient_description** | **str** | The description of the Creditcardclient | -**b_creditcardclient_isactive** | **bool** | Whether the creditcardclient is active or not | -**b_creditcardclient_allowedagencypayment** | **bool** | Whether if it's an allowedagencypayment | -**b_creditcardclient_allowedroyallepageprotection** | **bool** | Whether if it's an allowedroyallepageprotection | +**b_creditcardclient_allowedcompanypayment** | **bool** | Whether if it's an allowedagencypayment | **b_creditcardclient_allowedtranquillit** | **bool** | Whether if it's an allowedtranquillit | **obj_creditcarddetail** | [**CreditcarddetailResponseCompound**](CreditcarddetailResponseCompound.md) | | @@ -31,7 +29,7 @@ print(CreditcardclientResponseCompound.to_json()) # convert the object into a dict creditcardclient_response_compound_dict = creditcardclient_response_compound_instance.to_dict() # create an instance of CreditcardclientResponseCompound from a dict -creditcardclient_response_compound_form_dict = creditcardclient_response_compound.from_dict(creditcardclient_response_compound_dict) +creditcardclient_response_compound_from_dict = CreditcardclientResponseCompound.from_dict(creditcardclient_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcarddetailRequest.md b/docs/CreditcarddetailRequest.md index 69abbf5e0..c99ca310e 100644 --- a/docs/CreditcarddetailRequest.md +++ b/docs/CreditcarddetailRequest.md @@ -8,9 +8,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **i_creditcarddetail_expirationmonth** | **int** | The expirationmonth of the Creditcarddetail | **i_creditcarddetail_expirationyear** | **int** | The expirationyear of the Creditcarddetail | -**s_creditcarddetail_civic** | **str** | The civic of the Creditcarddetail | [optional] -**s_creditcarddetail_street** | **str** | The street of the Creditcarddetail | [optional] -**s_creditcarddetail_zip** | **str** | The zip of the Creditcarddetail | [optional] +**s_creditcarddetail_civic** | **str** | The civic of the Creditcarddetail | +**s_creditcarddetail_street** | **str** | The street of the Creditcarddetail | +**s_creditcarddetail_zip** | **str** | The zip of the Creditcarddetail | ## Example @@ -27,7 +27,7 @@ print(CreditcarddetailRequest.to_json()) # convert the object into a dict creditcarddetail_request_dict = creditcarddetail_request_instance.to_dict() # create an instance of CreditcarddetailRequest from a dict -creditcarddetail_request_form_dict = creditcarddetail_request.from_dict(creditcarddetail_request_dict) +creditcarddetail_request_from_dict = CreditcarddetailRequest.from_dict(creditcarddetail_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcarddetailResponse.md b/docs/CreditcarddetailResponse.md index 83f56aaa2..fda7874ec 100644 --- a/docs/CreditcarddetailResponse.md +++ b/docs/CreditcarddetailResponse.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_creditcarddetail_id** | **int** | The unique ID of the Creditcarddetail | **fki_creditcardtype_id** | **int** | The unique ID of the Creditcardtype | -**s_creditcarddetail_numbermasked** | **str** | The numbermasked of the Creditcarddetail | +**i_creditcarddetail_lastdigits** | **int** | The last digits of the Creditcarddetail | **i_creditcarddetail_expirationmonth** | **int** | The expirationmonth of the Creditcarddetail | **i_creditcarddetail_expirationyear** | **int** | The expirationyear of the Creditcarddetail | **s_creditcarddetail_civic** | **str** | The civic of the Creditcarddetail | @@ -30,7 +30,7 @@ print(CreditcarddetailResponse.to_json()) # convert the object into a dict creditcarddetail_response_dict = creditcarddetail_response_instance.to_dict() # create an instance of CreditcarddetailResponse from a dict -creditcarddetail_response_form_dict = creditcarddetail_response.from_dict(creditcarddetail_response_dict) +creditcarddetail_response_from_dict = CreditcarddetailResponse.from_dict(creditcarddetail_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcarddetailResponseCompound.md b/docs/CreditcarddetailResponseCompound.md index e0f79c42b..65ab25f6b 100644 --- a/docs/CreditcarddetailResponseCompound.md +++ b/docs/CreditcarddetailResponseCompound.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_creditcarddetail_id** | **int** | The unique ID of the Creditcarddetail | **fki_creditcardtype_id** | **int** | The unique ID of the Creditcardtype | -**s_creditcarddetail_numbermasked** | **str** | The numbermasked of the Creditcarddetail | +**i_creditcarddetail_lastdigits** | **int** | The last digits of the Creditcarddetail | **i_creditcarddetail_expirationmonth** | **int** | The expirationmonth of the Creditcarddetail | **i_creditcarddetail_expirationyear** | **int** | The expirationyear of the Creditcarddetail | **s_creditcarddetail_civic** | **str** | The civic of the Creditcarddetail | @@ -30,7 +30,7 @@ print(CreditcarddetailResponseCompound.to_json()) # convert the object into a dict creditcarddetail_response_compound_dict = creditcarddetail_response_compound_instance.to_dict() # create an instance of CreditcarddetailResponseCompound from a dict -creditcarddetail_response_compound_form_dict = creditcarddetail_response_compound.from_dict(creditcarddetail_response_compound_dict) +creditcarddetail_response_compound_from_dict = CreditcarddetailResponseCompound.from_dict(creditcarddetail_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardtypeAutocompleteElementResponse.md b/docs/CreditcardtypeAutocompleteElementResponse.md index f0961b376..ceeda6d30 100644 --- a/docs/CreditcardtypeAutocompleteElementResponse.md +++ b/docs/CreditcardtypeAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(CreditcardtypeAutocompleteElementResponse.to_json()) # convert the object into a dict creditcardtype_autocomplete_element_response_dict = creditcardtype_autocomplete_element_response_instance.to_dict() # create an instance of CreditcardtypeAutocompleteElementResponse from a dict -creditcardtype_autocomplete_element_response_form_dict = creditcardtype_autocomplete_element_response.from_dict(creditcardtype_autocomplete_element_response_dict) +creditcardtype_autocomplete_element_response_from_dict = CreditcardtypeAutocompleteElementResponse.from_dict(creditcardtype_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardtypeGetAutocompleteV2Response.md b/docs/CreditcardtypeGetAutocompleteV2Response.md index d06c90da6..94bce9960 100644 --- a/docs/CreditcardtypeGetAutocompleteV2Response.md +++ b/docs/CreditcardtypeGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(CreditcardtypeGetAutocompleteV2Response.to_json()) # convert the object into a dict creditcardtype_get_autocomplete_v2_response_dict = creditcardtype_get_autocomplete_v2_response_instance.to_dict() # create an instance of CreditcardtypeGetAutocompleteV2Response from a dict -creditcardtype_get_autocomplete_v2_response_form_dict = creditcardtype_get_autocomplete_v2_response.from_dict(creditcardtype_get_autocomplete_v2_response_dict) +creditcardtype_get_autocomplete_v2_response_from_dict = CreditcardtypeGetAutocompleteV2Response.from_dict(creditcardtype_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreditcardtypeGetAutocompleteV2ResponseMPayload.md b/docs/CreditcardtypeGetAutocompleteV2ResponseMPayload.md index 42b3b5883..d3b936594 100644 --- a/docs/CreditcardtypeGetAutocompleteV2ResponseMPayload.md +++ b/docs/CreditcardtypeGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(CreditcardtypeGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict creditcardtype_get_autocomplete_v2_response_m_payload_dict = creditcardtype_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of CreditcardtypeGetAutocompleteV2ResponseMPayload from a dict -creditcardtype_get_autocomplete_v2_response_m_payload_form_dict = creditcardtype_get_autocomplete_v2_response_m_payload.from_dict(creditcardtype_get_autocomplete_v2_response_m_payload_dict) +creditcardtype_get_autocomplete_v2_response_m_payload_from_dict = CreditcardtypeGetAutocompleteV2ResponseMPayload.from_dict(creditcardtype_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomApikey.md b/docs/CustomApikey.md new file mode 100644 index 000000000..dc945a5d1 --- /dev/null +++ b/docs/CustomApikey.md @@ -0,0 +1,31 @@ +# CustomApikey + +A Custom Apikey Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_apikey_key** | **str** | The key of the Apikey | +**s_apikey_secret** | **str** | The secret of the Apikey | + +## Example + +```python +from eZmaxApi.models.custom_apikey import CustomApikey + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomApikey from a JSON string +custom_apikey_instance = CustomApikey.from_json(json) +# print the JSON string representation of the object +print(CustomApikey.to_json()) + +# convert the object into a dict +custom_apikey_dict = custom_apikey_instance.to_dict() +# create an instance of CustomApikey from a dict +custom_apikey_from_dict = CustomApikey.from_dict(custom_apikey_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomApikeyfederation.md b/docs/CustomApikeyfederation.md new file mode 100644 index 000000000..ee865647c --- /dev/null +++ b/docs/CustomApikeyfederation.md @@ -0,0 +1,31 @@ +# CustomApikeyfederation + +A Custom Apikeyfederation Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_apikeyfederation_key** | **str** | The key of the Apikeyfederation | +**s_apikeyfederation_secret** | **str** | The secret of the Apikeyfederation | + +## Example + +```python +from eZmaxApi.models.custom_apikeyfederation import CustomApikeyfederation + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomApikeyfederation from a JSON string +custom_apikeyfederation_instance = CustomApikeyfederation.from_json(json) +# print the JSON string representation of the object +print(CustomApikeyfederation.to_json()) + +# convert the object into a dict +custom_apikeyfederation_dict = custom_apikeyfederation_instance.to_dict() +# create an instance of CustomApikeyfederation from a dict +custom_apikeyfederation_from_dict = CustomApikeyfederation.from_dict(custom_apikeyfederation_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomAttachmentResponse.md b/docs/CustomAttachmentResponse.md index fa97f7e5c..28aaac671 100644 --- a/docs/CustomAttachmentResponse.md +++ b/docs/CustomAttachmentResponse.md @@ -87,7 +87,7 @@ print(CustomAttachmentResponse.to_json()) # convert the object into a dict custom_attachment_response_dict = custom_attachment_response_instance.to_dict() # create an instance of CustomAttachmentResponse from a dict -custom_attachment_response_form_dict = custom_attachment_response.from_dict(custom_attachment_response_dict) +custom_attachment_response_from_dict = CustomAttachmentResponse.from_dict(custom_attachment_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomAttachmentdocumenttypeResponse.md b/docs/CustomAttachmentdocumenttypeResponse.md index f236b6be4..7c05c8875 100644 --- a/docs/CustomAttachmentdocumenttypeResponse.md +++ b/docs/CustomAttachmentdocumenttypeResponse.md @@ -24,7 +24,7 @@ print(CustomAttachmentdocumenttypeResponse.to_json()) # convert the object into a dict custom_attachmentdocumenttype_response_dict = custom_attachmentdocumenttype_response_instance.to_dict() # create an instance of CustomAttachmentdocumenttypeResponse from a dict -custom_attachmentdocumenttype_response_form_dict = custom_attachmentdocumenttype_response.from_dict(custom_attachmentdocumenttype_response_dict) +custom_attachmentdocumenttype_response_from_dict = CustomAttachmentdocumenttypeResponse.from_dict(custom_attachmentdocumenttype_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomBrandingResponse.md b/docs/CustomBrandingResponse.md new file mode 100644 index 000000000..613bc42ff --- /dev/null +++ b/docs/CustomBrandingResponse.md @@ -0,0 +1,31 @@ +# CustomBrandingResponse + +A Custom Branding Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_branding_color** | **int** | The primary color. This is a RGB color converted into integer | +**s_branding_logointerfaceurl** | **str** | The url of the picture used as logo in the Branding | + +## Example + +```python +from eZmaxApi.models.custom_branding_response import CustomBrandingResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomBrandingResponse from a JSON string +custom_branding_response_instance = CustomBrandingResponse.from_json(json) +# print the JSON string representation of the object +print(CustomBrandingResponse.to_json()) + +# convert the object into a dict +custom_branding_response_dict = custom_branding_response_instance.to_dict() +# create an instance of CustomBrandingResponse from a dict +custom_branding_response_from_dict = CustomBrandingResponse.from_dict(custom_branding_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomCommunicationListElementResponse.md b/docs/CustomCommunicationListElementResponse.md index ffcb9dea5..2df8ac746 100644 --- a/docs/CustomCommunicationListElementResponse.md +++ b/docs/CustomCommunicationListElementResponse.md @@ -31,7 +31,7 @@ print(CustomCommunicationListElementResponse.to_json()) # convert the object into a dict custom_communication_list_element_response_dict = custom_communication_list_element_response_instance.to_dict() # create an instance of CustomCommunicationListElementResponse from a dict -custom_communication_list_element_response_form_dict = custom_communication_list_element_response.from_dict(custom_communication_list_element_response_dict) +custom_communication_list_element_response_from_dict = CustomCommunicationListElementResponse.from_dict(custom_communication_list_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomCommunicationattachmentRequest.md b/docs/CustomCommunicationattachmentRequest.md index 9a6ececaf..99000d3b9 100644 --- a/docs/CustomCommunicationattachmentRequest.md +++ b/docs/CustomCommunicationattachmentRequest.md @@ -24,7 +24,7 @@ print(CustomCommunicationattachmentRequest.to_json()) # convert the object into a dict custom_communicationattachment_request_dict = custom_communicationattachment_request_instance.to_dict() # create an instance of CustomCommunicationattachmentRequest from a dict -custom_communicationattachment_request_form_dict = custom_communicationattachment_request.from_dict(custom_communicationattachment_request_dict) +custom_communicationattachment_request_from_dict = CustomCommunicationattachmentRequest.from_dict(custom_communicationattachment_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomCommunicationrecipientsgroupResponse.md b/docs/CustomCommunicationrecipientsgroupResponse.md index 0a97efd65..c2c2c150e 100644 --- a/docs/CustomCommunicationrecipientsgroupResponse.md +++ b/docs/CustomCommunicationrecipientsgroupResponse.md @@ -24,7 +24,7 @@ print(CustomCommunicationrecipientsgroupResponse.to_json()) # convert the object into a dict custom_communicationrecipientsgroup_response_dict = custom_communicationrecipientsgroup_response_instance.to_dict() # create an instance of CustomCommunicationrecipientsgroupResponse from a dict -custom_communicationrecipientsgroup_response_form_dict = custom_communicationrecipientsgroup_response.from_dict(custom_communicationrecipientsgroup_response_dict) +custom_communicationrecipientsgroup_response_from_dict = CustomCommunicationrecipientsgroupResponse.from_dict(custom_communicationrecipientsgroup_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomCommunicationrecipientsrecipientResponse.md b/docs/CustomCommunicationrecipientsrecipientResponse.md index 4feb72908..c76cbef19 100644 --- a/docs/CustomCommunicationrecipientsrecipientResponse.md +++ b/docs/CustomCommunicationrecipientsrecipientResponse.md @@ -42,7 +42,7 @@ print(CustomCommunicationrecipientsrecipientResponse.to_json()) # convert the object into a dict custom_communicationrecipientsrecipient_response_dict = custom_communicationrecipientsrecipient_response_instance.to_dict() # create an instance of CustomCommunicationrecipientsrecipientResponse from a dict -custom_communicationrecipientsrecipient_response_form_dict = custom_communicationrecipientsrecipient_response.from_dict(custom_communicationrecipientsrecipient_response_dict) +custom_communicationrecipientsrecipient_response_from_dict = CustomCommunicationrecipientsrecipientResponse.from_dict(custom_communicationrecipientsrecipient_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomCommunicationsenderRequest.md b/docs/CustomCommunicationsenderRequest.md index 55ee9585f..c18fbce07 100644 --- a/docs/CustomCommunicationsenderRequest.md +++ b/docs/CustomCommunicationsenderRequest.md @@ -27,7 +27,7 @@ print(CustomCommunicationsenderRequest.to_json()) # convert the object into a dict custom_communicationsender_request_dict = custom_communicationsender_request_instance.to_dict() # create an instance of CustomCommunicationsenderRequest from a dict -custom_communicationsender_request_form_dict = custom_communicationsender_request.from_dict(custom_communicationsender_request_dict) +custom_communicationsender_request_from_dict = CustomCommunicationsenderRequest.from_dict(custom_communicationsender_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomCommunicationsenderResponse.md b/docs/CustomCommunicationsenderResponse.md index 089b64a55..46beaae59 100644 --- a/docs/CustomCommunicationsenderResponse.md +++ b/docs/CustomCommunicationsenderResponse.md @@ -32,7 +32,7 @@ print(CustomCommunicationsenderResponse.to_json()) # convert the object into a dict custom_communicationsender_response_dict = custom_communicationsender_response_instance.to_dict() # create an instance of CustomCommunicationsenderResponse from a dict -custom_communicationsender_response_form_dict = custom_communicationsender_response.from_dict(custom_communicationsender_response_dict) +custom_communicationsender_response_from_dict = CustomCommunicationsenderResponse.from_dict(custom_communicationsender_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomContactNameResponse.md b/docs/CustomContactNameResponse.md index 22454ace9..126267d06 100644 --- a/docs/CustomContactNameResponse.md +++ b/docs/CustomContactNameResponse.md @@ -25,7 +25,7 @@ print(CustomContactNameResponse.to_json()) # convert the object into a dict custom_contact_name_response_dict = custom_contact_name_response_instance.to_dict() # create an instance of CustomContactNameResponse from a dict -custom_contact_name_response_form_dict = custom_contact_name_response.from_dict(custom_contact_name_response_dict) +custom_contact_name_response_from_dict = CustomContactNameResponse.from_dict(custom_contact_name_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomCreateEzsignelementsPositionedByWordRequest.md b/docs/CustomCreateEzsignelementsPositionedByWordRequest.md index f8b1a67a2..4b31cf7c4 100644 --- a/docs/CustomCreateEzsignelementsPositionedByWordRequest.md +++ b/docs/CustomCreateEzsignelementsPositionedByWordRequest.md @@ -26,7 +26,7 @@ print(CustomCreateEzsignelementsPositionedByWordRequest.to_json()) # convert the object into a dict custom_create_ezsignelements_positioned_by_word_request_dict = custom_create_ezsignelements_positioned_by_word_request_instance.to_dict() # create an instance of CustomCreateEzsignelementsPositionedByWordRequest from a dict -custom_create_ezsignelements_positioned_by_word_request_form_dict = custom_create_ezsignelements_positioned_by_word_request.from_dict(custom_create_ezsignelements_positioned_by_word_request_dict) +custom_create_ezsignelements_positioned_by_word_request_from_dict = CustomCreateEzsignelementsPositionedByWordRequest.from_dict(custom_create_ezsignelements_positioned_by_word_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomCreditcardtransactionResponse.md b/docs/CustomCreditcardtransactionResponse.md index eb33e5c61..64e560d92 100644 --- a/docs/CustomCreditcardtransactionResponse.md +++ b/docs/CustomCreditcardtransactionResponse.md @@ -26,7 +26,7 @@ print(CustomCreditcardtransactionResponse.to_json()) # convert the object into a dict custom_creditcardtransaction_response_dict = custom_creditcardtransaction_response_instance.to_dict() # create an instance of CustomCreditcardtransactionResponse from a dict -custom_creditcardtransaction_response_form_dict = custom_creditcardtransaction_response.from_dict(custom_creditcardtransaction_response_dict) +custom_creditcardtransaction_response_from_dict = CustomCreditcardtransactionResponse.from_dict(custom_creditcardtransaction_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomCreditcardtransactionresponseResponse.md b/docs/CustomCreditcardtransactionresponseResponse.md new file mode 100644 index 000000000..5255e752a --- /dev/null +++ b/docs/CustomCreditcardtransactionresponseResponse.md @@ -0,0 +1,34 @@ +# CustomCreditcardtransactionresponseResponse + +A custom Creditcardtransactionresponse Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_creditcardtransaction_is_ocode** | **str** | The ISO code | +**s_creditcardtransaction_responsecode** | **str** | The response code | +**s_creditcardtransaction_responseterminalmessage** | **str** | The terminal response message | +**e_creditcardtransaction_avsresult** | [**FieldECreditcardtransactionAvsresult**](FieldECreditcardtransactionAvsresult.md) | | [optional] +**e_creditcardtransaction_cvdresult** | [**FieldECreditcardtransactionCvdresult**](FieldECreditcardtransactionCvdresult.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.custom_creditcardtransactionresponse_response import CustomCreditcardtransactionresponseResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomCreditcardtransactionresponseResponse from a JSON string +custom_creditcardtransactionresponse_response_instance = CustomCreditcardtransactionresponseResponse.from_json(json) +# print the JSON string representation of the object +print(CustomCreditcardtransactionresponseResponse.to_json()) + +# convert the object into a dict +custom_creditcardtransactionresponse_response_dict = custom_creditcardtransactionresponse_response_instance.to_dict() +# create an instance of CustomCreditcardtransactionresponseResponse from a dict +custom_creditcardtransactionresponse_response_from_dict = CustomCreditcardtransactionresponseResponse.from_dict(custom_creditcardtransactionresponse_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomDiscussionconfigurationResponse.md b/docs/CustomDiscussionconfigurationResponse.md index fdfe2dcd2..19c3ea2f6 100644 --- a/docs/CustomDiscussionconfigurationResponse.md +++ b/docs/CustomDiscussionconfigurationResponse.md @@ -27,7 +27,7 @@ print(CustomDiscussionconfigurationResponse.to_json()) # convert the object into a dict custom_discussionconfiguration_response_dict = custom_discussionconfiguration_response_instance.to_dict() # create an instance of CustomDiscussionconfigurationResponse from a dict -custom_discussionconfiguration_response_form_dict = custom_discussionconfiguration_response.from_dict(custom_discussionconfiguration_response_dict) +custom_discussionconfiguration_response_from_dict = CustomDiscussionconfigurationResponse.from_dict(custom_discussionconfiguration_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomDnsrecordResponse.md b/docs/CustomDnsrecordResponse.md new file mode 100644 index 000000000..bf143171e --- /dev/null +++ b/docs/CustomDnsrecordResponse.md @@ -0,0 +1,35 @@ +# CustomDnsrecordResponse + +A Custom Dnsrecord Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**e_dnsrecord_type** | **str** | The type of the Dnsrecord | +**e_dnsrecord_validation** | **str** | The validation of the Dnsrecord | +**s_dnsrecord_name** | **str** | The name of the Dnsrecord | +**s_dnsrecord_value** | **str** | The value of the Dnsrecord | [optional] +**s_dnsrecord_expectedvalue** | **str** | The expected value of the Dnsrecord | [optional] +**b_dnsrecord_must_match** | **bool** | Whether the Dnsrecord must match or not | + +## Example + +```python +from eZmaxApi.models.custom_dnsrecord_response import CustomDnsrecordResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomDnsrecordResponse from a JSON string +custom_dnsrecord_response_instance = CustomDnsrecordResponse.from_json(json) +# print the JSON string representation of the object +print(CustomDnsrecordResponse.to_json()) + +# convert the object into a dict +custom_dnsrecord_response_dict = custom_dnsrecord_response_instance.to_dict() +# create an instance of CustomDnsrecordResponse from a dict +custom_dnsrecord_response_from_dict = CustomDnsrecordResponse.from_dict(custom_dnsrecord_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomDropdownElementRequest.md b/docs/CustomDropdownElementRequest.md index 980d07d8b..fa261e062 100644 --- a/docs/CustomDropdownElementRequest.md +++ b/docs/CustomDropdownElementRequest.md @@ -24,7 +24,7 @@ print(CustomDropdownElementRequest.to_json()) # convert the object into a dict custom_dropdown_element_request_dict = custom_dropdown_element_request_instance.to_dict() # create an instance of CustomDropdownElementRequest from a dict -custom_dropdown_element_request_form_dict = custom_dropdown_element_request.from_dict(custom_dropdown_element_request_dict) +custom_dropdown_element_request_from_dict = CustomDropdownElementRequest.from_dict(custom_dropdown_element_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomDropdownElementRequestCompound.md b/docs/CustomDropdownElementRequestCompound.md index fd30866a6..df219938e 100644 --- a/docs/CustomDropdownElementRequestCompound.md +++ b/docs/CustomDropdownElementRequestCompound.md @@ -24,7 +24,7 @@ print(CustomDropdownElementRequestCompound.to_json()) # convert the object into a dict custom_dropdown_element_request_compound_dict = custom_dropdown_element_request_compound_instance.to_dict() # create an instance of CustomDropdownElementRequestCompound from a dict -custom_dropdown_element_request_compound_form_dict = custom_dropdown_element_request_compound.from_dict(custom_dropdown_element_request_compound_dict) +custom_dropdown_element_request_compound_from_dict = CustomDropdownElementRequestCompound.from_dict(custom_dropdown_element_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomDropdownElementResponse.md b/docs/CustomDropdownElementResponse.md index dd176a3d5..a7be98c46 100644 --- a/docs/CustomDropdownElementResponse.md +++ b/docs/CustomDropdownElementResponse.md @@ -24,7 +24,7 @@ print(CustomDropdownElementResponse.to_json()) # convert the object into a dict custom_dropdown_element_response_dict = custom_dropdown_element_response_instance.to_dict() # create an instance of CustomDropdownElementResponse from a dict -custom_dropdown_element_response_form_dict = custom_dropdown_element_response.from_dict(custom_dropdown_element_response_dict) +custom_dropdown_element_response_from_dict = CustomDropdownElementResponse.from_dict(custom_dropdown_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomDropdownElementResponseCompound.md b/docs/CustomDropdownElementResponseCompound.md index d8f44f729..06b566548 100644 --- a/docs/CustomDropdownElementResponseCompound.md +++ b/docs/CustomDropdownElementResponseCompound.md @@ -24,7 +24,7 @@ print(CustomDropdownElementResponseCompound.to_json()) # convert the object into a dict custom_dropdown_element_response_compound_dict = custom_dropdown_element_response_compound_instance.to_dict() # create an instance of CustomDropdownElementResponseCompound from a dict -custom_dropdown_element_response_compound_form_dict = custom_dropdown_element_response_compound.from_dict(custom_dropdown_element_response_compound_dict) +custom_dropdown_element_response_compound_from_dict = CustomDropdownElementResponseCompound.from_dict(custom_dropdown_element_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEWebhookEzsignevent.md b/docs/CustomEWebhookEzsignevent.md new file mode 100644 index 000000000..34b748540 --- /dev/null +++ b/docs/CustomEWebhookEzsignevent.md @@ -0,0 +1,27 @@ +# CustomEWebhookEzsignevent + +This Ezsign Event. This property will be set only if the Module is \"Ezsign\" + +## Enum + +* `DOCUMENTCOMPLETED` (value: `'DocumentCompleted'`) + +* `DOCUMENTFORMCOMPLETED` (value: `'DocumentFormCompleted'`) + +* `DOCUMENTUNSENT` (value: `'DocumentUnsent'`) + +* `EZSIGNSIGNERACCEPTCLAUSE` (value: `'EzsignsignerAcceptclause'`) + +* `EZSIGNSIGNERCONNECT` (value: `'EzsignsignerConnect'`) + +* `FOLDERCOMPLETED` (value: `'FolderCompleted'`) + +* `FOLDERDISPOSED` (value: `'FolderDisposed'`) + +* `FOLDERSENT` (value: `'FolderSent'`) + +* `FOLDERUNSENT` (value: `'FolderUnsent'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomEzmaxinvoicingEzsigndocumentResponse.md b/docs/CustomEzmaxinvoicingEzsigndocumentResponse.md index b62b1f283..df14a3585 100644 --- a/docs/CustomEzmaxinvoicingEzsigndocumentResponse.md +++ b/docs/CustomEzmaxinvoicingEzsigndocumentResponse.md @@ -28,7 +28,7 @@ print(CustomEzmaxinvoicingEzsigndocumentResponse.to_json()) # convert the object into a dict custom_ezmaxinvoicing_ezsigndocument_response_dict = custom_ezmaxinvoicing_ezsigndocument_response_instance.to_dict() # create an instance of CustomEzmaxinvoicingEzsigndocumentResponse from a dict -custom_ezmaxinvoicing_ezsigndocument_response_form_dict = custom_ezmaxinvoicing_ezsigndocument_response.from_dict(custom_ezmaxinvoicing_ezsigndocument_response_dict) +custom_ezmaxinvoicing_ezsigndocument_response_from_dict = CustomEzmaxinvoicingEzsigndocumentResponse.from_dict(custom_ezmaxinvoicing_ezsigndocument_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzmaxinvoicingEzsignfolderResponse.md b/docs/CustomEzmaxinvoicingEzsignfolderResponse.md index 1fd67b4f7..25ecc9d0d 100644 --- a/docs/CustomEzmaxinvoicingEzsignfolderResponse.md +++ b/docs/CustomEzmaxinvoicingEzsignfolderResponse.md @@ -29,7 +29,7 @@ print(CustomEzmaxinvoicingEzsignfolderResponse.to_json()) # convert the object into a dict custom_ezmaxinvoicing_ezsignfolder_response_dict = custom_ezmaxinvoicing_ezsignfolder_response_instance.to_dict() # create an instance of CustomEzmaxinvoicingEzsignfolderResponse from a dict -custom_ezmaxinvoicing_ezsignfolder_response_form_dict = custom_ezmaxinvoicing_ezsignfolder_response.from_dict(custom_ezmaxinvoicing_ezsignfolder_response_dict) +custom_ezmaxinvoicing_ezsignfolder_response_from_dict = CustomEzmaxinvoicingEzsignfolderResponse.from_dict(custom_ezmaxinvoicing_ezsignfolder_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzmaxpricingResponse.md b/docs/CustomEzmaxpricingResponse.md index ff0c61f05..d6c9e6c40 100644 --- a/docs/CustomEzmaxpricingResponse.md +++ b/docs/CustomEzmaxpricingResponse.md @@ -26,7 +26,7 @@ print(CustomEzmaxpricingResponse.to_json()) # convert the object into a dict custom_ezmaxpricing_response_dict = custom_ezmaxpricing_response_instance.to_dict() # create an instance of CustomEzmaxpricingResponse from a dict -custom_ezmaxpricing_response_form_dict = custom_ezmaxpricing_response.from_dict(custom_ezmaxpricing_response_dict) +custom_ezmaxpricing_response_from_dict = CustomEzmaxpricingResponse.from_dict(custom_ezmaxpricing_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsigndocumentEzsignsignaturesAutomaticResponse.md b/docs/CustomEzsigndocumentEzsignsignaturesAutomaticResponse.md index 8d06d6691..0e1e9d549 100644 --- a/docs/CustomEzsigndocumentEzsignsignaturesAutomaticResponse.md +++ b/docs/CustomEzsigndocumentEzsignsignaturesAutomaticResponse.md @@ -25,7 +25,7 @@ print(CustomEzsigndocumentEzsignsignaturesAutomaticResponse.to_json()) # convert the object into a dict custom_ezsigndocument_ezsignsignatures_automatic_response_dict = custom_ezsigndocument_ezsignsignatures_automatic_response_instance.to_dict() # create an instance of CustomEzsigndocumentEzsignsignaturesAutomaticResponse from a dict -custom_ezsigndocument_ezsignsignatures_automatic_response_form_dict = custom_ezsigndocument_ezsignsignatures_automatic_response.from_dict(custom_ezsigndocument_ezsignsignatures_automatic_response_dict) +custom_ezsigndocument_ezsignsignatures_automatic_response_from_dict = CustomEzsigndocumentEzsignsignaturesAutomaticResponse.from_dict(custom_ezsigndocument_ezsignsignatures_automatic_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsigndocumentRequest.md b/docs/CustomEzsigndocumentRequest.md new file mode 100644 index 000000000..65e305c45 --- /dev/null +++ b/docs/CustomEzsigndocumentRequest.md @@ -0,0 +1,31 @@ +# CustomEzsigndocumentRequest + +Request for POST /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**a_obj_ezsigndocumentdependency** | [**List[EzsigndocumentdependencyRequestCompound]**](EzsigndocumentdependencyRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.custom_ezsigndocument_request import CustomEzsigndocumentRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomEzsigndocumentRequest from a JSON string +custom_ezsigndocument_request_instance = CustomEzsigndocumentRequest.from_json(json) +# print the JSON string representation of the object +print(CustomEzsigndocumentRequest.to_json()) + +# convert the object into a dict +custom_ezsigndocument_request_dict = custom_ezsigndocument_request_instance.to_dict() +# create an instance of CustomEzsigndocumentRequest from a dict +custom_ezsigndocument_request_from_dict = CustomEzsigndocumentRequest.from_dict(custom_ezsigndocument_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomEzsignfolderEzsignsignaturesAutomaticResponse.md b/docs/CustomEzsignfolderEzsignsignaturesAutomaticResponse.md index bedafc532..b8a66203a 100644 --- a/docs/CustomEzsignfolderEzsignsignaturesAutomaticResponse.md +++ b/docs/CustomEzsignfolderEzsignsignaturesAutomaticResponse.md @@ -25,7 +25,7 @@ print(CustomEzsignfolderEzsignsignaturesAutomaticResponse.to_json()) # convert the object into a dict custom_ezsignfolder_ezsignsignatures_automatic_response_dict = custom_ezsignfolder_ezsignsignatures_automatic_response_instance.to_dict() # create an instance of CustomEzsignfolderEzsignsignaturesAutomaticResponse from a dict -custom_ezsignfolder_ezsignsignatures_automatic_response_form_dict = custom_ezsignfolder_ezsignsignatures_automatic_response.from_dict(custom_ezsignfolder_ezsignsignatures_automatic_response_dict) +custom_ezsignfolder_ezsignsignatures_automatic_response_from_dict = CustomEzsignfolderEzsignsignaturesAutomaticResponse.from_dict(custom_ezsignfolder_ezsignsignatures_automatic_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignfolderezsigntemplatepublicResponse.md b/docs/CustomEzsignfolderezsigntemplatepublicResponse.md new file mode 100644 index 000000000..23f9306ff --- /dev/null +++ b/docs/CustomEzsignfolderezsigntemplatepublicResponse.md @@ -0,0 +1,36 @@ +# CustomEzsignfolderezsigntemplatepublicResponse + +An Ezsignfolder Object in the context of an Ezsigntemplatepublic + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | +**e_ezsignfolder_step** | [**FieldEEzsignfolderStep**](FieldEEzsignfolderStep.md) | | +**i_ezsignfolder_signaturetotal** | **int** | The number of total signatures that were requested in the Ezsignfolder | +**i_ezsignfolder_formfieldtotal** | **int** | The number of total form fields that were requested in the Ezsignfolder | +**i_ezsignfolder_signaturesigned** | **int** | The number of signatures that were signed in the Ezsignfolder. | +**a_obj_ezsignfolderezsigntemplatepublic_signer** | [**List[CustomEzsignfolderezsigntemplatepublicSignerResponse]**](CustomEzsignfolderezsigntemplatepublicSignerResponse.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_response import CustomEzsignfolderezsigntemplatepublicResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomEzsignfolderezsigntemplatepublicResponse from a JSON string +custom_ezsignfolderezsigntemplatepublic_response_instance = CustomEzsignfolderezsigntemplatepublicResponse.from_json(json) +# print the JSON string representation of the object +print(CustomEzsignfolderezsigntemplatepublicResponse.to_json()) + +# convert the object into a dict +custom_ezsignfolderezsigntemplatepublic_response_dict = custom_ezsignfolderezsigntemplatepublic_response_instance.to_dict() +# create an instance of CustomEzsignfolderezsigntemplatepublicResponse from a dict +custom_ezsignfolderezsigntemplatepublic_response_from_dict = CustomEzsignfolderezsigntemplatepublicResponse.from_dict(custom_ezsignfolderezsigntemplatepublic_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomEzsignfolderezsigntemplatepublicSignerResponse.md b/docs/CustomEzsignfolderezsigntemplatepublicSignerResponse.md new file mode 100644 index 000000000..3c05a7969 --- /dev/null +++ b/docs/CustomEzsignfolderezsigntemplatepublicSignerResponse.md @@ -0,0 +1,34 @@ +# CustomEzsignfolderezsigntemplatepublicSignerResponse + +A form Signer Object in the context of an Ezsignfoldertransmissions + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_ezsignsignergroup_id** | **int** | The unique ID of the Ezsignsignergroup | [optional] +**s_contact_firstname** | **str** | The First name of the contact | [optional] +**s_contact_lastname** | **str** | The Last name of the contact | [optional] +**s_ezsignsignergroup_description_x** | **str** | The Description of the Ezsignsignergroup in the language of the requester | [optional] + +## Example + +```python +from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_signer_response import CustomEzsignfolderezsigntemplatepublicSignerResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomEzsignfolderezsigntemplatepublicSignerResponse from a JSON string +custom_ezsignfolderezsigntemplatepublic_signer_response_instance = CustomEzsignfolderezsigntemplatepublicSignerResponse.from_json(json) +# print the JSON string representation of the object +print(CustomEzsignfolderezsigntemplatepublicSignerResponse.to_json()) + +# convert the object into a dict +custom_ezsignfolderezsigntemplatepublic_signer_response_dict = custom_ezsignfolderezsigntemplatepublic_signer_response_instance.to_dict() +# create an instance of CustomEzsignfolderezsigntemplatepublicSignerResponse from a dict +custom_ezsignfolderezsigntemplatepublic_signer_response_from_dict = CustomEzsignfolderezsigntemplatepublicSignerResponse.from_dict(custom_ezsignfolderezsigntemplatepublic_signer_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md b/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md index 51e5fde7f..064d73602 100644 --- a/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md +++ b/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md @@ -33,7 +33,7 @@ print(CustomEzsignfoldersignerassociationActionableElementResponse.to_json()) # convert the object into a dict custom_ezsignfoldersignerassociation_actionable_element_response_dict = custom_ezsignfoldersignerassociation_actionable_element_response_instance.to_dict() # create an instance of CustomEzsignfoldersignerassociationActionableElementResponse from a dict -custom_ezsignfoldersignerassociation_actionable_element_response_form_dict = custom_ezsignfoldersignerassociation_actionable_element_response.from_dict(custom_ezsignfoldersignerassociation_actionable_element_response_dict) +custom_ezsignfoldersignerassociation_actionable_element_response_from_dict = CustomEzsignfoldersignerassociationActionableElementResponse.from_dict(custom_ezsignfoldersignerassociation_actionable_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignfoldersignerassociationstatusResponse.md b/docs/CustomEzsignfoldersignerassociationstatusResponse.md index 3d4b675b6..356519a6d 100644 --- a/docs/CustomEzsignfoldersignerassociationstatusResponse.md +++ b/docs/CustomEzsignfoldersignerassociationstatusResponse.md @@ -27,7 +27,7 @@ print(CustomEzsignfoldersignerassociationstatusResponse.to_json()) # convert the object into a dict custom_ezsignfoldersignerassociationstatus_response_dict = custom_ezsignfoldersignerassociationstatus_response_instance.to_dict() # create an instance of CustomEzsignfoldersignerassociationstatusResponse from a dict -custom_ezsignfoldersignerassociationstatus_response_form_dict = custom_ezsignfoldersignerassociationstatus_response.from_dict(custom_ezsignfoldersignerassociationstatus_response_dict) +custom_ezsignfoldersignerassociationstatus_response_from_dict = CustomEzsignfoldersignerassociationstatusResponse.from_dict(custom_ezsignfoldersignerassociationstatus_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignfoldertransmissionResponse.md b/docs/CustomEzsignfoldertransmissionResponse.md index ce314d003..ff7050848 100644 --- a/docs/CustomEzsignfoldertransmissionResponse.md +++ b/docs/CustomEzsignfoldertransmissionResponse.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | **e_ezsignfolder_step** | [**FieldEEzsignfolderStep**](FieldEEzsignfolderStep.md) | | **i_ezsignfolder_signaturetotal** | **int** | The number of total signatures that were requested in the Ezsignfolder | +**i_ezsignfolder_formfieldtotal** | **int** | The number of total form fields that were requested in the Ezsignfolder | **i_ezsignfolder_signaturesigned** | **int** | The number of signatures that were signed in the Ezsignfolder. | **a_obj_ezsignfoldertransmission_signer** | [**List[CustomEzsignfoldertransmissionSignerResponse]**](CustomEzsignfoldertransmissionSignerResponse.md) | | @@ -28,7 +29,7 @@ print(CustomEzsignfoldertransmissionResponse.to_json()) # convert the object into a dict custom_ezsignfoldertransmission_response_dict = custom_ezsignfoldertransmission_response_instance.to_dict() # create an instance of CustomEzsignfoldertransmissionResponse from a dict -custom_ezsignfoldertransmission_response_form_dict = custom_ezsignfoldertransmission_response.from_dict(custom_ezsignfoldertransmission_response_dict) +custom_ezsignfoldertransmission_response_from_dict = CustomEzsignfoldertransmissionResponse.from_dict(custom_ezsignfoldertransmission_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignfoldertransmissionSignerResponse.md b/docs/CustomEzsignfoldertransmissionSignerResponse.md index 0a68ae1c1..eaa9b90ac 100644 --- a/docs/CustomEzsignfoldertransmissionSignerResponse.md +++ b/docs/CustomEzsignfoldertransmissionSignerResponse.md @@ -25,7 +25,7 @@ print(CustomEzsignfoldertransmissionSignerResponse.to_json()) # convert the object into a dict custom_ezsignfoldertransmission_signer_response_dict = custom_ezsignfoldertransmission_signer_response_instance.to_dict() # create an instance of CustomEzsignfoldertransmissionSignerResponse from a dict -custom_ezsignfoldertransmission_signer_response_form_dict = custom_ezsignfoldertransmission_signer_response.from_dict(custom_ezsignfoldertransmission_signer_response_dict) +custom_ezsignfoldertransmission_signer_response_from_dict = CustomEzsignfoldertransmissionSignerResponse.from_dict(custom_ezsignfoldertransmission_signer_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignfoldertypeResponse.md b/docs/CustomEzsignfoldertypeResponse.md index addac9fc3..0afa76d29 100644 --- a/docs/CustomEzsignfoldertypeResponse.md +++ b/docs/CustomEzsignfoldertypeResponse.md @@ -7,14 +7,22 @@ A Custom Ezsignfoldertype Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_font_id_annotation** | **int** | The unique ID of the Font | [optional] +**fki_font_id_formfield** | **int** | The unique ID of the Font | [optional] +**fki_font_id_signature** | **int** | The unique ID of the Font | [optional] **s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] **b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] **b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] **b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_automaticsignature** | **bool** | Whether we allow the automatic signature by an User | [optional] **b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] **b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] **b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] **b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] +**b_ezsignfoldertype_reassigngroup** | **bool** | Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself | [optional] +**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | [optional] +**i_ezsignfoldertype_fontsizeannotation** | **int** | Font size for annotations | [optional] +**i_ezsignfoldertype_fontsizeformfield** | **int** | Font size for form fields | [optional] ## Example @@ -31,7 +39,7 @@ print(CustomEzsignfoldertypeResponse.to_json()) # convert the object into a dict custom_ezsignfoldertype_response_dict = custom_ezsignfoldertype_response_instance.to_dict() # create an instance of CustomEzsignfoldertypeResponse from a dict -custom_ezsignfoldertype_response_form_dict = custom_ezsignfoldertype_response.from_dict(custom_ezsignfoldertype_response_dict) +custom_ezsignfoldertype_response_from_dict = CustomEzsignfoldertypeResponse.from_dict(custom_ezsignfoldertype_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignformfieldRequest.md b/docs/CustomEzsignformfieldRequest.md index 16b2c9fc8..589144b59 100644 --- a/docs/CustomEzsignformfieldRequest.md +++ b/docs/CustomEzsignformfieldRequest.md @@ -26,7 +26,7 @@ print(CustomEzsignformfieldRequest.to_json()) # convert the object into a dict custom_ezsignformfield_request_dict = custom_ezsignformfield_request_instance.to_dict() # create an instance of CustomEzsignformfieldRequest from a dict -custom_ezsignformfield_request_form_dict = custom_ezsignformfield_request.from_dict(custom_ezsignformfield_request_dict) +custom_ezsignformfield_request_from_dict = CustomEzsignformfieldRequest.from_dict(custom_ezsignformfield_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignformfielderrorResponse.md b/docs/CustomEzsignformfielderrorResponse.md index a4c4ef1d2..11667b8bb 100644 --- a/docs/CustomEzsignformfielderrorResponse.md +++ b/docs/CustomEzsignformfielderrorResponse.md @@ -24,7 +24,7 @@ print(CustomEzsignformfielderrorResponse.to_json()) # convert the object into a dict custom_ezsignformfielderror_response_dict = custom_ezsignformfielderror_response_instance.to_dict() # create an instance of CustomEzsignformfielderrorResponse from a dict -custom_ezsignformfielderror_response_form_dict = custom_ezsignformfielderror_response.from_dict(custom_ezsignformfielderror_response_dict) +custom_ezsignformfielderror_response_from_dict = CustomEzsignformfielderrorResponse.from_dict(custom_ezsignformfielderror_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignformfielderrortestResponse.md b/docs/CustomEzsignformfielderrortestResponse.md index a23c126a9..ec62c7d76 100644 --- a/docs/CustomEzsignformfielderrortestResponse.md +++ b/docs/CustomEzsignformfielderrortestResponse.md @@ -24,7 +24,7 @@ print(CustomEzsignformfielderrortestResponse.to_json()) # convert the object into a dict custom_ezsignformfielderrortest_response_dict = custom_ezsignformfielderrortest_response_instance.to_dict() # create an instance of CustomEzsignformfielderrortestResponse from a dict -custom_ezsignformfielderrortest_response_form_dict = custom_ezsignformfielderrortest_response.from_dict(custom_ezsignformfielderrortest_response_dict) +custom_ezsignformfielderrortest_response_from_dict = CustomEzsignformfielderrortestResponse.from_dict(custom_ezsignformfielderrortest_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md b/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md index 7c4f501b7..322321bc2 100644 --- a/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md +++ b/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md @@ -12,13 +12,14 @@ Name | Type | Description | Notes **e_ezsignformfieldgroup_signerrequirement** | [**FieldEEzsignformfieldgroupSignerrequirement**](FieldEEzsignformfieldgroupSignerrequirement.md) | | [optional] **s_ezsignformfieldgroup_label** | **str** | The Label for the Ezsignformfieldgroup | **i_ezsignformfieldgroup_step** | **int** | The step when the Ezsignsigner will be invited to fill the form fields | -**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **i_ezsignformfieldgroup_filledmin** | **int** | The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | **i_ezsignformfieldgroup_filledmax** | **int** | The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | **b_ezsignformfieldgroup_readonly** | **bool** | Whether the Ezsignformfieldgroup is read only or not. | **i_ezsignformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] **b_ezsignformfieldgroup_encrypted** | **bool** | Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] **s_ezsignformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsignformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **t_ezsignformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup | [optional] **e_ezsignformfieldgroup_tooltipposition** | [**FieldEEzsignformfieldgroupTooltipposition**](FieldEEzsignformfieldgroupTooltipposition.md) | | [optional] **e_ezsignformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] @@ -42,7 +43,7 @@ print(CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.to_j # convert the object into a dict custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request_dict = custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request_instance.to_dict() # create an instance of CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest from a dict -custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request_form_dict = custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.from_dict(custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request_dict) +custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request_from_dict = CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.from_dict(custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignformfieldgroupRequest.md b/docs/CustomEzsignformfieldgroupRequest.md index 41bc39f06..3f448de0d 100644 --- a/docs/CustomEzsignformfieldgroupRequest.md +++ b/docs/CustomEzsignformfieldgroupRequest.md @@ -25,7 +25,7 @@ print(CustomEzsignformfieldgroupRequest.to_json()) # convert the object into a dict custom_ezsignformfieldgroup_request_dict = custom_ezsignformfieldgroup_request_instance.to_dict() # create an instance of CustomEzsignformfieldgroupRequest from a dict -custom_ezsignformfieldgroup_request_form_dict = custom_ezsignformfieldgroup_request.from_dict(custom_ezsignformfieldgroup_request_dict) +custom_ezsignformfieldgroup_request_from_dict = CustomEzsignformfieldgroupRequest.from_dict(custom_ezsignformfieldgroup_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md b/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md index 3eaefc489..0ae92f182 100644 --- a/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md +++ b/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md @@ -20,12 +20,17 @@ Name | Type | Description | Notes **e_ezsignsignature_tooltipposition** | [**FieldEEzsignsignatureTooltipposition**](FieldEEzsignsignatureTooltipposition.md) | | [optional] **e_ezsignsignature_font** | [**FieldEEzsignsignatureFont**](FieldEEzsignsignatureFont.md) | | [optional] **fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] -**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments. | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] **e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] **s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] **i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] **i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] **e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] **b_ezsignsignature_customdate** | **bool** | Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**) | [optional] @@ -48,7 +53,7 @@ print(CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.to_json() # convert the object into a dict custom_ezsignsignature_create_ezsignelements_positioned_by_word_request_dict = custom_ezsignsignature_create_ezsignelements_positioned_by_word_request_instance.to_dict() # create an instance of CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest from a dict -custom_ezsignsignature_create_ezsignelements_positioned_by_word_request_form_dict = custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.from_dict(custom_ezsignsignature_create_ezsignelements_positioned_by_word_request_dict) +custom_ezsignsignature_create_ezsignelements_positioned_by_word_request_from_dict = CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.from_dict(custom_ezsignsignature_create_ezsignelements_positioned_by_word_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignsignatureEzsignsignaturesAutomaticResponse.md b/docs/CustomEzsignsignatureEzsignsignaturesAutomaticResponse.md index e2a5b71a8..40acaff70 100644 --- a/docs/CustomEzsignsignatureEzsignsignaturesAutomaticResponse.md +++ b/docs/CustomEzsignsignatureEzsignsignaturesAutomaticResponse.md @@ -25,7 +25,7 @@ print(CustomEzsignsignatureEzsignsignaturesAutomaticResponse.to_json()) # convert the object into a dict custom_ezsignsignature_ezsignsignatures_automatic_response_dict = custom_ezsignsignature_ezsignsignatures_automatic_response_instance.to_dict() # create an instance of CustomEzsignsignatureEzsignsignaturesAutomaticResponse from a dict -custom_ezsignsignature_ezsignsignatures_automatic_response_form_dict = custom_ezsignsignature_ezsignsignatures_automatic_response.from_dict(custom_ezsignsignature_ezsignsignatures_automatic_response_dict) +custom_ezsignsignature_ezsignsignatures_automatic_response_from_dict = CustomEzsignsignatureEzsignsignaturesAutomaticResponse.from_dict(custom_ezsignsignature_ezsignsignatures_automatic_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomEzsignsignaturestatusResponse.md b/docs/CustomEzsignsignaturestatusResponse.md index 93620c03f..a1042cbfe 100644 --- a/docs/CustomEzsignsignaturestatusResponse.md +++ b/docs/CustomEzsignsignaturestatusResponse.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **i_ezsignsignaturestatus_step** | **int** | The step at which the Ezsignsigner will be invited to sign or fill the form fields | **i_ezsignsignaturestatus_total** | **int** | The total number of signature or form fields the Ezsignsigner must process at the current step | **i_ezsignsignaturestatus_signed** | **int** | The number of signature or form fields the Ezsignsigner has already processed at the current step | +**i_ezsignsignaturestatus_conditional** | **int** | The number of signature or form fields the Ezsignsigner need to sign or fill under current conditions. | ## Example @@ -26,7 +27,7 @@ print(CustomEzsignsignaturestatusResponse.to_json()) # convert the object into a dict custom_ezsignsignaturestatus_response_dict = custom_ezsignsignaturestatus_response_instance.to_dict() # create an instance of CustomEzsignsignaturestatusResponse from a dict -custom_ezsignsignaturestatus_response_form_dict = custom_ezsignsignaturestatus_response.from_dict(custom_ezsignsignaturestatus_response_dict) +custom_ezsignsignaturestatus_response_from_dict = CustomEzsignsignaturestatusResponse.from_dict(custom_ezsignsignaturestatus_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomFormDataDocumentResponse.md b/docs/CustomFormDataDocumentResponse.md index 0c1ae453a..5e39c1cfd 100644 --- a/docs/CustomFormDataDocumentResponse.md +++ b/docs/CustomFormDataDocumentResponse.md @@ -27,7 +27,7 @@ print(CustomFormDataDocumentResponse.to_json()) # convert the object into a dict custom_form_data_document_response_dict = custom_form_data_document_response_instance.to_dict() # create an instance of CustomFormDataDocumentResponse from a dict -custom_form_data_document_response_form_dict = custom_form_data_document_response.from_dict(custom_form_data_document_response_dict) +custom_form_data_document_response_from_dict = CustomFormDataDocumentResponse.from_dict(custom_form_data_document_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomFormDataEzsignformfieldResponse.md b/docs/CustomFormDataEzsignformfieldResponse.md index 6d5061cf9..49a50783e 100644 --- a/docs/CustomFormDataEzsignformfieldResponse.md +++ b/docs/CustomFormDataEzsignformfieldResponse.md @@ -24,7 +24,7 @@ print(CustomFormDataEzsignformfieldResponse.to_json()) # convert the object into a dict custom_form_data_ezsignformfield_response_dict = custom_form_data_ezsignformfield_response_instance.to_dict() # create an instance of CustomFormDataEzsignformfieldResponse from a dict -custom_form_data_ezsignformfield_response_form_dict = custom_form_data_ezsignformfield_response.from_dict(custom_form_data_ezsignformfield_response_dict) +custom_form_data_ezsignformfield_response_from_dict = CustomFormDataEzsignformfieldResponse.from_dict(custom_form_data_ezsignformfield_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomFormDataEzsignformfieldgroupResponse.md b/docs/CustomFormDataEzsignformfieldgroupResponse.md index 1fcb43ba0..f8122ef15 100644 --- a/docs/CustomFormDataEzsignformfieldgroupResponse.md +++ b/docs/CustomFormDataEzsignformfieldgroupResponse.md @@ -24,7 +24,7 @@ print(CustomFormDataEzsignformfieldgroupResponse.to_json()) # convert the object into a dict custom_form_data_ezsignformfieldgroup_response_dict = custom_form_data_ezsignformfieldgroup_response_instance.to_dict() # create an instance of CustomFormDataEzsignformfieldgroupResponse from a dict -custom_form_data_ezsignformfieldgroup_response_form_dict = custom_form_data_ezsignformfieldgroup_response.from_dict(custom_form_data_ezsignformfieldgroup_response_dict) +custom_form_data_ezsignformfieldgroup_response_from_dict = CustomFormDataEzsignformfieldgroupResponse.from_dict(custom_form_data_ezsignformfieldgroup_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomFormDataSignerResponse.md b/docs/CustomFormDataSignerResponse.md index 8b6fd7459..bb176d859 100644 --- a/docs/CustomFormDataSignerResponse.md +++ b/docs/CustomFormDataSignerResponse.md @@ -27,7 +27,7 @@ print(CustomFormDataSignerResponse.to_json()) # convert the object into a dict custom_form_data_signer_response_dict = custom_form_data_signer_response_instance.to_dict() # create an instance of CustomFormDataSignerResponse from a dict -custom_form_data_signer_response_form_dict = custom_form_data_signer_response.from_dict(custom_form_data_signer_response_dict) +custom_form_data_signer_response_from_dict = CustomFormDataSignerResponse.from_dict(custom_form_data_signer_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomFormsDataFolderResponse.md b/docs/CustomFormsDataFolderResponse.md index d4bb84526..653214783 100644 --- a/docs/CustomFormsDataFolderResponse.md +++ b/docs/CustomFormsDataFolderResponse.md @@ -25,7 +25,7 @@ print(CustomFormsDataFolderResponse.to_json()) # convert the object into a dict custom_forms_data_folder_response_dict = custom_forms_data_folder_response_instance.to_dict() # create an instance of CustomFormsDataFolderResponse from a dict -custom_forms_data_folder_response_form_dict = custom_forms_data_folder_response.from_dict(custom_forms_data_folder_response_dict) +custom_forms_data_folder_response_from_dict = CustomFormsDataFolderResponse.from_dict(custom_forms_data_folder_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomImportEzsigntemplatepackageRelationRequest.md b/docs/CustomImportEzsigntemplatepackageRelationRequest.md index 04f6a74f6..93bf406e0 100644 --- a/docs/CustomImportEzsigntemplatepackageRelationRequest.md +++ b/docs/CustomImportEzsigntemplatepackageRelationRequest.md @@ -25,7 +25,7 @@ print(CustomImportEzsigntemplatepackageRelationRequest.to_json()) # convert the object into a dict custom_import_ezsigntemplatepackage_relation_request_dict = custom_import_ezsigntemplatepackage_relation_request_instance.to_dict() # create an instance of CustomImportEzsigntemplatepackageRelationRequest from a dict -custom_import_ezsigntemplatepackage_relation_request_form_dict = custom_import_ezsigntemplatepackage_relation_request.from_dict(custom_import_ezsigntemplatepackage_relation_request_dict) +custom_import_ezsigntemplatepackage_relation_request_from_dict = CustomImportEzsigntemplatepackageRelationRequest.from_dict(custom_import_ezsigntemplatepackage_relation_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md b/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md index eeaaa5d59..233f782d4 100644 --- a/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md +++ b/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md @@ -28,7 +28,7 @@ print(CustomNotificationsubsectiongetnotificationtestsResponse.to_json()) # convert the object into a dict custom_notificationsubsectiongetnotificationtests_response_dict = custom_notificationsubsectiongetnotificationtests_response_instance.to_dict() # create an instance of CustomNotificationsubsectiongetnotificationtestsResponse from a dict -custom_notificationsubsectiongetnotificationtests_response_form_dict = custom_notificationsubsectiongetnotificationtests_response.from_dict(custom_notificationsubsectiongetnotificationtests_response_dict) +custom_notificationsubsectiongetnotificationtests_response_from_dict = CustomNotificationsubsectiongetnotificationtestsResponse.from_dict(custom_notificationsubsectiongetnotificationtests_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomNotificationtestgetnotificationtestsResponse.md b/docs/CustomNotificationtestgetnotificationtestsResponse.md index f13100e9d..0c08aa23c 100644 --- a/docs/CustomNotificationtestgetnotificationtestsResponse.md +++ b/docs/CustomNotificationtestgetnotificationtestsResponse.md @@ -29,7 +29,7 @@ print(CustomNotificationtestgetnotificationtestsResponse.to_json()) # convert the object into a dict custom_notificationtestgetnotificationtests_response_dict = custom_notificationtestgetnotificationtests_response_instance.to_dict() # create an instance of CustomNotificationtestgetnotificationtestsResponse from a dict -custom_notificationtestgetnotificationtests_response_form_dict = custom_notificationtestgetnotificationtests_response.from_dict(custom_notificationtestgetnotificationtests_response_dict) +custom_notificationtestgetnotificationtests_response_from_dict = CustomNotificationtestgetnotificationtestsResponse.from_dict(custom_notificationtestgetnotificationtests_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomTimezoneWithCodeResponse.md b/docs/CustomTimezoneWithCodeResponse.md new file mode 100644 index 000000000..a9f9182bb --- /dev/null +++ b/docs/CustomTimezoneWithCodeResponse.md @@ -0,0 +1,31 @@ +# CustomTimezoneWithCodeResponse + +Generic AutocompleteElement Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_timezone_name** | **str** | The Name of timezone | +**s_code** | **str** | The Code of the time | + +## Example + +```python +from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomTimezoneWithCodeResponse from a JSON string +custom_timezone_with_code_response_instance = CustomTimezoneWithCodeResponse.from_json(json) +# print the JSON string representation of the object +print(CustomTimezoneWithCodeResponse.to_json()) + +# convert the object into a dict +custom_timezone_with_code_response_dict = custom_timezone_with_code_response_instance.to_dict() +# create an instance of CustomTimezoneWithCodeResponse from a dict +custom_timezone_with_code_response_from_dict = CustomTimezoneWithCodeResponse.from_dict(custom_timezone_with_code_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomUserNameResponse.md b/docs/CustomUserNameResponse.md new file mode 100644 index 000000000..6c83fce3f --- /dev/null +++ b/docs/CustomUserNameResponse.md @@ -0,0 +1,31 @@ +# CustomUserNameResponse + +A User name Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_user_lastname** | **str** | The last name of the user | +**s_user_firstname** | **str** | The first name of the user | + +## Example + +```python +from eZmaxApi.models.custom_user_name_response import CustomUserNameResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomUserNameResponse from a JSON string +custom_user_name_response_instance = CustomUserNameResponse.from_json(json) +# print the JSON string representation of the object +print(CustomUserNameResponse.to_json()) + +# convert the object into a dict +custom_user_name_response_dict = custom_user_name_response_instance.to_dict() +# create an instance of CustomUserNameResponse from a dict +custom_user_name_response_from_dict = CustomUserNameResponse.from_dict(custom_user_name_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomUserResponse.md b/docs/CustomUserResponse.md deleted file mode 100644 index ed74b556c..000000000 --- a/docs/CustomUserResponse.md +++ /dev/null @@ -1,33 +0,0 @@ -# CustomUserResponse - -A User Object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_user_id** | **int** | The unique ID of the User | -**s_user_lastname** | **str** | The last name of the user | -**s_user_firstname** | **str** | The first name of the user | -**s_email_address** | **str** | The email address. | - -## Example - -```python -from eZmaxApi.models.custom_user_response import CustomUserResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of CustomUserResponse from a JSON string -custom_user_response_instance = CustomUserResponse.from_json(json) -# print the JSON string representation of the object -print(CustomUserResponse.to_json()) - -# convert the object into a dict -custom_user_response_dict = custom_user_response_instance.to_dict() -# create an instance of CustomUserResponse from a dict -custom_user_response_form_dict = custom_user_response.from_dict(custom_user_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/CustomWebhookResponse.md b/docs/CustomWebhookResponse.md index 4a0875ee9..aa8db8be0 100644 --- a/docs/CustomWebhookResponse.md +++ b/docs/CustomWebhookResponse.md @@ -7,6 +7,7 @@ A custom Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_webhook_id** | **int** | The unique ID of the Webhook | +**fki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] **s_webhook_description** | **str** | The description of the Webhook | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] **s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] @@ -20,11 +21,13 @@ Name | Type | Description | Notes **b_webhook_isactive** | **bool** | Whether the Webhook is active or not | **b_webhook_issigned** | **bool** | Whether the requests will be signed or not | **b_webhook_skipsslvalidation** | **bool** | Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use | +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | [optional] **obj_audit** | [**CommonAudit**](CommonAudit.md) | | **s_webhook_event** | **str** | The concatenated string to describe the Webhook event | [optional] **a_obj_webhookheader** | [**List[WebhookheaderResponseCompound]**](WebhookheaderResponseCompound.md) | | [optional] **pks_customer_code** | **str** | The customer code assigned to your account | **b_webhook_test** | **bool** | Wheter the webhook received is a manual test or a real event | +**e_webhook_emittype** | **str** | Wheter the webhook received is a manual test or a real event | [optional] ## Example @@ -41,7 +44,7 @@ print(CustomWebhookResponse.to_json()) # convert the object into a dict custom_webhook_response_dict = custom_webhook_response_instance.to_dict() # create an instance of CustomWebhookResponse from a dict -custom_webhook_response_form_dict = custom_webhook_response.from_dict(custom_webhook_response_dict) +custom_webhook_response_from_dict = CustomWebhookResponse.from_dict(custom_webhook_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomWebhooklogResponse.md b/docs/CustomWebhooklogResponse.md index 10a1c576e..837b5201f 100644 --- a/docs/CustomWebhooklogResponse.md +++ b/docs/CustomWebhooklogResponse.md @@ -24,7 +24,7 @@ print(CustomWebhooklogResponse.to_json()) # convert the object into a dict custom_webhooklog_response_dict = custom_webhooklog_response_instance.to_dict() # create an instance of CustomWebhooklogResponse from a dict -custom_webhooklog_response_form_dict = custom_webhooklog_response.from_dict(custom_webhooklog_response_dict) +custom_webhooklog_response_from_dict = CustomWebhooklogResponse.from_dict(custom_webhooklog_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomWordPositionOccurenceResponse.md b/docs/CustomWordPositionOccurenceResponse.md index e0fe0a486..095d0d418 100644 --- a/docs/CustomWordPositionOccurenceResponse.md +++ b/docs/CustomWordPositionOccurenceResponse.md @@ -25,7 +25,7 @@ print(CustomWordPositionOccurenceResponse.to_json()) # convert the object into a dict custom_word_position_occurence_response_dict = custom_word_position_occurence_response_instance.to_dict() # create an instance of CustomWordPositionOccurenceResponse from a dict -custom_word_position_occurence_response_form_dict = custom_word_position_occurence_response.from_dict(custom_word_position_occurence_response_dict) +custom_word_position_occurence_response_from_dict = CustomWordPositionOccurenceResponse.from_dict(custom_word_position_occurence_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomWordPositionWordResponse.md b/docs/CustomWordPositionWordResponse.md index 9ffecf94c..2a1d547a8 100644 --- a/docs/CustomWordPositionWordResponse.md +++ b/docs/CustomWordPositionWordResponse.md @@ -24,7 +24,7 @@ print(CustomWordPositionWordResponse.to_json()) # convert the object into a dict custom_word_position_word_response_dict = custom_word_position_word_response_instance.to_dict() # create an instance of CustomWordPositionWordResponse from a dict -custom_word_position_word_response_form_dict = custom_word_position_word_response.from_dict(custom_word_position_word_response_dict) +custom_word_position_word_response_from_dict = CustomWordPositionWordResponse.from_dict(custom_word_position_word_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomerCreateObjectV1Request.md b/docs/CustomerCreateObjectV1Request.md new file mode 100644 index 000000000..8e5f4db39 --- /dev/null +++ b/docs/CustomerCreateObjectV1Request.md @@ -0,0 +1,30 @@ +# CustomerCreateObjectV1Request + +Request for POST /1/object/customer + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_customer** | [**List[CustomerRequestCompound]**](CustomerRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.customer_create_object_v1_request import CustomerCreateObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomerCreateObjectV1Request from a JSON string +customer_create_object_v1_request_instance = CustomerCreateObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(CustomerCreateObjectV1Request.to_json()) + +# convert the object into a dict +customer_create_object_v1_request_dict = customer_create_object_v1_request_instance.to_dict() +# create an instance of CustomerCreateObjectV1Request from a dict +customer_create_object_v1_request_from_dict = CustomerCreateObjectV1Request.from_dict(customer_create_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomerCreateObjectV1Response.md b/docs/CustomerCreateObjectV1Response.md new file mode 100644 index 000000000..29b01aa67 --- /dev/null +++ b/docs/CustomerCreateObjectV1Response.md @@ -0,0 +1,32 @@ +# CustomerCreateObjectV1Response + +Response for POST /1/object/customer + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**CustomerCreateObjectV1ResponseMPayload**](CustomerCreateObjectV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.customer_create_object_v1_response import CustomerCreateObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomerCreateObjectV1Response from a JSON string +customer_create_object_v1_response_instance = CustomerCreateObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(CustomerCreateObjectV1Response.to_json()) + +# convert the object into a dict +customer_create_object_v1_response_dict = customer_create_object_v1_response_instance.to_dict() +# create an instance of CustomerCreateObjectV1Response from a dict +customer_create_object_v1_response_from_dict = CustomerCreateObjectV1Response.from_dict(customer_create_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomerCreateObjectV1ResponseMPayload.md b/docs/CustomerCreateObjectV1ResponseMPayload.md new file mode 100644 index 000000000..a51203411 --- /dev/null +++ b/docs/CustomerCreateObjectV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# CustomerCreateObjectV1ResponseMPayload + +Payload for POST /1/object/customer + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_customer_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.customer_create_object_v1_response_m_payload import CustomerCreateObjectV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomerCreateObjectV1ResponseMPayload from a JSON string +customer_create_object_v1_response_m_payload_instance = CustomerCreateObjectV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(CustomerCreateObjectV1ResponseMPayload.to_json()) + +# convert the object into a dict +customer_create_object_v1_response_m_payload_dict = customer_create_object_v1_response_m_payload_instance.to_dict() +# create an instance of CustomerCreateObjectV1ResponseMPayload from a dict +customer_create_object_v1_response_m_payload_from_dict = CustomerCreateObjectV1ResponseMPayload.from_dict(customer_create_object_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomerGetObjectV2Response.md b/docs/CustomerGetObjectV2Response.md new file mode 100644 index 000000000..44c3cb3f5 --- /dev/null +++ b/docs/CustomerGetObjectV2Response.md @@ -0,0 +1,32 @@ +# CustomerGetObjectV2Response + +Response for GET /2/object/customer/{pkiCustomerID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**CustomerGetObjectV2ResponseMPayload**](CustomerGetObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.customer_get_object_v2_response import CustomerGetObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomerGetObjectV2Response from a JSON string +customer_get_object_v2_response_instance = CustomerGetObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(CustomerGetObjectV2Response.to_json()) + +# convert the object into a dict +customer_get_object_v2_response_dict = customer_get_object_v2_response_instance.to_dict() +# create an instance of CustomerGetObjectV2Response from a dict +customer_get_object_v2_response_from_dict = CustomerGetObjectV2Response.from_dict(customer_get_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomerGetObjectV2ResponseMPayload.md b/docs/CustomerGetObjectV2ResponseMPayload.md new file mode 100644 index 000000000..5ac6500e4 --- /dev/null +++ b/docs/CustomerGetObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# CustomerGetObjectV2ResponseMPayload + +Payload for GET /2/object/customer/{pkiCustomerID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_customer** | [**CustomerResponseCompound**](CustomerResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.customer_get_object_v2_response_m_payload import CustomerGetObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomerGetObjectV2ResponseMPayload from a JSON string +customer_get_object_v2_response_m_payload_instance = CustomerGetObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(CustomerGetObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +customer_get_object_v2_response_m_payload_dict = customer_get_object_v2_response_m_payload_instance.to_dict() +# create an instance of CustomerGetObjectV2ResponseMPayload from a dict +customer_get_object_v2_response_m_payload_from_dict = CustomerGetObjectV2ResponseMPayload.from_dict(customer_get_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomerRequest.md b/docs/CustomerRequest.md new file mode 100644 index 000000000..da06303b4 --- /dev/null +++ b/docs/CustomerRequest.md @@ -0,0 +1,80 @@ +# CustomerRequest + +A Customer Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_customer_id** | **int** | The unique ID of the Customer. | [optional] +**fki_company_id** | **int** | The unique ID of the Company | +**fki_customergroup_id** | **int** | The unique ID of the Customergroup | +**s_customer_name** | **str** | The name of the Customer | +**fki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**fki_contactcontainer_id** | **int** | The unique ID of the Contactcontainer | +**fki_image_id** | **int** | The unique ID of the Image | +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_department_id** | **int** | The unique ID of the Department | +**fki_paymentmethod_id** | **int** | The unique ID of the Paymentmethod | +**fki_electronicfundstransferbankaccount_id** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_electronicfundstransferbankaccount_id_directdebit** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_sendingmethod_id** | **int** | The unique ID of the Sendingmethod | +**fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | +**fki_attendancestatus_id** | **int** | The unique ID of the Attendancestatus | +**fki_agent_id_variableexpensechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_variableexpensechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_variableexpensechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_variableexpensechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_agent_id_supplychargechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_supplychargechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_supplychargechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_supplychargechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_invoicealternatelogo_id** | **int** | The unique ID of the Invoicealternatelogo | +**fki_synchronizationlinkserver_id** | **int** | The unique ID of the Synchronizationlinkserver | +**efki_user_id** | **int** | The unique ID of the User | [optional] +**efks_customer_code** | **str** | The code of the Customer | [optional] +**s_customer_code** | **str** | The code of the Customer | +**d_customer_fulltimeequivalent** | **str** | The fulltimeequivalent of the Customer | +**i_customer_photocopiercode** | **int** | The photocopiercode of the Customer | +**i_customer_longdistancecode** | **int** | The longdistancecode of the Customer | +**i_customer_timewindowstart** | **int** | The timewindowstart of the Customer | +**i_customer_timewindowend** | **int** | The timewindowend of the Customer | +**d_customer_minimumchargeableinterests** | **str** | The minimumchargeableinterests of the Customer | +**dt_customer_birthdate** | **str** | The birthdate of the Customer | +**dt_customer_transfer** | **str** | The transfer of the Customer | +**dt_customer_transferappointment** | **str** | The transferappointment of the Customer | +**dt_customer_transfersurvey** | **str** | The transfersurvey of the Customer | +**b_customer_isactive** | **bool** | Whether the customer is active or not | +**b_customer_variableexpensefinanced** | **bool** | Whether if it's an variableexpensefinanced | +**b_customer_variableexpensefinancedtaxes** | **bool** | Whether if it's an variableexpensefinancedtaxes | +**b_customer_supplychargefinanced** | **bool** | Whether if it's an supplychargefinanced | +**b_customer_supplychargefinancedtaxes** | **bool** | Whether if it's an supplychargefinancedtaxes | +**b_customer_attendance** | **bool** | Whether if it's an attendance | +**e_customer_type** | [**FieldECustomerType**](FieldECustomerType.md) | | +**e_customer_marketingcorrespondence** | [**FieldECustomerMarketingcorrespondence**](FieldECustomerMarketingcorrespondence.md) | | +**b_customer_blackcopycarbon** | **bool** | Whether if it's an blackcopycarbon | +**b_customer_unsubscribeinfo** | **bool** | Whether if it's an unsubscribeinfo | +**t_customer_comment** | **str** | The comment of the Customer | +**importid** | **str** | | [optional] + +## Example + +```python +from eZmaxApi.models.customer_request import CustomerRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomerRequest from a JSON string +customer_request_instance = CustomerRequest.from_json(json) +# print the JSON string representation of the object +print(CustomerRequest.to_json()) + +# convert the object into a dict +customer_request_dict = customer_request_instance.to_dict() +# create an instance of CustomerRequest from a dict +customer_request_from_dict = CustomerRequest.from_dict(customer_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomerRequestCompound.md b/docs/CustomerRequestCompound.md new file mode 100644 index 000000000..8c9ff4c4e --- /dev/null +++ b/docs/CustomerRequestCompound.md @@ -0,0 +1,80 @@ +# CustomerRequestCompound + +A Customer Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_customer_id** | **int** | The unique ID of the Customer. | [optional] +**fki_company_id** | **int** | The unique ID of the Company | +**fki_customergroup_id** | **int** | The unique ID of the Customergroup | +**s_customer_name** | **str** | The name of the Customer | +**fki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**fki_contactcontainer_id** | **int** | The unique ID of the Contactcontainer | +**fki_image_id** | **int** | The unique ID of the Image | +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_department_id** | **int** | The unique ID of the Department | +**fki_paymentmethod_id** | **int** | The unique ID of the Paymentmethod | +**fki_electronicfundstransferbankaccount_id** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_electronicfundstransferbankaccount_id_directdebit** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_sendingmethod_id** | **int** | The unique ID of the Sendingmethod | +**fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | +**fki_attendancestatus_id** | **int** | The unique ID of the Attendancestatus | +**fki_agent_id_variableexpensechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_variableexpensechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_variableexpensechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_variableexpensechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_agent_id_supplychargechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_supplychargechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_supplychargechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_supplychargechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_invoicealternatelogo_id** | **int** | The unique ID of the Invoicealternatelogo | +**fki_synchronizationlinkserver_id** | **int** | The unique ID of the Synchronizationlinkserver | +**efki_user_id** | **int** | The unique ID of the User | [optional] +**efks_customer_code** | **str** | The code of the Customer | [optional] +**s_customer_code** | **str** | The code of the Customer | +**d_customer_fulltimeequivalent** | **str** | The fulltimeequivalent of the Customer | +**i_customer_photocopiercode** | **int** | The photocopiercode of the Customer | +**i_customer_longdistancecode** | **int** | The longdistancecode of the Customer | +**i_customer_timewindowstart** | **int** | The timewindowstart of the Customer | +**i_customer_timewindowend** | **int** | The timewindowend of the Customer | +**d_customer_minimumchargeableinterests** | **str** | The minimumchargeableinterests of the Customer | +**dt_customer_birthdate** | **str** | The birthdate of the Customer | +**dt_customer_transfer** | **str** | The transfer of the Customer | +**dt_customer_transferappointment** | **str** | The transferappointment of the Customer | +**dt_customer_transfersurvey** | **str** | The transfersurvey of the Customer | +**b_customer_isactive** | **bool** | Whether the customer is active or not | +**b_customer_variableexpensefinanced** | **bool** | Whether if it's an variableexpensefinanced | +**b_customer_variableexpensefinancedtaxes** | **bool** | Whether if it's an variableexpensefinancedtaxes | +**b_customer_supplychargefinanced** | **bool** | Whether if it's an supplychargefinanced | +**b_customer_supplychargefinancedtaxes** | **bool** | Whether if it's an supplychargefinancedtaxes | +**b_customer_attendance** | **bool** | Whether if it's an attendance | +**e_customer_type** | [**FieldECustomerType**](FieldECustomerType.md) | | +**e_customer_marketingcorrespondence** | [**FieldECustomerMarketingcorrespondence**](FieldECustomerMarketingcorrespondence.md) | | +**b_customer_blackcopycarbon** | **bool** | Whether if it's an blackcopycarbon | +**b_customer_unsubscribeinfo** | **bool** | Whether if it's an unsubscribeinfo | +**t_customer_comment** | **str** | The comment of the Customer | +**importid** | **str** | | [optional] + +## Example + +```python +from eZmaxApi.models.customer_request_compound import CustomerRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomerRequestCompound from a JSON string +customer_request_compound_instance = CustomerRequestCompound.from_json(json) +# print the JSON string representation of the object +print(CustomerRequestCompound.to_json()) + +# convert the object into a dict +customer_request_compound_dict = customer_request_compound_instance.to_dict() +# create an instance of CustomerRequestCompound from a dict +customer_request_compound_from_dict = CustomerRequestCompound.from_dict(customer_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomerResponse.md b/docs/CustomerResponse.md new file mode 100644 index 000000000..6775cbf28 --- /dev/null +++ b/docs/CustomerResponse.md @@ -0,0 +1,80 @@ +# CustomerResponse + +A Customer Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_customer_id** | **int** | The unique ID of the Customer. | +**fki_company_id** | **int** | The unique ID of the Company | +**fki_customergroup_id** | **int** | The unique ID of the Customergroup | +**s_customer_name** | **str** | The name of the Customer | +**fki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**fki_contactcontainer_id** | **int** | The unique ID of the Contactcontainer | +**fki_image_id** | **int** | The unique ID of the Image | +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_department_id** | **int** | The unique ID of the Department | +**fki_paymentmethod_id** | **int** | The unique ID of the Paymentmethod | +**fki_electronicfundstransferbankaccount_id** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_electronicfundstransferbankaccount_id_directdebit** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_sendingmethod_id** | **int** | The unique ID of the Sendingmethod | +**fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | +**fki_attendancestatus_id** | **int** | The unique ID of the Attendancestatus | +**fki_agent_id_variableexpensechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_variableexpensechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_variableexpensechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_variableexpensechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_agent_id_supplychargechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_supplychargechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_supplychargechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_supplychargechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_invoicealternatelogo_id** | **int** | The unique ID of the Invoicealternatelogo | +**fki_synchronizationlinkserver_id** | **int** | The unique ID of the Synchronizationlinkserver | +**efki_user_id** | **int** | The unique ID of the User | [optional] +**efks_customer_code** | **str** | The code of the Customer | [optional] +**s_customer_code** | **str** | The code of the Customer | +**d_customer_fulltimeequivalent** | **str** | The fulltimeequivalent of the Customer | +**i_customer_photocopiercode** | **int** | The photocopiercode of the Customer | +**i_customer_longdistancecode** | **int** | The longdistancecode of the Customer | +**i_customer_timewindowstart** | **int** | The timewindowstart of the Customer | +**i_customer_timewindowend** | **int** | The timewindowend of the Customer | +**d_customer_minimumchargeableinterests** | **str** | The minimumchargeableinterests of the Customer | +**dt_customer_birthdate** | **str** | The birthdate of the Customer | +**dt_customer_transfer** | **str** | The transfer of the Customer | +**dt_customer_transferappointment** | **str** | The transferappointment of the Customer | +**dt_customer_transfersurvey** | **str** | The transfersurvey of the Customer | +**b_customer_isactive** | **bool** | Whether the customer is active or not | +**b_customer_variableexpensefinanced** | **bool** | Whether if it's an variableexpensefinanced | +**b_customer_variableexpensefinancedtaxes** | **bool** | Whether if it's an variableexpensefinancedtaxes | +**b_customer_supplychargefinanced** | **bool** | Whether if it's an supplychargefinanced | +**b_customer_supplychargefinancedtaxes** | **bool** | Whether if it's an supplychargefinancedtaxes | +**b_customer_attendance** | **bool** | Whether if it's an attendance | +**e_customer_type** | [**FieldECustomerType**](FieldECustomerType.md) | | +**e_customer_marketingcorrespondence** | [**FieldECustomerMarketingcorrespondence**](FieldECustomerMarketingcorrespondence.md) | | +**b_customer_blackcopycarbon** | **bool** | Whether if it's an blackcopycarbon | +**b_customer_unsubscribeinfo** | **bool** | Whether if it's an unsubscribeinfo | +**t_customer_comment** | **str** | The comment of the Customer | +**importid** | **str** | | [optional] + +## Example + +```python +from eZmaxApi.models.customer_response import CustomerResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomerResponse from a JSON string +customer_response_instance = CustomerResponse.from_json(json) +# print the JSON string representation of the object +print(CustomerResponse.to_json()) + +# convert the object into a dict +customer_response_dict = customer_response_instance.to_dict() +# create an instance of CustomerResponse from a dict +customer_response_from_dict = CustomerResponse.from_dict(customer_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomerResponseCompound.md b/docs/CustomerResponseCompound.md new file mode 100644 index 000000000..61ce213f4 --- /dev/null +++ b/docs/CustomerResponseCompound.md @@ -0,0 +1,80 @@ +# CustomerResponseCompound + +A Customer Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_customer_id** | **int** | The unique ID of the Customer. | +**fki_company_id** | **int** | The unique ID of the Company | +**fki_customergroup_id** | **int** | The unique ID of the Customergroup | +**s_customer_name** | **str** | The name of the Customer | +**fki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**fki_contactcontainer_id** | **int** | The unique ID of the Contactcontainer | +**fki_image_id** | **int** | The unique ID of the Image | +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_department_id** | **int** | The unique ID of the Department | +**fki_paymentmethod_id** | **int** | The unique ID of the Paymentmethod | +**fki_electronicfundstransferbankaccount_id** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_electronicfundstransferbankaccount_id_directdebit** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_sendingmethod_id** | **int** | The unique ID of the Sendingmethod | +**fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | +**fki_attendancestatus_id** | **int** | The unique ID of the Attendancestatus | +**fki_agent_id_variableexpensechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_variableexpensechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_variableexpensechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_variableexpensechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_agent_id_supplychargechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_supplychargechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_supplychargechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_supplychargechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_invoicealternatelogo_id** | **int** | The unique ID of the Invoicealternatelogo | +**fki_synchronizationlinkserver_id** | **int** | The unique ID of the Synchronizationlinkserver | +**efki_user_id** | **int** | The unique ID of the User | [optional] +**efks_customer_code** | **str** | The code of the Customer | [optional] +**s_customer_code** | **str** | The code of the Customer | +**d_customer_fulltimeequivalent** | **str** | The fulltimeequivalent of the Customer | +**i_customer_photocopiercode** | **int** | The photocopiercode of the Customer | +**i_customer_longdistancecode** | **int** | The longdistancecode of the Customer | +**i_customer_timewindowstart** | **int** | The timewindowstart of the Customer | +**i_customer_timewindowend** | **int** | The timewindowend of the Customer | +**d_customer_minimumchargeableinterests** | **str** | The minimumchargeableinterests of the Customer | +**dt_customer_birthdate** | **str** | The birthdate of the Customer | +**dt_customer_transfer** | **str** | The transfer of the Customer | +**dt_customer_transferappointment** | **str** | The transferappointment of the Customer | +**dt_customer_transfersurvey** | **str** | The transfersurvey of the Customer | +**b_customer_isactive** | **bool** | Whether the customer is active or not | +**b_customer_variableexpensefinanced** | **bool** | Whether if it's an variableexpensefinanced | +**b_customer_variableexpensefinancedtaxes** | **bool** | Whether if it's an variableexpensefinancedtaxes | +**b_customer_supplychargefinanced** | **bool** | Whether if it's an supplychargefinanced | +**b_customer_supplychargefinancedtaxes** | **bool** | Whether if it's an supplychargefinancedtaxes | +**b_customer_attendance** | **bool** | Whether if it's an attendance | +**e_customer_type** | [**FieldECustomerType**](FieldECustomerType.md) | | +**e_customer_marketingcorrespondence** | [**FieldECustomerMarketingcorrespondence**](FieldECustomerMarketingcorrespondence.md) | | +**b_customer_blackcopycarbon** | **bool** | Whether if it's an blackcopycarbon | +**b_customer_unsubscribeinfo** | **bool** | Whether if it's an unsubscribeinfo | +**t_customer_comment** | **str** | The comment of the Customer | +**importid** | **str** | | [optional] + +## Example + +```python +from eZmaxApi.models.customer_response_compound import CustomerResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomerResponseCompound from a JSON string +customer_response_compound_instance = CustomerResponseCompound.from_json(json) +# print the JSON string representation of the object +print(CustomerResponseCompound.to_json()) + +# convert the object into a dict +customer_response_compound_dict = customer_response_compound_instance.to_dict() +# create an instance of CustomerResponseCompound from a dict +customer_response_compound_from_dict = CustomerResponseCompound.from_dict(customer_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DepartmentAutocompleteElementResponse.md b/docs/DepartmentAutocompleteElementResponse.md index f392cfc0b..305848042 100644 --- a/docs/DepartmentAutocompleteElementResponse.md +++ b/docs/DepartmentAutocompleteElementResponse.md @@ -26,7 +26,7 @@ print(DepartmentAutocompleteElementResponse.to_json()) # convert the object into a dict department_autocomplete_element_response_dict = department_autocomplete_element_response_instance.to_dict() # create an instance of DepartmentAutocompleteElementResponse from a dict -department_autocomplete_element_response_form_dict = department_autocomplete_element_response.from_dict(department_autocomplete_element_response_dict) +department_autocomplete_element_response_from_dict = DepartmentAutocompleteElementResponse.from_dict(department_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DepartmentGetAutocompleteV2Response.md b/docs/DepartmentGetAutocompleteV2Response.md index aa9d4a2b3..85fbb542f 100644 --- a/docs/DepartmentGetAutocompleteV2Response.md +++ b/docs/DepartmentGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(DepartmentGetAutocompleteV2Response.to_json()) # convert the object into a dict department_get_autocomplete_v2_response_dict = department_get_autocomplete_v2_response_instance.to_dict() # create an instance of DepartmentGetAutocompleteV2Response from a dict -department_get_autocomplete_v2_response_form_dict = department_get_autocomplete_v2_response.from_dict(department_get_autocomplete_v2_response_dict) +department_get_autocomplete_v2_response_from_dict = DepartmentGetAutocompleteV2Response.from_dict(department_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DepartmentGetAutocompleteV2ResponseMPayload.md b/docs/DepartmentGetAutocompleteV2ResponseMPayload.md index 2f13ccfc9..9184c50be 100644 --- a/docs/DepartmentGetAutocompleteV2ResponseMPayload.md +++ b/docs/DepartmentGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(DepartmentGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict department_get_autocomplete_v2_response_m_payload_dict = department_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of DepartmentGetAutocompleteV2ResponseMPayload from a dict -department_get_autocomplete_v2_response_m_payload_form_dict = department_get_autocomplete_v2_response_m_payload.from_dict(department_get_autocomplete_v2_response_m_payload_dict) +department_get_autocomplete_v2_response_m_payload_from_dict = DepartmentGetAutocompleteV2ResponseMPayload.from_dict(department_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionCreateObjectV1Request.md b/docs/DiscussionCreateObjectV1Request.md index 26e2b6dff..4cfc6dc1d 100644 --- a/docs/DiscussionCreateObjectV1Request.md +++ b/docs/DiscussionCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(DiscussionCreateObjectV1Request.to_json()) # convert the object into a dict discussion_create_object_v1_request_dict = discussion_create_object_v1_request_instance.to_dict() # create an instance of DiscussionCreateObjectV1Request from a dict -discussion_create_object_v1_request_form_dict = discussion_create_object_v1_request.from_dict(discussion_create_object_v1_request_dict) +discussion_create_object_v1_request_from_dict = DiscussionCreateObjectV1Request.from_dict(discussion_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionCreateObjectV1Response.md b/docs/DiscussionCreateObjectV1Response.md index 25d9b3e93..e1b458425 100644 --- a/docs/DiscussionCreateObjectV1Response.md +++ b/docs/DiscussionCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(DiscussionCreateObjectV1Response.to_json()) # convert the object into a dict discussion_create_object_v1_response_dict = discussion_create_object_v1_response_instance.to_dict() # create an instance of DiscussionCreateObjectV1Response from a dict -discussion_create_object_v1_response_form_dict = discussion_create_object_v1_response.from_dict(discussion_create_object_v1_response_dict) +discussion_create_object_v1_response_from_dict = DiscussionCreateObjectV1Response.from_dict(discussion_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionCreateObjectV1ResponseMPayload.md b/docs/DiscussionCreateObjectV1ResponseMPayload.md index a583cb2ba..00646a7c1 100644 --- a/docs/DiscussionCreateObjectV1ResponseMPayload.md +++ b/docs/DiscussionCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(DiscussionCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict discussion_create_object_v1_response_m_payload_dict = discussion_create_object_v1_response_m_payload_instance.to_dict() # create an instance of DiscussionCreateObjectV1ResponseMPayload from a dict -discussion_create_object_v1_response_m_payload_form_dict = discussion_create_object_v1_response_m_payload.from_dict(discussion_create_object_v1_response_m_payload_dict) +discussion_create_object_v1_response_m_payload_from_dict = DiscussionCreateObjectV1ResponseMPayload.from_dict(discussion_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionDeleteObjectV1Response.md b/docs/DiscussionDeleteObjectV1Response.md index c56d96e47..cca2f4c50 100644 --- a/docs/DiscussionDeleteObjectV1Response.md +++ b/docs/DiscussionDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(DiscussionDeleteObjectV1Response.to_json()) # convert the object into a dict discussion_delete_object_v1_response_dict = discussion_delete_object_v1_response_instance.to_dict() # create an instance of DiscussionDeleteObjectV1Response from a dict -discussion_delete_object_v1_response_form_dict = discussion_delete_object_v1_response.from_dict(discussion_delete_object_v1_response_dict) +discussion_delete_object_v1_response_from_dict = DiscussionDeleteObjectV1Response.from_dict(discussion_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionGetObjectV2Response.md b/docs/DiscussionGetObjectV2Response.md index 7108bb688..0e371f4e3 100644 --- a/docs/DiscussionGetObjectV2Response.md +++ b/docs/DiscussionGetObjectV2Response.md @@ -25,7 +25,7 @@ print(DiscussionGetObjectV2Response.to_json()) # convert the object into a dict discussion_get_object_v2_response_dict = discussion_get_object_v2_response_instance.to_dict() # create an instance of DiscussionGetObjectV2Response from a dict -discussion_get_object_v2_response_form_dict = discussion_get_object_v2_response.from_dict(discussion_get_object_v2_response_dict) +discussion_get_object_v2_response_from_dict = DiscussionGetObjectV2Response.from_dict(discussion_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionGetObjectV2ResponseMPayload.md b/docs/DiscussionGetObjectV2ResponseMPayload.md index b6b531b57..67f9f430e 100644 --- a/docs/DiscussionGetObjectV2ResponseMPayload.md +++ b/docs/DiscussionGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(DiscussionGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict discussion_get_object_v2_response_m_payload_dict = discussion_get_object_v2_response_m_payload_instance.to_dict() # create an instance of DiscussionGetObjectV2ResponseMPayload from a dict -discussion_get_object_v2_response_m_payload_form_dict = discussion_get_object_v2_response_m_payload.from_dict(discussion_get_object_v2_response_m_payload_dict) +discussion_get_object_v2_response_m_payload_from_dict = DiscussionGetObjectV2ResponseMPayload.from_dict(discussion_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionPatchObjectV1Request.md b/docs/DiscussionPatchObjectV1Request.md index b6010e6dd..6e768578d 100644 --- a/docs/DiscussionPatchObjectV1Request.md +++ b/docs/DiscussionPatchObjectV1Request.md @@ -23,7 +23,7 @@ print(DiscussionPatchObjectV1Request.to_json()) # convert the object into a dict discussion_patch_object_v1_request_dict = discussion_patch_object_v1_request_instance.to_dict() # create an instance of DiscussionPatchObjectV1Request from a dict -discussion_patch_object_v1_request_form_dict = discussion_patch_object_v1_request.from_dict(discussion_patch_object_v1_request_dict) +discussion_patch_object_v1_request_from_dict = DiscussionPatchObjectV1Request.from_dict(discussion_patch_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionPatchObjectV1Response.md b/docs/DiscussionPatchObjectV1Response.md index 5d7de3cf2..daa9f3fb6 100644 --- a/docs/DiscussionPatchObjectV1Response.md +++ b/docs/DiscussionPatchObjectV1Response.md @@ -24,7 +24,7 @@ print(DiscussionPatchObjectV1Response.to_json()) # convert the object into a dict discussion_patch_object_v1_response_dict = discussion_patch_object_v1_response_instance.to_dict() # create an instance of DiscussionPatchObjectV1Response from a dict -discussion_patch_object_v1_response_form_dict = discussion_patch_object_v1_response.from_dict(discussion_patch_object_v1_response_dict) +discussion_patch_object_v1_response_from_dict = DiscussionPatchObjectV1Response.from_dict(discussion_patch_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionRequest.md b/docs/DiscussionRequest.md index c37192d3d..8e0bc6493 100644 --- a/docs/DiscussionRequest.md +++ b/docs/DiscussionRequest.md @@ -25,7 +25,7 @@ print(DiscussionRequest.to_json()) # convert the object into a dict discussion_request_dict = discussion_request_instance.to_dict() # create an instance of DiscussionRequest from a dict -discussion_request_form_dict = discussion_request.from_dict(discussion_request_dict) +discussion_request_from_dict = DiscussionRequest.from_dict(discussion_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionRequestCompound.md b/docs/DiscussionRequestCompound.md index 7b307c032..1b6f10e38 100644 --- a/docs/DiscussionRequestCompound.md +++ b/docs/DiscussionRequestCompound.md @@ -25,7 +25,7 @@ print(DiscussionRequestCompound.to_json()) # convert the object into a dict discussion_request_compound_dict = discussion_request_compound_instance.to_dict() # create an instance of DiscussionRequestCompound from a dict -discussion_request_compound_form_dict = discussion_request_compound.from_dict(discussion_request_compound_dict) +discussion_request_compound_from_dict = DiscussionRequestCompound.from_dict(discussion_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionRequestPatch.md b/docs/DiscussionRequestPatch.md index 46a2d36db..72cbcf366 100644 --- a/docs/DiscussionRequestPatch.md +++ b/docs/DiscussionRequestPatch.md @@ -24,7 +24,7 @@ print(DiscussionRequestPatch.to_json()) # convert the object into a dict discussion_request_patch_dict = discussion_request_patch_instance.to_dict() # create an instance of DiscussionRequestPatch from a dict -discussion_request_patch_form_dict = discussion_request_patch.from_dict(discussion_request_patch_dict) +discussion_request_patch_from_dict = DiscussionRequestPatch.from_dict(discussion_request_patch_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionResponse.md b/docs/DiscussionResponse.md index 56a64ba38..2da888bfd 100644 --- a/docs/DiscussionResponse.md +++ b/docs/DiscussionResponse.md @@ -29,7 +29,7 @@ print(DiscussionResponse.to_json()) # convert the object into a dict discussion_response_dict = discussion_response_instance.to_dict() # create an instance of DiscussionResponse from a dict -discussion_response_form_dict = discussion_response.from_dict(discussion_response_dict) +discussion_response_from_dict = DiscussionResponse.from_dict(discussion_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionResponseCompound.md b/docs/DiscussionResponseCompound.md index 134bf66d4..8c439e463 100644 --- a/docs/DiscussionResponseCompound.md +++ b/docs/DiscussionResponseCompound.md @@ -31,7 +31,7 @@ print(DiscussionResponseCompound.to_json()) # convert the object into a dict discussion_response_compound_dict = discussion_response_compound_instance.to_dict() # create an instance of DiscussionResponseCompound from a dict -discussion_response_compound_form_dict = discussion_response_compound.from_dict(discussion_response_compound_dict) +discussion_response_compound_from_dict = DiscussionResponseCompound.from_dict(discussion_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionUpdateDiscussionreadstatusV1Request.md b/docs/DiscussionUpdateDiscussionreadstatusV1Request.md index 30e9f40da..3d873b586 100644 --- a/docs/DiscussionUpdateDiscussionreadstatusV1Request.md +++ b/docs/DiscussionUpdateDiscussionreadstatusV1Request.md @@ -23,7 +23,7 @@ print(DiscussionUpdateDiscussionreadstatusV1Request.to_json()) # convert the object into a dict discussion_update_discussionreadstatus_v1_request_dict = discussion_update_discussionreadstatus_v1_request_instance.to_dict() # create an instance of DiscussionUpdateDiscussionreadstatusV1Request from a dict -discussion_update_discussionreadstatus_v1_request_form_dict = discussion_update_discussionreadstatus_v1_request.from_dict(discussion_update_discussionreadstatus_v1_request_dict) +discussion_update_discussionreadstatus_v1_request_from_dict = DiscussionUpdateDiscussionreadstatusV1Request.from_dict(discussion_update_discussionreadstatus_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionUpdateDiscussionreadstatusV1Response.md b/docs/DiscussionUpdateDiscussionreadstatusV1Response.md index 84f4c6382..74684c787 100644 --- a/docs/DiscussionUpdateDiscussionreadstatusV1Response.md +++ b/docs/DiscussionUpdateDiscussionreadstatusV1Response.md @@ -24,7 +24,7 @@ print(DiscussionUpdateDiscussionreadstatusV1Response.to_json()) # convert the object into a dict discussion_update_discussionreadstatus_v1_response_dict = discussion_update_discussionreadstatus_v1_response_instance.to_dict() # create an instance of DiscussionUpdateDiscussionreadstatusV1Response from a dict -discussion_update_discussionreadstatus_v1_response_form_dict = discussion_update_discussionreadstatus_v1_response.from_dict(discussion_update_discussionreadstatus_v1_response_dict) +discussion_update_discussionreadstatus_v1_response_from_dict = DiscussionUpdateDiscussionreadstatusV1Response.from_dict(discussion_update_discussionreadstatus_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmembershipCreateObjectV1Request.md b/docs/DiscussionmembershipCreateObjectV1Request.md index f94aed9b3..bb0895df4 100644 --- a/docs/DiscussionmembershipCreateObjectV1Request.md +++ b/docs/DiscussionmembershipCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(DiscussionmembershipCreateObjectV1Request.to_json()) # convert the object into a dict discussionmembership_create_object_v1_request_dict = discussionmembership_create_object_v1_request_instance.to_dict() # create an instance of DiscussionmembershipCreateObjectV1Request from a dict -discussionmembership_create_object_v1_request_form_dict = discussionmembership_create_object_v1_request.from_dict(discussionmembership_create_object_v1_request_dict) +discussionmembership_create_object_v1_request_from_dict = DiscussionmembershipCreateObjectV1Request.from_dict(discussionmembership_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmembershipCreateObjectV1Response.md b/docs/DiscussionmembershipCreateObjectV1Response.md index 49a408482..fee33a7b1 100644 --- a/docs/DiscussionmembershipCreateObjectV1Response.md +++ b/docs/DiscussionmembershipCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(DiscussionmembershipCreateObjectV1Response.to_json()) # convert the object into a dict discussionmembership_create_object_v1_response_dict = discussionmembership_create_object_v1_response_instance.to_dict() # create an instance of DiscussionmembershipCreateObjectV1Response from a dict -discussionmembership_create_object_v1_response_form_dict = discussionmembership_create_object_v1_response.from_dict(discussionmembership_create_object_v1_response_dict) +discussionmembership_create_object_v1_response_from_dict = DiscussionmembershipCreateObjectV1Response.from_dict(discussionmembership_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmembershipCreateObjectV1ResponseMPayload.md b/docs/DiscussionmembershipCreateObjectV1ResponseMPayload.md index d771fc43d..1529c53e9 100644 --- a/docs/DiscussionmembershipCreateObjectV1ResponseMPayload.md +++ b/docs/DiscussionmembershipCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(DiscussionmembershipCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict discussionmembership_create_object_v1_response_m_payload_dict = discussionmembership_create_object_v1_response_m_payload_instance.to_dict() # create an instance of DiscussionmembershipCreateObjectV1ResponseMPayload from a dict -discussionmembership_create_object_v1_response_m_payload_form_dict = discussionmembership_create_object_v1_response_m_payload.from_dict(discussionmembership_create_object_v1_response_m_payload_dict) +discussionmembership_create_object_v1_response_m_payload_from_dict = DiscussionmembershipCreateObjectV1ResponseMPayload.from_dict(discussionmembership_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmembershipDeleteObjectV1Response.md b/docs/DiscussionmembershipDeleteObjectV1Response.md index 9d86d3dbc..7c18becfa 100644 --- a/docs/DiscussionmembershipDeleteObjectV1Response.md +++ b/docs/DiscussionmembershipDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(DiscussionmembershipDeleteObjectV1Response.to_json()) # convert the object into a dict discussionmembership_delete_object_v1_response_dict = discussionmembership_delete_object_v1_response_instance.to_dict() # create an instance of DiscussionmembershipDeleteObjectV1Response from a dict -discussionmembership_delete_object_v1_response_form_dict = discussionmembership_delete_object_v1_response.from_dict(discussionmembership_delete_object_v1_response_dict) +discussionmembership_delete_object_v1_response_from_dict = DiscussionmembershipDeleteObjectV1Response.from_dict(discussionmembership_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmembershipRequest.md b/docs/DiscussionmembershipRequest.md index 351a19a36..e3e2d5944 100644 --- a/docs/DiscussionmembershipRequest.md +++ b/docs/DiscussionmembershipRequest.md @@ -28,7 +28,7 @@ print(DiscussionmembershipRequest.to_json()) # convert the object into a dict discussionmembership_request_dict = discussionmembership_request_instance.to_dict() # create an instance of DiscussionmembershipRequest from a dict -discussionmembership_request_form_dict = discussionmembership_request.from_dict(discussionmembership_request_dict) +discussionmembership_request_from_dict = DiscussionmembershipRequest.from_dict(discussionmembership_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmembershipRequestCompound.md b/docs/DiscussionmembershipRequestCompound.md index 39c79a617..fb567b697 100644 --- a/docs/DiscussionmembershipRequestCompound.md +++ b/docs/DiscussionmembershipRequestCompound.md @@ -28,7 +28,7 @@ print(DiscussionmembershipRequestCompound.to_json()) # convert the object into a dict discussionmembership_request_compound_dict = discussionmembership_request_compound_instance.to_dict() # create an instance of DiscussionmembershipRequestCompound from a dict -discussionmembership_request_compound_form_dict = discussionmembership_request_compound.from_dict(discussionmembership_request_compound_dict) +discussionmembership_request_compound_from_dict = DiscussionmembershipRequestCompound.from_dict(discussionmembership_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmembershipResponse.md b/docs/DiscussionmembershipResponse.md index 43e0b49da..5f5fcba77 100644 --- a/docs/DiscussionmembershipResponse.md +++ b/docs/DiscussionmembershipResponse.md @@ -29,7 +29,7 @@ print(DiscussionmembershipResponse.to_json()) # convert the object into a dict discussionmembership_response_dict = discussionmembership_response_instance.to_dict() # create an instance of DiscussionmembershipResponse from a dict -discussionmembership_response_form_dict = discussionmembership_response.from_dict(discussionmembership_response_dict) +discussionmembership_response_from_dict = DiscussionmembershipResponse.from_dict(discussionmembership_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmembershipResponseCompound.md b/docs/DiscussionmembershipResponseCompound.md index 0ca91eab8..4f5c5eeaa 100644 --- a/docs/DiscussionmembershipResponseCompound.md +++ b/docs/DiscussionmembershipResponseCompound.md @@ -29,7 +29,7 @@ print(DiscussionmembershipResponseCompound.to_json()) # convert the object into a dict discussionmembership_response_compound_dict = discussionmembership_response_compound_instance.to_dict() # create an instance of DiscussionmembershipResponseCompound from a dict -discussionmembership_response_compound_form_dict = discussionmembership_response_compound.from_dict(discussionmembership_response_compound_dict) +discussionmembership_response_compound_from_dict = DiscussionmembershipResponseCompound.from_dict(discussionmembership_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessageCreateObjectV1Request.md b/docs/DiscussionmessageCreateObjectV1Request.md index c09a2f18c..9282b0414 100644 --- a/docs/DiscussionmessageCreateObjectV1Request.md +++ b/docs/DiscussionmessageCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(DiscussionmessageCreateObjectV1Request.to_json()) # convert the object into a dict discussionmessage_create_object_v1_request_dict = discussionmessage_create_object_v1_request_instance.to_dict() # create an instance of DiscussionmessageCreateObjectV1Request from a dict -discussionmessage_create_object_v1_request_form_dict = discussionmessage_create_object_v1_request.from_dict(discussionmessage_create_object_v1_request_dict) +discussionmessage_create_object_v1_request_from_dict = DiscussionmessageCreateObjectV1Request.from_dict(discussionmessage_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessageCreateObjectV1Response.md b/docs/DiscussionmessageCreateObjectV1Response.md index 17445ff55..1df387489 100644 --- a/docs/DiscussionmessageCreateObjectV1Response.md +++ b/docs/DiscussionmessageCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(DiscussionmessageCreateObjectV1Response.to_json()) # convert the object into a dict discussionmessage_create_object_v1_response_dict = discussionmessage_create_object_v1_response_instance.to_dict() # create an instance of DiscussionmessageCreateObjectV1Response from a dict -discussionmessage_create_object_v1_response_form_dict = discussionmessage_create_object_v1_response.from_dict(discussionmessage_create_object_v1_response_dict) +discussionmessage_create_object_v1_response_from_dict = DiscussionmessageCreateObjectV1Response.from_dict(discussionmessage_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessageCreateObjectV1ResponseMPayload.md b/docs/DiscussionmessageCreateObjectV1ResponseMPayload.md index 47906b726..8e5debfee 100644 --- a/docs/DiscussionmessageCreateObjectV1ResponseMPayload.md +++ b/docs/DiscussionmessageCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(DiscussionmessageCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict discussionmessage_create_object_v1_response_m_payload_dict = discussionmessage_create_object_v1_response_m_payload_instance.to_dict() # create an instance of DiscussionmessageCreateObjectV1ResponseMPayload from a dict -discussionmessage_create_object_v1_response_m_payload_form_dict = discussionmessage_create_object_v1_response_m_payload.from_dict(discussionmessage_create_object_v1_response_m_payload_dict) +discussionmessage_create_object_v1_response_m_payload_from_dict = DiscussionmessageCreateObjectV1ResponseMPayload.from_dict(discussionmessage_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessageDeleteObjectV1Response.md b/docs/DiscussionmessageDeleteObjectV1Response.md index d09535014..54adfa14f 100644 --- a/docs/DiscussionmessageDeleteObjectV1Response.md +++ b/docs/DiscussionmessageDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(DiscussionmessageDeleteObjectV1Response.to_json()) # convert the object into a dict discussionmessage_delete_object_v1_response_dict = discussionmessage_delete_object_v1_response_instance.to_dict() # create an instance of DiscussionmessageDeleteObjectV1Response from a dict -discussionmessage_delete_object_v1_response_form_dict = discussionmessage_delete_object_v1_response.from_dict(discussionmessage_delete_object_v1_response_dict) +discussionmessage_delete_object_v1_response_from_dict = DiscussionmessageDeleteObjectV1Response.from_dict(discussionmessage_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessagePatchObjectV1Request.md b/docs/DiscussionmessagePatchObjectV1Request.md index b75957f80..b1593eb47 100644 --- a/docs/DiscussionmessagePatchObjectV1Request.md +++ b/docs/DiscussionmessagePatchObjectV1Request.md @@ -23,7 +23,7 @@ print(DiscussionmessagePatchObjectV1Request.to_json()) # convert the object into a dict discussionmessage_patch_object_v1_request_dict = discussionmessage_patch_object_v1_request_instance.to_dict() # create an instance of DiscussionmessagePatchObjectV1Request from a dict -discussionmessage_patch_object_v1_request_form_dict = discussionmessage_patch_object_v1_request.from_dict(discussionmessage_patch_object_v1_request_dict) +discussionmessage_patch_object_v1_request_from_dict = DiscussionmessagePatchObjectV1Request.from_dict(discussionmessage_patch_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessagePatchObjectV1Response.md b/docs/DiscussionmessagePatchObjectV1Response.md index bd637d7d8..009c9ed1f 100644 --- a/docs/DiscussionmessagePatchObjectV1Response.md +++ b/docs/DiscussionmessagePatchObjectV1Response.md @@ -24,7 +24,7 @@ print(DiscussionmessagePatchObjectV1Response.to_json()) # convert the object into a dict discussionmessage_patch_object_v1_response_dict = discussionmessage_patch_object_v1_response_instance.to_dict() # create an instance of DiscussionmessagePatchObjectV1Response from a dict -discussionmessage_patch_object_v1_response_form_dict = discussionmessage_patch_object_v1_response.from_dict(discussionmessage_patch_object_v1_response_dict) +discussionmessage_patch_object_v1_response_from_dict = DiscussionmessagePatchObjectV1Response.from_dict(discussionmessage_patch_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessageRequest.md b/docs/DiscussionmessageRequest.md index 1cb1a7d40..18d488688 100644 --- a/docs/DiscussionmessageRequest.md +++ b/docs/DiscussionmessageRequest.md @@ -26,7 +26,7 @@ print(DiscussionmessageRequest.to_json()) # convert the object into a dict discussionmessage_request_dict = discussionmessage_request_instance.to_dict() # create an instance of DiscussionmessageRequest from a dict -discussionmessage_request_form_dict = discussionmessage_request.from_dict(discussionmessage_request_dict) +discussionmessage_request_from_dict = DiscussionmessageRequest.from_dict(discussionmessage_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessageRequestCompound.md b/docs/DiscussionmessageRequestCompound.md index 840b0fc33..ae5c3cf7b 100644 --- a/docs/DiscussionmessageRequestCompound.md +++ b/docs/DiscussionmessageRequestCompound.md @@ -26,7 +26,7 @@ print(DiscussionmessageRequestCompound.to_json()) # convert the object into a dict discussionmessage_request_compound_dict = discussionmessage_request_compound_instance.to_dict() # create an instance of DiscussionmessageRequestCompound from a dict -discussionmessage_request_compound_form_dict = discussionmessage_request_compound.from_dict(discussionmessage_request_compound_dict) +discussionmessage_request_compound_from_dict = DiscussionmessageRequestCompound.from_dict(discussionmessage_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessageRequestPatch.md b/docs/DiscussionmessageRequestPatch.md index 0d3319eea..5cce57bd1 100644 --- a/docs/DiscussionmessageRequestPatch.md +++ b/docs/DiscussionmessageRequestPatch.md @@ -24,7 +24,7 @@ print(DiscussionmessageRequestPatch.to_json()) # convert the object into a dict discussionmessage_request_patch_dict = discussionmessage_request_patch_instance.to_dict() # create an instance of DiscussionmessageRequestPatch from a dict -discussionmessage_request_patch_form_dict = discussionmessage_request_patch.from_dict(discussionmessage_request_patch_dict) +discussionmessage_request_patch_from_dict = DiscussionmessageRequestPatch.from_dict(discussionmessage_request_patch_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessageResponse.md b/docs/DiscussionmessageResponse.md index f9dcadd27..c057320bb 100644 --- a/docs/DiscussionmessageResponse.md +++ b/docs/DiscussionmessageResponse.md @@ -31,7 +31,7 @@ print(DiscussionmessageResponse.to_json()) # convert the object into a dict discussionmessage_response_dict = discussionmessage_response_instance.to_dict() # create an instance of DiscussionmessageResponse from a dict -discussionmessage_response_form_dict = discussionmessage_response.from_dict(discussionmessage_response_dict) +discussionmessage_response_from_dict = DiscussionmessageResponse.from_dict(discussionmessage_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DiscussionmessageResponseCompound.md b/docs/DiscussionmessageResponseCompound.md index 353d42748..870e484ad 100644 --- a/docs/DiscussionmessageResponseCompound.md +++ b/docs/DiscussionmessageResponseCompound.md @@ -31,7 +31,7 @@ print(DiscussionmessageResponseCompound.to_json()) # convert the object into a dict discussionmessage_response_compound_dict = discussionmessage_response_compound_instance.to_dict() # create an instance of DiscussionmessageResponseCompound from a dict -discussionmessage_response_compound_form_dict = discussionmessage_response_compound.from_dict(discussionmessage_response_compound_dict) +discussionmessage_response_compound_from_dict = DiscussionmessageResponseCompound.from_dict(discussionmessage_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DomainCreateObjectV1Request.md b/docs/DomainCreateObjectV1Request.md new file mode 100644 index 000000000..f6832c92e --- /dev/null +++ b/docs/DomainCreateObjectV1Request.md @@ -0,0 +1,30 @@ +# DomainCreateObjectV1Request + +Request for POST /1/object/domain + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_domain** | [**List[DomainRequestCompound]**](DomainRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.domain_create_object_v1_request import DomainCreateObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainCreateObjectV1Request from a JSON string +domain_create_object_v1_request_instance = DomainCreateObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(DomainCreateObjectV1Request.to_json()) + +# convert the object into a dict +domain_create_object_v1_request_dict = domain_create_object_v1_request_instance.to_dict() +# create an instance of DomainCreateObjectV1Request from a dict +domain_create_object_v1_request_from_dict = DomainCreateObjectV1Request.from_dict(domain_create_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainCreateObjectV1Response.md b/docs/DomainCreateObjectV1Response.md new file mode 100644 index 000000000..4248c34ad --- /dev/null +++ b/docs/DomainCreateObjectV1Response.md @@ -0,0 +1,32 @@ +# DomainCreateObjectV1Response + +Response for POST /1/object/domain + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**DomainCreateObjectV1ResponseMPayload**](DomainCreateObjectV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.domain_create_object_v1_response import DomainCreateObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainCreateObjectV1Response from a JSON string +domain_create_object_v1_response_instance = DomainCreateObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(DomainCreateObjectV1Response.to_json()) + +# convert the object into a dict +domain_create_object_v1_response_dict = domain_create_object_v1_response_instance.to_dict() +# create an instance of DomainCreateObjectV1Response from a dict +domain_create_object_v1_response_from_dict = DomainCreateObjectV1Response.from_dict(domain_create_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainCreateObjectV1ResponseMPayload.md b/docs/DomainCreateObjectV1ResponseMPayload.md new file mode 100644 index 000000000..105139f0a --- /dev/null +++ b/docs/DomainCreateObjectV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# DomainCreateObjectV1ResponseMPayload + +Payload for POST /1/object/domain + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_domain_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.domain_create_object_v1_response_m_payload import DomainCreateObjectV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainCreateObjectV1ResponseMPayload from a JSON string +domain_create_object_v1_response_m_payload_instance = DomainCreateObjectV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(DomainCreateObjectV1ResponseMPayload.to_json()) + +# convert the object into a dict +domain_create_object_v1_response_m_payload_dict = domain_create_object_v1_response_m_payload_instance.to_dict() +# create an instance of DomainCreateObjectV1ResponseMPayload from a dict +domain_create_object_v1_response_m_payload_from_dict = DomainCreateObjectV1ResponseMPayload.from_dict(domain_create_object_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainDeleteObjectV1Response.md b/docs/DomainDeleteObjectV1Response.md new file mode 100644 index 000000000..e5be438a3 --- /dev/null +++ b/docs/DomainDeleteObjectV1Response.md @@ -0,0 +1,31 @@ +# DomainDeleteObjectV1Response + +Response for DELETE /1/object/domain/{pkiDomainID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.domain_delete_object_v1_response import DomainDeleteObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainDeleteObjectV1Response from a JSON string +domain_delete_object_v1_response_instance = DomainDeleteObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(DomainDeleteObjectV1Response.to_json()) + +# convert the object into a dict +domain_delete_object_v1_response_dict = domain_delete_object_v1_response_instance.to_dict() +# create an instance of DomainDeleteObjectV1Response from a dict +domain_delete_object_v1_response_from_dict = DomainDeleteObjectV1Response.from_dict(domain_delete_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainGetListV1Response.md b/docs/DomainGetListV1Response.md new file mode 100644 index 000000000..0e737abc6 --- /dev/null +++ b/docs/DomainGetListV1Response.md @@ -0,0 +1,32 @@ +# DomainGetListV1Response + +Response for GET /1/object/domain/getList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**DomainGetListV1ResponseMPayload**](DomainGetListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.domain_get_list_v1_response import DomainGetListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainGetListV1Response from a JSON string +domain_get_list_v1_response_instance = DomainGetListV1Response.from_json(json) +# print the JSON string representation of the object +print(DomainGetListV1Response.to_json()) + +# convert the object into a dict +domain_get_list_v1_response_dict = domain_get_list_v1_response_instance.to_dict() +# create an instance of DomainGetListV1Response from a dict +domain_get_list_v1_response_from_dict = DomainGetListV1Response.from_dict(domain_get_list_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainGetListV1ResponseMPayload.md b/docs/DomainGetListV1ResponseMPayload.md new file mode 100644 index 000000000..f9fc7c17b --- /dev/null +++ b/docs/DomainGetListV1ResponseMPayload.md @@ -0,0 +1,32 @@ +# DomainGetListV1ResponseMPayload + +Payload for GET /1/object/domain/getList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | +**a_obj_domain** | [**List[DomainListElement]**](DomainListElement.md) | | + +## Example + +```python +from eZmaxApi.models.domain_get_list_v1_response_m_payload import DomainGetListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainGetListV1ResponseMPayload from a JSON string +domain_get_list_v1_response_m_payload_instance = DomainGetListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(DomainGetListV1ResponseMPayload.to_json()) + +# convert the object into a dict +domain_get_list_v1_response_m_payload_dict = domain_get_list_v1_response_m_payload_instance.to_dict() +# create an instance of DomainGetListV1ResponseMPayload from a dict +domain_get_list_v1_response_m_payload_from_dict = DomainGetListV1ResponseMPayload.from_dict(domain_get_list_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainGetObjectV2Response.md b/docs/DomainGetObjectV2Response.md new file mode 100644 index 000000000..63109a5d9 --- /dev/null +++ b/docs/DomainGetObjectV2Response.md @@ -0,0 +1,32 @@ +# DomainGetObjectV2Response + +Response for GET /2/object/domain/{pkiDomainID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**DomainGetObjectV2ResponseMPayload**](DomainGetObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.domain_get_object_v2_response import DomainGetObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainGetObjectV2Response from a JSON string +domain_get_object_v2_response_instance = DomainGetObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(DomainGetObjectV2Response.to_json()) + +# convert the object into a dict +domain_get_object_v2_response_dict = domain_get_object_v2_response_instance.to_dict() +# create an instance of DomainGetObjectV2Response from a dict +domain_get_object_v2_response_from_dict = DomainGetObjectV2Response.from_dict(domain_get_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainGetObjectV2ResponseMPayload.md b/docs/DomainGetObjectV2ResponseMPayload.md new file mode 100644 index 000000000..69d0d004b --- /dev/null +++ b/docs/DomainGetObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# DomainGetObjectV2ResponseMPayload + +Payload for GET /2/object/domain/{pkiDomainID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_domain** | [**DomainResponseCompound**](DomainResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.domain_get_object_v2_response_m_payload import DomainGetObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainGetObjectV2ResponseMPayload from a JSON string +domain_get_object_v2_response_m_payload_instance = DomainGetObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(DomainGetObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +domain_get_object_v2_response_m_payload_dict = domain_get_object_v2_response_m_payload_instance.to_dict() +# create an instance of DomainGetObjectV2ResponseMPayload from a dict +domain_get_object_v2_response_m_payload_from_dict = DomainGetObjectV2ResponseMPayload.from_dict(domain_get_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainListElement.md b/docs/DomainListElement.md new file mode 100644 index 000000000..d6678d25f --- /dev/null +++ b/docs/DomainListElement.md @@ -0,0 +1,31 @@ +# DomainListElement + +A Domain List Element + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_domain_id** | **int** | The unique ID of the Domain | +**s_domain_name** | **str** | The name of the Domain | + +## Example + +```python +from eZmaxApi.models.domain_list_element import DomainListElement + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainListElement from a JSON string +domain_list_element_instance = DomainListElement.from_json(json) +# print the JSON string representation of the object +print(DomainListElement.to_json()) + +# convert the object into a dict +domain_list_element_dict = domain_list_element_instance.to_dict() +# create an instance of DomainListElement from a dict +domain_list_element_from_dict = DomainListElement.from_dict(domain_list_element_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainRequest.md b/docs/DomainRequest.md new file mode 100644 index 000000000..8df7ac4b8 --- /dev/null +++ b/docs/DomainRequest.md @@ -0,0 +1,31 @@ +# DomainRequest + +A Domain Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_domain_id** | **int** | The unique ID of the Domain | [optional] +**s_domain_name** | **str** | The name of the Domain | + +## Example + +```python +from eZmaxApi.models.domain_request import DomainRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainRequest from a JSON string +domain_request_instance = DomainRequest.from_json(json) +# print the JSON string representation of the object +print(DomainRequest.to_json()) + +# convert the object into a dict +domain_request_dict = domain_request_instance.to_dict() +# create an instance of DomainRequest from a dict +domain_request_from_dict = DomainRequest.from_dict(domain_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainRequestCompound.md b/docs/DomainRequestCompound.md new file mode 100644 index 000000000..db34ba5f9 --- /dev/null +++ b/docs/DomainRequestCompound.md @@ -0,0 +1,31 @@ +# DomainRequestCompound + +A Domain Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_domain_id** | **int** | The unique ID of the Domain | [optional] +**s_domain_name** | **str** | The name of the Domain | + +## Example + +```python +from eZmaxApi.models.domain_request_compound import DomainRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainRequestCompound from a JSON string +domain_request_compound_instance = DomainRequestCompound.from_json(json) +# print the JSON string representation of the object +print(DomainRequestCompound.to_json()) + +# convert the object into a dict +domain_request_compound_dict = domain_request_compound_instance.to_dict() +# create an instance of DomainRequestCompound from a dict +domain_request_compound_from_dict = DomainRequestCompound.from_dict(domain_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainResponse.md b/docs/DomainResponse.md new file mode 100644 index 000000000..454f7be49 --- /dev/null +++ b/docs/DomainResponse.md @@ -0,0 +1,35 @@ +# DomainResponse + +A Domain Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_domain_id** | **int** | The unique ID of the Domain | +**s_domain_name** | **str** | The name of the Domain | +**b_domain_validdkim** | **bool** | Whether the DKIM is valid or not | +**b_domain_validmailfrom** | **bool** | Whether the mail from is valid or not | +**b_domain_validcustomer** | **bool** | Whether the customer has access to it or not | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | + +## Example + +```python +from eZmaxApi.models.domain_response import DomainResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainResponse from a JSON string +domain_response_instance = DomainResponse.from_json(json) +# print the JSON string representation of the object +print(DomainResponse.to_json()) + +# convert the object into a dict +domain_response_dict = domain_response_instance.to_dict() +# create an instance of DomainResponse from a dict +domain_response_from_dict = DomainResponse.from_dict(domain_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DomainResponseCompound.md b/docs/DomainResponseCompound.md new file mode 100644 index 000000000..4e2120dd5 --- /dev/null +++ b/docs/DomainResponseCompound.md @@ -0,0 +1,36 @@ +# DomainResponseCompound + +A Domain Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_domain_id** | **int** | The unique ID of the Domain | +**s_domain_name** | **str** | The name of the Domain | +**b_domain_validdkim** | **bool** | Whether the DKIM is valid or not | +**b_domain_validmailfrom** | **bool** | Whether the mail from is valid or not | +**b_domain_validcustomer** | **bool** | Whether the customer has access to it or not | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | +**a_obj_dnsrecord** | [**List[CustomDnsrecordResponse]**](CustomDnsrecordResponse.md) | | + +## Example + +```python +from eZmaxApi.models.domain_response_compound import DomainResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of DomainResponseCompound from a JSON string +domain_response_compound_instance = DomainResponseCompound.from_json(json) +# print the JSON string representation of the object +print(DomainResponseCompound.to_json()) + +# convert the object into a dict +domain_response_compound_dict = domain_response_compound_instance.to_dict() +# create an instance of DomainResponseCompound from a dict +domain_response_compound_from_dict = DomainResponseCompound.from_dict(domain_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ElectronicfundstransferGetCommunicationCountV1Response.md b/docs/ElectronicfundstransferGetCommunicationCountV1Response.md new file mode 100644 index 000000000..bf9bc7aee --- /dev/null +++ b/docs/ElectronicfundstransferGetCommunicationCountV1Response.md @@ -0,0 +1,32 @@ +# ElectronicfundstransferGetCommunicationCountV1Response + +Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**ElectronicfundstransferGetCommunicationCountV1ResponseMPayload**](ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response import ElectronicfundstransferGetCommunicationCountV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of ElectronicfundstransferGetCommunicationCountV1Response from a JSON string +electronicfundstransfer_get_communication_count_v1_response_instance = ElectronicfundstransferGetCommunicationCountV1Response.from_json(json) +# print the JSON string representation of the object +print(ElectronicfundstransferGetCommunicationCountV1Response.to_json()) + +# convert the object into a dict +electronicfundstransfer_get_communication_count_v1_response_dict = electronicfundstransfer_get_communication_count_v1_response_instance.to_dict() +# create an instance of ElectronicfundstransferGetCommunicationCountV1Response from a dict +electronicfundstransfer_get_communication_count_v1_response_from_dict = ElectronicfundstransferGetCommunicationCountV1Response.from_dict(electronicfundstransfer_get_communication_count_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.md b/docs/ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.md new file mode 100644 index 000000000..085d3e1da --- /dev/null +++ b/docs/ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# ElectronicfundstransferGetCommunicationCountV1ResponseMPayload + +Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_communication_count** | **int** | The count of Communication. | + +## Example + +```python +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response_m_payload import ElectronicfundstransferGetCommunicationCountV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of ElectronicfundstransferGetCommunicationCountV1ResponseMPayload from a JSON string +electronicfundstransfer_get_communication_count_v1_response_m_payload_instance = ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.to_json()) + +# convert the object into a dict +electronicfundstransfer_get_communication_count_v1_response_m_payload_dict = electronicfundstransfer_get_communication_count_v1_response_m_payload_instance.to_dict() +# create an instance of ElectronicfundstransferGetCommunicationCountV1ResponseMPayload from a dict +electronicfundstransfer_get_communication_count_v1_response_m_payload_from_dict = ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.from_dict(electronicfundstransfer_get_communication_count_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ElectronicfundstransferGetCommunicationListV1Response.md b/docs/ElectronicfundstransferGetCommunicationListV1Response.md index d11a1355c..45b292039 100644 --- a/docs/ElectronicfundstransferGetCommunicationListV1Response.md +++ b/docs/ElectronicfundstransferGetCommunicationListV1Response.md @@ -25,7 +25,7 @@ print(ElectronicfundstransferGetCommunicationListV1Response.to_json()) # convert the object into a dict electronicfundstransfer_get_communication_list_v1_response_dict = electronicfundstransfer_get_communication_list_v1_response_instance.to_dict() # create an instance of ElectronicfundstransferGetCommunicationListV1Response from a dict -electronicfundstransfer_get_communication_list_v1_response_form_dict = electronicfundstransfer_get_communication_list_v1_response.from_dict(electronicfundstransfer_get_communication_list_v1_response_dict) +electronicfundstransfer_get_communication_list_v1_response_from_dict = ElectronicfundstransferGetCommunicationListV1Response.from_dict(electronicfundstransfer_get_communication_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md b/docs/ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md index 6eb289db2..fc9e6269d 100644 --- a/docs/ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md +++ b/docs/ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(ElectronicfundstransferGetCommunicationListV1ResponseMPayload.to_json()) # convert the object into a dict electronicfundstransfer_get_communication_list_v1_response_m_payload_dict = electronicfundstransfer_get_communication_list_v1_response_m_payload_instance.to_dict() # create an instance of ElectronicfundstransferGetCommunicationListV1ResponseMPayload from a dict -electronicfundstransfer_get_communication_list_v1_response_m_payload_form_dict = electronicfundstransfer_get_communication_list_v1_response_m_payload.from_dict(electronicfundstransfer_get_communication_list_v1_response_m_payload_dict) +electronicfundstransfer_get_communication_list_v1_response_m_payload_from_dict = ElectronicfundstransferGetCommunicationListV1ResponseMPayload.from_dict(electronicfundstransfer_get_communication_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md b/docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md new file mode 100644 index 000000000..aa68de070 --- /dev/null +++ b/docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md @@ -0,0 +1,32 @@ +# ElectronicfundstransferGetCommunicationrecipientsV1Response + +Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload**](ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response import ElectronicfundstransferGetCommunicationrecipientsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of ElectronicfundstransferGetCommunicationrecipientsV1Response from a JSON string +electronicfundstransfer_get_communicationrecipients_v1_response_instance = ElectronicfundstransferGetCommunicationrecipientsV1Response.from_json(json) +# print the JSON string representation of the object +print(ElectronicfundstransferGetCommunicationrecipientsV1Response.to_json()) + +# convert the object into a dict +electronicfundstransfer_get_communicationrecipients_v1_response_dict = electronicfundstransfer_get_communicationrecipients_v1_response_instance.to_dict() +# create an instance of ElectronicfundstransferGetCommunicationrecipientsV1Response from a dict +electronicfundstransfer_get_communicationrecipients_v1_response_from_dict = ElectronicfundstransferGetCommunicationrecipientsV1Response.from_dict(electronicfundstransfer_get_communicationrecipients_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.md b/docs/ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.md new file mode 100644 index 000000000..dc87fbdab --- /dev/null +++ b/docs/ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload + +Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationrecipientsgroup** | [**List[CustomCommunicationrecipientsgroupResponse]**](CustomCommunicationrecipientsgroupResponse.md) | | + +## Example + +```python +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload import ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload from a JSON string +electronicfundstransfer_get_communicationrecipients_v1_response_m_payload_instance = ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.to_json()) + +# convert the object into a dict +electronicfundstransfer_get_communicationrecipients_v1_response_m_payload_dict = electronicfundstransfer_get_communicationrecipients_v1_response_m_payload_instance.to_dict() +# create an instance of ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload from a dict +electronicfundstransfer_get_communicationrecipients_v1_response_m_payload_from_dict = ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.from_dict(electronicfundstransfer_get_communicationrecipients_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ElectronicfundstransferGetCommunicationsendersV1Response.md b/docs/ElectronicfundstransferGetCommunicationsendersV1Response.md new file mode 100644 index 000000000..20316be1e --- /dev/null +++ b/docs/ElectronicfundstransferGetCommunicationsendersV1Response.md @@ -0,0 +1,32 @@ +# ElectronicfundstransferGetCommunicationsendersV1Response + +Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload**](ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response import ElectronicfundstransferGetCommunicationsendersV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of ElectronicfundstransferGetCommunicationsendersV1Response from a JSON string +electronicfundstransfer_get_communicationsenders_v1_response_instance = ElectronicfundstransferGetCommunicationsendersV1Response.from_json(json) +# print the JSON string representation of the object +print(ElectronicfundstransferGetCommunicationsendersV1Response.to_json()) + +# convert the object into a dict +electronicfundstransfer_get_communicationsenders_v1_response_dict = electronicfundstransfer_get_communicationsenders_v1_response_instance.to_dict() +# create an instance of ElectronicfundstransferGetCommunicationsendersV1Response from a dict +electronicfundstransfer_get_communicationsenders_v1_response_from_dict = ElectronicfundstransferGetCommunicationsendersV1Response.from_dict(electronicfundstransfer_get_communicationsenders_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.md b/docs/ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.md new file mode 100644 index 000000000..fc2cc8a85 --- /dev/null +++ b/docs/ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload + +Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationsenders + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationsenders** | [**List[CustomCommunicationsenderResponse]**](CustomCommunicationsenderResponse.md) | | + +## Example + +```python +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response_m_payload import ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload from a JSON string +electronicfundstransfer_get_communicationsenders_v1_response_m_payload_instance = ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.to_json()) + +# convert the object into a dict +electronicfundstransfer_get_communicationsenders_v1_response_m_payload_dict = electronicfundstransfer_get_communicationsenders_v1_response_m_payload_instance.to_dict() +# create an instance of ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload from a dict +electronicfundstransfer_get_communicationsenders_v1_response_m_payload_from_dict = ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.from_dict(electronicfundstransfer_get_communicationsenders_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EmailRequest.md b/docs/EmailRequest.md index 5bac4b448..4153b16b4 100644 --- a/docs/EmailRequest.md +++ b/docs/EmailRequest.md @@ -25,7 +25,7 @@ print(EmailRequest.to_json()) # convert the object into a dict email_request_dict = email_request_instance.to_dict() # create an instance of EmailRequest from a dict -email_request_form_dict = email_request.from_dict(email_request_dict) +email_request_from_dict = EmailRequest.from_dict(email_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EmailRequestCompound.md b/docs/EmailRequestCompound.md index f02b3a2f9..3f618dd94 100644 --- a/docs/EmailRequestCompound.md +++ b/docs/EmailRequestCompound.md @@ -25,7 +25,7 @@ print(EmailRequestCompound.to_json()) # convert the object into a dict email_request_compound_dict = email_request_compound_instance.to_dict() # create an instance of EmailRequestCompound from a dict -email_request_compound_form_dict = email_request_compound.from_dict(email_request_compound_dict) +email_request_compound_from_dict = EmailRequestCompound.from_dict(email_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EmailResponse.md b/docs/EmailResponse.md index d242dd656..b7165750c 100644 --- a/docs/EmailResponse.md +++ b/docs/EmailResponse.md @@ -25,7 +25,7 @@ print(EmailResponse.to_json()) # convert the object into a dict email_response_dict = email_response_instance.to_dict() # create an instance of EmailResponse from a dict -email_response_form_dict = email_response.from_dict(email_response_dict) +email_response_from_dict = EmailResponse.from_dict(email_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EmailResponseCompound.md b/docs/EmailResponseCompound.md index 0e514f354..dc10ebd0a 100644 --- a/docs/EmailResponseCompound.md +++ b/docs/EmailResponseCompound.md @@ -25,7 +25,7 @@ print(EmailResponseCompound.to_json()) # convert the object into a dict email_response_compound_dict = email_response_compound_instance.to_dict() # create an instance of EmailResponseCompound from a dict -email_response_compound_form_dict = email_response_compound.from_dict(email_response_compound_dict) +email_response_compound_from_dict = EmailResponseCompound.from_dict(email_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EmailtypeAutocompleteElementResponse.md b/docs/EmailtypeAutocompleteElementResponse.md index b375ef04c..b950e58d3 100644 --- a/docs/EmailtypeAutocompleteElementResponse.md +++ b/docs/EmailtypeAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(EmailtypeAutocompleteElementResponse.to_json()) # convert the object into a dict emailtype_autocomplete_element_response_dict = emailtype_autocomplete_element_response_instance.to_dict() # create an instance of EmailtypeAutocompleteElementResponse from a dict -emailtype_autocomplete_element_response_form_dict = emailtype_autocomplete_element_response.from_dict(emailtype_autocomplete_element_response_dict) +emailtype_autocomplete_element_response_from_dict = EmailtypeAutocompleteElementResponse.from_dict(emailtype_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EmailtypeGetAutocompleteV2Response.md b/docs/EmailtypeGetAutocompleteV2Response.md index 62512e79d..91648a201 100644 --- a/docs/EmailtypeGetAutocompleteV2Response.md +++ b/docs/EmailtypeGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(EmailtypeGetAutocompleteV2Response.to_json()) # convert the object into a dict emailtype_get_autocomplete_v2_response_dict = emailtype_get_autocomplete_v2_response_instance.to_dict() # create an instance of EmailtypeGetAutocompleteV2Response from a dict -emailtype_get_autocomplete_v2_response_form_dict = emailtype_get_autocomplete_v2_response.from_dict(emailtype_get_autocomplete_v2_response_dict) +emailtype_get_autocomplete_v2_response_from_dict = EmailtypeGetAutocompleteV2Response.from_dict(emailtype_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EmailtypeGetAutocompleteV2ResponseMPayload.md b/docs/EmailtypeGetAutocompleteV2ResponseMPayload.md index e0d65aea6..4e38100fe 100644 --- a/docs/EmailtypeGetAutocompleteV2ResponseMPayload.md +++ b/docs/EmailtypeGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EmailtypeGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict emailtype_get_autocomplete_v2_response_m_payload_dict = emailtype_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of EmailtypeGetAutocompleteV2ResponseMPayload from a dict -emailtype_get_autocomplete_v2_response_m_payload_form_dict = emailtype_get_autocomplete_v2_response_m_payload.from_dict(emailtype_get_autocomplete_v2_response_m_payload_dict) +emailtype_get_autocomplete_v2_response_m_payload_from_dict = EmailtypeGetAutocompleteV2ResponseMPayload.from_dict(emailtype_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EnumFontunderline.md b/docs/EnumFontunderline.md index c3d4c203c..e4f1f7024 100644 --- a/docs/EnumFontunderline.md +++ b/docs/EnumFontunderline.md @@ -2,10 +2,13 @@ The Font Underline style -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NONE` (value: `'None'`) + +* `SINGLE` (value: `'Single'`) + +* `DOUBLE` (value: `'Double'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EnumFontweight.md b/docs/EnumFontweight.md index 57a255391..bfd276af9 100644 --- a/docs/EnumFontweight.md +++ b/docs/EnumFontweight.md @@ -2,10 +2,11 @@ The Font Weight -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NORMAL` (value: `'Normal'`) + +* `BOLD` (value: `'Bold'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EnumHorizontalalignment.md b/docs/EnumHorizontalalignment.md index 09f8c3bc5..3dceb09d3 100644 --- a/docs/EnumHorizontalalignment.md +++ b/docs/EnumHorizontalalignment.md @@ -2,10 +2,13 @@ The Horizontal alignment -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `CENTER` (value: `'Center'`) + +* `LEFT` (value: `'Left'`) + +* `RIGHT` (value: `'Right'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EnumTextvalidation.md b/docs/EnumTextvalidation.md index 32f5b2a91..512a77863 100644 --- a/docs/EnumTextvalidation.md +++ b/docs/EnumTextvalidation.md @@ -2,10 +2,33 @@ The text validation -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NONE` (value: `'None'`) + +* `DATE_LEFT_PARENTHESIS_YYYY_MINUS_MM_MINUS_DD_RIGHT_PARENTHESIS` (value: `'Date (YYYY-MM-DD)'`) + +* `DATE_LEFT_PARENTHESIS_MM_SLASH_DD_SLASH_YYYY_RIGHT_PARENTHESIS` (value: `'Date (MM/DD/YYYY)'`) + +* `DATE_LEFT_PARENTHESIS_MM_SLASH_DD_SLASH_YY_RIGHT_PARENTHESIS` (value: `'Date (MM/DD/YY)'`) + +* `DATE_LEFT_PARENTHESIS_DD_SLASH_MM_SLASH_YYYY_RIGHT_PARENTHESIS` (value: `'Date (DD/MM/YYYY)'`) + +* `DATE_LEFT_PARENTHESIS_DD_SLASH_MM_SLASH_YY_RIGHT_PARENTHESIS` (value: `'Date (DD/MM/YY)'`) + +* `EMAIL` (value: `'Email'`) + +* `LETTERS` (value: `'Letters'`) + +* `NUMBERS` (value: `'Numbers'`) + +* `ZIP` (value: `'Zip'`) + +* `ZIP_PLUS_4` (value: `'Zip+4'`) + +* `POSTALCODE` (value: `'PostalCode'`) + +* `CUSTOM` (value: `'Custom'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EnumVerticalalignment.md b/docs/EnumVerticalalignment.md index ea1ba8681..0f69a6db6 100644 --- a/docs/EnumVerticalalignment.md +++ b/docs/EnumVerticalalignment.md @@ -2,10 +2,13 @@ The Vertical alignment -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `BOTTOM` (value: `'Bottom'`) + +* `MIDDLE` (value: `'Middle'`) + +* `TOP` (value: `'Top'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzdoctemplatedocumentAutocompleteElementResponse.md b/docs/EzdoctemplatedocumentAutocompleteElementResponse.md new file mode 100644 index 000000000..74a896626 --- /dev/null +++ b/docs/EzdoctemplatedocumentAutocompleteElementResponse.md @@ -0,0 +1,32 @@ +# EzdoctemplatedocumentAutocompleteElementResponse + +A Ezdoctemplatedocument AutocompleteElement Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | +**b_ezdoctemplatedocument_isactive** | **bool** | Whether the ezdoctemplatedocument is active or not | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response import EzdoctemplatedocumentAutocompleteElementResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentAutocompleteElementResponse from a JSON string +ezdoctemplatedocument_autocomplete_element_response_instance = EzdoctemplatedocumentAutocompleteElementResponse.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentAutocompleteElementResponse.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_autocomplete_element_response_dict = ezdoctemplatedocument_autocomplete_element_response_instance.to_dict() +# create an instance of EzdoctemplatedocumentAutocompleteElementResponse from a dict +ezdoctemplatedocument_autocomplete_element_response_from_dict = EzdoctemplatedocumentAutocompleteElementResponse.from_dict(ezdoctemplatedocument_autocomplete_element_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentCreateObjectV1Request.md b/docs/EzdoctemplatedocumentCreateObjectV1Request.md new file mode 100644 index 000000000..7205ce198 --- /dev/null +++ b/docs/EzdoctemplatedocumentCreateObjectV1Request.md @@ -0,0 +1,30 @@ +# EzdoctemplatedocumentCreateObjectV1Request + +Request for POST /1/object/ezdoctemplatedocument + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezdoctemplatedocument** | [**List[EzdoctemplatedocumentRequestCompound]**](EzdoctemplatedocumentRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_request import EzdoctemplatedocumentCreateObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentCreateObjectV1Request from a JSON string +ezdoctemplatedocument_create_object_v1_request_instance = EzdoctemplatedocumentCreateObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentCreateObjectV1Request.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_create_object_v1_request_dict = ezdoctemplatedocument_create_object_v1_request_instance.to_dict() +# create an instance of EzdoctemplatedocumentCreateObjectV1Request from a dict +ezdoctemplatedocument_create_object_v1_request_from_dict = EzdoctemplatedocumentCreateObjectV1Request.from_dict(ezdoctemplatedocument_create_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentCreateObjectV1Response.md b/docs/EzdoctemplatedocumentCreateObjectV1Response.md new file mode 100644 index 000000000..d1925d1dc --- /dev/null +++ b/docs/EzdoctemplatedocumentCreateObjectV1Response.md @@ -0,0 +1,32 @@ +# EzdoctemplatedocumentCreateObjectV1Response + +Response for POST /1/object/ezdoctemplatedocument + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzdoctemplatedocumentCreateObjectV1ResponseMPayload**](EzdoctemplatedocumentCreateObjectV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response import EzdoctemplatedocumentCreateObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentCreateObjectV1Response from a JSON string +ezdoctemplatedocument_create_object_v1_response_instance = EzdoctemplatedocumentCreateObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentCreateObjectV1Response.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_create_object_v1_response_dict = ezdoctemplatedocument_create_object_v1_response_instance.to_dict() +# create an instance of EzdoctemplatedocumentCreateObjectV1Response from a dict +ezdoctemplatedocument_create_object_v1_response_from_dict = EzdoctemplatedocumentCreateObjectV1Response.from_dict(ezdoctemplatedocument_create_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentCreateObjectV1ResponseMPayload.md b/docs/EzdoctemplatedocumentCreateObjectV1ResponseMPayload.md new file mode 100644 index 000000000..e5d48b037 --- /dev/null +++ b/docs/EzdoctemplatedocumentCreateObjectV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzdoctemplatedocumentCreateObjectV1ResponseMPayload + +Payload for POST /1/object/ezdoctemplatedocument + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezdoctemplatedocument_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response_m_payload import EzdoctemplatedocumentCreateObjectV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentCreateObjectV1ResponseMPayload from a JSON string +ezdoctemplatedocument_create_object_v1_response_m_payload_instance = EzdoctemplatedocumentCreateObjectV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentCreateObjectV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_create_object_v1_response_m_payload_dict = ezdoctemplatedocument_create_object_v1_response_m_payload_instance.to_dict() +# create an instance of EzdoctemplatedocumentCreateObjectV1ResponseMPayload from a dict +ezdoctemplatedocument_create_object_v1_response_m_payload_from_dict = EzdoctemplatedocumentCreateObjectV1ResponseMPayload.from_dict(ezdoctemplatedocument_create_object_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentEditObjectV1Request.md b/docs/EzdoctemplatedocumentEditObjectV1Request.md new file mode 100644 index 000000000..f7abf84fe --- /dev/null +++ b/docs/EzdoctemplatedocumentEditObjectV1Request.md @@ -0,0 +1,30 @@ +# EzdoctemplatedocumentEditObjectV1Request + +Request for PUT /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezdoctemplatedocument** | [**EzdoctemplatedocumentRequestCompound**](EzdoctemplatedocumentRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_request import EzdoctemplatedocumentEditObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentEditObjectV1Request from a JSON string +ezdoctemplatedocument_edit_object_v1_request_instance = EzdoctemplatedocumentEditObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentEditObjectV1Request.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_edit_object_v1_request_dict = ezdoctemplatedocument_edit_object_v1_request_instance.to_dict() +# create an instance of EzdoctemplatedocumentEditObjectV1Request from a dict +ezdoctemplatedocument_edit_object_v1_request_from_dict = EzdoctemplatedocumentEditObjectV1Request.from_dict(ezdoctemplatedocument_edit_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentEditObjectV1Response.md b/docs/EzdoctemplatedocumentEditObjectV1Response.md new file mode 100644 index 000000000..8155bb89c --- /dev/null +++ b/docs/EzdoctemplatedocumentEditObjectV1Response.md @@ -0,0 +1,31 @@ +# EzdoctemplatedocumentEditObjectV1Response + +Response for PUT /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_response import EzdoctemplatedocumentEditObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentEditObjectV1Response from a JSON string +ezdoctemplatedocument_edit_object_v1_response_instance = EzdoctemplatedocumentEditObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentEditObjectV1Response.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_edit_object_v1_response_dict = ezdoctemplatedocument_edit_object_v1_response_instance.to_dict() +# create an instance of EzdoctemplatedocumentEditObjectV1Response from a dict +ezdoctemplatedocument_edit_object_v1_response_from_dict = EzdoctemplatedocumentEditObjectV1Response.from_dict(ezdoctemplatedocument_edit_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentGetAutocompleteV2Response.md b/docs/EzdoctemplatedocumentGetAutocompleteV2Response.md new file mode 100644 index 000000000..4e5a76aaf --- /dev/null +++ b/docs/EzdoctemplatedocumentGetAutocompleteV2Response.md @@ -0,0 +1,32 @@ +# EzdoctemplatedocumentGetAutocompleteV2Response + +Response for GET /2/object/ezdoctemplatedocument/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload**](EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response import EzdoctemplatedocumentGetAutocompleteV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentGetAutocompleteV2Response from a JSON string +ezdoctemplatedocument_get_autocomplete_v2_response_instance = EzdoctemplatedocumentGetAutocompleteV2Response.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentGetAutocompleteV2Response.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_get_autocomplete_v2_response_dict = ezdoctemplatedocument_get_autocomplete_v2_response_instance.to_dict() +# create an instance of EzdoctemplatedocumentGetAutocompleteV2Response from a dict +ezdoctemplatedocument_get_autocomplete_v2_response_from_dict = EzdoctemplatedocumentGetAutocompleteV2Response.from_dict(ezdoctemplatedocument_get_autocomplete_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.md b/docs/EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.md new file mode 100644 index 000000000..1c91a5719 --- /dev/null +++ b/docs/EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload + +Payload for POST /2/object/ezdoctemplatedocument/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezdoctemplatedocument** | [**List[EzdoctemplatedocumentAutocompleteElementResponse]**](EzdoctemplatedocumentAutocompleteElementResponse.md) | An array of Ezdoctemplatedocument autocomplete element response. | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload import EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload from a JSON string +ezdoctemplatedocument_get_autocomplete_v2_response_m_payload_instance = EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_get_autocomplete_v2_response_m_payload_dict = ezdoctemplatedocument_get_autocomplete_v2_response_m_payload_instance.to_dict() +# create an instance of EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload from a dict +ezdoctemplatedocument_get_autocomplete_v2_response_m_payload_from_dict = EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.from_dict(ezdoctemplatedocument_get_autocomplete_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentGetListV1Response.md b/docs/EzdoctemplatedocumentGetListV1Response.md new file mode 100644 index 000000000..428781ebb --- /dev/null +++ b/docs/EzdoctemplatedocumentGetListV1Response.md @@ -0,0 +1,32 @@ +# EzdoctemplatedocumentGetListV1Response + +Response for GET /1/object/ezdoctemplatedocument/getList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzdoctemplatedocumentGetListV1ResponseMPayload**](EzdoctemplatedocumentGetListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response import EzdoctemplatedocumentGetListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentGetListV1Response from a JSON string +ezdoctemplatedocument_get_list_v1_response_instance = EzdoctemplatedocumentGetListV1Response.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentGetListV1Response.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_get_list_v1_response_dict = ezdoctemplatedocument_get_list_v1_response_instance.to_dict() +# create an instance of EzdoctemplatedocumentGetListV1Response from a dict +ezdoctemplatedocument_get_list_v1_response_from_dict = EzdoctemplatedocumentGetListV1Response.from_dict(ezdoctemplatedocument_get_list_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md b/docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md new file mode 100644 index 000000000..f1744ca46 --- /dev/null +++ b/docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md @@ -0,0 +1,32 @@ +# EzdoctemplatedocumentGetListV1ResponseMPayload + +Payload for GET /1/object/ezdoctemplatedocument/getList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | +**a_obj_ezdoctemplatedocument** | [**List[EzdoctemplatedocumentListElement]**](EzdoctemplatedocumentListElement.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload import EzdoctemplatedocumentGetListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentGetListV1ResponseMPayload from a JSON string +ezdoctemplatedocument_get_list_v1_response_m_payload_instance = EzdoctemplatedocumentGetListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentGetListV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_get_list_v1_response_m_payload_dict = ezdoctemplatedocument_get_list_v1_response_m_payload_instance.to_dict() +# create an instance of EzdoctemplatedocumentGetListV1ResponseMPayload from a dict +ezdoctemplatedocument_get_list_v1_response_m_payload_from_dict = EzdoctemplatedocumentGetListV1ResponseMPayload.from_dict(ezdoctemplatedocument_get_list_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentGetObjectV2Response.md b/docs/EzdoctemplatedocumentGetObjectV2Response.md new file mode 100644 index 000000000..3ff785145 --- /dev/null +++ b/docs/EzdoctemplatedocumentGetObjectV2Response.md @@ -0,0 +1,32 @@ +# EzdoctemplatedocumentGetObjectV2Response + +Response for GET /2/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzdoctemplatedocumentGetObjectV2ResponseMPayload**](EzdoctemplatedocumentGetObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response import EzdoctemplatedocumentGetObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentGetObjectV2Response from a JSON string +ezdoctemplatedocument_get_object_v2_response_instance = EzdoctemplatedocumentGetObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentGetObjectV2Response.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_get_object_v2_response_dict = ezdoctemplatedocument_get_object_v2_response_instance.to_dict() +# create an instance of EzdoctemplatedocumentGetObjectV2Response from a dict +ezdoctemplatedocument_get_object_v2_response_from_dict = EzdoctemplatedocumentGetObjectV2Response.from_dict(ezdoctemplatedocument_get_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentGetObjectV2ResponseMPayload.md b/docs/EzdoctemplatedocumentGetObjectV2ResponseMPayload.md new file mode 100644 index 000000000..5ebe3a9f6 --- /dev/null +++ b/docs/EzdoctemplatedocumentGetObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzdoctemplatedocumentGetObjectV2ResponseMPayload + +Payload for GET /2/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezdoctemplatedocument** | [**EzdoctemplatedocumentResponseCompound**](EzdoctemplatedocumentResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response_m_payload import EzdoctemplatedocumentGetObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentGetObjectV2ResponseMPayload from a JSON string +ezdoctemplatedocument_get_object_v2_response_m_payload_instance = EzdoctemplatedocumentGetObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentGetObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_get_object_v2_response_m_payload_dict = ezdoctemplatedocument_get_object_v2_response_m_payload_instance.to_dict() +# create an instance of EzdoctemplatedocumentGetObjectV2ResponseMPayload from a dict +ezdoctemplatedocument_get_object_v2_response_m_payload_from_dict = EzdoctemplatedocumentGetObjectV2ResponseMPayload.from_dict(ezdoctemplatedocument_get_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentListElement.md b/docs/EzdoctemplatedocumentListElement.md new file mode 100644 index 000000000..17613c780 --- /dev/null +++ b/docs/EzdoctemplatedocumentListElement.md @@ -0,0 +1,40 @@ +# EzdoctemplatedocumentListElement + +A Ezdoctemplatedocument List Element + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_ezdoctemplatetype_id** | **int** | The unique ID of the Ezdoctemplatetype | +**fki_ezdoctemplatefieldtypecategory_id** | **int** | The unique ID of the Ezdoctemplatefieldtypecategory | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] +**s_ezdoctemplatetype_description_x** | **str** | The description of the Ezdoctemplatetype in the language of the requester | [optional] +**s_ezdoctemplatefieldtypecategory_description_x** | **str** | The description of the Ezdoctemplatefieldtypecategory in the language of the requester | [optional] +**e_ezdoctemplatedocument_privacylevel** | [**FieldEEzdoctemplatedocumentPrivacylevel**](FieldEEzdoctemplatedocumentPrivacylevel.md) | | [optional] +**b_ezdoctemplatedocument_isactive** | **bool** | Whether the ezdoctemplatedocument is active or not | +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_list_element import EzdoctemplatedocumentListElement + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentListElement from a JSON string +ezdoctemplatedocument_list_element_instance = EzdoctemplatedocumentListElement.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentListElement.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_list_element_dict = ezdoctemplatedocument_list_element_instance.to_dict() +# create an instance of EzdoctemplatedocumentListElement from a dict +ezdoctemplatedocument_list_element_from_dict = EzdoctemplatedocumentListElement.from_dict(ezdoctemplatedocument_list_element_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentPatchObjectV1Request.md b/docs/EzdoctemplatedocumentPatchObjectV1Request.md new file mode 100644 index 000000000..540d8f67a --- /dev/null +++ b/docs/EzdoctemplatedocumentPatchObjectV1Request.md @@ -0,0 +1,30 @@ +# EzdoctemplatedocumentPatchObjectV1Request + +Request for PATCH /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezdoctemplatedocument** | [**EzdoctemplatedocumentRequestPatch**](EzdoctemplatedocumentRequestPatch.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_request import EzdoctemplatedocumentPatchObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentPatchObjectV1Request from a JSON string +ezdoctemplatedocument_patch_object_v1_request_instance = EzdoctemplatedocumentPatchObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentPatchObjectV1Request.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_patch_object_v1_request_dict = ezdoctemplatedocument_patch_object_v1_request_instance.to_dict() +# create an instance of EzdoctemplatedocumentPatchObjectV1Request from a dict +ezdoctemplatedocument_patch_object_v1_request_from_dict = EzdoctemplatedocumentPatchObjectV1Request.from_dict(ezdoctemplatedocument_patch_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentPatchObjectV1Response.md b/docs/EzdoctemplatedocumentPatchObjectV1Response.md new file mode 100644 index 000000000..030dd9fb9 --- /dev/null +++ b/docs/EzdoctemplatedocumentPatchObjectV1Response.md @@ -0,0 +1,31 @@ +# EzdoctemplatedocumentPatchObjectV1Response + +Response for PATCH /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_response import EzdoctemplatedocumentPatchObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentPatchObjectV1Response from a JSON string +ezdoctemplatedocument_patch_object_v1_response_instance = EzdoctemplatedocumentPatchObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentPatchObjectV1Response.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_patch_object_v1_response_dict = ezdoctemplatedocument_patch_object_v1_response_instance.to_dict() +# create an instance of EzdoctemplatedocumentPatchObjectV1Response from a dict +ezdoctemplatedocument_patch_object_v1_response_from_dict = EzdoctemplatedocumentPatchObjectV1Response.from_dict(ezdoctemplatedocument_patch_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentRequest.md b/docs/EzdoctemplatedocumentRequest.md new file mode 100644 index 000000000..6df861b67 --- /dev/null +++ b/docs/EzdoctemplatedocumentRequest.md @@ -0,0 +1,37 @@ +# EzdoctemplatedocumentRequest + +A Ezdoctemplatedocument Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_ezdoctemplatetype_id** | **int** | The unique ID of the Ezdoctemplatetype | +**fki_ezdoctemplatefieldtypecategory_id** | **int** | The unique ID of the Ezdoctemplatefieldtypecategory | +**e_ezdoctemplatedocument_privacylevel** | [**FieldEEzdoctemplatedocumentPrivacylevel**](FieldEEzdoctemplatedocumentPrivacylevel.md) | | [optional] +**b_ezdoctemplatedocument_isactive** | **bool** | Whether the ezdoctemplatedocument is active or not | +**obj_ezdoctemplatedocument_name** | [**MultilingualEzdoctemplatedocumentName**](MultilingualEzdoctemplatedocumentName.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_request import EzdoctemplatedocumentRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentRequest from a JSON string +ezdoctemplatedocument_request_instance = EzdoctemplatedocumentRequest.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentRequest.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_request_dict = ezdoctemplatedocument_request_instance.to_dict() +# create an instance of EzdoctemplatedocumentRequest from a dict +ezdoctemplatedocument_request_from_dict = EzdoctemplatedocumentRequest.from_dict(ezdoctemplatedocument_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentRequestCompound.md b/docs/EzdoctemplatedocumentRequestCompound.md new file mode 100644 index 000000000..2e612e4ed --- /dev/null +++ b/docs/EzdoctemplatedocumentRequestCompound.md @@ -0,0 +1,37 @@ +# EzdoctemplatedocumentRequestCompound + +A Ezdoctemplatedocument Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_ezdoctemplatetype_id** | **int** | The unique ID of the Ezdoctemplatetype | +**fki_ezdoctemplatefieldtypecategory_id** | **int** | The unique ID of the Ezdoctemplatefieldtypecategory | +**e_ezdoctemplatedocument_privacylevel** | [**FieldEEzdoctemplatedocumentPrivacylevel**](FieldEEzdoctemplatedocumentPrivacylevel.md) | | [optional] +**b_ezdoctemplatedocument_isactive** | **bool** | Whether the ezdoctemplatedocument is active or not | +**obj_ezdoctemplatedocument_name** | [**MultilingualEzdoctemplatedocumentName**](MultilingualEzdoctemplatedocumentName.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_request_compound import EzdoctemplatedocumentRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentRequestCompound from a JSON string +ezdoctemplatedocument_request_compound_instance = EzdoctemplatedocumentRequestCompound.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentRequestCompound.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_request_compound_dict = ezdoctemplatedocument_request_compound_instance.to_dict() +# create an instance of EzdoctemplatedocumentRequestCompound from a dict +ezdoctemplatedocument_request_compound_from_dict = EzdoctemplatedocumentRequestCompound.from_dict(ezdoctemplatedocument_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentRequestPatch.md b/docs/EzdoctemplatedocumentRequestPatch.md new file mode 100644 index 000000000..72aa3f67a --- /dev/null +++ b/docs/EzdoctemplatedocumentRequestPatch.md @@ -0,0 +1,32 @@ +# EzdoctemplatedocumentRequestPatch + +An Ezdoctemplatedocument Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**e_ezdoctemplatedocument_format** | **str** | Indicates the format of the template. This field is Required when sEzdoctemplatedocumentBase64 is set. | [optional] +**s_ezdoctemplatedocument_fields** | **str** | List of field in Ezdoctemplatedocument | [optional] +**s_ezdoctemplatedocument_base64** | **bytearray** | The Base64 encoded binary content of the document. This field is Required when eEzdoctemplatedocumentFormat is set. | [optional] + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_request_patch import EzdoctemplatedocumentRequestPatch + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentRequestPatch from a JSON string +ezdoctemplatedocument_request_patch_instance = EzdoctemplatedocumentRequestPatch.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentRequestPatch.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_request_patch_dict = ezdoctemplatedocument_request_patch_instance.to_dict() +# create an instance of EzdoctemplatedocumentRequestPatch from a dict +ezdoctemplatedocument_request_patch_from_dict = EzdoctemplatedocumentRequestPatch.from_dict(ezdoctemplatedocument_request_patch_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentResponse.md b/docs/EzdoctemplatedocumentResponse.md new file mode 100644 index 000000000..eaf5e791f --- /dev/null +++ b/docs/EzdoctemplatedocumentResponse.md @@ -0,0 +1,41 @@ +# EzdoctemplatedocumentResponse + +A Ezdoctemplatedocument Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_ezdoctemplatetype_id** | **int** | The unique ID of the Ezdoctemplatetype | +**fki_ezdoctemplatefieldtypecategory_id** | **int** | The unique ID of the Ezdoctemplatefieldtypecategory | +**e_ezdoctemplatedocument_privacylevel** | [**FieldEEzdoctemplatedocumentPrivacylevel**](FieldEEzdoctemplatedocumentPrivacylevel.md) | | [optional] +**b_ezdoctemplatedocument_isactive** | **bool** | Whether the ezdoctemplatedocument is active or not | +**obj_ezdoctemplatedocument_name** | [**MultilingualEzdoctemplatedocumentName**](MultilingualEzdoctemplatedocumentName.md) | | +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] +**s_ezdoctemplatefieldtypecategory_description_x** | **str** | The description of the Ezdoctemplatefieldtypecategory in the language of the requester | +**s_ezdoctemplatetype_description_x** | **str** | The description of the Ezdoctemplatetype in the language of the requester | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_response import EzdoctemplatedocumentResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentResponse from a JSON string +ezdoctemplatedocument_response_instance = EzdoctemplatedocumentResponse.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentResponse.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_response_dict = ezdoctemplatedocument_response_instance.to_dict() +# create an instance of EzdoctemplatedocumentResponse from a dict +ezdoctemplatedocument_response_from_dict = EzdoctemplatedocumentResponse.from_dict(ezdoctemplatedocument_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatedocumentResponseCompound.md b/docs/EzdoctemplatedocumentResponseCompound.md new file mode 100644 index 000000000..df04f6691 --- /dev/null +++ b/docs/EzdoctemplatedocumentResponseCompound.md @@ -0,0 +1,41 @@ +# EzdoctemplatedocumentResponseCompound + +A Ezdoctemplatedocument Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_ezdoctemplatetype_id** | **int** | The unique ID of the Ezdoctemplatetype | +**fki_ezdoctemplatefieldtypecategory_id** | **int** | The unique ID of the Ezdoctemplatefieldtypecategory | +**e_ezdoctemplatedocument_privacylevel** | [**FieldEEzdoctemplatedocumentPrivacylevel**](FieldEEzdoctemplatedocumentPrivacylevel.md) | | [optional] +**b_ezdoctemplatedocument_isactive** | **bool** | Whether the ezdoctemplatedocument is active or not | +**obj_ezdoctemplatedocument_name** | [**MultilingualEzdoctemplatedocumentName**](MultilingualEzdoctemplatedocumentName.md) | | +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] +**s_ezdoctemplatefieldtypecategory_description_x** | **str** | The description of the Ezdoctemplatefieldtypecategory in the language of the requester | +**s_ezdoctemplatetype_description_x** | **str** | The description of the Ezdoctemplatetype in the language of the requester | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatedocument_response_compound import EzdoctemplatedocumentResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatedocumentResponseCompound from a JSON string +ezdoctemplatedocument_response_compound_instance = EzdoctemplatedocumentResponseCompound.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatedocumentResponseCompound.to_json()) + +# convert the object into a dict +ezdoctemplatedocument_response_compound_dict = ezdoctemplatedocument_response_compound_instance.to_dict() +# create an instance of EzdoctemplatedocumentResponseCompound from a dict +ezdoctemplatedocument_response_compound_from_dict = EzdoctemplatedocumentResponseCompound.from_dict(ezdoctemplatedocument_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatefieldtypecategoryAutocompleteElementResponse.md b/docs/EzdoctemplatefieldtypecategoryAutocompleteElementResponse.md new file mode 100644 index 000000000..56d145ead --- /dev/null +++ b/docs/EzdoctemplatefieldtypecategoryAutocompleteElementResponse.md @@ -0,0 +1,33 @@ +# EzdoctemplatefieldtypecategoryAutocompleteElementResponse + +A Ezdoctemplatefieldtypecategory AutocompleteElement Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezdoctemplatefieldtypecategory_id** | **int** | The unique ID of the Ezdoctemplatefieldtypecategory | +**fki_ezdoctemplatetype_id** | **int** | The unique ID of the Ezdoctemplatetype | +**s_ezdoctemplatefieldtypecategory_description_x** | **str** | The description of the Ezdoctemplatefieldtypecategory in the language of the requester | +**b_ezdoctemplatefieldtypecategory_isactive** | **bool** | Whether the Ezdoctemplatefieldtypecategory is active or not | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response import EzdoctemplatefieldtypecategoryAutocompleteElementResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatefieldtypecategoryAutocompleteElementResponse from a JSON string +ezdoctemplatefieldtypecategory_autocomplete_element_response_instance = EzdoctemplatefieldtypecategoryAutocompleteElementResponse.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatefieldtypecategoryAutocompleteElementResponse.to_json()) + +# convert the object into a dict +ezdoctemplatefieldtypecategory_autocomplete_element_response_dict = ezdoctemplatefieldtypecategory_autocomplete_element_response_instance.to_dict() +# create an instance of EzdoctemplatefieldtypecategoryAutocompleteElementResponse from a dict +ezdoctemplatefieldtypecategory_autocomplete_element_response_from_dict = EzdoctemplatefieldtypecategoryAutocompleteElementResponse.from_dict(ezdoctemplatefieldtypecategory_autocomplete_element_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md b/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md new file mode 100644 index 000000000..716de0d70 --- /dev/null +++ b/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md @@ -0,0 +1,32 @@ +# EzdoctemplatefieldtypecategoryGetAutocompleteV2Response + +Response for GET /2/object/ezdoctemplatefieldtypecategory/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload**](EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response import EzdoctemplatefieldtypecategoryGetAutocompleteV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatefieldtypecategoryGetAutocompleteV2Response from a JSON string +ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_instance = EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.to_json()) + +# convert the object into a dict +ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_dict = ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_instance.to_dict() +# create an instance of EzdoctemplatefieldtypecategoryGetAutocompleteV2Response from a dict +ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_from_dict = EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.from_dict(ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.md b/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.md new file mode 100644 index 000000000..21a917f6b --- /dev/null +++ b/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload + +Payload for POST /2/object/ezdoctemplatefieldtypecategory/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezdoctemplatefieldtypecategory** | [**List[EzdoctemplatefieldtypecategoryAutocompleteElementResponse]**](EzdoctemplatefieldtypecategoryAutocompleteElementResponse.md) | An array of Ezdoctemplatefieldtypecategory autocomplete element response. | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload import EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload from a JSON string +ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload_instance = EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.to_json()) + +# convert the object into a dict +ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload_dict = ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload_instance.to_dict() +# create an instance of EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload from a dict +ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload_from_dict = EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.from_dict(ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatetypeAutocompleteElementResponse.md b/docs/EzdoctemplatetypeAutocompleteElementResponse.md new file mode 100644 index 000000000..b3564f464 --- /dev/null +++ b/docs/EzdoctemplatetypeAutocompleteElementResponse.md @@ -0,0 +1,32 @@ +# EzdoctemplatetypeAutocompleteElementResponse + +A Ezdoctemplatetype AutocompleteElement Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezdoctemplatetype_id** | **int** | The unique ID of the Ezdoctemplatetype | +**s_ezdoctemplatetype_description_x** | **str** | The description of the Ezdoctemplatetype in the language of the requester | +**b_ezdoctemplatetype_isactive** | **bool** | Whether the Ezdoctemplatetype is active or not | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response import EzdoctemplatetypeAutocompleteElementResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatetypeAutocompleteElementResponse from a JSON string +ezdoctemplatetype_autocomplete_element_response_instance = EzdoctemplatetypeAutocompleteElementResponse.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatetypeAutocompleteElementResponse.to_json()) + +# convert the object into a dict +ezdoctemplatetype_autocomplete_element_response_dict = ezdoctemplatetype_autocomplete_element_response_instance.to_dict() +# create an instance of EzdoctemplatetypeAutocompleteElementResponse from a dict +ezdoctemplatetype_autocomplete_element_response_from_dict = EzdoctemplatetypeAutocompleteElementResponse.from_dict(ezdoctemplatetype_autocomplete_element_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatetypeGetAutocompleteV2Response.md b/docs/EzdoctemplatetypeGetAutocompleteV2Response.md new file mode 100644 index 000000000..d7ae2a564 --- /dev/null +++ b/docs/EzdoctemplatetypeGetAutocompleteV2Response.md @@ -0,0 +1,32 @@ +# EzdoctemplatetypeGetAutocompleteV2Response + +Response for GET /2/object/ezdoctemplatetype/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzdoctemplatetypeGetAutocompleteV2ResponseMPayload**](EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response import EzdoctemplatetypeGetAutocompleteV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatetypeGetAutocompleteV2Response from a JSON string +ezdoctemplatetype_get_autocomplete_v2_response_instance = EzdoctemplatetypeGetAutocompleteV2Response.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatetypeGetAutocompleteV2Response.to_json()) + +# convert the object into a dict +ezdoctemplatetype_get_autocomplete_v2_response_dict = ezdoctemplatetype_get_autocomplete_v2_response_instance.to_dict() +# create an instance of EzdoctemplatetypeGetAutocompleteV2Response from a dict +ezdoctemplatetype_get_autocomplete_v2_response_from_dict = EzdoctemplatetypeGetAutocompleteV2Response.from_dict(ezdoctemplatetype_get_autocomplete_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.md b/docs/EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.md new file mode 100644 index 000000000..4ebd7aa2d --- /dev/null +++ b/docs/EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzdoctemplatetypeGetAutocompleteV2ResponseMPayload + +Payload for POST /2/object/ezdoctemplatetype/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezdoctemplatetype** | [**List[EzdoctemplatetypeAutocompleteElementResponse]**](EzdoctemplatetypeAutocompleteElementResponse.md) | An array of Ezdoctemplatetype autocomplete element response. | + +## Example + +```python +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response_m_payload import EzdoctemplatetypeGetAutocompleteV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzdoctemplatetypeGetAutocompleteV2ResponseMPayload from a JSON string +ezdoctemplatetype_get_autocomplete_v2_response_m_payload_instance = EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.to_json()) + +# convert the object into a dict +ezdoctemplatetype_get_autocomplete_v2_response_m_payload_dict = ezdoctemplatetype_get_autocomplete_v2_response_m_payload_instance.to_dict() +# create an instance of EzdoctemplatetypeGetAutocompleteV2ResponseMPayload from a dict +ezdoctemplatetype_get_autocomplete_v2_response_m_payload_from_dict = EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.from_dict(ezdoctemplatetype_get_autocomplete_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzmaxinvoicingAutocompleteElementResponse.md b/docs/EzmaxinvoicingAutocompleteElementResponse.md index 2ce85e7ca..0146f2354 100644 --- a/docs/EzmaxinvoicingAutocompleteElementResponse.md +++ b/docs/EzmaxinvoicingAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(EzmaxinvoicingAutocompleteElementResponse.to_json()) # convert the object into a dict ezmaxinvoicing_autocomplete_element_response_dict = ezmaxinvoicing_autocomplete_element_response_instance.to_dict() # create an instance of EzmaxinvoicingAutocompleteElementResponse from a dict -ezmaxinvoicing_autocomplete_element_response_form_dict = ezmaxinvoicing_autocomplete_element_response.from_dict(ezmaxinvoicing_autocomplete_element_response_dict) +ezmaxinvoicing_autocomplete_element_response_from_dict = EzmaxinvoicingAutocompleteElementResponse.from_dict(ezmaxinvoicing_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingGetAutocompleteV2Response.md b/docs/EzmaxinvoicingGetAutocompleteV2Response.md index f0089d932..905f8dc97 100644 --- a/docs/EzmaxinvoicingGetAutocompleteV2Response.md +++ b/docs/EzmaxinvoicingGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(EzmaxinvoicingGetAutocompleteV2Response.to_json()) # convert the object into a dict ezmaxinvoicing_get_autocomplete_v2_response_dict = ezmaxinvoicing_get_autocomplete_v2_response_instance.to_dict() # create an instance of EzmaxinvoicingGetAutocompleteV2Response from a dict -ezmaxinvoicing_get_autocomplete_v2_response_form_dict = ezmaxinvoicing_get_autocomplete_v2_response.from_dict(ezmaxinvoicing_get_autocomplete_v2_response_dict) +ezmaxinvoicing_get_autocomplete_v2_response_from_dict = EzmaxinvoicingGetAutocompleteV2Response.from_dict(ezmaxinvoicing_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingGetAutocompleteV2ResponseMPayload.md b/docs/EzmaxinvoicingGetAutocompleteV2ResponseMPayload.md index 16943b975..f24cf7c3a 100644 --- a/docs/EzmaxinvoicingGetAutocompleteV2ResponseMPayload.md +++ b/docs/EzmaxinvoicingGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzmaxinvoicingGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict ezmaxinvoicing_get_autocomplete_v2_response_m_payload_dict = ezmaxinvoicing_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of EzmaxinvoicingGetAutocompleteV2ResponseMPayload from a dict -ezmaxinvoicing_get_autocomplete_v2_response_m_payload_form_dict = ezmaxinvoicing_get_autocomplete_v2_response_m_payload.from_dict(ezmaxinvoicing_get_autocomplete_v2_response_m_payload_dict) +ezmaxinvoicing_get_autocomplete_v2_response_m_payload_from_dict = EzmaxinvoicingGetAutocompleteV2ResponseMPayload.from_dict(ezmaxinvoicing_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingGetObjectV2Response.md b/docs/EzmaxinvoicingGetObjectV2Response.md index c8027478a..9a5db4afb 100644 --- a/docs/EzmaxinvoicingGetObjectV2Response.md +++ b/docs/EzmaxinvoicingGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzmaxinvoicingGetObjectV2Response.to_json()) # convert the object into a dict ezmaxinvoicing_get_object_v2_response_dict = ezmaxinvoicing_get_object_v2_response_instance.to_dict() # create an instance of EzmaxinvoicingGetObjectV2Response from a dict -ezmaxinvoicing_get_object_v2_response_form_dict = ezmaxinvoicing_get_object_v2_response.from_dict(ezmaxinvoicing_get_object_v2_response_dict) +ezmaxinvoicing_get_object_v2_response_from_dict = EzmaxinvoicingGetObjectV2Response.from_dict(ezmaxinvoicing_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingGetObjectV2ResponseMPayload.md b/docs/EzmaxinvoicingGetObjectV2ResponseMPayload.md index 7e51c719c..51332a5d7 100644 --- a/docs/EzmaxinvoicingGetObjectV2ResponseMPayload.md +++ b/docs/EzmaxinvoicingGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzmaxinvoicingGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezmaxinvoicing_get_object_v2_response_m_payload_dict = ezmaxinvoicing_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzmaxinvoicingGetObjectV2ResponseMPayload from a dict -ezmaxinvoicing_get_object_v2_response_m_payload_form_dict = ezmaxinvoicing_get_object_v2_response_m_payload.from_dict(ezmaxinvoicing_get_object_v2_response_m_payload_dict) +ezmaxinvoicing_get_object_v2_response_m_payload_from_dict = EzmaxinvoicingGetObjectV2ResponseMPayload.from_dict(ezmaxinvoicing_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingGetProvisionalV1Response.md b/docs/EzmaxinvoicingGetProvisionalV1Response.md index 1bfdc9286..ef8caf8fe 100644 --- a/docs/EzmaxinvoicingGetProvisionalV1Response.md +++ b/docs/EzmaxinvoicingGetProvisionalV1Response.md @@ -25,7 +25,7 @@ print(EzmaxinvoicingGetProvisionalV1Response.to_json()) # convert the object into a dict ezmaxinvoicing_get_provisional_v1_response_dict = ezmaxinvoicing_get_provisional_v1_response_instance.to_dict() # create an instance of EzmaxinvoicingGetProvisionalV1Response from a dict -ezmaxinvoicing_get_provisional_v1_response_form_dict = ezmaxinvoicing_get_provisional_v1_response.from_dict(ezmaxinvoicing_get_provisional_v1_response_dict) +ezmaxinvoicing_get_provisional_v1_response_from_dict = EzmaxinvoicingGetProvisionalV1Response.from_dict(ezmaxinvoicing_get_provisional_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md b/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md index 4abd92db0..4982cf17a 100644 --- a/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md +++ b/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md @@ -44,7 +44,7 @@ print(EzmaxinvoicingGetProvisionalV1ResponseMPayload.to_json()) # convert the object into a dict ezmaxinvoicing_get_provisional_v1_response_m_payload_dict = ezmaxinvoicing_get_provisional_v1_response_m_payload_instance.to_dict() # create an instance of EzmaxinvoicingGetProvisionalV1ResponseMPayload from a dict -ezmaxinvoicing_get_provisional_v1_response_m_payload_form_dict = ezmaxinvoicing_get_provisional_v1_response_m_payload.from_dict(ezmaxinvoicing_get_provisional_v1_response_m_payload_dict) +ezmaxinvoicing_get_provisional_v1_response_m_payload_from_dict = EzmaxinvoicingGetProvisionalV1ResponseMPayload.from_dict(ezmaxinvoicing_get_provisional_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingResponse.md b/docs/EzmaxinvoicingResponse.md index e565928c8..99b42d77b 100644 --- a/docs/EzmaxinvoicingResponse.md +++ b/docs/EzmaxinvoicingResponse.md @@ -35,7 +35,7 @@ print(EzmaxinvoicingResponse.to_json()) # convert the object into a dict ezmaxinvoicing_response_dict = ezmaxinvoicing_response_instance.to_dict() # create an instance of EzmaxinvoicingResponse from a dict -ezmaxinvoicing_response_form_dict = ezmaxinvoicing_response.from_dict(ezmaxinvoicing_response_dict) +ezmaxinvoicing_response_from_dict = EzmaxinvoicingResponse.from_dict(ezmaxinvoicing_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingResponseCompound.md b/docs/EzmaxinvoicingResponseCompound.md index bbc03d0b5..3f0f17996 100644 --- a/docs/EzmaxinvoicingResponseCompound.md +++ b/docs/EzmaxinvoicingResponseCompound.md @@ -44,7 +44,7 @@ print(EzmaxinvoicingResponseCompound.to_json()) # convert the object into a dict ezmaxinvoicing_response_compound_dict = ezmaxinvoicing_response_compound_instance.to_dict() # create an instance of EzmaxinvoicingResponseCompound from a dict -ezmaxinvoicing_response_compound_form_dict = ezmaxinvoicing_response_compound.from_dict(ezmaxinvoicing_response_compound_dict) +ezmaxinvoicing_response_compound_from_dict = EzmaxinvoicingResponseCompound.from_dict(ezmaxinvoicing_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingagentResponse.md b/docs/EzmaxinvoicingagentResponse.md index f78c3ab8d..014bd6789 100644 --- a/docs/EzmaxinvoicingagentResponse.md +++ b/docs/EzmaxinvoicingagentResponse.md @@ -42,7 +42,7 @@ print(EzmaxinvoicingagentResponse.to_json()) # convert the object into a dict ezmaxinvoicingagent_response_dict = ezmaxinvoicingagent_response_instance.to_dict() # create an instance of EzmaxinvoicingagentResponse from a dict -ezmaxinvoicingagent_response_form_dict = ezmaxinvoicingagent_response.from_dict(ezmaxinvoicingagent_response_dict) +ezmaxinvoicingagent_response_from_dict = EzmaxinvoicingagentResponse.from_dict(ezmaxinvoicingagent_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingagentResponseCompound.md b/docs/EzmaxinvoicingagentResponseCompound.md index 594320cb7..ca7ad7326 100644 --- a/docs/EzmaxinvoicingagentResponseCompound.md +++ b/docs/EzmaxinvoicingagentResponseCompound.md @@ -43,7 +43,7 @@ print(EzmaxinvoicingagentResponseCompound.to_json()) # convert the object into a dict ezmaxinvoicingagent_response_compound_dict = ezmaxinvoicingagent_response_compound_instance.to_dict() # create an instance of EzmaxinvoicingagentResponseCompound from a dict -ezmaxinvoicingagent_response_compound_form_dict = ezmaxinvoicingagent_response_compound.from_dict(ezmaxinvoicingagent_response_compound_dict) +ezmaxinvoicingagent_response_compound_from_dict = EzmaxinvoicingagentResponseCompound.from_dict(ezmaxinvoicingagent_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingcommissionResponse.md b/docs/EzmaxinvoicingcommissionResponse.md index abe5dc3d3..7e4d88fd9 100644 --- a/docs/EzmaxinvoicingcommissionResponse.md +++ b/docs/EzmaxinvoicingcommissionResponse.md @@ -30,7 +30,7 @@ print(EzmaxinvoicingcommissionResponse.to_json()) # convert the object into a dict ezmaxinvoicingcommission_response_dict = ezmaxinvoicingcommission_response_instance.to_dict() # create an instance of EzmaxinvoicingcommissionResponse from a dict -ezmaxinvoicingcommission_response_form_dict = ezmaxinvoicingcommission_response.from_dict(ezmaxinvoicingcommission_response_dict) +ezmaxinvoicingcommission_response_from_dict = EzmaxinvoicingcommissionResponse.from_dict(ezmaxinvoicingcommission_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingcommissionResponseCompound.md b/docs/EzmaxinvoicingcommissionResponseCompound.md index fb95bc2ba..c9bd6e277 100644 --- a/docs/EzmaxinvoicingcommissionResponseCompound.md +++ b/docs/EzmaxinvoicingcommissionResponseCompound.md @@ -31,7 +31,7 @@ print(EzmaxinvoicingcommissionResponseCompound.to_json()) # convert the object into a dict ezmaxinvoicingcommission_response_compound_dict = ezmaxinvoicingcommission_response_compound_instance.to_dict() # create an instance of EzmaxinvoicingcommissionResponseCompound from a dict -ezmaxinvoicingcommission_response_compound_form_dict = ezmaxinvoicingcommission_response_compound.from_dict(ezmaxinvoicingcommission_response_compound_dict) +ezmaxinvoicingcommission_response_compound_from_dict = EzmaxinvoicingcommissionResponseCompound.from_dict(ezmaxinvoicingcommission_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingcontractResponse.md b/docs/EzmaxinvoicingcontractResponse.md index 57648683f..c95067bb9 100644 --- a/docs/EzmaxinvoicingcontractResponse.md +++ b/docs/EzmaxinvoicingcontractResponse.md @@ -31,7 +31,7 @@ print(EzmaxinvoicingcontractResponse.to_json()) # convert the object into a dict ezmaxinvoicingcontract_response_dict = ezmaxinvoicingcontract_response_instance.to_dict() # create an instance of EzmaxinvoicingcontractResponse from a dict -ezmaxinvoicingcontract_response_form_dict = ezmaxinvoicingcontract_response.from_dict(ezmaxinvoicingcontract_response_dict) +ezmaxinvoicingcontract_response_from_dict = EzmaxinvoicingcontractResponse.from_dict(ezmaxinvoicingcontract_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingcontractResponseCompound.md b/docs/EzmaxinvoicingcontractResponseCompound.md index 0637d4ede..83ad288cf 100644 --- a/docs/EzmaxinvoicingcontractResponseCompound.md +++ b/docs/EzmaxinvoicingcontractResponseCompound.md @@ -31,7 +31,7 @@ print(EzmaxinvoicingcontractResponseCompound.to_json()) # convert the object into a dict ezmaxinvoicingcontract_response_compound_dict = ezmaxinvoicingcontract_response_compound_instance.to_dict() # create an instance of EzmaxinvoicingcontractResponseCompound from a dict -ezmaxinvoicingcontract_response_compound_form_dict = ezmaxinvoicingcontract_response_compound.from_dict(ezmaxinvoicingcontract_response_compound_dict) +ezmaxinvoicingcontract_response_compound_from_dict = EzmaxinvoicingcontractResponseCompound.from_dict(ezmaxinvoicingcontract_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingsummaryexternalResponse.md b/docs/EzmaxinvoicingsummaryexternalResponse.md index bfdbb802f..7c997e01a 100644 --- a/docs/EzmaxinvoicingsummaryexternalResponse.md +++ b/docs/EzmaxinvoicingsummaryexternalResponse.md @@ -27,7 +27,7 @@ print(EzmaxinvoicingsummaryexternalResponse.to_json()) # convert the object into a dict ezmaxinvoicingsummaryexternal_response_dict = ezmaxinvoicingsummaryexternal_response_instance.to_dict() # create an instance of EzmaxinvoicingsummaryexternalResponse from a dict -ezmaxinvoicingsummaryexternal_response_form_dict = ezmaxinvoicingsummaryexternal_response.from_dict(ezmaxinvoicingsummaryexternal_response_dict) +ezmaxinvoicingsummaryexternal_response_from_dict = EzmaxinvoicingsummaryexternalResponse.from_dict(ezmaxinvoicingsummaryexternal_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingsummaryexternalResponseCompound.md b/docs/EzmaxinvoicingsummaryexternalResponseCompound.md index 62a945637..0d2a41f5b 100644 --- a/docs/EzmaxinvoicingsummaryexternalResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryexternalResponseCompound.md @@ -28,7 +28,7 @@ print(EzmaxinvoicingsummaryexternalResponseCompound.to_json()) # convert the object into a dict ezmaxinvoicingsummaryexternal_response_compound_dict = ezmaxinvoicingsummaryexternal_response_compound_instance.to_dict() # create an instance of EzmaxinvoicingsummaryexternalResponseCompound from a dict -ezmaxinvoicingsummaryexternal_response_compound_form_dict = ezmaxinvoicingsummaryexternal_response_compound.from_dict(ezmaxinvoicingsummaryexternal_response_compound_dict) +ezmaxinvoicingsummaryexternal_response_compound_from_dict = EzmaxinvoicingsummaryexternalResponseCompound.from_dict(ezmaxinvoicingsummaryexternal_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingsummaryexternaldetailResponse.md b/docs/EzmaxinvoicingsummaryexternaldetailResponse.md index 620e88464..2496c3a9a 100644 --- a/docs/EzmaxinvoicingsummaryexternaldetailResponse.md +++ b/docs/EzmaxinvoicingsummaryexternaldetailResponse.md @@ -32,7 +32,7 @@ print(EzmaxinvoicingsummaryexternaldetailResponse.to_json()) # convert the object into a dict ezmaxinvoicingsummaryexternaldetail_response_dict = ezmaxinvoicingsummaryexternaldetail_response_instance.to_dict() # create an instance of EzmaxinvoicingsummaryexternaldetailResponse from a dict -ezmaxinvoicingsummaryexternaldetail_response_form_dict = ezmaxinvoicingsummaryexternaldetail_response.from_dict(ezmaxinvoicingsummaryexternaldetail_response_dict) +ezmaxinvoicingsummaryexternaldetail_response_from_dict = EzmaxinvoicingsummaryexternaldetailResponse.from_dict(ezmaxinvoicingsummaryexternaldetail_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingsummaryexternaldetailResponseCompound.md b/docs/EzmaxinvoicingsummaryexternaldetailResponseCompound.md index 8886104c5..77d551469 100644 --- a/docs/EzmaxinvoicingsummaryexternaldetailResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryexternaldetailResponseCompound.md @@ -32,7 +32,7 @@ print(EzmaxinvoicingsummaryexternaldetailResponseCompound.to_json()) # convert the object into a dict ezmaxinvoicingsummaryexternaldetail_response_compound_dict = ezmaxinvoicingsummaryexternaldetail_response_compound_instance.to_dict() # create an instance of EzmaxinvoicingsummaryexternaldetailResponseCompound from a dict -ezmaxinvoicingsummaryexternaldetail_response_compound_form_dict = ezmaxinvoicingsummaryexternaldetail_response_compound.from_dict(ezmaxinvoicingsummaryexternaldetail_response_compound_dict) +ezmaxinvoicingsummaryexternaldetail_response_compound_from_dict = EzmaxinvoicingsummaryexternaldetailResponseCompound.from_dict(ezmaxinvoicingsummaryexternaldetail_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingsummaryglobalResponse.md b/docs/EzmaxinvoicingsummaryglobalResponse.md index c1cb0f677..00004b4c7 100644 --- a/docs/EzmaxinvoicingsummaryglobalResponse.md +++ b/docs/EzmaxinvoicingsummaryglobalResponse.md @@ -41,7 +41,7 @@ print(EzmaxinvoicingsummaryglobalResponse.to_json()) # convert the object into a dict ezmaxinvoicingsummaryglobal_response_dict = ezmaxinvoicingsummaryglobal_response_instance.to_dict() # create an instance of EzmaxinvoicingsummaryglobalResponse from a dict -ezmaxinvoicingsummaryglobal_response_form_dict = ezmaxinvoicingsummaryglobal_response.from_dict(ezmaxinvoicingsummaryglobal_response_dict) +ezmaxinvoicingsummaryglobal_response_from_dict = EzmaxinvoicingsummaryglobalResponse.from_dict(ezmaxinvoicingsummaryglobal_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingsummaryglobalResponseCompound.md b/docs/EzmaxinvoicingsummaryglobalResponseCompound.md index 059ed2034..b749ee20c 100644 --- a/docs/EzmaxinvoicingsummaryglobalResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryglobalResponseCompound.md @@ -42,7 +42,7 @@ print(EzmaxinvoicingsummaryglobalResponseCompound.to_json()) # convert the object into a dict ezmaxinvoicingsummaryglobal_response_compound_dict = ezmaxinvoicingsummaryglobal_response_compound_instance.to_dict() # create an instance of EzmaxinvoicingsummaryglobalResponseCompound from a dict -ezmaxinvoicingsummaryglobal_response_compound_form_dict = ezmaxinvoicingsummaryglobal_response_compound.from_dict(ezmaxinvoicingsummaryglobal_response_compound_dict) +ezmaxinvoicingsummaryglobal_response_compound_from_dict = EzmaxinvoicingsummaryglobalResponseCompound.from_dict(ezmaxinvoicingsummaryglobal_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingsummaryinternalResponse.md b/docs/EzmaxinvoicingsummaryinternalResponse.md index b3e8d6655..2e3051b5c 100644 --- a/docs/EzmaxinvoicingsummaryinternalResponse.md +++ b/docs/EzmaxinvoicingsummaryinternalResponse.md @@ -28,7 +28,7 @@ print(EzmaxinvoicingsummaryinternalResponse.to_json()) # convert the object into a dict ezmaxinvoicingsummaryinternal_response_dict = ezmaxinvoicingsummaryinternal_response_instance.to_dict() # create an instance of EzmaxinvoicingsummaryinternalResponse from a dict -ezmaxinvoicingsummaryinternal_response_form_dict = ezmaxinvoicingsummaryinternal_response.from_dict(ezmaxinvoicingsummaryinternal_response_dict) +ezmaxinvoicingsummaryinternal_response_from_dict = EzmaxinvoicingsummaryinternalResponse.from_dict(ezmaxinvoicingsummaryinternal_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingsummaryinternalResponseCompound.md b/docs/EzmaxinvoicingsummaryinternalResponseCompound.md index be1221241..e81500f92 100644 --- a/docs/EzmaxinvoicingsummaryinternalResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryinternalResponseCompound.md @@ -29,7 +29,7 @@ print(EzmaxinvoicingsummaryinternalResponseCompound.to_json()) # convert the object into a dict ezmaxinvoicingsummaryinternal_response_compound_dict = ezmaxinvoicingsummaryinternal_response_compound_instance.to_dict() # create an instance of EzmaxinvoicingsummaryinternalResponseCompound from a dict -ezmaxinvoicingsummaryinternal_response_compound_form_dict = ezmaxinvoicingsummaryinternal_response_compound.from_dict(ezmaxinvoicingsummaryinternal_response_compound_dict) +ezmaxinvoicingsummaryinternal_response_compound_from_dict = EzmaxinvoicingsummaryinternalResponseCompound.from_dict(ezmaxinvoicingsummaryinternal_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingsummaryinternaldetailResponse.md b/docs/EzmaxinvoicingsummaryinternaldetailResponse.md index 112a766af..482bc7e19 100644 --- a/docs/EzmaxinvoicingsummaryinternaldetailResponse.md +++ b/docs/EzmaxinvoicingsummaryinternaldetailResponse.md @@ -34,7 +34,7 @@ print(EzmaxinvoicingsummaryinternaldetailResponse.to_json()) # convert the object into a dict ezmaxinvoicingsummaryinternaldetail_response_dict = ezmaxinvoicingsummaryinternaldetail_response_instance.to_dict() # create an instance of EzmaxinvoicingsummaryinternaldetailResponse from a dict -ezmaxinvoicingsummaryinternaldetail_response_form_dict = ezmaxinvoicingsummaryinternaldetail_response.from_dict(ezmaxinvoicingsummaryinternaldetail_response_dict) +ezmaxinvoicingsummaryinternaldetail_response_from_dict = EzmaxinvoicingsummaryinternaldetailResponse.from_dict(ezmaxinvoicingsummaryinternaldetail_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicingsummaryinternaldetailResponseCompound.md b/docs/EzmaxinvoicingsummaryinternaldetailResponseCompound.md index dca6c9aaf..8eeb111d0 100644 --- a/docs/EzmaxinvoicingsummaryinternaldetailResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryinternaldetailResponseCompound.md @@ -34,7 +34,7 @@ print(EzmaxinvoicingsummaryinternaldetailResponseCompound.to_json()) # convert the object into a dict ezmaxinvoicingsummaryinternaldetail_response_compound_dict = ezmaxinvoicingsummaryinternaldetail_response_compound_instance.to_dict() # create an instance of EzmaxinvoicingsummaryinternaldetailResponseCompound from a dict -ezmaxinvoicingsummaryinternaldetail_response_compound_form_dict = ezmaxinvoicingsummaryinternaldetail_response_compound.from_dict(ezmaxinvoicingsummaryinternaldetail_response_compound_dict) +ezmaxinvoicingsummaryinternaldetail_response_compound_from_dict = EzmaxinvoicingsummaryinternaldetailResponseCompound.from_dict(ezmaxinvoicingsummaryinternaldetail_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicinguserResponse.md b/docs/EzmaxinvoicinguserResponse.md index 83302ca6f..9c5a463ee 100644 --- a/docs/EzmaxinvoicinguserResponse.md +++ b/docs/EzmaxinvoicinguserResponse.md @@ -31,7 +31,7 @@ print(EzmaxinvoicinguserResponse.to_json()) # convert the object into a dict ezmaxinvoicinguser_response_dict = ezmaxinvoicinguser_response_instance.to_dict() # create an instance of EzmaxinvoicinguserResponse from a dict -ezmaxinvoicinguser_response_form_dict = ezmaxinvoicinguser_response.from_dict(ezmaxinvoicinguser_response_dict) +ezmaxinvoicinguser_response_from_dict = EzmaxinvoicinguserResponse.from_dict(ezmaxinvoicinguser_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxinvoicinguserResponseCompound.md b/docs/EzmaxinvoicinguserResponseCompound.md index 839ae7b0e..619a051b0 100644 --- a/docs/EzmaxinvoicinguserResponseCompound.md +++ b/docs/EzmaxinvoicinguserResponseCompound.md @@ -32,7 +32,7 @@ print(EzmaxinvoicinguserResponseCompound.to_json()) # convert the object into a dict ezmaxinvoicinguser_response_compound_dict = ezmaxinvoicinguser_response_compound_instance.to_dict() # create an instance of EzmaxinvoicinguserResponseCompound from a dict -ezmaxinvoicinguser_response_compound_form_dict = ezmaxinvoicinguser_response_compound.from_dict(ezmaxinvoicinguser_response_compound_dict) +ezmaxinvoicinguser_response_compound_from_dict = EzmaxinvoicinguserResponseCompound.from_dict(ezmaxinvoicinguser_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxproductAutocompleteElementResponse.md b/docs/EzmaxproductAutocompleteElementResponse.md index 094272b61..ccb51386c 100644 --- a/docs/EzmaxproductAutocompleteElementResponse.md +++ b/docs/EzmaxproductAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(EzmaxproductAutocompleteElementResponse.to_json()) # convert the object into a dict ezmaxproduct_autocomplete_element_response_dict = ezmaxproduct_autocomplete_element_response_instance.to_dict() # create an instance of EzmaxproductAutocompleteElementResponse from a dict -ezmaxproduct_autocomplete_element_response_form_dict = ezmaxproduct_autocomplete_element_response.from_dict(ezmaxproduct_autocomplete_element_response_dict) +ezmaxproduct_autocomplete_element_response_from_dict = EzmaxproductAutocompleteElementResponse.from_dict(ezmaxproduct_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxproductGetAutocompleteV2Response.md b/docs/EzmaxproductGetAutocompleteV2Response.md index 2cb622d41..661d2b492 100644 --- a/docs/EzmaxproductGetAutocompleteV2Response.md +++ b/docs/EzmaxproductGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(EzmaxproductGetAutocompleteV2Response.to_json()) # convert the object into a dict ezmaxproduct_get_autocomplete_v2_response_dict = ezmaxproduct_get_autocomplete_v2_response_instance.to_dict() # create an instance of EzmaxproductGetAutocompleteV2Response from a dict -ezmaxproduct_get_autocomplete_v2_response_form_dict = ezmaxproduct_get_autocomplete_v2_response.from_dict(ezmaxproduct_get_autocomplete_v2_response_dict) +ezmaxproduct_get_autocomplete_v2_response_from_dict = EzmaxproductGetAutocompleteV2Response.from_dict(ezmaxproduct_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzmaxproductGetAutocompleteV2ResponseMPayload.md b/docs/EzmaxproductGetAutocompleteV2ResponseMPayload.md index 3ccb766a0..61eada2db 100644 --- a/docs/EzmaxproductGetAutocompleteV2ResponseMPayload.md +++ b/docs/EzmaxproductGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzmaxproductGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict ezmaxproduct_get_autocomplete_v2_response_m_payload_dict = ezmaxproduct_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of EzmaxproductGetAutocompleteV2ResponseMPayload from a dict -ezmaxproduct_get_autocomplete_v2_response_m_payload_form_dict = ezmaxproduct_get_autocomplete_v2_response_m_payload.from_dict(ezmaxproduct_get_autocomplete_v2_response_m_payload_dict) +ezmaxproduct_get_autocomplete_v2_response_m_payload_from_dict = EzmaxproductGetAutocompleteV2ResponseMPayload.from_dict(ezmaxproduct_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignSuggestSignersV1Response.md b/docs/EzsignSuggestSignersV1Response.md deleted file mode 100644 index 131f67ead..000000000 --- a/docs/EzsignSuggestSignersV1Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsignSuggestSignersV1Response - -Response for GET /1/module/ezsign/suggestSigners - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsignSuggestSignersV1ResponseMPayload**](EzsignSuggestSignersV1ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsign_suggest_signers_v1_response import EzsignSuggestSignersV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignSuggestSignersV1Response from a JSON string -ezsign_suggest_signers_v1_response_instance = EzsignSuggestSignersV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsignSuggestSignersV1Response.to_json()) - -# convert the object into a dict -ezsign_suggest_signers_v1_response_dict = ezsign_suggest_signers_v1_response_instance.to_dict() -# create an instance of EzsignSuggestSignersV1Response from a dict -ezsign_suggest_signers_v1_response_form_dict = ezsign_suggest_signers_v1_response.from_dict(ezsign_suggest_signers_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignSuggestSignersV1ResponseMPayload.md b/docs/EzsignSuggestSignersV1ResponseMPayload.md deleted file mode 100644 index f17d10d34..000000000 --- a/docs/EzsignSuggestSignersV1ResponseMPayload.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsignSuggestSignersV1ResponseMPayload - -Payload for GET /1/module/ezsign/suggestSigners - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_obj_ezsignfoldersignerassociation** | [**List[EzsignfoldersignerassociationResponseCompound]**](EzsignfoldersignerassociationResponseCompound.md) | | -**a_obj_user_team** | [**List[CustomUserResponse]**](CustomUserResponse.md) | | -**a_obj_user** | [**List[CustomUserResponse]**](CustomUserResponse.md) | | - -## Example - -```python -from eZmaxApi.models.ezsign_suggest_signers_v1_response_m_payload import EzsignSuggestSignersV1ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignSuggestSignersV1ResponseMPayload from a JSON string -ezsign_suggest_signers_v1_response_m_payload_instance = EzsignSuggestSignersV1ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsignSuggestSignersV1ResponseMPayload.to_json()) - -# convert the object into a dict -ezsign_suggest_signers_v1_response_m_payload_dict = ezsign_suggest_signers_v1_response_m_payload_instance.to_dict() -# create an instance of EzsignSuggestSignersV1ResponseMPayload from a dict -ezsign_suggest_signers_v1_response_m_payload_form_dict = ezsign_suggest_signers_v1_response_m_payload.from_dict(ezsign_suggest_signers_v1_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignSuggestTemplatesV1Response.md b/docs/EzsignSuggestTemplatesV1Response.md deleted file mode 100644 index 17d5f54ea..000000000 --- a/docs/EzsignSuggestTemplatesV1Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsignSuggestTemplatesV1Response - -Response for GET /1/module/ezsign/suggestTemplates - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsignSuggestTemplatesV1ResponseMPayload**](EzsignSuggestTemplatesV1ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsign_suggest_templates_v1_response import EzsignSuggestTemplatesV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignSuggestTemplatesV1Response from a JSON string -ezsign_suggest_templates_v1_response_instance = EzsignSuggestTemplatesV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsignSuggestTemplatesV1Response.to_json()) - -# convert the object into a dict -ezsign_suggest_templates_v1_response_dict = ezsign_suggest_templates_v1_response_instance.to_dict() -# create an instance of EzsignSuggestTemplatesV1Response from a dict -ezsign_suggest_templates_v1_response_form_dict = ezsign_suggest_templates_v1_response.from_dict(ezsign_suggest_templates_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignSuggestTemplatesV1ResponseMPayload.md b/docs/EzsignSuggestTemplatesV1ResponseMPayload.md deleted file mode 100644 index 4531fd4b5..000000000 --- a/docs/EzsignSuggestTemplatesV1ResponseMPayload.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsignSuggestTemplatesV1ResponseMPayload - -Payload for GET /1/module/ezsign/suggestTemplates - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_obj_ezsigntemplate** | [**List[EzsigntemplateResponseCompound]**](EzsigntemplateResponseCompound.md) | | -**a_obj_ezsigntemplatepackage** | [**List[EzsigntemplatepackageResponseCompound]**](EzsigntemplatepackageResponseCompound.md) | | -**a_obj_ezsigntemplateglobal** | [**List[EzsigntemplateglobalResponseCompound]**](EzsigntemplateglobalResponseCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsign_suggest_templates_v1_response_m_payload import EzsignSuggestTemplatesV1ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignSuggestTemplatesV1ResponseMPayload from a JSON string -ezsign_suggest_templates_v1_response_m_payload_instance = EzsignSuggestTemplatesV1ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsignSuggestTemplatesV1ResponseMPayload.to_json()) - -# convert the object into a dict -ezsign_suggest_templates_v1_response_m_payload_dict = ezsign_suggest_templates_v1_response_m_payload_instance.to_dict() -# create an instance of EzsignSuggestTemplatesV1ResponseMPayload from a dict -ezsign_suggest_templates_v1_response_m_payload_form_dict = ezsign_suggest_templates_v1_response_m_payload.from_dict(ezsign_suggest_templates_v1_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignannotationCreateObjectV1Request.md b/docs/EzsignannotationCreateObjectV1Request.md new file mode 100644 index 000000000..ce58f4612 --- /dev/null +++ b/docs/EzsignannotationCreateObjectV1Request.md @@ -0,0 +1,30 @@ +# EzsignannotationCreateObjectV1Request + +Request for POST /1/object/ezsignannotation + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsignannotation** | [**List[EzsignannotationRequestCompound]**](EzsignannotationRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignannotation_create_object_v1_request import EzsignannotationCreateObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignannotationCreateObjectV1Request from a JSON string +ezsignannotation_create_object_v1_request_instance = EzsignannotationCreateObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsignannotationCreateObjectV1Request.to_json()) + +# convert the object into a dict +ezsignannotation_create_object_v1_request_dict = ezsignannotation_create_object_v1_request_instance.to_dict() +# create an instance of EzsignannotationCreateObjectV1Request from a dict +ezsignannotation_create_object_v1_request_from_dict = EzsignannotationCreateObjectV1Request.from_dict(ezsignannotation_create_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignannotationCreateObjectV1Response.md b/docs/EzsignannotationCreateObjectV1Response.md new file mode 100644 index 000000000..c55b40e00 --- /dev/null +++ b/docs/EzsignannotationCreateObjectV1Response.md @@ -0,0 +1,32 @@ +# EzsignannotationCreateObjectV1Response + +Response for POST /1/object/ezsignannotation + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignannotationCreateObjectV1ResponseMPayload**](EzsignannotationCreateObjectV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignannotation_create_object_v1_response import EzsignannotationCreateObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignannotationCreateObjectV1Response from a JSON string +ezsignannotation_create_object_v1_response_instance = EzsignannotationCreateObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsignannotationCreateObjectV1Response.to_json()) + +# convert the object into a dict +ezsignannotation_create_object_v1_response_dict = ezsignannotation_create_object_v1_response_instance.to_dict() +# create an instance of EzsignannotationCreateObjectV1Response from a dict +ezsignannotation_create_object_v1_response_from_dict = EzsignannotationCreateObjectV1Response.from_dict(ezsignannotation_create_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignannotationCreateObjectV1ResponseMPayload.md b/docs/EzsignannotationCreateObjectV1ResponseMPayload.md new file mode 100644 index 000000000..5a02b69aa --- /dev/null +++ b/docs/EzsignannotationCreateObjectV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsignannotationCreateObjectV1ResponseMPayload + +Payload for POST /1/object/ezsignannotation + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezsignannotation_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.ezsignannotation_create_object_v1_response_m_payload import EzsignannotationCreateObjectV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignannotationCreateObjectV1ResponseMPayload from a JSON string +ezsignannotation_create_object_v1_response_m_payload_instance = EzsignannotationCreateObjectV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignannotationCreateObjectV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignannotation_create_object_v1_response_m_payload_dict = ezsignannotation_create_object_v1_response_m_payload_instance.to_dict() +# create an instance of EzsignannotationCreateObjectV1ResponseMPayload from a dict +ezsignannotation_create_object_v1_response_m_payload_from_dict = EzsignannotationCreateObjectV1ResponseMPayload.from_dict(ezsignannotation_create_object_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignannotationDeleteObjectV1Response.md b/docs/EzsignannotationDeleteObjectV1Response.md new file mode 100644 index 000000000..3c5cec3c7 --- /dev/null +++ b/docs/EzsignannotationDeleteObjectV1Response.md @@ -0,0 +1,31 @@ +# EzsignannotationDeleteObjectV1Response + +Response for DELETE /1/object/ezsignannotation/{pkiEzsignannotationID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignannotation_delete_object_v1_response import EzsignannotationDeleteObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignannotationDeleteObjectV1Response from a JSON string +ezsignannotation_delete_object_v1_response_instance = EzsignannotationDeleteObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsignannotationDeleteObjectV1Response.to_json()) + +# convert the object into a dict +ezsignannotation_delete_object_v1_response_dict = ezsignannotation_delete_object_v1_response_instance.to_dict() +# create an instance of EzsignannotationDeleteObjectV1Response from a dict +ezsignannotation_delete_object_v1_response_from_dict = EzsignannotationDeleteObjectV1Response.from_dict(ezsignannotation_delete_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignannotationEditObjectV1Request.md b/docs/EzsignannotationEditObjectV1Request.md new file mode 100644 index 000000000..e950bccd5 --- /dev/null +++ b/docs/EzsignannotationEditObjectV1Request.md @@ -0,0 +1,30 @@ +# EzsignannotationEditObjectV1Request + +Request for PUT /1/object/ezsignannotation/{pkiEzsignannotationID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignannotation** | [**EzsignannotationRequestCompound**](EzsignannotationRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignannotation_edit_object_v1_request import EzsignannotationEditObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignannotationEditObjectV1Request from a JSON string +ezsignannotation_edit_object_v1_request_instance = EzsignannotationEditObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsignannotationEditObjectV1Request.to_json()) + +# convert the object into a dict +ezsignannotation_edit_object_v1_request_dict = ezsignannotation_edit_object_v1_request_instance.to_dict() +# create an instance of EzsignannotationEditObjectV1Request from a dict +ezsignannotation_edit_object_v1_request_from_dict = EzsignannotationEditObjectV1Request.from_dict(ezsignannotation_edit_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignannotationEditObjectV1Response.md b/docs/EzsignannotationEditObjectV1Response.md new file mode 100644 index 000000000..7f12f039e --- /dev/null +++ b/docs/EzsignannotationEditObjectV1Response.md @@ -0,0 +1,31 @@ +# EzsignannotationEditObjectV1Response + +Response for PUT /1/object/ezsignannotation/{pkiEzsignannotationID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignannotation_edit_object_v1_response import EzsignannotationEditObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignannotationEditObjectV1Response from a JSON string +ezsignannotation_edit_object_v1_response_instance = EzsignannotationEditObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsignannotationEditObjectV1Response.to_json()) + +# convert the object into a dict +ezsignannotation_edit_object_v1_response_dict = ezsignannotation_edit_object_v1_response_instance.to_dict() +# create an instance of EzsignannotationEditObjectV1Response from a dict +ezsignannotation_edit_object_v1_response_from_dict = EzsignannotationEditObjectV1Response.from_dict(ezsignannotation_edit_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignannotationGetObjectV2Response.md b/docs/EzsignannotationGetObjectV2Response.md new file mode 100644 index 000000000..764df43b4 --- /dev/null +++ b/docs/EzsignannotationGetObjectV2Response.md @@ -0,0 +1,32 @@ +# EzsignannotationGetObjectV2Response + +Response for GET /2/object/ezsignannotation/{pkiEzsignannotationID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignannotationGetObjectV2ResponseMPayload**](EzsignannotationGetObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignannotation_get_object_v2_response import EzsignannotationGetObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignannotationGetObjectV2Response from a JSON string +ezsignannotation_get_object_v2_response_instance = EzsignannotationGetObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(EzsignannotationGetObjectV2Response.to_json()) + +# convert the object into a dict +ezsignannotation_get_object_v2_response_dict = ezsignannotation_get_object_v2_response_instance.to_dict() +# create an instance of EzsignannotationGetObjectV2Response from a dict +ezsignannotation_get_object_v2_response_from_dict = EzsignannotationGetObjectV2Response.from_dict(ezsignannotation_get_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignannotationGetObjectV2ResponseMPayload.md b/docs/EzsignannotationGetObjectV2ResponseMPayload.md new file mode 100644 index 000000000..f8010698d --- /dev/null +++ b/docs/EzsignannotationGetObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsignannotationGetObjectV2ResponseMPayload + +Payload for GET /2/object/ezsignannotation/{pkiEzsignannotationID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignannotation** | [**EzsignannotationResponseCompound**](EzsignannotationResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignannotation_get_object_v2_response_m_payload import EzsignannotationGetObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignannotationGetObjectV2ResponseMPayload from a JSON string +ezsignannotation_get_object_v2_response_m_payload_instance = EzsignannotationGetObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignannotationGetObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignannotation_get_object_v2_response_m_payload_dict = ezsignannotation_get_object_v2_response_m_payload_instance.to_dict() +# create an instance of EzsignannotationGetObjectV2ResponseMPayload from a dict +ezsignannotation_get_object_v2_response_m_payload_from_dict = EzsignannotationGetObjectV2ResponseMPayload.from_dict(ezsignannotation_get_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignannotationRequest.md b/docs/EzsignannotationRequest.md new file mode 100644 index 000000000..1a8636a16 --- /dev/null +++ b/docs/EzsignannotationRequest.md @@ -0,0 +1,40 @@ +# EzsignannotationRequest + +A Ezsignannotation Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignannotation_id** | **int** | The unique ID of the Ezsignannotation | [optional] +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**e_ezsignannotation_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**e_ezsignannotation_verticalalignment** | [**EnumVerticalalignment**](EnumVerticalalignment.md) | | [optional] +**e_ezsignannotation_type** | [**FieldEEzsignannotationType**](FieldEEzsignannotationType.md) | | +**i_ezsignannotation_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignannotation_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignannotation_width** | **int** | The Width of the Ezsignannotation. Width is calculated at 100dpi (dot per inch). So for example, if you want to have the width of the Ezsignannotation to be 3 inches, you would use \"300\" for the Width. | [optional] +**i_ezsignannotation_height** | **int** | The Height of the Ezsignannotation. Height is calculated at 100dpi (dot per inch). So for example, if you want to have the height of the Ezsignannotation to be 2 inches, you would use \"200\" for the Height. This can only be set if eEzsignannotationType is **StrikethroughBlock** or **Text** | [optional] +**s_ezsignannotation_text** | **str** | The Text of the Ezsignannotation | [optional] +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | + +## Example + +```python +from eZmaxApi.models.ezsignannotation_request import EzsignannotationRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignannotationRequest from a JSON string +ezsignannotation_request_instance = EzsignannotationRequest.from_json(json) +# print the JSON string representation of the object +print(EzsignannotationRequest.to_json()) + +# convert the object into a dict +ezsignannotation_request_dict = ezsignannotation_request_instance.to_dict() +# create an instance of EzsignannotationRequest from a dict +ezsignannotation_request_from_dict = EzsignannotationRequest.from_dict(ezsignannotation_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignannotationRequestCompound.md b/docs/EzsignannotationRequestCompound.md new file mode 100644 index 000000000..ee63787f6 --- /dev/null +++ b/docs/EzsignannotationRequestCompound.md @@ -0,0 +1,41 @@ +# EzsignannotationRequestCompound + +A Ezsignannotation Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignannotation_id** | **int** | The unique ID of the Ezsignannotation | [optional] +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**e_ezsignannotation_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**e_ezsignannotation_verticalalignment** | [**EnumVerticalalignment**](EnumVerticalalignment.md) | | [optional] +**e_ezsignannotation_type** | [**FieldEEzsignannotationType**](FieldEEzsignannotationType.md) | | +**i_ezsignannotation_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignannotation_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignannotation_width** | **int** | The Width of the Ezsignannotation. Width is calculated at 100dpi (dot per inch). So for example, if you want to have the width of the Ezsignannotation to be 3 inches, you would use \"300\" for the Width. | [optional] +**i_ezsignannotation_height** | **int** | The Height of the Ezsignannotation. Height is calculated at 100dpi (dot per inch). So for example, if you want to have the height of the Ezsignannotation to be 2 inches, you would use \"200\" for the Height. This can only be set if eEzsignannotationType is **StrikethroughBlock** or **Text** | [optional] +**s_ezsignannotation_text** | **str** | The Text of the Ezsignannotation | [optional] +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | +**obj_textstylestatic** | [**TextstylestaticRequestCompound**](TextstylestaticRequestCompound.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignannotation_request_compound import EzsignannotationRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignannotationRequestCompound from a JSON string +ezsignannotation_request_compound_instance = EzsignannotationRequestCompound.from_json(json) +# print the JSON string representation of the object +print(EzsignannotationRequestCompound.to_json()) + +# convert the object into a dict +ezsignannotation_request_compound_dict = ezsignannotation_request_compound_instance.to_dict() +# create an instance of EzsignannotationRequestCompound from a dict +ezsignannotation_request_compound_from_dict = EzsignannotationRequestCompound.from_dict(ezsignannotation_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignannotationResponse.md b/docs/EzsignannotationResponse.md index a04dd4bfc..46e30c188 100644 --- a/docs/EzsignannotationResponse.md +++ b/docs/EzsignannotationResponse.md @@ -33,7 +33,7 @@ print(EzsignannotationResponse.to_json()) # convert the object into a dict ezsignannotation_response_dict = ezsignannotation_response_instance.to_dict() # create an instance of EzsignannotationResponse from a dict -ezsignannotation_response_form_dict = ezsignannotation_response.from_dict(ezsignannotation_response_dict) +ezsignannotation_response_from_dict = EzsignannotationResponse.from_dict(ezsignannotation_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignannotationResponseCompound.md b/docs/EzsignannotationResponseCompound.md index 55242d45d..a387c26dd 100644 --- a/docs/EzsignannotationResponseCompound.md +++ b/docs/EzsignannotationResponseCompound.md @@ -34,7 +34,7 @@ print(EzsignannotationResponseCompound.to_json()) # convert the object into a dict ezsignannotation_response_compound_dict = ezsignannotation_response_compound_instance.to_dict() # create an instance of EzsignannotationResponseCompound from a dict -ezsignannotation_response_compound_form_dict = ezsignannotation_response_compound.from_dict(ezsignannotation_response_compound_dict) +ezsignannotation_response_compound_from_dict = EzsignannotationResponseCompound.from_dict(ezsignannotation_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV1Request.md b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV1Request.md deleted file mode 100644 index 5540e6c4a..000000000 --- a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV1Request.md +++ /dev/null @@ -1,36 +0,0 @@ -# EzsignbulksendCreateEzsignbulksendtransmissionV1Request - -Request for POST /1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| | -**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] -**s_ezsignbulksendtransmission_description** | **str** | The description of the Ezsignbulksendtransmission | -**dt_ezsigndocument_duedate** | **str** | The maximum date and time at which the Ezsigndocument can be signed. | -**e_ezsignfolder_sendreminderfrequency** | [**FieldEEzsignfolderSendreminderfrequency**](FieldEEzsignfolderSendreminderfrequency.md) | | -**t_extra_message** | **str** | A custom text message that will be added to the email sent. | -**s_csv_base64** | **bytearray** | The Base64 encoded binary content of the CSV file. | - -## Example - -```python -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_request import EzsignbulksendCreateEzsignbulksendtransmissionV1Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1Request from a JSON string -ezsignbulksend_create_ezsignbulksendtransmission_v1_request_instance = EzsignbulksendCreateEzsignbulksendtransmissionV1Request.from_json(json) -# print the JSON string representation of the object -print(EzsignbulksendCreateEzsignbulksendtransmissionV1Request.to_json()) - -# convert the object into a dict -ezsignbulksend_create_ezsignbulksendtransmission_v1_request_dict = ezsignbulksend_create_ezsignbulksendtransmission_v1_request_instance.to_dict() -# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1Request from a dict -ezsignbulksend_create_ezsignbulksendtransmission_v1_request_form_dict = ezsignbulksend_create_ezsignbulksendtransmission_v1_request.from_dict(ezsignbulksend_create_ezsignbulksendtransmission_v1_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV1Response.md b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV1Response.md deleted file mode 100644 index 0c9f41e64..000000000 --- a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV1Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsignbulksendCreateEzsignbulksendtransmissionV1Response - -Response for POST /1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload**](EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response import EzsignbulksendCreateEzsignbulksendtransmissionV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1Response from a JSON string -ezsignbulksend_create_ezsignbulksendtransmission_v1_response_instance = EzsignbulksendCreateEzsignbulksendtransmissionV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsignbulksendCreateEzsignbulksendtransmissionV1Response.to_json()) - -# convert the object into a dict -ezsignbulksend_create_ezsignbulksendtransmission_v1_response_dict = ezsignbulksend_create_ezsignbulksendtransmission_v1_response_instance.to_dict() -# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1Response from a dict -ezsignbulksend_create_ezsignbulksendtransmission_v1_response_form_dict = ezsignbulksend_create_ezsignbulksendtransmission_v1_response.from_dict(ezsignbulksend_create_ezsignbulksendtransmission_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload.md b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload.md deleted file mode 100644 index 26c47dc25..000000000 --- a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload - -Payload for POST /1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsignbulksendtransmission** | [**EzsignbulksendtransmissionResponse**](EzsignbulksendtransmissionResponse.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload from a JSON string -ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload_instance = EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload.to_json()) - -# convert the object into a dict -ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload_dict = ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload_instance.to_dict() -# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload from a dict -ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload_form_dict = ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.from_dict(ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Request.md b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Request.md new file mode 100644 index 000000000..7ce394674 --- /dev/null +++ b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Request.md @@ -0,0 +1,37 @@ +# EzsignbulksendCreateEzsignbulksendtransmissionV2Request + +Request for POST /1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**s_ezsignbulksendtransmission_description** | **str** | The description of the Ezsignbulksendtransmission | +**dt_ezsigndocument_duedate** | **str** | The maximum date and time at which the Ezsigndocument can be signed. | +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | +**t_extra_message** | **str** | A custom text message that will be added to the email sent. | +**s_csv_base64** | **bytearray** | The Base64 encoded binary content of the CSV file. | + +## Example + +```python +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_request import EzsignbulksendCreateEzsignbulksendtransmissionV2Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2Request from a JSON string +ezsignbulksend_create_ezsignbulksendtransmission_v2_request_instance = EzsignbulksendCreateEzsignbulksendtransmissionV2Request.from_json(json) +# print the JSON string representation of the object +print(EzsignbulksendCreateEzsignbulksendtransmissionV2Request.to_json()) + +# convert the object into a dict +ezsignbulksend_create_ezsignbulksendtransmission_v2_request_dict = ezsignbulksend_create_ezsignbulksendtransmission_v2_request_instance.to_dict() +# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2Request from a dict +ezsignbulksend_create_ezsignbulksendtransmission_v2_request_from_dict = EzsignbulksendCreateEzsignbulksendtransmissionV2Request.from_dict(ezsignbulksend_create_ezsignbulksendtransmission_v2_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md new file mode 100644 index 000000000..8bdb9114c --- /dev/null +++ b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md @@ -0,0 +1,32 @@ +# EzsignbulksendCreateEzsignbulksendtransmissionV2Response + +Response for POST /2/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload**](EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response import EzsignbulksendCreateEzsignbulksendtransmissionV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2Response from a JSON string +ezsignbulksend_create_ezsignbulksendtransmission_v2_response_instance = EzsignbulksendCreateEzsignbulksendtransmissionV2Response.from_json(json) +# print the JSON string representation of the object +print(EzsignbulksendCreateEzsignbulksendtransmissionV2Response.to_json()) + +# convert the object into a dict +ezsignbulksend_create_ezsignbulksendtransmission_v2_response_dict = ezsignbulksend_create_ezsignbulksendtransmission_v2_response_instance.to_dict() +# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2Response from a dict +ezsignbulksend_create_ezsignbulksendtransmission_v2_response_from_dict = EzsignbulksendCreateEzsignbulksendtransmissionV2Response.from_dict(ezsignbulksend_create_ezsignbulksendtransmission_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.md b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.md new file mode 100644 index 000000000..1cebe84f7 --- /dev/null +++ b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload + +Payload for POST /2/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignbulksendtransmission** | [**EzsignbulksendtransmissionResponse**](EzsignbulksendtransmissionResponse.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload from a JSON string +ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload_instance = EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload_dict = ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload_instance.to_dict() +# create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload from a dict +ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload_from_dict = EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.from_dict(ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignbulksendCreateObjectV1Request.md b/docs/EzsignbulksendCreateObjectV1Request.md index 796b4260b..24adfefaf 100644 --- a/docs/EzsignbulksendCreateObjectV1Request.md +++ b/docs/EzsignbulksendCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignbulksendCreateObjectV1Request.to_json()) # convert the object into a dict ezsignbulksend_create_object_v1_request_dict = ezsignbulksend_create_object_v1_request_instance.to_dict() # create an instance of EzsignbulksendCreateObjectV1Request from a dict -ezsignbulksend_create_object_v1_request_form_dict = ezsignbulksend_create_object_v1_request.from_dict(ezsignbulksend_create_object_v1_request_dict) +ezsignbulksend_create_object_v1_request_from_dict = EzsignbulksendCreateObjectV1Request.from_dict(ezsignbulksend_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendCreateObjectV1Response.md b/docs/EzsignbulksendCreateObjectV1Response.md index 92c5078c0..133fec57b 100644 --- a/docs/EzsignbulksendCreateObjectV1Response.md +++ b/docs/EzsignbulksendCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendCreateObjectV1Response.to_json()) # convert the object into a dict ezsignbulksend_create_object_v1_response_dict = ezsignbulksend_create_object_v1_response_instance.to_dict() # create an instance of EzsignbulksendCreateObjectV1Response from a dict -ezsignbulksend_create_object_v1_response_form_dict = ezsignbulksend_create_object_v1_response.from_dict(ezsignbulksend_create_object_v1_response_dict) +ezsignbulksend_create_object_v1_response_from_dict = EzsignbulksendCreateObjectV1Response.from_dict(ezsignbulksend_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendCreateObjectV1ResponseMPayload.md b/docs/EzsignbulksendCreateObjectV1ResponseMPayload.md index 7a6bb510c..8e37be674 100644 --- a/docs/EzsignbulksendCreateObjectV1ResponseMPayload.md +++ b/docs/EzsignbulksendCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignbulksendCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksend_create_object_v1_response_m_payload_dict = ezsignbulksend_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendCreateObjectV1ResponseMPayload from a dict -ezsignbulksend_create_object_v1_response_m_payload_form_dict = ezsignbulksend_create_object_v1_response_m_payload.from_dict(ezsignbulksend_create_object_v1_response_m_payload_dict) +ezsignbulksend_create_object_v1_response_m_payload_from_dict = EzsignbulksendCreateObjectV1ResponseMPayload.from_dict(ezsignbulksend_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendDeleteObjectV1Response.md b/docs/EzsignbulksendDeleteObjectV1Response.md index 3c72a6778..8a40c3126 100644 --- a/docs/EzsignbulksendDeleteObjectV1Response.md +++ b/docs/EzsignbulksendDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignbulksendDeleteObjectV1Response.to_json()) # convert the object into a dict ezsignbulksend_delete_object_v1_response_dict = ezsignbulksend_delete_object_v1_response_instance.to_dict() # create an instance of EzsignbulksendDeleteObjectV1Response from a dict -ezsignbulksend_delete_object_v1_response_form_dict = ezsignbulksend_delete_object_v1_response.from_dict(ezsignbulksend_delete_object_v1_response_dict) +ezsignbulksend_delete_object_v1_response_from_dict = EzsignbulksendDeleteObjectV1Response.from_dict(ezsignbulksend_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendEditObjectV1Request.md b/docs/EzsignbulksendEditObjectV1Request.md index 18f971ae0..acc478453 100644 --- a/docs/EzsignbulksendEditObjectV1Request.md +++ b/docs/EzsignbulksendEditObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignbulksendEditObjectV1Request.to_json()) # convert the object into a dict ezsignbulksend_edit_object_v1_request_dict = ezsignbulksend_edit_object_v1_request_instance.to_dict() # create an instance of EzsignbulksendEditObjectV1Request from a dict -ezsignbulksend_edit_object_v1_request_form_dict = ezsignbulksend_edit_object_v1_request.from_dict(ezsignbulksend_edit_object_v1_request_dict) +ezsignbulksend_edit_object_v1_request_from_dict = EzsignbulksendEditObjectV1Request.from_dict(ezsignbulksend_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendEditObjectV1Response.md b/docs/EzsignbulksendEditObjectV1Response.md index e36ec7b1d..74bfe4445 100644 --- a/docs/EzsignbulksendEditObjectV1Response.md +++ b/docs/EzsignbulksendEditObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignbulksendEditObjectV1Response.to_json()) # convert the object into a dict ezsignbulksend_edit_object_v1_response_dict = ezsignbulksend_edit_object_v1_response_instance.to_dict() # create an instance of EzsignbulksendEditObjectV1Response from a dict -ezsignbulksend_edit_object_v1_response_form_dict = ezsignbulksend_edit_object_v1_response.from_dict(ezsignbulksend_edit_object_v1_response_dict) +ezsignbulksend_edit_object_v1_response_from_dict = EzsignbulksendEditObjectV1Response.from_dict(ezsignbulksend_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1Response.md b/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1Response.md index c80c8a182..1e9c6e275 100644 --- a/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1Response.md +++ b/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendGetEzsignbulksendtransmissionsV1Response.to_json()) # convert the object into a dict ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_dict = ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_instance.to_dict() # create an instance of EzsignbulksendGetEzsignbulksendtransmissionsV1Response from a dict -ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_form_dict = ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.from_dict(ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_dict) +ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_from_dict = EzsignbulksendGetEzsignbulksendtransmissionsV1Response.from_dict(ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload.md b/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload.md index 553b966ae..5df6f8e36 100644 --- a/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload.md +++ b/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload_dict = ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload from a dict -ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload_form_dict = ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.from_dict(ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload_dict) +ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload_from_dict = EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload.from_dict(ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1Response.md index 12737e695..0d267e005 100644 --- a/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendGetEzsignsignaturesAutomaticV1Response.to_json()) # convert the object into a dict ezsignbulksend_get_ezsignsignatures_automatic_v1_response_dict = ezsignbulksend_get_ezsignsignatures_automatic_v1_response_instance.to_dict() # create an instance of EzsignbulksendGetEzsignsignaturesAutomaticV1Response from a dict -ezsignbulksend_get_ezsignsignatures_automatic_v1_response_form_dict = ezsignbulksend_get_ezsignsignatures_automatic_v1_response.from_dict(ezsignbulksend_get_ezsignsignatures_automatic_v1_response_dict) +ezsignbulksend_get_ezsignsignatures_automatic_v1_response_from_dict = EzsignbulksendGetEzsignsignaturesAutomaticV1Response.from_dict(ezsignbulksend_get_ezsignsignatures_automatic_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload.md b/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload.md index 98f2e1a22..3e1613a67 100644 --- a/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload.md +++ b/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload_dict = ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload from a dict -ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload_form_dict = ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.from_dict(ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload_dict) +ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload_from_dict = EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload.from_dict(ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendGetFormsDataV1Response.md b/docs/EzsignbulksendGetFormsDataV1Response.md index dda03acb2..4c4927731 100644 --- a/docs/EzsignbulksendGetFormsDataV1Response.md +++ b/docs/EzsignbulksendGetFormsDataV1Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendGetFormsDataV1Response.to_json()) # convert the object into a dict ezsignbulksend_get_forms_data_v1_response_dict = ezsignbulksend_get_forms_data_v1_response_instance.to_dict() # create an instance of EzsignbulksendGetFormsDataV1Response from a dict -ezsignbulksend_get_forms_data_v1_response_form_dict = ezsignbulksend_get_forms_data_v1_response.from_dict(ezsignbulksend_get_forms_data_v1_response_dict) +ezsignbulksend_get_forms_data_v1_response_from_dict = EzsignbulksendGetFormsDataV1Response.from_dict(ezsignbulksend_get_forms_data_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendGetFormsDataV1ResponseMPayload.md b/docs/EzsignbulksendGetFormsDataV1ResponseMPayload.md index 47f90c5f8..508ac83e6 100644 --- a/docs/EzsignbulksendGetFormsDataV1ResponseMPayload.md +++ b/docs/EzsignbulksendGetFormsDataV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignbulksendGetFormsDataV1ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksend_get_forms_data_v1_response_m_payload_dict = ezsignbulksend_get_forms_data_v1_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendGetFormsDataV1ResponseMPayload from a dict -ezsignbulksend_get_forms_data_v1_response_m_payload_form_dict = ezsignbulksend_get_forms_data_v1_response_m_payload.from_dict(ezsignbulksend_get_forms_data_v1_response_m_payload_dict) +ezsignbulksend_get_forms_data_v1_response_m_payload_from_dict = EzsignbulksendGetFormsDataV1ResponseMPayload.from_dict(ezsignbulksend_get_forms_data_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendGetListV1Response.md b/docs/EzsignbulksendGetListV1Response.md index 89d06209d..e650a3ada 100644 --- a/docs/EzsignbulksendGetListV1Response.md +++ b/docs/EzsignbulksendGetListV1Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendGetListV1Response.to_json()) # convert the object into a dict ezsignbulksend_get_list_v1_response_dict = ezsignbulksend_get_list_v1_response_instance.to_dict() # create an instance of EzsignbulksendGetListV1Response from a dict -ezsignbulksend_get_list_v1_response_form_dict = ezsignbulksend_get_list_v1_response.from_dict(ezsignbulksend_get_list_v1_response_dict) +ezsignbulksend_get_list_v1_response_from_dict = EzsignbulksendGetListV1Response.from_dict(ezsignbulksend_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendGetListV1ResponseMPayload.md b/docs/EzsignbulksendGetListV1ResponseMPayload.md index e4106e3fd..44a93a893 100644 --- a/docs/EzsignbulksendGetListV1ResponseMPayload.md +++ b/docs/EzsignbulksendGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(EzsignbulksendGetListV1ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksend_get_list_v1_response_m_payload_dict = ezsignbulksend_get_list_v1_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendGetListV1ResponseMPayload from a dict -ezsignbulksend_get_list_v1_response_m_payload_form_dict = ezsignbulksend_get_list_v1_response_m_payload.from_dict(ezsignbulksend_get_list_v1_response_m_payload_dict) +ezsignbulksend_get_list_v1_response_m_payload_from_dict = EzsignbulksendGetListV1ResponseMPayload.from_dict(ezsignbulksend_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendGetObjectV2Response.md b/docs/EzsignbulksendGetObjectV2Response.md index a28ea26aa..ec6d3f1ea 100644 --- a/docs/EzsignbulksendGetObjectV2Response.md +++ b/docs/EzsignbulksendGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendGetObjectV2Response.to_json()) # convert the object into a dict ezsignbulksend_get_object_v2_response_dict = ezsignbulksend_get_object_v2_response_instance.to_dict() # create an instance of EzsignbulksendGetObjectV2Response from a dict -ezsignbulksend_get_object_v2_response_form_dict = ezsignbulksend_get_object_v2_response.from_dict(ezsignbulksend_get_object_v2_response_dict) +ezsignbulksend_get_object_v2_response_from_dict = EzsignbulksendGetObjectV2Response.from_dict(ezsignbulksend_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendGetObjectV2ResponseMPayload.md b/docs/EzsignbulksendGetObjectV2ResponseMPayload.md index a44a653b2..21b92bcef 100644 --- a/docs/EzsignbulksendGetObjectV2ResponseMPayload.md +++ b/docs/EzsignbulksendGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignbulksendGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksend_get_object_v2_response_m_payload_dict = ezsignbulksend_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendGetObjectV2ResponseMPayload from a dict -ezsignbulksend_get_object_v2_response_m_payload_form_dict = ezsignbulksend_get_object_v2_response_m_payload.from_dict(ezsignbulksend_get_object_v2_response_m_payload_dict) +ezsignbulksend_get_object_v2_response_m_payload_from_dict = EzsignbulksendGetObjectV2ResponseMPayload.from_dict(ezsignbulksend_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendListElement.md b/docs/EzsignbulksendListElement.md index bace95b14..859ffadff 100644 --- a/docs/EzsignbulksendListElement.md +++ b/docs/EzsignbulksendListElement.md @@ -33,7 +33,7 @@ print(EzsignbulksendListElement.to_json()) # convert the object into a dict ezsignbulksend_list_element_dict = ezsignbulksend_list_element_instance.to_dict() # create an instance of EzsignbulksendListElement from a dict -ezsignbulksend_list_element_form_dict = ezsignbulksend_list_element.from_dict(ezsignbulksend_list_element_dict) +ezsignbulksend_list_element_from_dict = EzsignbulksendListElement.from_dict(ezsignbulksend_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendReorderV1Request.md b/docs/EzsignbulksendReorderV1Request.md index 42bad0bd4..f897a721e 100644 --- a/docs/EzsignbulksendReorderV1Request.md +++ b/docs/EzsignbulksendReorderV1Request.md @@ -23,7 +23,7 @@ print(EzsignbulksendReorderV1Request.to_json()) # convert the object into a dict ezsignbulksend_reorder_v1_request_dict = ezsignbulksend_reorder_v1_request_instance.to_dict() # create an instance of EzsignbulksendReorderV1Request from a dict -ezsignbulksend_reorder_v1_request_form_dict = ezsignbulksend_reorder_v1_request.from_dict(ezsignbulksend_reorder_v1_request_dict) +ezsignbulksend_reorder_v1_request_from_dict = EzsignbulksendReorderV1Request.from_dict(ezsignbulksend_reorder_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendReorderV1Response.md b/docs/EzsignbulksendReorderV1Response.md index a7ea15399..e63227286 100644 --- a/docs/EzsignbulksendReorderV1Response.md +++ b/docs/EzsignbulksendReorderV1Response.md @@ -24,7 +24,7 @@ print(EzsignbulksendReorderV1Response.to_json()) # convert the object into a dict ezsignbulksend_reorder_v1_response_dict = ezsignbulksend_reorder_v1_response_instance.to_dict() # create an instance of EzsignbulksendReorderV1Response from a dict -ezsignbulksend_reorder_v1_response_form_dict = ezsignbulksend_reorder_v1_response.from_dict(ezsignbulksend_reorder_v1_response_dict) +ezsignbulksend_reorder_v1_response_from_dict = EzsignbulksendReorderV1Response.from_dict(ezsignbulksend_reorder_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendRequest.md b/docs/EzsignbulksendRequest.md index 0dc65a949..dd2b5efe8 100644 --- a/docs/EzsignbulksendRequest.md +++ b/docs/EzsignbulksendRequest.md @@ -29,7 +29,7 @@ print(EzsignbulksendRequest.to_json()) # convert the object into a dict ezsignbulksend_request_dict = ezsignbulksend_request_instance.to_dict() # create an instance of EzsignbulksendRequest from a dict -ezsignbulksend_request_form_dict = ezsignbulksend_request.from_dict(ezsignbulksend_request_dict) +ezsignbulksend_request_from_dict = EzsignbulksendRequest.from_dict(ezsignbulksend_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendRequestCompound.md b/docs/EzsignbulksendRequestCompound.md index 0900e9a16..e966d0a06 100644 --- a/docs/EzsignbulksendRequestCompound.md +++ b/docs/EzsignbulksendRequestCompound.md @@ -29,7 +29,7 @@ print(EzsignbulksendRequestCompound.to_json()) # convert the object into a dict ezsignbulksend_request_compound_dict = ezsignbulksend_request_compound_instance.to_dict() # create an instance of EzsignbulksendRequestCompound from a dict -ezsignbulksend_request_compound_form_dict = ezsignbulksend_request_compound.from_dict(ezsignbulksend_request_compound_dict) +ezsignbulksend_request_compound_from_dict = EzsignbulksendRequestCompound.from_dict(ezsignbulksend_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendResponse.md b/docs/EzsignbulksendResponse.md index 30c90e5a8..95852314d 100644 --- a/docs/EzsignbulksendResponse.md +++ b/docs/EzsignbulksendResponse.md @@ -33,7 +33,7 @@ print(EzsignbulksendResponse.to_json()) # convert the object into a dict ezsignbulksend_response_dict = ezsignbulksend_response_instance.to_dict() # create an instance of EzsignbulksendResponse from a dict -ezsignbulksend_response_form_dict = ezsignbulksend_response.from_dict(ezsignbulksend_response_dict) +ezsignbulksend_response_from_dict = EzsignbulksendResponse.from_dict(ezsignbulksend_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendResponseCompound.md b/docs/EzsignbulksendResponseCompound.md index f3ecdbb87..3f4ac2c61 100644 --- a/docs/EzsignbulksendResponseCompound.md +++ b/docs/EzsignbulksendResponseCompound.md @@ -35,7 +35,7 @@ print(EzsignbulksendResponseCompound.to_json()) # convert the object into a dict ezsignbulksend_response_compound_dict = ezsignbulksend_response_compound_instance.to_dict() # create an instance of EzsignbulksendResponseCompound from a dict -ezsignbulksend_response_compound_form_dict = ezsignbulksend_response_compound.from_dict(ezsignbulksend_response_compound_dict) +ezsignbulksend_response_compound_from_dict = EzsignbulksendResponseCompound.from_dict(ezsignbulksend_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksenddocumentmappingCreateObjectV1Request.md b/docs/EzsignbulksenddocumentmappingCreateObjectV1Request.md index 73f3310e4..5e7edba5a 100644 --- a/docs/EzsignbulksenddocumentmappingCreateObjectV1Request.md +++ b/docs/EzsignbulksenddocumentmappingCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignbulksenddocumentmappingCreateObjectV1Request.to_json()) # convert the object into a dict ezsignbulksenddocumentmapping_create_object_v1_request_dict = ezsignbulksenddocumentmapping_create_object_v1_request_instance.to_dict() # create an instance of EzsignbulksenddocumentmappingCreateObjectV1Request from a dict -ezsignbulksenddocumentmapping_create_object_v1_request_form_dict = ezsignbulksenddocumentmapping_create_object_v1_request.from_dict(ezsignbulksenddocumentmapping_create_object_v1_request_dict) +ezsignbulksenddocumentmapping_create_object_v1_request_from_dict = EzsignbulksenddocumentmappingCreateObjectV1Request.from_dict(ezsignbulksenddocumentmapping_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksenddocumentmappingCreateObjectV1Response.md b/docs/EzsignbulksenddocumentmappingCreateObjectV1Response.md index a7f515bd5..440867eec 100644 --- a/docs/EzsignbulksenddocumentmappingCreateObjectV1Response.md +++ b/docs/EzsignbulksenddocumentmappingCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignbulksenddocumentmappingCreateObjectV1Response.to_json()) # convert the object into a dict ezsignbulksenddocumentmapping_create_object_v1_response_dict = ezsignbulksenddocumentmapping_create_object_v1_response_instance.to_dict() # create an instance of EzsignbulksenddocumentmappingCreateObjectV1Response from a dict -ezsignbulksenddocumentmapping_create_object_v1_response_form_dict = ezsignbulksenddocumentmapping_create_object_v1_response.from_dict(ezsignbulksenddocumentmapping_create_object_v1_response_dict) +ezsignbulksenddocumentmapping_create_object_v1_response_from_dict = EzsignbulksenddocumentmappingCreateObjectV1Response.from_dict(ezsignbulksenddocumentmapping_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload.md b/docs/EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload.md index a0ceeac96..568fe34c1 100644 --- a/docs/EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload.md +++ b/docs/EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksenddocumentmapping_create_object_v1_response_m_payload_dict = ezsignbulksenddocumentmapping_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload from a dict -ezsignbulksenddocumentmapping_create_object_v1_response_m_payload_form_dict = ezsignbulksenddocumentmapping_create_object_v1_response_m_payload.from_dict(ezsignbulksenddocumentmapping_create_object_v1_response_m_payload_dict) +ezsignbulksenddocumentmapping_create_object_v1_response_m_payload_from_dict = EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload.from_dict(ezsignbulksenddocumentmapping_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksenddocumentmappingDeleteObjectV1Response.md b/docs/EzsignbulksenddocumentmappingDeleteObjectV1Response.md index ecb838cea..5490e19ae 100644 --- a/docs/EzsignbulksenddocumentmappingDeleteObjectV1Response.md +++ b/docs/EzsignbulksenddocumentmappingDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignbulksenddocumentmappingDeleteObjectV1Response.to_json()) # convert the object into a dict ezsignbulksenddocumentmapping_delete_object_v1_response_dict = ezsignbulksenddocumentmapping_delete_object_v1_response_instance.to_dict() # create an instance of EzsignbulksenddocumentmappingDeleteObjectV1Response from a dict -ezsignbulksenddocumentmapping_delete_object_v1_response_form_dict = ezsignbulksenddocumentmapping_delete_object_v1_response.from_dict(ezsignbulksenddocumentmapping_delete_object_v1_response_dict) +ezsignbulksenddocumentmapping_delete_object_v1_response_from_dict = EzsignbulksenddocumentmappingDeleteObjectV1Response.from_dict(ezsignbulksenddocumentmapping_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksenddocumentmappingGetObjectV2Response.md b/docs/EzsignbulksenddocumentmappingGetObjectV2Response.md index 3aed0b9bc..02487f9fc 100644 --- a/docs/EzsignbulksenddocumentmappingGetObjectV2Response.md +++ b/docs/EzsignbulksenddocumentmappingGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignbulksenddocumentmappingGetObjectV2Response.to_json()) # convert the object into a dict ezsignbulksenddocumentmapping_get_object_v2_response_dict = ezsignbulksenddocumentmapping_get_object_v2_response_instance.to_dict() # create an instance of EzsignbulksenddocumentmappingGetObjectV2Response from a dict -ezsignbulksenddocumentmapping_get_object_v2_response_form_dict = ezsignbulksenddocumentmapping_get_object_v2_response.from_dict(ezsignbulksenddocumentmapping_get_object_v2_response_dict) +ezsignbulksenddocumentmapping_get_object_v2_response_from_dict = EzsignbulksenddocumentmappingGetObjectV2Response.from_dict(ezsignbulksenddocumentmapping_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload.md b/docs/EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload.md index 7c3ddca8e..790b6dcb0 100644 --- a/docs/EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload.md +++ b/docs/EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksenddocumentmapping_get_object_v2_response_m_payload_dict = ezsignbulksenddocumentmapping_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload from a dict -ezsignbulksenddocumentmapping_get_object_v2_response_m_payload_form_dict = ezsignbulksenddocumentmapping_get_object_v2_response_m_payload.from_dict(ezsignbulksenddocumentmapping_get_object_v2_response_m_payload_dict) +ezsignbulksenddocumentmapping_get_object_v2_response_m_payload_from_dict = EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload.from_dict(ezsignbulksenddocumentmapping_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksenddocumentmappingRequest.md b/docs/EzsignbulksenddocumentmappingRequest.md index a0c41e6f8..0a8482082 100644 --- a/docs/EzsignbulksenddocumentmappingRequest.md +++ b/docs/EzsignbulksenddocumentmappingRequest.md @@ -26,7 +26,7 @@ print(EzsignbulksenddocumentmappingRequest.to_json()) # convert the object into a dict ezsignbulksenddocumentmapping_request_dict = ezsignbulksenddocumentmapping_request_instance.to_dict() # create an instance of EzsignbulksenddocumentmappingRequest from a dict -ezsignbulksenddocumentmapping_request_form_dict = ezsignbulksenddocumentmapping_request.from_dict(ezsignbulksenddocumentmapping_request_dict) +ezsignbulksenddocumentmapping_request_from_dict = EzsignbulksenddocumentmappingRequest.from_dict(ezsignbulksenddocumentmapping_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksenddocumentmappingRequestCompound.md b/docs/EzsignbulksenddocumentmappingRequestCompound.md index b0fd3c6d3..c178960f8 100644 --- a/docs/EzsignbulksenddocumentmappingRequestCompound.md +++ b/docs/EzsignbulksenddocumentmappingRequestCompound.md @@ -26,7 +26,7 @@ print(EzsignbulksenddocumentmappingRequestCompound.to_json()) # convert the object into a dict ezsignbulksenddocumentmapping_request_compound_dict = ezsignbulksenddocumentmapping_request_compound_instance.to_dict() # create an instance of EzsignbulksenddocumentmappingRequestCompound from a dict -ezsignbulksenddocumentmapping_request_compound_form_dict = ezsignbulksenddocumentmapping_request_compound.from_dict(ezsignbulksenddocumentmapping_request_compound_dict) +ezsignbulksenddocumentmapping_request_compound_from_dict = EzsignbulksenddocumentmappingRequestCompound.from_dict(ezsignbulksenddocumentmapping_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksenddocumentmappingResponse.md b/docs/EzsignbulksenddocumentmappingResponse.md index 0bcec7ed7..6684fdf15 100644 --- a/docs/EzsignbulksenddocumentmappingResponse.md +++ b/docs/EzsignbulksenddocumentmappingResponse.md @@ -27,7 +27,7 @@ print(EzsignbulksenddocumentmappingResponse.to_json()) # convert the object into a dict ezsignbulksenddocumentmapping_response_dict = ezsignbulksenddocumentmapping_response_instance.to_dict() # create an instance of EzsignbulksenddocumentmappingResponse from a dict -ezsignbulksenddocumentmapping_response_form_dict = ezsignbulksenddocumentmapping_response.from_dict(ezsignbulksenddocumentmapping_response_dict) +ezsignbulksenddocumentmapping_response_from_dict = EzsignbulksenddocumentmappingResponse.from_dict(ezsignbulksenddocumentmapping_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksenddocumentmappingResponseCompound.md b/docs/EzsignbulksenddocumentmappingResponseCompound.md index 2b08f4799..2e1ec06d1 100644 --- a/docs/EzsignbulksenddocumentmappingResponseCompound.md +++ b/docs/EzsignbulksenddocumentmappingResponseCompound.md @@ -29,7 +29,7 @@ print(EzsignbulksenddocumentmappingResponseCompound.to_json()) # convert the object into a dict ezsignbulksenddocumentmapping_response_compound_dict = ezsignbulksenddocumentmapping_response_compound_instance.to_dict() # create an instance of EzsignbulksenddocumentmappingResponseCompound from a dict -ezsignbulksenddocumentmapping_response_compound_form_dict = ezsignbulksenddocumentmapping_response_compound.from_dict(ezsignbulksenddocumentmapping_response_compound_dict) +ezsignbulksenddocumentmapping_response_compound_from_dict = EzsignbulksenddocumentmappingResponseCompound.from_dict(ezsignbulksenddocumentmapping_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendsignermappingCreateObjectV1Request.md b/docs/EzsignbulksendsignermappingCreateObjectV1Request.md index a87acd963..acab010e5 100644 --- a/docs/EzsignbulksendsignermappingCreateObjectV1Request.md +++ b/docs/EzsignbulksendsignermappingCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignbulksendsignermappingCreateObjectV1Request.to_json()) # convert the object into a dict ezsignbulksendsignermapping_create_object_v1_request_dict = ezsignbulksendsignermapping_create_object_v1_request_instance.to_dict() # create an instance of EzsignbulksendsignermappingCreateObjectV1Request from a dict -ezsignbulksendsignermapping_create_object_v1_request_form_dict = ezsignbulksendsignermapping_create_object_v1_request.from_dict(ezsignbulksendsignermapping_create_object_v1_request_dict) +ezsignbulksendsignermapping_create_object_v1_request_from_dict = EzsignbulksendsignermappingCreateObjectV1Request.from_dict(ezsignbulksendsignermapping_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendsignermappingCreateObjectV1Response.md b/docs/EzsignbulksendsignermappingCreateObjectV1Response.md index cb57b5036..8eb229f4d 100644 --- a/docs/EzsignbulksendsignermappingCreateObjectV1Response.md +++ b/docs/EzsignbulksendsignermappingCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendsignermappingCreateObjectV1Response.to_json()) # convert the object into a dict ezsignbulksendsignermapping_create_object_v1_response_dict = ezsignbulksendsignermapping_create_object_v1_response_instance.to_dict() # create an instance of EzsignbulksendsignermappingCreateObjectV1Response from a dict -ezsignbulksendsignermapping_create_object_v1_response_form_dict = ezsignbulksendsignermapping_create_object_v1_response.from_dict(ezsignbulksendsignermapping_create_object_v1_response_dict) +ezsignbulksendsignermapping_create_object_v1_response_from_dict = EzsignbulksendsignermappingCreateObjectV1Response.from_dict(ezsignbulksendsignermapping_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendsignermappingCreateObjectV1ResponseMPayload.md b/docs/EzsignbulksendsignermappingCreateObjectV1ResponseMPayload.md index 910fe5d84..3345a39c4 100644 --- a/docs/EzsignbulksendsignermappingCreateObjectV1ResponseMPayload.md +++ b/docs/EzsignbulksendsignermappingCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignbulksendsignermappingCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksendsignermapping_create_object_v1_response_m_payload_dict = ezsignbulksendsignermapping_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendsignermappingCreateObjectV1ResponseMPayload from a dict -ezsignbulksendsignermapping_create_object_v1_response_m_payload_form_dict = ezsignbulksendsignermapping_create_object_v1_response_m_payload.from_dict(ezsignbulksendsignermapping_create_object_v1_response_m_payload_dict) +ezsignbulksendsignermapping_create_object_v1_response_m_payload_from_dict = EzsignbulksendsignermappingCreateObjectV1ResponseMPayload.from_dict(ezsignbulksendsignermapping_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendsignermappingDeleteObjectV1Response.md b/docs/EzsignbulksendsignermappingDeleteObjectV1Response.md index a7729088d..d62a3a55a 100644 --- a/docs/EzsignbulksendsignermappingDeleteObjectV1Response.md +++ b/docs/EzsignbulksendsignermappingDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignbulksendsignermappingDeleteObjectV1Response.to_json()) # convert the object into a dict ezsignbulksendsignermapping_delete_object_v1_response_dict = ezsignbulksendsignermapping_delete_object_v1_response_instance.to_dict() # create an instance of EzsignbulksendsignermappingDeleteObjectV1Response from a dict -ezsignbulksendsignermapping_delete_object_v1_response_form_dict = ezsignbulksendsignermapping_delete_object_v1_response.from_dict(ezsignbulksendsignermapping_delete_object_v1_response_dict) +ezsignbulksendsignermapping_delete_object_v1_response_from_dict = EzsignbulksendsignermappingDeleteObjectV1Response.from_dict(ezsignbulksendsignermapping_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendsignermappingGetObjectV2Response.md b/docs/EzsignbulksendsignermappingGetObjectV2Response.md index a02fe5475..071d937aa 100644 --- a/docs/EzsignbulksendsignermappingGetObjectV2Response.md +++ b/docs/EzsignbulksendsignermappingGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendsignermappingGetObjectV2Response.to_json()) # convert the object into a dict ezsignbulksendsignermapping_get_object_v2_response_dict = ezsignbulksendsignermapping_get_object_v2_response_instance.to_dict() # create an instance of EzsignbulksendsignermappingGetObjectV2Response from a dict -ezsignbulksendsignermapping_get_object_v2_response_form_dict = ezsignbulksendsignermapping_get_object_v2_response.from_dict(ezsignbulksendsignermapping_get_object_v2_response_dict) +ezsignbulksendsignermapping_get_object_v2_response_from_dict = EzsignbulksendsignermappingGetObjectV2Response.from_dict(ezsignbulksendsignermapping_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendsignermappingGetObjectV2ResponseMPayload.md b/docs/EzsignbulksendsignermappingGetObjectV2ResponseMPayload.md index b67149a58..858dc04a9 100644 --- a/docs/EzsignbulksendsignermappingGetObjectV2ResponseMPayload.md +++ b/docs/EzsignbulksendsignermappingGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignbulksendsignermappingGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksendsignermapping_get_object_v2_response_m_payload_dict = ezsignbulksendsignermapping_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendsignermappingGetObjectV2ResponseMPayload from a dict -ezsignbulksendsignermapping_get_object_v2_response_m_payload_form_dict = ezsignbulksendsignermapping_get_object_v2_response_m_payload.from_dict(ezsignbulksendsignermapping_get_object_v2_response_m_payload_dict) +ezsignbulksendsignermapping_get_object_v2_response_m_payload_from_dict = EzsignbulksendsignermappingGetObjectV2ResponseMPayload.from_dict(ezsignbulksendsignermapping_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendsignermappingRequest.md b/docs/EzsignbulksendsignermappingRequest.md index 4f515d2bb..5a0ac8cb0 100644 --- a/docs/EzsignbulksendsignermappingRequest.md +++ b/docs/EzsignbulksendsignermappingRequest.md @@ -26,7 +26,7 @@ print(EzsignbulksendsignermappingRequest.to_json()) # convert the object into a dict ezsignbulksendsignermapping_request_dict = ezsignbulksendsignermapping_request_instance.to_dict() # create an instance of EzsignbulksendsignermappingRequest from a dict -ezsignbulksendsignermapping_request_form_dict = ezsignbulksendsignermapping_request.from_dict(ezsignbulksendsignermapping_request_dict) +ezsignbulksendsignermapping_request_from_dict = EzsignbulksendsignermappingRequest.from_dict(ezsignbulksendsignermapping_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendsignermappingRequestCompound.md b/docs/EzsignbulksendsignermappingRequestCompound.md index 7ff08ede6..17dfd727e 100644 --- a/docs/EzsignbulksendsignermappingRequestCompound.md +++ b/docs/EzsignbulksendsignermappingRequestCompound.md @@ -26,7 +26,7 @@ print(EzsignbulksendsignermappingRequestCompound.to_json()) # convert the object into a dict ezsignbulksendsignermapping_request_compound_dict = ezsignbulksendsignermapping_request_compound_instance.to_dict() # create an instance of EzsignbulksendsignermappingRequestCompound from a dict -ezsignbulksendsignermapping_request_compound_form_dict = ezsignbulksendsignermapping_request_compound.from_dict(ezsignbulksendsignermapping_request_compound_dict) +ezsignbulksendsignermapping_request_compound_from_dict = EzsignbulksendsignermappingRequestCompound.from_dict(ezsignbulksendsignermapping_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendsignermappingResponse.md b/docs/EzsignbulksendsignermappingResponse.md index ff3691ab6..9a4e4069d 100644 --- a/docs/EzsignbulksendsignermappingResponse.md +++ b/docs/EzsignbulksendsignermappingResponse.md @@ -26,7 +26,7 @@ print(EzsignbulksendsignermappingResponse.to_json()) # convert the object into a dict ezsignbulksendsignermapping_response_dict = ezsignbulksendsignermapping_response_instance.to_dict() # create an instance of EzsignbulksendsignermappingResponse from a dict -ezsignbulksendsignermapping_response_form_dict = ezsignbulksendsignermapping_response.from_dict(ezsignbulksendsignermapping_response_dict) +ezsignbulksendsignermapping_response_from_dict = EzsignbulksendsignermappingResponse.from_dict(ezsignbulksendsignermapping_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendsignermappingResponseCompound.md b/docs/EzsignbulksendsignermappingResponseCompound.md index 1a936cf96..4187ac78c 100644 --- a/docs/EzsignbulksendsignermappingResponseCompound.md +++ b/docs/EzsignbulksendsignermappingResponseCompound.md @@ -26,7 +26,7 @@ print(EzsignbulksendsignermappingResponseCompound.to_json()) # convert the object into a dict ezsignbulksendsignermapping_response_compound_dict = ezsignbulksendsignermapping_response_compound_instance.to_dict() # create an instance of EzsignbulksendsignermappingResponseCompound from a dict -ezsignbulksendsignermapping_response_compound_form_dict = ezsignbulksendsignermapping_response_compound.from_dict(ezsignbulksendsignermapping_response_compound_dict) +ezsignbulksendsignermapping_response_compound_from_dict = EzsignbulksendsignermappingResponseCompound.from_dict(ezsignbulksendsignermapping_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.md index 48e510eda..8ef3c7370 100644 --- a/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.to_json() # convert the object into a dict ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_dict = ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_instance.to_dict() # create an instance of EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response from a dict -ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_form_dict = ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.from_dict(ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_dict) +ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_from_dict = EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.from_dict(ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload.md b/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload.md index fab202b07..7fe93de86 100644 --- a/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload.md +++ b/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload.t # convert the object into a dict ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload_dict = ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload from a dict -ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload_form_dict = ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.from_dict(ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload_dict) +ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload_from_dict = EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload.from_dict(ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendtransmissionGetFormsDataV1Response.md b/docs/EzsignbulksendtransmissionGetFormsDataV1Response.md index 48ac47b37..8bb7bc06a 100644 --- a/docs/EzsignbulksendtransmissionGetFormsDataV1Response.md +++ b/docs/EzsignbulksendtransmissionGetFormsDataV1Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendtransmissionGetFormsDataV1Response.to_json()) # convert the object into a dict ezsignbulksendtransmission_get_forms_data_v1_response_dict = ezsignbulksendtransmission_get_forms_data_v1_response_instance.to_dict() # create an instance of EzsignbulksendtransmissionGetFormsDataV1Response from a dict -ezsignbulksendtransmission_get_forms_data_v1_response_form_dict = ezsignbulksendtransmission_get_forms_data_v1_response.from_dict(ezsignbulksendtransmission_get_forms_data_v1_response_dict) +ezsignbulksendtransmission_get_forms_data_v1_response_from_dict = EzsignbulksendtransmissionGetFormsDataV1Response.from_dict(ezsignbulksendtransmission_get_forms_data_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload.md b/docs/EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload.md index e45f2b244..afacc12e7 100644 --- a/docs/EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload.md +++ b/docs/EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksendtransmission_get_forms_data_v1_response_m_payload_dict = ezsignbulksendtransmission_get_forms_data_v1_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload from a dict -ezsignbulksendtransmission_get_forms_data_v1_response_m_payload_form_dict = ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.from_dict(ezsignbulksendtransmission_get_forms_data_v1_response_m_payload_dict) +ezsignbulksendtransmission_get_forms_data_v1_response_m_payload_from_dict = EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload.from_dict(ezsignbulksendtransmission_get_forms_data_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendtransmissionGetObjectV2Response.md b/docs/EzsignbulksendtransmissionGetObjectV2Response.md index 6d419de07..8268cd0a1 100644 --- a/docs/EzsignbulksendtransmissionGetObjectV2Response.md +++ b/docs/EzsignbulksendtransmissionGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignbulksendtransmissionGetObjectV2Response.to_json()) # convert the object into a dict ezsignbulksendtransmission_get_object_v2_response_dict = ezsignbulksendtransmission_get_object_v2_response_instance.to_dict() # create an instance of EzsignbulksendtransmissionGetObjectV2Response from a dict -ezsignbulksendtransmission_get_object_v2_response_form_dict = ezsignbulksendtransmission_get_object_v2_response.from_dict(ezsignbulksendtransmission_get_object_v2_response_dict) +ezsignbulksendtransmission_get_object_v2_response_from_dict = EzsignbulksendtransmissionGetObjectV2Response.from_dict(ezsignbulksendtransmission_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendtransmissionGetObjectV2ResponseMPayload.md b/docs/EzsignbulksendtransmissionGetObjectV2ResponseMPayload.md index d25a163ca..71a358473 100644 --- a/docs/EzsignbulksendtransmissionGetObjectV2ResponseMPayload.md +++ b/docs/EzsignbulksendtransmissionGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignbulksendtransmissionGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignbulksendtransmission_get_object_v2_response_m_payload_dict = ezsignbulksendtransmission_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignbulksendtransmissionGetObjectV2ResponseMPayload from a dict -ezsignbulksendtransmission_get_object_v2_response_m_payload_form_dict = ezsignbulksendtransmission_get_object_v2_response_m_payload.from_dict(ezsignbulksendtransmission_get_object_v2_response_m_payload_dict) +ezsignbulksendtransmission_get_object_v2_response_m_payload_from_dict = EzsignbulksendtransmissionGetObjectV2ResponseMPayload.from_dict(ezsignbulksendtransmission_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendtransmissionResponse.md b/docs/EzsignbulksendtransmissionResponse.md index c8982439a..d277cce09 100644 --- a/docs/EzsignbulksendtransmissionResponse.md +++ b/docs/EzsignbulksendtransmissionResponse.md @@ -27,7 +27,7 @@ print(EzsignbulksendtransmissionResponse.to_json()) # convert the object into a dict ezsignbulksendtransmission_response_dict = ezsignbulksendtransmission_response_instance.to_dict() # create an instance of EzsignbulksendtransmissionResponse from a dict -ezsignbulksendtransmission_response_form_dict = ezsignbulksendtransmission_response.from_dict(ezsignbulksendtransmission_response_dict) +ezsignbulksendtransmission_response_from_dict = EzsignbulksendtransmissionResponse.from_dict(ezsignbulksendtransmission_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignbulksendtransmissionResponseCompound.md b/docs/EzsignbulksendtransmissionResponseCompound.md index 1bf2c7340..d77ac1248 100644 --- a/docs/EzsignbulksendtransmissionResponseCompound.md +++ b/docs/EzsignbulksendtransmissionResponseCompound.md @@ -28,7 +28,7 @@ print(EzsignbulksendtransmissionResponseCompound.to_json()) # convert the object into a dict ezsignbulksendtransmission_response_compound_dict = ezsignbulksendtransmission_response_compound_instance.to_dict() # create an instance of EzsignbulksendtransmissionResponseCompound from a dict -ezsignbulksendtransmission_response_compound_form_dict = ezsignbulksendtransmission_response_compound.from_dict(ezsignbulksendtransmission_response_compound_dict) +ezsignbulksendtransmission_response_compound_from_dict = EzsignbulksendtransmissionResponseCompound.from_dict(ezsignbulksendtransmission_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndiscussionCreateObjectV1Request.md b/docs/EzsigndiscussionCreateObjectV1Request.md index 70bc4dece..2757b1866 100644 --- a/docs/EzsigndiscussionCreateObjectV1Request.md +++ b/docs/EzsigndiscussionCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigndiscussionCreateObjectV1Request.to_json()) # convert the object into a dict ezsigndiscussion_create_object_v1_request_dict = ezsigndiscussion_create_object_v1_request_instance.to_dict() # create an instance of EzsigndiscussionCreateObjectV1Request from a dict -ezsigndiscussion_create_object_v1_request_form_dict = ezsigndiscussion_create_object_v1_request.from_dict(ezsigndiscussion_create_object_v1_request_dict) +ezsigndiscussion_create_object_v1_request_from_dict = EzsigndiscussionCreateObjectV1Request.from_dict(ezsigndiscussion_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndiscussionCreateObjectV1Response.md b/docs/EzsigndiscussionCreateObjectV1Response.md index 445ec2829..d36e3ed77 100644 --- a/docs/EzsigndiscussionCreateObjectV1Response.md +++ b/docs/EzsigndiscussionCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigndiscussionCreateObjectV1Response.to_json()) # convert the object into a dict ezsigndiscussion_create_object_v1_response_dict = ezsigndiscussion_create_object_v1_response_instance.to_dict() # create an instance of EzsigndiscussionCreateObjectV1Response from a dict -ezsigndiscussion_create_object_v1_response_form_dict = ezsigndiscussion_create_object_v1_response.from_dict(ezsigndiscussion_create_object_v1_response_dict) +ezsigndiscussion_create_object_v1_response_from_dict = EzsigndiscussionCreateObjectV1Response.from_dict(ezsigndiscussion_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndiscussionCreateObjectV1ResponseMPayload.md b/docs/EzsigndiscussionCreateObjectV1ResponseMPayload.md index 5cefd50d6..6cae3cf34 100644 --- a/docs/EzsigndiscussionCreateObjectV1ResponseMPayload.md +++ b/docs/EzsigndiscussionCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndiscussionCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndiscussion_create_object_v1_response_m_payload_dict = ezsigndiscussion_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndiscussionCreateObjectV1ResponseMPayload from a dict -ezsigndiscussion_create_object_v1_response_m_payload_form_dict = ezsigndiscussion_create_object_v1_response_m_payload.from_dict(ezsigndiscussion_create_object_v1_response_m_payload_dict) +ezsigndiscussion_create_object_v1_response_m_payload_from_dict = EzsigndiscussionCreateObjectV1ResponseMPayload.from_dict(ezsigndiscussion_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndiscussionDeleteObjectV1Response.md b/docs/EzsigndiscussionDeleteObjectV1Response.md index eea9fbb4e..5d54e8688 100644 --- a/docs/EzsigndiscussionDeleteObjectV1Response.md +++ b/docs/EzsigndiscussionDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigndiscussionDeleteObjectV1Response.to_json()) # convert the object into a dict ezsigndiscussion_delete_object_v1_response_dict = ezsigndiscussion_delete_object_v1_response_instance.to_dict() # create an instance of EzsigndiscussionDeleteObjectV1Response from a dict -ezsigndiscussion_delete_object_v1_response_form_dict = ezsigndiscussion_delete_object_v1_response.from_dict(ezsigndiscussion_delete_object_v1_response_dict) +ezsigndiscussion_delete_object_v1_response_from_dict = EzsigndiscussionDeleteObjectV1Response.from_dict(ezsigndiscussion_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndiscussionGetObjectV2Response.md b/docs/EzsigndiscussionGetObjectV2Response.md index 639f2ea93..c8c9df8d1 100644 --- a/docs/EzsigndiscussionGetObjectV2Response.md +++ b/docs/EzsigndiscussionGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigndiscussionGetObjectV2Response.to_json()) # convert the object into a dict ezsigndiscussion_get_object_v2_response_dict = ezsigndiscussion_get_object_v2_response_instance.to_dict() # create an instance of EzsigndiscussionGetObjectV2Response from a dict -ezsigndiscussion_get_object_v2_response_form_dict = ezsigndiscussion_get_object_v2_response.from_dict(ezsigndiscussion_get_object_v2_response_dict) +ezsigndiscussion_get_object_v2_response_from_dict = EzsigndiscussionGetObjectV2Response.from_dict(ezsigndiscussion_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndiscussionGetObjectV2ResponseMPayload.md b/docs/EzsigndiscussionGetObjectV2ResponseMPayload.md index 14e89d5dc..5711e51d7 100644 --- a/docs/EzsigndiscussionGetObjectV2ResponseMPayload.md +++ b/docs/EzsigndiscussionGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndiscussionGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsigndiscussion_get_object_v2_response_m_payload_dict = ezsigndiscussion_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigndiscussionGetObjectV2ResponseMPayload from a dict -ezsigndiscussion_get_object_v2_response_m_payload_form_dict = ezsigndiscussion_get_object_v2_response_m_payload.from_dict(ezsigndiscussion_get_object_v2_response_m_payload_dict) +ezsigndiscussion_get_object_v2_response_m_payload_from_dict = EzsigndiscussionGetObjectV2ResponseMPayload.from_dict(ezsigndiscussion_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndiscussionRequest.md b/docs/EzsigndiscussionRequest.md index 6215b5407..a643528b3 100644 --- a/docs/EzsigndiscussionRequest.md +++ b/docs/EzsigndiscussionRequest.md @@ -28,7 +28,7 @@ print(EzsigndiscussionRequest.to_json()) # convert the object into a dict ezsigndiscussion_request_dict = ezsigndiscussion_request_instance.to_dict() # create an instance of EzsigndiscussionRequest from a dict -ezsigndiscussion_request_form_dict = ezsigndiscussion_request.from_dict(ezsigndiscussion_request_dict) +ezsigndiscussion_request_from_dict = EzsigndiscussionRequest.from_dict(ezsigndiscussion_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndiscussionRequestCompound.md b/docs/EzsigndiscussionRequestCompound.md index cd189fc0d..da8f15932 100644 --- a/docs/EzsigndiscussionRequestCompound.md +++ b/docs/EzsigndiscussionRequestCompound.md @@ -28,7 +28,7 @@ print(EzsigndiscussionRequestCompound.to_json()) # convert the object into a dict ezsigndiscussion_request_compound_dict = ezsigndiscussion_request_compound_instance.to_dict() # create an instance of EzsigndiscussionRequestCompound from a dict -ezsigndiscussion_request_compound_form_dict = ezsigndiscussion_request_compound.from_dict(ezsigndiscussion_request_compound_dict) +ezsigndiscussion_request_compound_from_dict = EzsigndiscussionRequestCompound.from_dict(ezsigndiscussion_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndiscussionResponse.md b/docs/EzsigndiscussionResponse.md index 9d71457f2..1077886c2 100644 --- a/docs/EzsigndiscussionResponse.md +++ b/docs/EzsigndiscussionResponse.md @@ -29,7 +29,7 @@ print(EzsigndiscussionResponse.to_json()) # convert the object into a dict ezsigndiscussion_response_dict = ezsigndiscussion_response_instance.to_dict() # create an instance of EzsigndiscussionResponse from a dict -ezsigndiscussion_response_form_dict = ezsigndiscussion_response.from_dict(ezsigndiscussion_response_dict) +ezsigndiscussion_response_from_dict = EzsigndiscussionResponse.from_dict(ezsigndiscussion_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndiscussionResponseCompound.md b/docs/EzsigndiscussionResponseCompound.md index 0c8d0e2d5..0a3c3e549 100644 --- a/docs/EzsigndiscussionResponseCompound.md +++ b/docs/EzsigndiscussionResponseCompound.md @@ -29,7 +29,7 @@ print(EzsigndiscussionResponseCompound.to_json()) # convert the object into a dict ezsigndiscussion_response_compound_dict = ezsigndiscussion_response_compound_instance.to_dict() # create an instance of EzsigndiscussionResponseCompound from a dict -ezsigndiscussion_response_compound_form_dict = ezsigndiscussion_response_compound.from_dict(ezsigndiscussion_response_compound_dict) +ezsigndiscussion_response_compound_from_dict = EzsigndiscussionResponseCompound.from_dict(ezsigndiscussion_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentApplyEzsigntemplateV1Request.md b/docs/EzsigndocumentApplyEzsigntemplateV1Request.md index 8cf456793..2738b6cfa 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateV1Request.md +++ b/docs/EzsigndocumentApplyEzsigntemplateV1Request.md @@ -25,7 +25,7 @@ print(EzsigndocumentApplyEzsigntemplateV1Request.to_json()) # convert the object into a dict ezsigndocument_apply_ezsigntemplate_v1_request_dict = ezsigndocument_apply_ezsigntemplate_v1_request_instance.to_dict() # create an instance of EzsigndocumentApplyEzsigntemplateV1Request from a dict -ezsigndocument_apply_ezsigntemplate_v1_request_form_dict = ezsigndocument_apply_ezsigntemplate_v1_request.from_dict(ezsigndocument_apply_ezsigntemplate_v1_request_dict) +ezsigndocument_apply_ezsigntemplate_v1_request_from_dict = EzsigndocumentApplyEzsigntemplateV1Request.from_dict(ezsigndocument_apply_ezsigntemplate_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentApplyEzsigntemplateV1Response.md b/docs/EzsigndocumentApplyEzsigntemplateV1Response.md index bb032f461..1a4b07087 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateV1Response.md +++ b/docs/EzsigndocumentApplyEzsigntemplateV1Response.md @@ -24,7 +24,7 @@ print(EzsigndocumentApplyEzsigntemplateV1Response.to_json()) # convert the object into a dict ezsigndocument_apply_ezsigntemplate_v1_response_dict = ezsigndocument_apply_ezsigntemplate_v1_response_instance.to_dict() # create an instance of EzsigndocumentApplyEzsigntemplateV1Response from a dict -ezsigndocument_apply_ezsigntemplate_v1_response_form_dict = ezsigndocument_apply_ezsigntemplate_v1_response.from_dict(ezsigndocument_apply_ezsigntemplate_v1_response_dict) +ezsigndocument_apply_ezsigntemplate_v1_response_from_dict = EzsigndocumentApplyEzsigntemplateV1Response.from_dict(ezsigndocument_apply_ezsigntemplate_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentApplyEzsigntemplateV2Request.md b/docs/EzsigndocumentApplyEzsigntemplateV2Request.md index 335858264..b2b1066d7 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateV2Request.md +++ b/docs/EzsigndocumentApplyEzsigntemplateV2Request.md @@ -25,7 +25,7 @@ print(EzsigndocumentApplyEzsigntemplateV2Request.to_json()) # convert the object into a dict ezsigndocument_apply_ezsigntemplate_v2_request_dict = ezsigndocument_apply_ezsigntemplate_v2_request_instance.to_dict() # create an instance of EzsigndocumentApplyEzsigntemplateV2Request from a dict -ezsigndocument_apply_ezsigntemplate_v2_request_form_dict = ezsigndocument_apply_ezsigntemplate_v2_request.from_dict(ezsigndocument_apply_ezsigntemplate_v2_request_dict) +ezsigndocument_apply_ezsigntemplate_v2_request_from_dict = EzsigndocumentApplyEzsigntemplateV2Request.from_dict(ezsigndocument_apply_ezsigntemplate_v2_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentApplyEzsigntemplateV2Response.md b/docs/EzsigndocumentApplyEzsigntemplateV2Response.md index 4bee2f747..f7fbdd323 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateV2Response.md +++ b/docs/EzsigndocumentApplyEzsigntemplateV2Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentApplyEzsigntemplateV2Response.to_json()) # convert the object into a dict ezsigndocument_apply_ezsigntemplate_v2_response_dict = ezsigndocument_apply_ezsigntemplate_v2_response_instance.to_dict() # create an instance of EzsigndocumentApplyEzsigntemplateV2Response from a dict -ezsigndocument_apply_ezsigntemplate_v2_response_form_dict = ezsigndocument_apply_ezsigntemplate_v2_response.from_dict(ezsigndocument_apply_ezsigntemplate_v2_response_dict) +ezsigndocument_apply_ezsigntemplate_v2_response_from_dict = EzsigndocumentApplyEzsigntemplateV2Response.from_dict(ezsigndocument_apply_ezsigntemplate_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentApplyEzsigntemplateglobalV1Request.md b/docs/EzsigndocumentApplyEzsigntemplateglobalV1Request.md index 9960a09e7..b7c9bf770 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateglobalV1Request.md +++ b/docs/EzsigndocumentApplyEzsigntemplateglobalV1Request.md @@ -25,7 +25,7 @@ print(EzsigndocumentApplyEzsigntemplateglobalV1Request.to_json()) # convert the object into a dict ezsigndocument_apply_ezsigntemplateglobal_v1_request_dict = ezsigndocument_apply_ezsigntemplateglobal_v1_request_instance.to_dict() # create an instance of EzsigndocumentApplyEzsigntemplateglobalV1Request from a dict -ezsigndocument_apply_ezsigntemplateglobal_v1_request_form_dict = ezsigndocument_apply_ezsigntemplateglobal_v1_request.from_dict(ezsigndocument_apply_ezsigntemplateglobal_v1_request_dict) +ezsigndocument_apply_ezsigntemplateglobal_v1_request_from_dict = EzsigndocumentApplyEzsigntemplateglobalV1Request.from_dict(ezsigndocument_apply_ezsigntemplateglobal_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md b/docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md index 89f0bef3b..84ebc5879 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md +++ b/docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentApplyEzsigntemplateglobalV1Response.to_json()) # convert the object into a dict ezsigndocument_apply_ezsigntemplateglobal_v1_response_dict = ezsigndocument_apply_ezsigntemplateglobal_v1_response_instance.to_dict() # create an instance of EzsigndocumentApplyEzsigntemplateglobalV1Response from a dict -ezsigndocument_apply_ezsigntemplateglobal_v1_response_form_dict = ezsigndocument_apply_ezsigntemplateglobal_v1_response.from_dict(ezsigndocument_apply_ezsigntemplateglobal_v1_response_dict) +ezsigndocument_apply_ezsigntemplateglobal_v1_response_from_dict = EzsigndocumentApplyEzsigntemplateglobalV1Response.from_dict(ezsigndocument_apply_ezsigntemplateglobal_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentCreateElementV3Response.md b/docs/EzsigndocumentCreateElementV3Response.md new file mode 100644 index 000000000..930bf746e --- /dev/null +++ b/docs/EzsigndocumentCreateElementV3Response.md @@ -0,0 +1,31 @@ +# EzsigndocumentCreateElementV3Response + +A Ezsigndocument createObject Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**a_obj_matchingtemplate** | [**List[EzsigndocumentMatchingtemplateV3Response]**](EzsigndocumentMatchingtemplateV3Response.md) | An array of possibly matching template. | + +## Example + +```python +from eZmaxApi.models.ezsigndocument_create_element_v3_response import EzsigndocumentCreateElementV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentCreateElementV3Response from a JSON string +ezsigndocument_create_element_v3_response_instance = EzsigndocumentCreateElementV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentCreateElementV3Response.to_json()) + +# convert the object into a dict +ezsigndocument_create_element_v3_response_dict = ezsigndocument_create_element_v3_response_instance.to_dict() +# create an instance of EzsigndocumentCreateElementV3Response from a dict +ezsigndocument_create_element_v3_response_from_dict = EzsigndocumentCreateElementV3Response.from_dict(ezsigndocument_create_element_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Request.md b/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Request.md index 35f5e6e15..175e5b288 100644 --- a/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Request.md +++ b/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Request.md @@ -24,7 +24,7 @@ print(EzsigndocumentCreateEzsignelementsPositionedByWordV1Request.to_json()) # convert the object into a dict ezsigndocument_create_ezsignelements_positioned_by_word_v1_request_dict = ezsigndocument_create_ezsignelements_positioned_by_word_v1_request_instance.to_dict() # create an instance of EzsigndocumentCreateEzsignelementsPositionedByWordV1Request from a dict -ezsigndocument_create_ezsignelements_positioned_by_word_v1_request_form_dict = ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.from_dict(ezsigndocument_create_ezsignelements_positioned_by_word_v1_request_dict) +ezsigndocument_create_ezsignelements_positioned_by_word_v1_request_from_dict = EzsigndocumentCreateEzsignelementsPositionedByWordV1Request.from_dict(ezsigndocument_create_ezsignelements_positioned_by_word_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md b/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md index f61216602..fefdcfe07 100644 --- a/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md +++ b/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.to_json()) # convert the object into a dict ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_dict = ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_instance.to_dict() # create an instance of EzsigndocumentCreateEzsignelementsPositionedByWordV1Response from a dict -ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_form_dict = ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.from_dict(ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_dict) +ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_from_dict = EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.from_dict(ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload.md b/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload.md index 7db0d0969..3484b356d 100644 --- a/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload.md +++ b/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload.to_js # convert the object into a dict ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload_dict = ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload from a dict -ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload_form_dict = ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload.from_dict(ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload_dict) +ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload_from_dict = EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload.from_dict(ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentCreateObjectV1Request.md b/docs/EzsigndocumentCreateObjectV1Request.md index 849cd18c5..70bb881ba 100644 --- a/docs/EzsigndocumentCreateObjectV1Request.md +++ b/docs/EzsigndocumentCreateObjectV1Request.md @@ -24,7 +24,7 @@ print(EzsigndocumentCreateObjectV1Request.to_json()) # convert the object into a dict ezsigndocument_create_object_v1_request_dict = ezsigndocument_create_object_v1_request_instance.to_dict() # create an instance of EzsigndocumentCreateObjectV1Request from a dict -ezsigndocument_create_object_v1_request_form_dict = ezsigndocument_create_object_v1_request.from_dict(ezsigndocument_create_object_v1_request_dict) +ezsigndocument_create_object_v1_request_from_dict = EzsigndocumentCreateObjectV1Request.from_dict(ezsigndocument_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentCreateObjectV1Response.md b/docs/EzsigndocumentCreateObjectV1Response.md index da1cc515e..c858f8883 100644 --- a/docs/EzsigndocumentCreateObjectV1Response.md +++ b/docs/EzsigndocumentCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentCreateObjectV1Response.to_json()) # convert the object into a dict ezsigndocument_create_object_v1_response_dict = ezsigndocument_create_object_v1_response_instance.to_dict() # create an instance of EzsigndocumentCreateObjectV1Response from a dict -ezsigndocument_create_object_v1_response_form_dict = ezsigndocument_create_object_v1_response.from_dict(ezsigndocument_create_object_v1_response_dict) +ezsigndocument_create_object_v1_response_from_dict = EzsigndocumentCreateObjectV1Response.from_dict(ezsigndocument_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentCreateObjectV1ResponseMPayload.md b/docs/EzsigndocumentCreateObjectV1ResponseMPayload.md index caa371fd8..7fd1a50ce 100644 --- a/docs/EzsigndocumentCreateObjectV1ResponseMPayload.md +++ b/docs/EzsigndocumentCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_create_object_v1_response_m_payload_dict = ezsigndocument_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentCreateObjectV1ResponseMPayload from a dict -ezsigndocument_create_object_v1_response_m_payload_form_dict = ezsigndocument_create_object_v1_response_m_payload.from_dict(ezsigndocument_create_object_v1_response_m_payload_dict) +ezsigndocument_create_object_v1_response_m_payload_from_dict = EzsigndocumentCreateObjectV1ResponseMPayload.from_dict(ezsigndocument_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentCreateObjectV2Request.md b/docs/EzsigndocumentCreateObjectV2Request.md index def1589c1..78080beed 100644 --- a/docs/EzsigndocumentCreateObjectV2Request.md +++ b/docs/EzsigndocumentCreateObjectV2Request.md @@ -23,7 +23,7 @@ print(EzsigndocumentCreateObjectV2Request.to_json()) # convert the object into a dict ezsigndocument_create_object_v2_request_dict = ezsigndocument_create_object_v2_request_instance.to_dict() # create an instance of EzsigndocumentCreateObjectV2Request from a dict -ezsigndocument_create_object_v2_request_form_dict = ezsigndocument_create_object_v2_request.from_dict(ezsigndocument_create_object_v2_request_dict) +ezsigndocument_create_object_v2_request_from_dict = EzsigndocumentCreateObjectV2Request.from_dict(ezsigndocument_create_object_v2_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentCreateObjectV2Response.md b/docs/EzsigndocumentCreateObjectV2Response.md index db06f87e2..bf654752c 100644 --- a/docs/EzsigndocumentCreateObjectV2Response.md +++ b/docs/EzsigndocumentCreateObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentCreateObjectV2Response.to_json()) # convert the object into a dict ezsigndocument_create_object_v2_response_dict = ezsigndocument_create_object_v2_response_instance.to_dict() # create an instance of EzsigndocumentCreateObjectV2Response from a dict -ezsigndocument_create_object_v2_response_form_dict = ezsigndocument_create_object_v2_response.from_dict(ezsigndocument_create_object_v2_response_dict) +ezsigndocument_create_object_v2_response_from_dict = EzsigndocumentCreateObjectV2Response.from_dict(ezsigndocument_create_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentCreateObjectV2ResponseMPayload.md b/docs/EzsigndocumentCreateObjectV2ResponseMPayload.md index 7269629d3..7c981a2fb 100644 --- a/docs/EzsigndocumentCreateObjectV2ResponseMPayload.md +++ b/docs/EzsigndocumentCreateObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentCreateObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_create_object_v2_response_m_payload_dict = ezsigndocument_create_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentCreateObjectV2ResponseMPayload from a dict -ezsigndocument_create_object_v2_response_m_payload_form_dict = ezsigndocument_create_object_v2_response_m_payload.from_dict(ezsigndocument_create_object_v2_response_m_payload_dict) +ezsigndocument_create_object_v2_response_m_payload_from_dict = EzsigndocumentCreateObjectV2ResponseMPayload.from_dict(ezsigndocument_create_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentCreateObjectV3Request.md b/docs/EzsigndocumentCreateObjectV3Request.md new file mode 100644 index 000000000..85b65a4d5 --- /dev/null +++ b/docs/EzsigndocumentCreateObjectV3Request.md @@ -0,0 +1,30 @@ +# EzsigndocumentCreateObjectV3Request + +Request for POST /3/object/ezsigndocument + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsigndocument** | [**List[EzsigndocumentRequestCompound]**](EzsigndocumentRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigndocument_create_object_v3_request import EzsigndocumentCreateObjectV3Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentCreateObjectV3Request from a JSON string +ezsigndocument_create_object_v3_request_instance = EzsigndocumentCreateObjectV3Request.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentCreateObjectV3Request.to_json()) + +# convert the object into a dict +ezsigndocument_create_object_v3_request_dict = ezsigndocument_create_object_v3_request_instance.to_dict() +# create an instance of EzsigndocumentCreateObjectV3Request from a dict +ezsigndocument_create_object_v3_request_from_dict = EzsigndocumentCreateObjectV3Request.from_dict(ezsigndocument_create_object_v3_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentCreateObjectV3Response.md b/docs/EzsigndocumentCreateObjectV3Response.md new file mode 100644 index 000000000..2c6a811d2 --- /dev/null +++ b/docs/EzsigndocumentCreateObjectV3Response.md @@ -0,0 +1,32 @@ +# EzsigndocumentCreateObjectV3Response + +Response for POST /3/object/ezsigndocument + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigndocumentCreateObjectV3ResponseMPayload**](EzsigndocumentCreateObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigndocument_create_object_v3_response import EzsigndocumentCreateObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentCreateObjectV3Response from a JSON string +ezsigndocument_create_object_v3_response_instance = EzsigndocumentCreateObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentCreateObjectV3Response.to_json()) + +# convert the object into a dict +ezsigndocument_create_object_v3_response_dict = ezsigndocument_create_object_v3_response_instance.to_dict() +# create an instance of EzsigndocumentCreateObjectV3Response from a dict +ezsigndocument_create_object_v3_response_from_dict = EzsigndocumentCreateObjectV3Response.from_dict(ezsigndocument_create_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentCreateObjectV3ResponseMPayload.md b/docs/EzsigndocumentCreateObjectV3ResponseMPayload.md new file mode 100644 index 000000000..50bdbbc75 --- /dev/null +++ b/docs/EzsigndocumentCreateObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigndocumentCreateObjectV3ResponseMPayload + +Payload for POST /3/object/ezsigndocument + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsigndocument** | [**List[EzsigndocumentCreateElementV3Response]**](EzsigndocumentCreateElementV3Response.md) | An array of objets that contain unique IDs representing the object that were requested to be created and possibly matching template IDs. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.ezsigndocument_create_object_v3_response_m_payload import EzsigndocumentCreateObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentCreateObjectV3ResponseMPayload from a JSON string +ezsigndocument_create_object_v3_response_m_payload_instance = EzsigndocumentCreateObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentCreateObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigndocument_create_object_v3_response_m_payload_dict = ezsigndocument_create_object_v3_response_m_payload_instance.to_dict() +# create an instance of EzsigndocumentCreateObjectV3ResponseMPayload from a dict +ezsigndocument_create_object_v3_response_m_payload_from_dict = EzsigndocumentCreateObjectV3ResponseMPayload.from_dict(ezsigndocument_create_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentDeclineToSignV1Request.md b/docs/EzsigndocumentDeclineToSignV1Request.md index e0ef4ae85..b20d17563 100644 --- a/docs/EzsigndocumentDeclineToSignV1Request.md +++ b/docs/EzsigndocumentDeclineToSignV1Request.md @@ -23,7 +23,7 @@ print(EzsigndocumentDeclineToSignV1Request.to_json()) # convert the object into a dict ezsigndocument_decline_to_sign_v1_request_dict = ezsigndocument_decline_to_sign_v1_request_instance.to_dict() # create an instance of EzsigndocumentDeclineToSignV1Request from a dict -ezsigndocument_decline_to_sign_v1_request_form_dict = ezsigndocument_decline_to_sign_v1_request.from_dict(ezsigndocument_decline_to_sign_v1_request_dict) +ezsigndocument_decline_to_sign_v1_request_from_dict = EzsigndocumentDeclineToSignV1Request.from_dict(ezsigndocument_decline_to_sign_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentDeclineToSignV1Response.md b/docs/EzsigndocumentDeclineToSignV1Response.md index 8ef679741..fed0bcd3c 100644 --- a/docs/EzsigndocumentDeclineToSignV1Response.md +++ b/docs/EzsigndocumentDeclineToSignV1Response.md @@ -24,7 +24,7 @@ print(EzsigndocumentDeclineToSignV1Response.to_json()) # convert the object into a dict ezsigndocument_decline_to_sign_v1_response_dict = ezsigndocument_decline_to_sign_v1_response_instance.to_dict() # create an instance of EzsigndocumentDeclineToSignV1Response from a dict -ezsigndocument_decline_to_sign_v1_response_form_dict = ezsigndocument_decline_to_sign_v1_response.from_dict(ezsigndocument_decline_to_sign_v1_response_dict) +ezsigndocument_decline_to_sign_v1_response_from_dict = EzsigndocumentDeclineToSignV1Response.from_dict(ezsigndocument_decline_to_sign_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentDeleteObjectV1Response.md b/docs/EzsigndocumentDeleteObjectV1Response.md index 84fedc606..7a870ed1c 100644 --- a/docs/EzsigndocumentDeleteObjectV1Response.md +++ b/docs/EzsigndocumentDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigndocumentDeleteObjectV1Response.to_json()) # convert the object into a dict ezsigndocument_delete_object_v1_response_dict = ezsigndocument_delete_object_v1_response_instance.to_dict() # create an instance of EzsigndocumentDeleteObjectV1Response from a dict -ezsigndocument_delete_object_v1_response_form_dict = ezsigndocument_delete_object_v1_response.from_dict(ezsigndocument_delete_object_v1_response_dict) +ezsigndocument_delete_object_v1_response_from_dict = EzsigndocumentDeleteObjectV1Response.from_dict(ezsigndocument_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentEditEzsignannotationsV1Request.md b/docs/EzsigndocumentEditEzsignannotationsV1Request.md new file mode 100644 index 000000000..d66db6af9 --- /dev/null +++ b/docs/EzsigndocumentEditEzsignannotationsV1Request.md @@ -0,0 +1,30 @@ +# EzsigndocumentEditEzsignannotationsV1Request + +Request for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannotations + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsignannotation** | [**List[EzsignannotationRequestCompound]**](EzsignannotationRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_request import EzsigndocumentEditEzsignannotationsV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentEditEzsignannotationsV1Request from a JSON string +ezsigndocument_edit_ezsignannotations_v1_request_instance = EzsigndocumentEditEzsignannotationsV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentEditEzsignannotationsV1Request.to_json()) + +# convert the object into a dict +ezsigndocument_edit_ezsignannotations_v1_request_dict = ezsigndocument_edit_ezsignannotations_v1_request_instance.to_dict() +# create an instance of EzsigndocumentEditEzsignannotationsV1Request from a dict +ezsigndocument_edit_ezsignannotations_v1_request_from_dict = EzsigndocumentEditEzsignannotationsV1Request.from_dict(ezsigndocument_edit_ezsignannotations_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentEditEzsignannotationsV1Response.md b/docs/EzsigndocumentEditEzsignannotationsV1Response.md new file mode 100644 index 000000000..011ff6f2d --- /dev/null +++ b/docs/EzsigndocumentEditEzsignannotationsV1Response.md @@ -0,0 +1,32 @@ +# EzsigndocumentEditEzsignannotationsV1Response + +Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannotations + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigndocumentEditEzsignannotationsV1ResponseMPayload**](EzsigndocumentEditEzsignannotationsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response import EzsigndocumentEditEzsignannotationsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentEditEzsignannotationsV1Response from a JSON string +ezsigndocument_edit_ezsignannotations_v1_response_instance = EzsigndocumentEditEzsignannotationsV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentEditEzsignannotationsV1Response.to_json()) + +# convert the object into a dict +ezsigndocument_edit_ezsignannotations_v1_response_dict = ezsigndocument_edit_ezsignannotations_v1_response_instance.to_dict() +# create an instance of EzsigndocumentEditEzsignannotationsV1Response from a dict +ezsigndocument_edit_ezsignannotations_v1_response_from_dict = EzsigndocumentEditEzsignannotationsV1Response.from_dict(ezsigndocument_edit_ezsignannotations_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentEditEzsignannotationsV1ResponseMPayload.md b/docs/EzsigndocumentEditEzsignannotationsV1ResponseMPayload.md new file mode 100644 index 000000000..723b441c3 --- /dev/null +++ b/docs/EzsigndocumentEditEzsignannotationsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigndocumentEditEzsignannotationsV1ResponseMPayload + +Payload for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannotations + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezsignannotation_id** | **List[int]** | | + +## Example + +```python +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response_m_payload import EzsigndocumentEditEzsignannotationsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentEditEzsignannotationsV1ResponseMPayload from a JSON string +ezsigndocument_edit_ezsignannotations_v1_response_m_payload_instance = EzsigndocumentEditEzsignannotationsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentEditEzsignannotationsV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigndocument_edit_ezsignannotations_v1_response_m_payload_dict = ezsigndocument_edit_ezsignannotations_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigndocumentEditEzsignannotationsV1ResponseMPayload from a dict +ezsigndocument_edit_ezsignannotations_v1_response_m_payload_from_dict = EzsigndocumentEditEzsignannotationsV1ResponseMPayload.from_dict(ezsigndocument_edit_ezsignannotations_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentEditEzsignformfieldgroupsV1Request.md b/docs/EzsigndocumentEditEzsignformfieldgroupsV1Request.md index 2ce3d65a2..1d0cf53ab 100644 --- a/docs/EzsigndocumentEditEzsignformfieldgroupsV1Request.md +++ b/docs/EzsigndocumentEditEzsignformfieldgroupsV1Request.md @@ -23,7 +23,7 @@ print(EzsigndocumentEditEzsignformfieldgroupsV1Request.to_json()) # convert the object into a dict ezsigndocument_edit_ezsignformfieldgroups_v1_request_dict = ezsigndocument_edit_ezsignformfieldgroups_v1_request_instance.to_dict() # create an instance of EzsigndocumentEditEzsignformfieldgroupsV1Request from a dict -ezsigndocument_edit_ezsignformfieldgroups_v1_request_form_dict = ezsigndocument_edit_ezsignformfieldgroups_v1_request.from_dict(ezsigndocument_edit_ezsignformfieldgroups_v1_request_dict) +ezsigndocument_edit_ezsignformfieldgroups_v1_request_from_dict = EzsigndocumentEditEzsignformfieldgroupsV1Request.from_dict(ezsigndocument_edit_ezsignformfieldgroups_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md b/docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md index d67c46b98..06f9ec069 100644 --- a/docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md +++ b/docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentEditEzsignformfieldgroupsV1Response.to_json()) # convert the object into a dict ezsigndocument_edit_ezsignformfieldgroups_v1_response_dict = ezsigndocument_edit_ezsignformfieldgroups_v1_response_instance.to_dict() # create an instance of EzsigndocumentEditEzsignformfieldgroupsV1Response from a dict -ezsigndocument_edit_ezsignformfieldgroups_v1_response_form_dict = ezsigndocument_edit_ezsignformfieldgroups_v1_response.from_dict(ezsigndocument_edit_ezsignformfieldgroups_v1_response_dict) +ezsigndocument_edit_ezsignformfieldgroups_v1_response_from_dict = EzsigndocumentEditEzsignformfieldgroupsV1Response.from_dict(ezsigndocument_edit_ezsignformfieldgroups_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload.md b/docs/EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload.md index dd6586842..0b8238831 100644 --- a/docs/EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload.md +++ b/docs/EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload_dict = ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload from a dict -ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload_form_dict = ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload.from_dict(ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload_dict) +ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload_from_dict = EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload.from_dict(ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentEditEzsignsignaturesV1Request.md b/docs/EzsigndocumentEditEzsignsignaturesV1Request.md index 6cfff00bb..671f53f85 100644 --- a/docs/EzsigndocumentEditEzsignsignaturesV1Request.md +++ b/docs/EzsigndocumentEditEzsignsignaturesV1Request.md @@ -23,7 +23,7 @@ print(EzsigndocumentEditEzsignsignaturesV1Request.to_json()) # convert the object into a dict ezsigndocument_edit_ezsignsignatures_v1_request_dict = ezsigndocument_edit_ezsignsignatures_v1_request_instance.to_dict() # create an instance of EzsigndocumentEditEzsignsignaturesV1Request from a dict -ezsigndocument_edit_ezsignsignatures_v1_request_form_dict = ezsigndocument_edit_ezsignsignatures_v1_request.from_dict(ezsigndocument_edit_ezsignsignatures_v1_request_dict) +ezsigndocument_edit_ezsignsignatures_v1_request_from_dict = EzsigndocumentEditEzsignsignaturesV1Request.from_dict(ezsigndocument_edit_ezsignsignatures_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentEditEzsignsignaturesV1Response.md b/docs/EzsigndocumentEditEzsignsignaturesV1Response.md index 67d810935..080fce16b 100644 --- a/docs/EzsigndocumentEditEzsignsignaturesV1Response.md +++ b/docs/EzsigndocumentEditEzsignsignaturesV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentEditEzsignsignaturesV1Response.to_json()) # convert the object into a dict ezsigndocument_edit_ezsignsignatures_v1_response_dict = ezsigndocument_edit_ezsignsignatures_v1_response_instance.to_dict() # create an instance of EzsigndocumentEditEzsignsignaturesV1Response from a dict -ezsigndocument_edit_ezsignsignatures_v1_response_form_dict = ezsigndocument_edit_ezsignsignatures_v1_response.from_dict(ezsigndocument_edit_ezsignsignatures_v1_response_dict) +ezsigndocument_edit_ezsignsignatures_v1_response_from_dict = EzsigndocumentEditEzsignsignaturesV1Response.from_dict(ezsigndocument_edit_ezsignsignatures_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentEditEzsignsignaturesV1ResponseMPayload.md b/docs/EzsigndocumentEditEzsignsignaturesV1ResponseMPayload.md index dec65cfaf..4e392508c 100644 --- a/docs/EzsigndocumentEditEzsignsignaturesV1ResponseMPayload.md +++ b/docs/EzsigndocumentEditEzsignsignaturesV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentEditEzsignsignaturesV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_edit_ezsignsignatures_v1_response_m_payload_dict = ezsigndocument_edit_ezsignsignatures_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentEditEzsignsignaturesV1ResponseMPayload from a dict -ezsigndocument_edit_ezsignsignatures_v1_response_m_payload_form_dict = ezsigndocument_edit_ezsignsignatures_v1_response_m_payload.from_dict(ezsigndocument_edit_ezsignsignatures_v1_response_m_payload_dict) +ezsigndocument_edit_ezsignsignatures_v1_response_m_payload_from_dict = EzsigndocumentEditEzsignsignaturesV1ResponseMPayload.from_dict(ezsigndocument_edit_ezsignsignatures_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentEditObjectV1Request.md b/docs/EzsigndocumentEditObjectV1Request.md new file mode 100644 index 000000000..90ace6cf7 --- /dev/null +++ b/docs/EzsigndocumentEditObjectV1Request.md @@ -0,0 +1,30 @@ +# EzsigndocumentEditObjectV1Request + +Request for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsigndocument** | [**EzsigndocumentRequestCompound**](EzsigndocumentRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigndocument_edit_object_v1_request import EzsigndocumentEditObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentEditObjectV1Request from a JSON string +ezsigndocument_edit_object_v1_request_instance = EzsigndocumentEditObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentEditObjectV1Request.to_json()) + +# convert the object into a dict +ezsigndocument_edit_object_v1_request_dict = ezsigndocument_edit_object_v1_request_instance.to_dict() +# create an instance of EzsigndocumentEditObjectV1Request from a dict +ezsigndocument_edit_object_v1_request_from_dict = EzsigndocumentEditObjectV1Request.from_dict(ezsigndocument_edit_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentEditObjectV1Response.md b/docs/EzsigndocumentEditObjectV1Response.md new file mode 100644 index 000000000..61d1a51f9 --- /dev/null +++ b/docs/EzsigndocumentEditObjectV1Response.md @@ -0,0 +1,32 @@ +# EzsigndocumentEditObjectV1Response + +Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**a_obj_warning** | [**List[CommonResponseWarning]**](CommonResponseWarning.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigndocument_edit_object_v1_response import EzsigndocumentEditObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentEditObjectV1Response from a JSON string +ezsigndocument_edit_object_v1_response_instance = EzsigndocumentEditObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentEditObjectV1Response.to_json()) + +# convert the object into a dict +ezsigndocument_edit_object_v1_response_dict = ezsigndocument_edit_object_v1_response_instance.to_dict() +# create an instance of EzsigndocumentEditObjectV1Response from a dict +ezsigndocument_edit_object_v1_response_from_dict = EzsigndocumentEditObjectV1Response.from_dict(ezsigndocument_edit_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentEndPrematurelyV1Response.md b/docs/EzsigndocumentEndPrematurelyV1Response.md index cdbb3a1c8..98c8768b3 100644 --- a/docs/EzsigndocumentEndPrematurelyV1Response.md +++ b/docs/EzsigndocumentEndPrematurelyV1Response.md @@ -24,7 +24,7 @@ print(EzsigndocumentEndPrematurelyV1Response.to_json()) # convert the object into a dict ezsigndocument_end_prematurely_v1_response_dict = ezsigndocument_end_prematurely_v1_response_instance.to_dict() # create an instance of EzsigndocumentEndPrematurelyV1Response from a dict -ezsigndocument_end_prematurely_v1_response_form_dict = ezsigndocument_end_prematurely_v1_response.from_dict(ezsigndocument_end_prematurely_v1_response_dict) +ezsigndocument_end_prematurely_v1_response_from_dict = EzsigndocumentEndPrematurelyV1Response.from_dict(ezsigndocument_end_prematurely_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentExtractTextV1Request.md b/docs/EzsigndocumentExtractTextV1Request.md new file mode 100644 index 000000000..1c14de979 --- /dev/null +++ b/docs/EzsigndocumentExtractTextV1Request.md @@ -0,0 +1,35 @@ +# EzsigndocumentExtractTextV1Request + +Request for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/extractText + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_page** | **int** | The page where the area is located | +**e_section** | **str** | The section of the page | [optional] +**i_x** | **int** | The X coordinate (Horizontal). Require when eSection = 'Region' or eSection is not set. | [optional] +**i_y** | **int** | The Y coordinate (Vertical). Require when eSection = 'Region' or eSection is not set. | [optional] +**i_width** | **int** | Area's width. Require when eSection = 'Region' or eSection is not set. | [optional] +**i_height** | **int** | Area's height. Require when eSection = 'Region' or eSection is not set. | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigndocument_extract_text_v1_request import EzsigndocumentExtractTextV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentExtractTextV1Request from a JSON string +ezsigndocument_extract_text_v1_request_instance = EzsigndocumentExtractTextV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentExtractTextV1Request.to_json()) + +# convert the object into a dict +ezsigndocument_extract_text_v1_request_dict = ezsigndocument_extract_text_v1_request_instance.to_dict() +# create an instance of EzsigndocumentExtractTextV1Request from a dict +ezsigndocument_extract_text_v1_request_from_dict = EzsigndocumentExtractTextV1Request.from_dict(ezsigndocument_extract_text_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentExtractTextV1Response.md b/docs/EzsigndocumentExtractTextV1Response.md new file mode 100644 index 000000000..3100b7d52 --- /dev/null +++ b/docs/EzsigndocumentExtractTextV1Response.md @@ -0,0 +1,32 @@ +# EzsigndocumentExtractTextV1Response + +Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/extractText + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigndocumentExtractTextV1ResponseMPayload**](EzsigndocumentExtractTextV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigndocument_extract_text_v1_response import EzsigndocumentExtractTextV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentExtractTextV1Response from a JSON string +ezsigndocument_extract_text_v1_response_instance = EzsigndocumentExtractTextV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentExtractTextV1Response.to_json()) + +# convert the object into a dict +ezsigndocument_extract_text_v1_response_dict = ezsigndocument_extract_text_v1_response_instance.to_dict() +# create an instance of EzsigndocumentExtractTextV1Response from a dict +ezsigndocument_extract_text_v1_response_from_dict = EzsigndocumentExtractTextV1Response.from_dict(ezsigndocument_extract_text_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentExtractTextV1ResponseMPayload.md b/docs/EzsigndocumentExtractTextV1ResponseMPayload.md new file mode 100644 index 000000000..8340d9deb --- /dev/null +++ b/docs/EzsigndocumentExtractTextV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigndocumentExtractTextV1ResponseMPayload + +Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/ExtractText + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_text** | **str** | The text extract from document | + +## Example + +```python +from eZmaxApi.models.ezsigndocument_extract_text_v1_response_m_payload import EzsigndocumentExtractTextV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentExtractTextV1ResponseMPayload from a JSON string +ezsigndocument_extract_text_v1_response_m_payload_instance = EzsigndocumentExtractTextV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentExtractTextV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigndocument_extract_text_v1_response_m_payload_dict = ezsigndocument_extract_text_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigndocumentExtractTextV1ResponseMPayload from a dict +ezsigndocument_extract_text_v1_response_m_payload_from_dict = EzsigndocumentExtractTextV1ResponseMPayload.from_dict(ezsigndocument_extract_text_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentFlattenV1Response.md b/docs/EzsigndocumentFlattenV1Response.md index 53fc43c30..343068c39 100644 --- a/docs/EzsigndocumentFlattenV1Response.md +++ b/docs/EzsigndocumentFlattenV1Response.md @@ -24,7 +24,7 @@ print(EzsigndocumentFlattenV1Response.to_json()) # convert the object into a dict ezsigndocument_flatten_v1_response_dict = ezsigndocument_flatten_v1_response_instance.to_dict() # create an instance of EzsigndocumentFlattenV1Response from a dict -ezsigndocument_flatten_v1_response_form_dict = ezsigndocument_flatten_v1_response.from_dict(ezsigndocument_flatten_v1_response_dict) +ezsigndocument_flatten_v1_response_from_dict = EzsigndocumentFlattenV1Response.from_dict(ezsigndocument_flatten_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetActionableElementsV1Response.md b/docs/EzsigndocumentGetActionableElementsV1Response.md index 7c9001fd3..942038f5b 100644 --- a/docs/EzsigndocumentGetActionableElementsV1Response.md +++ b/docs/EzsigndocumentGetActionableElementsV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetActionableElementsV1Response.to_json()) # convert the object into a dict ezsigndocument_get_actionable_elements_v1_response_dict = ezsigndocument_get_actionable_elements_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetActionableElementsV1Response from a dict -ezsigndocument_get_actionable_elements_v1_response_form_dict = ezsigndocument_get_actionable_elements_v1_response.from_dict(ezsigndocument_get_actionable_elements_v1_response_dict) +ezsigndocument_get_actionable_elements_v1_response_from_dict = EzsigndocumentGetActionableElementsV1Response.from_dict(ezsigndocument_get_actionable_elements_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetActionableElementsV1ResponseMPayload.md b/docs/EzsigndocumentGetActionableElementsV1ResponseMPayload.md index 0e4ad63c5..d49ef08ce 100644 --- a/docs/EzsigndocumentGetActionableElementsV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetActionableElementsV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsigndocumentGetActionableElementsV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_actionable_elements_v1_response_m_payload_dict = ezsigndocument_get_actionable_elements_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetActionableElementsV1ResponseMPayload from a dict -ezsigndocument_get_actionable_elements_v1_response_m_payload_form_dict = ezsigndocument_get_actionable_elements_v1_response_m_payload.from_dict(ezsigndocument_get_actionable_elements_v1_response_m_payload_dict) +ezsigndocument_get_actionable_elements_v1_response_m_payload_from_dict = EzsigndocumentGetActionableElementsV1ResponseMPayload.from_dict(ezsigndocument_get_actionable_elements_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetAttachmentsV1Response.md b/docs/EzsigndocumentGetAttachmentsV1Response.md index 059168439..585820efa 100644 --- a/docs/EzsigndocumentGetAttachmentsV1Response.md +++ b/docs/EzsigndocumentGetAttachmentsV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetAttachmentsV1Response.to_json()) # convert the object into a dict ezsigndocument_get_attachments_v1_response_dict = ezsigndocument_get_attachments_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetAttachmentsV1Response from a dict -ezsigndocument_get_attachments_v1_response_form_dict = ezsigndocument_get_attachments_v1_response.from_dict(ezsigndocument_get_attachments_v1_response_dict) +ezsigndocument_get_attachments_v1_response_from_dict = EzsigndocumentGetAttachmentsV1Response.from_dict(ezsigndocument_get_attachments_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetAttachmentsV1ResponseMPayload.md b/docs/EzsigndocumentGetAttachmentsV1ResponseMPayload.md index 36ac74c8d..c30575e2f 100644 --- a/docs/EzsigndocumentGetAttachmentsV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetAttachmentsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentGetAttachmentsV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_attachments_v1_response_m_payload_dict = ezsigndocument_get_attachments_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetAttachmentsV1ResponseMPayload from a dict -ezsigndocument_get_attachments_v1_response_m_payload_form_dict = ezsigndocument_get_attachments_v1_response_m_payload.from_dict(ezsigndocument_get_attachments_v1_response_m_payload_dict) +ezsigndocument_get_attachments_v1_response_m_payload_from_dict = EzsigndocumentGetAttachmentsV1ResponseMPayload.from_dict(ezsigndocument_get_attachments_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetCompletedElementsV1Response.md b/docs/EzsigndocumentGetCompletedElementsV1Response.md index 8da9f75a2..6f8bf4cec 100644 --- a/docs/EzsigndocumentGetCompletedElementsV1Response.md +++ b/docs/EzsigndocumentGetCompletedElementsV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetCompletedElementsV1Response.to_json()) # convert the object into a dict ezsigndocument_get_completed_elements_v1_response_dict = ezsigndocument_get_completed_elements_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetCompletedElementsV1Response from a dict -ezsigndocument_get_completed_elements_v1_response_form_dict = ezsigndocument_get_completed_elements_v1_response.from_dict(ezsigndocument_get_completed_elements_v1_response_dict) +ezsigndocument_get_completed_elements_v1_response_from_dict = EzsigndocumentGetCompletedElementsV1Response.from_dict(ezsigndocument_get_completed_elements_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetCompletedElementsV1ResponseMPayload.md b/docs/EzsigndocumentGetCompletedElementsV1ResponseMPayload.md index e3bba6fd9..b9fe0c614 100644 --- a/docs/EzsigndocumentGetCompletedElementsV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetCompletedElementsV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsigndocumentGetCompletedElementsV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_completed_elements_v1_response_m_payload_dict = ezsigndocument_get_completed_elements_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetCompletedElementsV1ResponseMPayload from a dict -ezsigndocument_get_completed_elements_v1_response_m_payload_form_dict = ezsigndocument_get_completed_elements_v1_response_m_payload.from_dict(ezsigndocument_get_completed_elements_v1_response_m_payload_dict) +ezsigndocument_get_completed_elements_v1_response_m_payload_from_dict = EzsigndocumentGetCompletedElementsV1ResponseMPayload.from_dict(ezsigndocument_get_completed_elements_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetDownloadUrlV1Response.md b/docs/EzsigndocumentGetDownloadUrlV1Response.md index eec5c1379..7f0d5015a 100644 --- a/docs/EzsigndocumentGetDownloadUrlV1Response.md +++ b/docs/EzsigndocumentGetDownloadUrlV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetDownloadUrlV1Response.to_json()) # convert the object into a dict ezsigndocument_get_download_url_v1_response_dict = ezsigndocument_get_download_url_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetDownloadUrlV1Response from a dict -ezsigndocument_get_download_url_v1_response_form_dict = ezsigndocument_get_download_url_v1_response.from_dict(ezsigndocument_get_download_url_v1_response_dict) +ezsigndocument_get_download_url_v1_response_from_dict = EzsigndocumentGetDownloadUrlV1Response.from_dict(ezsigndocument_get_download_url_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetDownloadUrlV1ResponseMPayload.md b/docs/EzsigndocumentGetDownloadUrlV1ResponseMPayload.md index ce27aebba..4cb4c1062 100644 --- a/docs/EzsigndocumentGetDownloadUrlV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetDownloadUrlV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentGetDownloadUrlV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_download_url_v1_response_m_payload_dict = ezsigndocument_get_download_url_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetDownloadUrlV1ResponseMPayload from a dict -ezsigndocument_get_download_url_v1_response_m_payload_form_dict = ezsigndocument_get_download_url_v1_response_m_payload.from_dict(ezsigndocument_get_download_url_v1_response_m_payload_dict) +ezsigndocument_get_download_url_v1_response_m_payload_from_dict = EzsigndocumentGetDownloadUrlV1ResponseMPayload.from_dict(ezsigndocument_get_download_url_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsignannotationsV1Response.md b/docs/EzsigndocumentGetEzsignannotationsV1Response.md index 0e106d113..83c478485 100644 --- a/docs/EzsigndocumentGetEzsignannotationsV1Response.md +++ b/docs/EzsigndocumentGetEzsignannotationsV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetEzsignannotationsV1Response.to_json()) # convert the object into a dict ezsigndocument_get_ezsignannotations_v1_response_dict = ezsigndocument_get_ezsignannotations_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetEzsignannotationsV1Response from a dict -ezsigndocument_get_ezsignannotations_v1_response_form_dict = ezsigndocument_get_ezsignannotations_v1_response.from_dict(ezsigndocument_get_ezsignannotations_v1_response_dict) +ezsigndocument_get_ezsignannotations_v1_response_from_dict = EzsigndocumentGetEzsignannotationsV1Response.from_dict(ezsigndocument_get_ezsignannotations_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsignannotationsV1ResponseMPayload.md b/docs/EzsigndocumentGetEzsignannotationsV1ResponseMPayload.md index fcbccff2b..84d8f74b6 100644 --- a/docs/EzsigndocumentGetEzsignannotationsV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetEzsignannotationsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentGetEzsignannotationsV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_ezsignannotations_v1_response_m_payload_dict = ezsigndocument_get_ezsignannotations_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetEzsignannotationsV1ResponseMPayload from a dict -ezsigndocument_get_ezsignannotations_v1_response_m_payload_form_dict = ezsigndocument_get_ezsignannotations_v1_response_m_payload.from_dict(ezsigndocument_get_ezsignannotations_v1_response_m_payload_dict) +ezsigndocument_get_ezsignannotations_v1_response_m_payload_from_dict = EzsigndocumentGetEzsignannotationsV1ResponseMPayload.from_dict(ezsigndocument_get_ezsignannotations_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsigndiscussionsV1Response.md b/docs/EzsigndocumentGetEzsigndiscussionsV1Response.md index d11c06044..eeefd8ddd 100644 --- a/docs/EzsigndocumentGetEzsigndiscussionsV1Response.md +++ b/docs/EzsigndocumentGetEzsigndiscussionsV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetEzsigndiscussionsV1Response.to_json()) # convert the object into a dict ezsigndocument_get_ezsigndiscussions_v1_response_dict = ezsigndocument_get_ezsigndiscussions_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetEzsigndiscussionsV1Response from a dict -ezsigndocument_get_ezsigndiscussions_v1_response_form_dict = ezsigndocument_get_ezsigndiscussions_v1_response.from_dict(ezsigndocument_get_ezsigndiscussions_v1_response_dict) +ezsigndocument_get_ezsigndiscussions_v1_response_from_dict = EzsigndocumentGetEzsigndiscussionsV1Response.from_dict(ezsigndocument_get_ezsigndiscussions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload.md b/docs/EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload.md index 4e1024bde..8b5482cc8 100644 --- a/docs/EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_ezsigndiscussions_v1_response_m_payload_dict = ezsigndocument_get_ezsigndiscussions_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload from a dict -ezsigndocument_get_ezsigndiscussions_v1_response_m_payload_form_dict = ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.from_dict(ezsigndocument_get_ezsigndiscussions_v1_response_m_payload_dict) +ezsigndocument_get_ezsigndiscussions_v1_response_m_payload_from_dict = EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload.from_dict(ezsigndocument_get_ezsigndiscussions_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsignformfieldgroupsV1Response.md b/docs/EzsigndocumentGetEzsignformfieldgroupsV1Response.md index 81c5eec10..de3431fba 100644 --- a/docs/EzsigndocumentGetEzsignformfieldgroupsV1Response.md +++ b/docs/EzsigndocumentGetEzsignformfieldgroupsV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetEzsignformfieldgroupsV1Response.to_json()) # convert the object into a dict ezsigndocument_get_ezsignformfieldgroups_v1_response_dict = ezsigndocument_get_ezsignformfieldgroups_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetEzsignformfieldgroupsV1Response from a dict -ezsigndocument_get_ezsignformfieldgroups_v1_response_form_dict = ezsigndocument_get_ezsignformfieldgroups_v1_response.from_dict(ezsigndocument_get_ezsignformfieldgroups_v1_response_dict) +ezsigndocument_get_ezsignformfieldgroups_v1_response_from_dict = EzsigndocumentGetEzsignformfieldgroupsV1Response.from_dict(ezsigndocument_get_ezsignformfieldgroups_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload.md b/docs/EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload.md index 00b7f7a7b..b3f5c5652 100644 --- a/docs/EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload_dict = ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload from a dict -ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload_form_dict = ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.from_dict(ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload_dict) +ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload_from_dict = EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload.from_dict(ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsignpagesV1Response.md b/docs/EzsigndocumentGetEzsignpagesV1Response.md index 1ae2b50f9..44715d6ae 100644 --- a/docs/EzsigndocumentGetEzsignpagesV1Response.md +++ b/docs/EzsigndocumentGetEzsignpagesV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetEzsignpagesV1Response.to_json()) # convert the object into a dict ezsigndocument_get_ezsignpages_v1_response_dict = ezsigndocument_get_ezsignpages_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetEzsignpagesV1Response from a dict -ezsigndocument_get_ezsignpages_v1_response_form_dict = ezsigndocument_get_ezsignpages_v1_response.from_dict(ezsigndocument_get_ezsignpages_v1_response_dict) +ezsigndocument_get_ezsignpages_v1_response_from_dict = EzsigndocumentGetEzsignpagesV1Response.from_dict(ezsigndocument_get_ezsignpages_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsignpagesV1ResponseMPayload.md b/docs/EzsigndocumentGetEzsignpagesV1ResponseMPayload.md index 45bc15efc..89d99c2c2 100644 --- a/docs/EzsigndocumentGetEzsignpagesV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetEzsignpagesV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentGetEzsignpagesV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_ezsignpages_v1_response_m_payload_dict = ezsigndocument_get_ezsignpages_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetEzsignpagesV1ResponseMPayload from a dict -ezsigndocument_get_ezsignpages_v1_response_m_payload_form_dict = ezsigndocument_get_ezsignpages_v1_response_m_payload.from_dict(ezsigndocument_get_ezsignpages_v1_response_m_payload_dict) +ezsigndocument_get_ezsignpages_v1_response_m_payload_from_dict = EzsigndocumentGetEzsignpagesV1ResponseMPayload.from_dict(ezsigndocument_get_ezsignpages_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md index d5d368a51..1a02e22ad 100644 --- a/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetEzsignsignaturesAutomaticV1Response.to_json()) # convert the object into a dict ezsigndocument_get_ezsignsignatures_automatic_v1_response_dict = ezsigndocument_get_ezsignsignatures_automatic_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetEzsignsignaturesAutomaticV1Response from a dict -ezsigndocument_get_ezsignsignatures_automatic_v1_response_form_dict = ezsigndocument_get_ezsignsignatures_automatic_v1_response.from_dict(ezsigndocument_get_ezsignsignatures_automatic_v1_response_dict) +ezsigndocument_get_ezsignsignatures_automatic_v1_response_from_dict = EzsigndocumentGetEzsignsignaturesAutomaticV1Response.from_dict(ezsigndocument_get_ezsignsignatures_automatic_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload.md b/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload.md index 090c864c8..051ce092a 100644 --- a/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload_dict = ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload from a dict -ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload_form_dict = ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.from_dict(ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload_dict) +ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload_from_dict = EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload.from_dict(ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsignsignaturesV1Response.md b/docs/EzsigndocumentGetEzsignsignaturesV1Response.md index c28c09a3c..aee71f898 100644 --- a/docs/EzsigndocumentGetEzsignsignaturesV1Response.md +++ b/docs/EzsigndocumentGetEzsignsignaturesV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetEzsignsignaturesV1Response.to_json()) # convert the object into a dict ezsigndocument_get_ezsignsignatures_v1_response_dict = ezsigndocument_get_ezsignsignatures_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetEzsignsignaturesV1Response from a dict -ezsigndocument_get_ezsignsignatures_v1_response_form_dict = ezsigndocument_get_ezsignsignatures_v1_response.from_dict(ezsigndocument_get_ezsignsignatures_v1_response_dict) +ezsigndocument_get_ezsignsignatures_v1_response_from_dict = EzsigndocumentGetEzsignsignaturesV1Response.from_dict(ezsigndocument_get_ezsignsignatures_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetEzsignsignaturesV1ResponseMPayload.md b/docs/EzsigndocumentGetEzsignsignaturesV1ResponseMPayload.md index c0b519c18..0b6fd1f78 100644 --- a/docs/EzsigndocumentGetEzsignsignaturesV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetEzsignsignaturesV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentGetEzsignsignaturesV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_ezsignsignatures_v1_response_m_payload_dict = ezsigndocument_get_ezsignsignatures_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetEzsignsignaturesV1ResponseMPayload from a dict -ezsigndocument_get_ezsignsignatures_v1_response_m_payload_form_dict = ezsigndocument_get_ezsignsignatures_v1_response_m_payload.from_dict(ezsigndocument_get_ezsignsignatures_v1_response_m_payload_dict) +ezsigndocument_get_ezsignsignatures_v1_response_m_payload_from_dict = EzsigndocumentGetEzsignsignaturesV1ResponseMPayload.from_dict(ezsigndocument_get_ezsignsignatures_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetFormDataV1Response.md b/docs/EzsigndocumentGetFormDataV1Response.md index ed0081e9f..92a77356a 100644 --- a/docs/EzsigndocumentGetFormDataV1Response.md +++ b/docs/EzsigndocumentGetFormDataV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetFormDataV1Response.to_json()) # convert the object into a dict ezsigndocument_get_form_data_v1_response_dict = ezsigndocument_get_form_data_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetFormDataV1Response from a dict -ezsigndocument_get_form_data_v1_response_form_dict = ezsigndocument_get_form_data_v1_response.from_dict(ezsigndocument_get_form_data_v1_response_dict) +ezsigndocument_get_form_data_v1_response_from_dict = EzsigndocumentGetFormDataV1Response.from_dict(ezsigndocument_get_form_data_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetFormDataV1ResponseMPayload.md b/docs/EzsigndocumentGetFormDataV1ResponseMPayload.md index da03a2fa4..9ef8dfde6 100644 --- a/docs/EzsigndocumentGetFormDataV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetFormDataV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentGetFormDataV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_form_data_v1_response_m_payload_dict = ezsigndocument_get_form_data_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetFormDataV1ResponseMPayload from a dict -ezsigndocument_get_form_data_v1_response_m_payload_form_dict = ezsigndocument_get_form_data_v1_response_m_payload.from_dict(ezsigndocument_get_form_data_v1_response_m_payload_dict) +ezsigndocument_get_form_data_v1_response_m_payload_from_dict = EzsigndocumentGetFormDataV1ResponseMPayload.from_dict(ezsigndocument_get_form_data_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetObjectV1Response.md b/docs/EzsigndocumentGetObjectV1Response.md index 2e09f4261..a69c79a0d 100644 --- a/docs/EzsigndocumentGetObjectV1Response.md +++ b/docs/EzsigndocumentGetObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetObjectV1Response.to_json()) # convert the object into a dict ezsigndocument_get_object_v1_response_dict = ezsigndocument_get_object_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetObjectV1Response from a dict -ezsigndocument_get_object_v1_response_form_dict = ezsigndocument_get_object_v1_response.from_dict(ezsigndocument_get_object_v1_response_dict) +ezsigndocument_get_object_v1_response_from_dict = EzsigndocumentGetObjectV1Response.from_dict(ezsigndocument_get_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetObjectV1ResponseMPayload.md b/docs/EzsigndocumentGetObjectV1ResponseMPayload.md index 5c7992c27..e89f6cf69 100644 --- a/docs/EzsigndocumentGetObjectV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetObjectV1ResponseMPayload.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **i_ezsigndocument_pagetotal** | **int** | The number of pages in the Ezsigndocument. | **i_ezsigndocument_signaturesigned** | **int** | The number of signatures that were signed in the document. | **i_ezsigndocument_signaturetotal** | **int** | The number of total signatures that were requested in the Ezsigndocument. | +**i_ezsigndocument_formfieldtotal** | **int** | The number of total Ezsignformfield that were requested in the Ezsigndocument. | **s_ezsigndocument_md5initial** | **str** | MD5 Hash of the initial PDF Document before signatures were applied to it. | [optional] **t_ezsigndocument_declinedtosignreason** | **str** | A custom text message that will contain the refusal message if the Ezsigndocument is declined to sign | [optional] **s_ezsigndocument_md5signed** | **str** | MD5 Hash of the final PDF Document after all signatures were applied to it. | [optional] @@ -35,6 +36,7 @@ Name | Type | Description | Notes **i_ezsigndocument_stepsignaturetotal** | **int** | The total number of steps in the signature filling phase | **i_ezsigndocument_stepsignature_current** | **int** | The current step in the signature phase | **a_obj_ezsignfoldersignerassociationstatus** | [**List[CustomEzsignfoldersignerassociationstatusResponse]**](CustomEzsignfoldersignerassociationstatusResponse.md) | | +**a_obj_ezsigndocumentdependency** | [**List[EzsigndocumentdependencyResponse]**](EzsigndocumentdependencyResponse.md) | | [optional] ## Example @@ -51,7 +53,7 @@ print(EzsigndocumentGetObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_object_v1_response_m_payload_dict = ezsigndocument_get_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetObjectV1ResponseMPayload from a dict -ezsigndocument_get_object_v1_response_m_payload_form_dict = ezsigndocument_get_object_v1_response_m_payload.from_dict(ezsigndocument_get_object_v1_response_m_payload_dict) +ezsigndocument_get_object_v1_response_m_payload_from_dict = EzsigndocumentGetObjectV1ResponseMPayload.from_dict(ezsigndocument_get_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetObjectV2Response.md b/docs/EzsigndocumentGetObjectV2Response.md index 23a1cb395..3a2e2a742 100644 --- a/docs/EzsigndocumentGetObjectV2Response.md +++ b/docs/EzsigndocumentGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetObjectV2Response.to_json()) # convert the object into a dict ezsigndocument_get_object_v2_response_dict = ezsigndocument_get_object_v2_response_instance.to_dict() # create an instance of EzsigndocumentGetObjectV2Response from a dict -ezsigndocument_get_object_v2_response_form_dict = ezsigndocument_get_object_v2_response.from_dict(ezsigndocument_get_object_v2_response_dict) +ezsigndocument_get_object_v2_response_from_dict = EzsigndocumentGetObjectV2Response.from_dict(ezsigndocument_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetObjectV2ResponseMPayload.md b/docs/EzsigndocumentGetObjectV2ResponseMPayload.md index 80f2188e6..fad3e11a5 100644 --- a/docs/EzsigndocumentGetObjectV2ResponseMPayload.md +++ b/docs/EzsigndocumentGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_object_v2_response_m_payload_dict = ezsigndocument_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetObjectV2ResponseMPayload from a dict -ezsigndocument_get_object_v2_response_m_payload_form_dict = ezsigndocument_get_object_v2_response_m_payload.from_dict(ezsigndocument_get_object_v2_response_m_payload_dict) +ezsigndocument_get_object_v2_response_m_payload_from_dict = EzsigndocumentGetObjectV2ResponseMPayload.from_dict(ezsigndocument_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetTemporaryProofV1Response.md b/docs/EzsigndocumentGetTemporaryProofV1Response.md index 8dc678e74..7a7765261 100644 --- a/docs/EzsigndocumentGetTemporaryProofV1Response.md +++ b/docs/EzsigndocumentGetTemporaryProofV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetTemporaryProofV1Response.to_json()) # convert the object into a dict ezsigndocument_get_temporary_proof_v1_response_dict = ezsigndocument_get_temporary_proof_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetTemporaryProofV1Response from a dict -ezsigndocument_get_temporary_proof_v1_response_form_dict = ezsigndocument_get_temporary_proof_v1_response.from_dict(ezsigndocument_get_temporary_proof_v1_response_dict) +ezsigndocument_get_temporary_proof_v1_response_from_dict = EzsigndocumentGetTemporaryProofV1Response.from_dict(ezsigndocument_get_temporary_proof_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetTemporaryProofV1ResponseMPayload.md b/docs/EzsigndocumentGetTemporaryProofV1ResponseMPayload.md index 5f37529a3..d11911535 100644 --- a/docs/EzsigndocumentGetTemporaryProofV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetTemporaryProofV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigndocumentGetTemporaryProofV1ResponseMPayload.to_json()) # convert the object into a dict ezsigndocument_get_temporary_proof_v1_response_m_payload_dict = ezsigndocument_get_temporary_proof_v1_response_m_payload_instance.to_dict() # create an instance of EzsigndocumentGetTemporaryProofV1ResponseMPayload from a dict -ezsigndocument_get_temporary_proof_v1_response_m_payload_form_dict = ezsigndocument_get_temporary_proof_v1_response_m_payload.from_dict(ezsigndocument_get_temporary_proof_v1_response_m_payload_dict) +ezsigndocument_get_temporary_proof_v1_response_m_payload_from_dict = EzsigndocumentGetTemporaryProofV1ResponseMPayload.from_dict(ezsigndocument_get_temporary_proof_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetWordsPositionsV1Request.md b/docs/EzsigndocumentGetWordsPositionsV1Request.md index 909c705ca..0dafca635 100644 --- a/docs/EzsigndocumentGetWordsPositionsV1Request.md +++ b/docs/EzsigndocumentGetWordsPositionsV1Request.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetWordsPositionsV1Request.to_json()) # convert the object into a dict ezsigndocument_get_words_positions_v1_request_dict = ezsigndocument_get_words_positions_v1_request_instance.to_dict() # create an instance of EzsigndocumentGetWordsPositionsV1Request from a dict -ezsigndocument_get_words_positions_v1_request_form_dict = ezsigndocument_get_words_positions_v1_request.from_dict(ezsigndocument_get_words_positions_v1_request_dict) +ezsigndocument_get_words_positions_v1_request_from_dict = EzsigndocumentGetWordsPositionsV1Request.from_dict(ezsigndocument_get_words_positions_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentGetWordsPositionsV1Response.md b/docs/EzsigndocumentGetWordsPositionsV1Response.md index 748597d5e..dd077e767 100644 --- a/docs/EzsigndocumentGetWordsPositionsV1Response.md +++ b/docs/EzsigndocumentGetWordsPositionsV1Response.md @@ -25,7 +25,7 @@ print(EzsigndocumentGetWordsPositionsV1Response.to_json()) # convert the object into a dict ezsigndocument_get_words_positions_v1_response_dict = ezsigndocument_get_words_positions_v1_response_instance.to_dict() # create an instance of EzsigndocumentGetWordsPositionsV1Response from a dict -ezsigndocument_get_words_positions_v1_response_form_dict = ezsigndocument_get_words_positions_v1_response.from_dict(ezsigndocument_get_words_positions_v1_response_dict) +ezsigndocument_get_words_positions_v1_response_from_dict = EzsigndocumentGetWordsPositionsV1Response.from_dict(ezsigndocument_get_words_positions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentMatchingtemplateV3Response.md b/docs/EzsigndocumentMatchingtemplateV3Response.md new file mode 100644 index 000000000..b0117b3d4 --- /dev/null +++ b/docs/EzsigndocumentMatchingtemplateV3Response.md @@ -0,0 +1,31 @@ +# EzsigndocumentMatchingtemplateV3Response + +A Ezsigndocument createObject Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**pki_ezsigntemplateglobal_id** | **int** | The unique ID of the Ezsigntemplateglobal | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response import EzsigndocumentMatchingtemplateV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentMatchingtemplateV3Response from a JSON string +ezsigndocument_matchingtemplate_v3_response_instance = EzsigndocumentMatchingtemplateV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentMatchingtemplateV3Response.to_json()) + +# convert the object into a dict +ezsigndocument_matchingtemplate_v3_response_dict = ezsigndocument_matchingtemplate_v3_response_instance.to_dict() +# create an instance of EzsigndocumentMatchingtemplateV3Response from a dict +ezsigndocument_matchingtemplate_v3_response_from_dict = EzsigndocumentMatchingtemplateV3Response.from_dict(ezsigndocument_matchingtemplate_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentPatchObjectV1Request.md b/docs/EzsigndocumentPatchObjectV1Request.md index e2d83044f..1cd54f8f5 100644 --- a/docs/EzsigndocumentPatchObjectV1Request.md +++ b/docs/EzsigndocumentPatchObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigndocumentPatchObjectV1Request.to_json()) # convert the object into a dict ezsigndocument_patch_object_v1_request_dict = ezsigndocument_patch_object_v1_request_instance.to_dict() # create an instance of EzsigndocumentPatchObjectV1Request from a dict -ezsigndocument_patch_object_v1_request_form_dict = ezsigndocument_patch_object_v1_request.from_dict(ezsigndocument_patch_object_v1_request_dict) +ezsigndocument_patch_object_v1_request_from_dict = EzsigndocumentPatchObjectV1Request.from_dict(ezsigndocument_patch_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentPatchObjectV1Response.md b/docs/EzsigndocumentPatchObjectV1Response.md index 787b9665e..7d3e0de80 100644 --- a/docs/EzsigndocumentPatchObjectV1Response.md +++ b/docs/EzsigndocumentPatchObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigndocumentPatchObjectV1Response.to_json()) # convert the object into a dict ezsigndocument_patch_object_v1_response_dict = ezsigndocument_patch_object_v1_response_instance.to_dict() # create an instance of EzsigndocumentPatchObjectV1Response from a dict -ezsigndocument_patch_object_v1_response_form_dict = ezsigndocument_patch_object_v1_response.from_dict(ezsigndocument_patch_object_v1_response_dict) +ezsigndocument_patch_object_v1_response_from_dict = EzsigndocumentPatchObjectV1Response.from_dict(ezsigndocument_patch_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentRequest.md b/docs/EzsigndocumentRequest.md index d5db747c6..0888bdf84 100644 --- a/docs/EzsigndocumentRequest.md +++ b/docs/EzsigndocumentRequest.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **s_ezsigndocument_url** | **str** | The url where the document content resides. This field is Required when eEzsigndocumentSource = Url. | [optional] **b_ezsigndocument_forcerepair** | **bool** | Try to repair the document or flatten it if it cannot be used for electronic signature. | [optional] [default to True] **s_ezsigndocument_password** | **str** | If the source document is password protected, the password to open/modify it. | [optional] -**e_ezsigndocument_form** | **str** | If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsignformfieldgroups and assign them to the specified **fkiEzsignfoldersignerassociationID** **Discard** removes the form from the document. | [optional] +**e_ezsigndocument_form** | **str** | If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsignformfieldgroups and assign them to the specified **fkiEzsignfoldersignerassociationID** **Discard** removes the form from the document. **Flatten** prints the form values in the document. | [optional] **dt_ezsigndocument_duedate** | **str** | The maximum date and time at which the Ezsigndocument can be signed. | **s_ezsigndocument_name** | **str** | The name of the document that will be presented to Ezsignfoldersignerassociations | **s_ezsigndocument_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] @@ -37,7 +37,7 @@ print(EzsigndocumentRequest.to_json()) # convert the object into a dict ezsigndocument_request_dict = ezsigndocument_request_instance.to_dict() # create an instance of EzsigndocumentRequest from a dict -ezsigndocument_request_form_dict = ezsigndocument_request.from_dict(ezsigndocument_request_dict) +ezsigndocument_request_from_dict = EzsigndocumentRequest.from_dict(ezsigndocument_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentRequestCompound.md b/docs/EzsigndocumentRequestCompound.md index 5a251d626..dc363e27f 100644 --- a/docs/EzsigndocumentRequestCompound.md +++ b/docs/EzsigndocumentRequestCompound.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **s_ezsigndocument_url** | **str** | The url where the document content resides. This field is Required when eEzsigndocumentSource = Url. | [optional] **b_ezsigndocument_forcerepair** | **bool** | Try to repair the document or flatten it if it cannot be used for electronic signature. | [optional] [default to True] **s_ezsigndocument_password** | **str** | If the source document is password protected, the password to open/modify it. | [optional] -**e_ezsigndocument_form** | **str** | If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsignformfieldgroups and assign them to the specified **fkiEzsignfoldersignerassociationID** **Discard** removes the form from the document. | [optional] +**e_ezsigndocument_form** | **str** | If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsignformfieldgroups and assign them to the specified **fkiEzsignfoldersignerassociationID** **Discard** removes the form from the document. **Flatten** prints the form values in the document. | [optional] **dt_ezsigndocument_duedate** | **str** | The maximum date and time at which the Ezsigndocument can be signed. | **s_ezsigndocument_name** | **str** | The name of the document that will be presented to Ezsignfoldersignerassociations | **s_ezsigndocument_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] @@ -37,7 +37,7 @@ print(EzsigndocumentRequestCompound.to_json()) # convert the object into a dict ezsigndocument_request_compound_dict = ezsigndocument_request_compound_instance.to_dict() # create an instance of EzsigndocumentRequestCompound from a dict -ezsigndocument_request_compound_form_dict = ezsigndocument_request_compound.from_dict(ezsigndocument_request_compound_dict) +ezsigndocument_request_compound_from_dict = EzsigndocumentRequestCompound.from_dict(ezsigndocument_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentRequestPatch.md b/docs/EzsigndocumentRequestPatch.md index d71a21a3d..976072e3c 100644 --- a/docs/EzsigndocumentRequestPatch.md +++ b/docs/EzsigndocumentRequestPatch.md @@ -24,7 +24,7 @@ print(EzsigndocumentRequestPatch.to_json()) # convert the object into a dict ezsigndocument_request_patch_dict = ezsigndocument_request_patch_instance.to_dict() # create an instance of EzsigndocumentRequestPatch from a dict -ezsigndocument_request_patch_form_dict = ezsigndocument_request_patch.from_dict(ezsigndocument_request_patch_dict) +ezsigndocument_request_patch_from_dict = EzsigndocumentRequestPatch.from_dict(ezsigndocument_request_patch_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentResponse.md b/docs/EzsigndocumentResponse.md index 46390e0bb..2608981f5 100644 --- a/docs/EzsigndocumentResponse.md +++ b/docs/EzsigndocumentResponse.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **i_ezsigndocument_pagetotal** | **int** | The number of pages in the Ezsigndocument. | **i_ezsigndocument_signaturesigned** | **int** | The number of signatures that were signed in the document. | **i_ezsigndocument_signaturetotal** | **int** | The number of total signatures that were requested in the Ezsigndocument. | +**i_ezsigndocument_formfieldtotal** | **int** | The number of total Ezsignformfield that were requested in the Ezsigndocument. | **s_ezsigndocument_md5initial** | **str** | MD5 Hash of the initial PDF Document before signatures were applied to it. | [optional] **t_ezsigndocument_declinedtosignreason** | **str** | A custom text message that will contain the refusal message if the Ezsigndocument is declined to sign | [optional] **s_ezsigndocument_md5signed** | **str** | MD5 Hash of the final PDF Document after all signatures were applied to it. | [optional] @@ -45,7 +46,7 @@ print(EzsigndocumentResponse.to_json()) # convert the object into a dict ezsigndocument_response_dict = ezsigndocument_response_instance.to_dict() # create an instance of EzsigndocumentResponse from a dict -ezsigndocument_response_form_dict = ezsigndocument_response.from_dict(ezsigndocument_response_dict) +ezsigndocument_response_from_dict = EzsigndocumentResponse.from_dict(ezsigndocument_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentResponseCompound.md b/docs/EzsigndocumentResponseCompound.md index 9af4769b7..5264b5c11 100644 --- a/docs/EzsigndocumentResponseCompound.md +++ b/docs/EzsigndocumentResponseCompound.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **i_ezsigndocument_pagetotal** | **int** | The number of pages in the Ezsigndocument. | **i_ezsigndocument_signaturesigned** | **int** | The number of signatures that were signed in the document. | **i_ezsigndocument_signaturetotal** | **int** | The number of total signatures that were requested in the Ezsigndocument. | +**i_ezsigndocument_formfieldtotal** | **int** | The number of total Ezsignformfield that were requested in the Ezsigndocument. | **s_ezsigndocument_md5initial** | **str** | MD5 Hash of the initial PDF Document before signatures were applied to it. | [optional] **t_ezsigndocument_declinedtosignreason** | **str** | A custom text message that will contain the refusal message if the Ezsigndocument is declined to sign | [optional] **s_ezsigndocument_md5signed** | **str** | MD5 Hash of the final PDF Document after all signatures were applied to it. | [optional] @@ -35,6 +36,7 @@ Name | Type | Description | Notes **i_ezsigndocument_stepsignaturetotal** | **int** | The total number of steps in the signature filling phase | **i_ezsigndocument_stepsignature_current** | **int** | The current step in the signature phase | **a_obj_ezsignfoldersignerassociationstatus** | [**List[CustomEzsignfoldersignerassociationstatusResponse]**](CustomEzsignfoldersignerassociationstatusResponse.md) | | +**a_obj_ezsigndocumentdependency** | [**List[EzsigndocumentdependencyResponse]**](EzsigndocumentdependencyResponse.md) | | [optional] ## Example @@ -51,7 +53,7 @@ print(EzsigndocumentResponseCompound.to_json()) # convert the object into a dict ezsigndocument_response_compound_dict = ezsigndocument_response_compound_instance.to_dict() # create an instance of EzsigndocumentResponseCompound from a dict -ezsigndocument_response_compound_form_dict = ezsigndocument_response_compound.from_dict(ezsigndocument_response_compound_dict) +ezsigndocument_response_compound_from_dict = EzsigndocumentResponseCompound.from_dict(ezsigndocument_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentSubmitEzsignformV1Request.md b/docs/EzsigndocumentSubmitEzsignformV1Request.md index 41155838e..836bde42d 100644 --- a/docs/EzsigndocumentSubmitEzsignformV1Request.md +++ b/docs/EzsigndocumentSubmitEzsignformV1Request.md @@ -24,7 +24,7 @@ print(EzsigndocumentSubmitEzsignformV1Request.to_json()) # convert the object into a dict ezsigndocument_submit_ezsignform_v1_request_dict = ezsigndocument_submit_ezsignform_v1_request_instance.to_dict() # create an instance of EzsigndocumentSubmitEzsignformV1Request from a dict -ezsigndocument_submit_ezsignform_v1_request_form_dict = ezsigndocument_submit_ezsignform_v1_request.from_dict(ezsigndocument_submit_ezsignform_v1_request_dict) +ezsigndocument_submit_ezsignform_v1_request_from_dict = EzsigndocumentSubmitEzsignformV1Request.from_dict(ezsigndocument_submit_ezsignform_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentSubmitEzsignformV1Response.md b/docs/EzsigndocumentSubmitEzsignformV1Response.md index 28d740d35..3938a3715 100644 --- a/docs/EzsigndocumentSubmitEzsignformV1Response.md +++ b/docs/EzsigndocumentSubmitEzsignformV1Response.md @@ -24,7 +24,7 @@ print(EzsigndocumentSubmitEzsignformV1Response.to_json()) # convert the object into a dict ezsigndocument_submit_ezsignform_v1_response_dict = ezsigndocument_submit_ezsignform_v1_response_instance.to_dict() # create an instance of EzsigndocumentSubmitEzsignformV1Response from a dict -ezsigndocument_submit_ezsignform_v1_response_form_dict = ezsigndocument_submit_ezsignform_v1_response.from_dict(ezsigndocument_submit_ezsignform_v1_response_dict) +ezsigndocument_submit_ezsignform_v1_response_from_dict = EzsigndocumentSubmitEzsignformV1Response.from_dict(ezsigndocument_submit_ezsignform_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentUnsendV1Response.md b/docs/EzsigndocumentUnsendV1Response.md index e69a6b3db..ad5f88cfd 100644 --- a/docs/EzsigndocumentUnsendV1Response.md +++ b/docs/EzsigndocumentUnsendV1Response.md @@ -24,7 +24,7 @@ print(EzsigndocumentUnsendV1Response.to_json()) # convert the object into a dict ezsigndocument_unsend_v1_response_dict = ezsigndocument_unsend_v1_response_instance.to_dict() # create an instance of EzsigndocumentUnsendV1Response from a dict -ezsigndocument_unsend_v1_response_form_dict = ezsigndocument_unsend_v1_response.from_dict(ezsigndocument_unsend_v1_response_dict) +ezsigndocument_unsend_v1_response_from_dict = EzsigndocumentUnsendV1Response.from_dict(ezsigndocument_unsend_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentdependencyRequest.md b/docs/EzsigndocumentdependencyRequest.md new file mode 100644 index 000000000..d3a6c6b72 --- /dev/null +++ b/docs/EzsigndocumentdependencyRequest.md @@ -0,0 +1,31 @@ +# EzsigndocumentdependencyRequest + +An Ezsigndocumentdependency Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigndocumentdependency_id** | **int** | The unique ID of the Ezsigndocumentdependency | [optional] +**fki_ezsigndocument_i_ddependency** | **int** | The unique ID of the Ezsigndocument | + +## Example + +```python +from eZmaxApi.models.ezsigndocumentdependency_request import EzsigndocumentdependencyRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentdependencyRequest from a JSON string +ezsigndocumentdependency_request_instance = EzsigndocumentdependencyRequest.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentdependencyRequest.to_json()) + +# convert the object into a dict +ezsigndocumentdependency_request_dict = ezsigndocumentdependency_request_instance.to_dict() +# create an instance of EzsigndocumentdependencyRequest from a dict +ezsigndocumentdependency_request_from_dict = EzsigndocumentdependencyRequest.from_dict(ezsigndocumentdependency_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentdependencyRequestCompound.md b/docs/EzsigndocumentdependencyRequestCompound.md new file mode 100644 index 000000000..23a09e159 --- /dev/null +++ b/docs/EzsigndocumentdependencyRequestCompound.md @@ -0,0 +1,31 @@ +# EzsigndocumentdependencyRequestCompound + +An Ezsigndocumentdependency Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigndocumentdependency_id** | **int** | The unique ID of the Ezsigndocumentdependency | [optional] +**fki_ezsigndocument_i_ddependency** | **int** | The unique ID of the Ezsigndocument | + +## Example + +```python +from eZmaxApi.models.ezsigndocumentdependency_request_compound import EzsigndocumentdependencyRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentdependencyRequestCompound from a JSON string +ezsigndocumentdependency_request_compound_instance = EzsigndocumentdependencyRequestCompound.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentdependencyRequestCompound.to_json()) + +# convert the object into a dict +ezsigndocumentdependency_request_compound_dict = ezsigndocumentdependency_request_compound_instance.to_dict() +# create an instance of EzsigndocumentdependencyRequestCompound from a dict +ezsigndocumentdependency_request_compound_from_dict = EzsigndocumentdependencyRequestCompound.from_dict(ezsigndocumentdependency_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentdependencyResponse.md b/docs/EzsigndocumentdependencyResponse.md new file mode 100644 index 000000000..c33ae9443 --- /dev/null +++ b/docs/EzsigndocumentdependencyResponse.md @@ -0,0 +1,31 @@ +# EzsigndocumentdependencyResponse + +An Ezsigndocumentdependency Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigndocumentdependency_id** | **int** | The unique ID of the Ezsigndocumentdependency | +**fki_ezsigndocument_i_ddependency** | **int** | The unique ID of the Ezsigndocument | + +## Example + +```python +from eZmaxApi.models.ezsigndocumentdependency_response import EzsigndocumentdependencyResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigndocumentdependencyResponse from a JSON string +ezsigndocumentdependency_response_instance = EzsigndocumentdependencyResponse.from_json(json) +# print the JSON string representation of the object +print(EzsigndocumentdependencyResponse.to_json()) + +# convert the object into a dict +ezsigndocumentdependency_response_dict = ezsigndocumentdependency_response_instance.to_dict() +# create an instance of EzsigndocumentdependencyResponse from a dict +ezsigndocumentdependency_response_from_dict = EzsigndocumentdependencyResponse.from_dict(ezsigndocumentdependency_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigndocumentlogResponse.md b/docs/EzsigndocumentlogResponse.md index 3375271cb..e0987ef9d 100644 --- a/docs/EzsigndocumentlogResponse.md +++ b/docs/EzsigndocumentlogResponse.md @@ -30,7 +30,7 @@ print(EzsigndocumentlogResponse.to_json()) # convert the object into a dict ezsigndocumentlog_response_dict = ezsigndocumentlog_response_instance.to_dict() # create an instance of EzsigndocumentlogResponse from a dict -ezsigndocumentlog_response_form_dict = ezsigndocumentlog_response.from_dict(ezsigndocumentlog_response_dict) +ezsigndocumentlog_response_from_dict = EzsigndocumentlogResponse.from_dict(ezsigndocumentlog_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigndocumentlogResponseCompound.md b/docs/EzsigndocumentlogResponseCompound.md index 05a485476..4737049a9 100644 --- a/docs/EzsigndocumentlogResponseCompound.md +++ b/docs/EzsigndocumentlogResponseCompound.md @@ -30,7 +30,7 @@ print(EzsigndocumentlogResponseCompound.to_json()) # convert the object into a dict ezsigndocumentlog_response_compound_dict = ezsigndocumentlog_response_compound_instance.to_dict() # create an instance of EzsigndocumentlogResponseCompound from a dict -ezsigndocumentlog_response_compound_form_dict = ezsigndocumentlog_response_compound.from_dict(ezsigndocumentlog_response_compound_dict) +ezsigndocumentlog_response_compound_from_dict = EzsigndocumentlogResponseCompound.from_dict(ezsigndocumentlog_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignelementdependencyRequest.md b/docs/EzsignelementdependencyRequest.md index 3ac33cd20..fffeb6231 100644 --- a/docs/EzsignelementdependencyRequest.md +++ b/docs/EzsignelementdependencyRequest.md @@ -31,7 +31,7 @@ print(EzsignelementdependencyRequest.to_json()) # convert the object into a dict ezsignelementdependency_request_dict = ezsignelementdependency_request_instance.to_dict() # create an instance of EzsignelementdependencyRequest from a dict -ezsignelementdependency_request_form_dict = ezsignelementdependency_request.from_dict(ezsignelementdependency_request_dict) +ezsignelementdependency_request_from_dict = EzsignelementdependencyRequest.from_dict(ezsignelementdependency_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignelementdependencyRequestCompound.md b/docs/EzsignelementdependencyRequestCompound.md index 2aebcf778..c78f26bf5 100644 --- a/docs/EzsignelementdependencyRequestCompound.md +++ b/docs/EzsignelementdependencyRequestCompound.md @@ -31,7 +31,7 @@ print(EzsignelementdependencyRequestCompound.to_json()) # convert the object into a dict ezsignelementdependency_request_compound_dict = ezsignelementdependency_request_compound_instance.to_dict() # create an instance of EzsignelementdependencyRequestCompound from a dict -ezsignelementdependency_request_compound_form_dict = ezsignelementdependency_request_compound.from_dict(ezsignelementdependency_request_compound_dict) +ezsignelementdependency_request_compound_from_dict = EzsignelementdependencyRequestCompound.from_dict(ezsignelementdependency_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignelementdependencyResponse.md b/docs/EzsignelementdependencyResponse.md index 8d185fb80..706d5a1d2 100644 --- a/docs/EzsignelementdependencyResponse.md +++ b/docs/EzsignelementdependencyResponse.md @@ -31,7 +31,7 @@ print(EzsignelementdependencyResponse.to_json()) # convert the object into a dict ezsignelementdependency_response_dict = ezsignelementdependency_response_instance.to_dict() # create an instance of EzsignelementdependencyResponse from a dict -ezsignelementdependency_response_form_dict = ezsignelementdependency_response.from_dict(ezsignelementdependency_response_dict) +ezsignelementdependency_response_from_dict = EzsignelementdependencyResponse.from_dict(ezsignelementdependency_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignelementdependencyResponseCompound.md b/docs/EzsignelementdependencyResponseCompound.md index 0ed9062ff..d30d36fc1 100644 --- a/docs/EzsignelementdependencyResponseCompound.md +++ b/docs/EzsignelementdependencyResponseCompound.md @@ -31,7 +31,7 @@ print(EzsignelementdependencyResponseCompound.to_json()) # convert the object into a dict ezsignelementdependency_response_compound_dict = ezsignelementdependency_response_compound_instance.to_dict() # create an instance of EzsignelementdependencyResponseCompound from a dict -ezsignelementdependency_response_compound_form_dict = ezsignelementdependency_response_compound.from_dict(ezsignelementdependency_response_compound_dict) +ezsignelementdependency_response_compound_from_dict = EzsignelementdependencyResponseCompound.from_dict(ezsignelementdependency_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderArchiveV1Response.md b/docs/EzsignfolderArchiveV1Response.md index 1f9cdb92a..767f0eab2 100644 --- a/docs/EzsignfolderArchiveV1Response.md +++ b/docs/EzsignfolderArchiveV1Response.md @@ -24,7 +24,7 @@ print(EzsignfolderArchiveV1Response.to_json()) # convert the object into a dict ezsignfolder_archive_v1_response_dict = ezsignfolder_archive_v1_response_instance.to_dict() # create an instance of EzsignfolderArchiveV1Response from a dict -ezsignfolder_archive_v1_response_form_dict = ezsignfolder_archive_v1_response.from_dict(ezsignfolder_archive_v1_response_dict) +ezsignfolder_archive_v1_response_from_dict = EzsignfolderArchiveV1Response.from_dict(ezsignfolder_archive_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderBatchDownloadV1Request.md b/docs/EzsignfolderBatchDownloadV1Request.md index 033af3a5f..368d8c507 100644 --- a/docs/EzsignfolderBatchDownloadV1Request.md +++ b/docs/EzsignfolderBatchDownloadV1Request.md @@ -24,7 +24,7 @@ print(EzsignfolderBatchDownloadV1Request.to_json()) # convert the object into a dict ezsignfolder_batch_download_v1_request_dict = ezsignfolder_batch_download_v1_request_instance.to_dict() # create an instance of EzsignfolderBatchDownloadV1Request from a dict -ezsignfolder_batch_download_v1_request_form_dict = ezsignfolder_batch_download_v1_request.from_dict(ezsignfolder_batch_download_v1_request_dict) +ezsignfolder_batch_download_v1_request_from_dict = EzsignfolderBatchDownloadV1Request.from_dict(ezsignfolder_batch_download_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderCreateObjectV1Request.md b/docs/EzsignfolderCreateObjectV1Request.md index 0d841fef3..d6955ab0c 100644 --- a/docs/EzsignfolderCreateObjectV1Request.md +++ b/docs/EzsignfolderCreateObjectV1Request.md @@ -24,7 +24,7 @@ print(EzsignfolderCreateObjectV1Request.to_json()) # convert the object into a dict ezsignfolder_create_object_v1_request_dict = ezsignfolder_create_object_v1_request_instance.to_dict() # create an instance of EzsignfolderCreateObjectV1Request from a dict -ezsignfolder_create_object_v1_request_form_dict = ezsignfolder_create_object_v1_request.from_dict(ezsignfolder_create_object_v1_request_dict) +ezsignfolder_create_object_v1_request_from_dict = EzsignfolderCreateObjectV1Request.from_dict(ezsignfolder_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderCreateObjectV1Response.md b/docs/EzsignfolderCreateObjectV1Response.md index ba8da7cd6..65d5445a1 100644 --- a/docs/EzsignfolderCreateObjectV1Response.md +++ b/docs/EzsignfolderCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderCreateObjectV1Response.to_json()) # convert the object into a dict ezsignfolder_create_object_v1_response_dict = ezsignfolder_create_object_v1_response_instance.to_dict() # create an instance of EzsignfolderCreateObjectV1Response from a dict -ezsignfolder_create_object_v1_response_form_dict = ezsignfolder_create_object_v1_response.from_dict(ezsignfolder_create_object_v1_response_dict) +ezsignfolder_create_object_v1_response_from_dict = EzsignfolderCreateObjectV1Response.from_dict(ezsignfolder_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderCreateObjectV1ResponseMPayload.md b/docs/EzsignfolderCreateObjectV1ResponseMPayload.md index b35e7eb99..ea7bf7d83 100644 --- a/docs/EzsignfolderCreateObjectV1ResponseMPayload.md +++ b/docs/EzsignfolderCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_create_object_v1_response_m_payload_dict = ezsignfolder_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderCreateObjectV1ResponseMPayload from a dict -ezsignfolder_create_object_v1_response_m_payload_form_dict = ezsignfolder_create_object_v1_response_m_payload.from_dict(ezsignfolder_create_object_v1_response_m_payload_dict) +ezsignfolder_create_object_v1_response_m_payload_from_dict = EzsignfolderCreateObjectV1ResponseMPayload.from_dict(ezsignfolder_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderCreateObjectV2Request.md b/docs/EzsignfolderCreateObjectV2Request.md index ae2537ed3..6ad5b342d 100644 --- a/docs/EzsignfolderCreateObjectV2Request.md +++ b/docs/EzsignfolderCreateObjectV2Request.md @@ -23,7 +23,7 @@ print(EzsignfolderCreateObjectV2Request.to_json()) # convert the object into a dict ezsignfolder_create_object_v2_request_dict = ezsignfolder_create_object_v2_request_instance.to_dict() # create an instance of EzsignfolderCreateObjectV2Request from a dict -ezsignfolder_create_object_v2_request_form_dict = ezsignfolder_create_object_v2_request.from_dict(ezsignfolder_create_object_v2_request_dict) +ezsignfolder_create_object_v2_request_from_dict = EzsignfolderCreateObjectV2Request.from_dict(ezsignfolder_create_object_v2_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderCreateObjectV2Response.md b/docs/EzsignfolderCreateObjectV2Response.md index 297f8deb7..b1755268d 100644 --- a/docs/EzsignfolderCreateObjectV2Response.md +++ b/docs/EzsignfolderCreateObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignfolderCreateObjectV2Response.to_json()) # convert the object into a dict ezsignfolder_create_object_v2_response_dict = ezsignfolder_create_object_v2_response_instance.to_dict() # create an instance of EzsignfolderCreateObjectV2Response from a dict -ezsignfolder_create_object_v2_response_form_dict = ezsignfolder_create_object_v2_response.from_dict(ezsignfolder_create_object_v2_response_dict) +ezsignfolder_create_object_v2_response_from_dict = EzsignfolderCreateObjectV2Response.from_dict(ezsignfolder_create_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderCreateObjectV2ResponseMPayload.md b/docs/EzsignfolderCreateObjectV2ResponseMPayload.md index d70cd8e01..aaa70fc3c 100644 --- a/docs/EzsignfolderCreateObjectV2ResponseMPayload.md +++ b/docs/EzsignfolderCreateObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderCreateObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_create_object_v2_response_m_payload_dict = ezsignfolder_create_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignfolderCreateObjectV2ResponseMPayload from a dict -ezsignfolder_create_object_v2_response_m_payload_form_dict = ezsignfolder_create_object_v2_response_m_payload.from_dict(ezsignfolder_create_object_v2_response_m_payload_dict) +ezsignfolder_create_object_v2_response_m_payload_from_dict = EzsignfolderCreateObjectV2ResponseMPayload.from_dict(ezsignfolder_create_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderCreateObjectV3Request.md b/docs/EzsignfolderCreateObjectV3Request.md new file mode 100644 index 000000000..8ff9136f2 --- /dev/null +++ b/docs/EzsignfolderCreateObjectV3Request.md @@ -0,0 +1,30 @@ +# EzsignfolderCreateObjectV3Request + +Request for POST /3/object/ezsignfolder + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsignfolder** | [**List[EzsignfolderRequestCompoundV3]**](EzsignfolderRequestCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_create_object_v3_request import EzsignfolderCreateObjectV3Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderCreateObjectV3Request from a JSON string +ezsignfolder_create_object_v3_request_instance = EzsignfolderCreateObjectV3Request.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderCreateObjectV3Request.to_json()) + +# convert the object into a dict +ezsignfolder_create_object_v3_request_dict = ezsignfolder_create_object_v3_request_instance.to_dict() +# create an instance of EzsignfolderCreateObjectV3Request from a dict +ezsignfolder_create_object_v3_request_from_dict = EzsignfolderCreateObjectV3Request.from_dict(ezsignfolder_create_object_v3_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderCreateObjectV3Response.md b/docs/EzsignfolderCreateObjectV3Response.md new file mode 100644 index 000000000..dadd2501b --- /dev/null +++ b/docs/EzsignfolderCreateObjectV3Response.md @@ -0,0 +1,32 @@ +# EzsignfolderCreateObjectV3Response + +Response for POST /3/object/ezsignfolder + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignfolderCreateObjectV3ResponseMPayload**](EzsignfolderCreateObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_create_object_v3_response import EzsignfolderCreateObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderCreateObjectV3Response from a JSON string +ezsignfolder_create_object_v3_response_instance = EzsignfolderCreateObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderCreateObjectV3Response.to_json()) + +# convert the object into a dict +ezsignfolder_create_object_v3_response_dict = ezsignfolder_create_object_v3_response_instance.to_dict() +# create an instance of EzsignfolderCreateObjectV3Response from a dict +ezsignfolder_create_object_v3_response_from_dict = EzsignfolderCreateObjectV3Response.from_dict(ezsignfolder_create_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderCreateObjectV3ResponseMPayload.md b/docs/EzsignfolderCreateObjectV3ResponseMPayload.md new file mode 100644 index 000000000..33587b0c8 --- /dev/null +++ b/docs/EzsignfolderCreateObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsignfolderCreateObjectV3ResponseMPayload + +Payload for POST /3/object/ezsignfolder + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezsignfolder_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_create_object_v3_response_m_payload import EzsignfolderCreateObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderCreateObjectV3ResponseMPayload from a JSON string +ezsignfolder_create_object_v3_response_m_payload_instance = EzsignfolderCreateObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderCreateObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignfolder_create_object_v3_response_m_payload_dict = ezsignfolder_create_object_v3_response_m_payload_instance.to_dict() +# create an instance of EzsignfolderCreateObjectV3ResponseMPayload from a dict +ezsignfolder_create_object_v3_response_m_payload_from_dict = EzsignfolderCreateObjectV3ResponseMPayload.from_dict(ezsignfolder_create_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderDeleteObjectV1Response.md b/docs/EzsignfolderDeleteObjectV1Response.md index 09d9cbbb3..89d5df237 100644 --- a/docs/EzsignfolderDeleteObjectV1Response.md +++ b/docs/EzsignfolderDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignfolderDeleteObjectV1Response.to_json()) # convert the object into a dict ezsignfolder_delete_object_v1_response_dict = ezsignfolder_delete_object_v1_response_instance.to_dict() # create an instance of EzsignfolderDeleteObjectV1Response from a dict -ezsignfolder_delete_object_v1_response_form_dict = ezsignfolder_delete_object_v1_response.from_dict(ezsignfolder_delete_object_v1_response_dict) +ezsignfolder_delete_object_v1_response_from_dict = EzsignfolderDeleteObjectV1Response.from_dict(ezsignfolder_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderDisposeEzsignfoldersV1Request.md b/docs/EzsignfolderDisposeEzsignfoldersV1Request.md index 6c8f6873b..e021dc6a7 100644 --- a/docs/EzsignfolderDisposeEzsignfoldersV1Request.md +++ b/docs/EzsignfolderDisposeEzsignfoldersV1Request.md @@ -23,7 +23,7 @@ print(EzsignfolderDisposeEzsignfoldersV1Request.to_json()) # convert the object into a dict ezsignfolder_dispose_ezsignfolders_v1_request_dict = ezsignfolder_dispose_ezsignfolders_v1_request_instance.to_dict() # create an instance of EzsignfolderDisposeEzsignfoldersV1Request from a dict -ezsignfolder_dispose_ezsignfolders_v1_request_form_dict = ezsignfolder_dispose_ezsignfolders_v1_request.from_dict(ezsignfolder_dispose_ezsignfolders_v1_request_dict) +ezsignfolder_dispose_ezsignfolders_v1_request_from_dict = EzsignfolderDisposeEzsignfoldersV1Request.from_dict(ezsignfolder_dispose_ezsignfolders_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderDisposeEzsignfoldersV1Response.md b/docs/EzsignfolderDisposeEzsignfoldersV1Response.md index 6011bee09..a720f7df8 100644 --- a/docs/EzsignfolderDisposeEzsignfoldersV1Response.md +++ b/docs/EzsignfolderDisposeEzsignfoldersV1Response.md @@ -24,7 +24,7 @@ print(EzsignfolderDisposeEzsignfoldersV1Response.to_json()) # convert the object into a dict ezsignfolder_dispose_ezsignfolders_v1_response_dict = ezsignfolder_dispose_ezsignfolders_v1_response_instance.to_dict() # create an instance of EzsignfolderDisposeEzsignfoldersV1Response from a dict -ezsignfolder_dispose_ezsignfolders_v1_response_form_dict = ezsignfolder_dispose_ezsignfolders_v1_response.from_dict(ezsignfolder_dispose_ezsignfolders_v1_response_dict) +ezsignfolder_dispose_ezsignfolders_v1_response_from_dict = EzsignfolderDisposeEzsignfoldersV1Response.from_dict(ezsignfolder_dispose_ezsignfolders_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderDisposeV1Response.md b/docs/EzsignfolderDisposeV1Response.md index 4c147390e..5dedebb75 100644 --- a/docs/EzsignfolderDisposeV1Response.md +++ b/docs/EzsignfolderDisposeV1Response.md @@ -24,7 +24,7 @@ print(EzsignfolderDisposeV1Response.to_json()) # convert the object into a dict ezsignfolder_dispose_v1_response_dict = ezsignfolder_dispose_v1_response_instance.to_dict() # create an instance of EzsignfolderDisposeV1Response from a dict -ezsignfolder_dispose_v1_response_form_dict = ezsignfolder_dispose_v1_response.from_dict(ezsignfolder_dispose_v1_response_dict) +ezsignfolder_dispose_v1_response_from_dict = EzsignfolderDisposeV1Response.from_dict(ezsignfolder_dispose_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderEditObjectV1Request.md b/docs/EzsignfolderEditObjectV1Request.md deleted file mode 100644 index 2bd64a7c6..000000000 --- a/docs/EzsignfolderEditObjectV1Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsignfolderEditObjectV1Request - -Request for PUT /1/object/ezsignfolder/{pkiEzsignfolderID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsignfolder** | [**EzsignfolderRequestCompound**](EzsignfolderRequestCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignfolder_edit_object_v1_request import EzsignfolderEditObjectV1Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfolderEditObjectV1Request from a JSON string -ezsignfolder_edit_object_v1_request_instance = EzsignfolderEditObjectV1Request.from_json(json) -# print the JSON string representation of the object -print(EzsignfolderEditObjectV1Request.to_json()) - -# convert the object into a dict -ezsignfolder_edit_object_v1_request_dict = ezsignfolder_edit_object_v1_request_instance.to_dict() -# create an instance of EzsignfolderEditObjectV1Request from a dict -ezsignfolder_edit_object_v1_request_form_dict = ezsignfolder_edit_object_v1_request.from_dict(ezsignfolder_edit_object_v1_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfolderEditObjectV1Response.md b/docs/EzsignfolderEditObjectV1Response.md deleted file mode 100644 index e25bd07ab..000000000 --- a/docs/EzsignfolderEditObjectV1Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# EzsignfolderEditObjectV1Response - -Response for PUT /1/object/ezsignfolder/{pkiEzsignfolderID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsignfolder_edit_object_v1_response import EzsignfolderEditObjectV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfolderEditObjectV1Response from a JSON string -ezsignfolder_edit_object_v1_response_instance = EzsignfolderEditObjectV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsignfolderEditObjectV1Response.to_json()) - -# convert the object into a dict -ezsignfolder_edit_object_v1_response_dict = ezsignfolder_edit_object_v1_response_instance.to_dict() -# create an instance of EzsignfolderEditObjectV1Response from a dict -ezsignfolder_edit_object_v1_response_form_dict = ezsignfolder_edit_object_v1_response.from_dict(ezsignfolder_edit_object_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfolderEditObjectV3Request.md b/docs/EzsignfolderEditObjectV3Request.md new file mode 100644 index 000000000..f2a83cfd4 --- /dev/null +++ b/docs/EzsignfolderEditObjectV3Request.md @@ -0,0 +1,30 @@ +# EzsignfolderEditObjectV3Request + +Request for PUT /3/object/ezsignfolder/{pkiEzsignfolderID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignfolder** | [**EzsignfolderRequestCompoundV3**](EzsignfolderRequestCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_edit_object_v3_request import EzsignfolderEditObjectV3Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderEditObjectV3Request from a JSON string +ezsignfolder_edit_object_v3_request_instance = EzsignfolderEditObjectV3Request.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderEditObjectV3Request.to_json()) + +# convert the object into a dict +ezsignfolder_edit_object_v3_request_dict = ezsignfolder_edit_object_v3_request_instance.to_dict() +# create an instance of EzsignfolderEditObjectV3Request from a dict +ezsignfolder_edit_object_v3_request_from_dict = EzsignfolderEditObjectV3Request.from_dict(ezsignfolder_edit_object_v3_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderEditObjectV3Response.md b/docs/EzsignfolderEditObjectV3Response.md new file mode 100644 index 000000000..7e928ccce --- /dev/null +++ b/docs/EzsignfolderEditObjectV3Response.md @@ -0,0 +1,31 @@ +# EzsignfolderEditObjectV3Response + +Response for PUT /3/object/ezsignfolder/{pkiEzsignfolderID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfolder_edit_object_v3_response import EzsignfolderEditObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderEditObjectV3Response from a JSON string +ezsignfolder_edit_object_v3_response_instance = EzsignfolderEditObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderEditObjectV3Response.to_json()) + +# convert the object into a dict +ezsignfolder_edit_object_v3_response_dict = ezsignfolder_edit_object_v3_response_instance.to_dict() +# create an instance of EzsignfolderEditObjectV3Response from a dict +ezsignfolder_edit_object_v3_response_from_dict = EzsignfolderEditObjectV3Response.from_dict(ezsignfolder_edit_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderEndPrematurelyV1Response.md b/docs/EzsignfolderEndPrematurelyV1Response.md index fa03dfbd9..acaf1c422 100644 --- a/docs/EzsignfolderEndPrematurelyV1Response.md +++ b/docs/EzsignfolderEndPrematurelyV1Response.md @@ -24,7 +24,7 @@ print(EzsignfolderEndPrematurelyV1Response.to_json()) # convert the object into a dict ezsignfolder_end_prematurely_v1_response_dict = ezsignfolder_end_prematurely_v1_response_instance.to_dict() # create an instance of EzsignfolderEndPrematurelyV1Response from a dict -ezsignfolder_end_prematurely_v1_response_form_dict = ezsignfolder_end_prematurely_v1_response.from_dict(ezsignfolder_end_prematurely_v1_response_dict) +ezsignfolder_end_prematurely_v1_response_from_dict = EzsignfolderEndPrematurelyV1Response.from_dict(ezsignfolder_end_prematurely_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetActionableElementsV1Response.md b/docs/EzsignfolderGetActionableElementsV1Response.md index 8667c1459..cf118c8cf 100644 --- a/docs/EzsignfolderGetActionableElementsV1Response.md +++ b/docs/EzsignfolderGetActionableElementsV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetActionableElementsV1Response.to_json()) # convert the object into a dict ezsignfolder_get_actionable_elements_v1_response_dict = ezsignfolder_get_actionable_elements_v1_response_instance.to_dict() # create an instance of EzsignfolderGetActionableElementsV1Response from a dict -ezsignfolder_get_actionable_elements_v1_response_form_dict = ezsignfolder_get_actionable_elements_v1_response.from_dict(ezsignfolder_get_actionable_elements_v1_response_dict) +ezsignfolder_get_actionable_elements_v1_response_from_dict = EzsignfolderGetActionableElementsV1Response.from_dict(ezsignfolder_get_actionable_elements_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetActionableElementsV1ResponseMPayload.md b/docs/EzsignfolderGetActionableElementsV1ResponseMPayload.md index 5165884b0..6233ede13 100644 --- a/docs/EzsignfolderGetActionableElementsV1ResponseMPayload.md +++ b/docs/EzsignfolderGetActionableElementsV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsignfolderGetActionableElementsV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_actionable_elements_v1_response_m_payload_dict = ezsignfolder_get_actionable_elements_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetActionableElementsV1ResponseMPayload from a dict -ezsignfolder_get_actionable_elements_v1_response_m_payload_form_dict = ezsignfolder_get_actionable_elements_v1_response_m_payload.from_dict(ezsignfolder_get_actionable_elements_v1_response_m_payload_dict) +ezsignfolder_get_actionable_elements_v1_response_m_payload_from_dict = EzsignfolderGetActionableElementsV1ResponseMPayload.from_dict(ezsignfolder_get_actionable_elements_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetAttachmentCountV1Response.md b/docs/EzsignfolderGetAttachmentCountV1Response.md index e08cc264a..1372a6889 100644 --- a/docs/EzsignfolderGetAttachmentCountV1Response.md +++ b/docs/EzsignfolderGetAttachmentCountV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetAttachmentCountV1Response.to_json()) # convert the object into a dict ezsignfolder_get_attachment_count_v1_response_dict = ezsignfolder_get_attachment_count_v1_response_instance.to_dict() # create an instance of EzsignfolderGetAttachmentCountV1Response from a dict -ezsignfolder_get_attachment_count_v1_response_form_dict = ezsignfolder_get_attachment_count_v1_response.from_dict(ezsignfolder_get_attachment_count_v1_response_dict) +ezsignfolder_get_attachment_count_v1_response_from_dict = EzsignfolderGetAttachmentCountV1Response.from_dict(ezsignfolder_get_attachment_count_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetAttachmentCountV1ResponseMPayload.md b/docs/EzsignfolderGetAttachmentCountV1ResponseMPayload.md index 2525abbb2..ffa1abbf7 100644 --- a/docs/EzsignfolderGetAttachmentCountV1ResponseMPayload.md +++ b/docs/EzsignfolderGetAttachmentCountV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderGetAttachmentCountV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_attachment_count_v1_response_m_payload_dict = ezsignfolder_get_attachment_count_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetAttachmentCountV1ResponseMPayload from a dict -ezsignfolder_get_attachment_count_v1_response_m_payload_form_dict = ezsignfolder_get_attachment_count_v1_response_m_payload.from_dict(ezsignfolder_get_attachment_count_v1_response_m_payload_dict) +ezsignfolder_get_attachment_count_v1_response_m_payload_from_dict = EzsignfolderGetAttachmentCountV1ResponseMPayload.from_dict(ezsignfolder_get_attachment_count_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetAttachmentsV1Response.md b/docs/EzsignfolderGetAttachmentsV1Response.md index e8af4495c..43ef77f41 100644 --- a/docs/EzsignfolderGetAttachmentsV1Response.md +++ b/docs/EzsignfolderGetAttachmentsV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetAttachmentsV1Response.to_json()) # convert the object into a dict ezsignfolder_get_attachments_v1_response_dict = ezsignfolder_get_attachments_v1_response_instance.to_dict() # create an instance of EzsignfolderGetAttachmentsV1Response from a dict -ezsignfolder_get_attachments_v1_response_form_dict = ezsignfolder_get_attachments_v1_response.from_dict(ezsignfolder_get_attachments_v1_response_dict) +ezsignfolder_get_attachments_v1_response_from_dict = EzsignfolderGetAttachmentsV1Response.from_dict(ezsignfolder_get_attachments_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetAttachmentsV1ResponseMPayload.md b/docs/EzsignfolderGetAttachmentsV1ResponseMPayload.md index dcf1ae7d8..4b2d4974d 100644 --- a/docs/EzsignfolderGetAttachmentsV1ResponseMPayload.md +++ b/docs/EzsignfolderGetAttachmentsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderGetAttachmentsV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_attachments_v1_response_m_payload_dict = ezsignfolder_get_attachments_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetAttachmentsV1ResponseMPayload from a dict -ezsignfolder_get_attachments_v1_response_m_payload_form_dict = ezsignfolder_get_attachments_v1_response_m_payload.from_dict(ezsignfolder_get_attachments_v1_response_m_payload_dict) +ezsignfolder_get_attachments_v1_response_m_payload_from_dict = EzsignfolderGetAttachmentsV1ResponseMPayload.from_dict(ezsignfolder_get_attachments_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetCommunicationCountV1Response.md b/docs/EzsignfolderGetCommunicationCountV1Response.md index eec3ac001..d8966c8b9 100644 --- a/docs/EzsignfolderGetCommunicationCountV1Response.md +++ b/docs/EzsignfolderGetCommunicationCountV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetCommunicationCountV1Response.to_json()) # convert the object into a dict ezsignfolder_get_communication_count_v1_response_dict = ezsignfolder_get_communication_count_v1_response_instance.to_dict() # create an instance of EzsignfolderGetCommunicationCountV1Response from a dict -ezsignfolder_get_communication_count_v1_response_form_dict = ezsignfolder_get_communication_count_v1_response.from_dict(ezsignfolder_get_communication_count_v1_response_dict) +ezsignfolder_get_communication_count_v1_response_from_dict = EzsignfolderGetCommunicationCountV1Response.from_dict(ezsignfolder_get_communication_count_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetCommunicationCountV1ResponseMPayload.md b/docs/EzsignfolderGetCommunicationCountV1ResponseMPayload.md index f17e34277..a55f2fb4d 100644 --- a/docs/EzsignfolderGetCommunicationCountV1ResponseMPayload.md +++ b/docs/EzsignfolderGetCommunicationCountV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderGetCommunicationCountV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_communication_count_v1_response_m_payload_dict = ezsignfolder_get_communication_count_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetCommunicationCountV1ResponseMPayload from a dict -ezsignfolder_get_communication_count_v1_response_m_payload_form_dict = ezsignfolder_get_communication_count_v1_response_m_payload.from_dict(ezsignfolder_get_communication_count_v1_response_m_payload_dict) +ezsignfolder_get_communication_count_v1_response_m_payload_from_dict = EzsignfolderGetCommunicationCountV1ResponseMPayload.from_dict(ezsignfolder_get_communication_count_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetCommunicationListV1Response.md b/docs/EzsignfolderGetCommunicationListV1Response.md index bb3ac4aad..2497fb0cb 100644 --- a/docs/EzsignfolderGetCommunicationListV1Response.md +++ b/docs/EzsignfolderGetCommunicationListV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetCommunicationListV1Response.to_json()) # convert the object into a dict ezsignfolder_get_communication_list_v1_response_dict = ezsignfolder_get_communication_list_v1_response_instance.to_dict() # create an instance of EzsignfolderGetCommunicationListV1Response from a dict -ezsignfolder_get_communication_list_v1_response_form_dict = ezsignfolder_get_communication_list_v1_response.from_dict(ezsignfolder_get_communication_list_v1_response_dict) +ezsignfolder_get_communication_list_v1_response_from_dict = EzsignfolderGetCommunicationListV1Response.from_dict(ezsignfolder_get_communication_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetCommunicationListV1ResponseMPayload.md b/docs/EzsignfolderGetCommunicationListV1ResponseMPayload.md index be939b7d6..eac4e7480 100644 --- a/docs/EzsignfolderGetCommunicationListV1ResponseMPayload.md +++ b/docs/EzsignfolderGetCommunicationListV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderGetCommunicationListV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_communication_list_v1_response_m_payload_dict = ezsignfolder_get_communication_list_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetCommunicationListV1ResponseMPayload from a dict -ezsignfolder_get_communication_list_v1_response_m_payload_form_dict = ezsignfolder_get_communication_list_v1_response_m_payload.from_dict(ezsignfolder_get_communication_list_v1_response_m_payload_dict) +ezsignfolder_get_communication_list_v1_response_m_payload_from_dict = EzsignfolderGetCommunicationListV1ResponseMPayload.from_dict(ezsignfolder_get_communication_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetCommunicationrecipientsV1Response.md b/docs/EzsignfolderGetCommunicationrecipientsV1Response.md index 7a92bc8cd..e1ff5a733 100644 --- a/docs/EzsignfolderGetCommunicationrecipientsV1Response.md +++ b/docs/EzsignfolderGetCommunicationrecipientsV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetCommunicationrecipientsV1Response.to_json()) # convert the object into a dict ezsignfolder_get_communicationrecipients_v1_response_dict = ezsignfolder_get_communicationrecipients_v1_response_instance.to_dict() # create an instance of EzsignfolderGetCommunicationrecipientsV1Response from a dict -ezsignfolder_get_communicationrecipients_v1_response_form_dict = ezsignfolder_get_communicationrecipients_v1_response.from_dict(ezsignfolder_get_communicationrecipients_v1_response_dict) +ezsignfolder_get_communicationrecipients_v1_response_from_dict = EzsignfolderGetCommunicationrecipientsV1Response.from_dict(ezsignfolder_get_communicationrecipients_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.md b/docs/EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.md index da9aafe52..de10066ae 100644 --- a/docs/EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.md +++ b/docs/EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_communicationrecipients_v1_response_m_payload_dict = ezsignfolder_get_communicationrecipients_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetCommunicationrecipientsV1ResponseMPayload from a dict -ezsignfolder_get_communicationrecipients_v1_response_m_payload_form_dict = ezsignfolder_get_communicationrecipients_v1_response_m_payload.from_dict(ezsignfolder_get_communicationrecipients_v1_response_m_payload_dict) +ezsignfolder_get_communicationrecipients_v1_response_m_payload_from_dict = EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.from_dict(ezsignfolder_get_communicationrecipients_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetCommunicationsendersV1Response.md b/docs/EzsignfolderGetCommunicationsendersV1Response.md index 1adf86078..18599c7e1 100644 --- a/docs/EzsignfolderGetCommunicationsendersV1Response.md +++ b/docs/EzsignfolderGetCommunicationsendersV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetCommunicationsendersV1Response.to_json()) # convert the object into a dict ezsignfolder_get_communicationsenders_v1_response_dict = ezsignfolder_get_communicationsenders_v1_response_instance.to_dict() # create an instance of EzsignfolderGetCommunicationsendersV1Response from a dict -ezsignfolder_get_communicationsenders_v1_response_form_dict = ezsignfolder_get_communicationsenders_v1_response.from_dict(ezsignfolder_get_communicationsenders_v1_response_dict) +ezsignfolder_get_communicationsenders_v1_response_from_dict = EzsignfolderGetCommunicationsendersV1Response.from_dict(ezsignfolder_get_communicationsenders_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetCommunicationsendersV1ResponseMPayload.md b/docs/EzsignfolderGetCommunicationsendersV1ResponseMPayload.md index 80e4ad846..e576485d3 100644 --- a/docs/EzsignfolderGetCommunicationsendersV1ResponseMPayload.md +++ b/docs/EzsignfolderGetCommunicationsendersV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderGetCommunicationsendersV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_communicationsenders_v1_response_m_payload_dict = ezsignfolder_get_communicationsenders_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetCommunicationsendersV1ResponseMPayload from a dict -ezsignfolder_get_communicationsenders_v1_response_m_payload_form_dict = ezsignfolder_get_communicationsenders_v1_response_m_payload.from_dict(ezsignfolder_get_communicationsenders_v1_response_m_payload_dict) +ezsignfolder_get_communicationsenders_v1_response_m_payload_from_dict = EzsignfolderGetCommunicationsendersV1ResponseMPayload.from_dict(ezsignfolder_get_communicationsenders_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetEzsigndocumentsV1Response.md b/docs/EzsignfolderGetEzsigndocumentsV1Response.md index be94dffe4..3996e3f87 100644 --- a/docs/EzsignfolderGetEzsigndocumentsV1Response.md +++ b/docs/EzsignfolderGetEzsigndocumentsV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetEzsigndocumentsV1Response.to_json()) # convert the object into a dict ezsignfolder_get_ezsigndocuments_v1_response_dict = ezsignfolder_get_ezsigndocuments_v1_response_instance.to_dict() # create an instance of EzsignfolderGetEzsigndocumentsV1Response from a dict -ezsignfolder_get_ezsigndocuments_v1_response_form_dict = ezsignfolder_get_ezsigndocuments_v1_response.from_dict(ezsignfolder_get_ezsigndocuments_v1_response_dict) +ezsignfolder_get_ezsigndocuments_v1_response_from_dict = EzsignfolderGetEzsigndocumentsV1Response.from_dict(ezsignfolder_get_ezsigndocuments_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetEzsigndocumentsV1ResponseMPayload.md b/docs/EzsignfolderGetEzsigndocumentsV1ResponseMPayload.md index e2bae71c7..0fc134f6c 100644 --- a/docs/EzsignfolderGetEzsigndocumentsV1ResponseMPayload.md +++ b/docs/EzsignfolderGetEzsigndocumentsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderGetEzsigndocumentsV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_ezsigndocuments_v1_response_m_payload_dict = ezsignfolder_get_ezsigndocuments_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetEzsigndocumentsV1ResponseMPayload from a dict -ezsignfolder_get_ezsigndocuments_v1_response_m_payload_form_dict = ezsignfolder_get_ezsigndocuments_v1_response_m_payload.from_dict(ezsignfolder_get_ezsigndocuments_v1_response_m_payload_dict) +ezsignfolder_get_ezsigndocuments_v1_response_m_payload_from_dict = EzsignfolderGetEzsigndocumentsV1ResponseMPayload.from_dict(ezsignfolder_get_ezsigndocuments_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md b/docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md index 3849d2740..39cc318f2 100644 --- a/docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md +++ b/docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetEzsignfoldersignerassociationsV1Response.to_json()) # convert the object into a dict ezsignfolder_get_ezsignfoldersignerassociations_v1_response_dict = ezsignfolder_get_ezsignfoldersignerassociations_v1_response_instance.to_dict() # create an instance of EzsignfolderGetEzsignfoldersignerassociationsV1Response from a dict -ezsignfolder_get_ezsignfoldersignerassociations_v1_response_form_dict = ezsignfolder_get_ezsignfoldersignerassociations_v1_response.from_dict(ezsignfolder_get_ezsignfoldersignerassociations_v1_response_dict) +ezsignfolder_get_ezsignfoldersignerassociations_v1_response_from_dict = EzsignfolderGetEzsignfoldersignerassociationsV1Response.from_dict(ezsignfolder_get_ezsignfoldersignerassociations_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload.md b/docs/EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload.md index f76d077cf..52656e27a 100644 --- a/docs/EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload.md +++ b/docs/EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload_dict = ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload from a dict -ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload_form_dict = ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.from_dict(ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload_dict) +ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload_from_dict = EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload.from_dict(ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsignfolderGetEzsignsignaturesAutomaticV1Response.md index 4dc6b93f9..691ddc501 100644 --- a/docs/EzsignfolderGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignfolderGetEzsignsignaturesAutomaticV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetEzsignsignaturesAutomaticV1Response.to_json()) # convert the object into a dict ezsignfolder_get_ezsignsignatures_automatic_v1_response_dict = ezsignfolder_get_ezsignsignatures_automatic_v1_response_instance.to_dict() # create an instance of EzsignfolderGetEzsignsignaturesAutomaticV1Response from a dict -ezsignfolder_get_ezsignsignatures_automatic_v1_response_form_dict = ezsignfolder_get_ezsignsignatures_automatic_v1_response.from_dict(ezsignfolder_get_ezsignsignatures_automatic_v1_response_dict) +ezsignfolder_get_ezsignsignatures_automatic_v1_response_from_dict = EzsignfolderGetEzsignsignaturesAutomaticV1Response.from_dict(ezsignfolder_get_ezsignsignatures_automatic_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload.md b/docs/EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload.md index b583b4610..6e8dce403 100644 --- a/docs/EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload.md +++ b/docs/EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload_dict = ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload from a dict -ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload_form_dict = ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.from_dict(ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload_dict) +ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload_from_dict = EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload.from_dict(ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetFormsDataV1Response.md b/docs/EzsignfolderGetFormsDataV1Response.md index ab417bda1..c8cc062e6 100644 --- a/docs/EzsignfolderGetFormsDataV1Response.md +++ b/docs/EzsignfolderGetFormsDataV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetFormsDataV1Response.to_json()) # convert the object into a dict ezsignfolder_get_forms_data_v1_response_dict = ezsignfolder_get_forms_data_v1_response_instance.to_dict() # create an instance of EzsignfolderGetFormsDataV1Response from a dict -ezsignfolder_get_forms_data_v1_response_form_dict = ezsignfolder_get_forms_data_v1_response.from_dict(ezsignfolder_get_forms_data_v1_response_dict) +ezsignfolder_get_forms_data_v1_response_from_dict = EzsignfolderGetFormsDataV1Response.from_dict(ezsignfolder_get_forms_data_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetFormsDataV1ResponseMPayload.md b/docs/EzsignfolderGetFormsDataV1ResponseMPayload.md index 7936aab72..315374728 100644 --- a/docs/EzsignfolderGetFormsDataV1ResponseMPayload.md +++ b/docs/EzsignfolderGetFormsDataV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderGetFormsDataV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_forms_data_v1_response_m_payload_dict = ezsignfolder_get_forms_data_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetFormsDataV1ResponseMPayload from a dict -ezsignfolder_get_forms_data_v1_response_m_payload_form_dict = ezsignfolder_get_forms_data_v1_response_m_payload.from_dict(ezsignfolder_get_forms_data_v1_response_m_payload_dict) +ezsignfolder_get_forms_data_v1_response_m_payload_from_dict = EzsignfolderGetFormsDataV1ResponseMPayload.from_dict(ezsignfolder_get_forms_data_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetListV1Response.md b/docs/EzsignfolderGetListV1Response.md index 3deec50eb..26477814d 100644 --- a/docs/EzsignfolderGetListV1Response.md +++ b/docs/EzsignfolderGetListV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetListV1Response.to_json()) # convert the object into a dict ezsignfolder_get_list_v1_response_dict = ezsignfolder_get_list_v1_response_instance.to_dict() # create an instance of EzsignfolderGetListV1Response from a dict -ezsignfolder_get_list_v1_response_form_dict = ezsignfolder_get_list_v1_response.from_dict(ezsignfolder_get_list_v1_response_dict) +ezsignfolder_get_list_v1_response_from_dict = EzsignfolderGetListV1Response.from_dict(ezsignfolder_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetListV1ResponseMPayload.md b/docs/EzsignfolderGetListV1ResponseMPayload.md index 344f6f4f9..49bd65f69 100644 --- a/docs/EzsignfolderGetListV1ResponseMPayload.md +++ b/docs/EzsignfolderGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(EzsignfolderGetListV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_list_v1_response_m_payload_dict = ezsignfolder_get_list_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetListV1ResponseMPayload from a dict -ezsignfolder_get_list_v1_response_m_payload_form_dict = ezsignfolder_get_list_v1_response_m_payload.from_dict(ezsignfolder_get_list_v1_response_m_payload_dict) +ezsignfolder_get_list_v1_response_m_payload_from_dict = EzsignfolderGetListV1ResponseMPayload.from_dict(ezsignfolder_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetObjectV1Response.md b/docs/EzsignfolderGetObjectV1Response.md index 66d227201..4cb004c07 100644 --- a/docs/EzsignfolderGetObjectV1Response.md +++ b/docs/EzsignfolderGetObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetObjectV1Response.to_json()) # convert the object into a dict ezsignfolder_get_object_v1_response_dict = ezsignfolder_get_object_v1_response_instance.to_dict() # create an instance of EzsignfolderGetObjectV1Response from a dict -ezsignfolder_get_object_v1_response_form_dict = ezsignfolder_get_object_v1_response.from_dict(ezsignfolder_get_object_v1_response_dict) +ezsignfolder_get_object_v1_response_from_dict = EzsignfolderGetObjectV1Response.from_dict(ezsignfolder_get_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetObjectV1ResponseMPayload.md b/docs/EzsignfolderGetObjectV1ResponseMPayload.md index 54d101d82..c633d1315 100644 --- a/docs/EzsignfolderGetObjectV1ResponseMPayload.md +++ b/docs/EzsignfolderGetObjectV1ResponseMPayload.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] **obj_ezsignfoldertype** | [**CustomEzsignfoldertypeResponse**](CustomEzsignfoldertypeResponse.md) | | [optional] +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] **e_ezsignfolder_completion** | [**FieldEEzsignfolderCompletion**](FieldEEzsignfolderCompletion.md) | | **s_ezsignfoldertype_name_x** | **str** | | [optional] **fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] @@ -19,6 +20,8 @@ Name | Type | Description | Notes **t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] **b_ezsignfolder_isdisposable** | **bool** | If the Ezsigndocument can be disposed | [optional] **e_ezsignfolder_sendreminderfrequency** | [**FieldEEzsignfolderSendreminderfrequency**](FieldEEzsignfolderSendreminderfrequency.md) | | [optional] +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] **dt_ezsignfolder_delayedsenddate** | **str** | The date and time at which the Ezsignfolder will be sent in the future. | [optional] **dt_ezsignfolder_duedate** | **str** | The maximum date and time at which the Ezsignfolder can be signed. | [optional] **dt_ezsignfolder_sentdate** | **str** | The date and time at which the Ezsignfolder was sent the last time. | [optional] @@ -29,6 +32,7 @@ Name | Type | Description | Notes **t_ezsignfolder_message** | **str** | A custom text message that will be added to the email sent. | [optional] **obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] **s_ezsignfolder_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] +**obj_timezone** | [**CustomTimezoneWithCodeResponse**](CustomTimezoneWithCodeResponse.md) | | [optional] ## Example @@ -45,7 +49,7 @@ print(EzsignfolderGetObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_object_v1_response_m_payload_dict = ezsignfolder_get_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetObjectV1ResponseMPayload from a dict -ezsignfolder_get_object_v1_response_m_payload_form_dict = ezsignfolder_get_object_v1_response_m_payload.from_dict(ezsignfolder_get_object_v1_response_m_payload_dict) +ezsignfolder_get_object_v1_response_m_payload_from_dict = EzsignfolderGetObjectV1ResponseMPayload.from_dict(ezsignfolder_get_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetObjectV2Response.md b/docs/EzsignfolderGetObjectV2Response.md index 09f9c2927..6b8c7c2f3 100644 --- a/docs/EzsignfolderGetObjectV2Response.md +++ b/docs/EzsignfolderGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignfolderGetObjectV2Response.to_json()) # convert the object into a dict ezsignfolder_get_object_v2_response_dict = ezsignfolder_get_object_v2_response_instance.to_dict() # create an instance of EzsignfolderGetObjectV2Response from a dict -ezsignfolder_get_object_v2_response_form_dict = ezsignfolder_get_object_v2_response.from_dict(ezsignfolder_get_object_v2_response_dict) +ezsignfolder_get_object_v2_response_from_dict = EzsignfolderGetObjectV2Response.from_dict(ezsignfolder_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetObjectV2ResponseMPayload.md b/docs/EzsignfolderGetObjectV2ResponseMPayload.md index beefcb159..23c40c71f 100644 --- a/docs/EzsignfolderGetObjectV2ResponseMPayload.md +++ b/docs/EzsignfolderGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_get_object_v2_response_m_payload_dict = ezsignfolder_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignfolderGetObjectV2ResponseMPayload from a dict -ezsignfolder_get_object_v2_response_m_payload_form_dict = ezsignfolder_get_object_v2_response_m_payload.from_dict(ezsignfolder_get_object_v2_response_m_payload_dict) +ezsignfolder_get_object_v2_response_m_payload_from_dict = EzsignfolderGetObjectV2ResponseMPayload.from_dict(ezsignfolder_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderGetObjectV3Response.md b/docs/EzsignfolderGetObjectV3Response.md new file mode 100644 index 000000000..a8e61577f --- /dev/null +++ b/docs/EzsignfolderGetObjectV3Response.md @@ -0,0 +1,32 @@ +# EzsignfolderGetObjectV3Response + +Response for GET /3/object/ezsignfolder/{pkiEzsignfolderID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignfolderGetObjectV3ResponseMPayload**](EzsignfolderGetObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_get_object_v3_response import EzsignfolderGetObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderGetObjectV3Response from a JSON string +ezsignfolder_get_object_v3_response_instance = EzsignfolderGetObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderGetObjectV3Response.to_json()) + +# convert the object into a dict +ezsignfolder_get_object_v3_response_dict = ezsignfolder_get_object_v3_response_instance.to_dict() +# create an instance of EzsignfolderGetObjectV3Response from a dict +ezsignfolder_get_object_v3_response_from_dict = EzsignfolderGetObjectV3Response.from_dict(ezsignfolder_get_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderGetObjectV3ResponseMPayload.md b/docs/EzsignfolderGetObjectV3ResponseMPayload.md new file mode 100644 index 000000000..cb56e74ec --- /dev/null +++ b/docs/EzsignfolderGetObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsignfolderGetObjectV3ResponseMPayload + +Payload for GET /3/object/ezsignfolder/{pkiEzsignfolderID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignfolder** | [**EzsignfolderResponseCompoundV3**](EzsignfolderResponseCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_get_object_v3_response_m_payload import EzsignfolderGetObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderGetObjectV3ResponseMPayload from a JSON string +ezsignfolder_get_object_v3_response_m_payload_instance = EzsignfolderGetObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderGetObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignfolder_get_object_v3_response_m_payload_dict = ezsignfolder_get_object_v3_response_m_payload_instance.to_dict() +# create an instance of EzsignfolderGetObjectV3ResponseMPayload from a dict +ezsignfolder_get_object_v3_response_m_payload_from_dict = EzsignfolderGetObjectV3ResponseMPayload.from_dict(ezsignfolder_get_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Request.md b/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Request.md index 547c45b25..706f13e4a 100644 --- a/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Request.md +++ b/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Request.md @@ -23,7 +23,7 @@ print(EzsignfolderImportEzsignfoldersignerassociationsV1Request.to_json()) # convert the object into a dict ezsignfolder_import_ezsignfoldersignerassociations_v1_request_dict = ezsignfolder_import_ezsignfoldersignerassociations_v1_request_instance.to_dict() # create an instance of EzsignfolderImportEzsignfoldersignerassociationsV1Request from a dict -ezsignfolder_import_ezsignfoldersignerassociations_v1_request_form_dict = ezsignfolder_import_ezsignfoldersignerassociations_v1_request.from_dict(ezsignfolder_import_ezsignfoldersignerassociations_v1_request_dict) +ezsignfolder_import_ezsignfoldersignerassociations_v1_request_from_dict = EzsignfolderImportEzsignfoldersignerassociationsV1Request.from_dict(ezsignfolder_import_ezsignfoldersignerassociations_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md b/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md index de2b2152d..e929395bf 100644 --- a/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md +++ b/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderImportEzsignfoldersignerassociationsV1Response.to_json()) # convert the object into a dict ezsignfolder_import_ezsignfoldersignerassociations_v1_response_dict = ezsignfolder_import_ezsignfoldersignerassociations_v1_response_instance.to_dict() # create an instance of EzsignfolderImportEzsignfoldersignerassociationsV1Response from a dict -ezsignfolder_import_ezsignfoldersignerassociations_v1_response_form_dict = ezsignfolder_import_ezsignfoldersignerassociations_v1_response.from_dict(ezsignfolder_import_ezsignfoldersignerassociations_v1_response_dict) +ezsignfolder_import_ezsignfoldersignerassociations_v1_response_from_dict = EzsignfolderImportEzsignfoldersignerassociationsV1Response.from_dict(ezsignfolder_import_ezsignfoldersignerassociations_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload.md b/docs/EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload.md index 8926699c8..75b5534cd 100644 --- a/docs/EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload.md +++ b/docs/EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload.to_json # convert the object into a dict ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload_dict = ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload from a dict -ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload_form_dict = ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload.from_dict(ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload_dict) +ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload_from_dict = EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload.from_dict(ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderImportEzsigntemplatepackageV1Request.md b/docs/EzsignfolderImportEzsigntemplatepackageV1Request.md index f6681de7e..6329f7870 100644 --- a/docs/EzsignfolderImportEzsigntemplatepackageV1Request.md +++ b/docs/EzsignfolderImportEzsigntemplatepackageV1Request.md @@ -25,7 +25,7 @@ print(EzsignfolderImportEzsigntemplatepackageV1Request.to_json()) # convert the object into a dict ezsignfolder_import_ezsigntemplatepackage_v1_request_dict = ezsignfolder_import_ezsigntemplatepackage_v1_request_instance.to_dict() # create an instance of EzsignfolderImportEzsigntemplatepackageV1Request from a dict -ezsignfolder_import_ezsigntemplatepackage_v1_request_form_dict = ezsignfolder_import_ezsigntemplatepackage_v1_request.from_dict(ezsignfolder_import_ezsigntemplatepackage_v1_request_dict) +ezsignfolder_import_ezsigntemplatepackage_v1_request_from_dict = EzsignfolderImportEzsigntemplatepackageV1Request.from_dict(ezsignfolder_import_ezsigntemplatepackage_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderImportEzsigntemplatepackageV1Response.md b/docs/EzsignfolderImportEzsigntemplatepackageV1Response.md index 1d0431f16..6e08f2949 100644 --- a/docs/EzsignfolderImportEzsigntemplatepackageV1Response.md +++ b/docs/EzsignfolderImportEzsigntemplatepackageV1Response.md @@ -25,7 +25,7 @@ print(EzsignfolderImportEzsigntemplatepackageV1Response.to_json()) # convert the object into a dict ezsignfolder_import_ezsigntemplatepackage_v1_response_dict = ezsignfolder_import_ezsigntemplatepackage_v1_response_instance.to_dict() # create an instance of EzsignfolderImportEzsigntemplatepackageV1Response from a dict -ezsignfolder_import_ezsigntemplatepackage_v1_response_form_dict = ezsignfolder_import_ezsigntemplatepackage_v1_response.from_dict(ezsignfolder_import_ezsigntemplatepackage_v1_response_dict) +ezsignfolder_import_ezsigntemplatepackage_v1_response_from_dict = EzsignfolderImportEzsigntemplatepackageV1Response.from_dict(ezsignfolder_import_ezsigntemplatepackage_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload.md b/docs/EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload.md index f8dcf1256..0a2864204 100644 --- a/docs/EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload.md +++ b/docs/EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload_dict = ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload from a dict -ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload_form_dict = ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.from_dict(ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload_dict) +ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload_from_dict = EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload.from_dict(ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderListElement.md b/docs/EzsignfolderListElement.md index 94a37d8e4..adb7ec9e0 100644 --- a/docs/EzsignfolderListElement.md +++ b/docs/EzsignfolderListElement.md @@ -23,7 +23,10 @@ Name | Type | Description | Notes **i_ezsignformfieldgroup** | **int** | The total number of Ezsignformfieldgroup in all Ezsigndocuments in the folder | **i_ezsignformfieldgroup_completed** | **int** | The total number of completed Ezsignformfieldgroup in all Ezsigndocuments in the folder | **b_ezsignform_hasdependencies** | **bool** | Whether the Ezsignform/Ezsignsignatures has dependencies or not | [optional] -**d_ezsignfolder_completedpercentage** | **str** | Whether the Ezsignform/Ezsignsignatures has dependencies or not | +**d_ezsignfolder_completedpercentage** | **str** | Percentage of Ezsignform/Ezsignsignatures has completed | +**d_ezsignfolder_formcompletedpercentage** | **str** | Percentage of Ezsignform has completed | +**d_ezsignfolder_signaturecompletedpercentage** | **str** | Percentage of Ezsignsignatures has signed | +**b_ezsignfolder_signer** | **bool** | Whether the Ezsignfolder has an Ezsignsignatures that need to be signed or an Ezsignformfieldgroups that need to be filled by the current user | [optional] ## Example @@ -40,7 +43,7 @@ print(EzsignfolderListElement.to_json()) # convert the object into a dict ezsignfolder_list_element_dict = ezsignfolder_list_element_instance.to_dict() # create an instance of EzsignfolderListElement from a dict -ezsignfolder_list_element_form_dict = ezsignfolder_list_element.from_dict(ezsignfolder_list_element_dict) +ezsignfolder_list_element_from_dict = EzsignfolderListElement.from_dict(ezsignfolder_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderReorderV1Request.md b/docs/EzsignfolderReorderV1Request.md index 72883b95e..e92925176 100644 --- a/docs/EzsignfolderReorderV1Request.md +++ b/docs/EzsignfolderReorderV1Request.md @@ -23,7 +23,7 @@ print(EzsignfolderReorderV1Request.to_json()) # convert the object into a dict ezsignfolder_reorder_v1_request_dict = ezsignfolder_reorder_v1_request_instance.to_dict() # create an instance of EzsignfolderReorderV1Request from a dict -ezsignfolder_reorder_v1_request_form_dict = ezsignfolder_reorder_v1_request.from_dict(ezsignfolder_reorder_v1_request_dict) +ezsignfolder_reorder_v1_request_from_dict = EzsignfolderReorderV1Request.from_dict(ezsignfolder_reorder_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderReorderV1Response.md b/docs/EzsignfolderReorderV1Response.md index 559db076c..d3232c3fe 100644 --- a/docs/EzsignfolderReorderV1Response.md +++ b/docs/EzsignfolderReorderV1Response.md @@ -24,7 +24,7 @@ print(EzsignfolderReorderV1Response.to_json()) # convert the object into a dict ezsignfolder_reorder_v1_response_dict = ezsignfolder_reorder_v1_response_instance.to_dict() # create an instance of EzsignfolderReorderV1Response from a dict -ezsignfolder_reorder_v1_response_form_dict = ezsignfolder_reorder_v1_response.from_dict(ezsignfolder_reorder_v1_response_dict) +ezsignfolder_reorder_v1_response_from_dict = EzsignfolderReorderV1Response.from_dict(ezsignfolder_reorder_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderReorderV2Request.md b/docs/EzsignfolderReorderV2Request.md new file mode 100644 index 000000000..56b2008e3 --- /dev/null +++ b/docs/EzsignfolderReorderV2Request.md @@ -0,0 +1,31 @@ +# EzsignfolderReorderV2Request + +Request for POST /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**e_ezsignfolder_documentdependency** | [**FieldEEzsignfolderDocumentdependency**](FieldEEzsignfolderDocumentdependency.md) | | [optional] +**a_obj_ezsigndocument** | [**List[CustomEzsigndocumentRequest]**](CustomEzsigndocumentRequest.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_reorder_v2_request import EzsignfolderReorderV2Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderReorderV2Request from a JSON string +ezsignfolder_reorder_v2_request_instance = EzsignfolderReorderV2Request.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderReorderV2Request.to_json()) + +# convert the object into a dict +ezsignfolder_reorder_v2_request_dict = ezsignfolder_reorder_v2_request_instance.to_dict() +# create an instance of EzsignfolderReorderV2Request from a dict +ezsignfolder_reorder_v2_request_from_dict = EzsignfolderReorderV2Request.from_dict(ezsignfolder_reorder_v2_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderReorderV2Response.md b/docs/EzsignfolderReorderV2Response.md new file mode 100644 index 000000000..a4adf67d0 --- /dev/null +++ b/docs/EzsignfolderReorderV2Response.md @@ -0,0 +1,31 @@ +# EzsignfolderReorderV2Response + +Response for POST /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfolder_reorder_v2_response import EzsignfolderReorderV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderReorderV2Response from a JSON string +ezsignfolder_reorder_v2_response_instance = EzsignfolderReorderV2Response.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderReorderV2Response.to_json()) + +# convert the object into a dict +ezsignfolder_reorder_v2_response_dict = ezsignfolder_reorder_v2_response_instance.to_dict() +# create an instance of EzsignfolderReorderV2Response from a dict +ezsignfolder_reorder_v2_response_from_dict = EzsignfolderReorderV2Response.from_dict(ezsignfolder_reorder_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderRequest.md b/docs/EzsignfolderRequest.md index e8a9c002f..2c95233fa 100644 --- a/docs/EzsignfolderRequest.md +++ b/docs/EzsignfolderRequest.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | [optional] **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] **fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] **s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | **t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] @@ -29,7 +30,7 @@ print(EzsignfolderRequest.to_json()) # convert the object into a dict ezsignfolder_request_dict = ezsignfolder_request_instance.to_dict() # create an instance of EzsignfolderRequest from a dict -ezsignfolder_request_form_dict = ezsignfolder_request.from_dict(ezsignfolder_request_dict) +ezsignfolder_request_from_dict = EzsignfolderRequest.from_dict(ezsignfolder_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderRequestCompound.md b/docs/EzsignfolderRequestCompound.md index 071b89e16..4a9b3e25c 100644 --- a/docs/EzsignfolderRequestCompound.md +++ b/docs/EzsignfolderRequestCompound.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | [optional] **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] **fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] **s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | **t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] @@ -29,7 +30,7 @@ print(EzsignfolderRequestCompound.to_json()) # convert the object into a dict ezsignfolder_request_compound_dict = ezsignfolder_request_compound_instance.to_dict() # create an instance of EzsignfolderRequestCompound from a dict -ezsignfolder_request_compound_form_dict = ezsignfolder_request_compound.from_dict(ezsignfolder_request_compound_dict) +ezsignfolder_request_compound_from_dict = EzsignfolderRequestCompound.from_dict(ezsignfolder_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderRequestCompoundV3.md b/docs/EzsignfolderRequestCompoundV3.md new file mode 100644 index 000000000..ea0a8f988 --- /dev/null +++ b/docs/EzsignfolderRequestCompoundV3.md @@ -0,0 +1,40 @@ +# EzsignfolderRequestCompoundV3 + +An Ezsignfolder Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**e_ezsignfolder_documentdependency** | [**FieldEEzsignfolderDocumentdependency**](FieldEEzsignfolderDocumentdependency.md) | | [optional] +**s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | +**t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] +**t_ezsignfolder_message** | **str** | A custom text message that will be added to the email sent. | [optional] +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | +**s_ezsignfolder_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfolder_request_compound_v3 import EzsignfolderRequestCompoundV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderRequestCompoundV3 from a JSON string +ezsignfolder_request_compound_v3_instance = EzsignfolderRequestCompoundV3.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderRequestCompoundV3.to_json()) + +# convert the object into a dict +ezsignfolder_request_compound_v3_dict = ezsignfolder_request_compound_v3_instance.to_dict() +# create an instance of EzsignfolderRequestCompoundV3 from a dict +ezsignfolder_request_compound_v3_from_dict = EzsignfolderRequestCompoundV3.from_dict(ezsignfolder_request_compound_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderRequestV3.md b/docs/EzsignfolderRequestV3.md new file mode 100644 index 000000000..4bc8f2467 --- /dev/null +++ b/docs/EzsignfolderRequestV3.md @@ -0,0 +1,40 @@ +# EzsignfolderRequestV3 + +An Ezsignfolder Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**e_ezsignfolder_documentdependency** | [**FieldEEzsignfolderDocumentdependency**](FieldEEzsignfolderDocumentdependency.md) | | [optional] +**s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | +**t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] +**t_ezsignfolder_message** | **str** | A custom text message that will be added to the email sent. | [optional] +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | +**s_ezsignfolder_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfolder_request_v3 import EzsignfolderRequestV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderRequestV3 from a JSON string +ezsignfolder_request_v3_instance = EzsignfolderRequestV3.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderRequestV3.to_json()) + +# convert the object into a dict +ezsignfolder_request_v3_dict = ezsignfolder_request_v3_instance.to_dict() +# create an instance of EzsignfolderRequestV3 from a dict +ezsignfolder_request_v3_from_dict = EzsignfolderRequestV3.from_dict(ezsignfolder_request_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderResponse.md b/docs/EzsignfolderResponse.md index ef73cc9c0..49ecdc39f 100644 --- a/docs/EzsignfolderResponse.md +++ b/docs/EzsignfolderResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] **obj_ezsignfoldertype** | [**CustomEzsignfoldertypeResponse**](CustomEzsignfoldertypeResponse.md) | | [optional] +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] **e_ezsignfolder_completion** | [**FieldEEzsignfolderCompletion**](FieldEEzsignfolderCompletion.md) | | **s_ezsignfoldertype_name_x** | **str** | | [optional] **fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] @@ -19,6 +20,8 @@ Name | Type | Description | Notes **t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] **b_ezsignfolder_isdisposable** | **bool** | If the Ezsigndocument can be disposed | [optional] **e_ezsignfolder_sendreminderfrequency** | [**FieldEEzsignfolderSendreminderfrequency**](FieldEEzsignfolderSendreminderfrequency.md) | | [optional] +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] **dt_ezsignfolder_delayedsenddate** | **str** | The date and time at which the Ezsignfolder will be sent in the future. | [optional] **dt_ezsignfolder_duedate** | **str** | The maximum date and time at which the Ezsignfolder can be signed. | [optional] **dt_ezsignfolder_sentdate** | **str** | The date and time at which the Ezsignfolder was sent the last time. | [optional] @@ -45,7 +48,7 @@ print(EzsignfolderResponse.to_json()) # convert the object into a dict ezsignfolder_response_dict = ezsignfolder_response_instance.to_dict() # create an instance of EzsignfolderResponse from a dict -ezsignfolder_response_form_dict = ezsignfolder_response.from_dict(ezsignfolder_response_dict) +ezsignfolder_response_from_dict = EzsignfolderResponse.from_dict(ezsignfolder_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderResponseCompound.md b/docs/EzsignfolderResponseCompound.md index ace707f10..dafc07fc7 100644 --- a/docs/EzsignfolderResponseCompound.md +++ b/docs/EzsignfolderResponseCompound.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] **obj_ezsignfoldertype** | [**CustomEzsignfoldertypeResponse**](CustomEzsignfoldertypeResponse.md) | | [optional] +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] **e_ezsignfolder_completion** | [**FieldEEzsignfolderCompletion**](FieldEEzsignfolderCompletion.md) | | **s_ezsignfoldertype_name_x** | **str** | | [optional] **fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] @@ -19,6 +20,8 @@ Name | Type | Description | Notes **t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] **b_ezsignfolder_isdisposable** | **bool** | If the Ezsigndocument can be disposed | [optional] **e_ezsignfolder_sendreminderfrequency** | [**FieldEEzsignfolderSendreminderfrequency**](FieldEEzsignfolderSendreminderfrequency.md) | | [optional] +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] **dt_ezsignfolder_delayedsenddate** | **str** | The date and time at which the Ezsignfolder will be sent in the future. | [optional] **dt_ezsignfolder_duedate** | **str** | The maximum date and time at which the Ezsignfolder can be signed. | [optional] **dt_ezsignfolder_sentdate** | **str** | The date and time at which the Ezsignfolder was sent the last time. | [optional] @@ -29,6 +32,7 @@ Name | Type | Description | Notes **t_ezsignfolder_message** | **str** | A custom text message that will be added to the email sent. | [optional] **obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] **s_ezsignfolder_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] +**obj_timezone** | [**CustomTimezoneWithCodeResponse**](CustomTimezoneWithCodeResponse.md) | | [optional] ## Example @@ -45,7 +49,7 @@ print(EzsignfolderResponseCompound.to_json()) # convert the object into a dict ezsignfolder_response_compound_dict = ezsignfolder_response_compound_instance.to_dict() # create an instance of EzsignfolderResponseCompound from a dict -ezsignfolder_response_compound_form_dict = ezsignfolder_response_compound.from_dict(ezsignfolder_response_compound_dict) +ezsignfolder_response_compound_from_dict = EzsignfolderResponseCompound.from_dict(ezsignfolder_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderResponseCompoundV3.md b/docs/EzsignfolderResponseCompoundV3.md new file mode 100644 index 000000000..a7ab3a4fe --- /dev/null +++ b/docs/EzsignfolderResponseCompoundV3.md @@ -0,0 +1,57 @@ +# EzsignfolderResponseCompoundV3 + +An Ezsignfolder Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**obj_ezsignfoldertype** | [**CustomEzsignfoldertypeResponse**](CustomEzsignfoldertypeResponse.md) | | [optional] +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] +**e_ezsignfolder_completion** | [**FieldEEzsignfolderCompletion**](FieldEEzsignfolderCompletion.md) | | +**e_ezsignfolder_documentdependency** | [**FieldEEzsignfolderDocumentdependency**](FieldEEzsignfolderDocumentdependency.md) | | [optional] +**s_ezsignfoldertype_name_x** | **str** | | [optional] +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] +**s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | +**t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] +**b_ezsignfolder_isdisposable** | **bool** | If the Ezsigndocument can be disposed | [optional] +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**dt_ezsignfolder_delayedsenddate** | **str** | The date and time at which the Ezsignfolder will be sent in the future. | [optional] +**dt_ezsignfolder_duedate** | **str** | The maximum date and time at which the Ezsignfolder can be signed. | [optional] +**dt_ezsignfolder_sentdate** | **str** | The date and time at which the Ezsignfolder was sent the last time. | [optional] +**dt_ezsignfolder_scheduledarchive** | **str** | The scheduled date and time at which the Ezsignfolder should be archived. | [optional] +**dt_ezsignfolder_scheduleddispose** | **str** | The scheduled date at which the Ezsignfolder should be Disposed. | [optional] +**e_ezsignfolder_step** | [**FieldEEzsignfolderStep**](FieldEEzsignfolderStep.md) | | [optional] +**dt_ezsignfolder_close** | **str** | The date and time at which the Ezsignfolder was closed. Either by applying the last signature or by completing it prematurely. | [optional] +**t_ezsignfolder_message** | **str** | A custom text message that will be added to the email sent. | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] +**s_ezsignfolder_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] +**e_ezsignfolder_access** | [**ComputedEEzsignfolderAccess**](ComputedEEzsignfolderAccess.md) | | [optional] +**obj_timezone** | [**CustomTimezoneWithCodeResponse**](CustomTimezoneWithCodeResponse.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfolder_response_compound_v3 import EzsignfolderResponseCompoundV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderResponseCompoundV3 from a JSON string +ezsignfolder_response_compound_v3_instance = EzsignfolderResponseCompoundV3.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderResponseCompoundV3.to_json()) + +# convert the object into a dict +ezsignfolder_response_compound_v3_dict = ezsignfolder_response_compound_v3_instance.to_dict() +# create an instance of EzsignfolderResponseCompoundV3 from a dict +ezsignfolder_response_compound_v3_from_dict = EzsignfolderResponseCompoundV3.from_dict(ezsignfolder_response_compound_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderResponseV3.md b/docs/EzsignfolderResponseV3.md new file mode 100644 index 000000000..43fc6fb20 --- /dev/null +++ b/docs/EzsignfolderResponseV3.md @@ -0,0 +1,56 @@ +# EzsignfolderResponseV3 + +An Ezsignfolder Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**obj_ezsignfoldertype** | [**CustomEzsignfoldertypeResponse**](CustomEzsignfoldertypeResponse.md) | | [optional] +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] +**e_ezsignfolder_completion** | [**FieldEEzsignfolderCompletion**](FieldEEzsignfolderCompletion.md) | | +**e_ezsignfolder_documentdependency** | [**FieldEEzsignfolderDocumentdependency**](FieldEEzsignfolderDocumentdependency.md) | | [optional] +**s_ezsignfoldertype_name_x** | **str** | | [optional] +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] +**s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | +**t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] +**b_ezsignfolder_isdisposable** | **bool** | If the Ezsigndocument can be disposed | [optional] +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**dt_ezsignfolder_delayedsenddate** | **str** | The date and time at which the Ezsignfolder will be sent in the future. | [optional] +**dt_ezsignfolder_duedate** | **str** | The maximum date and time at which the Ezsignfolder can be signed. | [optional] +**dt_ezsignfolder_sentdate** | **str** | The date and time at which the Ezsignfolder was sent the last time. | [optional] +**dt_ezsignfolder_scheduledarchive** | **str** | The scheduled date and time at which the Ezsignfolder should be archived. | [optional] +**dt_ezsignfolder_scheduleddispose** | **str** | The scheduled date at which the Ezsignfolder should be Disposed. | [optional] +**e_ezsignfolder_step** | [**FieldEEzsignfolderStep**](FieldEEzsignfolderStep.md) | | [optional] +**dt_ezsignfolder_close** | **str** | The date and time at which the Ezsignfolder was closed. Either by applying the last signature or by completing it prematurely. | [optional] +**t_ezsignfolder_message** | **str** | A custom text message that will be added to the email sent. | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] +**s_ezsignfolder_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] +**e_ezsignfolder_access** | [**ComputedEEzsignfolderAccess**](ComputedEEzsignfolderAccess.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfolder_response_v3 import EzsignfolderResponseV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderResponseV3 from a JSON string +ezsignfolder_response_v3_instance = EzsignfolderResponseV3.from_json(json) +# print the JSON string representation of the object +print(EzsignfolderResponseV3.to_json()) + +# convert the object into a dict +ezsignfolder_response_v3_dict = ezsignfolder_response_v3_instance.to_dict() +# create an instance of EzsignfolderResponseV3 from a dict +ezsignfolder_response_v3_from_dict = EzsignfolderResponseV3.from_dict(ezsignfolder_response_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfolderSendV1Request.md b/docs/EzsignfolderSendV1Request.md index 1302f97c1..4d5121c90 100644 --- a/docs/EzsignfolderSendV1Request.md +++ b/docs/EzsignfolderSendV1Request.md @@ -23,7 +23,7 @@ print(EzsignfolderSendV1Request.to_json()) # convert the object into a dict ezsignfolder_send_v1_request_dict = ezsignfolder_send_v1_request_instance.to_dict() # create an instance of EzsignfolderSendV1Request from a dict -ezsignfolder_send_v1_request_form_dict = ezsignfolder_send_v1_request.from_dict(ezsignfolder_send_v1_request_dict) +ezsignfolder_send_v1_request_from_dict = EzsignfolderSendV1Request.from_dict(ezsignfolder_send_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderSendV1Response.md b/docs/EzsignfolderSendV1Response.md index f99d347c0..b6dc8a351 100644 --- a/docs/EzsignfolderSendV1Response.md +++ b/docs/EzsignfolderSendV1Response.md @@ -24,7 +24,7 @@ print(EzsignfolderSendV1Response.to_json()) # convert the object into a dict ezsignfolder_send_v1_response_dict = ezsignfolder_send_v1_response_instance.to_dict() # create an instance of EzsignfolderSendV1Response from a dict -ezsignfolder_send_v1_response_form_dict = ezsignfolder_send_v1_response.from_dict(ezsignfolder_send_v1_response_dict) +ezsignfolder_send_v1_response_from_dict = EzsignfolderSendV1Response.from_dict(ezsignfolder_send_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderSendV3Request.md b/docs/EzsignfolderSendV3Request.md index c2911e3a6..4e9492242 100644 --- a/docs/EzsignfolderSendV3Request.md +++ b/docs/EzsignfolderSendV3Request.md @@ -7,6 +7,7 @@ Request for POST /3/object/ezsignfolder/{pkiEzsignfolderID}/send Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **t_ezsignfolder_message** | **str** | A custom text message that will be added to the email sent. | [optional] +**e_ezsignfolder_messageorder** | [**FieldEEzsignfolderMessageorder**](FieldEEzsignfolderMessageorder.md) | | [optional] [default to FieldEEzsignfolderMessageorder.GLOBALFIRST] **dt_ezsignfolder_delayedsenddate** | **str** | The date and time at which the Ezsignfolder will be sent in the future. | [optional] **a_fki_ezsignfoldersignerassociation_id** | **List[int]** | | @@ -25,7 +26,7 @@ print(EzsignfolderSendV3Request.to_json()) # convert the object into a dict ezsignfolder_send_v3_request_dict = ezsignfolder_send_v3_request_instance.to_dict() # create an instance of EzsignfolderSendV3Request from a dict -ezsignfolder_send_v3_request_form_dict = ezsignfolder_send_v3_request.from_dict(ezsignfolder_send_v3_request_dict) +ezsignfolder_send_v3_request_from_dict = EzsignfolderSendV3Request.from_dict(ezsignfolder_send_v3_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderSendV3Response.md b/docs/EzsignfolderSendV3Response.md index 9c72762fd..8b0010ae6 100644 --- a/docs/EzsignfolderSendV3Response.md +++ b/docs/EzsignfolderSendV3Response.md @@ -24,7 +24,7 @@ print(EzsignfolderSendV3Response.to_json()) # convert the object into a dict ezsignfolder_send_v3_response_dict = ezsignfolder_send_v3_response_instance.to_dict() # create an instance of EzsignfolderSendV3Response from a dict -ezsignfolder_send_v3_response_form_dict = ezsignfolder_send_v3_response.from_dict(ezsignfolder_send_v3_response_dict) +ezsignfolder_send_v3_response_from_dict = EzsignfolderSendV3Response.from_dict(ezsignfolder_send_v3_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfolderUnsendV1Response.md b/docs/EzsignfolderUnsendV1Response.md index 6c99aa59a..662d0a528 100644 --- a/docs/EzsignfolderUnsendV1Response.md +++ b/docs/EzsignfolderUnsendV1Response.md @@ -24,7 +24,7 @@ print(EzsignfolderUnsendV1Response.to_json()) # convert the object into a dict ezsignfolder_unsend_v1_response_dict = ezsignfolder_unsend_v1_response_instance.to_dict() # create an instance of EzsignfolderUnsendV1Response from a dict -ezsignfolder_unsend_v1_response_form_dict = ezsignfolder_unsend_v1_response.from_dict(ezsignfolder_unsend_v1_response_dict) +ezsignfolder_unsend_v1_response_from_dict = EzsignfolderUnsendV1Response.from_dict(ezsignfolder_unsend_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Request.md b/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Request.md index 98e303ca9..a42abfbc6 100644 --- a/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Request.md +++ b/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Request.md @@ -6,7 +6,7 @@ Request for POST /1/object/ezsignfoldersignerassociation/createEmbeddedUrl Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**s_return_url** | **str** | The return Url to redirect after the signing is completed | [optional] +**s_return_url** | **str** | The return Url to redirect after the signing is completed **Warning** Due to the potential for Ezsignsigners to cancel redirection, close their browser post-signing, or spoof the landing URL, it's advisable not to solely depend on the sReturnUrl for accurate status within your integration. Once the Ezsignsigner finishes, they are directed back to your application. Your application can retain transaction state details by either storing data in a cookie or incorporating query parameters in the sReturnUrl. For example: https://www.example.com/sReturnUrl?sSessionID=ABC123 The actual url that will be called will have an extra url parameter appended to give details about the process. The possible values are listed in the table below. For example: https://www.example.com/sReturnUrl?sSessionID=ABC123&eEzsignEvent=CompletedEzsignfolder |**Query parameters appended**| |---| |eEzsignEvent| |**eEzsignEvent**|**Description**| |---|---| |SessionTimeout|The session timed out| |SessionLogout|The Ezsignsigner signed out| |DeclinedTermOfUse|The Ezsignsigner refused the terms| |DeclinedSign|The Ezsignsigner refused to sign| |Reassigned|The Ezsignsigner reassigned his signatures to someone else| |CompletedStep|The Ezsignsigner completed his step. There is other signatures to complete the Ezsigndocument| |CompletedEzsignfolder|The Ezsignfolder is completed. Everyone signed their signatures| | [optional] **s_iframedomain** | **str** | Domain protection for the iFrame | [optional] **b_is_iframe** | **bool** | Whether the url would be in an iFrame or not | [optional] @@ -25,7 +25,7 @@ print(EzsignfoldersignerassociationCreateEmbeddedUrlV1Request.to_json()) # convert the object into a dict ezsignfoldersignerassociation_create_embedded_url_v1_request_dict = ezsignfoldersignerassociation_create_embedded_url_v1_request_instance.to_dict() # create an instance of EzsignfoldersignerassociationCreateEmbeddedUrlV1Request from a dict -ezsignfoldersignerassociation_create_embedded_url_v1_request_form_dict = ezsignfoldersignerassociation_create_embedded_url_v1_request.from_dict(ezsignfoldersignerassociation_create_embedded_url_v1_request_dict) +ezsignfoldersignerassociation_create_embedded_url_v1_request_from_dict = EzsignfoldersignerassociationCreateEmbeddedUrlV1Request.from_dict(ezsignfoldersignerassociation_create_embedded_url_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.md b/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.md index 2d5cf0b7e..efe08d597 100644 --- a/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.md +++ b/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.md @@ -25,7 +25,7 @@ print(EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.to_json()) # convert the object into a dict ezsignfoldersignerassociation_create_embedded_url_v1_response_dict = ezsignfoldersignerassociation_create_embedded_url_v1_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationCreateEmbeddedUrlV1Response from a dict -ezsignfoldersignerassociation_create_embedded_url_v1_response_form_dict = ezsignfoldersignerassociation_create_embedded_url_v1_response.from_dict(ezsignfoldersignerassociation_create_embedded_url_v1_response_dict) +ezsignfoldersignerassociation_create_embedded_url_v1_response_from_dict = EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.from_dict(ezsignfoldersignerassociation_create_embedded_url_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload.md b/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload.md index c7feff1b6..04da10712 100644 --- a/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload.md +++ b/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload.to_json() # convert the object into a dict ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload_dict = ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload from a dict -ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload_form_dict = ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload.from_dict(ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload_dict) +ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload_from_dict = EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload.from_dict(ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationCreateObjectV1Request.md b/docs/EzsignfoldersignerassociationCreateObjectV1Request.md index 15938cef1..cfaa8a558 100644 --- a/docs/EzsignfoldersignerassociationCreateObjectV1Request.md +++ b/docs/EzsignfoldersignerassociationCreateObjectV1Request.md @@ -24,7 +24,7 @@ print(EzsignfoldersignerassociationCreateObjectV1Request.to_json()) # convert the object into a dict ezsignfoldersignerassociation_create_object_v1_request_dict = ezsignfoldersignerassociation_create_object_v1_request_instance.to_dict() # create an instance of EzsignfoldersignerassociationCreateObjectV1Request from a dict -ezsignfoldersignerassociation_create_object_v1_request_form_dict = ezsignfoldersignerassociation_create_object_v1_request.from_dict(ezsignfoldersignerassociation_create_object_v1_request_dict) +ezsignfoldersignerassociation_create_object_v1_request_from_dict = EzsignfoldersignerassociationCreateObjectV1Request.from_dict(ezsignfoldersignerassociation_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationCreateObjectV1Response.md b/docs/EzsignfoldersignerassociationCreateObjectV1Response.md index e94612bfa..84ac48d94 100644 --- a/docs/EzsignfoldersignerassociationCreateObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignfoldersignerassociationCreateObjectV1Response.to_json()) # convert the object into a dict ezsignfoldersignerassociation_create_object_v1_response_dict = ezsignfoldersignerassociation_create_object_v1_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationCreateObjectV1Response from a dict -ezsignfoldersignerassociation_create_object_v1_response_form_dict = ezsignfoldersignerassociation_create_object_v1_response.from_dict(ezsignfoldersignerassociation_create_object_v1_response_dict) +ezsignfoldersignerassociation_create_object_v1_response_from_dict = EzsignfoldersignerassociationCreateObjectV1Response.from_dict(ezsignfoldersignerassociation_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationCreateObjectV1ResponseMPayload.md b/docs/EzsignfoldersignerassociationCreateObjectV1ResponseMPayload.md index 76d98bab9..502bace07 100644 --- a/docs/EzsignfoldersignerassociationCreateObjectV1ResponseMPayload.md +++ b/docs/EzsignfoldersignerassociationCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfoldersignerassociationCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfoldersignerassociation_create_object_v1_response_m_payload_dict = ezsignfoldersignerassociation_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfoldersignerassociationCreateObjectV1ResponseMPayload from a dict -ezsignfoldersignerassociation_create_object_v1_response_m_payload_form_dict = ezsignfoldersignerassociation_create_object_v1_response_m_payload.from_dict(ezsignfoldersignerassociation_create_object_v1_response_m_payload_dict) +ezsignfoldersignerassociation_create_object_v1_response_m_payload_from_dict = EzsignfoldersignerassociationCreateObjectV1ResponseMPayload.from_dict(ezsignfoldersignerassociation_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationCreateObjectV2Request.md b/docs/EzsignfoldersignerassociationCreateObjectV2Request.md index 3baba9d90..188ae3647 100644 --- a/docs/EzsignfoldersignerassociationCreateObjectV2Request.md +++ b/docs/EzsignfoldersignerassociationCreateObjectV2Request.md @@ -23,7 +23,7 @@ print(EzsignfoldersignerassociationCreateObjectV2Request.to_json()) # convert the object into a dict ezsignfoldersignerassociation_create_object_v2_request_dict = ezsignfoldersignerassociation_create_object_v2_request_instance.to_dict() # create an instance of EzsignfoldersignerassociationCreateObjectV2Request from a dict -ezsignfoldersignerassociation_create_object_v2_request_form_dict = ezsignfoldersignerassociation_create_object_v2_request.from_dict(ezsignfoldersignerassociation_create_object_v2_request_dict) +ezsignfoldersignerassociation_create_object_v2_request_from_dict = EzsignfoldersignerassociationCreateObjectV2Request.from_dict(ezsignfoldersignerassociation_create_object_v2_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationCreateObjectV2Response.md b/docs/EzsignfoldersignerassociationCreateObjectV2Response.md index 0776c1524..a3cc2aa21 100644 --- a/docs/EzsignfoldersignerassociationCreateObjectV2Response.md +++ b/docs/EzsignfoldersignerassociationCreateObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignfoldersignerassociationCreateObjectV2Response.to_json()) # convert the object into a dict ezsignfoldersignerassociation_create_object_v2_response_dict = ezsignfoldersignerassociation_create_object_v2_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationCreateObjectV2Response from a dict -ezsignfoldersignerassociation_create_object_v2_response_form_dict = ezsignfoldersignerassociation_create_object_v2_response.from_dict(ezsignfoldersignerassociation_create_object_v2_response_dict) +ezsignfoldersignerassociation_create_object_v2_response_from_dict = EzsignfoldersignerassociationCreateObjectV2Response.from_dict(ezsignfoldersignerassociation_create_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationCreateObjectV2ResponseMPayload.md b/docs/EzsignfoldersignerassociationCreateObjectV2ResponseMPayload.md index 43383554d..8c66288eb 100644 --- a/docs/EzsignfoldersignerassociationCreateObjectV2ResponseMPayload.md +++ b/docs/EzsignfoldersignerassociationCreateObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfoldersignerassociationCreateObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignfoldersignerassociation_create_object_v2_response_m_payload_dict = ezsignfoldersignerassociation_create_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignfoldersignerassociationCreateObjectV2ResponseMPayload from a dict -ezsignfoldersignerassociation_create_object_v2_response_m_payload_form_dict = ezsignfoldersignerassociation_create_object_v2_response_m_payload.from_dict(ezsignfoldersignerassociation_create_object_v2_response_m_payload_dict) +ezsignfoldersignerassociation_create_object_v2_response_m_payload_from_dict = EzsignfoldersignerassociationCreateObjectV2ResponseMPayload.from_dict(ezsignfoldersignerassociation_create_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationDeleteObjectV1Response.md b/docs/EzsignfoldersignerassociationDeleteObjectV1Response.md index 7aea36233..c9c0cbb48 100644 --- a/docs/EzsignfoldersignerassociationDeleteObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignfoldersignerassociationDeleteObjectV1Response.to_json()) # convert the object into a dict ezsignfoldersignerassociation_delete_object_v1_response_dict = ezsignfoldersignerassociation_delete_object_v1_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationDeleteObjectV1Response from a dict -ezsignfoldersignerassociation_delete_object_v1_response_form_dict = ezsignfoldersignerassociation_delete_object_v1_response.from_dict(ezsignfoldersignerassociation_delete_object_v1_response_dict) +ezsignfoldersignerassociation_delete_object_v1_response_from_dict = EzsignfoldersignerassociationDeleteObjectV1Response.from_dict(ezsignfoldersignerassociation_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationEditObjectV1Request.md b/docs/EzsignfoldersignerassociationEditObjectV1Request.md index d61f11483..aeacb4399 100644 --- a/docs/EzsignfoldersignerassociationEditObjectV1Request.md +++ b/docs/EzsignfoldersignerassociationEditObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignfoldersignerassociationEditObjectV1Request.to_json()) # convert the object into a dict ezsignfoldersignerassociation_edit_object_v1_request_dict = ezsignfoldersignerassociation_edit_object_v1_request_instance.to_dict() # create an instance of EzsignfoldersignerassociationEditObjectV1Request from a dict -ezsignfoldersignerassociation_edit_object_v1_request_form_dict = ezsignfoldersignerassociation_edit_object_v1_request.from_dict(ezsignfoldersignerassociation_edit_object_v1_request_dict) +ezsignfoldersignerassociation_edit_object_v1_request_from_dict = EzsignfoldersignerassociationEditObjectV1Request.from_dict(ezsignfoldersignerassociation_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationEditObjectV1Response.md b/docs/EzsignfoldersignerassociationEditObjectV1Response.md index 552b3b98a..15cc7aa2c 100644 --- a/docs/EzsignfoldersignerassociationEditObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationEditObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignfoldersignerassociationEditObjectV1Response.to_json()) # convert the object into a dict ezsignfoldersignerassociation_edit_object_v1_response_dict = ezsignfoldersignerassociation_edit_object_v1_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationEditObjectV1Response from a dict -ezsignfoldersignerassociation_edit_object_v1_response_form_dict = ezsignfoldersignerassociation_edit_object_v1_response.from_dict(ezsignfoldersignerassociation_edit_object_v1_response_dict) +ezsignfoldersignerassociation_edit_object_v1_response_from_dict = EzsignfoldersignerassociationEditObjectV1Response.from_dict(ezsignfoldersignerassociation_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationForceDisconnectV1Response.md b/docs/EzsignfoldersignerassociationForceDisconnectV1Response.md index 11013c304..2eea7e2b1 100644 --- a/docs/EzsignfoldersignerassociationForceDisconnectV1Response.md +++ b/docs/EzsignfoldersignerassociationForceDisconnectV1Response.md @@ -24,7 +24,7 @@ print(EzsignfoldersignerassociationForceDisconnectV1Response.to_json()) # convert the object into a dict ezsignfoldersignerassociation_force_disconnect_v1_response_dict = ezsignfoldersignerassociation_force_disconnect_v1_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationForceDisconnectV1Response from a dict -ezsignfoldersignerassociation_force_disconnect_v1_response_form_dict = ezsignfoldersignerassociation_force_disconnect_v1_response.from_dict(ezsignfoldersignerassociation_force_disconnect_v1_response_dict) +ezsignfoldersignerassociation_force_disconnect_v1_response_from_dict = EzsignfoldersignerassociationForceDisconnectV1Response.from_dict(ezsignfoldersignerassociation_force_disconnect_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.md b/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.md index 5504b1211..ee5d02597 100644 --- a/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.md +++ b/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.md @@ -25,7 +25,7 @@ print(EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.to_json()) # convert the object into a dict ezsignfoldersignerassociation_get_in_person_login_url_v1_response_dict = ezsignfoldersignerassociation_get_in_person_login_url_v1_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationGetInPersonLoginUrlV1Response from a dict -ezsignfoldersignerassociation_get_in_person_login_url_v1_response_form_dict = ezsignfoldersignerassociation_get_in_person_login_url_v1_response.from_dict(ezsignfoldersignerassociation_get_in_person_login_url_v1_response_dict) +ezsignfoldersignerassociation_get_in_person_login_url_v1_response_from_dict = EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.from_dict(ezsignfoldersignerassociation_get_in_person_login_url_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload.md b/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload.md index c0f0f3fb0..07131a7d4 100644 --- a/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload.md +++ b/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload.to_json # convert the object into a dict ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload_dict = ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload from a dict -ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload_form_dict = ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload.from_dict(ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload_dict) +ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload_from_dict = EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload.from_dict(ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationGetObjectV1Response.md b/docs/EzsignfoldersignerassociationGetObjectV1Response.md index 498a45f8b..e823fb467 100644 --- a/docs/EzsignfoldersignerassociationGetObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationGetObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignfoldersignerassociationGetObjectV1Response.to_json()) # convert the object into a dict ezsignfoldersignerassociation_get_object_v1_response_dict = ezsignfoldersignerassociation_get_object_v1_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationGetObjectV1Response from a dict -ezsignfoldersignerassociation_get_object_v1_response_form_dict = ezsignfoldersignerassociation_get_object_v1_response.from_dict(ezsignfoldersignerassociation_get_object_v1_response_dict) +ezsignfoldersignerassociation_get_object_v1_response_from_dict = EzsignfoldersignerassociationGetObjectV1Response.from_dict(ezsignfoldersignerassociation_get_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md b/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md index 3f87ee6a4..722aac2b5 100644 --- a/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md +++ b/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md @@ -31,7 +31,7 @@ print(EzsignfoldersignerassociationGetObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfoldersignerassociation_get_object_v1_response_m_payload_dict = ezsignfoldersignerassociation_get_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfoldersignerassociationGetObjectV1ResponseMPayload from a dict -ezsignfoldersignerassociation_get_object_v1_response_m_payload_form_dict = ezsignfoldersignerassociation_get_object_v1_response_m_payload.from_dict(ezsignfoldersignerassociation_get_object_v1_response_m_payload_dict) +ezsignfoldersignerassociation_get_object_v1_response_m_payload_from_dict = EzsignfoldersignerassociationGetObjectV1ResponseMPayload.from_dict(ezsignfoldersignerassociation_get_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationGetObjectV2Response.md b/docs/EzsignfoldersignerassociationGetObjectV2Response.md index 1f698c890..bfa7437dd 100644 --- a/docs/EzsignfoldersignerassociationGetObjectV2Response.md +++ b/docs/EzsignfoldersignerassociationGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignfoldersignerassociationGetObjectV2Response.to_json()) # convert the object into a dict ezsignfoldersignerassociation_get_object_v2_response_dict = ezsignfoldersignerassociation_get_object_v2_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationGetObjectV2Response from a dict -ezsignfoldersignerassociation_get_object_v2_response_form_dict = ezsignfoldersignerassociation_get_object_v2_response.from_dict(ezsignfoldersignerassociation_get_object_v2_response_dict) +ezsignfoldersignerassociation_get_object_v2_response_from_dict = EzsignfoldersignerassociationGetObjectV2Response.from_dict(ezsignfoldersignerassociation_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationGetObjectV2ResponseMPayload.md b/docs/EzsignfoldersignerassociationGetObjectV2ResponseMPayload.md index 25f062f54..56227fe8a 100644 --- a/docs/EzsignfoldersignerassociationGetObjectV2ResponseMPayload.md +++ b/docs/EzsignfoldersignerassociationGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfoldersignerassociationGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignfoldersignerassociation_get_object_v2_response_m_payload_dict = ezsignfoldersignerassociation_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignfoldersignerassociationGetObjectV2ResponseMPayload from a dict -ezsignfoldersignerassociation_get_object_v2_response_m_payload_form_dict = ezsignfoldersignerassociation_get_object_v2_response_m_payload.from_dict(ezsignfoldersignerassociation_get_object_v2_response_m_payload_dict) +ezsignfoldersignerassociation_get_object_v2_response_m_payload_from_dict = EzsignfoldersignerassociationGetObjectV2ResponseMPayload.from_dict(ezsignfoldersignerassociation_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationPatchObjectV1Request.md b/docs/EzsignfoldersignerassociationPatchObjectV1Request.md index 5b11ece3a..a6d2b4851 100644 --- a/docs/EzsignfoldersignerassociationPatchObjectV1Request.md +++ b/docs/EzsignfoldersignerassociationPatchObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignfoldersignerassociationPatchObjectV1Request.to_json()) # convert the object into a dict ezsignfoldersignerassociation_patch_object_v1_request_dict = ezsignfoldersignerassociation_patch_object_v1_request_instance.to_dict() # create an instance of EzsignfoldersignerassociationPatchObjectV1Request from a dict -ezsignfoldersignerassociation_patch_object_v1_request_form_dict = ezsignfoldersignerassociation_patch_object_v1_request.from_dict(ezsignfoldersignerassociation_patch_object_v1_request_dict) +ezsignfoldersignerassociation_patch_object_v1_request_from_dict = EzsignfoldersignerassociationPatchObjectV1Request.from_dict(ezsignfoldersignerassociation_patch_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationPatchObjectV1Response.md b/docs/EzsignfoldersignerassociationPatchObjectV1Response.md index b7cd1a8ef..5f538c996 100644 --- a/docs/EzsignfoldersignerassociationPatchObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationPatchObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignfoldersignerassociationPatchObjectV1Response.to_json()) # convert the object into a dict ezsignfoldersignerassociation_patch_object_v1_response_dict = ezsignfoldersignerassociation_patch_object_v1_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationPatchObjectV1Response from a dict -ezsignfoldersignerassociation_patch_object_v1_response_form_dict = ezsignfoldersignerassociation_patch_object_v1_response.from_dict(ezsignfoldersignerassociation_patch_object_v1_response_dict) +ezsignfoldersignerassociation_patch_object_v1_response_from_dict = EzsignfoldersignerassociationPatchObjectV1Response.from_dict(ezsignfoldersignerassociation_patch_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationReassignV1Request.md b/docs/EzsignfoldersignerassociationReassignV1Request.md new file mode 100644 index 000000000..7aef5e2c8 --- /dev/null +++ b/docs/EzsignfoldersignerassociationReassignV1Request.md @@ -0,0 +1,30 @@ +# EzsignfoldersignerassociationReassignV1Request + +Request for POST /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}/reassign + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_request import EzsignfoldersignerassociationReassignV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldersignerassociationReassignV1Request from a JSON string +ezsignfoldersignerassociation_reassign_v1_request_instance = EzsignfoldersignerassociationReassignV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldersignerassociationReassignV1Request.to_json()) + +# convert the object into a dict +ezsignfoldersignerassociation_reassign_v1_request_dict = ezsignfoldersignerassociation_reassign_v1_request_instance.to_dict() +# create an instance of EzsignfoldersignerassociationReassignV1Request from a dict +ezsignfoldersignerassociation_reassign_v1_request_from_dict = EzsignfoldersignerassociationReassignV1Request.from_dict(ezsignfoldersignerassociation_reassign_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldersignerassociationReassignV1Response.md b/docs/EzsignfoldersignerassociationReassignV1Response.md new file mode 100644 index 000000000..3a2a1cf58 --- /dev/null +++ b/docs/EzsignfoldersignerassociationReassignV1Response.md @@ -0,0 +1,31 @@ +# EzsignfoldersignerassociationReassignV1Response + +Response for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}/reassign + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_response import EzsignfoldersignerassociationReassignV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldersignerassociationReassignV1Response from a JSON string +ezsignfoldersignerassociation_reassign_v1_response_instance = EzsignfoldersignerassociationReassignV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldersignerassociationReassignV1Response.to_json()) + +# convert the object into a dict +ezsignfoldersignerassociation_reassign_v1_response_dict = ezsignfoldersignerassociation_reassign_v1_response_instance.to_dict() +# create an instance of EzsignfoldersignerassociationReassignV1Response from a dict +ezsignfoldersignerassociation_reassign_v1_response_from_dict = EzsignfoldersignerassociationReassignV1Response.from_dict(ezsignfoldersignerassociation_reassign_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldersignerassociationRequest.md b/docs/EzsignfoldersignerassociationRequest.md index 0c45964dd..1071a3e77 100644 --- a/docs/EzsignfoldersignerassociationRequest.md +++ b/docs/EzsignfoldersignerassociationRequest.md @@ -28,7 +28,7 @@ print(EzsignfoldersignerassociationRequest.to_json()) # convert the object into a dict ezsignfoldersignerassociation_request_dict = ezsignfoldersignerassociation_request_instance.to_dict() # create an instance of EzsignfoldersignerassociationRequest from a dict -ezsignfoldersignerassociation_request_form_dict = ezsignfoldersignerassociation_request.from_dict(ezsignfoldersignerassociation_request_dict) +ezsignfoldersignerassociation_request_from_dict = EzsignfoldersignerassociationRequest.from_dict(ezsignfoldersignerassociation_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationRequestCompound.md b/docs/EzsignfoldersignerassociationRequestCompound.md index fae5ff1b9..7bab3a903 100644 --- a/docs/EzsignfoldersignerassociationRequestCompound.md +++ b/docs/EzsignfoldersignerassociationRequestCompound.md @@ -29,7 +29,7 @@ print(EzsignfoldersignerassociationRequestCompound.to_json()) # convert the object into a dict ezsignfoldersignerassociation_request_compound_dict = ezsignfoldersignerassociation_request_compound_instance.to_dict() # create an instance of EzsignfoldersignerassociationRequestCompound from a dict -ezsignfoldersignerassociation_request_compound_form_dict = ezsignfoldersignerassociation_request_compound.from_dict(ezsignfoldersignerassociation_request_compound_dict) +ezsignfoldersignerassociation_request_compound_from_dict = EzsignfoldersignerassociationRequestCompound.from_dict(ezsignfoldersignerassociation_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationRequestPatch.md b/docs/EzsignfoldersignerassociationRequestPatch.md index 7f66cd31b..b34f61d49 100644 --- a/docs/EzsignfoldersignerassociationRequestPatch.md +++ b/docs/EzsignfoldersignerassociationRequestPatch.md @@ -23,7 +23,7 @@ print(EzsignfoldersignerassociationRequestPatch.to_json()) # convert the object into a dict ezsignfoldersignerassociation_request_patch_dict = ezsignfoldersignerassociation_request_patch_instance.to_dict() # create an instance of EzsignfoldersignerassociationRequestPatch from a dict -ezsignfoldersignerassociation_request_patch_form_dict = ezsignfoldersignerassociation_request_patch.from_dict(ezsignfoldersignerassociation_request_patch_dict) +ezsignfoldersignerassociation_request_patch_from_dict = EzsignfoldersignerassociationRequestPatch.from_dict(ezsignfoldersignerassociation_request_patch_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationResponse.md b/docs/EzsignfoldersignerassociationResponse.md index ba09d927d..270093827 100644 --- a/docs/EzsignfoldersignerassociationResponse.md +++ b/docs/EzsignfoldersignerassociationResponse.md @@ -28,7 +28,7 @@ print(EzsignfoldersignerassociationResponse.to_json()) # convert the object into a dict ezsignfoldersignerassociation_response_dict = ezsignfoldersignerassociation_response_instance.to_dict() # create an instance of EzsignfoldersignerassociationResponse from a dict -ezsignfoldersignerassociation_response_form_dict = ezsignfoldersignerassociation_response.from_dict(ezsignfoldersignerassociation_response_dict) +ezsignfoldersignerassociation_response_from_dict = EzsignfoldersignerassociationResponse.from_dict(ezsignfoldersignerassociation_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationResponseCompound.md b/docs/EzsignfoldersignerassociationResponseCompound.md index 72e496f9a..ad5961242 100644 --- a/docs/EzsignfoldersignerassociationResponseCompound.md +++ b/docs/EzsignfoldersignerassociationResponseCompound.md @@ -31,7 +31,7 @@ print(EzsignfoldersignerassociationResponseCompound.to_json()) # convert the object into a dict ezsignfoldersignerassociation_response_compound_dict = ezsignfoldersignerassociation_response_compound_instance.to_dict() # create an instance of EzsignfoldersignerassociationResponseCompound from a dict -ezsignfoldersignerassociation_response_compound_form_dict = ezsignfoldersignerassociation_response_compound.from_dict(ezsignfoldersignerassociation_response_compound_dict) +ezsignfoldersignerassociation_response_compound_from_dict = EzsignfoldersignerassociationResponseCompound.from_dict(ezsignfoldersignerassociation_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldersignerassociationResponseCompoundUser.md b/docs/EzsignfoldersignerassociationResponseCompoundUser.md index 483d75ad1..6308bb1ac 100644 --- a/docs/EzsignfoldersignerassociationResponseCompoundUser.md +++ b/docs/EzsignfoldersignerassociationResponseCompoundUser.md @@ -27,7 +27,7 @@ print(EzsignfoldersignerassociationResponseCompoundUser.to_json()) # convert the object into a dict ezsignfoldersignerassociation_response_compound_user_dict = ezsignfoldersignerassociation_response_compound_user_instance.to_dict() # create an instance of EzsignfoldersignerassociationResponseCompoundUser from a dict -ezsignfoldersignerassociation_response_compound_user_form_dict = ezsignfoldersignerassociation_response_compound_user.from_dict(ezsignfoldersignerassociation_response_compound_user_dict) +ezsignfoldersignerassociation_response_compound_user_from_dict = EzsignfoldersignerassociationResponseCompoundUser.from_dict(ezsignfoldersignerassociation_response_compound_user_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeAutocompleteElementResponse.md b/docs/EzsignfoldertypeAutocompleteElementResponse.md index 98282043c..676a6e0af 100644 --- a/docs/EzsignfoldertypeAutocompleteElementResponse.md +++ b/docs/EzsignfoldertypeAutocompleteElementResponse.md @@ -26,7 +26,7 @@ print(EzsignfoldertypeAutocompleteElementResponse.to_json()) # convert the object into a dict ezsignfoldertype_autocomplete_element_response_dict = ezsignfoldertype_autocomplete_element_response_instance.to_dict() # create an instance of EzsignfoldertypeAutocompleteElementResponse from a dict -ezsignfoldertype_autocomplete_element_response_form_dict = ezsignfoldertype_autocomplete_element_response.from_dict(ezsignfoldertype_autocomplete_element_response_dict) +ezsignfoldertype_autocomplete_element_response_from_dict = EzsignfoldertypeAutocompleteElementResponse.from_dict(ezsignfoldertype_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeCreateObjectV2Request.md b/docs/EzsignfoldertypeCreateObjectV2Request.md deleted file mode 100644 index 8a4842cff..000000000 --- a/docs/EzsignfoldertypeCreateObjectV2Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsignfoldertypeCreateObjectV2Request - -Request for POST /2/object/ezsignfoldertype - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_obj_ezsignfoldertype** | [**List[EzsignfoldertypeRequestCompoundV2]**](EzsignfoldertypeRequestCompoundV2.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_create_object_v2_request import EzsignfoldertypeCreateObjectV2Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeCreateObjectV2Request from a JSON string -ezsignfoldertype_create_object_v2_request_instance = EzsignfoldertypeCreateObjectV2Request.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeCreateObjectV2Request.to_json()) - -# convert the object into a dict -ezsignfoldertype_create_object_v2_request_dict = ezsignfoldertype_create_object_v2_request_instance.to_dict() -# create an instance of EzsignfoldertypeCreateObjectV2Request from a dict -ezsignfoldertype_create_object_v2_request_form_dict = ezsignfoldertype_create_object_v2_request.from_dict(ezsignfoldertype_create_object_v2_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeCreateObjectV2Response.md b/docs/EzsignfoldertypeCreateObjectV2Response.md deleted file mode 100644 index 74e661df8..000000000 --- a/docs/EzsignfoldertypeCreateObjectV2Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsignfoldertypeCreateObjectV2Response - -Response for POST /2/object/ezsignfoldertype - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsignfoldertypeCreateObjectV2ResponseMPayload**](EzsignfoldertypeCreateObjectV2ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response import EzsignfoldertypeCreateObjectV2Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeCreateObjectV2Response from a JSON string -ezsignfoldertype_create_object_v2_response_instance = EzsignfoldertypeCreateObjectV2Response.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeCreateObjectV2Response.to_json()) - -# convert the object into a dict -ezsignfoldertype_create_object_v2_response_dict = ezsignfoldertype_create_object_v2_response_instance.to_dict() -# create an instance of EzsignfoldertypeCreateObjectV2Response from a dict -ezsignfoldertype_create_object_v2_response_form_dict = ezsignfoldertype_create_object_v2_response.from_dict(ezsignfoldertype_create_object_v2_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeCreateObjectV2ResponseMPayload.md b/docs/EzsignfoldertypeCreateObjectV2ResponseMPayload.md deleted file mode 100644 index d725484f3..000000000 --- a/docs/EzsignfoldertypeCreateObjectV2ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsignfoldertypeCreateObjectV2ResponseMPayload - -Payload for POST /2/object/ezsignfoldertype - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_pki_ezsignfoldertype_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response_m_payload import EzsignfoldertypeCreateObjectV2ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeCreateObjectV2ResponseMPayload from a JSON string -ezsignfoldertype_create_object_v2_response_m_payload_instance = EzsignfoldertypeCreateObjectV2ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeCreateObjectV2ResponseMPayload.to_json()) - -# convert the object into a dict -ezsignfoldertype_create_object_v2_response_m_payload_dict = ezsignfoldertype_create_object_v2_response_m_payload_instance.to_dict() -# create an instance of EzsignfoldertypeCreateObjectV2ResponseMPayload from a dict -ezsignfoldertype_create_object_v2_response_m_payload_form_dict = ezsignfoldertype_create_object_v2_response_m_payload.from_dict(ezsignfoldertype_create_object_v2_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeCreateObjectV3Request.md b/docs/EzsignfoldertypeCreateObjectV3Request.md new file mode 100644 index 000000000..0f490ccca --- /dev/null +++ b/docs/EzsignfoldertypeCreateObjectV3Request.md @@ -0,0 +1,30 @@ +# EzsignfoldertypeCreateObjectV3Request + +Request for POST /3/object/ezsignfoldertype + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsignfoldertype** | [**List[EzsignfoldertypeRequestCompoundV3]**](EzsignfoldertypeRequestCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_create_object_v3_request import EzsignfoldertypeCreateObjectV3Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeCreateObjectV3Request from a JSON string +ezsignfoldertype_create_object_v3_request_instance = EzsignfoldertypeCreateObjectV3Request.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeCreateObjectV3Request.to_json()) + +# convert the object into a dict +ezsignfoldertype_create_object_v3_request_dict = ezsignfoldertype_create_object_v3_request_instance.to_dict() +# create an instance of EzsignfoldertypeCreateObjectV3Request from a dict +ezsignfoldertype_create_object_v3_request_from_dict = EzsignfoldertypeCreateObjectV3Request.from_dict(ezsignfoldertype_create_object_v3_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldertypeCreateObjectV3Response.md b/docs/EzsignfoldertypeCreateObjectV3Response.md new file mode 100644 index 000000000..32fcd28a2 --- /dev/null +++ b/docs/EzsignfoldertypeCreateObjectV3Response.md @@ -0,0 +1,32 @@ +# EzsignfoldertypeCreateObjectV3Response + +Response for POST /3/object/ezsignfoldertype + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignfoldertypeCreateObjectV3ResponseMPayload**](EzsignfoldertypeCreateObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response import EzsignfoldertypeCreateObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeCreateObjectV3Response from a JSON string +ezsignfoldertype_create_object_v3_response_instance = EzsignfoldertypeCreateObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeCreateObjectV3Response.to_json()) + +# convert the object into a dict +ezsignfoldertype_create_object_v3_response_dict = ezsignfoldertype_create_object_v3_response_instance.to_dict() +# create an instance of EzsignfoldertypeCreateObjectV3Response from a dict +ezsignfoldertype_create_object_v3_response_from_dict = EzsignfoldertypeCreateObjectV3Response.from_dict(ezsignfoldertype_create_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldertypeCreateObjectV3ResponseMPayload.md b/docs/EzsignfoldertypeCreateObjectV3ResponseMPayload.md new file mode 100644 index 000000000..ba32f1be3 --- /dev/null +++ b/docs/EzsignfoldertypeCreateObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsignfoldertypeCreateObjectV3ResponseMPayload + +Payload for POST /3/object/ezsignfoldertype + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezsignfoldertype_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response_m_payload import EzsignfoldertypeCreateObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeCreateObjectV3ResponseMPayload from a JSON string +ezsignfoldertype_create_object_v3_response_m_payload_instance = EzsignfoldertypeCreateObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeCreateObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignfoldertype_create_object_v3_response_m_payload_dict = ezsignfoldertype_create_object_v3_response_m_payload_instance.to_dict() +# create an instance of EzsignfoldertypeCreateObjectV3ResponseMPayload from a dict +ezsignfoldertype_create_object_v3_response_m_payload_from_dict = EzsignfoldertypeCreateObjectV3ResponseMPayload.from_dict(ezsignfoldertype_create_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldertypeEditObjectV1Request.md b/docs/EzsignfoldertypeEditObjectV1Request.md deleted file mode 100644 index b7528c8cb..000000000 --- a/docs/EzsignfoldertypeEditObjectV1Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsignfoldertypeEditObjectV1Request - -Request for PUT /1/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsignfoldertype** | [**EzsignfoldertypeRequestCompound**](EzsignfoldertypeRequestCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_request import EzsignfoldertypeEditObjectV1Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeEditObjectV1Request from a JSON string -ezsignfoldertype_edit_object_v1_request_instance = EzsignfoldertypeEditObjectV1Request.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeEditObjectV1Request.to_json()) - -# convert the object into a dict -ezsignfoldertype_edit_object_v1_request_dict = ezsignfoldertype_edit_object_v1_request_instance.to_dict() -# create an instance of EzsignfoldertypeEditObjectV1Request from a dict -ezsignfoldertype_edit_object_v1_request_form_dict = ezsignfoldertype_edit_object_v1_request.from_dict(ezsignfoldertype_edit_object_v1_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeEditObjectV1Response.md b/docs/EzsignfoldertypeEditObjectV1Response.md deleted file mode 100644 index 31856deaf..000000000 --- a/docs/EzsignfoldertypeEditObjectV1Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# EzsignfoldertypeEditObjectV1Response - -Response for PUT /1/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_response import EzsignfoldertypeEditObjectV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeEditObjectV1Response from a JSON string -ezsignfoldertype_edit_object_v1_response_instance = EzsignfoldertypeEditObjectV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeEditObjectV1Response.to_json()) - -# convert the object into a dict -ezsignfoldertype_edit_object_v1_response_dict = ezsignfoldertype_edit_object_v1_response_instance.to_dict() -# create an instance of EzsignfoldertypeEditObjectV1Response from a dict -ezsignfoldertype_edit_object_v1_response_form_dict = ezsignfoldertype_edit_object_v1_response.from_dict(ezsignfoldertype_edit_object_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeEditObjectV2Request.md b/docs/EzsignfoldertypeEditObjectV2Request.md deleted file mode 100644 index 67f397137..000000000 --- a/docs/EzsignfoldertypeEditObjectV2Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsignfoldertypeEditObjectV2Request - -Request for PUT /2/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsignfoldertype** | [**EzsignfoldertypeRequestCompoundV2**](EzsignfoldertypeRequestCompoundV2.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_request import EzsignfoldertypeEditObjectV2Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeEditObjectV2Request from a JSON string -ezsignfoldertype_edit_object_v2_request_instance = EzsignfoldertypeEditObjectV2Request.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeEditObjectV2Request.to_json()) - -# convert the object into a dict -ezsignfoldertype_edit_object_v2_request_dict = ezsignfoldertype_edit_object_v2_request_instance.to_dict() -# create an instance of EzsignfoldertypeEditObjectV2Request from a dict -ezsignfoldertype_edit_object_v2_request_form_dict = ezsignfoldertype_edit_object_v2_request.from_dict(ezsignfoldertype_edit_object_v2_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeEditObjectV2Response.md b/docs/EzsignfoldertypeEditObjectV2Response.md deleted file mode 100644 index d858b134c..000000000 --- a/docs/EzsignfoldertypeEditObjectV2Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# EzsignfoldertypeEditObjectV2Response - -Response for PUT /2/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_response import EzsignfoldertypeEditObjectV2Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeEditObjectV2Response from a JSON string -ezsignfoldertype_edit_object_v2_response_instance = EzsignfoldertypeEditObjectV2Response.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeEditObjectV2Response.to_json()) - -# convert the object into a dict -ezsignfoldertype_edit_object_v2_response_dict = ezsignfoldertype_edit_object_v2_response_instance.to_dict() -# create an instance of EzsignfoldertypeEditObjectV2Response from a dict -ezsignfoldertype_edit_object_v2_response_form_dict = ezsignfoldertype_edit_object_v2_response.from_dict(ezsignfoldertype_edit_object_v2_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeEditObjectV3Request.md b/docs/EzsignfoldertypeEditObjectV3Request.md new file mode 100644 index 000000000..168447ad5 --- /dev/null +++ b/docs/EzsignfoldertypeEditObjectV3Request.md @@ -0,0 +1,30 @@ +# EzsignfoldertypeEditObjectV3Request + +Request for PUT /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignfoldertype** | [**EzsignfoldertypeRequestCompoundV3**](EzsignfoldertypeRequestCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_request import EzsignfoldertypeEditObjectV3Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeEditObjectV3Request from a JSON string +ezsignfoldertype_edit_object_v3_request_instance = EzsignfoldertypeEditObjectV3Request.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeEditObjectV3Request.to_json()) + +# convert the object into a dict +ezsignfoldertype_edit_object_v3_request_dict = ezsignfoldertype_edit_object_v3_request_instance.to_dict() +# create an instance of EzsignfoldertypeEditObjectV3Request from a dict +ezsignfoldertype_edit_object_v3_request_from_dict = EzsignfoldertypeEditObjectV3Request.from_dict(ezsignfoldertype_edit_object_v3_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldertypeEditObjectV3Response.md b/docs/EzsignfoldertypeEditObjectV3Response.md new file mode 100644 index 000000000..9496c9348 --- /dev/null +++ b/docs/EzsignfoldertypeEditObjectV3Response.md @@ -0,0 +1,31 @@ +# EzsignfoldertypeEditObjectV3Response + +Response for PUT /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_response import EzsignfoldertypeEditObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeEditObjectV3Response from a JSON string +ezsignfoldertype_edit_object_v3_response_instance = EzsignfoldertypeEditObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeEditObjectV3Response.to_json()) + +# convert the object into a dict +ezsignfoldertype_edit_object_v3_response_dict = ezsignfoldertype_edit_object_v3_response_instance.to_dict() +# create an instance of EzsignfoldertypeEditObjectV3Response from a dict +ezsignfoldertype_edit_object_v3_response_from_dict = EzsignfoldertypeEditObjectV3Response.from_dict(ezsignfoldertype_edit_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldertypeGetAutocompleteV2Response.md b/docs/EzsignfoldertypeGetAutocompleteV2Response.md index ce40f9f57..288d35357 100644 --- a/docs/EzsignfoldertypeGetAutocompleteV2Response.md +++ b/docs/EzsignfoldertypeGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(EzsignfoldertypeGetAutocompleteV2Response.to_json()) # convert the object into a dict ezsignfoldertype_get_autocomplete_v2_response_dict = ezsignfoldertype_get_autocomplete_v2_response_instance.to_dict() # create an instance of EzsignfoldertypeGetAutocompleteV2Response from a dict -ezsignfoldertype_get_autocomplete_v2_response_form_dict = ezsignfoldertype_get_autocomplete_v2_response.from_dict(ezsignfoldertype_get_autocomplete_v2_response_dict) +ezsignfoldertype_get_autocomplete_v2_response_from_dict = EzsignfoldertypeGetAutocompleteV2Response.from_dict(ezsignfoldertype_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeGetAutocompleteV2ResponseMPayload.md b/docs/EzsignfoldertypeGetAutocompleteV2ResponseMPayload.md index 57f0c0b3b..4b452db62 100644 --- a/docs/EzsignfoldertypeGetAutocompleteV2ResponseMPayload.md +++ b/docs/EzsignfoldertypeGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfoldertypeGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict ezsignfoldertype_get_autocomplete_v2_response_m_payload_dict = ezsignfoldertype_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of EzsignfoldertypeGetAutocompleteV2ResponseMPayload from a dict -ezsignfoldertype_get_autocomplete_v2_response_m_payload_form_dict = ezsignfoldertype_get_autocomplete_v2_response_m_payload.from_dict(ezsignfoldertype_get_autocomplete_v2_response_m_payload_dict) +ezsignfoldertype_get_autocomplete_v2_response_m_payload_from_dict = EzsignfoldertypeGetAutocompleteV2ResponseMPayload.from_dict(ezsignfoldertype_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeGetListV1Response.md b/docs/EzsignfoldertypeGetListV1Response.md index 038d1d226..9122a2cc8 100644 --- a/docs/EzsignfoldertypeGetListV1Response.md +++ b/docs/EzsignfoldertypeGetListV1Response.md @@ -25,7 +25,7 @@ print(EzsignfoldertypeGetListV1Response.to_json()) # convert the object into a dict ezsignfoldertype_get_list_v1_response_dict = ezsignfoldertype_get_list_v1_response_instance.to_dict() # create an instance of EzsignfoldertypeGetListV1Response from a dict -ezsignfoldertype_get_list_v1_response_form_dict = ezsignfoldertype_get_list_v1_response.from_dict(ezsignfoldertype_get_list_v1_response_dict) +ezsignfoldertype_get_list_v1_response_from_dict = EzsignfoldertypeGetListV1Response.from_dict(ezsignfoldertype_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeGetListV1ResponseMPayload.md b/docs/EzsignfoldertypeGetListV1ResponseMPayload.md index a4c64e6a6..d0029c9ff 100644 --- a/docs/EzsignfoldertypeGetListV1ResponseMPayload.md +++ b/docs/EzsignfoldertypeGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(EzsignfoldertypeGetListV1ResponseMPayload.to_json()) # convert the object into a dict ezsignfoldertype_get_list_v1_response_m_payload_dict = ezsignfoldertype_get_list_v1_response_m_payload_instance.to_dict() # create an instance of EzsignfoldertypeGetListV1ResponseMPayload from a dict -ezsignfoldertype_get_list_v1_response_m_payload_form_dict = ezsignfoldertype_get_list_v1_response_m_payload.from_dict(ezsignfoldertype_get_list_v1_response_m_payload_dict) +ezsignfoldertype_get_list_v1_response_m_payload_from_dict = EzsignfoldertypeGetListV1ResponseMPayload.from_dict(ezsignfoldertype_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeGetObjectV2Response.md b/docs/EzsignfoldertypeGetObjectV2Response.md index 86da7ebb4..ebe5b328a 100644 --- a/docs/EzsignfoldertypeGetObjectV2Response.md +++ b/docs/EzsignfoldertypeGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignfoldertypeGetObjectV2Response.to_json()) # convert the object into a dict ezsignfoldertype_get_object_v2_response_dict = ezsignfoldertype_get_object_v2_response_instance.to_dict() # create an instance of EzsignfoldertypeGetObjectV2Response from a dict -ezsignfoldertype_get_object_v2_response_form_dict = ezsignfoldertype_get_object_v2_response.from_dict(ezsignfoldertype_get_object_v2_response_dict) +ezsignfoldertype_get_object_v2_response_from_dict = EzsignfoldertypeGetObjectV2Response.from_dict(ezsignfoldertype_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeGetObjectV2ResponseMPayload.md b/docs/EzsignfoldertypeGetObjectV2ResponseMPayload.md index 233c3197f..7739562cb 100644 --- a/docs/EzsignfoldertypeGetObjectV2ResponseMPayload.md +++ b/docs/EzsignfoldertypeGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignfoldertypeGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignfoldertype_get_object_v2_response_m_payload_dict = ezsignfoldertype_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignfoldertypeGetObjectV2ResponseMPayload from a dict -ezsignfoldertype_get_object_v2_response_m_payload_form_dict = ezsignfoldertype_get_object_v2_response_m_payload.from_dict(ezsignfoldertype_get_object_v2_response_m_payload_dict) +ezsignfoldertype_get_object_v2_response_m_payload_from_dict = EzsignfoldertypeGetObjectV2ResponseMPayload.from_dict(ezsignfoldertype_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeGetObjectV3Response.md b/docs/EzsignfoldertypeGetObjectV3Response.md deleted file mode 100644 index 9c4ed16ae..000000000 --- a/docs/EzsignfoldertypeGetObjectV3Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsignfoldertypeGetObjectV3Response - -Response for GET /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsignfoldertypeGetObjectV3ResponseMPayload**](EzsignfoldertypeGetObjectV3ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response import EzsignfoldertypeGetObjectV3Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeGetObjectV3Response from a JSON string -ezsignfoldertype_get_object_v3_response_instance = EzsignfoldertypeGetObjectV3Response.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeGetObjectV3Response.to_json()) - -# convert the object into a dict -ezsignfoldertype_get_object_v3_response_dict = ezsignfoldertype_get_object_v3_response_instance.to_dict() -# create an instance of EzsignfoldertypeGetObjectV3Response from a dict -ezsignfoldertype_get_object_v3_response_form_dict = ezsignfoldertype_get_object_v3_response.from_dict(ezsignfoldertype_get_object_v3_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeGetObjectV3ResponseMPayload.md b/docs/EzsignfoldertypeGetObjectV3ResponseMPayload.md deleted file mode 100644 index adfb5a9fe..000000000 --- a/docs/EzsignfoldertypeGetObjectV3ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsignfoldertypeGetObjectV3ResponseMPayload - -Payload for GET /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsignfoldertype** | [**EzsignfoldertypeResponseCompoundV3**](EzsignfoldertypeResponseCompoundV3.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response_m_payload import EzsignfoldertypeGetObjectV3ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeGetObjectV3ResponseMPayload from a JSON string -ezsignfoldertype_get_object_v3_response_m_payload_instance = EzsignfoldertypeGetObjectV3ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeGetObjectV3ResponseMPayload.to_json()) - -# convert the object into a dict -ezsignfoldertype_get_object_v3_response_m_payload_dict = ezsignfoldertype_get_object_v3_response_m_payload_instance.to_dict() -# create an instance of EzsignfoldertypeGetObjectV3ResponseMPayload from a dict -ezsignfoldertype_get_object_v3_response_m_payload_form_dict = ezsignfoldertype_get_object_v3_response_m_payload.from_dict(ezsignfoldertype_get_object_v3_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeGetObjectV4Response.md b/docs/EzsignfoldertypeGetObjectV4Response.md new file mode 100644 index 000000000..d5cb4a54a --- /dev/null +++ b/docs/EzsignfoldertypeGetObjectV4Response.md @@ -0,0 +1,32 @@ +# EzsignfoldertypeGetObjectV4Response + +Response for GET /4/object/ezsignfoldertype/{pkiEzsignfoldertypeID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignfoldertypeGetObjectV4ResponseMPayload**](EzsignfoldertypeGetObjectV4ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response import EzsignfoldertypeGetObjectV4Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeGetObjectV4Response from a JSON string +ezsignfoldertype_get_object_v4_response_instance = EzsignfoldertypeGetObjectV4Response.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeGetObjectV4Response.to_json()) + +# convert the object into a dict +ezsignfoldertype_get_object_v4_response_dict = ezsignfoldertype_get_object_v4_response_instance.to_dict() +# create an instance of EzsignfoldertypeGetObjectV4Response from a dict +ezsignfoldertype_get_object_v4_response_from_dict = EzsignfoldertypeGetObjectV4Response.from_dict(ezsignfoldertype_get_object_v4_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldertypeGetObjectV4ResponseMPayload.md b/docs/EzsignfoldertypeGetObjectV4ResponseMPayload.md new file mode 100644 index 000000000..6df6e811f --- /dev/null +++ b/docs/EzsignfoldertypeGetObjectV4ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsignfoldertypeGetObjectV4ResponseMPayload + +Payload for GET /4/object/ezsignfoldertype/{pkiEzsignfoldertypeID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignfoldertype** | [**EzsignfoldertypeResponseCompoundV4**](EzsignfoldertypeResponseCompoundV4.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response_m_payload import EzsignfoldertypeGetObjectV4ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeGetObjectV4ResponseMPayload from a JSON string +ezsignfoldertype_get_object_v4_response_m_payload_instance = EzsignfoldertypeGetObjectV4ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeGetObjectV4ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignfoldertype_get_object_v4_response_m_payload_dict = ezsignfoldertype_get_object_v4_response_m_payload_instance.to_dict() +# create an instance of EzsignfoldertypeGetObjectV4ResponseMPayload from a dict +ezsignfoldertype_get_object_v4_response_m_payload_from_dict = EzsignfoldertypeGetObjectV4ResponseMPayload.from_dict(ezsignfoldertype_get_object_v4_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldertypeListElement.md b/docs/EzsignfoldertypeListElement.md index 23e03e4b6..79f436aa2 100644 --- a/docs/EzsignfoldertypeListElement.md +++ b/docs/EzsignfoldertypeListElement.md @@ -26,7 +26,7 @@ print(EzsignfoldertypeListElement.to_json()) # convert the object into a dict ezsignfoldertype_list_element_dict = ezsignfoldertype_list_element_instance.to_dict() # create an instance of EzsignfoldertypeListElement from a dict -ezsignfoldertype_list_element_form_dict = ezsignfoldertype_list_element.from_dict(ezsignfoldertype_list_element_dict) +ezsignfoldertype_list_element_from_dict = EzsignfoldertypeListElement.from_dict(ezsignfoldertype_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeRequest.md b/docs/EzsignfoldertypeRequest.md deleted file mode 100644 index d69572273..000000000 --- a/docs/EzsignfoldertypeRequest.md +++ /dev/null @@ -1,70 +0,0 @@ -# EzsignfoldertypeRequest - -A Ezsignfoldertype Object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | -**fki_branding_id** | **int** | The unique ID of the Branding | -**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] -**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] -**fki_usergroup_id_restricted** | **int** | The unique ID of the Usergroup | [optional] -**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] -**s_email_address_signed** | **str** | The email address. | [optional] -**s_email_address_summary** | **str** | The email address. | [optional] -**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | -**e_ezsignfoldertype_sendreminderfrequency** | [**FieldEEzsignfoldertypeSendreminderfrequency**](FieldEEzsignfoldertypeSendreminderfrequency.md) | | [optional] -**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | -**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | -**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | -**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] -**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | -**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] -**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] -**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] -**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] -**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] -**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] -**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] -**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] -**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] -**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] -**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | -**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | -**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_request import EzsignfoldertypeRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeRequest from a JSON string -ezsignfoldertype_request_instance = EzsignfoldertypeRequest.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeRequest.to_json()) - -# convert the object into a dict -ezsignfoldertype_request_dict = ezsignfoldertype_request_instance.to_dict() -# create an instance of EzsignfoldertypeRequest from a dict -ezsignfoldertype_request_form_dict = ezsignfoldertype_request.from_dict(ezsignfoldertype_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeRequestCompound.md b/docs/EzsignfoldertypeRequestCompound.md deleted file mode 100644 index 992f1d6d7..000000000 --- a/docs/EzsignfoldertypeRequestCompound.md +++ /dev/null @@ -1,72 +0,0 @@ -# EzsignfoldertypeRequestCompound - -A Ezsignfoldertype Object and children - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | -**fki_branding_id** | **int** | The unique ID of the Branding | -**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] -**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] -**fki_usergroup_id_restricted** | **int** | The unique ID of the Usergroup | [optional] -**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] -**s_email_address_signed** | **str** | The email address. | [optional] -**s_email_address_summary** | **str** | The email address. | [optional] -**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | -**e_ezsignfoldertype_sendreminderfrequency** | [**FieldEEzsignfoldertypeSendreminderfrequency**](FieldEEzsignfoldertypeSendreminderfrequency.md) | | [optional] -**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | -**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | -**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | -**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] -**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | -**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] -**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] -**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] -**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] -**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] -**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] -**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] -**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] -**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] -**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] -**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | -**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | -**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | -**a_fki_user_id_signed** | **List[int]** | | [optional] -**a_fki_user_id_summary** | **List[int]** | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_request_compound import EzsignfoldertypeRequestCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeRequestCompound from a JSON string -ezsignfoldertype_request_compound_instance = EzsignfoldertypeRequestCompound.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeRequestCompound.to_json()) - -# convert the object into a dict -ezsignfoldertype_request_compound_dict = ezsignfoldertype_request_compound_instance.to_dict() -# create an instance of EzsignfoldertypeRequestCompound from a dict -ezsignfoldertype_request_compound_form_dict = ezsignfoldertype_request_compound.from_dict(ezsignfoldertype_request_compound_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeRequestCompoundV2.md b/docs/EzsignfoldertypeRequestCompoundV2.md deleted file mode 100644 index f60c1e690..000000000 --- a/docs/EzsignfoldertypeRequestCompoundV2.md +++ /dev/null @@ -1,74 +0,0 @@ -# EzsignfoldertypeRequestCompoundV2 - -A Ezsignfoldertype Object and children - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | -**fki_branding_id** | **int** | The unique ID of the Branding | -**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] -**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] -**a_fki_userlogintype_id** | **List[int]** | | -**a_fki_usergroup_id_all** | **List[int]** | | [optional] -**a_fki_usergroup_id_restricted** | **List[int]** | | [optional] -**a_fki_usergroup_id_template** | **List[int]** | | [optional] -**s_email_address_signed** | **str** | The email address. | [optional] -**s_email_address_summary** | **str** | The email address. | [optional] -**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | -**e_ezsignfoldertype_sendreminderfrequency** | [**FieldEEzsignfoldertypeSendreminderfrequency**](FieldEEzsignfoldertypeSendreminderfrequency.md) | | [optional] -**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | -**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | -**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | -**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] -**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | -**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] -**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] -**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] -**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] -**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] -**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] -**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] -**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] -**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] -**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] -**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | -**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | -**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | -**a_fki_user_id_signed** | **List[int]** | | [optional] -**a_fki_user_id_summary** | **List[int]** | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_request_compound_v2 import EzsignfoldertypeRequestCompoundV2 - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeRequestCompoundV2 from a JSON string -ezsignfoldertype_request_compound_v2_instance = EzsignfoldertypeRequestCompoundV2.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeRequestCompoundV2.to_json()) - -# convert the object into a dict -ezsignfoldertype_request_compound_v2_dict = ezsignfoldertype_request_compound_v2_instance.to_dict() -# create an instance of EzsignfoldertypeRequestCompoundV2 from a dict -ezsignfoldertype_request_compound_v2_form_dict = ezsignfoldertype_request_compound_v2.from_dict(ezsignfoldertype_request_compound_v2_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeRequestCompoundV3.md b/docs/EzsignfoldertypeRequestCompoundV3.md new file mode 100644 index 000000000..7dd3241c4 --- /dev/null +++ b/docs/EzsignfoldertypeRequestCompoundV3.md @@ -0,0 +1,91 @@ +# EzsignfoldertypeRequestCompoundV3 + +A Ezsignfoldertype Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | +**fki_branding_id** | **int** | The unique ID of the Branding | +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**fki_font_id_annotation** | **int** | The unique ID of the Font | [optional] +**fki_font_id_formfield** | **int** | The unique ID of the Font | [optional] +**fki_font_id_signature** | **int** | The unique ID of the Font | [optional] +**fki_pdfalevel_id_convert** | **int** | The unique ID of the Pdfalevel | [optional] +**a_fki_pdfalevel_id** | **List[int]** | | [optional] +**a_fki_userlogintype_id** | **List[int]** | | +**a_fki_usergroup_id_all** | **List[int]** | | [optional] +**a_fki_usergroup_id_restricted** | **List[int]** | | [optional] +**a_fki_usergroup_id_template** | **List[int]** | | [optional] +**e_ezsignfoldertype_documentdependency** | [**FieldEEzsignfoldertypeDocumentdependency**](FieldEEzsignfoldertypeDocumentdependency.md) | | [optional] +**s_email_address_signed** | **str** | The email address. | [optional] +**s_email_address_summary** | **str** | The email address. | [optional] +**e_ezsignfoldertype_pdfarequirement** | [**FieldEEzsignfoldertypePdfarequirement**](FieldEEzsignfoldertypePdfarequirement.md) | | [optional] +**e_ezsignfoldertype_pdfanoncompliantaction** | [**FieldEEzsignfoldertypePdfanoncompliantaction**](FieldEEzsignfoldertypePdfanoncompliantaction.md) | | [optional] +**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | +**i_ezsignfoldertype_fontsizeannotation** | **int** | Font size for annotations | [optional] +**i_ezsignfoldertype_fontsizeformfield** | **int** | Font size for form fields | [optional] +**i_ezsignfoldertype_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfoldertype_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | +**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | +**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | +**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] +**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | +**b_ezsignfoldertype_prematurelyendautomatically** | **bool** | Wheter if document will be ended prematurely after Ezsignfolder expires. | [optional] +**i_ezsignfoldertype_prematurelyendautomaticallydays** | **int** | Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments. | [optional] +**b_ezsignfoldertype_automaticsignature** | **bool** | Whether we allow the automatic signature by an User | [optional] +**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] +**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] +**b_ezsignfoldertype_logrecipientinproof** | **bool** | Whether we log recipient of signed document in proof | [optional] +**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] +**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] +**b_ezsignfoldertype_reassigngroup** | **bool** | Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself | [optional] +**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] +**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] +**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] +**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] +**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] +**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] +**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | +**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | +**e_ezsignfoldertype_signeraccess** | [**FieldEEzsignfoldertypeSigneraccess**](FieldEEzsignfoldertypeSigneraccess.md) | | [optional] +**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | +**a_fki_user_id_signed** | **List[int]** | | [optional] +**a_fki_user_id_summary** | **List[int]** | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_request_compound_v3 import EzsignfoldertypeRequestCompoundV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeRequestCompoundV3 from a JSON string +ezsignfoldertype_request_compound_v3_instance = EzsignfoldertypeRequestCompoundV3.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeRequestCompoundV3.to_json()) + +# convert the object into a dict +ezsignfoldertype_request_compound_v3_dict = ezsignfoldertype_request_compound_v3_instance.to_dict() +# create an instance of EzsignfoldertypeRequestCompoundV3 from a dict +ezsignfoldertype_request_compound_v3_from_dict = EzsignfoldertypeRequestCompoundV3.from_dict(ezsignfoldertype_request_compound_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldertypeRequestV2.md b/docs/EzsignfoldertypeRequestV2.md deleted file mode 100644 index bb8385581..000000000 --- a/docs/EzsignfoldertypeRequestV2.md +++ /dev/null @@ -1,72 +0,0 @@ -# EzsignfoldertypeRequestV2 - -A Ezsignfoldertype Object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | -**fki_branding_id** | **int** | The unique ID of the Branding | -**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] -**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] -**a_fki_userlogintype_id** | **List[int]** | | -**a_fki_usergroup_id_all** | **List[int]** | | [optional] -**a_fki_usergroup_id_restricted** | **List[int]** | | [optional] -**a_fki_usergroup_id_template** | **List[int]** | | [optional] -**s_email_address_signed** | **str** | The email address. | [optional] -**s_email_address_summary** | **str** | The email address. | [optional] -**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | -**e_ezsignfoldertype_sendreminderfrequency** | [**FieldEEzsignfoldertypeSendreminderfrequency**](FieldEEzsignfoldertypeSendreminderfrequency.md) | | [optional] -**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | -**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | -**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | -**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] -**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | -**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] -**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] -**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] -**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] -**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] -**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] -**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] -**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] -**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] -**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] -**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | -**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | -**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_request_v2 import EzsignfoldertypeRequestV2 - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeRequestV2 from a JSON string -ezsignfoldertype_request_v2_instance = EzsignfoldertypeRequestV2.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeRequestV2.to_json()) - -# convert the object into a dict -ezsignfoldertype_request_v2_dict = ezsignfoldertype_request_v2_instance.to_dict() -# create an instance of EzsignfoldertypeRequestV2 from a dict -ezsignfoldertype_request_v2_form_dict = ezsignfoldertype_request_v2.from_dict(ezsignfoldertype_request_v2_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeRequestV3.md b/docs/EzsignfoldertypeRequestV3.md new file mode 100644 index 000000000..029923767 --- /dev/null +++ b/docs/EzsignfoldertypeRequestV3.md @@ -0,0 +1,89 @@ +# EzsignfoldertypeRequestV3 + +A Ezsignfoldertype Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | +**fki_branding_id** | **int** | The unique ID of the Branding | +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**fki_font_id_annotation** | **int** | The unique ID of the Font | [optional] +**fki_font_id_formfield** | **int** | The unique ID of the Font | [optional] +**fki_font_id_signature** | **int** | The unique ID of the Font | [optional] +**fki_pdfalevel_id_convert** | **int** | The unique ID of the Pdfalevel | [optional] +**a_fki_pdfalevel_id** | **List[int]** | | [optional] +**a_fki_userlogintype_id** | **List[int]** | | +**a_fki_usergroup_id_all** | **List[int]** | | [optional] +**a_fki_usergroup_id_restricted** | **List[int]** | | [optional] +**a_fki_usergroup_id_template** | **List[int]** | | [optional] +**e_ezsignfoldertype_documentdependency** | [**FieldEEzsignfoldertypeDocumentdependency**](FieldEEzsignfoldertypeDocumentdependency.md) | | [optional] +**s_email_address_signed** | **str** | The email address. | [optional] +**s_email_address_summary** | **str** | The email address. | [optional] +**e_ezsignfoldertype_pdfarequirement** | [**FieldEEzsignfoldertypePdfarequirement**](FieldEEzsignfoldertypePdfarequirement.md) | | [optional] +**e_ezsignfoldertype_pdfanoncompliantaction** | [**FieldEEzsignfoldertypePdfanoncompliantaction**](FieldEEzsignfoldertypePdfanoncompliantaction.md) | | [optional] +**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | +**i_ezsignfoldertype_fontsizeannotation** | **int** | Font size for annotations | [optional] +**i_ezsignfoldertype_fontsizeformfield** | **int** | Font size for form fields | [optional] +**i_ezsignfoldertype_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfoldertype_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | +**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | +**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | +**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] +**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | +**b_ezsignfoldertype_prematurelyendautomatically** | **bool** | Wheter if document will be ended prematurely after Ezsignfolder expires. | [optional] +**i_ezsignfoldertype_prematurelyendautomaticallydays** | **int** | Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments. | [optional] +**b_ezsignfoldertype_automaticsignature** | **bool** | Whether we allow the automatic signature by an User | [optional] +**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] +**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] +**b_ezsignfoldertype_logrecipientinproof** | **bool** | Whether we log recipient of signed document in proof | [optional] +**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] +**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] +**b_ezsignfoldertype_reassigngroup** | **bool** | Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself | [optional] +**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] +**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] +**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] +**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] +**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] +**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] +**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | +**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | +**e_ezsignfoldertype_signeraccess** | [**FieldEEzsignfoldertypeSigneraccess**](FieldEEzsignfoldertypeSigneraccess.md) | | [optional] +**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_request_v3 import EzsignfoldertypeRequestV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeRequestV3 from a JSON string +ezsignfoldertype_request_v3_instance = EzsignfoldertypeRequestV3.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeRequestV3.to_json()) + +# convert the object into a dict +ezsignfoldertype_request_v3_dict = ezsignfoldertype_request_v3_instance.to_dict() +# create an instance of EzsignfoldertypeRequestV3 from a dict +ezsignfoldertype_request_v3_from_dict = EzsignfoldertypeRequestV3.from_dict(ezsignfoldertype_request_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldertypeResponse.md b/docs/EzsignfoldertypeResponse.md index 94177a3a4..c2d2aa82d 100644 --- a/docs/EzsignfoldertypeResponse.md +++ b/docs/EzsignfoldertypeResponse.md @@ -27,10 +27,12 @@ Name | Type | Description | Notes **e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | **i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] **i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | +**b_ezsignfoldertype_automaticsignature** | **bool** | Whether we allow the automatic signature by an User | [optional] **b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] **b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] **b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] **b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] +**b_ezsignfoldertype_reassigngroup** | **bool** | Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself | [optional] **b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] **b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] **b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] @@ -69,7 +71,7 @@ print(EzsignfoldertypeResponse.to_json()) # convert the object into a dict ezsignfoldertype_response_dict = ezsignfoldertype_response_instance.to_dict() # create an instance of EzsignfoldertypeResponse from a dict -ezsignfoldertype_response_form_dict = ezsignfoldertype_response.from_dict(ezsignfoldertype_response_dict) +ezsignfoldertype_response_from_dict = EzsignfoldertypeResponse.from_dict(ezsignfoldertype_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeResponseCompound.md b/docs/EzsignfoldertypeResponseCompound.md index 1246cdfed..5c25c0876 100644 --- a/docs/EzsignfoldertypeResponseCompound.md +++ b/docs/EzsignfoldertypeResponseCompound.md @@ -27,10 +27,12 @@ Name | Type | Description | Notes **e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | **i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] **i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | +**b_ezsignfoldertype_automaticsignature** | **bool** | Whether we allow the automatic signature by an User | [optional] **b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] **b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] **b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] **b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] +**b_ezsignfoldertype_reassigngroup** | **bool** | Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself | [optional] **b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] **b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] **b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] @@ -71,7 +73,7 @@ print(EzsignfoldertypeResponseCompound.to_json()) # convert the object into a dict ezsignfoldertype_response_compound_dict = ezsignfoldertype_response_compound_instance.to_dict() # create an instance of EzsignfoldertypeResponseCompound from a dict -ezsignfoldertype_response_compound_form_dict = ezsignfoldertype_response_compound.from_dict(ezsignfoldertype_response_compound_dict) +ezsignfoldertype_response_compound_from_dict = EzsignfoldertypeResponseCompound.from_dict(ezsignfoldertype_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignfoldertypeResponseCompoundV3.md b/docs/EzsignfoldertypeResponseCompoundV3.md deleted file mode 100644 index 0894a8b21..000000000 --- a/docs/EzsignfoldertypeResponseCompoundV3.md +++ /dev/null @@ -1,77 +0,0 @@ -# EzsignfoldertypeResponseCompoundV3 - -A Ezsignfoldertype Object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | -**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | -**fki_branding_id** | **int** | The unique ID of the Branding | -**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] -**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] -**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | -**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] -**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] -**s_email_address_signed** | **str** | The email address. | [optional] -**s_email_address_summary** | **str** | The email address. | [optional] -**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | -**e_ezsignfoldertype_sendreminderfrequency** | [**FieldEEzsignfoldertypeSendreminderfrequency**](FieldEEzsignfoldertypeSendreminderfrequency.md) | | [optional] -**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | -**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | -**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | -**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] -**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | -**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] -**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] -**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] -**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] -**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] -**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] -**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] -**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] -**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] -**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] -**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | -**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | -**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | -**a_obj_userlogintype** | [**List[UserlogintypeResponse]**](UserlogintypeResponse.md) | | -**a_obj_usergroup_all** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] -**a_obj_usergroup_restricted** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] -**a_obj_usergroup_template** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] -**a_fki_user_id_signed** | **List[int]** | | [optional] -**a_fki_user_id_summary** | **List[int]** | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_response_compound_v3 import EzsignfoldertypeResponseCompoundV3 - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeResponseCompoundV3 from a JSON string -ezsignfoldertype_response_compound_v3_instance = EzsignfoldertypeResponseCompoundV3.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeResponseCompoundV3.to_json()) - -# convert the object into a dict -ezsignfoldertype_response_compound_v3_dict = ezsignfoldertype_response_compound_v3_instance.to_dict() -# create an instance of EzsignfoldertypeResponseCompoundV3 from a dict -ezsignfoldertype_response_compound_v3_form_dict = ezsignfoldertype_response_compound_v3.from_dict(ezsignfoldertype_response_compound_v3_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeResponseCompoundV4.md b/docs/EzsignfoldertypeResponseCompoundV4.md new file mode 100644 index 000000000..519507400 --- /dev/null +++ b/docs/EzsignfoldertypeResponseCompoundV4.md @@ -0,0 +1,95 @@ +# EzsignfoldertypeResponseCompoundV4 + +A Ezsignfoldertype Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | +**fki_branding_id** | **int** | The unique ID of the Branding | +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**fki_font_id_annotation** | **int** | The unique ID of the Font | [optional] +**fki_font_id_formfield** | **int** | The unique ID of the Font | [optional] +**fki_font_id_signature** | **int** | The unique ID of the Font | [optional] +**fki_pdfalevel_id_convert** | **int** | The unique ID of the Pdfalevel | [optional] +**e_ezsignfoldertype_documentdependency** | [**FieldEEzsignfoldertypeDocumentdependency**](FieldEEzsignfoldertypeDocumentdependency.md) | | [optional] +**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] +**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] +**s_email_address_signed** | **str** | The email address. | [optional] +**s_email_address_summary** | **str** | The email address. | [optional] +**e_ezsignfoldertype_pdfarequirement** | [**FieldEEzsignfoldertypePdfarequirement**](FieldEEzsignfoldertypePdfarequirement.md) | | [optional] +**e_ezsignfoldertype_pdfanoncompliantaction** | [**FieldEEzsignfoldertypePdfanoncompliantaction**](FieldEEzsignfoldertypePdfanoncompliantaction.md) | | [optional] +**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | +**i_ezsignfoldertype_fontsizeannotation** | **int** | Font size for annotations | [optional] +**i_ezsignfoldertype_fontsizeformfield** | **int** | Font size for form fields | [optional] +**i_ezsignfoldertype_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfoldertype_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | +**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | +**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | +**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] +**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | +**b_ezsignfoldertype_prematurelyendautomatically** | **bool** | Wheter if document will be ended prematurely after Ezsignfolder expires. | [optional] +**i_ezsignfoldertype_prematurelyendautomaticallydays** | **int** | Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments. | [optional] +**b_ezsignfoldertype_automaticsignature** | **bool** | Whether we allow the automatic signature by an User | [optional] +**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] +**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] +**b_ezsignfoldertype_logrecipientinproof** | **bool** | Whether we log recipient of signed document in proof | [optional] +**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] +**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] +**b_ezsignfoldertype_reassigngroup** | **bool** | Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself | [optional] +**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] +**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] +**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] +**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] +**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] +**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] +**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | +**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | +**e_ezsignfoldertype_signeraccess** | [**FieldEEzsignfoldertypeSigneraccess**](FieldEEzsignfoldertypeSigneraccess.md) | | [optional] +**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | +**a_fki_pdfalevel_id** | **List[int]** | | [optional] +**a_obj_userlogintype** | [**List[UserlogintypeResponse]**](UserlogintypeResponse.md) | | +**a_obj_usergroup_all** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] +**a_obj_usergroup_restricted** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] +**a_obj_usergroup_template** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | +**a_fki_user_id_signed** | **List[int]** | | [optional] +**a_fki_user_id_summary** | **List[int]** | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_response_compound_v4 import EzsignfoldertypeResponseCompoundV4 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeResponseCompoundV4 from a JSON string +ezsignfoldertype_response_compound_v4_instance = EzsignfoldertypeResponseCompoundV4.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeResponseCompoundV4.to_json()) + +# convert the object into a dict +ezsignfoldertype_response_compound_v4_dict = ezsignfoldertype_response_compound_v4_instance.to_dict() +# create an instance of EzsignfoldertypeResponseCompoundV4 from a dict +ezsignfoldertype_response_compound_v4_from_dict = EzsignfoldertypeResponseCompoundV4.from_dict(ezsignfoldertype_response_compound_v4_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignfoldertypeResponseV3.md b/docs/EzsignfoldertypeResponseV3.md deleted file mode 100644 index 4b9c44b18..000000000 --- a/docs/EzsignfoldertypeResponseV3.md +++ /dev/null @@ -1,75 +0,0 @@ -# EzsignfoldertypeResponseV3 - -A Ezsignfoldertype Object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | -**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | -**fki_branding_id** | **int** | The unique ID of the Branding | -**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] -**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] -**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | -**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] -**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] -**s_email_address_signed** | **str** | The email address. | [optional] -**s_email_address_summary** | **str** | The email address. | [optional] -**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | -**e_ezsignfoldertype_sendreminderfrequency** | [**FieldEEzsignfoldertypeSendreminderfrequency**](FieldEEzsignfoldertypeSendreminderfrequency.md) | | [optional] -**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | -**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | -**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | -**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] -**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | -**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] -**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] -**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] -**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] -**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] -**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] -**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] -**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] -**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] -**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] -**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] -**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] -**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | -**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | -**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | -**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] -**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | -**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | -**a_obj_userlogintype** | [**List[UserlogintypeResponse]**](UserlogintypeResponse.md) | | -**a_obj_usergroup_all** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] -**a_obj_usergroup_restricted** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] -**a_obj_usergroup_template** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsignfoldertype_response_v3 import EzsignfoldertypeResponseV3 - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignfoldertypeResponseV3 from a JSON string -ezsignfoldertype_response_v3_instance = EzsignfoldertypeResponseV3.from_json(json) -# print the JSON string representation of the object -print(EzsignfoldertypeResponseV3.to_json()) - -# convert the object into a dict -ezsignfoldertype_response_v3_dict = ezsignfoldertype_response_v3_instance.to_dict() -# create an instance of EzsignfoldertypeResponseV3 from a dict -ezsignfoldertype_response_v3_form_dict = ezsignfoldertype_response_v3.from_dict(ezsignfoldertype_response_v3_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignfoldertypeResponseV4.md b/docs/EzsignfoldertypeResponseV4.md new file mode 100644 index 000000000..f37f9a82c --- /dev/null +++ b/docs/EzsignfoldertypeResponseV4.md @@ -0,0 +1,93 @@ +# EzsignfoldertypeResponseV4 + +A Ezsignfoldertype Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | +**fki_branding_id** | **int** | The unique ID of the Branding | +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**fki_font_id_annotation** | **int** | The unique ID of the Font | [optional] +**fki_font_id_formfield** | **int** | The unique ID of the Font | [optional] +**fki_font_id_signature** | **int** | The unique ID of the Font | [optional] +**fki_pdfalevel_id_convert** | **int** | The unique ID of the Pdfalevel | [optional] +**e_ezsignfoldertype_documentdependency** | [**FieldEEzsignfoldertypeDocumentdependency**](FieldEEzsignfoldertypeDocumentdependency.md) | | [optional] +**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] +**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] +**s_email_address_signed** | **str** | The email address. | [optional] +**s_email_address_summary** | **str** | The email address. | [optional] +**e_ezsignfoldertype_pdfarequirement** | [**FieldEEzsignfoldertypePdfarequirement**](FieldEEzsignfoldertypePdfarequirement.md) | | [optional] +**e_ezsignfoldertype_pdfanoncompliantaction** | [**FieldEEzsignfoldertypePdfanoncompliantaction**](FieldEEzsignfoldertypePdfanoncompliantaction.md) | | [optional] +**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | +**i_ezsignfoldertype_fontsizeannotation** | **int** | Font size for annotations | [optional] +**i_ezsignfoldertype_fontsizeformfield** | **int** | Font size for form fields | [optional] +**i_ezsignfoldertype_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfoldertype_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | +**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | +**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | +**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] +**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | +**b_ezsignfoldertype_prematurelyendautomatically** | **bool** | Wheter if document will be ended prematurely after Ezsignfolder expires. | [optional] +**i_ezsignfoldertype_prematurelyendautomaticallydays** | **int** | Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments. | [optional] +**b_ezsignfoldertype_automaticsignature** | **bool** | Whether we allow the automatic signature by an User | [optional] +**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] +**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] +**b_ezsignfoldertype_logrecipientinproof** | **bool** | Whether we log recipient of signed document in proof | [optional] +**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] +**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] +**b_ezsignfoldertype_reassigngroup** | **bool** | Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself | [optional] +**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] +**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] +**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] +**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] +**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] +**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] +**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | +**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | +**e_ezsignfoldertype_signeraccess** | [**FieldEEzsignfoldertypeSigneraccess**](FieldEEzsignfoldertypeSigneraccess.md) | | [optional] +**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | +**a_fki_pdfalevel_id** | **List[int]** | | [optional] +**a_obj_userlogintype** | [**List[UserlogintypeResponse]**](UserlogintypeResponse.md) | | +**a_obj_usergroup_all** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] +**a_obj_usergroup_restricted** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] +**a_obj_usergroup_template** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfoldertype_response_v4 import EzsignfoldertypeResponseV4 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfoldertypeResponseV4 from a JSON string +ezsignfoldertype_response_v4_instance = EzsignfoldertypeResponseV4.from_json(json) +# print the JSON string representation of the object +print(EzsignfoldertypeResponseV4.to_json()) + +# convert the object into a dict +ezsignfoldertype_response_v4_dict = ezsignfoldertype_response_v4_instance.to_dict() +# create an instance of EzsignfoldertypeResponseV4 from a dict +ezsignfoldertype_response_v4_from_dict = EzsignfoldertypeResponseV4.from_dict(ezsignfoldertype_response_v4_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignformfieldRequest.md b/docs/EzsignformfieldRequest.md index 0e3019adb..57b64568c 100644 --- a/docs/EzsignformfieldRequest.md +++ b/docs/EzsignformfieldRequest.md @@ -12,12 +12,14 @@ Name | Type | Description | Notes **s_ezsignformfield_value** | **str** | The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio | [optional] **i_ezsignformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | **i_ezsignformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | -**i_ezsignformfield_width** | **int** | The Width of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 | | -**i_ezsignformfield_height** | **int** | The Height of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | | +**i_ezsignformfield_width** | **int** | The Width of the Ezsignformfield in pixels calculated at 100 DPI | +**i_ezsignformfield_height** | **int** | The Height of the Ezsignformfield in pixels calculated at 100 DPI | **b_ezsignformfield_autocomplete** | **bool** | Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text** | [optional] **b_ezsignformfield_selected** | **bool** | Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio** | [optional] **s_ezsignformfield_enteredvalue** | **str** | This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea** | [optional] **e_ezsignformfield_dependencyrequirement** | [**FieldEEzsignformfieldDependencyrequirement**](FieldEEzsignformfieldDependencyrequirement.md) | | [optional] +**e_ezsignformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticRequestCompound**](TextstylestaticRequestCompound.md) | | [optional] ## Example @@ -34,7 +36,7 @@ print(EzsignformfieldRequest.to_json()) # convert the object into a dict ezsignformfield_request_dict = ezsignformfield_request_instance.to_dict() # create an instance of EzsignformfieldRequest from a dict -ezsignformfield_request_form_dict = ezsignformfield_request.from_dict(ezsignformfield_request_dict) +ezsignformfield_request_from_dict = EzsignformfieldRequest.from_dict(ezsignformfield_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldRequestCompound.md b/docs/EzsignformfieldRequestCompound.md index 17139fc35..bc13eefcf 100644 --- a/docs/EzsignformfieldRequestCompound.md +++ b/docs/EzsignformfieldRequestCompound.md @@ -12,12 +12,14 @@ Name | Type | Description | Notes **s_ezsignformfield_value** | **str** | The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio | [optional] **i_ezsignformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | **i_ezsignformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | -**i_ezsignformfield_width** | **int** | The Width of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 | | -**i_ezsignformfield_height** | **int** | The Height of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | | +**i_ezsignformfield_width** | **int** | The Width of the Ezsignformfield in pixels calculated at 100 DPI | +**i_ezsignformfield_height** | **int** | The Height of the Ezsignformfield in pixels calculated at 100 DPI | **b_ezsignformfield_autocomplete** | **bool** | Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text** | [optional] **b_ezsignformfield_selected** | **bool** | Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio** | [optional] **s_ezsignformfield_enteredvalue** | **str** | This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea** | [optional] **e_ezsignformfield_dependencyrequirement** | [**FieldEEzsignformfieldDependencyrequirement**](FieldEEzsignformfieldDependencyrequirement.md) | | [optional] +**e_ezsignformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticRequestCompound**](TextstylestaticRequestCompound.md) | | [optional] **a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyRequestCompound]**](EzsignelementdependencyRequestCompound.md) | | [optional] ## Example @@ -35,7 +37,7 @@ print(EzsignformfieldRequestCompound.to_json()) # convert the object into a dict ezsignformfield_request_compound_dict = ezsignformfield_request_compound_instance.to_dict() # create an instance of EzsignformfieldRequestCompound from a dict -ezsignformfield_request_compound_form_dict = ezsignformfield_request_compound.from_dict(ezsignformfield_request_compound_dict) +ezsignformfield_request_compound_from_dict = EzsignformfieldRequestCompound.from_dict(ezsignformfield_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldResponse.md b/docs/EzsignformfieldResponse.md index c12554cb3..3aeebd756 100644 --- a/docs/EzsignformfieldResponse.md +++ b/docs/EzsignformfieldResponse.md @@ -12,12 +12,14 @@ Name | Type | Description | Notes **s_ezsignformfield_value** | **str** | The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio | [optional] **i_ezsignformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | **i_ezsignformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | -**i_ezsignformfield_width** | **int** | The Width of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 | | -**i_ezsignformfield_height** | **int** | The Height of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | | +**i_ezsignformfield_width** | **int** | The Width of the Ezsignformfield in pixels calculated at 100 DPI | +**i_ezsignformfield_height** | **int** | The Height of the Ezsignformfield in pixels calculated at 100 DPI | **b_ezsignformfield_autocomplete** | **bool** | Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text** | [optional] **b_ezsignformfield_selected** | **bool** | Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio** | [optional] **s_ezsignformfield_enteredvalue** | **str** | This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea** | [optional] **e_ezsignformfield_dependencyrequirement** | [**FieldEEzsignformfieldDependencyrequirement**](FieldEEzsignformfieldDependencyrequirement.md) | | [optional] +**e_ezsignformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticResponseCompound**](TextstylestaticResponseCompound.md) | | [optional] ## Example @@ -34,7 +36,7 @@ print(EzsignformfieldResponse.to_json()) # convert the object into a dict ezsignformfield_response_dict = ezsignformfield_response_instance.to_dict() # create an instance of EzsignformfieldResponse from a dict -ezsignformfield_response_form_dict = ezsignformfield_response.from_dict(ezsignformfield_response_dict) +ezsignformfield_response_from_dict = EzsignformfieldResponse.from_dict(ezsignformfield_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldResponseCompound.md b/docs/EzsignformfieldResponseCompound.md index 09ae42ca9..4ba1f46cb 100644 --- a/docs/EzsignformfieldResponseCompound.md +++ b/docs/EzsignformfieldResponseCompound.md @@ -12,12 +12,14 @@ Name | Type | Description | Notes **s_ezsignformfield_value** | **str** | The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio | [optional] **i_ezsignformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | **i_ezsignformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | -**i_ezsignformfield_width** | **int** | The Width of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 | | -**i_ezsignformfield_height** | **int** | The Height of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | | +**i_ezsignformfield_width** | **int** | The Width of the Ezsignformfield in pixels calculated at 100 DPI | +**i_ezsignformfield_height** | **int** | The Height of the Ezsignformfield in pixels calculated at 100 DPI | **b_ezsignformfield_autocomplete** | **bool** | Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text** | [optional] **b_ezsignformfield_selected** | **bool** | Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio** | [optional] **s_ezsignformfield_enteredvalue** | **str** | This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea** | [optional] **e_ezsignformfield_dependencyrequirement** | [**FieldEEzsignformfieldDependencyrequirement**](FieldEEzsignformfieldDependencyrequirement.md) | | [optional] +**e_ezsignformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticResponseCompound**](TextstylestaticResponseCompound.md) | | [optional] **a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyResponseCompound]**](EzsignelementdependencyResponseCompound.md) | | [optional] ## Example @@ -35,7 +37,7 @@ print(EzsignformfieldResponseCompound.to_json()) # convert the object into a dict ezsignformfield_response_compound_dict = ezsignformfield_response_compound_instance.to_dict() # create an instance of EzsignformfieldResponseCompound from a dict -ezsignformfield_response_compound_form_dict = ezsignformfield_response_compound.from_dict(ezsignformfield_response_compound_dict) +ezsignformfield_response_compound_from_dict = EzsignformfieldResponseCompound.from_dict(ezsignformfield_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupCreateObjectV1Request.md b/docs/EzsignformfieldgroupCreateObjectV1Request.md index 5a2622ec5..c3cc627bb 100644 --- a/docs/EzsignformfieldgroupCreateObjectV1Request.md +++ b/docs/EzsignformfieldgroupCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignformfieldgroupCreateObjectV1Request.to_json()) # convert the object into a dict ezsignformfieldgroup_create_object_v1_request_dict = ezsignformfieldgroup_create_object_v1_request_instance.to_dict() # create an instance of EzsignformfieldgroupCreateObjectV1Request from a dict -ezsignformfieldgroup_create_object_v1_request_form_dict = ezsignformfieldgroup_create_object_v1_request.from_dict(ezsignformfieldgroup_create_object_v1_request_dict) +ezsignformfieldgroup_create_object_v1_request_from_dict = EzsignformfieldgroupCreateObjectV1Request.from_dict(ezsignformfieldgroup_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupCreateObjectV1Response.md b/docs/EzsignformfieldgroupCreateObjectV1Response.md index 834b8d7b6..0b96f64b1 100644 --- a/docs/EzsignformfieldgroupCreateObjectV1Response.md +++ b/docs/EzsignformfieldgroupCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignformfieldgroupCreateObjectV1Response.to_json()) # convert the object into a dict ezsignformfieldgroup_create_object_v1_response_dict = ezsignformfieldgroup_create_object_v1_response_instance.to_dict() # create an instance of EzsignformfieldgroupCreateObjectV1Response from a dict -ezsignformfieldgroup_create_object_v1_response_form_dict = ezsignformfieldgroup_create_object_v1_response.from_dict(ezsignformfieldgroup_create_object_v1_response_dict) +ezsignformfieldgroup_create_object_v1_response_from_dict = EzsignformfieldgroupCreateObjectV1Response.from_dict(ezsignformfieldgroup_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupCreateObjectV1ResponseMPayload.md b/docs/EzsignformfieldgroupCreateObjectV1ResponseMPayload.md index 3b87774da..03415aea5 100644 --- a/docs/EzsignformfieldgroupCreateObjectV1ResponseMPayload.md +++ b/docs/EzsignformfieldgroupCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignformfieldgroupCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignformfieldgroup_create_object_v1_response_m_payload_dict = ezsignformfieldgroup_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignformfieldgroupCreateObjectV1ResponseMPayload from a dict -ezsignformfieldgroup_create_object_v1_response_m_payload_form_dict = ezsignformfieldgroup_create_object_v1_response_m_payload.from_dict(ezsignformfieldgroup_create_object_v1_response_m_payload_dict) +ezsignformfieldgroup_create_object_v1_response_m_payload_from_dict = EzsignformfieldgroupCreateObjectV1ResponseMPayload.from_dict(ezsignformfieldgroup_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupDeleteObjectV1Response.md b/docs/EzsignformfieldgroupDeleteObjectV1Response.md index cbbe28513..451ae9b38 100644 --- a/docs/EzsignformfieldgroupDeleteObjectV1Response.md +++ b/docs/EzsignformfieldgroupDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignformfieldgroupDeleteObjectV1Response.to_json()) # convert the object into a dict ezsignformfieldgroup_delete_object_v1_response_dict = ezsignformfieldgroup_delete_object_v1_response_instance.to_dict() # create an instance of EzsignformfieldgroupDeleteObjectV1Response from a dict -ezsignformfieldgroup_delete_object_v1_response_form_dict = ezsignformfieldgroup_delete_object_v1_response.from_dict(ezsignformfieldgroup_delete_object_v1_response_dict) +ezsignformfieldgroup_delete_object_v1_response_from_dict = EzsignformfieldgroupDeleteObjectV1Response.from_dict(ezsignformfieldgroup_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupEditObjectV1Request.md b/docs/EzsignformfieldgroupEditObjectV1Request.md index ce7f23fbf..85d5bda19 100644 --- a/docs/EzsignformfieldgroupEditObjectV1Request.md +++ b/docs/EzsignformfieldgroupEditObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignformfieldgroupEditObjectV1Request.to_json()) # convert the object into a dict ezsignformfieldgroup_edit_object_v1_request_dict = ezsignformfieldgroup_edit_object_v1_request_instance.to_dict() # create an instance of EzsignformfieldgroupEditObjectV1Request from a dict -ezsignformfieldgroup_edit_object_v1_request_form_dict = ezsignformfieldgroup_edit_object_v1_request.from_dict(ezsignformfieldgroup_edit_object_v1_request_dict) +ezsignformfieldgroup_edit_object_v1_request_from_dict = EzsignformfieldgroupEditObjectV1Request.from_dict(ezsignformfieldgroup_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupEditObjectV1Response.md b/docs/EzsignformfieldgroupEditObjectV1Response.md index 371809144..948e19011 100644 --- a/docs/EzsignformfieldgroupEditObjectV1Response.md +++ b/docs/EzsignformfieldgroupEditObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignformfieldgroupEditObjectV1Response.to_json()) # convert the object into a dict ezsignformfieldgroup_edit_object_v1_response_dict = ezsignformfieldgroup_edit_object_v1_response_instance.to_dict() # create an instance of EzsignformfieldgroupEditObjectV1Response from a dict -ezsignformfieldgroup_edit_object_v1_response_form_dict = ezsignformfieldgroup_edit_object_v1_response.from_dict(ezsignformfieldgroup_edit_object_v1_response_dict) +ezsignformfieldgroup_edit_object_v1_response_from_dict = EzsignformfieldgroupEditObjectV1Response.from_dict(ezsignformfieldgroup_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupGetObjectV2Response.md b/docs/EzsignformfieldgroupGetObjectV2Response.md index b5f10c721..3b59bbc0a 100644 --- a/docs/EzsignformfieldgroupGetObjectV2Response.md +++ b/docs/EzsignformfieldgroupGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignformfieldgroupGetObjectV2Response.to_json()) # convert the object into a dict ezsignformfieldgroup_get_object_v2_response_dict = ezsignformfieldgroup_get_object_v2_response_instance.to_dict() # create an instance of EzsignformfieldgroupGetObjectV2Response from a dict -ezsignformfieldgroup_get_object_v2_response_form_dict = ezsignformfieldgroup_get_object_v2_response.from_dict(ezsignformfieldgroup_get_object_v2_response_dict) +ezsignformfieldgroup_get_object_v2_response_from_dict = EzsignformfieldgroupGetObjectV2Response.from_dict(ezsignformfieldgroup_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupGetObjectV2ResponseMPayload.md b/docs/EzsignformfieldgroupGetObjectV2ResponseMPayload.md index c1b841fbb..4b7797ee9 100644 --- a/docs/EzsignformfieldgroupGetObjectV2ResponseMPayload.md +++ b/docs/EzsignformfieldgroupGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignformfieldgroupGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignformfieldgroup_get_object_v2_response_m_payload_dict = ezsignformfieldgroup_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignformfieldgroupGetObjectV2ResponseMPayload from a dict -ezsignformfieldgroup_get_object_v2_response_m_payload_form_dict = ezsignformfieldgroup_get_object_v2_response_m_payload.from_dict(ezsignformfieldgroup_get_object_v2_response_m_payload_dict) +ezsignformfieldgroup_get_object_v2_response_m_payload_from_dict = EzsignformfieldgroupGetObjectV2ResponseMPayload.from_dict(ezsignformfieldgroup_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupRequest.md b/docs/EzsignformfieldgroupRequest.md index 6ac94fffd..9fbddb22c 100644 --- a/docs/EzsignformfieldgroupRequest.md +++ b/docs/EzsignformfieldgroupRequest.md @@ -12,13 +12,14 @@ Name | Type | Description | Notes **e_ezsignformfieldgroup_signerrequirement** | [**FieldEEzsignformfieldgroupSignerrequirement**](FieldEEzsignformfieldgroupSignerrequirement.md) | | [optional] **s_ezsignformfieldgroup_label** | **str** | The Label for the Ezsignformfieldgroup | **i_ezsignformfieldgroup_step** | **int** | The step when the Ezsignsigner will be invited to fill the form fields | -**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **i_ezsignformfieldgroup_filledmin** | **int** | The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | **i_ezsignformfieldgroup_filledmax** | **int** | The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | **b_ezsignformfieldgroup_readonly** | **bool** | Whether the Ezsignformfieldgroup is read only or not. | **i_ezsignformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] **b_ezsignformfieldgroup_encrypted** | **bool** | Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] **s_ezsignformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsignformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **t_ezsignformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup | [optional] **e_ezsignformfieldgroup_tooltipposition** | [**FieldEEzsignformfieldgroupTooltipposition**](FieldEEzsignformfieldgroupTooltipposition.md) | | [optional] **e_ezsignformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] @@ -38,7 +39,7 @@ print(EzsignformfieldgroupRequest.to_json()) # convert the object into a dict ezsignformfieldgroup_request_dict = ezsignformfieldgroup_request_instance.to_dict() # create an instance of EzsignformfieldgroupRequest from a dict -ezsignformfieldgroup_request_form_dict = ezsignformfieldgroup_request.from_dict(ezsignformfieldgroup_request_dict) +ezsignformfieldgroup_request_from_dict = EzsignformfieldgroupRequest.from_dict(ezsignformfieldgroup_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupRequestCompound.md b/docs/EzsignformfieldgroupRequestCompound.md index ec5a06679..ec62a6eb4 100644 --- a/docs/EzsignformfieldgroupRequestCompound.md +++ b/docs/EzsignformfieldgroupRequestCompound.md @@ -12,13 +12,14 @@ Name | Type | Description | Notes **e_ezsignformfieldgroup_signerrequirement** | [**FieldEEzsignformfieldgroupSignerrequirement**](FieldEEzsignformfieldgroupSignerrequirement.md) | | [optional] **s_ezsignformfieldgroup_label** | **str** | The Label for the Ezsignformfieldgroup | **i_ezsignformfieldgroup_step** | **int** | The step when the Ezsignsigner will be invited to fill the form fields | -**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **i_ezsignformfieldgroup_filledmin** | **int** | The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | **i_ezsignformfieldgroup_filledmax** | **int** | The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | **b_ezsignformfieldgroup_readonly** | **bool** | Whether the Ezsignformfieldgroup is read only or not. | **i_ezsignformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] **b_ezsignformfieldgroup_encrypted** | **bool** | Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] **s_ezsignformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsignformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **t_ezsignformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup | [optional] **e_ezsignformfieldgroup_tooltipposition** | [**FieldEEzsignformfieldgroupTooltipposition**](FieldEEzsignformfieldgroupTooltipposition.md) | | [optional] **e_ezsignformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] @@ -41,7 +42,7 @@ print(EzsignformfieldgroupRequestCompound.to_json()) # convert the object into a dict ezsignformfieldgroup_request_compound_dict = ezsignformfieldgroup_request_compound_instance.to_dict() # create an instance of EzsignformfieldgroupRequestCompound from a dict -ezsignformfieldgroup_request_compound_form_dict = ezsignformfieldgroup_request_compound.from_dict(ezsignformfieldgroup_request_compound_dict) +ezsignformfieldgroup_request_compound_from_dict = EzsignformfieldgroupRequestCompound.from_dict(ezsignformfieldgroup_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupResponse.md b/docs/EzsignformfieldgroupResponse.md index 7d2ad0c38..73125dbd6 100644 --- a/docs/EzsignformfieldgroupResponse.md +++ b/docs/EzsignformfieldgroupResponse.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **e_ezsignformfieldgroup_signerrequirement** | [**FieldEEzsignformfieldgroupSignerrequirement**](FieldEEzsignformfieldgroupSignerrequirement.md) | | [optional] **s_ezsignformfieldgroup_label** | **str** | The Label for the Ezsignformfieldgroup | **i_ezsignformfieldgroup_step** | **int** | The step when the Ezsignsigner will be invited to fill the form fields | -**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **i_ezsignformfieldgroup_filledmin** | **int** | The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | **i_ezsignformfieldgroup_filledmax** | **int** | The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | **b_ezsignformfieldgroup_readonly** | **bool** | Whether the Ezsignformfieldgroup is read only or not. | @@ -20,6 +20,7 @@ Name | Type | Description | Notes **b_ezsignformfieldgroup_encrypted** | **bool** | Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] **e_ezsignformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] **s_ezsignformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsignformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **t_ezsignformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup | [optional] **e_ezsignformfieldgroup_tooltipposition** | [**FieldEEzsignformfieldgroupTooltipposition**](FieldEEzsignformfieldgroupTooltipposition.md) | | [optional] @@ -38,7 +39,7 @@ print(EzsignformfieldgroupResponse.to_json()) # convert the object into a dict ezsignformfieldgroup_response_dict = ezsignformfieldgroup_response_instance.to_dict() # create an instance of EzsignformfieldgroupResponse from a dict -ezsignformfieldgroup_response_form_dict = ezsignformfieldgroup_response.from_dict(ezsignformfieldgroup_response_dict) +ezsignformfieldgroup_response_from_dict = EzsignformfieldgroupResponse.from_dict(ezsignformfieldgroup_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupResponseCompound.md b/docs/EzsignformfieldgroupResponseCompound.md index 285814cbc..3e27f1971 100644 --- a/docs/EzsignformfieldgroupResponseCompound.md +++ b/docs/EzsignformfieldgroupResponseCompound.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **e_ezsignformfieldgroup_signerrequirement** | [**FieldEEzsignformfieldgroupSignerrequirement**](FieldEEzsignformfieldgroupSignerrequirement.md) | | [optional] **s_ezsignformfieldgroup_label** | **str** | The Label for the Ezsignformfieldgroup | **i_ezsignformfieldgroup_step** | **int** | The step when the Ezsignsigner will be invited to fill the form fields | -**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **i_ezsignformfieldgroup_filledmin** | **int** | The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | **i_ezsignformfieldgroup_filledmax** | **int** | The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | **b_ezsignformfieldgroup_readonly** | **bool** | Whether the Ezsignformfieldgroup is read only or not. | @@ -20,6 +20,7 @@ Name | Type | Description | Notes **b_ezsignformfieldgroup_encrypted** | **bool** | Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] **e_ezsignformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] **s_ezsignformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsignformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **t_ezsignformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup | [optional] **e_ezsignformfieldgroup_tooltipposition** | [**FieldEEzsignformfieldgroupTooltipposition**](FieldEEzsignformfieldgroupTooltipposition.md) | | [optional] **a_obj_ezsignformfield** | [**List[EzsignformfieldResponseCompound]**](EzsignformfieldResponseCompound.md) | | @@ -41,7 +42,7 @@ print(EzsignformfieldgroupResponseCompound.to_json()) # convert the object into a dict ezsignformfieldgroup_response_compound_dict = ezsignformfieldgroup_response_compound_instance.to_dict() # create an instance of EzsignformfieldgroupResponseCompound from a dict -ezsignformfieldgroup_response_compound_form_dict = ezsignformfieldgroup_response_compound.from_dict(ezsignformfieldgroup_response_compound_dict) +ezsignformfieldgroup_response_compound_from_dict = EzsignformfieldgroupResponseCompound.from_dict(ezsignformfieldgroup_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupsignerRequest.md b/docs/EzsignformfieldgroupsignerRequest.md index 9dc736d72..01bf41ecf 100644 --- a/docs/EzsignformfieldgroupsignerRequest.md +++ b/docs/EzsignformfieldgroupsignerRequest.md @@ -24,7 +24,7 @@ print(EzsignformfieldgroupsignerRequest.to_json()) # convert the object into a dict ezsignformfieldgroupsigner_request_dict = ezsignformfieldgroupsigner_request_instance.to_dict() # create an instance of EzsignformfieldgroupsignerRequest from a dict -ezsignformfieldgroupsigner_request_form_dict = ezsignformfieldgroupsigner_request.from_dict(ezsignformfieldgroupsigner_request_dict) +ezsignformfieldgroupsigner_request_from_dict = EzsignformfieldgroupsignerRequest.from_dict(ezsignformfieldgroupsigner_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupsignerRequestCompound.md b/docs/EzsignformfieldgroupsignerRequestCompound.md index 4b53d0d72..8c943fd83 100644 --- a/docs/EzsignformfieldgroupsignerRequestCompound.md +++ b/docs/EzsignformfieldgroupsignerRequestCompound.md @@ -24,7 +24,7 @@ print(EzsignformfieldgroupsignerRequestCompound.to_json()) # convert the object into a dict ezsignformfieldgroupsigner_request_compound_dict = ezsignformfieldgroupsigner_request_compound_instance.to_dict() # create an instance of EzsignformfieldgroupsignerRequestCompound from a dict -ezsignformfieldgroupsigner_request_compound_form_dict = ezsignformfieldgroupsigner_request_compound.from_dict(ezsignformfieldgroupsigner_request_compound_dict) +ezsignformfieldgroupsigner_request_compound_from_dict = EzsignformfieldgroupsignerRequestCompound.from_dict(ezsignformfieldgroupsigner_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupsignerResponse.md b/docs/EzsignformfieldgroupsignerResponse.md index 6d1d93fe7..4451d3b9d 100644 --- a/docs/EzsignformfieldgroupsignerResponse.md +++ b/docs/EzsignformfieldgroupsignerResponse.md @@ -24,7 +24,7 @@ print(EzsignformfieldgroupsignerResponse.to_json()) # convert the object into a dict ezsignformfieldgroupsigner_response_dict = ezsignformfieldgroupsigner_response_instance.to_dict() # create an instance of EzsignformfieldgroupsignerResponse from a dict -ezsignformfieldgroupsigner_response_form_dict = ezsignformfieldgroupsigner_response.from_dict(ezsignformfieldgroupsigner_response_dict) +ezsignformfieldgroupsigner_response_from_dict = EzsignformfieldgroupsignerResponse.from_dict(ezsignformfieldgroupsigner_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignformfieldgroupsignerResponseCompound.md b/docs/EzsignformfieldgroupsignerResponseCompound.md index be319e8ff..54219ed8f 100644 --- a/docs/EzsignformfieldgroupsignerResponseCompound.md +++ b/docs/EzsignformfieldgroupsignerResponseCompound.md @@ -24,7 +24,7 @@ print(EzsignformfieldgroupsignerResponseCompound.to_json()) # convert the object into a dict ezsignformfieldgroupsigner_response_compound_dict = ezsignformfieldgroupsigner_response_compound_instance.to_dict() # create an instance of EzsignformfieldgroupsignerResponseCompound from a dict -ezsignformfieldgroupsigner_response_compound_form_dict = ezsignformfieldgroupsigner_response_compound.from_dict(ezsignformfieldgroupsigner_response_compound_dict) +ezsignformfieldgroupsigner_response_compound_from_dict = EzsignformfieldgroupsignerResponseCompound.from_dict(ezsignformfieldgroupsigner_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignpageConsultV1Response.md b/docs/EzsignpageConsultV1Response.md index bdbe7a113..0a547cf57 100644 --- a/docs/EzsignpageConsultV1Response.md +++ b/docs/EzsignpageConsultV1Response.md @@ -24,7 +24,7 @@ print(EzsignpageConsultV1Response.to_json()) # convert the object into a dict ezsignpage_consult_v1_response_dict = ezsignpage_consult_v1_response_instance.to_dict() # create an instance of EzsignpageConsultV1Response from a dict -ezsignpage_consult_v1_response_form_dict = ezsignpage_consult_v1_response.from_dict(ezsignpage_consult_v1_response_dict) +ezsignpage_consult_v1_response_from_dict = EzsignpageConsultV1Response.from_dict(ezsignpage_consult_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignpageResponse.md b/docs/EzsignpageResponse.md index 35a08dbcf..c689005ac 100644 --- a/docs/EzsignpageResponse.md +++ b/docs/EzsignpageResponse.md @@ -29,7 +29,7 @@ print(EzsignpageResponse.to_json()) # convert the object into a dict ezsignpage_response_dict = ezsignpage_response_instance.to_dict() # create an instance of EzsignpageResponse from a dict -ezsignpage_response_form_dict = ezsignpage_response.from_dict(ezsignpage_response_dict) +ezsignpage_response_from_dict = EzsignpageResponse.from_dict(ezsignpage_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignpageResponseCompound.md b/docs/EzsignpageResponseCompound.md index a89f3f1f2..1689deeee 100644 --- a/docs/EzsignpageResponseCompound.md +++ b/docs/EzsignpageResponseCompound.md @@ -29,7 +29,7 @@ print(EzsignpageResponseCompound.to_json()) # convert the object into a dict ezsignpage_response_compound_dict = ezsignpage_response_compound_instance.to_dict() # create an instance of EzsignpageResponseCompound from a dict -ezsignpage_response_compound_form_dict = ezsignpage_response_compound.from_dict(ezsignpage_response_compound_dict) +ezsignpage_response_compound_from_dict = EzsignpageResponseCompound.from_dict(ezsignpage_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureCreateObjectV1Request.md b/docs/EzsignsignatureCreateObjectV1Request.md index be55bc5d6..2e0c918aa 100644 --- a/docs/EzsignsignatureCreateObjectV1Request.md +++ b/docs/EzsignsignatureCreateObjectV1Request.md @@ -24,7 +24,7 @@ print(EzsignsignatureCreateObjectV1Request.to_json()) # convert the object into a dict ezsignsignature_create_object_v1_request_dict = ezsignsignature_create_object_v1_request_instance.to_dict() # create an instance of EzsignsignatureCreateObjectV1Request from a dict -ezsignsignature_create_object_v1_request_form_dict = ezsignsignature_create_object_v1_request.from_dict(ezsignsignature_create_object_v1_request_dict) +ezsignsignature_create_object_v1_request_from_dict = EzsignsignatureCreateObjectV1Request.from_dict(ezsignsignature_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureCreateObjectV1Response.md b/docs/EzsignsignatureCreateObjectV1Response.md index b935b55c9..75ab1470e 100644 --- a/docs/EzsignsignatureCreateObjectV1Response.md +++ b/docs/EzsignsignatureCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignsignatureCreateObjectV1Response.to_json()) # convert the object into a dict ezsignsignature_create_object_v1_response_dict = ezsignsignature_create_object_v1_response_instance.to_dict() # create an instance of EzsignsignatureCreateObjectV1Response from a dict -ezsignsignature_create_object_v1_response_form_dict = ezsignsignature_create_object_v1_response.from_dict(ezsignsignature_create_object_v1_response_dict) +ezsignsignature_create_object_v1_response_from_dict = EzsignsignatureCreateObjectV1Response.from_dict(ezsignsignature_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureCreateObjectV1ResponseMPayload.md b/docs/EzsignsignatureCreateObjectV1ResponseMPayload.md index 0f9d36c14..bb059521a 100644 --- a/docs/EzsignsignatureCreateObjectV1ResponseMPayload.md +++ b/docs/EzsignsignatureCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsignatureCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignsignature_create_object_v1_response_m_payload_dict = ezsignsignature_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignsignatureCreateObjectV1ResponseMPayload from a dict -ezsignsignature_create_object_v1_response_m_payload_form_dict = ezsignsignature_create_object_v1_response_m_payload.from_dict(ezsignsignature_create_object_v1_response_m_payload_dict) +ezsignsignature_create_object_v1_response_m_payload_from_dict = EzsignsignatureCreateObjectV1ResponseMPayload.from_dict(ezsignsignature_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureCreateObjectV2Request.md b/docs/EzsignsignatureCreateObjectV2Request.md index 10e8cb0d3..155856b64 100644 --- a/docs/EzsignsignatureCreateObjectV2Request.md +++ b/docs/EzsignsignatureCreateObjectV2Request.md @@ -23,7 +23,7 @@ print(EzsignsignatureCreateObjectV2Request.to_json()) # convert the object into a dict ezsignsignature_create_object_v2_request_dict = ezsignsignature_create_object_v2_request_instance.to_dict() # create an instance of EzsignsignatureCreateObjectV2Request from a dict -ezsignsignature_create_object_v2_request_form_dict = ezsignsignature_create_object_v2_request.from_dict(ezsignsignature_create_object_v2_request_dict) +ezsignsignature_create_object_v2_request_from_dict = EzsignsignatureCreateObjectV2Request.from_dict(ezsignsignature_create_object_v2_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureCreateObjectV2Response.md b/docs/EzsignsignatureCreateObjectV2Response.md index eebbcca75..7d5fd5935 100644 --- a/docs/EzsignsignatureCreateObjectV2Response.md +++ b/docs/EzsignsignatureCreateObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignsignatureCreateObjectV2Response.to_json()) # convert the object into a dict ezsignsignature_create_object_v2_response_dict = ezsignsignature_create_object_v2_response_instance.to_dict() # create an instance of EzsignsignatureCreateObjectV2Response from a dict -ezsignsignature_create_object_v2_response_form_dict = ezsignsignature_create_object_v2_response.from_dict(ezsignsignature_create_object_v2_response_dict) +ezsignsignature_create_object_v2_response_from_dict = EzsignsignatureCreateObjectV2Response.from_dict(ezsignsignature_create_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureCreateObjectV2ResponseMPayload.md b/docs/EzsignsignatureCreateObjectV2ResponseMPayload.md index 3456b9069..ff2f718d2 100644 --- a/docs/EzsignsignatureCreateObjectV2ResponseMPayload.md +++ b/docs/EzsignsignatureCreateObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsignatureCreateObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignsignature_create_object_v2_response_m_payload_dict = ezsignsignature_create_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignsignatureCreateObjectV2ResponseMPayload from a dict -ezsignsignature_create_object_v2_response_m_payload_form_dict = ezsignsignature_create_object_v2_response_m_payload.from_dict(ezsignsignature_create_object_v2_response_m_payload_dict) +ezsignsignature_create_object_v2_response_m_payload_from_dict = EzsignsignatureCreateObjectV2ResponseMPayload.from_dict(ezsignsignature_create_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureCreateObjectV3Request.md b/docs/EzsignsignatureCreateObjectV3Request.md new file mode 100644 index 000000000..5e5bcafeb --- /dev/null +++ b/docs/EzsignsignatureCreateObjectV3Request.md @@ -0,0 +1,30 @@ +# EzsignsignatureCreateObjectV3Request + +Request for POST /3/object/ezsignsignature + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsignsignature** | [**List[EzsignsignatureRequestCompoundV2]**](EzsignsignatureRequestCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignsignature_create_object_v3_request import EzsignsignatureCreateObjectV3Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignatureCreateObjectV3Request from a JSON string +ezsignsignature_create_object_v3_request_instance = EzsignsignatureCreateObjectV3Request.from_json(json) +# print the JSON string representation of the object +print(EzsignsignatureCreateObjectV3Request.to_json()) + +# convert the object into a dict +ezsignsignature_create_object_v3_request_dict = ezsignsignature_create_object_v3_request_instance.to_dict() +# create an instance of EzsignsignatureCreateObjectV3Request from a dict +ezsignsignature_create_object_v3_request_from_dict = EzsignsignatureCreateObjectV3Request.from_dict(ezsignsignature_create_object_v3_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignatureCreateObjectV3Response.md b/docs/EzsignsignatureCreateObjectV3Response.md new file mode 100644 index 000000000..c9bec9c6f --- /dev/null +++ b/docs/EzsignsignatureCreateObjectV3Response.md @@ -0,0 +1,32 @@ +# EzsignsignatureCreateObjectV3Response + +Response for POST /3/object/ezsignsignature + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignsignatureCreateObjectV3ResponseMPayload**](EzsignsignatureCreateObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignsignature_create_object_v3_response import EzsignsignatureCreateObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignatureCreateObjectV3Response from a JSON string +ezsignsignature_create_object_v3_response_instance = EzsignsignatureCreateObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsignsignatureCreateObjectV3Response.to_json()) + +# convert the object into a dict +ezsignsignature_create_object_v3_response_dict = ezsignsignature_create_object_v3_response_instance.to_dict() +# create an instance of EzsignsignatureCreateObjectV3Response from a dict +ezsignsignature_create_object_v3_response_from_dict = EzsignsignatureCreateObjectV3Response.from_dict(ezsignsignature_create_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignatureCreateObjectV3ResponseMPayload.md b/docs/EzsignsignatureCreateObjectV3ResponseMPayload.md new file mode 100644 index 000000000..c6aab6c73 --- /dev/null +++ b/docs/EzsignsignatureCreateObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsignsignatureCreateObjectV3ResponseMPayload + +Payload for POST /3/object/ezsignsignature + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezsignsignature_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.ezsignsignature_create_object_v3_response_m_payload import EzsignsignatureCreateObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignatureCreateObjectV3ResponseMPayload from a JSON string +ezsignsignature_create_object_v3_response_m_payload_instance = EzsignsignatureCreateObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignsignatureCreateObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignsignature_create_object_v3_response_m_payload_dict = ezsignsignature_create_object_v3_response_m_payload_instance.to_dict() +# create an instance of EzsignsignatureCreateObjectV3ResponseMPayload from a dict +ezsignsignature_create_object_v3_response_m_payload_from_dict = EzsignsignatureCreateObjectV3ResponseMPayload.from_dict(ezsignsignature_create_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignatureDeleteObjectV1Response.md b/docs/EzsignsignatureDeleteObjectV1Response.md index 50f8d44c9..608fc1d42 100644 --- a/docs/EzsignsignatureDeleteObjectV1Response.md +++ b/docs/EzsignsignatureDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignsignatureDeleteObjectV1Response.to_json()) # convert the object into a dict ezsignsignature_delete_object_v1_response_dict = ezsignsignature_delete_object_v1_response_instance.to_dict() # create an instance of EzsignsignatureDeleteObjectV1Response from a dict -ezsignsignature_delete_object_v1_response_form_dict = ezsignsignature_delete_object_v1_response.from_dict(ezsignsignature_delete_object_v1_response_dict) +ezsignsignature_delete_object_v1_response_from_dict = EzsignsignatureDeleteObjectV1Response.from_dict(ezsignsignature_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureEditObjectV1Request.md b/docs/EzsignsignatureEditObjectV1Request.md deleted file mode 100644 index 49e5e85ae..000000000 --- a/docs/EzsignsignatureEditObjectV1Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsignsignatureEditObjectV1Request - -Request for PUT /1/object/ezsignsignature/{pkiEzsignsignatureID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsignsignature** | [**EzsignsignatureRequestCompound**](EzsignsignatureRequestCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignsignature_edit_object_v1_request import EzsignsignatureEditObjectV1Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignsignatureEditObjectV1Request from a JSON string -ezsignsignature_edit_object_v1_request_instance = EzsignsignatureEditObjectV1Request.from_json(json) -# print the JSON string representation of the object -print(EzsignsignatureEditObjectV1Request.to_json()) - -# convert the object into a dict -ezsignsignature_edit_object_v1_request_dict = ezsignsignature_edit_object_v1_request_instance.to_dict() -# create an instance of EzsignsignatureEditObjectV1Request from a dict -ezsignsignature_edit_object_v1_request_form_dict = ezsignsignature_edit_object_v1_request.from_dict(ezsignsignature_edit_object_v1_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignsignatureEditObjectV1Response.md b/docs/EzsignsignatureEditObjectV1Response.md deleted file mode 100644 index 12bff5177..000000000 --- a/docs/EzsignsignatureEditObjectV1Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# EzsignsignatureEditObjectV1Response - -Response for PUT /1/object/ezsignsignature/{pkiEzsignsignatureID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsignsignature_edit_object_v1_response import EzsignsignatureEditObjectV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignsignatureEditObjectV1Response from a JSON string -ezsignsignature_edit_object_v1_response_instance = EzsignsignatureEditObjectV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsignsignatureEditObjectV1Response.to_json()) - -# convert the object into a dict -ezsignsignature_edit_object_v1_response_dict = ezsignsignature_edit_object_v1_response_instance.to_dict() -# create an instance of EzsignsignatureEditObjectV1Response from a dict -ezsignsignature_edit_object_v1_response_form_dict = ezsignsignature_edit_object_v1_response.from_dict(ezsignsignature_edit_object_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignsignatureEditObjectV2Request.md b/docs/EzsignsignatureEditObjectV2Request.md new file mode 100644 index 000000000..123de2d2e --- /dev/null +++ b/docs/EzsignsignatureEditObjectV2Request.md @@ -0,0 +1,30 @@ +# EzsignsignatureEditObjectV2Request + +Request for PUT /2/object/ezsignsignature/{pkiEzsignsignatureID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignsignature** | [**EzsignsignatureRequestCompoundV2**](EzsignsignatureRequestCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignsignature_edit_object_v2_request import EzsignsignatureEditObjectV2Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignatureEditObjectV2Request from a JSON string +ezsignsignature_edit_object_v2_request_instance = EzsignsignatureEditObjectV2Request.from_json(json) +# print the JSON string representation of the object +print(EzsignsignatureEditObjectV2Request.to_json()) + +# convert the object into a dict +ezsignsignature_edit_object_v2_request_dict = ezsignsignature_edit_object_v2_request_instance.to_dict() +# create an instance of EzsignsignatureEditObjectV2Request from a dict +ezsignsignature_edit_object_v2_request_from_dict = EzsignsignatureEditObjectV2Request.from_dict(ezsignsignature_edit_object_v2_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignatureEditObjectV2Response.md b/docs/EzsignsignatureEditObjectV2Response.md new file mode 100644 index 000000000..d21150dcd --- /dev/null +++ b/docs/EzsignsignatureEditObjectV2Response.md @@ -0,0 +1,31 @@ +# EzsignsignatureEditObjectV2Response + +Response for PUT /2/object/ezsignsignature/{pkiEzsignsignatureID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignsignature_edit_object_v2_response import EzsignsignatureEditObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignatureEditObjectV2Response from a JSON string +ezsignsignature_edit_object_v2_response_instance = EzsignsignatureEditObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(EzsignsignatureEditObjectV2Response.to_json()) + +# convert the object into a dict +ezsignsignature_edit_object_v2_response_dict = ezsignsignature_edit_object_v2_response_instance.to_dict() +# create an instance of EzsignsignatureEditObjectV2Response from a dict +ezsignsignature_edit_object_v2_response_from_dict = EzsignsignatureEditObjectV2Response.from_dict(ezsignsignature_edit_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md b/docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md index d1a7558ed..7f63be9e0 100644 --- a/docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md +++ b/docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md @@ -25,7 +25,7 @@ print(EzsignsignatureGetEzsignsignatureattachmentV1Response.to_json()) # convert the object into a dict ezsignsignature_get_ezsignsignatureattachment_v1_response_dict = ezsignsignature_get_ezsignsignatureattachment_v1_response_instance.to_dict() # create an instance of EzsignsignatureGetEzsignsignatureattachmentV1Response from a dict -ezsignsignature_get_ezsignsignatureattachment_v1_response_form_dict = ezsignsignature_get_ezsignsignatureattachment_v1_response.from_dict(ezsignsignature_get_ezsignsignatureattachment_v1_response_dict) +ezsignsignature_get_ezsignsignatureattachment_v1_response_from_dict = EzsignsignatureGetEzsignsignatureattachmentV1Response.from_dict(ezsignsignature_get_ezsignsignatureattachment_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload.md b/docs/EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload.md index e155a213b..d35252f9a 100644 --- a/docs/EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload.md +++ b/docs/EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload.to_json()) # convert the object into a dict ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload_dict = ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload_instance.to_dict() # create an instance of EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload from a dict -ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload_form_dict = ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.from_dict(ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload_dict) +ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload_from_dict = EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload.from_dict(ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md index 90c88a38e..50a6a33e2 100644 --- a/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md @@ -25,7 +25,7 @@ print(EzsignsignatureGetEzsignsignaturesAutomaticV1Response.to_json()) # convert the object into a dict ezsignsignature_get_ezsignsignatures_automatic_v1_response_dict = ezsignsignature_get_ezsignsignatures_automatic_v1_response_instance.to_dict() # create an instance of EzsignsignatureGetEzsignsignaturesAutomaticV1Response from a dict -ezsignsignature_get_ezsignsignatures_automatic_v1_response_form_dict = ezsignsignature_get_ezsignsignatures_automatic_v1_response.from_dict(ezsignsignature_get_ezsignsignatures_automatic_v1_response_dict) +ezsignsignature_get_ezsignsignatures_automatic_v1_response_from_dict = EzsignsignatureGetEzsignsignaturesAutomaticV1Response.from_dict(ezsignsignature_get_ezsignsignatures_automatic_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload.md b/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload.md index 47fdd20c1..1d110b548 100644 --- a/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload.md +++ b/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload.to_json()) # convert the object into a dict ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload_dict = ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload_instance.to_dict() # create an instance of EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload from a dict -ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload_form_dict = ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.from_dict(ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload_dict) +ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload_from_dict = EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload.from_dict(ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureGetObjectV2Response.md b/docs/EzsignsignatureGetObjectV2Response.md deleted file mode 100644 index d6e22e67d..000000000 --- a/docs/EzsignsignatureGetObjectV2Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsignsignatureGetObjectV2Response - -Response for GET /2/object/ezsignsignature/{pkiEzsignsignatureID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsignsignatureGetObjectV2ResponseMPayload**](EzsignsignatureGetObjectV2ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignsignature_get_object_v2_response import EzsignsignatureGetObjectV2Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignsignatureGetObjectV2Response from a JSON string -ezsignsignature_get_object_v2_response_instance = EzsignsignatureGetObjectV2Response.from_json(json) -# print the JSON string representation of the object -print(EzsignsignatureGetObjectV2Response.to_json()) - -# convert the object into a dict -ezsignsignature_get_object_v2_response_dict = ezsignsignature_get_object_v2_response_instance.to_dict() -# create an instance of EzsignsignatureGetObjectV2Response from a dict -ezsignsignature_get_object_v2_response_form_dict = ezsignsignature_get_object_v2_response.from_dict(ezsignsignature_get_object_v2_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignsignatureGetObjectV2ResponseMPayload.md b/docs/EzsignsignatureGetObjectV2ResponseMPayload.md deleted file mode 100644 index 6ae31a739..000000000 --- a/docs/EzsignsignatureGetObjectV2ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsignsignatureGetObjectV2ResponseMPayload - -Payload for GET /2/object/ezsignsignature/{pkiEzsignsignatureID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsignsignature** | [**EzsignsignatureResponseCompound**](EzsignsignatureResponseCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsignsignature_get_object_v2_response_m_payload import EzsignsignatureGetObjectV2ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsignsignatureGetObjectV2ResponseMPayload from a JSON string -ezsignsignature_get_object_v2_response_m_payload_instance = EzsignsignatureGetObjectV2ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsignsignatureGetObjectV2ResponseMPayload.to_json()) - -# convert the object into a dict -ezsignsignature_get_object_v2_response_m_payload_dict = ezsignsignature_get_object_v2_response_m_payload_instance.to_dict() -# create an instance of EzsignsignatureGetObjectV2ResponseMPayload from a dict -ezsignsignature_get_object_v2_response_m_payload_form_dict = ezsignsignature_get_object_v2_response_m_payload.from_dict(ezsignsignature_get_object_v2_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsignsignatureGetObjectV3Response.md b/docs/EzsignsignatureGetObjectV3Response.md new file mode 100644 index 000000000..0d4bebbe0 --- /dev/null +++ b/docs/EzsignsignatureGetObjectV3Response.md @@ -0,0 +1,32 @@ +# EzsignsignatureGetObjectV3Response + +Response for GET /3/object/ezsignsignature/{pkiEzsignsignatureID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignsignatureGetObjectV3ResponseMPayload**](EzsignsignatureGetObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignsignature_get_object_v3_response import EzsignsignatureGetObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignatureGetObjectV3Response from a JSON string +ezsignsignature_get_object_v3_response_instance = EzsignsignatureGetObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsignsignatureGetObjectV3Response.to_json()) + +# convert the object into a dict +ezsignsignature_get_object_v3_response_dict = ezsignsignature_get_object_v3_response_instance.to_dict() +# create an instance of EzsignsignatureGetObjectV3Response from a dict +ezsignsignature_get_object_v3_response_from_dict = EzsignsignatureGetObjectV3Response.from_dict(ezsignsignature_get_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignatureGetObjectV3ResponseMPayload.md b/docs/EzsignsignatureGetObjectV3ResponseMPayload.md new file mode 100644 index 000000000..94f0312b0 --- /dev/null +++ b/docs/EzsignsignatureGetObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsignsignatureGetObjectV3ResponseMPayload + +Payload for GET /3/object/ezsignsignature/{pkiEzsignsignatureID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignsignature** | [**EzsignsignatureResponseCompoundV3**](EzsignsignatureResponseCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignsignature_get_object_v3_response_m_payload import EzsignsignatureGetObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignatureGetObjectV3ResponseMPayload from a JSON string +ezsignsignature_get_object_v3_response_m_payload_instance = EzsignsignatureGetObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignsignatureGetObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignsignature_get_object_v3_response_m_payload_dict = ezsignsignature_get_object_v3_response_m_payload_instance.to_dict() +# create an instance of EzsignsignatureGetObjectV3ResponseMPayload from a dict +ezsignsignature_get_object_v3_response_m_payload_from_dict = EzsignsignatureGetObjectV3ResponseMPayload.from_dict(ezsignsignature_get_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignatureRequest.md b/docs/EzsignsignatureRequest.md index 401096454..e7d309fe3 100644 --- a/docs/EzsignsignatureRequest.md +++ b/docs/EzsignsignatureRequest.md @@ -20,12 +20,17 @@ Name | Type | Description | Notes **e_ezsignsignature_tooltipposition** | [**FieldEEzsignsignatureTooltipposition**](FieldEEzsignsignatureTooltipposition.md) | | [optional] **e_ezsignsignature_font** | [**FieldEEzsignsignatureFont**](FieldEEzsignsignatureFont.md) | | [optional] **fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] -**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments. | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] **e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] **s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] **i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] **i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] **e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] @@ -44,7 +49,7 @@ print(EzsignsignatureRequest.to_json()) # convert the object into a dict ezsignsignature_request_dict = ezsignsignature_request_instance.to_dict() # create an instance of EzsignsignatureRequest from a dict -ezsignsignature_request_form_dict = ezsignsignature_request.from_dict(ezsignsignature_request_dict) +ezsignsignature_request_from_dict = EzsignsignatureRequest.from_dict(ezsignsignature_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureRequestCompound.md b/docs/EzsignsignatureRequestCompound.md index 7a135926b..612a1e017 100644 --- a/docs/EzsignsignatureRequestCompound.md +++ b/docs/EzsignsignatureRequestCompound.md @@ -20,12 +20,17 @@ Name | Type | Description | Notes **e_ezsignsignature_tooltipposition** | [**FieldEEzsignsignatureTooltipposition**](FieldEEzsignsignatureTooltipposition.md) | | [optional] **e_ezsignsignature_font** | [**FieldEEzsignsignatureFont**](FieldEEzsignsignatureFont.md) | | [optional] **fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] -**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments. | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] **e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] **s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] **i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] **i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] **e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] **b_ezsignsignature_customdate** | **bool** | Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**) | [optional] @@ -47,7 +52,7 @@ print(EzsignsignatureRequestCompound.to_json()) # convert the object into a dict ezsignsignature_request_compound_dict = ezsignsignature_request_compound_instance.to_dict() # create an instance of EzsignsignatureRequestCompound from a dict -ezsignsignature_request_compound_form_dict = ezsignsignature_request_compound.from_dict(ezsignsignature_request_compound_dict) +ezsignsignature_request_compound_from_dict = EzsignsignatureRequestCompound.from_dict(ezsignsignature_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureRequestCompoundV2.md b/docs/EzsignsignatureRequestCompoundV2.md new file mode 100644 index 000000000..3a71d4ef3 --- /dev/null +++ b/docs/EzsignsignatureRequestCompoundV2.md @@ -0,0 +1,59 @@ +# EzsignsignatureRequestCompoundV2 + +An Ezsignsignature Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignsignature_id** | **int** | The unique ID of the Ezsignsignature | [optional] +**fki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | +**i_ezsignsignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignsignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignsignature_width** | **int** | The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth. | [optional] +**i_ezsignsignature_height** | **int** | The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight. | [optional] +**i_ezsignsignature_step** | **int** | The step when the Ezsignsigner will be invited to sign | +**e_ezsignsignature_type** | [**FieldEEzsignsignatureType**](FieldEEzsignsignatureType.md) | | +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**t_ezsignsignature_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignsignature | [optional] +**e_ezsignsignature_tooltipposition** | [**FieldEEzsignsignatureTooltipposition**](FieldEEzsignsignatureTooltipposition.md) | | [optional] +**e_ezsignsignature_font** | [**FieldEEzsignsignatureFont**](FieldEEzsignsignatureFont.md) | | [optional] +**fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] +**e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] +**s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] +**i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] +**e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] +**b_ezsignsignature_customdate** | **bool** | Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**) | [optional] +**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateRequestCompoundV2]**](EzsignsignaturecustomdateRequestCompoundV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyRequestCompound]**](EzsignelementdependencyRequestCompound.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignsignature_request_compound_v2 import EzsignsignatureRequestCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignatureRequestCompoundV2 from a JSON string +ezsignsignature_request_compound_v2_instance = EzsignsignatureRequestCompoundV2.from_json(json) +# print the JSON string representation of the object +print(EzsignsignatureRequestCompoundV2.to_json()) + +# convert the object into a dict +ezsignsignature_request_compound_v2_dict = ezsignsignature_request_compound_v2_instance.to_dict() +# create an instance of EzsignsignatureRequestCompoundV2 from a dict +ezsignsignature_request_compound_v2_from_dict = EzsignsignatureRequestCompoundV2.from_dict(ezsignsignature_request_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignatureResponse.md b/docs/EzsignsignatureResponse.md index bdb2399ba..9b21bc186 100644 --- a/docs/EzsignsignatureResponse.md +++ b/docs/EzsignsignatureResponse.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | **fki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | **fki_ezsignsigningreason_id** | **int** | The unique ID of the Ezsignsigningreason | [optional] +**fki_font_id** | **int** | The unique ID of the Font | [optional] **s_ezsignsigningreason_description_x** | **str** | The description of the Ezsignsigningreason in the language of the requester | [optional] **i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | **i_ezsignsignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | @@ -25,14 +26,19 @@ Name | Type | Description | Notes **i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] **s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] **e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] -**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments. | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] **fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] **dt_ezsignsignature_date** | **str** | The date the Ezsignsignature was signed | [optional] **i_ezsignsignatureattachment_count** | **int** | The count of Ezsignsignatureattachment | [optional] **s_ezsignsignature_description** | **str** | The value entered while signing Ezsignsignature of eEzsignsignatureType **City**, **FieldText** and **FieldTextarea** | [optional] **i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] **e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] **obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | **obj_contact_name_delegation** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | [optional] @@ -53,7 +59,7 @@ print(EzsignsignatureResponse.to_json()) # convert the object into a dict ezsignsignature_response_dict = ezsignsignature_response_instance.to_dict() # create an instance of EzsignsignatureResponse from a dict -ezsignsignature_response_form_dict = ezsignsignature_response.from_dict(ezsignsignature_response_dict) +ezsignsignature_response_from_dict = EzsignsignatureResponse.from_dict(ezsignsignature_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureResponseCompound.md b/docs/EzsignsignatureResponseCompound.md index 2cf510901..c27287e71 100644 --- a/docs/EzsignsignatureResponseCompound.md +++ b/docs/EzsignsignatureResponseCompound.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | **fki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | **fki_ezsignsigningreason_id** | **int** | The unique ID of the Ezsignsigningreason | [optional] +**fki_font_id** | **int** | The unique ID of the Font | [optional] **s_ezsignsigningreason_description_x** | **str** | The description of the Ezsignsigningreason in the language of the requester | [optional] **i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | **i_ezsignsignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | @@ -25,22 +26,29 @@ Name | Type | Description | Notes **i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] **s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] **e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] -**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments. | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] **fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] **dt_ezsignsignature_date** | **str** | The date the Ezsignsignature was signed | [optional] **i_ezsignsignatureattachment_count** | **int** | The count of Ezsignsignatureattachment | [optional] **s_ezsignsignature_description** | **str** | The value entered while signing Ezsignsignature of eEzsignsignatureType **City**, **FieldText** and **FieldTextarea** | [optional] **i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] **e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] **obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | **obj_contact_name_delegation** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | [optional] **obj_signature** | [**SignatureResponseCompound**](SignatureResponseCompound.md) | | [optional] +**dt_ezsignsignature_date_in_folder_timezone** | **str** | The date the Ezsignsignature was signed in folder's timezone | [optional] **b_ezsignsignature_customdate** | **bool** | Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**) | [optional] **a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateResponseCompound]**](EzsignsignaturecustomdateResponseCompound.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] **obj_creditcardtransaction** | [**CustomCreditcardtransactionResponse**](CustomCreditcardtransactionResponse.md) | | [optional] **a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyResponseCompound]**](EzsignelementdependencyResponseCompound.md) | | [optional] +**obj_timezone** | [**CustomTimezoneWithCodeResponse**](CustomTimezoneWithCodeResponse.md) | | [optional] ## Example @@ -57,7 +65,7 @@ print(EzsignsignatureResponseCompound.to_json()) # convert the object into a dict ezsignsignature_response_compound_dict = ezsignsignature_response_compound_instance.to_dict() # create an instance of EzsignsignatureResponseCompound from a dict -ezsignsignature_response_compound_form_dict = ezsignsignature_response_compound.from_dict(ezsignsignature_response_compound_dict) +ezsignsignature_response_compound_from_dict = EzsignsignatureResponseCompound.from_dict(ezsignsignature_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureResponseCompoundV3.md b/docs/EzsignsignatureResponseCompoundV3.md new file mode 100644 index 000000000..046c1b98e --- /dev/null +++ b/docs/EzsignsignatureResponseCompoundV3.md @@ -0,0 +1,70 @@ +# EzsignsignatureResponseCompoundV3 + +An Ezsignsignature Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignsignature_id** | **int** | The unique ID of the Ezsignsignature | +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**fki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | +**fki_ezsignsigningreason_id** | **int** | The unique ID of the Ezsignsigningreason | [optional] +**fki_font_id** | **int** | The unique ID of the Font | [optional] +**s_ezsignsigningreason_description_x** | **str** | The description of the Ezsignsigningreason in the language of the requester | [optional] +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | +**i_ezsignsignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignsignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignsignature_height** | **int** | The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight. | [optional] +**i_ezsignsignature_width** | **int** | The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth. | [optional] +**i_ezsignsignature_step** | **int** | The step when the Ezsignsigner will be invited to sign | +**i_ezsignsignature_stepadjusted** | **int** | The step when the Ezsignsigner will be invited to sign | [optional] +**e_ezsignsignature_type** | [**FieldEEzsignsignatureType**](FieldEEzsignsignatureType.md) | | +**t_ezsignsignature_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignsignature | [optional] +**e_ezsignsignature_tooltipposition** | [**FieldEEzsignsignatureTooltipposition**](FieldEEzsignsignatureTooltipposition.md) | | [optional] +**e_ezsignsignature_font** | [**FieldEEzsignsignatureFont**](FieldEEzsignsignatureFont.md) | | [optional] +**i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] +**fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] +**dt_ezsignsignature_date** | **str** | The date the Ezsignsignature was signed | [optional] +**i_ezsignsignatureattachment_count** | **int** | The count of Ezsignsignatureattachment | [optional] +**s_ezsignsignature_description** | **str** | The value entered while signing Ezsignsignature of eEzsignsignatureType **City**, **FieldText** and **FieldTextarea** | [optional] +**i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] +**e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] +**obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | +**obj_contact_name_delegation** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | [optional] +**obj_signature** | [**SignatureResponseCompound**](SignatureResponseCompound.md) | | [optional] +**b_ezsignsignature_customdate** | **bool** | Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**) | [optional] +**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateResponseCompoundV2]**](EzsignsignaturecustomdateResponseCompoundV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**obj_creditcardtransaction** | [**CustomCreditcardtransactionResponse**](CustomCreditcardtransactionResponse.md) | | [optional] +**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyResponseCompound]**](EzsignelementdependencyResponseCompound.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignsignature_response_compound_v3 import EzsignsignatureResponseCompoundV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignatureResponseCompoundV3 from a JSON string +ezsignsignature_response_compound_v3_instance = EzsignsignatureResponseCompoundV3.from_json(json) +# print the JSON string representation of the object +print(EzsignsignatureResponseCompoundV3.to_json()) + +# convert the object into a dict +ezsignsignature_response_compound_v3_dict = ezsignsignature_response_compound_v3_instance.to_dict() +# create an instance of EzsignsignatureResponseCompoundV3 from a dict +ezsignsignature_response_compound_v3_from_dict = EzsignsignatureResponseCompoundV3.from_dict(ezsignsignature_response_compound_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignatureSignV1Request.md b/docs/EzsignsignatureSignV1Request.md index d2a43b93a..735dd3193 100644 --- a/docs/EzsignsignatureSignV1Request.md +++ b/docs/EzsignsignatureSignV1Request.md @@ -7,12 +7,13 @@ Request for POST /1/object/ezsignsignature/{pkiEzsignsignatureID}/sign Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **fki_ezsignsigningreason_id** | **int** | The unique ID of the Ezsignsigningreason | [optional] +**fki_font_id** | **int** | The unique ID of the Font | [optional] **s_value** | **str** | The value required for the Ezsignsignature. This can only be set if eEzsignsignatureType is **City**, **FieldText** or **FieldTextarea** | [optional] **e_attachments_confirmation_decision** | **str** | Whether the attachment are accepted or refused. This can only be set if eEzsignsignatureType is **AttachmentsConfirmation** | [optional] **s_attachments_refusal_reason** | **str** | The reason of refused. This can only be set if eEzsignsignatureType is **AttachmentsConfirmation** | [optional] -**s_svg** | **str** | The SVG of the handwritten signature. This can only be set if eEzsignsignatureType is **Handwritten** and **bIsAutomatic** is false | [optional] +**s_svg** | **str** | The SVG of the signature. This can only be set if eEzsignsignatureType is **Signature**/**Initials** and **bIsAutomatic** is false | [optional] **a_obj_file** | [**List[CommonFile]**](CommonFile.md) | | [optional] -**b_is_automatic** | **bool** | Indicates if the Ezsignsignature was part of an automatic process or not. This can only be true if eEzsignsignatureType is **Acknowledgement**, **City**, **Handwritten**, **Initials**, **Name** or **Stamp**. | +**b_is_automatic** | **bool** | Indicates if the Ezsignsignature was part of an automatic process or not. This can only be true if eEzsignsignatureType is **Acknowledgement**, **City**, **Signature**, **Initials** or **Stamp**. | ## Example @@ -29,7 +30,7 @@ print(EzsignsignatureSignV1Request.to_json()) # convert the object into a dict ezsignsignature_sign_v1_request_dict = ezsignsignature_sign_v1_request_instance.to_dict() # create an instance of EzsignsignatureSignV1Request from a dict -ezsignsignature_sign_v1_request_form_dict = ezsignsignature_sign_v1_request.from_dict(ezsignsignature_sign_v1_request_dict) +ezsignsignature_sign_v1_request_from_dict = EzsignsignatureSignV1Request.from_dict(ezsignsignature_sign_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureSignV1Response.md b/docs/EzsignsignatureSignV1Response.md index 04f6e962c..d876a3dec 100644 --- a/docs/EzsignsignatureSignV1Response.md +++ b/docs/EzsignsignatureSignV1Response.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | **obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignsignatureSignV1ResponseMPayload**](EzsignsignatureSignV1ResponseMPayload.md) | | ## Example @@ -24,7 +25,7 @@ print(EzsignsignatureSignV1Response.to_json()) # convert the object into a dict ezsignsignature_sign_v1_response_dict = ezsignsignature_sign_v1_response_instance.to_dict() # create an instance of EzsignsignatureSignV1Response from a dict -ezsignsignature_sign_v1_response_form_dict = ezsignsignature_sign_v1_response.from_dict(ezsignsignature_sign_v1_response_dict) +ezsignsignature_sign_v1_response_from_dict = EzsignsignatureSignV1Response.from_dict(ezsignsignature_sign_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignatureSignV1ResponseMPayload.md b/docs/EzsignsignatureSignV1ResponseMPayload.md new file mode 100644 index 000000000..0a0c22943 --- /dev/null +++ b/docs/EzsignsignatureSignV1ResponseMPayload.md @@ -0,0 +1,31 @@ +# EzsignsignatureSignV1ResponseMPayload + +Response for POST /1/object/ezsignsignature/{pkiEzsignsignatureID}/sign + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dt_ezsignsignature_date_in_folder_timezone** | **str** | The date the Ezsignsignature was signed in folder's timezone | +**obj_timezone** | [**CustomTimezoneWithCodeResponse**](CustomTimezoneWithCodeResponse.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignsignature_sign_v1_response_m_payload import EzsignsignatureSignV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignatureSignV1ResponseMPayload from a JSON string +ezsignsignature_sign_v1_response_m_payload_instance = EzsignsignatureSignV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignsignatureSignV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignsignature_sign_v1_response_m_payload_dict = ezsignsignature_sign_v1_response_m_payload_instance.to_dict() +# create an instance of EzsignsignatureSignV1ResponseMPayload from a dict +ezsignsignature_sign_v1_response_m_payload_from_dict = EzsignsignatureSignV1ResponseMPayload.from_dict(ezsignsignature_sign_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignatureattachmentResponse.md b/docs/EzsignsignatureattachmentResponse.md index 66e81523b..e3c13ad3b 100644 --- a/docs/EzsignsignatureattachmentResponse.md +++ b/docs/EzsignsignatureattachmentResponse.md @@ -27,7 +27,7 @@ print(EzsignsignatureattachmentResponse.to_json()) # convert the object into a dict ezsignsignatureattachment_response_dict = ezsignsignatureattachment_response_instance.to_dict() # create an instance of EzsignsignatureattachmentResponse from a dict -ezsignsignatureattachment_response_form_dict = ezsignsignatureattachment_response.from_dict(ezsignsignatureattachment_response_dict) +ezsignsignatureattachment_response_from_dict = EzsignsignatureattachmentResponse.from_dict(ezsignsignatureattachment_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignaturecustomdateRequest.md b/docs/EzsignsignaturecustomdateRequest.md index ff42f2f08..b5721a458 100644 --- a/docs/EzsignsignaturecustomdateRequest.md +++ b/docs/EzsignsignaturecustomdateRequest.md @@ -28,7 +28,7 @@ print(EzsignsignaturecustomdateRequest.to_json()) # convert the object into a dict ezsignsignaturecustomdate_request_dict = ezsignsignaturecustomdate_request_instance.to_dict() # create an instance of EzsignsignaturecustomdateRequest from a dict -ezsignsignaturecustomdate_request_form_dict = ezsignsignaturecustomdate_request.from_dict(ezsignsignaturecustomdate_request_dict) +ezsignsignaturecustomdate_request_from_dict = EzsignsignaturecustomdateRequest.from_dict(ezsignsignaturecustomdate_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignaturecustomdateRequestCompound.md b/docs/EzsignsignaturecustomdateRequestCompound.md index e513fe9b7..b9a7f982e 100644 --- a/docs/EzsignsignaturecustomdateRequestCompound.md +++ b/docs/EzsignsignaturecustomdateRequestCompound.md @@ -28,7 +28,7 @@ print(EzsignsignaturecustomdateRequestCompound.to_json()) # convert the object into a dict ezsignsignaturecustomdate_request_compound_dict = ezsignsignaturecustomdate_request_compound_instance.to_dict() # create an instance of EzsignsignaturecustomdateRequestCompound from a dict -ezsignsignaturecustomdate_request_compound_form_dict = ezsignsignaturecustomdate_request_compound.from_dict(ezsignsignaturecustomdate_request_compound_dict) +ezsignsignaturecustomdate_request_compound_from_dict = EzsignsignaturecustomdateRequestCompound.from_dict(ezsignsignaturecustomdate_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignaturecustomdateRequestCompoundV2.md b/docs/EzsignsignaturecustomdateRequestCompoundV2.md new file mode 100644 index 000000000..f20dfed67 --- /dev/null +++ b/docs/EzsignsignaturecustomdateRequestCompoundV2.md @@ -0,0 +1,33 @@ +# EzsignsignaturecustomdateRequestCompoundV2 + +An Ezsignsignaturecustomdate Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignsignaturecustomdate_id** | **int** | The unique ID of the Ezsignsignaturecustomdate | [optional] +**i_ezsignsignaturecustomdate_offsetx** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 2 inches from the left of the signature, you would use \"200\" for the X coordinate. | +**i_ezsignsignaturecustomdate_offsety** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 3 inches from the top of the signature, you would use \"300\" for the Y coordinate. | +**s_ezsignsignaturecustomdate_format** | **str** | The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | | + +## Example + +```python +from eZmaxApi.models.ezsignsignaturecustomdate_request_compound_v2 import EzsignsignaturecustomdateRequestCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignaturecustomdateRequestCompoundV2 from a JSON string +ezsignsignaturecustomdate_request_compound_v2_instance = EzsignsignaturecustomdateRequestCompoundV2.from_json(json) +# print the JSON string representation of the object +print(EzsignsignaturecustomdateRequestCompoundV2.to_json()) + +# convert the object into a dict +ezsignsignaturecustomdate_request_compound_v2_dict = ezsignsignaturecustomdate_request_compound_v2_instance.to_dict() +# create an instance of EzsignsignaturecustomdateRequestCompoundV2 from a dict +ezsignsignaturecustomdate_request_compound_v2_from_dict = EzsignsignaturecustomdateRequestCompoundV2.from_dict(ezsignsignaturecustomdate_request_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignaturecustomdateRequestV2.md b/docs/EzsignsignaturecustomdateRequestV2.md new file mode 100644 index 000000000..625ebcd5c --- /dev/null +++ b/docs/EzsignsignaturecustomdateRequestV2.md @@ -0,0 +1,33 @@ +# EzsignsignaturecustomdateRequestV2 + +An Ezsignsignaturecustomdate Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignsignaturecustomdate_id** | **int** | The unique ID of the Ezsignsignaturecustomdate | [optional] +**i_ezsignsignaturecustomdate_offsetx** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 2 inches from the left of the signature, you would use \"200\" for the X coordinate. | +**i_ezsignsignaturecustomdate_offsety** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 3 inches from the top of the signature, you would use \"300\" for the Y coordinate. | +**s_ezsignsignaturecustomdate_format** | **str** | The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | | + +## Example + +```python +from eZmaxApi.models.ezsignsignaturecustomdate_request_v2 import EzsignsignaturecustomdateRequestV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignaturecustomdateRequestV2 from a JSON string +ezsignsignaturecustomdate_request_v2_instance = EzsignsignaturecustomdateRequestV2.from_json(json) +# print the JSON string representation of the object +print(EzsignsignaturecustomdateRequestV2.to_json()) + +# convert the object into a dict +ezsignsignaturecustomdate_request_v2_dict = ezsignsignaturecustomdate_request_v2_instance.to_dict() +# create an instance of EzsignsignaturecustomdateRequestV2 from a dict +ezsignsignaturecustomdate_request_v2_from_dict = EzsignsignaturecustomdateRequestV2.from_dict(ezsignsignaturecustomdate_request_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignaturecustomdateResponse.md b/docs/EzsignsignaturecustomdateResponse.md index 6f4031736..11397a245 100644 --- a/docs/EzsignsignaturecustomdateResponse.md +++ b/docs/EzsignsignaturecustomdateResponse.md @@ -28,7 +28,7 @@ print(EzsignsignaturecustomdateResponse.to_json()) # convert the object into a dict ezsignsignaturecustomdate_response_dict = ezsignsignaturecustomdate_response_instance.to_dict() # create an instance of EzsignsignaturecustomdateResponse from a dict -ezsignsignaturecustomdate_response_form_dict = ezsignsignaturecustomdate_response.from_dict(ezsignsignaturecustomdate_response_dict) +ezsignsignaturecustomdate_response_from_dict = EzsignsignaturecustomdateResponse.from_dict(ezsignsignaturecustomdate_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignaturecustomdateResponseCompound.md b/docs/EzsignsignaturecustomdateResponseCompound.md index c707e75b2..7b9fadd5f 100644 --- a/docs/EzsignsignaturecustomdateResponseCompound.md +++ b/docs/EzsignsignaturecustomdateResponseCompound.md @@ -28,7 +28,7 @@ print(EzsignsignaturecustomdateResponseCompound.to_json()) # convert the object into a dict ezsignsignaturecustomdate_response_compound_dict = ezsignsignaturecustomdate_response_compound_instance.to_dict() # create an instance of EzsignsignaturecustomdateResponseCompound from a dict -ezsignsignaturecustomdate_response_compound_form_dict = ezsignsignaturecustomdate_response_compound.from_dict(ezsignsignaturecustomdate_response_compound_dict) +ezsignsignaturecustomdate_response_compound_from_dict = EzsignsignaturecustomdateResponseCompound.from_dict(ezsignsignaturecustomdate_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignaturecustomdateResponseCompoundV2.md b/docs/EzsignsignaturecustomdateResponseCompoundV2.md new file mode 100644 index 000000000..9dc6858cf --- /dev/null +++ b/docs/EzsignsignaturecustomdateResponseCompoundV2.md @@ -0,0 +1,33 @@ +# EzsignsignaturecustomdateResponseCompoundV2 + +An Ezsignsignaturecustomdate Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignsignaturecustomdate_id** | **int** | The unique ID of the Ezsignsignaturecustomdate | +**i_ezsignsignaturecustomdate_offsetx** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 2 inches from the left of the signature, you would use \"200\" for the X coordinate. | +**i_ezsignsignaturecustomdate_offsety** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 3 inches from the top of the signature, you would use \"300\" for the Y coordinate. | +**s_ezsignsignaturecustomdate_format** | **str** | The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | | + +## Example + +```python +from eZmaxApi.models.ezsignsignaturecustomdate_response_compound_v2 import EzsignsignaturecustomdateResponseCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignaturecustomdateResponseCompoundV2 from a JSON string +ezsignsignaturecustomdate_response_compound_v2_instance = EzsignsignaturecustomdateResponseCompoundV2.from_json(json) +# print the JSON string representation of the object +print(EzsignsignaturecustomdateResponseCompoundV2.to_json()) + +# convert the object into a dict +ezsignsignaturecustomdate_response_compound_v2_dict = ezsignsignaturecustomdate_response_compound_v2_instance.to_dict() +# create an instance of EzsignsignaturecustomdateResponseCompoundV2 from a dict +ezsignsignaturecustomdate_response_compound_v2_from_dict = EzsignsignaturecustomdateResponseCompoundV2.from_dict(ezsignsignaturecustomdate_response_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignaturecustomdateResponseV2.md b/docs/EzsignsignaturecustomdateResponseV2.md new file mode 100644 index 000000000..6a259f845 --- /dev/null +++ b/docs/EzsignsignaturecustomdateResponseV2.md @@ -0,0 +1,33 @@ +# EzsignsignaturecustomdateResponseV2 + +An Ezsignsignaturecustomdate Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignsignaturecustomdate_id** | **int** | The unique ID of the Ezsignsignaturecustomdate | +**i_ezsignsignaturecustomdate_offsetx** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 2 inches from the left of the signature, you would use \"200\" for the X coordinate. | +**i_ezsignsignaturecustomdate_offsety** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 3 inches from the top of the signature, you would use \"300\" for the Y coordinate. | +**s_ezsignsignaturecustomdate_format** | **str** | The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | | + +## Example + +```python +from eZmaxApi.models.ezsignsignaturecustomdate_response_v2 import EzsignsignaturecustomdateResponseV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignsignaturecustomdateResponseV2 from a JSON string +ezsignsignaturecustomdate_response_v2_instance = EzsignsignaturecustomdateResponseV2.from_json(json) +# print the JSON string representation of the object +print(EzsignsignaturecustomdateResponseV2.to_json()) + +# convert the object into a dict +ezsignsignaturecustomdate_response_v2_dict = ezsignsignaturecustomdate_response_v2_instance.to_dict() +# create an instance of EzsignsignaturecustomdateResponseV2 from a dict +ezsignsignaturecustomdate_response_v2_from_dict = EzsignsignaturecustomdateResponseV2.from_dict(ezsignsignaturecustomdate_response_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignsignerRequest.md b/docs/EzsignsignerRequest.md index d3fbd5ba0..66628a8b8 100644 --- a/docs/EzsignsignerRequest.md +++ b/docs/EzsignsignerRequest.md @@ -6,7 +6,7 @@ An Ezsignsigner Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| | [optional] +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | [optional] **fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | **fki_secretquestion_id** | **int** | The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code| | [optional] **e_ezsignsigner_logintype** | **str** | The method the Ezsignsigner will authenticate to the signing platform. 1. **Password** means the Ezsignsigner will receive a secure link by email. 2. **PasswordPhone** means the Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**. 3. **PasswordQuestion** means the Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer. 4. **InPersonPhone** means the Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**. 5. **InPerson** means the Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type. | [optional] @@ -27,7 +27,7 @@ print(EzsignsignerRequest.to_json()) # convert the object into a dict ezsignsigner_request_dict = ezsignsigner_request_instance.to_dict() # create an instance of EzsignsignerRequest from a dict -ezsignsigner_request_form_dict = ezsignsigner_request.from_dict(ezsignsigner_request_dict) +ezsignsigner_request_from_dict = EzsignsignerRequest.from_dict(ezsignsigner_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignerRequestCompound.md b/docs/EzsignsignerRequestCompound.md index 4307e537a..669a4b22f 100644 --- a/docs/EzsignsignerRequestCompound.md +++ b/docs/EzsignsignerRequestCompound.md @@ -6,7 +6,7 @@ An Ezsignsigner Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| | [optional] +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | [optional] **fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | **fki_secretquestion_id** | **int** | The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code| | [optional] **e_ezsignsigner_logintype** | **str** | The method the Ezsignsigner will authenticate to the signing platform. 1. **Password** means the Ezsignsigner will receive a secure link by email. 2. **PasswordPhone** means the Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**. 3. **PasswordQuestion** means the Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer. 4. **InPersonPhone** means the Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**. 5. **InPerson** means the Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type. | [optional] @@ -28,7 +28,7 @@ print(EzsignsignerRequestCompound.to_json()) # convert the object into a dict ezsignsigner_request_compound_dict = ezsignsigner_request_compound_instance.to_dict() # create an instance of EzsignsignerRequestCompound from a dict -ezsignsigner_request_compound_form_dict = ezsignsigner_request_compound.from_dict(ezsignsigner_request_compound_dict) +ezsignsigner_request_compound_from_dict = EzsignsignerRequestCompound.from_dict(ezsignsigner_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignerRequestCompoundContact.md b/docs/EzsignsignerRequestCompoundContact.md index bd8792a35..63b381d71 100644 --- a/docs/EzsignsignerRequestCompoundContact.md +++ b/docs/EzsignsignerRequestCompoundContact.md @@ -31,7 +31,7 @@ print(EzsignsignerRequestCompoundContact.to_json()) # convert the object into a dict ezsignsigner_request_compound_contact_dict = ezsignsigner_request_compound_contact_instance.to_dict() # create an instance of EzsignsignerRequestCompoundContact from a dict -ezsignsigner_request_compound_contact_form_dict = ezsignsigner_request_compound_contact.from_dict(ezsignsigner_request_compound_contact_dict) +ezsignsigner_request_compound_contact_from_dict = EzsignsignerRequestCompoundContact.from_dict(ezsignsigner_request_compound_contact_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignerResponse.md b/docs/EzsignsignerResponse.md index 2e42ff017..2a4461bb9 100644 --- a/docs/EzsignsignerResponse.md +++ b/docs/EzsignsignerResponse.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **pki_ezsignsigner_id** | **int** | The unique ID of the Ezsignsigner | **fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | **fki_secretquestion_id** | **int** | The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code| | [optional] -**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| | +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | **s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | ## Example @@ -27,7 +27,7 @@ print(EzsignsignerResponse.to_json()) # convert the object into a dict ezsignsigner_response_dict = ezsignsigner_response_instance.to_dict() # create an instance of EzsignsignerResponse from a dict -ezsignsigner_response_form_dict = ezsignsigner_response.from_dict(ezsignsigner_response_dict) +ezsignsigner_response_from_dict = EzsignsignerResponse.from_dict(ezsignsigner_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignerResponseCompound.md b/docs/EzsignsignerResponseCompound.md index 56cd1b33d..773e43825 100644 --- a/docs/EzsignsignerResponseCompound.md +++ b/docs/EzsignsignerResponseCompound.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **pki_ezsignsigner_id** | **int** | The unique ID of the Ezsignsigner | **fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | **fki_secretquestion_id** | **int** | The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code| | [optional] -**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| | +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | **s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | **obj_contact** | [**EzsignsignerResponseCompoundContact**](EzsignsignerResponseCompoundContact.md) | | @@ -28,7 +28,7 @@ print(EzsignsignerResponseCompound.to_json()) # convert the object into a dict ezsignsigner_response_compound_dict = ezsignsigner_response_compound_instance.to_dict() # create an instance of EzsignsignerResponseCompound from a dict -ezsignsigner_response_compound_form_dict = ezsignsigner_response_compound.from_dict(ezsignsigner_response_compound_dict) +ezsignsigner_response_compound_from_dict = EzsignsignerResponseCompound.from_dict(ezsignsigner_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignerResponseCompoundContact.md b/docs/EzsignsignerResponseCompoundContact.md index fce4a8a32..3ea3b6eae 100644 --- a/docs/EzsignsignerResponseCompoundContact.md +++ b/docs/EzsignsignerResponseCompoundContact.md @@ -30,7 +30,7 @@ print(EzsignsignerResponseCompoundContact.to_json()) # convert the object into a dict ezsignsigner_response_compound_contact_dict = ezsignsigner_response_compound_contact_instance.to_dict() # create an instance of EzsignsignerResponseCompoundContact from a dict -ezsignsigner_response_compound_contact_form_dict = ezsignsigner_response_compound_contact.from_dict(ezsignsigner_response_compound_contact_dict) +ezsignsigner_response_compound_contact_from_dict = EzsignsignerResponseCompoundContact.from_dict(ezsignsigner_response_compound_contact_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupCreateObjectV1Request.md b/docs/EzsignsignergroupCreateObjectV1Request.md index f960835e3..5b7d72f53 100644 --- a/docs/EzsignsignergroupCreateObjectV1Request.md +++ b/docs/EzsignsignergroupCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignsignergroupCreateObjectV1Request.to_json()) # convert the object into a dict ezsignsignergroup_create_object_v1_request_dict = ezsignsignergroup_create_object_v1_request_instance.to_dict() # create an instance of EzsignsignergroupCreateObjectV1Request from a dict -ezsignsignergroup_create_object_v1_request_form_dict = ezsignsignergroup_create_object_v1_request.from_dict(ezsignsignergroup_create_object_v1_request_dict) +ezsignsignergroup_create_object_v1_request_from_dict = EzsignsignergroupCreateObjectV1Request.from_dict(ezsignsignergroup_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupCreateObjectV1Response.md b/docs/EzsignsignergroupCreateObjectV1Response.md index cfb38e137..6b724529d 100644 --- a/docs/EzsignsignergroupCreateObjectV1Response.md +++ b/docs/EzsignsignergroupCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignsignergroupCreateObjectV1Response.to_json()) # convert the object into a dict ezsignsignergroup_create_object_v1_response_dict = ezsignsignergroup_create_object_v1_response_instance.to_dict() # create an instance of EzsignsignergroupCreateObjectV1Response from a dict -ezsignsignergroup_create_object_v1_response_form_dict = ezsignsignergroup_create_object_v1_response.from_dict(ezsignsignergroup_create_object_v1_response_dict) +ezsignsignergroup_create_object_v1_response_from_dict = EzsignsignergroupCreateObjectV1Response.from_dict(ezsignsignergroup_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupCreateObjectV1ResponseMPayload.md b/docs/EzsignsignergroupCreateObjectV1ResponseMPayload.md index b02791d10..ad2f613d6 100644 --- a/docs/EzsignsignergroupCreateObjectV1ResponseMPayload.md +++ b/docs/EzsignsignergroupCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsignergroupCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignsignergroup_create_object_v1_response_m_payload_dict = ezsignsignergroup_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignsignergroupCreateObjectV1ResponseMPayload from a dict -ezsignsignergroup_create_object_v1_response_m_payload_form_dict = ezsignsignergroup_create_object_v1_response_m_payload.from_dict(ezsignsignergroup_create_object_v1_response_m_payload_dict) +ezsignsignergroup_create_object_v1_response_m_payload_from_dict = EzsignsignergroupCreateObjectV1ResponseMPayload.from_dict(ezsignsignergroup_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupDeleteObjectV1Response.md b/docs/EzsignsignergroupDeleteObjectV1Response.md index 0ee21e234..b50beb08e 100644 --- a/docs/EzsignsignergroupDeleteObjectV1Response.md +++ b/docs/EzsignsignergroupDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignsignergroupDeleteObjectV1Response.to_json()) # convert the object into a dict ezsignsignergroup_delete_object_v1_response_dict = ezsignsignergroup_delete_object_v1_response_instance.to_dict() # create an instance of EzsignsignergroupDeleteObjectV1Response from a dict -ezsignsignergroup_delete_object_v1_response_form_dict = ezsignsignergroup_delete_object_v1_response.from_dict(ezsignsignergroup_delete_object_v1_response_dict) +ezsignsignergroup_delete_object_v1_response_from_dict = EzsignsignergroupDeleteObjectV1Response.from_dict(ezsignsignergroup_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Request.md b/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Request.md index 0c5dbf8c1..665f64f5e 100644 --- a/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Request.md +++ b/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Request.md @@ -23,7 +23,7 @@ print(EzsignsignergroupEditEzsignsignergroupmembershipsV1Request.to_json()) # convert the object into a dict ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request_dict = ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request_instance.to_dict() # create an instance of EzsignsignergroupEditEzsignsignergroupmembershipsV1Request from a dict -ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request_form_dict = ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request.from_dict(ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request_dict) +ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request_from_dict = EzsignsignergroupEditEzsignsignergroupmembershipsV1Request.from_dict(ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.md b/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.md index b274bc5f3..1b8eea428 100644 --- a/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.md +++ b/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.md @@ -25,7 +25,7 @@ print(EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.to_json()) # convert the object into a dict ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_dict = ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_instance.to_dict() # create an instance of EzsignsignergroupEditEzsignsignergroupmembershipsV1Response from a dict -ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_form_dict = ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.from_dict(ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_dict) +ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_from_dict = EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.from_dict(ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload.md b/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload.md index 142386a30..fe39af439 100644 --- a/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload.md +++ b/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload.to_jso # convert the object into a dict ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload_dict = ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload_instance.to_dict() # create an instance of EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload from a dict -ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload_form_dict = ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload.from_dict(ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload_dict) +ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload_from_dict = EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload.from_dict(ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupEditObjectV1Request.md b/docs/EzsignsignergroupEditObjectV1Request.md index 0da3c8751..a5ab67a04 100644 --- a/docs/EzsignsignergroupEditObjectV1Request.md +++ b/docs/EzsignsignergroupEditObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignsignergroupEditObjectV1Request.to_json()) # convert the object into a dict ezsignsignergroup_edit_object_v1_request_dict = ezsignsignergroup_edit_object_v1_request_instance.to_dict() # create an instance of EzsignsignergroupEditObjectV1Request from a dict -ezsignsignergroup_edit_object_v1_request_form_dict = ezsignsignergroup_edit_object_v1_request.from_dict(ezsignsignergroup_edit_object_v1_request_dict) +ezsignsignergroup_edit_object_v1_request_from_dict = EzsignsignergroupEditObjectV1Request.from_dict(ezsignsignergroup_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupEditObjectV1Response.md b/docs/EzsignsignergroupEditObjectV1Response.md index 4b9388a26..6eccb3489 100644 --- a/docs/EzsignsignergroupEditObjectV1Response.md +++ b/docs/EzsignsignergroupEditObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignsignergroupEditObjectV1Response.to_json()) # convert the object into a dict ezsignsignergroup_edit_object_v1_response_dict = ezsignsignergroup_edit_object_v1_response_instance.to_dict() # create an instance of EzsignsignergroupEditObjectV1Response from a dict -ezsignsignergroup_edit_object_v1_response_form_dict = ezsignsignergroup_edit_object_v1_response.from_dict(ezsignsignergroup_edit_object_v1_response_dict) +ezsignsignergroup_edit_object_v1_response_from_dict = EzsignsignergroupEditObjectV1Response.from_dict(ezsignsignergroup_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.md b/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.md index c2b2cd185..49d855874 100644 --- a/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.md +++ b/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.md @@ -25,7 +25,7 @@ print(EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.to_json()) # convert the object into a dict ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_dict = ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_instance.to_dict() # create an instance of EzsignsignergroupGetEzsignsignergroupmembershipsV1Response from a dict -ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_form_dict = ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.from_dict(ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_dict) +ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_from_dict = EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.from_dict(ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload.md b/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload.md index f8f705fd2..b29d26ef7 100644 --- a/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload.md +++ b/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload.to_json # convert the object into a dict ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload_dict = ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload_instance.to_dict() # create an instance of EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload from a dict -ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload_form_dict = ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.from_dict(ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload_dict) +ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload_from_dict = EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload.from_dict(ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupGetObjectV2Response.md b/docs/EzsignsignergroupGetObjectV2Response.md index a74484455..633909ec6 100644 --- a/docs/EzsignsignergroupGetObjectV2Response.md +++ b/docs/EzsignsignergroupGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignsignergroupGetObjectV2Response.to_json()) # convert the object into a dict ezsignsignergroup_get_object_v2_response_dict = ezsignsignergroup_get_object_v2_response_instance.to_dict() # create an instance of EzsignsignergroupGetObjectV2Response from a dict -ezsignsignergroup_get_object_v2_response_form_dict = ezsignsignergroup_get_object_v2_response.from_dict(ezsignsignergroup_get_object_v2_response_dict) +ezsignsignergroup_get_object_v2_response_from_dict = EzsignsignergroupGetObjectV2Response.from_dict(ezsignsignergroup_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupGetObjectV2ResponseMPayload.md b/docs/EzsignsignergroupGetObjectV2ResponseMPayload.md index 63376bccb..062983073 100644 --- a/docs/EzsignsignergroupGetObjectV2ResponseMPayload.md +++ b/docs/EzsignsignergroupGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsignergroupGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignsignergroup_get_object_v2_response_m_payload_dict = ezsignsignergroup_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignsignergroupGetObjectV2ResponseMPayload from a dict -ezsignsignergroup_get_object_v2_response_m_payload_form_dict = ezsignsignergroup_get_object_v2_response_m_payload.from_dict(ezsignsignergroup_get_object_v2_response_m_payload_dict) +ezsignsignergroup_get_object_v2_response_m_payload_from_dict = EzsignsignergroupGetObjectV2ResponseMPayload.from_dict(ezsignsignergroup_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupRequest.md b/docs/EzsignsignergroupRequest.md index bef073476..cd1c88616 100644 --- a/docs/EzsignsignergroupRequest.md +++ b/docs/EzsignsignergroupRequest.md @@ -25,7 +25,7 @@ print(EzsignsignergroupRequest.to_json()) # convert the object into a dict ezsignsignergroup_request_dict = ezsignsignergroup_request_instance.to_dict() # create an instance of EzsignsignergroupRequest from a dict -ezsignsignergroup_request_form_dict = ezsignsignergroup_request.from_dict(ezsignsignergroup_request_dict) +ezsignsignergroup_request_from_dict = EzsignsignergroupRequest.from_dict(ezsignsignergroup_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupRequestCompound.md b/docs/EzsignsignergroupRequestCompound.md index c4353fc0c..1ea0451a5 100644 --- a/docs/EzsignsignergroupRequestCompound.md +++ b/docs/EzsignsignergroupRequestCompound.md @@ -25,7 +25,7 @@ print(EzsignsignergroupRequestCompound.to_json()) # convert the object into a dict ezsignsignergroup_request_compound_dict = ezsignsignergroup_request_compound_instance.to_dict() # create an instance of EzsignsignergroupRequestCompound from a dict -ezsignsignergroup_request_compound_form_dict = ezsignsignergroup_request_compound.from_dict(ezsignsignergroup_request_compound_dict) +ezsignsignergroup_request_compound_from_dict = EzsignsignergroupRequestCompound.from_dict(ezsignsignergroup_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupResponse.md b/docs/EzsignsignergroupResponse.md index f1d5036e6..60d579af4 100644 --- a/docs/EzsignsignergroupResponse.md +++ b/docs/EzsignsignergroupResponse.md @@ -25,7 +25,7 @@ print(EzsignsignergroupResponse.to_json()) # convert the object into a dict ezsignsignergroup_response_dict = ezsignsignergroup_response_instance.to_dict() # create an instance of EzsignsignergroupResponse from a dict -ezsignsignergroup_response_form_dict = ezsignsignergroup_response.from_dict(ezsignsignergroup_response_dict) +ezsignsignergroup_response_from_dict = EzsignsignergroupResponse.from_dict(ezsignsignergroup_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupResponseCompound.md b/docs/EzsignsignergroupResponseCompound.md index ed8f7e4ff..9a83babd8 100644 --- a/docs/EzsignsignergroupResponseCompound.md +++ b/docs/EzsignsignergroupResponseCompound.md @@ -25,7 +25,7 @@ print(EzsignsignergroupResponseCompound.to_json()) # convert the object into a dict ezsignsignergroup_response_compound_dict = ezsignsignergroup_response_compound_instance.to_dict() # create an instance of EzsignsignergroupResponseCompound from a dict -ezsignsignergroup_response_compound_form_dict = ezsignsignergroup_response_compound.from_dict(ezsignsignergroup_response_compound_dict) +ezsignsignergroup_response_compound_from_dict = EzsignsignergroupResponseCompound.from_dict(ezsignsignergroup_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupmembershipCreateObjectV1Request.md b/docs/EzsignsignergroupmembershipCreateObjectV1Request.md index ecefcbed1..ccab46863 100644 --- a/docs/EzsignsignergroupmembershipCreateObjectV1Request.md +++ b/docs/EzsignsignergroupmembershipCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignsignergroupmembershipCreateObjectV1Request.to_json()) # convert the object into a dict ezsignsignergroupmembership_create_object_v1_request_dict = ezsignsignergroupmembership_create_object_v1_request_instance.to_dict() # create an instance of EzsignsignergroupmembershipCreateObjectV1Request from a dict -ezsignsignergroupmembership_create_object_v1_request_form_dict = ezsignsignergroupmembership_create_object_v1_request.from_dict(ezsignsignergroupmembership_create_object_v1_request_dict) +ezsignsignergroupmembership_create_object_v1_request_from_dict = EzsignsignergroupmembershipCreateObjectV1Request.from_dict(ezsignsignergroupmembership_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupmembershipCreateObjectV1Response.md b/docs/EzsignsignergroupmembershipCreateObjectV1Response.md index cd5d1f541..dc37a0542 100644 --- a/docs/EzsignsignergroupmembershipCreateObjectV1Response.md +++ b/docs/EzsignsignergroupmembershipCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignsignergroupmembershipCreateObjectV1Response.to_json()) # convert the object into a dict ezsignsignergroupmembership_create_object_v1_response_dict = ezsignsignergroupmembership_create_object_v1_response_instance.to_dict() # create an instance of EzsignsignergroupmembershipCreateObjectV1Response from a dict -ezsignsignergroupmembership_create_object_v1_response_form_dict = ezsignsignergroupmembership_create_object_v1_response.from_dict(ezsignsignergroupmembership_create_object_v1_response_dict) +ezsignsignergroupmembership_create_object_v1_response_from_dict = EzsignsignergroupmembershipCreateObjectV1Response.from_dict(ezsignsignergroupmembership_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupmembershipCreateObjectV1ResponseMPayload.md b/docs/EzsignsignergroupmembershipCreateObjectV1ResponseMPayload.md index 98640bce0..cc8f3f636 100644 --- a/docs/EzsignsignergroupmembershipCreateObjectV1ResponseMPayload.md +++ b/docs/EzsignsignergroupmembershipCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsignergroupmembershipCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignsignergroupmembership_create_object_v1_response_m_payload_dict = ezsignsignergroupmembership_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignsignergroupmembershipCreateObjectV1ResponseMPayload from a dict -ezsignsignergroupmembership_create_object_v1_response_m_payload_form_dict = ezsignsignergroupmembership_create_object_v1_response_m_payload.from_dict(ezsignsignergroupmembership_create_object_v1_response_m_payload_dict) +ezsignsignergroupmembership_create_object_v1_response_m_payload_from_dict = EzsignsignergroupmembershipCreateObjectV1ResponseMPayload.from_dict(ezsignsignergroupmembership_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupmembershipDeleteObjectV1Response.md b/docs/EzsignsignergroupmembershipDeleteObjectV1Response.md index d34be02b1..a869a3fec 100644 --- a/docs/EzsignsignergroupmembershipDeleteObjectV1Response.md +++ b/docs/EzsignsignergroupmembershipDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignsignergroupmembershipDeleteObjectV1Response.to_json()) # convert the object into a dict ezsignsignergroupmembership_delete_object_v1_response_dict = ezsignsignergroupmembership_delete_object_v1_response_instance.to_dict() # create an instance of EzsignsignergroupmembershipDeleteObjectV1Response from a dict -ezsignsignergroupmembership_delete_object_v1_response_form_dict = ezsignsignergroupmembership_delete_object_v1_response.from_dict(ezsignsignergroupmembership_delete_object_v1_response_dict) +ezsignsignergroupmembership_delete_object_v1_response_from_dict = EzsignsignergroupmembershipDeleteObjectV1Response.from_dict(ezsignsignergroupmembership_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupmembershipGetObjectV2Response.md b/docs/EzsignsignergroupmembershipGetObjectV2Response.md index ac89a0a32..82c68f7ee 100644 --- a/docs/EzsignsignergroupmembershipGetObjectV2Response.md +++ b/docs/EzsignsignergroupmembershipGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignsignergroupmembershipGetObjectV2Response.to_json()) # convert the object into a dict ezsignsignergroupmembership_get_object_v2_response_dict = ezsignsignergroupmembership_get_object_v2_response_instance.to_dict() # create an instance of EzsignsignergroupmembershipGetObjectV2Response from a dict -ezsignsignergroupmembership_get_object_v2_response_form_dict = ezsignsignergroupmembership_get_object_v2_response.from_dict(ezsignsignergroupmembership_get_object_v2_response_dict) +ezsignsignergroupmembership_get_object_v2_response_from_dict = EzsignsignergroupmembershipGetObjectV2Response.from_dict(ezsignsignergroupmembership_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupmembershipGetObjectV2ResponseMPayload.md b/docs/EzsignsignergroupmembershipGetObjectV2ResponseMPayload.md index 41dc6a155..9f71f618c 100644 --- a/docs/EzsignsignergroupmembershipGetObjectV2ResponseMPayload.md +++ b/docs/EzsignsignergroupmembershipGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsignergroupmembershipGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignsignergroupmembership_get_object_v2_response_m_payload_dict = ezsignsignergroupmembership_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignsignergroupmembershipGetObjectV2ResponseMPayload from a dict -ezsignsignergroupmembership_get_object_v2_response_m_payload_form_dict = ezsignsignergroupmembership_get_object_v2_response_m_payload.from_dict(ezsignsignergroupmembership_get_object_v2_response_m_payload_dict) +ezsignsignergroupmembership_get_object_v2_response_m_payload_from_dict = EzsignsignergroupmembershipGetObjectV2ResponseMPayload.from_dict(ezsignsignergroupmembership_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupmembershipRequest.md b/docs/EzsignsignergroupmembershipRequest.md index 92c9ed017..f6e736181 100644 --- a/docs/EzsignsignergroupmembershipRequest.md +++ b/docs/EzsignsignergroupmembershipRequest.md @@ -27,7 +27,7 @@ print(EzsignsignergroupmembershipRequest.to_json()) # convert the object into a dict ezsignsignergroupmembership_request_dict = ezsignsignergroupmembership_request_instance.to_dict() # create an instance of EzsignsignergroupmembershipRequest from a dict -ezsignsignergroupmembership_request_form_dict = ezsignsignergroupmembership_request.from_dict(ezsignsignergroupmembership_request_dict) +ezsignsignergroupmembership_request_from_dict = EzsignsignergroupmembershipRequest.from_dict(ezsignsignergroupmembership_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupmembershipRequestCompound.md b/docs/EzsignsignergroupmembershipRequestCompound.md index b17186a1e..15e1823c6 100644 --- a/docs/EzsignsignergroupmembershipRequestCompound.md +++ b/docs/EzsignsignergroupmembershipRequestCompound.md @@ -27,7 +27,7 @@ print(EzsignsignergroupmembershipRequestCompound.to_json()) # convert the object into a dict ezsignsignergroupmembership_request_compound_dict = ezsignsignergroupmembership_request_compound_instance.to_dict() # create an instance of EzsignsignergroupmembershipRequestCompound from a dict -ezsignsignergroupmembership_request_compound_form_dict = ezsignsignergroupmembership_request_compound.from_dict(ezsignsignergroupmembership_request_compound_dict) +ezsignsignergroupmembership_request_compound_from_dict = EzsignsignergroupmembershipRequestCompound.from_dict(ezsignsignergroupmembership_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupmembershipResponse.md b/docs/EzsignsignergroupmembershipResponse.md index 56c13a048..d4eeff66e 100644 --- a/docs/EzsignsignergroupmembershipResponse.md +++ b/docs/EzsignsignergroupmembershipResponse.md @@ -27,7 +27,7 @@ print(EzsignsignergroupmembershipResponse.to_json()) # convert the object into a dict ezsignsignergroupmembership_response_dict = ezsignsignergroupmembership_response_instance.to_dict() # create an instance of EzsignsignergroupmembershipResponse from a dict -ezsignsignergroupmembership_response_form_dict = ezsignsignergroupmembership_response.from_dict(ezsignsignergroupmembership_response_dict) +ezsignsignergroupmembership_response_from_dict = EzsignsignergroupmembershipResponse.from_dict(ezsignsignergroupmembership_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsignergroupmembershipResponseCompound.md b/docs/EzsignsignergroupmembershipResponseCompound.md index f8e4cfb59..e16654dc6 100644 --- a/docs/EzsignsignergroupmembershipResponseCompound.md +++ b/docs/EzsignsignergroupmembershipResponseCompound.md @@ -27,7 +27,7 @@ print(EzsignsignergroupmembershipResponseCompound.to_json()) # convert the object into a dict ezsignsignergroupmembership_response_compound_dict = ezsignsignergroupmembership_response_compound_instance.to_dict() # create an instance of EzsignsignergroupmembershipResponseCompound from a dict -ezsignsignergroupmembership_response_compound_form_dict = ezsignsignergroupmembership_response_compound.from_dict(ezsignsignergroupmembership_response_compound_dict) +ezsignsignergroupmembership_response_compound_from_dict = EzsignsignergroupmembershipResponseCompound.from_dict(ezsignsignergroupmembership_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonAutocompleteElementResponse.md b/docs/EzsignsigningreasonAutocompleteElementResponse.md index 2b05133dc..7b405f696 100644 --- a/docs/EzsignsigningreasonAutocompleteElementResponse.md +++ b/docs/EzsignsigningreasonAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonAutocompleteElementResponse.to_json()) # convert the object into a dict ezsignsigningreason_autocomplete_element_response_dict = ezsignsigningreason_autocomplete_element_response_instance.to_dict() # create an instance of EzsignsigningreasonAutocompleteElementResponse from a dict -ezsignsigningreason_autocomplete_element_response_form_dict = ezsignsigningreason_autocomplete_element_response.from_dict(ezsignsigningreason_autocomplete_element_response_dict) +ezsignsigningreason_autocomplete_element_response_from_dict = EzsignsigningreasonAutocompleteElementResponse.from_dict(ezsignsigningreason_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonCreateObjectV1Request.md b/docs/EzsignsigningreasonCreateObjectV1Request.md index b8d33ea55..c116bf841 100644 --- a/docs/EzsignsigningreasonCreateObjectV1Request.md +++ b/docs/EzsignsigningreasonCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignsigningreasonCreateObjectV1Request.to_json()) # convert the object into a dict ezsignsigningreason_create_object_v1_request_dict = ezsignsigningreason_create_object_v1_request_instance.to_dict() # create an instance of EzsignsigningreasonCreateObjectV1Request from a dict -ezsignsigningreason_create_object_v1_request_form_dict = ezsignsigningreason_create_object_v1_request.from_dict(ezsignsigningreason_create_object_v1_request_dict) +ezsignsigningreason_create_object_v1_request_from_dict = EzsignsigningreasonCreateObjectV1Request.from_dict(ezsignsigningreason_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonCreateObjectV1Response.md b/docs/EzsignsigningreasonCreateObjectV1Response.md index 4ce3f1c07..6e15fb618 100644 --- a/docs/EzsignsigningreasonCreateObjectV1Response.md +++ b/docs/EzsignsigningreasonCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonCreateObjectV1Response.to_json()) # convert the object into a dict ezsignsigningreason_create_object_v1_response_dict = ezsignsigningreason_create_object_v1_response_instance.to_dict() # create an instance of EzsignsigningreasonCreateObjectV1Response from a dict -ezsignsigningreason_create_object_v1_response_form_dict = ezsignsigningreason_create_object_v1_response.from_dict(ezsignsigningreason_create_object_v1_response_dict) +ezsignsigningreason_create_object_v1_response_from_dict = EzsignsigningreasonCreateObjectV1Response.from_dict(ezsignsigningreason_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonCreateObjectV1ResponseMPayload.md b/docs/EzsignsigningreasonCreateObjectV1ResponseMPayload.md index a85a19011..175b14c16 100644 --- a/docs/EzsignsigningreasonCreateObjectV1ResponseMPayload.md +++ b/docs/EzsignsigningreasonCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsigningreasonCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsignsigningreason_create_object_v1_response_m_payload_dict = ezsignsigningreason_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsignsigningreasonCreateObjectV1ResponseMPayload from a dict -ezsignsigningreason_create_object_v1_response_m_payload_form_dict = ezsignsigningreason_create_object_v1_response_m_payload.from_dict(ezsignsigningreason_create_object_v1_response_m_payload_dict) +ezsignsigningreason_create_object_v1_response_m_payload_from_dict = EzsignsigningreasonCreateObjectV1ResponseMPayload.from_dict(ezsignsigningreason_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonEditObjectV1Request.md b/docs/EzsignsigningreasonEditObjectV1Request.md index 0e2759dab..4d9bb56d9 100644 --- a/docs/EzsignsigningreasonEditObjectV1Request.md +++ b/docs/EzsignsigningreasonEditObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsignsigningreasonEditObjectV1Request.to_json()) # convert the object into a dict ezsignsigningreason_edit_object_v1_request_dict = ezsignsigningreason_edit_object_v1_request_instance.to_dict() # create an instance of EzsignsigningreasonEditObjectV1Request from a dict -ezsignsigningreason_edit_object_v1_request_form_dict = ezsignsigningreason_edit_object_v1_request.from_dict(ezsignsigningreason_edit_object_v1_request_dict) +ezsignsigningreason_edit_object_v1_request_from_dict = EzsignsigningreasonEditObjectV1Request.from_dict(ezsignsigningreason_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonEditObjectV1Response.md b/docs/EzsignsigningreasonEditObjectV1Response.md index 38afe88e6..1a22c3fd0 100644 --- a/docs/EzsignsigningreasonEditObjectV1Response.md +++ b/docs/EzsignsigningreasonEditObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsignsigningreasonEditObjectV1Response.to_json()) # convert the object into a dict ezsignsigningreason_edit_object_v1_response_dict = ezsignsigningreason_edit_object_v1_response_instance.to_dict() # create an instance of EzsignsigningreasonEditObjectV1Response from a dict -ezsignsigningreason_edit_object_v1_response_form_dict = ezsignsigningreason_edit_object_v1_response.from_dict(ezsignsigningreason_edit_object_v1_response_dict) +ezsignsigningreason_edit_object_v1_response_from_dict = EzsignsigningreasonEditObjectV1Response.from_dict(ezsignsigningreason_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonGetAutocompleteV2Response.md b/docs/EzsignsigningreasonGetAutocompleteV2Response.md index 9b225001d..31aea75f2 100644 --- a/docs/EzsignsigningreasonGetAutocompleteV2Response.md +++ b/docs/EzsignsigningreasonGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonGetAutocompleteV2Response.to_json()) # convert the object into a dict ezsignsigningreason_get_autocomplete_v2_response_dict = ezsignsigningreason_get_autocomplete_v2_response_instance.to_dict() # create an instance of EzsignsigningreasonGetAutocompleteV2Response from a dict -ezsignsigningreason_get_autocomplete_v2_response_form_dict = ezsignsigningreason_get_autocomplete_v2_response.from_dict(ezsignsigningreason_get_autocomplete_v2_response_dict) +ezsignsigningreason_get_autocomplete_v2_response_from_dict = EzsignsigningreasonGetAutocompleteV2Response.from_dict(ezsignsigningreason_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonGetAutocompleteV2ResponseMPayload.md b/docs/EzsignsigningreasonGetAutocompleteV2ResponseMPayload.md index 4e9fe3636..7b5320c1f 100644 --- a/docs/EzsignsigningreasonGetAutocompleteV2ResponseMPayload.md +++ b/docs/EzsignsigningreasonGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsigningreasonGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict ezsignsigningreason_get_autocomplete_v2_response_m_payload_dict = ezsignsigningreason_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of EzsignsigningreasonGetAutocompleteV2ResponseMPayload from a dict -ezsignsigningreason_get_autocomplete_v2_response_m_payload_form_dict = ezsignsigningreason_get_autocomplete_v2_response_m_payload.from_dict(ezsignsigningreason_get_autocomplete_v2_response_m_payload_dict) +ezsignsigningreason_get_autocomplete_v2_response_m_payload_from_dict = EzsignsigningreasonGetAutocompleteV2ResponseMPayload.from_dict(ezsignsigningreason_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonGetListV1Response.md b/docs/EzsignsigningreasonGetListV1Response.md index 88c272960..1b6c8deb7 100644 --- a/docs/EzsignsigningreasonGetListV1Response.md +++ b/docs/EzsignsigningreasonGetListV1Response.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonGetListV1Response.to_json()) # convert the object into a dict ezsignsigningreason_get_list_v1_response_dict = ezsignsigningreason_get_list_v1_response_instance.to_dict() # create an instance of EzsignsigningreasonGetListV1Response from a dict -ezsignsigningreason_get_list_v1_response_form_dict = ezsignsigningreason_get_list_v1_response.from_dict(ezsignsigningreason_get_list_v1_response_dict) +ezsignsigningreason_get_list_v1_response_from_dict = EzsignsigningreasonGetListV1Response.from_dict(ezsignsigningreason_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonGetListV1ResponseMPayload.md b/docs/EzsignsigningreasonGetListV1ResponseMPayload.md index 3948d30fb..ff9a275da 100644 --- a/docs/EzsignsigningreasonGetListV1ResponseMPayload.md +++ b/docs/EzsignsigningreasonGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonGetListV1ResponseMPayload.to_json()) # convert the object into a dict ezsignsigningreason_get_list_v1_response_m_payload_dict = ezsignsigningreason_get_list_v1_response_m_payload_instance.to_dict() # create an instance of EzsignsigningreasonGetListV1ResponseMPayload from a dict -ezsignsigningreason_get_list_v1_response_m_payload_form_dict = ezsignsigningreason_get_list_v1_response_m_payload.from_dict(ezsignsigningreason_get_list_v1_response_m_payload_dict) +ezsignsigningreason_get_list_v1_response_m_payload_from_dict = EzsignsigningreasonGetListV1ResponseMPayload.from_dict(ezsignsigningreason_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonGetObjectV2Response.md b/docs/EzsignsigningreasonGetObjectV2Response.md index 645810234..ae428d858 100644 --- a/docs/EzsignsigningreasonGetObjectV2Response.md +++ b/docs/EzsignsigningreasonGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonGetObjectV2Response.to_json()) # convert the object into a dict ezsignsigningreason_get_object_v2_response_dict = ezsignsigningreason_get_object_v2_response_instance.to_dict() # create an instance of EzsignsigningreasonGetObjectV2Response from a dict -ezsignsigningreason_get_object_v2_response_form_dict = ezsignsigningreason_get_object_v2_response.from_dict(ezsignsigningreason_get_object_v2_response_dict) +ezsignsigningreason_get_object_v2_response_from_dict = EzsignsigningreasonGetObjectV2Response.from_dict(ezsignsigningreason_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonGetObjectV2ResponseMPayload.md b/docs/EzsignsigningreasonGetObjectV2ResponseMPayload.md index 6d33437a8..37d55727c 100644 --- a/docs/EzsignsigningreasonGetObjectV2ResponseMPayload.md +++ b/docs/EzsignsigningreasonGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsignsigningreasonGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsignsigningreason_get_object_v2_response_m_payload_dict = ezsignsigningreason_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsignsigningreasonGetObjectV2ResponseMPayload from a dict -ezsignsigningreason_get_object_v2_response_m_payload_form_dict = ezsignsigningreason_get_object_v2_response_m_payload.from_dict(ezsignsigningreason_get_object_v2_response_m_payload_dict) +ezsignsigningreason_get_object_v2_response_m_payload_from_dict = EzsignsigningreasonGetObjectV2ResponseMPayload.from_dict(ezsignsigningreason_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonListElement.md b/docs/EzsignsigningreasonListElement.md index 1e544fea6..3b7da648e 100644 --- a/docs/EzsignsigningreasonListElement.md +++ b/docs/EzsignsigningreasonListElement.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonListElement.to_json()) # convert the object into a dict ezsignsigningreason_list_element_dict = ezsignsigningreason_list_element_instance.to_dict() # create an instance of EzsignsigningreasonListElement from a dict -ezsignsigningreason_list_element_form_dict = ezsignsigningreason_list_element.from_dict(ezsignsigningreason_list_element_dict) +ezsignsigningreason_list_element_from_dict = EzsignsigningreasonListElement.from_dict(ezsignsigningreason_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonRequest.md b/docs/EzsignsigningreasonRequest.md index e699e0fc2..a91fde2e2 100644 --- a/docs/EzsignsigningreasonRequest.md +++ b/docs/EzsignsigningreasonRequest.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonRequest.to_json()) # convert the object into a dict ezsignsigningreason_request_dict = ezsignsigningreason_request_instance.to_dict() # create an instance of EzsignsigningreasonRequest from a dict -ezsignsigningreason_request_form_dict = ezsignsigningreason_request.from_dict(ezsignsigningreason_request_dict) +ezsignsigningreason_request_from_dict = EzsignsigningreasonRequest.from_dict(ezsignsigningreason_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonRequestCompound.md b/docs/EzsignsigningreasonRequestCompound.md index d57e702f0..efe7c030d 100644 --- a/docs/EzsignsigningreasonRequestCompound.md +++ b/docs/EzsignsigningreasonRequestCompound.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonRequestCompound.to_json()) # convert the object into a dict ezsignsigningreason_request_compound_dict = ezsignsigningreason_request_compound_instance.to_dict() # create an instance of EzsignsigningreasonRequestCompound from a dict -ezsignsigningreason_request_compound_form_dict = ezsignsigningreason_request_compound.from_dict(ezsignsigningreason_request_compound_dict) +ezsignsigningreason_request_compound_from_dict = EzsignsigningreasonRequestCompound.from_dict(ezsignsigningreason_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonResponse.md b/docs/EzsignsigningreasonResponse.md index 84a8f1107..2027e6745 100644 --- a/docs/EzsignsigningreasonResponse.md +++ b/docs/EzsignsigningreasonResponse.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonResponse.to_json()) # convert the object into a dict ezsignsigningreason_response_dict = ezsignsigningreason_response_instance.to_dict() # create an instance of EzsignsigningreasonResponse from a dict -ezsignsigningreason_response_form_dict = ezsignsigningreason_response.from_dict(ezsignsigningreason_response_dict) +ezsignsigningreason_response_from_dict = EzsignsigningreasonResponse.from_dict(ezsignsigningreason_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignsigningreasonResponseCompound.md b/docs/EzsignsigningreasonResponseCompound.md index 832e9c3a6..83d5fda3c 100644 --- a/docs/EzsignsigningreasonResponseCompound.md +++ b/docs/EzsignsigningreasonResponseCompound.md @@ -25,7 +25,7 @@ print(EzsignsigningreasonResponseCompound.to_json()) # convert the object into a dict ezsignsigningreason_response_compound_dict = ezsignsigningreason_response_compound_instance.to_dict() # create an instance of EzsignsigningreasonResponseCompound from a dict -ezsignsigningreason_response_compound_form_dict = ezsignsigningreason_response_compound.from_dict(ezsignsigningreason_response_compound_dict) +ezsignsigningreason_response_compound_from_dict = EzsignsigningreasonResponseCompound.from_dict(ezsignsigningreason_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateAutocompleteElementResponse.md b/docs/EzsigntemplateAutocompleteElementResponse.md index 729982f19..0e7d48bba 100644 --- a/docs/EzsigntemplateAutocompleteElementResponse.md +++ b/docs/EzsigntemplateAutocompleteElementResponse.md @@ -26,7 +26,7 @@ print(EzsigntemplateAutocompleteElementResponse.to_json()) # convert the object into a dict ezsigntemplate_autocomplete_element_response_dict = ezsigntemplate_autocomplete_element_response_instance.to_dict() # create an instance of EzsigntemplateAutocompleteElementResponse from a dict -ezsigntemplate_autocomplete_element_response_form_dict = ezsigntemplate_autocomplete_element_response.from_dict(ezsigntemplate_autocomplete_element_response_dict) +ezsigntemplate_autocomplete_element_response_from_dict = EzsigntemplateAutocompleteElementResponse.from_dict(ezsigntemplate_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateCopyV1Request.md b/docs/EzsigntemplateCopyV1Request.md index e6ea46dd4..5df2342cd 100644 --- a/docs/EzsigntemplateCopyV1Request.md +++ b/docs/EzsigntemplateCopyV1Request.md @@ -6,7 +6,9 @@ Request for POST /1/object/ezsigntemplate/{pkiEzsigntemplateID}/copy Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_fki_ezsignfoldertype_id** | **List[int]** | | +**a_fki_ezsignfoldertype_id** | **List[int]** | | [optional] +**b_copy_company** | **bool** | Whether we shall copy the Ezsigntemplate as a company Ezsigntemplate | [optional] +**b_copy_user** | **bool** | Whether we shall copy the Ezsigntemplate as a user Ezsigntemplate | [optional] ## Example @@ -23,7 +25,7 @@ print(EzsigntemplateCopyV1Request.to_json()) # convert the object into a dict ezsigntemplate_copy_v1_request_dict = ezsigntemplate_copy_v1_request_instance.to_dict() # create an instance of EzsigntemplateCopyV1Request from a dict -ezsigntemplate_copy_v1_request_form_dict = ezsigntemplate_copy_v1_request.from_dict(ezsigntemplate_copy_v1_request_dict) +ezsigntemplate_copy_v1_request_from_dict = EzsigntemplateCopyV1Request.from_dict(ezsigntemplate_copy_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateCopyV1Response.md b/docs/EzsigntemplateCopyV1Response.md index 0965246df..0280cf45c 100644 --- a/docs/EzsigntemplateCopyV1Response.md +++ b/docs/EzsigntemplateCopyV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplateCopyV1Response.to_json()) # convert the object into a dict ezsigntemplate_copy_v1_response_dict = ezsigntemplate_copy_v1_response_instance.to_dict() # create an instance of EzsigntemplateCopyV1Response from a dict -ezsigntemplate_copy_v1_response_form_dict = ezsigntemplate_copy_v1_response.from_dict(ezsigntemplate_copy_v1_response_dict) +ezsigntemplate_copy_v1_response_from_dict = EzsigntemplateCopyV1Response.from_dict(ezsigntemplate_copy_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateCopyV1ResponseMPayload.md b/docs/EzsigntemplateCopyV1ResponseMPayload.md index b956c74e6..9c3cc4740 100644 --- a/docs/EzsigntemplateCopyV1ResponseMPayload.md +++ b/docs/EzsigntemplateCopyV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplateCopyV1ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplate_copy_v1_response_m_payload_dict = ezsigntemplate_copy_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplateCopyV1ResponseMPayload from a dict -ezsigntemplate_copy_v1_response_m_payload_form_dict = ezsigntemplate_copy_v1_response_m_payload.from_dict(ezsigntemplate_copy_v1_response_m_payload_dict) +ezsigntemplate_copy_v1_response_m_payload_from_dict = EzsigntemplateCopyV1ResponseMPayload.from_dict(ezsigntemplate_copy_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateCreateObjectV1Request.md b/docs/EzsigntemplateCreateObjectV1Request.md deleted file mode 100644 index e425dde0f..000000000 --- a/docs/EzsigntemplateCreateObjectV1Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplateCreateObjectV1Request - -Request for POST /1/object/ezsigntemplate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_obj_ezsigntemplate** | [**List[EzsigntemplateRequestCompound]**](EzsigntemplateRequestCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_create_object_v1_request import EzsigntemplateCreateObjectV1Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateCreateObjectV1Request from a JSON string -ezsigntemplate_create_object_v1_request_instance = EzsigntemplateCreateObjectV1Request.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateCreateObjectV1Request.to_json()) - -# convert the object into a dict -ezsigntemplate_create_object_v1_request_dict = ezsigntemplate_create_object_v1_request_instance.to_dict() -# create an instance of EzsigntemplateCreateObjectV1Request from a dict -ezsigntemplate_create_object_v1_request_form_dict = ezsigntemplate_create_object_v1_request.from_dict(ezsigntemplate_create_object_v1_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateCreateObjectV1Response.md b/docs/EzsigntemplateCreateObjectV1Response.md deleted file mode 100644 index 7bec74264..000000000 --- a/docs/EzsigntemplateCreateObjectV1Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsigntemplateCreateObjectV1Response - -Response for POST /1/object/ezsigntemplate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsigntemplateCreateObjectV1ResponseMPayload**](EzsigntemplateCreateObjectV1ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_create_object_v1_response import EzsigntemplateCreateObjectV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateCreateObjectV1Response from a JSON string -ezsigntemplate_create_object_v1_response_instance = EzsigntemplateCreateObjectV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateCreateObjectV1Response.to_json()) - -# convert the object into a dict -ezsigntemplate_create_object_v1_response_dict = ezsigntemplate_create_object_v1_response_instance.to_dict() -# create an instance of EzsigntemplateCreateObjectV1Response from a dict -ezsigntemplate_create_object_v1_response_form_dict = ezsigntemplate_create_object_v1_response.from_dict(ezsigntemplate_create_object_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplateCreateObjectV1ResponseMPayload.md deleted file mode 100644 index 4996a6f41..000000000 --- a/docs/EzsigntemplateCreateObjectV1ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplateCreateObjectV1ResponseMPayload - -Payload for POST /1/object/ezsigntemplate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_pki_ezsigntemplate_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_create_object_v1_response_m_payload import EzsigntemplateCreateObjectV1ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateCreateObjectV1ResponseMPayload from a JSON string -ezsigntemplate_create_object_v1_response_m_payload_instance = EzsigntemplateCreateObjectV1ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateCreateObjectV1ResponseMPayload.to_json()) - -# convert the object into a dict -ezsigntemplate_create_object_v1_response_m_payload_dict = ezsigntemplate_create_object_v1_response_m_payload_instance.to_dict() -# create an instance of EzsigntemplateCreateObjectV1ResponseMPayload from a dict -ezsigntemplate_create_object_v1_response_m_payload_form_dict = ezsigntemplate_create_object_v1_response_m_payload.from_dict(ezsigntemplate_create_object_v1_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateCreateObjectV2Request.md b/docs/EzsigntemplateCreateObjectV2Request.md deleted file mode 100644 index ae9973b7c..000000000 --- a/docs/EzsigntemplateCreateObjectV2Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplateCreateObjectV2Request - -Request for POST /2/object/ezsigntemplate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_obj_ezsigntemplate** | [**List[EzsigntemplateRequestCompoundV2]**](EzsigntemplateRequestCompoundV2.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_create_object_v2_request import EzsigntemplateCreateObjectV2Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateCreateObjectV2Request from a JSON string -ezsigntemplate_create_object_v2_request_instance = EzsigntemplateCreateObjectV2Request.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateCreateObjectV2Request.to_json()) - -# convert the object into a dict -ezsigntemplate_create_object_v2_request_dict = ezsigntemplate_create_object_v2_request_instance.to_dict() -# create an instance of EzsigntemplateCreateObjectV2Request from a dict -ezsigntemplate_create_object_v2_request_form_dict = ezsigntemplate_create_object_v2_request.from_dict(ezsigntemplate_create_object_v2_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateCreateObjectV2Response.md b/docs/EzsigntemplateCreateObjectV2Response.md deleted file mode 100644 index 31cbc4aea..000000000 --- a/docs/EzsigntemplateCreateObjectV2Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsigntemplateCreateObjectV2Response - -Response for POST /2/object/ezsigntemplate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsigntemplateCreateObjectV2ResponseMPayload**](EzsigntemplateCreateObjectV2ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_create_object_v2_response import EzsigntemplateCreateObjectV2Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateCreateObjectV2Response from a JSON string -ezsigntemplate_create_object_v2_response_instance = EzsigntemplateCreateObjectV2Response.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateCreateObjectV2Response.to_json()) - -# convert the object into a dict -ezsigntemplate_create_object_v2_response_dict = ezsigntemplate_create_object_v2_response_instance.to_dict() -# create an instance of EzsigntemplateCreateObjectV2Response from a dict -ezsigntemplate_create_object_v2_response_form_dict = ezsigntemplate_create_object_v2_response.from_dict(ezsigntemplate_create_object_v2_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateCreateObjectV2ResponseMPayload.md b/docs/EzsigntemplateCreateObjectV2ResponseMPayload.md deleted file mode 100644 index 68d149f05..000000000 --- a/docs/EzsigntemplateCreateObjectV2ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplateCreateObjectV2ResponseMPayload - -Payload for POST /2/object/ezsigntemplate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_pki_ezsigntemplate_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_create_object_v2_response_m_payload import EzsigntemplateCreateObjectV2ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateCreateObjectV2ResponseMPayload from a JSON string -ezsigntemplate_create_object_v2_response_m_payload_instance = EzsigntemplateCreateObjectV2ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateCreateObjectV2ResponseMPayload.to_json()) - -# convert the object into a dict -ezsigntemplate_create_object_v2_response_m_payload_dict = ezsigntemplate_create_object_v2_response_m_payload_instance.to_dict() -# create an instance of EzsigntemplateCreateObjectV2ResponseMPayload from a dict -ezsigntemplate_create_object_v2_response_m_payload_form_dict = ezsigntemplate_create_object_v2_response_m_payload.from_dict(ezsigntemplate_create_object_v2_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateCreateObjectV3Request.md b/docs/EzsigntemplateCreateObjectV3Request.md new file mode 100644 index 000000000..56b4c3abe --- /dev/null +++ b/docs/EzsigntemplateCreateObjectV3Request.md @@ -0,0 +1,30 @@ +# EzsigntemplateCreateObjectV3Request + +Request for POST /3/object/ezsigntemplate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsigntemplate** | [**List[EzsigntemplateRequestCompoundV3]**](EzsigntemplateRequestCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_create_object_v3_request import EzsigntemplateCreateObjectV3Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateCreateObjectV3Request from a JSON string +ezsigntemplate_create_object_v3_request_instance = EzsigntemplateCreateObjectV3Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateCreateObjectV3Request.to_json()) + +# convert the object into a dict +ezsigntemplate_create_object_v3_request_dict = ezsigntemplate_create_object_v3_request_instance.to_dict() +# create an instance of EzsigntemplateCreateObjectV3Request from a dict +ezsigntemplate_create_object_v3_request_from_dict = EzsigntemplateCreateObjectV3Request.from_dict(ezsigntemplate_create_object_v3_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateCreateObjectV3Response.md b/docs/EzsigntemplateCreateObjectV3Response.md new file mode 100644 index 000000000..0e8e3f632 --- /dev/null +++ b/docs/EzsigntemplateCreateObjectV3Response.md @@ -0,0 +1,32 @@ +# EzsigntemplateCreateObjectV3Response + +Response for POST /3/object/ezsigntemplate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplateCreateObjectV3ResponseMPayload**](EzsigntemplateCreateObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_create_object_v3_response import EzsigntemplateCreateObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateCreateObjectV3Response from a JSON string +ezsigntemplate_create_object_v3_response_instance = EzsigntemplateCreateObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateCreateObjectV3Response.to_json()) + +# convert the object into a dict +ezsigntemplate_create_object_v3_response_dict = ezsigntemplate_create_object_v3_response_instance.to_dict() +# create an instance of EzsigntemplateCreateObjectV3Response from a dict +ezsigntemplate_create_object_v3_response_from_dict = EzsigntemplateCreateObjectV3Response.from_dict(ezsigntemplate_create_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateCreateObjectV3ResponseMPayload.md b/docs/EzsigntemplateCreateObjectV3ResponseMPayload.md new file mode 100644 index 000000000..859d1bd09 --- /dev/null +++ b/docs/EzsigntemplateCreateObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplateCreateObjectV3ResponseMPayload + +Payload for POST /3/object/ezsigntemplate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezsigntemplate_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_create_object_v3_response_m_payload import EzsigntemplateCreateObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateCreateObjectV3ResponseMPayload from a JSON string +ezsigntemplate_create_object_v3_response_m_payload_instance = EzsigntemplateCreateObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateCreateObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplate_create_object_v3_response_m_payload_dict = ezsigntemplate_create_object_v3_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplateCreateObjectV3ResponseMPayload from a dict +ezsigntemplate_create_object_v3_response_m_payload_from_dict = EzsigntemplateCreateObjectV3ResponseMPayload.from_dict(ezsigntemplate_create_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateDeleteObjectV1Response.md b/docs/EzsigntemplateDeleteObjectV1Response.md index d98a94e39..271961d3f 100644 --- a/docs/EzsigntemplateDeleteObjectV1Response.md +++ b/docs/EzsigntemplateDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplateDeleteObjectV1Response.to_json()) # convert the object into a dict ezsigntemplate_delete_object_v1_response_dict = ezsigntemplate_delete_object_v1_response_instance.to_dict() # create an instance of EzsigntemplateDeleteObjectV1Response from a dict -ezsigntemplate_delete_object_v1_response_form_dict = ezsigntemplate_delete_object_v1_response.from_dict(ezsigntemplate_delete_object_v1_response_dict) +ezsigntemplate_delete_object_v1_response_from_dict = EzsigntemplateDeleteObjectV1Response.from_dict(ezsigntemplate_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateEditObjectV1Request.md b/docs/EzsigntemplateEditObjectV1Request.md deleted file mode 100644 index d2e9836bb..000000000 --- a/docs/EzsigntemplateEditObjectV1Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplateEditObjectV1Request - -Request for PUT /1/object/ezsigntemplate/{pkiEzsigntemplateID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsigntemplate** | [**EzsigntemplateRequestCompound**](EzsigntemplateRequestCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_edit_object_v1_request import EzsigntemplateEditObjectV1Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateEditObjectV1Request from a JSON string -ezsigntemplate_edit_object_v1_request_instance = EzsigntemplateEditObjectV1Request.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateEditObjectV1Request.to_json()) - -# convert the object into a dict -ezsigntemplate_edit_object_v1_request_dict = ezsigntemplate_edit_object_v1_request_instance.to_dict() -# create an instance of EzsigntemplateEditObjectV1Request from a dict -ezsigntemplate_edit_object_v1_request_form_dict = ezsigntemplate_edit_object_v1_request.from_dict(ezsigntemplate_edit_object_v1_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateEditObjectV1Response.md b/docs/EzsigntemplateEditObjectV1Response.md deleted file mode 100644 index 510971566..000000000 --- a/docs/EzsigntemplateEditObjectV1Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# EzsigntemplateEditObjectV1Response - -Response for PUT /1/object/ezsigntemplate/{pkiEzsigntemplateID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_edit_object_v1_response import EzsigntemplateEditObjectV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateEditObjectV1Response from a JSON string -ezsigntemplate_edit_object_v1_response_instance = EzsigntemplateEditObjectV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateEditObjectV1Response.to_json()) - -# convert the object into a dict -ezsigntemplate_edit_object_v1_response_dict = ezsigntemplate_edit_object_v1_response_instance.to_dict() -# create an instance of EzsigntemplateEditObjectV1Response from a dict -ezsigntemplate_edit_object_v1_response_form_dict = ezsigntemplate_edit_object_v1_response.from_dict(ezsigntemplate_edit_object_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateEditObjectV2Request.md b/docs/EzsigntemplateEditObjectV2Request.md deleted file mode 100644 index 0c7415e55..000000000 --- a/docs/EzsigntemplateEditObjectV2Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplateEditObjectV2Request - -Request for PUT /2/object/ezsigntemplate/{pkiEzsigntemplateID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsigntemplate** | [**EzsigntemplateRequestCompoundV2**](EzsigntemplateRequestCompoundV2.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_edit_object_v2_request import EzsigntemplateEditObjectV2Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateEditObjectV2Request from a JSON string -ezsigntemplate_edit_object_v2_request_instance = EzsigntemplateEditObjectV2Request.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateEditObjectV2Request.to_json()) - -# convert the object into a dict -ezsigntemplate_edit_object_v2_request_dict = ezsigntemplate_edit_object_v2_request_instance.to_dict() -# create an instance of EzsigntemplateEditObjectV2Request from a dict -ezsigntemplate_edit_object_v2_request_form_dict = ezsigntemplate_edit_object_v2_request.from_dict(ezsigntemplate_edit_object_v2_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateEditObjectV2Response.md b/docs/EzsigntemplateEditObjectV2Response.md deleted file mode 100644 index 57e57d3c0..000000000 --- a/docs/EzsigntemplateEditObjectV2Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# EzsigntemplateEditObjectV2Response - -Response for PUT /2/object/ezsigntemplate/{pkiEzsigntemplateID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_edit_object_v2_response import EzsigntemplateEditObjectV2Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateEditObjectV2Response from a JSON string -ezsigntemplate_edit_object_v2_response_instance = EzsigntemplateEditObjectV2Response.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateEditObjectV2Response.to_json()) - -# convert the object into a dict -ezsigntemplate_edit_object_v2_response_dict = ezsigntemplate_edit_object_v2_response_instance.to_dict() -# create an instance of EzsigntemplateEditObjectV2Response from a dict -ezsigntemplate_edit_object_v2_response_form_dict = ezsigntemplate_edit_object_v2_response.from_dict(ezsigntemplate_edit_object_v2_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateEditObjectV3Request.md b/docs/EzsigntemplateEditObjectV3Request.md new file mode 100644 index 000000000..9f3c3d80a --- /dev/null +++ b/docs/EzsigntemplateEditObjectV3Request.md @@ -0,0 +1,30 @@ +# EzsigntemplateEditObjectV3Request + +Request for PUT /3/object/ezsigntemplate/{pkiEzsigntemplateID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsigntemplate** | [**EzsigntemplateRequestCompoundV3**](EzsigntemplateRequestCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_edit_object_v3_request import EzsigntemplateEditObjectV3Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateEditObjectV3Request from a JSON string +ezsigntemplate_edit_object_v3_request_instance = EzsigntemplateEditObjectV3Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateEditObjectV3Request.to_json()) + +# convert the object into a dict +ezsigntemplate_edit_object_v3_request_dict = ezsigntemplate_edit_object_v3_request_instance.to_dict() +# create an instance of EzsigntemplateEditObjectV3Request from a dict +ezsigntemplate_edit_object_v3_request_from_dict = EzsigntemplateEditObjectV3Request.from_dict(ezsigntemplate_edit_object_v3_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateEditObjectV3Response.md b/docs/EzsigntemplateEditObjectV3Response.md new file mode 100644 index 000000000..7890674be --- /dev/null +++ b/docs/EzsigntemplateEditObjectV3Response.md @@ -0,0 +1,31 @@ +# EzsigntemplateEditObjectV3Response + +Response for PUT /3/object/ezsigntemplate/{pkiEzsigntemplateID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_edit_object_v3_response import EzsigntemplateEditObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateEditObjectV3Response from a JSON string +ezsigntemplate_edit_object_v3_response_instance = EzsigntemplateEditObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateEditObjectV3Response.to_json()) + +# convert the object into a dict +ezsigntemplate_edit_object_v3_response_dict = ezsigntemplate_edit_object_v3_response_instance.to_dict() +# create an instance of EzsigntemplateEditObjectV3Response from a dict +ezsigntemplate_edit_object_v3_response_from_dict = EzsigntemplateEditObjectV3Response.from_dict(ezsigntemplate_edit_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateGetAutocompleteV2Response.md b/docs/EzsigntemplateGetAutocompleteV2Response.md index 7e72ba6b1..98eb2eb7c 100644 --- a/docs/EzsigntemplateGetAutocompleteV2Response.md +++ b/docs/EzsigntemplateGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplateGetAutocompleteV2Response.to_json()) # convert the object into a dict ezsigntemplate_get_autocomplete_v2_response_dict = ezsigntemplate_get_autocomplete_v2_response_instance.to_dict() # create an instance of EzsigntemplateGetAutocompleteV2Response from a dict -ezsigntemplate_get_autocomplete_v2_response_form_dict = ezsigntemplate_get_autocomplete_v2_response.from_dict(ezsigntemplate_get_autocomplete_v2_response_dict) +ezsigntemplate_get_autocomplete_v2_response_from_dict = EzsigntemplateGetAutocompleteV2Response.from_dict(ezsigntemplate_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateGetAutocompleteV2ResponseMPayload.md b/docs/EzsigntemplateGetAutocompleteV2ResponseMPayload.md index 660bceadb..e4ba0bacd 100644 --- a/docs/EzsigntemplateGetAutocompleteV2ResponseMPayload.md +++ b/docs/EzsigntemplateGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplateGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplate_get_autocomplete_v2_response_m_payload_dict = ezsigntemplate_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplateGetAutocompleteV2ResponseMPayload from a dict -ezsigntemplate_get_autocomplete_v2_response_m_payload_form_dict = ezsigntemplate_get_autocomplete_v2_response_m_payload.from_dict(ezsigntemplate_get_autocomplete_v2_response_m_payload_dict) +ezsigntemplate_get_autocomplete_v2_response_m_payload_from_dict = EzsigntemplateGetAutocompleteV2ResponseMPayload.from_dict(ezsigntemplate_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateGetListV1Response.md b/docs/EzsigntemplateGetListV1Response.md index c37930bc7..1b53d1b87 100644 --- a/docs/EzsigntemplateGetListV1Response.md +++ b/docs/EzsigntemplateGetListV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplateGetListV1Response.to_json()) # convert the object into a dict ezsigntemplate_get_list_v1_response_dict = ezsigntemplate_get_list_v1_response_instance.to_dict() # create an instance of EzsigntemplateGetListV1Response from a dict -ezsigntemplate_get_list_v1_response_form_dict = ezsigntemplate_get_list_v1_response.from_dict(ezsigntemplate_get_list_v1_response_dict) +ezsigntemplate_get_list_v1_response_from_dict = EzsigntemplateGetListV1Response.from_dict(ezsigntemplate_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateGetListV1ResponseMPayload.md b/docs/EzsigntemplateGetListV1ResponseMPayload.md index a3f91f3c0..4eabccc13 100644 --- a/docs/EzsigntemplateGetListV1ResponseMPayload.md +++ b/docs/EzsigntemplateGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(EzsigntemplateGetListV1ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplate_get_list_v1_response_m_payload_dict = ezsigntemplate_get_list_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplateGetListV1ResponseMPayload from a dict -ezsigntemplate_get_list_v1_response_m_payload_form_dict = ezsigntemplate_get_list_v1_response_m_payload.from_dict(ezsigntemplate_get_list_v1_response_m_payload_dict) +ezsigntemplate_get_list_v1_response_m_payload_from_dict = EzsigntemplateGetListV1ResponseMPayload.from_dict(ezsigntemplate_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateGetObjectV1Response.md b/docs/EzsigntemplateGetObjectV1Response.md deleted file mode 100644 index c83985eac..000000000 --- a/docs/EzsigntemplateGetObjectV1Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsigntemplateGetObjectV1Response - -Response for GET /1/object/ezsigntemplate/{pkiEzsigntemplateID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsigntemplateGetObjectV1ResponseMPayload**](EzsigntemplateGetObjectV1ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_get_object_v1_response import EzsigntemplateGetObjectV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateGetObjectV1Response from a JSON string -ezsigntemplate_get_object_v1_response_instance = EzsigntemplateGetObjectV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateGetObjectV1Response.to_json()) - -# convert the object into a dict -ezsigntemplate_get_object_v1_response_dict = ezsigntemplate_get_object_v1_response_instance.to_dict() -# create an instance of EzsigntemplateGetObjectV1Response from a dict -ezsigntemplate_get_object_v1_response_form_dict = ezsigntemplate_get_object_v1_response.from_dict(ezsigntemplate_get_object_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateGetObjectV1ResponseMPayload.md b/docs/EzsigntemplateGetObjectV1ResponseMPayload.md deleted file mode 100644 index 9f72f6b1f..000000000 --- a/docs/EzsigntemplateGetObjectV1ResponseMPayload.md +++ /dev/null @@ -1,43 +0,0 @@ -# EzsigntemplateGetObjectV1ResponseMPayload - -Payload for GET /1/object/ezsigntemplate/{pkiEzsigntemplateID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | -**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | [optional] -**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | -**s_language_name_x** | **str** | The Name of the Language in the language of the requester | -**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | -**s_ezsigntemplate_filenamepattern** | **str** | The filename pattern of the Ezsigntemplate | [optional] -**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | -**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] -**obj_audit** | [**CommonAudit**](CommonAudit.md) | | -**b_ezsigntemplate_editallowed** | **bool** | Whether the Ezsigntemplate if allowed to edit or not | -**e_ezsigntemplate_type** | [**FieldEEzsigntemplateType**](FieldEEzsigntemplateType.md) | | [optional] -**obj_ezsigntemplatedocument** | [**EzsigntemplatedocumentResponse**](EzsigntemplatedocumentResponse.md) | | [optional] -**a_obj_ezsigntemplatesigner** | [**List[EzsigntemplatesignerResponseCompound]**](EzsigntemplatesignerResponseCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_get_object_v1_response_m_payload import EzsigntemplateGetObjectV1ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateGetObjectV1ResponseMPayload from a JSON string -ezsigntemplate_get_object_v1_response_m_payload_instance = EzsigntemplateGetObjectV1ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateGetObjectV1ResponseMPayload.to_json()) - -# convert the object into a dict -ezsigntemplate_get_object_v1_response_m_payload_dict = ezsigntemplate_get_object_v1_response_m_payload_instance.to_dict() -# create an instance of EzsigntemplateGetObjectV1ResponseMPayload from a dict -ezsigntemplate_get_object_v1_response_m_payload_form_dict = ezsigntemplate_get_object_v1_response_m_payload.from_dict(ezsigntemplate_get_object_v1_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateGetObjectV2Response.md b/docs/EzsigntemplateGetObjectV2Response.md deleted file mode 100644 index c0547250c..000000000 --- a/docs/EzsigntemplateGetObjectV2Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsigntemplateGetObjectV2Response - -Response for GET /2/object/ezsigntemplate/{pkiEzsigntemplateID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsigntemplateGetObjectV2ResponseMPayload**](EzsigntemplateGetObjectV2ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_get_object_v2_response import EzsigntemplateGetObjectV2Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateGetObjectV2Response from a JSON string -ezsigntemplate_get_object_v2_response_instance = EzsigntemplateGetObjectV2Response.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateGetObjectV2Response.to_json()) - -# convert the object into a dict -ezsigntemplate_get_object_v2_response_dict = ezsigntemplate_get_object_v2_response_instance.to_dict() -# create an instance of EzsigntemplateGetObjectV2Response from a dict -ezsigntemplate_get_object_v2_response_form_dict = ezsigntemplate_get_object_v2_response.from_dict(ezsigntemplate_get_object_v2_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateGetObjectV2ResponseMPayload.md b/docs/EzsigntemplateGetObjectV2ResponseMPayload.md deleted file mode 100644 index 5078c4841..000000000 --- a/docs/EzsigntemplateGetObjectV2ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplateGetObjectV2ResponseMPayload - -Payload for GET /2/object/ezsigntemplate/{pkiEzsigntemplateID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsigntemplate** | [**EzsigntemplateResponseCompound**](EzsigntemplateResponseCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_get_object_v2_response_m_payload import EzsigntemplateGetObjectV2ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateGetObjectV2ResponseMPayload from a JSON string -ezsigntemplate_get_object_v2_response_m_payload_instance = EzsigntemplateGetObjectV2ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateGetObjectV2ResponseMPayload.to_json()) - -# convert the object into a dict -ezsigntemplate_get_object_v2_response_m_payload_dict = ezsigntemplate_get_object_v2_response_m_payload_instance.to_dict() -# create an instance of EzsigntemplateGetObjectV2ResponseMPayload from a dict -ezsigntemplate_get_object_v2_response_m_payload_form_dict = ezsigntemplate_get_object_v2_response_m_payload.from_dict(ezsigntemplate_get_object_v2_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateGetObjectV3Response.md b/docs/EzsigntemplateGetObjectV3Response.md new file mode 100644 index 000000000..18ea40c86 --- /dev/null +++ b/docs/EzsigntemplateGetObjectV3Response.md @@ -0,0 +1,32 @@ +# EzsigntemplateGetObjectV3Response + +Response for GET /3/object/ezsigntemplate/{pkiEzsigntemplateID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplateGetObjectV3ResponseMPayload**](EzsigntemplateGetObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_get_object_v3_response import EzsigntemplateGetObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateGetObjectV3Response from a JSON string +ezsigntemplate_get_object_v3_response_instance = EzsigntemplateGetObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateGetObjectV3Response.to_json()) + +# convert the object into a dict +ezsigntemplate_get_object_v3_response_dict = ezsigntemplate_get_object_v3_response_instance.to_dict() +# create an instance of EzsigntemplateGetObjectV3Response from a dict +ezsigntemplate_get_object_v3_response_from_dict = EzsigntemplateGetObjectV3Response.from_dict(ezsigntemplate_get_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateGetObjectV3ResponseMPayload.md b/docs/EzsigntemplateGetObjectV3ResponseMPayload.md new file mode 100644 index 000000000..69ba915d4 --- /dev/null +++ b/docs/EzsigntemplateGetObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplateGetObjectV3ResponseMPayload + +Payload for GET /3/object/ezsigntemplate/{pkiEzsigntemplateID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsigntemplate** | [**EzsigntemplateResponseCompoundV3**](EzsigntemplateResponseCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_get_object_v3_response_m_payload import EzsigntemplateGetObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateGetObjectV3ResponseMPayload from a JSON string +ezsigntemplate_get_object_v3_response_m_payload_instance = EzsigntemplateGetObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateGetObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplate_get_object_v3_response_m_payload_dict = ezsigntemplate_get_object_v3_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplateGetObjectV3ResponseMPayload from a dict +ezsigntemplate_get_object_v3_response_m_payload_from_dict = EzsigntemplateGetObjectV3ResponseMPayload.from_dict(ezsigntemplate_get_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateListElement.md b/docs/EzsigntemplateListElement.md index 29dd3a5c6..00902e04e 100644 --- a/docs/EzsigntemplateListElement.md +++ b/docs/EzsigntemplateListElement.md @@ -32,7 +32,7 @@ print(EzsigntemplateListElement.to_json()) # convert the object into a dict ezsigntemplate_list_element_dict = ezsigntemplate_list_element_instance.to_dict() # create an instance of EzsigntemplateListElement from a dict -ezsigntemplate_list_element_form_dict = ezsigntemplate_list_element.from_dict(ezsigntemplate_list_element_dict) +ezsigntemplate_list_element_from_dict = EzsigntemplateListElement.from_dict(ezsigntemplate_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateRequest.md b/docs/EzsigntemplateRequest.md deleted file mode 100644 index 3734b4ab1..000000000 --- a/docs/EzsigntemplateRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# EzsigntemplateRequest - -A Ezsigntemplate Object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] -**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | -**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | -**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | -**s_ezsigntemplate_filenamepattern** | **str** | The filename pattern of the Ezsigntemplate | [optional] -**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_request import EzsigntemplateRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateRequest from a JSON string -ezsigntemplate_request_instance = EzsigntemplateRequest.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateRequest.to_json()) - -# convert the object into a dict -ezsigntemplate_request_dict = ezsigntemplate_request_instance.to_dict() -# create an instance of EzsigntemplateRequest from a dict -ezsigntemplate_request_form_dict = ezsigntemplate_request.from_dict(ezsigntemplate_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateRequestCompound.md b/docs/EzsigntemplateRequestCompound.md deleted file mode 100644 index 5ae40a84d..000000000 --- a/docs/EzsigntemplateRequestCompound.md +++ /dev/null @@ -1,35 +0,0 @@ -# EzsigntemplateRequestCompound - -A Ezsigntemplate Object and children - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] -**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | -**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | -**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | -**s_ezsigntemplate_filenamepattern** | **str** | The filename pattern of the Ezsigntemplate | [optional] -**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_request_compound import EzsigntemplateRequestCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateRequestCompound from a JSON string -ezsigntemplate_request_compound_instance = EzsigntemplateRequestCompound.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateRequestCompound.to_json()) - -# convert the object into a dict -ezsigntemplate_request_compound_dict = ezsigntemplate_request_compound_instance.to_dict() -# create an instance of EzsigntemplateRequestCompound from a dict -ezsigntemplate_request_compound_form_dict = ezsigntemplate_request_compound.from_dict(ezsigntemplate_request_compound_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateRequestCompoundV2.md b/docs/EzsigntemplateRequestCompoundV2.md deleted file mode 100644 index cfc826308..000000000 --- a/docs/EzsigntemplateRequestCompoundV2.md +++ /dev/null @@ -1,36 +0,0 @@ -# EzsigntemplateRequestCompoundV2 - -A Ezsigntemplate Object and children - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] -**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | -**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | -**s_ezsigntemplate_filenamepattern** | **str** | The filename pattern of the Ezsigntemplate | [optional] -**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | -**e_ezsigntemplate_type** | [**FieldEEzsigntemplateType**](FieldEEzsigntemplateType.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_request_compound_v2 import EzsigntemplateRequestCompoundV2 - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateRequestCompoundV2 from a JSON string -ezsigntemplate_request_compound_v2_instance = EzsigntemplateRequestCompoundV2.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateRequestCompoundV2.to_json()) - -# convert the object into a dict -ezsigntemplate_request_compound_v2_dict = ezsigntemplate_request_compound_v2_instance.to_dict() -# create an instance of EzsigntemplateRequestCompoundV2 from a dict -ezsigntemplate_request_compound_v2_form_dict = ezsigntemplate_request_compound_v2.from_dict(ezsigntemplate_request_compound_v2_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateRequestCompoundV3.md b/docs/EzsigntemplateRequestCompoundV3.md new file mode 100644 index 000000000..105ce96ac --- /dev/null +++ b/docs/EzsigntemplateRequestCompoundV3.md @@ -0,0 +1,40 @@ +# EzsigntemplateRequestCompoundV3 + +A Ezsigntemplate Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | +**s_ezsigntemplate_externaldescription** | **str** | The external description of the Ezsigntemplate | [optional] +**t_ezsigntemplate_comment** | **str** | The comment of the Ezsigntemplate | [optional] +**e_ezsigntemplate_recognition** | [**FieldEEzsigntemplateRecognition**](FieldEEzsigntemplateRecognition.md) | | [optional] [default to FieldEEzsigntemplateRecognition.NO] +**s_ezsigntemplate_filenameregexp** | **str** | The filename regexp of the Ezsigntemplate. | [optional] +**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | +**e_ezsigntemplate_type** | [**FieldEEzsigntemplateType**](FieldEEzsigntemplateType.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_request_compound_v3 import EzsigntemplateRequestCompoundV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateRequestCompoundV3 from a JSON string +ezsigntemplate_request_compound_v3_instance = EzsigntemplateRequestCompoundV3.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateRequestCompoundV3.to_json()) + +# convert the object into a dict +ezsigntemplate_request_compound_v3_dict = ezsigntemplate_request_compound_v3_instance.to_dict() +# create an instance of EzsigntemplateRequestCompoundV3 from a dict +ezsigntemplate_request_compound_v3_from_dict = EzsigntemplateRequestCompoundV3.from_dict(ezsigntemplate_request_compound_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateRequestV2.md b/docs/EzsigntemplateRequestV2.md deleted file mode 100644 index 7621d3b1d..000000000 --- a/docs/EzsigntemplateRequestV2.md +++ /dev/null @@ -1,36 +0,0 @@ -# EzsigntemplateRequestV2 - -A Ezsigntemplate Object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] -**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | -**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | -**s_ezsigntemplate_filenamepattern** | **str** | The filename pattern of the Ezsigntemplate | [optional] -**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | -**e_ezsigntemplate_type** | [**FieldEEzsigntemplateType**](FieldEEzsigntemplateType.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplate_request_v2 import EzsigntemplateRequestV2 - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplateRequestV2 from a JSON string -ezsigntemplate_request_v2_instance = EzsigntemplateRequestV2.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplateRequestV2.to_json()) - -# convert the object into a dict -ezsigntemplate_request_v2_dict = ezsigntemplate_request_v2_instance.to_dict() -# create an instance of EzsigntemplateRequestV2 from a dict -ezsigntemplate_request_v2_form_dict = ezsigntemplate_request_v2.from_dict(ezsigntemplate_request_v2_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplateRequestV3.md b/docs/EzsigntemplateRequestV3.md new file mode 100644 index 000000000..b1faa4f3f --- /dev/null +++ b/docs/EzsigntemplateRequestV3.md @@ -0,0 +1,40 @@ +# EzsigntemplateRequestV3 + +A Ezsigntemplate Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | +**s_ezsigntemplate_externaldescription** | **str** | The external description of the Ezsigntemplate | [optional] +**t_ezsigntemplate_comment** | **str** | The comment of the Ezsigntemplate | [optional] +**e_ezsigntemplate_recognition** | [**FieldEEzsigntemplateRecognition**](FieldEEzsigntemplateRecognition.md) | | [optional] [default to FieldEEzsigntemplateRecognition.NO] +**s_ezsigntemplate_filenameregexp** | **str** | The filename regexp of the Ezsigntemplate. | [optional] +**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | +**e_ezsigntemplate_type** | [**FieldEEzsigntemplateType**](FieldEEzsigntemplateType.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_request_v3 import EzsigntemplateRequestV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateRequestV3 from a JSON string +ezsigntemplate_request_v3_instance = EzsigntemplateRequestV3.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateRequestV3.to_json()) + +# convert the object into a dict +ezsigntemplate_request_v3_dict = ezsigntemplate_request_v3_instance.to_dict() +# create an instance of EzsigntemplateRequestV3 from a dict +ezsigntemplate_request_v3_from_dict = EzsigntemplateRequestV3.from_dict(ezsigntemplate_request_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateResponse.md b/docs/EzsigntemplateResponse.md index fe3e87005..427f358c2 100644 --- a/docs/EzsigntemplateResponse.md +++ b/docs/EzsigntemplateResponse.md @@ -10,8 +10,11 @@ Name | Type | Description | Notes **fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | [optional] **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] **fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] **s_language_name_x** | **str** | The Name of the Language in the language of the requester | **s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | +**s_ezsigntemplate_externaldescription** | **str** | The external description of the Ezsigntemplate | [optional] +**t_ezsigntemplate_comment** | **str** | The comment of the Ezsigntemplate | [optional] **s_ezsigntemplate_filenamepattern** | **str** | The filename pattern of the Ezsigntemplate | [optional] **b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | **s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] @@ -34,7 +37,7 @@ print(EzsigntemplateResponse.to_json()) # convert the object into a dict ezsigntemplate_response_dict = ezsigntemplate_response_instance.to_dict() # create an instance of EzsigntemplateResponse from a dict -ezsigntemplate_response_form_dict = ezsigntemplate_response.from_dict(ezsigntemplate_response_dict) +ezsigntemplate_response_from_dict = EzsigntemplateResponse.from_dict(ezsigntemplate_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateResponseCompound.md b/docs/EzsigntemplateResponseCompound.md index 99bc0b479..05b3519b9 100644 --- a/docs/EzsigntemplateResponseCompound.md +++ b/docs/EzsigntemplateResponseCompound.md @@ -10,8 +10,11 @@ Name | Type | Description | Notes **fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | [optional] **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] **fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] **s_language_name_x** | **str** | The Name of the Language in the language of the requester | **s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | +**s_ezsigntemplate_externaldescription** | **str** | The external description of the Ezsigntemplate | [optional] +**t_ezsigntemplate_comment** | **str** | The comment of the Ezsigntemplate | [optional] **s_ezsigntemplate_filenamepattern** | **str** | The filename pattern of the Ezsigntemplate | [optional] **b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | **s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] @@ -36,7 +39,7 @@ print(EzsigntemplateResponseCompound.to_json()) # convert the object into a dict ezsigntemplate_response_compound_dict = ezsigntemplate_response_compound_instance.to_dict() # create an instance of EzsigntemplateResponseCompound from a dict -ezsigntemplate_response_compound_form_dict = ezsigntemplate_response_compound.from_dict(ezsigntemplate_response_compound_dict) +ezsigntemplate_response_compound_from_dict = EzsigntemplateResponseCompound.from_dict(ezsigntemplate_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateResponseCompoundV3.md b/docs/EzsigntemplateResponseCompoundV3.md new file mode 100644 index 000000000..616ed4159 --- /dev/null +++ b/docs/EzsigntemplateResponseCompoundV3.md @@ -0,0 +1,48 @@ +# EzsigntemplateResponseCompoundV3 + +A Ezsigntemplate Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] +**s_language_name_x** | **str** | The Name of the Language in the language of the requester | +**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | +**s_ezsigntemplate_externaldescription** | **str** | The external description of the Ezsigntemplate | [optional] +**t_ezsigntemplate_comment** | **str** | The comment of the Ezsigntemplate | [optional] +**e_ezsigntemplate_recognition** | [**FieldEEzsigntemplateRecognition**](FieldEEzsigntemplateRecognition.md) | | [optional] [default to FieldEEzsigntemplateRecognition.NO] +**s_ezsigntemplate_filenameregexp** | **str** | The filename regexp of the Ezsigntemplate. | [optional] +**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | +**b_ezsigntemplate_editallowed** | **bool** | Whether the Ezsigntemplate if allowed to edit or not | +**e_ezsigntemplate_type** | [**FieldEEzsigntemplateType**](FieldEEzsigntemplateType.md) | | [optional] +**obj_ezsigntemplatedocument** | [**EzsigntemplatedocumentResponse**](EzsigntemplatedocumentResponse.md) | | [optional] +**a_obj_ezsigntemplatesigner** | [**List[EzsigntemplatesignerResponseCompound]**](EzsigntemplatesignerResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_response_compound_v3 import EzsigntemplateResponseCompoundV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateResponseCompoundV3 from a JSON string +ezsigntemplate_response_compound_v3_instance = EzsigntemplateResponseCompoundV3.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateResponseCompoundV3.to_json()) + +# convert the object into a dict +ezsigntemplate_response_compound_v3_dict = ezsigntemplate_response_compound_v3_instance.to_dict() +# create an instance of EzsigntemplateResponseCompoundV3 from a dict +ezsigntemplate_response_compound_v3_from_dict = EzsigntemplateResponseCompoundV3.from_dict(ezsigntemplate_response_compound_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateResponseV3.md b/docs/EzsigntemplateResponseV3.md new file mode 100644 index 000000000..d4adb61d0 --- /dev/null +++ b/docs/EzsigntemplateResponseV3.md @@ -0,0 +1,46 @@ +# EzsigntemplateResponseV3 + +A Ezsigntemplate Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] +**s_language_name_x** | **str** | The Name of the Language in the language of the requester | +**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | +**s_ezsigntemplate_externaldescription** | **str** | The external description of the Ezsigntemplate | [optional] +**t_ezsigntemplate_comment** | **str** | The comment of the Ezsigntemplate | [optional] +**e_ezsigntemplate_recognition** | [**FieldEEzsigntemplateRecognition**](FieldEEzsigntemplateRecognition.md) | | [optional] [default to FieldEEzsigntemplateRecognition.NO] +**s_ezsigntemplate_filenameregexp** | **str** | The filename regexp of the Ezsigntemplate. | [optional] +**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | +**b_ezsigntemplate_editallowed** | **bool** | Whether the Ezsigntemplate if allowed to edit or not | +**e_ezsigntemplate_type** | [**FieldEEzsigntemplateType**](FieldEEzsigntemplateType.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplate_response_v3 import EzsigntemplateResponseV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplateResponseV3 from a JSON string +ezsigntemplate_response_v3_instance = EzsigntemplateResponseV3.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplateResponseV3.to_json()) + +# convert the object into a dict +ezsigntemplate_response_v3_dict = ezsigntemplate_response_v3_instance.to_dict() +# create an instance of EzsigntemplateResponseV3 from a dict +ezsigntemplate_response_v3_from_dict = EzsigntemplateResponseV3.from_dict(ezsigntemplate_response_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentCreateObjectV1Request.md b/docs/EzsigntemplatedocumentCreateObjectV1Request.md index 71a00e8a8..9521d60e6 100644 --- a/docs/EzsigntemplatedocumentCreateObjectV1Request.md +++ b/docs/EzsigntemplatedocumentCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentCreateObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatedocument_create_object_v1_request_dict = ezsigntemplatedocument_create_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatedocumentCreateObjectV1Request from a dict -ezsigntemplatedocument_create_object_v1_request_form_dict = ezsigntemplatedocument_create_object_v1_request.from_dict(ezsigntemplatedocument_create_object_v1_request_dict) +ezsigntemplatedocument_create_object_v1_request_from_dict = EzsigntemplatedocumentCreateObjectV1Request.from_dict(ezsigntemplatedocument_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentCreateObjectV1Response.md b/docs/EzsigntemplatedocumentCreateObjectV1Response.md index b6452703b..007b71776 100644 --- a/docs/EzsigntemplatedocumentCreateObjectV1Response.md +++ b/docs/EzsigntemplatedocumentCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatedocumentCreateObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatedocument_create_object_v1_response_dict = ezsigntemplatedocument_create_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatedocumentCreateObjectV1Response from a dict -ezsigntemplatedocument_create_object_v1_response_form_dict = ezsigntemplatedocument_create_object_v1_response.from_dict(ezsigntemplatedocument_create_object_v1_response_dict) +ezsigntemplatedocument_create_object_v1_response_from_dict = EzsigntemplatedocumentCreateObjectV1Response.from_dict(ezsigntemplatedocument_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplatedocumentCreateObjectV1ResponseMPayload.md index 58d33bcc8..e20506f71 100644 --- a/docs/EzsigntemplatedocumentCreateObjectV1ResponseMPayload.md +++ b/docs/EzsigntemplatedocumentCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatedocument_create_object_v1_response_m_payload_dict = ezsigntemplatedocument_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatedocumentCreateObjectV1ResponseMPayload from a dict -ezsigntemplatedocument_create_object_v1_response_m_payload_form_dict = ezsigntemplatedocument_create_object_v1_response_m_payload.from_dict(ezsigntemplatedocument_create_object_v1_response_m_payload_dict) +ezsigntemplatedocument_create_object_v1_response_m_payload_from_dict = EzsigntemplatedocumentCreateObjectV1ResponseMPayload.from_dict(ezsigntemplatedocument_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request.md b/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request.md new file mode 100644 index 000000000..8f6e11c56 --- /dev/null +++ b/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request.md @@ -0,0 +1,30 @@ +# EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request + +Request for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatedocumentpagerecognitions + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsigntemplatedocumentpagerecognition** | [**List[EzsigntemplatedocumentpagerecognitionRequestCompound]**](EzsigntemplatedocumentpagerecognitionRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request from a JSON string +ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request_instance = EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request.to_json()) + +# convert the object into a dict +ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request_dict = ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request_instance.to_dict() +# create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request from a dict +ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request_from_dict = EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request.from_dict(ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md b/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md new file mode 100644 index 000000000..4a8fae53c --- /dev/null +++ b/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response + +Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatedocumentpagerecognitions + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload**](EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response from a JSON string +ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_instance = EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_dict = ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_instance.to_dict() +# create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response from a dict +ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_from_dict = EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.from_dict(ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md b/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md new file mode 100644 index 000000000..badf01346 --- /dev/null +++ b/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload + +Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/EditEzsigntemplatedocumentpagerecognitions + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezsigntemplatedocumentpagerecognition_id** | **List[int]** | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from a JSON string +ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload_instance = EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload_dict = ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from a dict +ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload_from_dict = EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.from_dict(ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request.md b/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request.md index d7d1bdcb2..9e0e185a7 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request.to_json() # convert the object into a dict ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request_dict = ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request_instance.to_dict() # create an instance of EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request from a dict -ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request_form_dict = ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.from_dict(ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request_dict) +ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request_from_dict = EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request.from_dict(ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md b/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md index b7321a14d..ae5094648 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.to_json( # convert the object into a dict ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_dict = ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_instance.to_dict() # create an instance of EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response from a dict -ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_form_dict = ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.from_dict(ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_dict) +ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_from_dict = EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.from_dict(ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload.md b/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload.md index 22278c99a..5f9e47e57 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload. # convert the object into a dict ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload_dict = ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload from a dict -ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload_form_dict = ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload.from_dict(ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload_dict) +ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload_from_dict = EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload.from_dict(ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request.md b/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request.md index e3ea94843..eb30f970a 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request.to_json()) # convert the object into a dict ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request_dict = ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request_instance.to_dict() # create an instance of EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request from a dict -ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request_form_dict = ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request.from_dict(ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request_dict) +ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request_from_dict = EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request.from_dict(ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md b/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md index da7cda50c..d96121f07 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.to_json()) # convert the object into a dict ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_dict = ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_instance.to_dict() # create an instance of EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response from a dict -ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_form_dict = ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.from_dict(ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_dict) +ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_from_dict = EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.from_dict(ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload.md b/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload.md index df00a1074..fe9b67971 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload.to_js # convert the object into a dict ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload_dict = ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload from a dict -ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload_form_dict = ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload.from_dict(ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload_dict) +ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload_from_dict = EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload.from_dict(ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentEditObjectV1Request.md b/docs/EzsigntemplatedocumentEditObjectV1Request.md index 23f51e12b..eb0b5d46c 100644 --- a/docs/EzsigntemplatedocumentEditObjectV1Request.md +++ b/docs/EzsigntemplatedocumentEditObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentEditObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatedocument_edit_object_v1_request_dict = ezsigntemplatedocument_edit_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatedocumentEditObjectV1Request from a dict -ezsigntemplatedocument_edit_object_v1_request_form_dict = ezsigntemplatedocument_edit_object_v1_request.from_dict(ezsigntemplatedocument_edit_object_v1_request_dict) +ezsigntemplatedocument_edit_object_v1_request_from_dict = EzsigntemplatedocumentEditObjectV1Request.from_dict(ezsigntemplatedocument_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentEditObjectV1Response.md b/docs/EzsigntemplatedocumentEditObjectV1Response.md index 0b3df8079..19b555934 100644 --- a/docs/EzsigntemplatedocumentEditObjectV1Response.md +++ b/docs/EzsigntemplatedocumentEditObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatedocumentEditObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatedocument_edit_object_v1_response_dict = ezsigntemplatedocument_edit_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatedocumentEditObjectV1Response from a dict -ezsigntemplatedocument_edit_object_v1_response_form_dict = ezsigntemplatedocument_edit_object_v1_response.from_dict(ezsigntemplatedocument_edit_object_v1_response_dict) +ezsigntemplatedocument_edit_object_v1_response_from_dict = EzsigntemplatedocumentEditObjectV1Response.from_dict(ezsigntemplatedocument_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentExtractTextV1Request.md b/docs/EzsigntemplatedocumentExtractTextV1Request.md new file mode 100644 index 000000000..49eb82402 --- /dev/null +++ b/docs/EzsigntemplatedocumentExtractTextV1Request.md @@ -0,0 +1,35 @@ +# EzsigntemplatedocumentExtractTextV1Request + +Request for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/extractText + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_page** | **int** | The page where the area is located | +**e_section** | **str** | The section of the page | [optional] +**i_x** | **int** | The X coordinate (Horizontal). Require when eSection = 'Region' or eSection is not set. | [optional] +**i_y** | **int** | The Y coordinate (Vertical). Require when eSection = 'Region' or eSection is not set. | [optional] +**i_width** | **int** | Area's width. Require when eSection = 'Region' or eSection is not set. | [optional] +**i_height** | **int** | Area's height. Require when eSection = 'Region' or eSection is not set. | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_request import EzsigntemplatedocumentExtractTextV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentExtractTextV1Request from a JSON string +ezsigntemplatedocument_extract_text_v1_request_instance = EzsigntemplatedocumentExtractTextV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentExtractTextV1Request.to_json()) + +# convert the object into a dict +ezsigntemplatedocument_extract_text_v1_request_dict = ezsigntemplatedocument_extract_text_v1_request_instance.to_dict() +# create an instance of EzsigntemplatedocumentExtractTextV1Request from a dict +ezsigntemplatedocument_extract_text_v1_request_from_dict = EzsigntemplatedocumentExtractTextV1Request.from_dict(ezsigntemplatedocument_extract_text_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentExtractTextV1Response.md b/docs/EzsigntemplatedocumentExtractTextV1Response.md new file mode 100644 index 000000000..b1360d20d --- /dev/null +++ b/docs/EzsigntemplatedocumentExtractTextV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatedocumentExtractTextV1Response + +Response for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/extractText + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatedocumentExtractTextV1ResponseMPayload**](EzsigntemplatedocumentExtractTextV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response import EzsigntemplatedocumentExtractTextV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentExtractTextV1Response from a JSON string +ezsigntemplatedocument_extract_text_v1_response_instance = EzsigntemplatedocumentExtractTextV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentExtractTextV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatedocument_extract_text_v1_response_dict = ezsigntemplatedocument_extract_text_v1_response_instance.to_dict() +# create an instance of EzsigntemplatedocumentExtractTextV1Response from a dict +ezsigntemplatedocument_extract_text_v1_response_from_dict = EzsigntemplatedocumentExtractTextV1Response.from_dict(ezsigntemplatedocument_extract_text_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentExtractTextV1ResponseMPayload.md b/docs/EzsigntemplatedocumentExtractTextV1ResponseMPayload.md new file mode 100644 index 000000000..0479631a0 --- /dev/null +++ b/docs/EzsigntemplatedocumentExtractTextV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatedocumentExtractTextV1ResponseMPayload + +Response for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/ExtractText + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_text** | **str** | The text extract from document | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response_m_payload import EzsigntemplatedocumentExtractTextV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentExtractTextV1ResponseMPayload from a JSON string +ezsigntemplatedocument_extract_text_v1_response_m_payload_instance = EzsigntemplatedocumentExtractTextV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentExtractTextV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatedocument_extract_text_v1_response_m_payload_dict = ezsigntemplatedocument_extract_text_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatedocumentExtractTextV1ResponseMPayload from a dict +ezsigntemplatedocument_extract_text_v1_response_m_payload_from_dict = EzsigntemplatedocumentExtractTextV1ResponseMPayload.from_dict(ezsigntemplatedocument_extract_text_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentFlattenV1Response.md b/docs/EzsigntemplatedocumentFlattenV1Response.md index caf22b57e..fc0c82644 100644 --- a/docs/EzsigntemplatedocumentFlattenV1Response.md +++ b/docs/EzsigntemplatedocumentFlattenV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplatedocumentFlattenV1Response.to_json()) # convert the object into a dict ezsigntemplatedocument_flatten_v1_response_dict = ezsigntemplatedocument_flatten_v1_response_instance.to_dict() # create an instance of EzsigntemplatedocumentFlattenV1Response from a dict -ezsigntemplatedocument_flatten_v1_response_form_dict = ezsigntemplatedocument_flatten_v1_response.from_dict(ezsigntemplatedocument_flatten_v1_response_dict) +ezsigntemplatedocument_flatten_v1_response_from_dict = EzsigntemplatedocumentFlattenV1Response.from_dict(ezsigntemplatedocument_flatten_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md new file mode 100644 index 000000000..7a9cee5b0 --- /dev/null +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response + +Response for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/getEzsigntemplatedocumentpagerecognitions + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload**](EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response from a JSON string +ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_instance = EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_dict = ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_instance.to_dict() +# create an instance of EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response from a dict +ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_from_dict = EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.from_dict(ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md new file mode 100644 index 000000000..e798d4e3a --- /dev/null +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload + +Payload for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/getEzsigntemplatedocumentpagerecognitions + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsigntemplatedocumentpagerecognition** | [**List[EzsigntemplatedocumentpagerecognitionResponseCompound]**](EzsigntemplatedocumentpagerecognitionResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from a JSON string +ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload_instance = EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload_dict = ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from a dict +ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload_from_dict = EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.from_dict(ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md index cbd42e7ff..30f153697 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.to_json()) # convert the object into a dict ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_dict = ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_instance.to_dict() # create an instance of EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response from a dict -ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_form_dict = ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.from_dict(ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_dict) +ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_from_dict = EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.from_dict(ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md index fd95189b9..03356333d 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.to_ # convert the object into a dict ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload_dict = ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload from a dict -ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload_form_dict = ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.from_dict(ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload_dict) +ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload_from_dict = EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.from_dict(ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md b/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md index 096a4141a..2a483b4ff 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.to_json() # convert the object into a dict ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_dict = ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_instance.to_dict() # create an instance of EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response from a dict -ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_form_dict = ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.from_dict(ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_dict) +ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_from_dict = EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.from_dict(ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload.md b/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload.md index 6a4d90653..1ff5087f7 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload.t # convert the object into a dict ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload_dict = ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload from a dict -ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload_form_dict = ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.from_dict(ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload_dict) +ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload_from_dict = EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload.from_dict(ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.md b/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.md index b083427cb..2c4671e20 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.to_json()) # convert the object into a dict ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_dict = ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_instance.to_dict() # create an instance of EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response from a dict -ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_form_dict = ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.from_dict(ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_dict) +ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_from_dict = EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.from_dict(ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload.md b/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload.md index d19fe809f..14348b539 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload.to_jso # convert the object into a dict ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload_dict = ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload from a dict -ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload_form_dict = ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.from_dict(ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload_dict) +ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload_from_dict = EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload.from_dict(ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentGetObjectV2Response.md b/docs/EzsigntemplatedocumentGetObjectV2Response.md index 2a4b52d47..51ebc8717 100644 --- a/docs/EzsigntemplatedocumentGetObjectV2Response.md +++ b/docs/EzsigntemplatedocumentGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatedocumentGetObjectV2Response.to_json()) # convert the object into a dict ezsigntemplatedocument_get_object_v2_response_dict = ezsigntemplatedocument_get_object_v2_response_instance.to_dict() # create an instance of EzsigntemplatedocumentGetObjectV2Response from a dict -ezsigntemplatedocument_get_object_v2_response_form_dict = ezsigntemplatedocument_get_object_v2_response.from_dict(ezsigntemplatedocument_get_object_v2_response_dict) +ezsigntemplatedocument_get_object_v2_response_from_dict = EzsigntemplatedocumentGetObjectV2Response.from_dict(ezsigntemplatedocument_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentGetObjectV2ResponseMPayload.md b/docs/EzsigntemplatedocumentGetObjectV2ResponseMPayload.md index 7ddcf022f..98f3492da 100644 --- a/docs/EzsigntemplatedocumentGetObjectV2ResponseMPayload.md +++ b/docs/EzsigntemplatedocumentGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatedocument_get_object_v2_response_m_payload_dict = ezsigntemplatedocument_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatedocumentGetObjectV2ResponseMPayload from a dict -ezsigntemplatedocument_get_object_v2_response_m_payload_form_dict = ezsigntemplatedocument_get_object_v2_response_m_payload.from_dict(ezsigntemplatedocument_get_object_v2_response_m_payload_dict) +ezsigntemplatedocument_get_object_v2_response_m_payload_from_dict = EzsigntemplatedocumentGetObjectV2ResponseMPayload.from_dict(ezsigntemplatedocument_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentGetWordsPositionsV1Request.md b/docs/EzsigntemplatedocumentGetWordsPositionsV1Request.md index 96c20d041..9ef1bd378 100644 --- a/docs/EzsigntemplatedocumentGetWordsPositionsV1Request.md +++ b/docs/EzsigntemplatedocumentGetWordsPositionsV1Request.md @@ -25,7 +25,7 @@ print(EzsigntemplatedocumentGetWordsPositionsV1Request.to_json()) # convert the object into a dict ezsigntemplatedocument_get_words_positions_v1_request_dict = ezsigntemplatedocument_get_words_positions_v1_request_instance.to_dict() # create an instance of EzsigntemplatedocumentGetWordsPositionsV1Request from a dict -ezsigntemplatedocument_get_words_positions_v1_request_form_dict = ezsigntemplatedocument_get_words_positions_v1_request.from_dict(ezsigntemplatedocument_get_words_positions_v1_request_dict) +ezsigntemplatedocument_get_words_positions_v1_request_from_dict = EzsigntemplatedocumentGetWordsPositionsV1Request.from_dict(ezsigntemplatedocument_get_words_positions_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentGetWordsPositionsV1Response.md b/docs/EzsigntemplatedocumentGetWordsPositionsV1Response.md index d1d23ddb6..4e5549df2 100644 --- a/docs/EzsigntemplatedocumentGetWordsPositionsV1Response.md +++ b/docs/EzsigntemplatedocumentGetWordsPositionsV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatedocumentGetWordsPositionsV1Response.to_json()) # convert the object into a dict ezsigntemplatedocument_get_words_positions_v1_response_dict = ezsigntemplatedocument_get_words_positions_v1_response_instance.to_dict() # create an instance of EzsigntemplatedocumentGetWordsPositionsV1Response from a dict -ezsigntemplatedocument_get_words_positions_v1_response_form_dict = ezsigntemplatedocument_get_words_positions_v1_response.from_dict(ezsigntemplatedocument_get_words_positions_v1_response_dict) +ezsigntemplatedocument_get_words_positions_v1_response_from_dict = EzsigntemplatedocumentGetWordsPositionsV1Response.from_dict(ezsigntemplatedocument_get_words_positions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentPatchObjectV1Request.md b/docs/EzsigntemplatedocumentPatchObjectV1Request.md index f9831b565..22d6dc801 100644 --- a/docs/EzsigntemplatedocumentPatchObjectV1Request.md +++ b/docs/EzsigntemplatedocumentPatchObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentPatchObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatedocument_patch_object_v1_request_dict = ezsigntemplatedocument_patch_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatedocumentPatchObjectV1Request from a dict -ezsigntemplatedocument_patch_object_v1_request_form_dict = ezsigntemplatedocument_patch_object_v1_request.from_dict(ezsigntemplatedocument_patch_object_v1_request_dict) +ezsigntemplatedocument_patch_object_v1_request_from_dict = EzsigntemplatedocumentPatchObjectV1Request.from_dict(ezsigntemplatedocument_patch_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentPatchObjectV1Response.md b/docs/EzsigntemplatedocumentPatchObjectV1Response.md index 9f524136e..53a93baf1 100644 --- a/docs/EzsigntemplatedocumentPatchObjectV1Response.md +++ b/docs/EzsigntemplatedocumentPatchObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplatedocumentPatchObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatedocument_patch_object_v1_response_dict = ezsigntemplatedocument_patch_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatedocumentPatchObjectV1Response from a dict -ezsigntemplatedocument_patch_object_v1_response_form_dict = ezsigntemplatedocument_patch_object_v1_response.from_dict(ezsigntemplatedocument_patch_object_v1_response_dict) +ezsigntemplatedocument_patch_object_v1_response_from_dict = EzsigntemplatedocumentPatchObjectV1Response.from_dict(ezsigntemplatedocument_patch_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentRequest.md b/docs/EzsigntemplatedocumentRequest.md index c7fd59336..20a20469d 100644 --- a/docs/EzsigntemplatedocumentRequest.md +++ b/docs/EzsigntemplatedocumentRequest.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **s_ezsigntemplatedocument_base64** | **bytearray** | The Base64 encoded binary content of the document. This field is Required when eEzsigntemplatedocumentSource = Base64. | [optional] **s_ezsigntemplatedocument_url** | **str** | The url where the document content resides. This field is Required when eEzsigntemplatedocumentSource = Url. | [optional] **b_ezsigntemplatedocument_forcerepair** | **bool** | Try to repair the document or flatten it if it cannot be used for electronic signature. | [optional] -**e_ezsigntemplatedocument_form** | **str** | If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsigntemplateformfieldgroups and assign them to the specified **fkiEzsigntemplatesignerID** **Discard** removes the form from the document | [optional] +**e_ezsigntemplatedocument_form** | **str** | If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsigntemplateformfieldgroups and assign them to the specified **fkiEzsigntemplatesignerID** **Discard** removes the form from the document **Flatten** prints the form values in the document. | [optional] **s_ezsigntemplatedocument_password** | **str** | If the source template is password protected, the password to open/modify it. | [optional] [default to ''] ## Example @@ -34,7 +34,7 @@ print(EzsigntemplatedocumentRequest.to_json()) # convert the object into a dict ezsigntemplatedocument_request_dict = ezsigntemplatedocument_request_instance.to_dict() # create an instance of EzsigntemplatedocumentRequest from a dict -ezsigntemplatedocument_request_form_dict = ezsigntemplatedocument_request.from_dict(ezsigntemplatedocument_request_dict) +ezsigntemplatedocument_request_from_dict = EzsigntemplatedocumentRequest.from_dict(ezsigntemplatedocument_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentRequestCompound.md b/docs/EzsigntemplatedocumentRequestCompound.md index 10d9f1e76..749eca30c 100644 --- a/docs/EzsigntemplatedocumentRequestCompound.md +++ b/docs/EzsigntemplatedocumentRequestCompound.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **s_ezsigntemplatedocument_base64** | **bytearray** | The Base64 encoded binary content of the document. This field is Required when eEzsigntemplatedocumentSource = Base64. | [optional] **s_ezsigntemplatedocument_url** | **str** | The url where the document content resides. This field is Required when eEzsigntemplatedocumentSource = Url. | [optional] **b_ezsigntemplatedocument_forcerepair** | **bool** | Try to repair the document or flatten it if it cannot be used for electronic signature. | [optional] -**e_ezsigntemplatedocument_form** | **str** | If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsigntemplateformfieldgroups and assign them to the specified **fkiEzsigntemplatesignerID** **Discard** removes the form from the document | [optional] +**e_ezsigntemplatedocument_form** | **str** | If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsigntemplateformfieldgroups and assign them to the specified **fkiEzsigntemplatesignerID** **Discard** removes the form from the document **Flatten** prints the form values in the document. | [optional] **s_ezsigntemplatedocument_password** | **str** | If the source template is password protected, the password to open/modify it. | [optional] [default to ''] ## Example @@ -34,7 +34,7 @@ print(EzsigntemplatedocumentRequestCompound.to_json()) # convert the object into a dict ezsigntemplatedocument_request_compound_dict = ezsigntemplatedocument_request_compound_instance.to_dict() # create an instance of EzsigntemplatedocumentRequestCompound from a dict -ezsigntemplatedocument_request_compound_form_dict = ezsigntemplatedocument_request_compound.from_dict(ezsigntemplatedocument_request_compound_dict) +ezsigntemplatedocument_request_compound_from_dict = EzsigntemplatedocumentRequestCompound.from_dict(ezsigntemplatedocument_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentRequestPatch.md b/docs/EzsigntemplatedocumentRequestPatch.md index aadb6e808..9d7007a9a 100644 --- a/docs/EzsigntemplatedocumentRequestPatch.md +++ b/docs/EzsigntemplatedocumentRequestPatch.md @@ -23,7 +23,7 @@ print(EzsigntemplatedocumentRequestPatch.to_json()) # convert the object into a dict ezsigntemplatedocument_request_patch_dict = ezsigntemplatedocument_request_patch_instance.to_dict() # create an instance of EzsigntemplatedocumentRequestPatch from a dict -ezsigntemplatedocument_request_patch_form_dict = ezsigntemplatedocument_request_patch.from_dict(ezsigntemplatedocument_request_patch_dict) +ezsigntemplatedocument_request_patch_from_dict = EzsigntemplatedocumentRequestPatch.from_dict(ezsigntemplatedocument_request_patch_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentResponse.md b/docs/EzsigntemplatedocumentResponse.md index 82d770154..2bf4be4f2 100644 --- a/docs/EzsigntemplatedocumentResponse.md +++ b/docs/EzsigntemplatedocumentResponse.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **s_ezsigntemplatedocument_name** | **str** | The name of the Ezsigntemplatedocument. | **i_ezsigntemplatedocument_pagetotal** | **int** | The number of pages in the Ezsigntemplatedocument. | **i_ezsigntemplatedocument_signaturetotal** | **int** | The number of total signatures in the Ezsigntemplate. | +**i_ezsigntemplatedocument_formfieldtotal** | **int** | The number of total form fields in the Ezsigntemplate. | **b_ezsigntemplatedocument_hassignedsignatures** | **bool** | If the Ezsigntemplatedocument contains signed signatures (From internal or external sources) | ## Example @@ -28,7 +29,7 @@ print(EzsigntemplatedocumentResponse.to_json()) # convert the object into a dict ezsigntemplatedocument_response_dict = ezsigntemplatedocument_response_instance.to_dict() # create an instance of EzsigntemplatedocumentResponse from a dict -ezsigntemplatedocument_response_form_dict = ezsigntemplatedocument_response.from_dict(ezsigntemplatedocument_response_dict) +ezsigntemplatedocument_response_from_dict = EzsigntemplatedocumentResponse.from_dict(ezsigntemplatedocument_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentResponseCompound.md b/docs/EzsigntemplatedocumentResponseCompound.md index ed260b242..dc4b8b4b3 100644 --- a/docs/EzsigntemplatedocumentResponseCompound.md +++ b/docs/EzsigntemplatedocumentResponseCompound.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **s_ezsigntemplatedocument_name** | **str** | The name of the Ezsigntemplatedocument. | **i_ezsigntemplatedocument_pagetotal** | **int** | The number of pages in the Ezsigntemplatedocument. | **i_ezsigntemplatedocument_signaturetotal** | **int** | The number of total signatures in the Ezsigntemplate. | +**i_ezsigntemplatedocument_formfieldtotal** | **int** | The number of total form fields in the Ezsigntemplate. | **b_ezsigntemplatedocument_hassignedsignatures** | **bool** | If the Ezsigntemplatedocument contains signed signatures (From internal or external sources) | ## Example @@ -28,7 +29,7 @@ print(EzsigntemplatedocumentResponseCompound.to_json()) # convert the object into a dict ezsigntemplatedocument_response_compound_dict = ezsigntemplatedocument_response_compound_instance.to_dict() # create an instance of EzsigntemplatedocumentResponseCompound from a dict -ezsigntemplatedocument_response_compound_form_dict = ezsigntemplatedocument_response_compound.from_dict(ezsigntemplatedocument_response_compound_dict) +ezsigntemplatedocument_response_compound_from_dict = EzsigntemplatedocumentResponseCompound.from_dict(ezsigntemplatedocument_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentpageResponse.md b/docs/EzsigntemplatedocumentpageResponse.md index 9b153626e..240f2d2d7 100644 --- a/docs/EzsigntemplatedocumentpageResponse.md +++ b/docs/EzsigntemplatedocumentpageResponse.md @@ -29,7 +29,7 @@ print(EzsigntemplatedocumentpageResponse.to_json()) # convert the object into a dict ezsigntemplatedocumentpage_response_dict = ezsigntemplatedocumentpage_response_instance.to_dict() # create an instance of EzsigntemplatedocumentpageResponse from a dict -ezsigntemplatedocumentpage_response_form_dict = ezsigntemplatedocumentpage_response.from_dict(ezsigntemplatedocumentpage_response_dict) +ezsigntemplatedocumentpage_response_from_dict = EzsigntemplatedocumentpageResponse.from_dict(ezsigntemplatedocumentpage_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentpageResponseCompound.md b/docs/EzsigntemplatedocumentpageResponseCompound.md index 7d85bb7f8..59501d690 100644 --- a/docs/EzsigntemplatedocumentpageResponseCompound.md +++ b/docs/EzsigntemplatedocumentpageResponseCompound.md @@ -29,7 +29,7 @@ print(EzsigntemplatedocumentpageResponseCompound.to_json()) # convert the object into a dict ezsigntemplatedocumentpage_response_compound_dict = ezsigntemplatedocumentpage_response_compound_instance.to_dict() # create an instance of EzsigntemplatedocumentpageResponseCompound from a dict -ezsigntemplatedocumentpage_response_compound_form_dict = ezsigntemplatedocumentpage_response_compound.from_dict(ezsigntemplatedocumentpage_response_compound_dict) +ezsigntemplatedocumentpage_response_compound_from_dict = EzsigntemplatedocumentpageResponseCompound.from_dict(ezsigntemplatedocumentpage_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Request.md b/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Request.md new file mode 100644 index 000000000..3b75ff80c --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Request.md @@ -0,0 +1,30 @@ +# EzsigntemplatedocumentpagerecognitionCreateObjectV1Request + +Request for POST /1/object/ezsigntemplatedocumentpagerecognition + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsigntemplatedocumentpagerecognition** | [**List[EzsigntemplatedocumentpagerecognitionRequestCompound]**](EzsigntemplatedocumentpagerecognitionRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_request import EzsigntemplatedocumentpagerecognitionCreateObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1Request from a JSON string +ezsigntemplatedocumentpagerecognition_create_object_v1_request_instance = EzsigntemplatedocumentpagerecognitionCreateObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionCreateObjectV1Request.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_create_object_v1_request_dict = ezsigntemplatedocumentpagerecognition_create_object_v1_request_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1Request from a dict +ezsigntemplatedocumentpagerecognition_create_object_v1_request_from_dict = EzsigntemplatedocumentpagerecognitionCreateObjectV1Request.from_dict(ezsigntemplatedocumentpagerecognition_create_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md b/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md new file mode 100644 index 000000000..2d181ab33 --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatedocumentpagerecognitionCreateObjectV1Response + +Response for POST /1/object/ezsigntemplatedocumentpagerecognition + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload**](EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response import EzsigntemplatedocumentpagerecognitionCreateObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1Response from a JSON string +ezsigntemplatedocumentpagerecognition_create_object_v1_response_instance = EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_create_object_v1_response_dict = ezsigntemplatedocumentpagerecognition_create_object_v1_response_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1Response from a dict +ezsigntemplatedocumentpagerecognition_create_object_v1_response_from_dict = EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.from_dict(ezsigntemplatedocumentpagerecognition_create_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.md new file mode 100644 index 000000000..2bc00323d --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload + +Payload for POST /1/object/ezsigntemplatedocumentpagerecognition + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezsigntemplatedocumentpagerecognition_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload import EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload from a JSON string +ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload_instance = EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload_dict = ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload from a dict +ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload_from_dict = EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.from_dict(ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md b/docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md new file mode 100644 index 000000000..01317c111 --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md @@ -0,0 +1,31 @@ +# EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response + +Response for DELETE /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_delete_object_v1_response import EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response from a JSON string +ezsigntemplatedocumentpagerecognition_delete_object_v1_response_instance = EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_delete_object_v1_response_dict = ezsigntemplatedocumentpagerecognition_delete_object_v1_response_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response from a dict +ezsigntemplatedocumentpagerecognition_delete_object_v1_response_from_dict = EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.from_dict(ezsigntemplatedocumentpagerecognition_delete_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Request.md b/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Request.md new file mode 100644 index 000000000..9c2038b77 --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Request.md @@ -0,0 +1,30 @@ +# EzsigntemplatedocumentpagerecognitionEditObjectV1Request + +Request for PUT /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsigntemplatedocumentpagerecognition** | [**EzsigntemplatedocumentpagerecognitionRequestCompound**](EzsigntemplatedocumentpagerecognitionRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_request import EzsigntemplatedocumentpagerecognitionEditObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionEditObjectV1Request from a JSON string +ezsigntemplatedocumentpagerecognition_edit_object_v1_request_instance = EzsigntemplatedocumentpagerecognitionEditObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionEditObjectV1Request.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_edit_object_v1_request_dict = ezsigntemplatedocumentpagerecognition_edit_object_v1_request_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionEditObjectV1Request from a dict +ezsigntemplatedocumentpagerecognition_edit_object_v1_request_from_dict = EzsigntemplatedocumentpagerecognitionEditObjectV1Request.from_dict(ezsigntemplatedocumentpagerecognition_edit_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md b/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md new file mode 100644 index 000000000..d6c94794b --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md @@ -0,0 +1,31 @@ +# EzsigntemplatedocumentpagerecognitionEditObjectV1Response + +Response for PUT /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_response import EzsigntemplatedocumentpagerecognitionEditObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionEditObjectV1Response from a JSON string +ezsigntemplatedocumentpagerecognition_edit_object_v1_response_instance = EzsigntemplatedocumentpagerecognitionEditObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionEditObjectV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_edit_object_v1_response_dict = ezsigntemplatedocumentpagerecognition_edit_object_v1_response_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionEditObjectV1Response from a dict +ezsigntemplatedocumentpagerecognition_edit_object_v1_response_from_dict = EzsigntemplatedocumentpagerecognitionEditObjectV1Response.from_dict(ezsigntemplatedocumentpagerecognition_edit_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md b/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md new file mode 100644 index 000000000..48205c66f --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatedocumentpagerecognitionGetObjectV2Response + +Response for GET /2/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload**](EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response import EzsigntemplatedocumentpagerecognitionGetObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionGetObjectV2Response from a JSON string +ezsigntemplatedocumentpagerecognition_get_object_v2_response_instance = EzsigntemplatedocumentpagerecognitionGetObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionGetObjectV2Response.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_get_object_v2_response_dict = ezsigntemplatedocumentpagerecognition_get_object_v2_response_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionGetObjectV2Response from a dict +ezsigntemplatedocumentpagerecognition_get_object_v2_response_from_dict = EzsigntemplatedocumentpagerecognitionGetObjectV2Response.from_dict(ezsigntemplatedocumentpagerecognition_get_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.md b/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.md new file mode 100644 index 000000000..7fa9efb19 --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload + +Payload for GET /2/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsigntemplatedocumentpagerecognition** | [**EzsigntemplatedocumentpagerecognitionResponseCompound**](EzsigntemplatedocumentpagerecognitionResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload import EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload from a JSON string +ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload_instance = EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload_dict = ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload from a dict +ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload_from_dict = EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.from_dict(ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionRequest.md b/docs/EzsigntemplatedocumentpagerecognitionRequest.md new file mode 100644 index 000000000..6947f0b6b --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionRequest.md @@ -0,0 +1,39 @@ +# EzsigntemplatedocumentpagerecognitionRequest + +A Ezsigntemplatedocumentpagerecognition Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatedocumentpagerecognition_id** | **int** | The unique ID of the Ezsigntemplatedocumentpagerecognition | [optional] +**fki_ezsigntemplatedocumentpage_id** | **int** | The unique ID of the Ezsigntemplatedocumentpage | +**e_ezsigntemplatedocumentpagerecognition_operator** | [**FieldEEzsigntemplatedocumentpagerecognitionOperator**](FieldEEzsigntemplatedocumentpagerecognitionOperator.md) | | +**e_ezsigntemplatedocumentpagerecognition_section** | [**FieldEEzsigntemplatedocumentpagerecognitionSection**](FieldEEzsigntemplatedocumentpagerecognitionSection.md) | | +**i_ezsigntemplatedocumentpagerecognition_similarpercentage** | **int** | The similarpercentage of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_x** | **int** | The x of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_y** | **int** | The y of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_width** | **int** | The width of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_height** | **int** | The height of the Ezsigntemplatedocumentpagerecognition | [optional] +**t_ezsigntemplatedocumentpagerecognition_text** | **str** | The text of the Ezsigntemplatedocumentpagerecognition | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request import EzsigntemplatedocumentpagerecognitionRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionRequest from a JSON string +ezsigntemplatedocumentpagerecognition_request_instance = EzsigntemplatedocumentpagerecognitionRequest.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionRequest.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_request_dict = ezsigntemplatedocumentpagerecognition_request_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionRequest from a dict +ezsigntemplatedocumentpagerecognition_request_from_dict = EzsigntemplatedocumentpagerecognitionRequest.from_dict(ezsigntemplatedocumentpagerecognition_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md b/docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md new file mode 100644 index 000000000..5e1e33e72 --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md @@ -0,0 +1,39 @@ +# EzsigntemplatedocumentpagerecognitionRequestCompound + +A Ezsigntemplatedocumentpagerecognition Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatedocumentpagerecognition_id** | **int** | The unique ID of the Ezsigntemplatedocumentpagerecognition | [optional] +**fki_ezsigntemplatedocumentpage_id** | **int** | The unique ID of the Ezsigntemplatedocumentpage | +**e_ezsigntemplatedocumentpagerecognition_operator** | [**FieldEEzsigntemplatedocumentpagerecognitionOperator**](FieldEEzsigntemplatedocumentpagerecognitionOperator.md) | | +**e_ezsigntemplatedocumentpagerecognition_section** | [**FieldEEzsigntemplatedocumentpagerecognitionSection**](FieldEEzsigntemplatedocumentpagerecognitionSection.md) | | +**i_ezsigntemplatedocumentpagerecognition_similarpercentage** | **int** | The similarpercentage of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_x** | **int** | The x of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_y** | **int** | The y of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_width** | **int** | The width of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_height** | **int** | The height of the Ezsigntemplatedocumentpagerecognition | [optional] +**t_ezsigntemplatedocumentpagerecognition_text** | **str** | The text of the Ezsigntemplatedocumentpagerecognition | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound import EzsigntemplatedocumentpagerecognitionRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionRequestCompound from a JSON string +ezsigntemplatedocumentpagerecognition_request_compound_instance = EzsigntemplatedocumentpagerecognitionRequestCompound.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionRequestCompound.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_request_compound_dict = ezsigntemplatedocumentpagerecognition_request_compound_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionRequestCompound from a dict +ezsigntemplatedocumentpagerecognition_request_compound_from_dict = EzsigntemplatedocumentpagerecognitionRequestCompound.from_dict(ezsigntemplatedocumentpagerecognition_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionResponse.md b/docs/EzsigntemplatedocumentpagerecognitionResponse.md new file mode 100644 index 000000000..bf44f11ca --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionResponse.md @@ -0,0 +1,39 @@ +# EzsigntemplatedocumentpagerecognitionResponse + +A Ezsigntemplatedocumentpagerecognition Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatedocumentpagerecognition_id** | **int** | The unique ID of the Ezsigntemplatedocumentpagerecognition | +**fki_ezsigntemplatedocumentpage_id** | **int** | The unique ID of the Ezsigntemplatedocumentpage | +**e_ezsigntemplatedocumentpagerecognition_operator** | [**FieldEEzsigntemplatedocumentpagerecognitionOperator**](FieldEEzsigntemplatedocumentpagerecognitionOperator.md) | | +**e_ezsigntemplatedocumentpagerecognition_section** | [**FieldEEzsigntemplatedocumentpagerecognitionSection**](FieldEEzsigntemplatedocumentpagerecognitionSection.md) | | +**i_ezsigntemplatedocumentpagerecognition_similarpercentage** | **int** | The similarpercentage of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_x** | **int** | The x of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_y** | **int** | The y of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_width** | **int** | The width of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_height** | **int** | The height of the Ezsigntemplatedocumentpagerecognition | [optional] +**t_ezsigntemplatedocumentpagerecognition_text** | **str** | The text of the Ezsigntemplatedocumentpagerecognition | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response import EzsigntemplatedocumentpagerecognitionResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionResponse from a JSON string +ezsigntemplatedocumentpagerecognition_response_instance = EzsigntemplatedocumentpagerecognitionResponse.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionResponse.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_response_dict = ezsigntemplatedocumentpagerecognition_response_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionResponse from a dict +ezsigntemplatedocumentpagerecognition_response_from_dict = EzsigntemplatedocumentpagerecognitionResponse.from_dict(ezsigntemplatedocumentpagerecognition_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md b/docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md new file mode 100644 index 000000000..c09c6cd75 --- /dev/null +++ b/docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md @@ -0,0 +1,39 @@ +# EzsigntemplatedocumentpagerecognitionResponseCompound + +A Ezsigntemplatedocumentpagerecognition Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatedocumentpagerecognition_id** | **int** | The unique ID of the Ezsigntemplatedocumentpagerecognition | +**fki_ezsigntemplatedocumentpage_id** | **int** | The unique ID of the Ezsigntemplatedocumentpage | +**e_ezsigntemplatedocumentpagerecognition_operator** | [**FieldEEzsigntemplatedocumentpagerecognitionOperator**](FieldEEzsigntemplatedocumentpagerecognitionOperator.md) | | +**e_ezsigntemplatedocumentpagerecognition_section** | [**FieldEEzsigntemplatedocumentpagerecognitionSection**](FieldEEzsigntemplatedocumentpagerecognitionSection.md) | | +**i_ezsigntemplatedocumentpagerecognition_similarpercentage** | **int** | The similarpercentage of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_x** | **int** | The x of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_y** | **int** | The y of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_width** | **int** | The width of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_height** | **int** | The height of the Ezsigntemplatedocumentpagerecognition | [optional] +**t_ezsigntemplatedocumentpagerecognition_text** | **str** | The text of the Ezsigntemplatedocumentpagerecognition | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound import EzsigntemplatedocumentpagerecognitionResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatedocumentpagerecognitionResponseCompound from a JSON string +ezsigntemplatedocumentpagerecognition_response_compound_instance = EzsigntemplatedocumentpagerecognitionResponseCompound.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatedocumentpagerecognitionResponseCompound.to_json()) + +# convert the object into a dict +ezsigntemplatedocumentpagerecognition_response_compound_dict = ezsigntemplatedocumentpagerecognition_response_compound_instance.to_dict() +# create an instance of EzsigntemplatedocumentpagerecognitionResponseCompound from a dict +ezsigntemplatedocumentpagerecognition_response_compound_from_dict = EzsigntemplatedocumentpagerecognitionResponseCompound.from_dict(ezsigntemplatedocumentpagerecognition_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplateelementdependencyRequest.md b/docs/EzsigntemplateelementdependencyRequest.md index 21b157d5d..c09be3ffe 100644 --- a/docs/EzsigntemplateelementdependencyRequest.md +++ b/docs/EzsigntemplateelementdependencyRequest.md @@ -31,7 +31,7 @@ print(EzsigntemplateelementdependencyRequest.to_json()) # convert the object into a dict ezsigntemplateelementdependency_request_dict = ezsigntemplateelementdependency_request_instance.to_dict() # create an instance of EzsigntemplateelementdependencyRequest from a dict -ezsigntemplateelementdependency_request_form_dict = ezsigntemplateelementdependency_request.from_dict(ezsigntemplateelementdependency_request_dict) +ezsigntemplateelementdependency_request_from_dict = EzsigntemplateelementdependencyRequest.from_dict(ezsigntemplateelementdependency_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateelementdependencyRequestCompound.md b/docs/EzsigntemplateelementdependencyRequestCompound.md index 6b191780d..a5187afe4 100644 --- a/docs/EzsigntemplateelementdependencyRequestCompound.md +++ b/docs/EzsigntemplateelementdependencyRequestCompound.md @@ -31,7 +31,7 @@ print(EzsigntemplateelementdependencyRequestCompound.to_json()) # convert the object into a dict ezsigntemplateelementdependency_request_compound_dict = ezsigntemplateelementdependency_request_compound_instance.to_dict() # create an instance of EzsigntemplateelementdependencyRequestCompound from a dict -ezsigntemplateelementdependency_request_compound_form_dict = ezsigntemplateelementdependency_request_compound.from_dict(ezsigntemplateelementdependency_request_compound_dict) +ezsigntemplateelementdependency_request_compound_from_dict = EzsigntemplateelementdependencyRequestCompound.from_dict(ezsigntemplateelementdependency_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateelementdependencyResponse.md b/docs/EzsigntemplateelementdependencyResponse.md index c3cb047b9..aeba788ed 100644 --- a/docs/EzsigntemplateelementdependencyResponse.md +++ b/docs/EzsigntemplateelementdependencyResponse.md @@ -31,7 +31,7 @@ print(EzsigntemplateelementdependencyResponse.to_json()) # convert the object into a dict ezsigntemplateelementdependency_response_dict = ezsigntemplateelementdependency_response_instance.to_dict() # create an instance of EzsigntemplateelementdependencyResponse from a dict -ezsigntemplateelementdependency_response_form_dict = ezsigntemplateelementdependency_response.from_dict(ezsigntemplateelementdependency_response_dict) +ezsigntemplateelementdependency_response_from_dict = EzsigntemplateelementdependencyResponse.from_dict(ezsigntemplateelementdependency_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateelementdependencyResponseCompound.md b/docs/EzsigntemplateelementdependencyResponseCompound.md index 914a1f3c7..c9aa70a78 100644 --- a/docs/EzsigntemplateelementdependencyResponseCompound.md +++ b/docs/EzsigntemplateelementdependencyResponseCompound.md @@ -31,7 +31,7 @@ print(EzsigntemplateelementdependencyResponseCompound.to_json()) # convert the object into a dict ezsigntemplateelementdependency_response_compound_dict = ezsigntemplateelementdependency_response_compound_instance.to_dict() # create an instance of EzsigntemplateelementdependencyResponseCompound from a dict -ezsigntemplateelementdependency_response_compound_form_dict = ezsigntemplateelementdependency_response_compound.from_dict(ezsigntemplateelementdependency_response_compound_dict) +ezsigntemplateelementdependency_response_compound_from_dict = EzsigntemplateelementdependencyResponseCompound.from_dict(ezsigntemplateelementdependency_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldRequest.md b/docs/EzsigntemplateformfieldRequest.md index e9d7e5213..44845ca93 100644 --- a/docs/EzsigntemplateformfieldRequest.md +++ b/docs/EzsigntemplateformfieldRequest.md @@ -7,14 +7,14 @@ A Ezsigntemplateformfield Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplateformfield_id** | **int** | The unique ID of the Ezsigntemplateformfield | [optional] -**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] +**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] [default to FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES] **i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | **s_ezsigntemplateformfield_label** | **str** | The Label for the Ezsigntemplateformfield | **s_ezsigntemplateformfield_value** | **str** | The value for the Ezsigntemplateformfield | [optional] **i_ezsigntemplateformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] **i_ezsigntemplateformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] -**i_ezsigntemplateformfield_width** | **int** | The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 | | -**i_ezsigntemplateformfield_height** | **int** | The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | | +**i_ezsigntemplateformfield_width** | **int** | The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI | +**i_ezsigntemplateformfield_height** | **int** | The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI | **b_ezsigntemplateformfield_autocomplete** | **bool** | Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text** | [optional] **b_ezsigntemplateformfield_selected** | **bool** | Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio** | [optional] **e_ezsigntemplateformfield_dependencyrequirement** | [**FieldEEzsigntemplateformfieldDependencyrequirement**](FieldEEzsigntemplateformfieldDependencyrequirement.md) | | [optional] @@ -22,6 +22,8 @@ Name | Type | Description | Notes **i_ezsigntemplateformfield_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] **i_ezsigntemplateformfield_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] **e_ezsigntemplateformfield_positioningoccurence** | [**FieldEEzsigntemplateformfieldPositioningoccurence**](FieldEEzsigntemplateformfieldPositioningoccurence.md) | | [optional] +**e_ezsigntemplateformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticRequestCompound**](TextstylestaticRequestCompound.md) | | [optional] ## Example @@ -38,7 +40,7 @@ print(EzsigntemplateformfieldRequest.to_json()) # convert the object into a dict ezsigntemplateformfield_request_dict = ezsigntemplateformfield_request_instance.to_dict() # create an instance of EzsigntemplateformfieldRequest from a dict -ezsigntemplateformfield_request_form_dict = ezsigntemplateformfield_request.from_dict(ezsigntemplateformfield_request_dict) +ezsigntemplateformfield_request_from_dict = EzsigntemplateformfieldRequest.from_dict(ezsigntemplateformfield_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldRequestCompound.md b/docs/EzsigntemplateformfieldRequestCompound.md index a7ec2964a..ccb3f1852 100644 --- a/docs/EzsigntemplateformfieldRequestCompound.md +++ b/docs/EzsigntemplateformfieldRequestCompound.md @@ -7,14 +7,14 @@ An Ezsigntemplateformfield Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplateformfield_id** | **int** | The unique ID of the Ezsigntemplateformfield | [optional] -**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] +**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] [default to FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES] **i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | **s_ezsigntemplateformfield_label** | **str** | The Label for the Ezsigntemplateformfield | **s_ezsigntemplateformfield_value** | **str** | The value for the Ezsigntemplateformfield | [optional] **i_ezsigntemplateformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] **i_ezsigntemplateformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] -**i_ezsigntemplateformfield_width** | **int** | The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 | | -**i_ezsigntemplateformfield_height** | **int** | The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | | +**i_ezsigntemplateformfield_width** | **int** | The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI | +**i_ezsigntemplateformfield_height** | **int** | The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI | **b_ezsigntemplateformfield_autocomplete** | **bool** | Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text** | [optional] **b_ezsigntemplateformfield_selected** | **bool** | Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio** | [optional] **e_ezsigntemplateformfield_dependencyrequirement** | [**FieldEEzsigntemplateformfieldDependencyrequirement**](FieldEEzsigntemplateformfieldDependencyrequirement.md) | | [optional] @@ -22,6 +22,8 @@ Name | Type | Description | Notes **i_ezsigntemplateformfield_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] **i_ezsigntemplateformfield_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] **e_ezsigntemplateformfield_positioningoccurence** | [**FieldEEzsigntemplateformfieldPositioningoccurence**](FieldEEzsigntemplateformfieldPositioningoccurence.md) | | [optional] +**e_ezsigntemplateformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticRequestCompound**](TextstylestaticRequestCompound.md) | | [optional] **a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyRequestCompound]**](EzsigntemplateelementdependencyRequestCompound.md) | | [optional] ## Example @@ -39,7 +41,7 @@ print(EzsigntemplateformfieldRequestCompound.to_json()) # convert the object into a dict ezsigntemplateformfield_request_compound_dict = ezsigntemplateformfield_request_compound_instance.to_dict() # create an instance of EzsigntemplateformfieldRequestCompound from a dict -ezsigntemplateformfield_request_compound_form_dict = ezsigntemplateformfield_request_compound.from_dict(ezsigntemplateformfield_request_compound_dict) +ezsigntemplateformfield_request_compound_from_dict = EzsigntemplateformfieldRequestCompound.from_dict(ezsigntemplateformfield_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldResponse.md b/docs/EzsigntemplateformfieldResponse.md index 59900f3de..c6a705110 100644 --- a/docs/EzsigntemplateformfieldResponse.md +++ b/docs/EzsigntemplateformfieldResponse.md @@ -7,14 +7,14 @@ An Ezsigntemplateformfield Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplateformfield_id** | **int** | The unique ID of the Ezsigntemplateformfield | -**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] +**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] [default to FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES] **i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | **s_ezsigntemplateformfield_label** | **str** | The Label for the Ezsigntemplateformfield | **s_ezsigntemplateformfield_value** | **str** | The value for the Ezsigntemplateformfield | [optional] **i_ezsigntemplateformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] **i_ezsigntemplateformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] -**i_ezsigntemplateformfield_width** | **int** | The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 | | -**i_ezsigntemplateformfield_height** | **int** | The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | | +**i_ezsigntemplateformfield_width** | **int** | The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI | +**i_ezsigntemplateformfield_height** | **int** | The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI | **b_ezsigntemplateformfield_autocomplete** | **bool** | Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text** | [optional] **b_ezsigntemplateformfield_selected** | **bool** | Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio** | [optional] **e_ezsigntemplateformfield_dependencyrequirement** | [**FieldEEzsigntemplateformfieldDependencyrequirement**](FieldEEzsigntemplateformfieldDependencyrequirement.md) | | [optional] @@ -22,6 +22,8 @@ Name | Type | Description | Notes **i_ezsigntemplateformfield_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] **i_ezsigntemplateformfield_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] **e_ezsigntemplateformfield_positioningoccurence** | [**FieldEEzsigntemplateformfieldPositioningoccurence**](FieldEEzsigntemplateformfieldPositioningoccurence.md) | | [optional] +**e_ezsigntemplateformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticResponseCompound**](TextstylestaticResponseCompound.md) | | [optional] ## Example @@ -38,7 +40,7 @@ print(EzsigntemplateformfieldResponse.to_json()) # convert the object into a dict ezsigntemplateformfield_response_dict = ezsigntemplateformfield_response_instance.to_dict() # create an instance of EzsigntemplateformfieldResponse from a dict -ezsigntemplateformfield_response_form_dict = ezsigntemplateformfield_response.from_dict(ezsigntemplateformfield_response_dict) +ezsigntemplateformfield_response_from_dict = EzsigntemplateformfieldResponse.from_dict(ezsigntemplateformfield_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldResponseCompound.md b/docs/EzsigntemplateformfieldResponseCompound.md index e3eec2632..cdc5f1cbb 100644 --- a/docs/EzsigntemplateformfieldResponseCompound.md +++ b/docs/EzsigntemplateformfieldResponseCompound.md @@ -7,14 +7,14 @@ An Ezsigntemplateformfield Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplateformfield_id** | **int** | The unique ID of the Ezsigntemplateformfield | -**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] +**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] [default to FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES] **i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | **s_ezsigntemplateformfield_label** | **str** | The Label for the Ezsigntemplateformfield | **s_ezsigntemplateformfield_value** | **str** | The value for the Ezsigntemplateformfield | [optional] **i_ezsigntemplateformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] **i_ezsigntemplateformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] -**i_ezsigntemplateformfield_width** | **int** | The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 | | -**i_ezsigntemplateformfield_height** | **int** | The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | | +**i_ezsigntemplateformfield_width** | **int** | The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI | +**i_ezsigntemplateformfield_height** | **int** | The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI | **b_ezsigntemplateformfield_autocomplete** | **bool** | Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text** | [optional] **b_ezsigntemplateformfield_selected** | **bool** | Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio** | [optional] **e_ezsigntemplateformfield_dependencyrequirement** | [**FieldEEzsigntemplateformfieldDependencyrequirement**](FieldEEzsigntemplateformfieldDependencyrequirement.md) | | [optional] @@ -22,6 +22,8 @@ Name | Type | Description | Notes **i_ezsigntemplateformfield_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] **i_ezsigntemplateformfield_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] **e_ezsigntemplateformfield_positioningoccurence** | [**FieldEEzsigntemplateformfieldPositioningoccurence**](FieldEEzsigntemplateformfieldPositioningoccurence.md) | | [optional] +**e_ezsigntemplateformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticResponseCompound**](TextstylestaticResponseCompound.md) | | [optional] **a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyResponseCompound]**](EzsigntemplateelementdependencyResponseCompound.md) | | [optional] ## Example @@ -39,7 +41,7 @@ print(EzsigntemplateformfieldResponseCompound.to_json()) # convert the object into a dict ezsigntemplateformfield_response_compound_dict = ezsigntemplateformfield_response_compound_instance.to_dict() # create an instance of EzsigntemplateformfieldResponseCompound from a dict -ezsigntemplateformfield_response_compound_form_dict = ezsigntemplateformfield_response_compound.from_dict(ezsigntemplateformfield_response_compound_dict) +ezsigntemplateformfield_response_compound_from_dict = EzsigntemplateformfieldResponseCompound.from_dict(ezsigntemplateformfield_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupCreateObjectV1Request.md b/docs/EzsigntemplateformfieldgroupCreateObjectV1Request.md index 9b816a8c8..aa08667f2 100644 --- a/docs/EzsigntemplateformfieldgroupCreateObjectV1Request.md +++ b/docs/EzsigntemplateformfieldgroupCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplateformfieldgroupCreateObjectV1Request.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_create_object_v1_request_dict = ezsigntemplateformfieldgroup_create_object_v1_request_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupCreateObjectV1Request from a dict -ezsigntemplateformfieldgroup_create_object_v1_request_form_dict = ezsigntemplateformfieldgroup_create_object_v1_request.from_dict(ezsigntemplateformfieldgroup_create_object_v1_request_dict) +ezsigntemplateformfieldgroup_create_object_v1_request_from_dict = EzsigntemplateformfieldgroupCreateObjectV1Request.from_dict(ezsigntemplateformfieldgroup_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md b/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md index 3873dde8b..aecd89ff9 100644 --- a/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md +++ b/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplateformfieldgroupCreateObjectV1Response.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_create_object_v1_response_dict = ezsigntemplateformfieldgroup_create_object_v1_response_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupCreateObjectV1Response from a dict -ezsigntemplateformfieldgroup_create_object_v1_response_form_dict = ezsigntemplateformfieldgroup_create_object_v1_response.from_dict(ezsigntemplateformfieldgroup_create_object_v1_response_dict) +ezsigntemplateformfieldgroup_create_object_v1_response_from_dict = EzsigntemplateformfieldgroupCreateObjectV1Response.from_dict(ezsigntemplateformfieldgroup_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload.md index 6ba4ba1b2..97655b0d3 100644 --- a/docs/EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload.md +++ b/docs/EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_create_object_v1_response_m_payload_dict = ezsigntemplateformfieldgroup_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload from a dict -ezsigntemplateformfieldgroup_create_object_v1_response_m_payload_form_dict = ezsigntemplateformfieldgroup_create_object_v1_response_m_payload.from_dict(ezsigntemplateformfieldgroup_create_object_v1_response_m_payload_dict) +ezsigntemplateformfieldgroup_create_object_v1_response_m_payload_from_dict = EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload.from_dict(ezsigntemplateformfieldgroup_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupDeleteObjectV1Response.md b/docs/EzsigntemplateformfieldgroupDeleteObjectV1Response.md index 9ab16d4e0..3993ac255 100644 --- a/docs/EzsigntemplateformfieldgroupDeleteObjectV1Response.md +++ b/docs/EzsigntemplateformfieldgroupDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplateformfieldgroupDeleteObjectV1Response.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_delete_object_v1_response_dict = ezsigntemplateformfieldgroup_delete_object_v1_response_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupDeleteObjectV1Response from a dict -ezsigntemplateformfieldgroup_delete_object_v1_response_form_dict = ezsigntemplateformfieldgroup_delete_object_v1_response.from_dict(ezsigntemplateformfieldgroup_delete_object_v1_response_dict) +ezsigntemplateformfieldgroup_delete_object_v1_response_from_dict = EzsigntemplateformfieldgroupDeleteObjectV1Response.from_dict(ezsigntemplateformfieldgroup_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupEditObjectV1Request.md b/docs/EzsigntemplateformfieldgroupEditObjectV1Request.md index 6db54f245..349955d5c 100644 --- a/docs/EzsigntemplateformfieldgroupEditObjectV1Request.md +++ b/docs/EzsigntemplateformfieldgroupEditObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplateformfieldgroupEditObjectV1Request.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_edit_object_v1_request_dict = ezsigntemplateformfieldgroup_edit_object_v1_request_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupEditObjectV1Request from a dict -ezsigntemplateformfieldgroup_edit_object_v1_request_form_dict = ezsigntemplateformfieldgroup_edit_object_v1_request.from_dict(ezsigntemplateformfieldgroup_edit_object_v1_request_dict) +ezsigntemplateformfieldgroup_edit_object_v1_request_from_dict = EzsigntemplateformfieldgroupEditObjectV1Request.from_dict(ezsigntemplateformfieldgroup_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupEditObjectV1Response.md b/docs/EzsigntemplateformfieldgroupEditObjectV1Response.md index d83163ee1..af4775c0b 100644 --- a/docs/EzsigntemplateformfieldgroupEditObjectV1Response.md +++ b/docs/EzsigntemplateformfieldgroupEditObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplateformfieldgroupEditObjectV1Response.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_edit_object_v1_response_dict = ezsigntemplateformfieldgroup_edit_object_v1_response_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupEditObjectV1Response from a dict -ezsigntemplateformfieldgroup_edit_object_v1_response_form_dict = ezsigntemplateformfieldgroup_edit_object_v1_response.from_dict(ezsigntemplateformfieldgroup_edit_object_v1_response_dict) +ezsigntemplateformfieldgroup_edit_object_v1_response_from_dict = EzsigntemplateformfieldgroupEditObjectV1Response.from_dict(ezsigntemplateformfieldgroup_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupGetObjectV2Response.md b/docs/EzsigntemplateformfieldgroupGetObjectV2Response.md index c929a9591..a774502dd 100644 --- a/docs/EzsigntemplateformfieldgroupGetObjectV2Response.md +++ b/docs/EzsigntemplateformfieldgroupGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplateformfieldgroupGetObjectV2Response.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_get_object_v2_response_dict = ezsigntemplateformfieldgroup_get_object_v2_response_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupGetObjectV2Response from a dict -ezsigntemplateformfieldgroup_get_object_v2_response_form_dict = ezsigntemplateformfieldgroup_get_object_v2_response.from_dict(ezsigntemplateformfieldgroup_get_object_v2_response_dict) +ezsigntemplateformfieldgroup_get_object_v2_response_from_dict = EzsigntemplateformfieldgroupGetObjectV2Response.from_dict(ezsigntemplateformfieldgroup_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload.md b/docs/EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload.md index 2384d5f5e..7c482d764 100644 --- a/docs/EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload.md +++ b/docs/EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_get_object_v2_response_m_payload_dict = ezsigntemplateformfieldgroup_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload from a dict -ezsigntemplateformfieldgroup_get_object_v2_response_m_payload_form_dict = ezsigntemplateformfieldgroup_get_object_v2_response_m_payload.from_dict(ezsigntemplateformfieldgroup_get_object_v2_response_m_payload_dict) +ezsigntemplateformfieldgroup_get_object_v2_response_m_payload_from_dict = EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload.from_dict(ezsigntemplateformfieldgroup_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupRequest.md b/docs/EzsigntemplateformfieldgroupRequest.md index e0536f53a..1ad9f22a9 100644 --- a/docs/EzsigntemplateformfieldgroupRequest.md +++ b/docs/EzsigntemplateformfieldgroupRequest.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **i_ezsigntemplateformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] **b_ezsigntemplateformfieldgroup_encrypted** | **bool** | Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] **s_ezsigntemplateformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsigntemplateformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **e_ezsigntemplateformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] **t_ezsigntemplateformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup | [optional] **e_ezsigntemplateformfieldgroup_tooltipposition** | [**FieldEEzsigntemplateformfieldgroupTooltipposition**](FieldEEzsigntemplateformfieldgroupTooltipposition.md) | | [optional] @@ -38,7 +39,7 @@ print(EzsigntemplateformfieldgroupRequest.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_request_dict = ezsigntemplateformfieldgroup_request_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupRequest from a dict -ezsigntemplateformfieldgroup_request_form_dict = ezsigntemplateformfieldgroup_request.from_dict(ezsigntemplateformfieldgroup_request_dict) +ezsigntemplateformfieldgroup_request_from_dict = EzsigntemplateformfieldgroupRequest.from_dict(ezsigntemplateformfieldgroup_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupRequestCompound.md b/docs/EzsigntemplateformfieldgroupRequestCompound.md index 4552ca700..3d61c216f 100644 --- a/docs/EzsigntemplateformfieldgroupRequestCompound.md +++ b/docs/EzsigntemplateformfieldgroupRequestCompound.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **i_ezsigntemplateformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] **b_ezsigntemplateformfieldgroup_encrypted** | **bool** | Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] **s_ezsigntemplateformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsigntemplateformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **e_ezsigntemplateformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] **t_ezsigntemplateformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup | [optional] **e_ezsigntemplateformfieldgroup_tooltipposition** | [**FieldEEzsigntemplateformfieldgroupTooltipposition**](FieldEEzsigntemplateformfieldgroupTooltipposition.md) | | [optional] @@ -41,7 +42,7 @@ print(EzsigntemplateformfieldgroupRequestCompound.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_request_compound_dict = ezsigntemplateformfieldgroup_request_compound_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupRequestCompound from a dict -ezsigntemplateformfieldgroup_request_compound_form_dict = ezsigntemplateformfieldgroup_request_compound.from_dict(ezsigntemplateformfieldgroup_request_compound_dict) +ezsigntemplateformfieldgroup_request_compound_from_dict = EzsigntemplateformfieldgroupRequestCompound.from_dict(ezsigntemplateformfieldgroup_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupResponse.md b/docs/EzsigntemplateformfieldgroupResponse.md index cc4620a51..1e645f8bc 100644 --- a/docs/EzsigntemplateformfieldgroupResponse.md +++ b/docs/EzsigntemplateformfieldgroupResponse.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **i_ezsigntemplateformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] **b_ezsigntemplateformfieldgroup_encrypted** | **bool** | Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] **s_ezsigntemplateformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsigntemplateformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **e_ezsigntemplateformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] **t_ezsigntemplateformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup | [optional] **e_ezsigntemplateformfieldgroup_tooltipposition** | [**FieldEEzsigntemplateformfieldgroupTooltipposition**](FieldEEzsigntemplateformfieldgroupTooltipposition.md) | | [optional] @@ -38,7 +39,7 @@ print(EzsigntemplateformfieldgroupResponse.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_response_dict = ezsigntemplateformfieldgroup_response_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupResponse from a dict -ezsigntemplateformfieldgroup_response_form_dict = ezsigntemplateformfieldgroup_response.from_dict(ezsigntemplateformfieldgroup_response_dict) +ezsigntemplateformfieldgroup_response_from_dict = EzsigntemplateformfieldgroupResponse.from_dict(ezsigntemplateformfieldgroup_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupResponseCompound.md b/docs/EzsigntemplateformfieldgroupResponseCompound.md index e39ffb0a5..9e3e3ff6e 100644 --- a/docs/EzsigntemplateformfieldgroupResponseCompound.md +++ b/docs/EzsigntemplateformfieldgroupResponseCompound.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **i_ezsigntemplateformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] **b_ezsigntemplateformfieldgroup_encrypted** | **bool** | Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] **s_ezsigntemplateformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsigntemplateformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **e_ezsigntemplateformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] **t_ezsigntemplateformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup | [optional] **e_ezsigntemplateformfieldgroup_tooltipposition** | [**FieldEEzsigntemplateformfieldgroupTooltipposition**](FieldEEzsigntemplateformfieldgroupTooltipposition.md) | | [optional] @@ -41,7 +42,7 @@ print(EzsigntemplateformfieldgroupResponseCompound.to_json()) # convert the object into a dict ezsigntemplateformfieldgroup_response_compound_dict = ezsigntemplateformfieldgroup_response_compound_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupResponseCompound from a dict -ezsigntemplateformfieldgroup_response_compound_form_dict = ezsigntemplateformfieldgroup_response_compound.from_dict(ezsigntemplateformfieldgroup_response_compound_dict) +ezsigntemplateformfieldgroup_response_compound_from_dict = EzsigntemplateformfieldgroupResponseCompound.from_dict(ezsigntemplateformfieldgroup_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupsignerRequest.md b/docs/EzsigntemplateformfieldgroupsignerRequest.md index adf672633..c97c66100 100644 --- a/docs/EzsigntemplateformfieldgroupsignerRequest.md +++ b/docs/EzsigntemplateformfieldgroupsignerRequest.md @@ -24,7 +24,7 @@ print(EzsigntemplateformfieldgroupsignerRequest.to_json()) # convert the object into a dict ezsigntemplateformfieldgroupsigner_request_dict = ezsigntemplateformfieldgroupsigner_request_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupsignerRequest from a dict -ezsigntemplateformfieldgroupsigner_request_form_dict = ezsigntemplateformfieldgroupsigner_request.from_dict(ezsigntemplateformfieldgroupsigner_request_dict) +ezsigntemplateformfieldgroupsigner_request_from_dict = EzsigntemplateformfieldgroupsignerRequest.from_dict(ezsigntemplateformfieldgroupsigner_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupsignerRequestCompound.md b/docs/EzsigntemplateformfieldgroupsignerRequestCompound.md index b35b81a5b..77ebcdcb7 100644 --- a/docs/EzsigntemplateformfieldgroupsignerRequestCompound.md +++ b/docs/EzsigntemplateformfieldgroupsignerRequestCompound.md @@ -24,7 +24,7 @@ print(EzsigntemplateformfieldgroupsignerRequestCompound.to_json()) # convert the object into a dict ezsigntemplateformfieldgroupsigner_request_compound_dict = ezsigntemplateformfieldgroupsigner_request_compound_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupsignerRequestCompound from a dict -ezsigntemplateformfieldgroupsigner_request_compound_form_dict = ezsigntemplateformfieldgroupsigner_request_compound.from_dict(ezsigntemplateformfieldgroupsigner_request_compound_dict) +ezsigntemplateformfieldgroupsigner_request_compound_from_dict = EzsigntemplateformfieldgroupsignerRequestCompound.from_dict(ezsigntemplateformfieldgroupsigner_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupsignerResponse.md b/docs/EzsigntemplateformfieldgroupsignerResponse.md index ba1653082..9820ac919 100644 --- a/docs/EzsigntemplateformfieldgroupsignerResponse.md +++ b/docs/EzsigntemplateformfieldgroupsignerResponse.md @@ -24,7 +24,7 @@ print(EzsigntemplateformfieldgroupsignerResponse.to_json()) # convert the object into a dict ezsigntemplateformfieldgroupsigner_response_dict = ezsigntemplateformfieldgroupsigner_response_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupsignerResponse from a dict -ezsigntemplateformfieldgroupsigner_response_form_dict = ezsigntemplateformfieldgroupsigner_response.from_dict(ezsigntemplateformfieldgroupsigner_response_dict) +ezsigntemplateformfieldgroupsigner_response_from_dict = EzsigntemplateformfieldgroupsignerResponse.from_dict(ezsigntemplateformfieldgroupsigner_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateformfieldgroupsignerResponseCompound.md b/docs/EzsigntemplateformfieldgroupsignerResponseCompound.md index 694123d2b..38fba6d0f 100644 --- a/docs/EzsigntemplateformfieldgroupsignerResponseCompound.md +++ b/docs/EzsigntemplateformfieldgroupsignerResponseCompound.md @@ -24,7 +24,7 @@ print(EzsigntemplateformfieldgroupsignerResponseCompound.to_json()) # convert the object into a dict ezsigntemplateformfieldgroupsigner_response_compound_dict = ezsigntemplateformfieldgroupsigner_response_compound_instance.to_dict() # create an instance of EzsigntemplateformfieldgroupsignerResponseCompound from a dict -ezsigntemplateformfieldgroupsigner_response_compound_form_dict = ezsigntemplateformfieldgroupsigner_response_compound.from_dict(ezsigntemplateformfieldgroupsigner_response_compound_dict) +ezsigntemplateformfieldgroupsigner_response_compound_from_dict = EzsigntemplateformfieldgroupsignerResponseCompound.from_dict(ezsigntemplateformfieldgroupsigner_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateglobalAutocompleteElementResponse.md b/docs/EzsigntemplateglobalAutocompleteElementResponse.md index 5227b772a..8bca8fb32 100644 --- a/docs/EzsigntemplateglobalAutocompleteElementResponse.md +++ b/docs/EzsigntemplateglobalAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(EzsigntemplateglobalAutocompleteElementResponse.to_json()) # convert the object into a dict ezsigntemplateglobal_autocomplete_element_response_dict = ezsigntemplateglobal_autocomplete_element_response_instance.to_dict() # create an instance of EzsigntemplateglobalAutocompleteElementResponse from a dict -ezsigntemplateglobal_autocomplete_element_response_form_dict = ezsigntemplateglobal_autocomplete_element_response.from_dict(ezsigntemplateglobal_autocomplete_element_response_dict) +ezsigntemplateglobal_autocomplete_element_response_from_dict = EzsigntemplateglobalAutocompleteElementResponse.from_dict(ezsigntemplateglobal_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateglobalGetAutocompleteV2Response.md b/docs/EzsigntemplateglobalGetAutocompleteV2Response.md index 90a69f165..d6c8c8ce3 100644 --- a/docs/EzsigntemplateglobalGetAutocompleteV2Response.md +++ b/docs/EzsigntemplateglobalGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplateglobalGetAutocompleteV2Response.to_json()) # convert the object into a dict ezsigntemplateglobal_get_autocomplete_v2_response_dict = ezsigntemplateglobal_get_autocomplete_v2_response_instance.to_dict() # create an instance of EzsigntemplateglobalGetAutocompleteV2Response from a dict -ezsigntemplateglobal_get_autocomplete_v2_response_form_dict = ezsigntemplateglobal_get_autocomplete_v2_response.from_dict(ezsigntemplateglobal_get_autocomplete_v2_response_dict) +ezsigntemplateglobal_get_autocomplete_v2_response_from_dict = EzsigntemplateglobalGetAutocompleteV2Response.from_dict(ezsigntemplateglobal_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateglobalGetAutocompleteV2ResponseMPayload.md b/docs/EzsigntemplateglobalGetAutocompleteV2ResponseMPayload.md index 54a11cf00..c940fb129 100644 --- a/docs/EzsigntemplateglobalGetAutocompleteV2ResponseMPayload.md +++ b/docs/EzsigntemplateglobalGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplateglobalGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplateglobal_get_autocomplete_v2_response_m_payload_dict = ezsigntemplateglobal_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplateglobalGetAutocompleteV2ResponseMPayload from a dict -ezsigntemplateglobal_get_autocomplete_v2_response_m_payload_form_dict = ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.from_dict(ezsigntemplateglobal_get_autocomplete_v2_response_m_payload_dict) +ezsigntemplateglobal_get_autocomplete_v2_response_m_payload_from_dict = EzsigntemplateglobalGetAutocompleteV2ResponseMPayload.from_dict(ezsigntemplateglobal_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateglobalGetObjectV2Response.md b/docs/EzsigntemplateglobalGetObjectV2Response.md index 59de8a823..f2d4b08d1 100644 --- a/docs/EzsigntemplateglobalGetObjectV2Response.md +++ b/docs/EzsigntemplateglobalGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplateglobalGetObjectV2Response.to_json()) # convert the object into a dict ezsigntemplateglobal_get_object_v2_response_dict = ezsigntemplateglobal_get_object_v2_response_instance.to_dict() # create an instance of EzsigntemplateglobalGetObjectV2Response from a dict -ezsigntemplateglobal_get_object_v2_response_form_dict = ezsigntemplateglobal_get_object_v2_response.from_dict(ezsigntemplateglobal_get_object_v2_response_dict) +ezsigntemplateglobal_get_object_v2_response_from_dict = EzsigntemplateglobalGetObjectV2Response.from_dict(ezsigntemplateglobal_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateglobalGetObjectV2ResponseMPayload.md b/docs/EzsigntemplateglobalGetObjectV2ResponseMPayload.md index 760368151..302691cd3 100644 --- a/docs/EzsigntemplateglobalGetObjectV2ResponseMPayload.md +++ b/docs/EzsigntemplateglobalGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplateglobalGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplateglobal_get_object_v2_response_m_payload_dict = ezsigntemplateglobal_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplateglobalGetObjectV2ResponseMPayload from a dict -ezsigntemplateglobal_get_object_v2_response_m_payload_form_dict = ezsigntemplateglobal_get_object_v2_response_m_payload.from_dict(ezsigntemplateglobal_get_object_v2_response_m_payload_dict) +ezsigntemplateglobal_get_object_v2_response_m_payload_from_dict = EzsigntemplateglobalGetObjectV2ResponseMPayload.from_dict(ezsigntemplateglobal_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateglobalResponse.md b/docs/EzsigntemplateglobalResponse.md index 521d241f6..735ea9c41 100644 --- a/docs/EzsigntemplateglobalResponse.md +++ b/docs/EzsigntemplateglobalResponse.md @@ -32,7 +32,7 @@ print(EzsigntemplateglobalResponse.to_json()) # convert the object into a dict ezsigntemplateglobal_response_dict = ezsigntemplateglobal_response_instance.to_dict() # create an instance of EzsigntemplateglobalResponse from a dict -ezsigntemplateglobal_response_form_dict = ezsigntemplateglobal_response.from_dict(ezsigntemplateglobal_response_dict) +ezsigntemplateglobal_response_from_dict = EzsigntemplateglobalResponse.from_dict(ezsigntemplateglobal_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateglobalResponseCompound.md b/docs/EzsigntemplateglobalResponseCompound.md index 235b78332..812c14988 100644 --- a/docs/EzsigntemplateglobalResponseCompound.md +++ b/docs/EzsigntemplateglobalResponseCompound.md @@ -34,7 +34,7 @@ print(EzsigntemplateglobalResponseCompound.to_json()) # convert the object into a dict ezsigntemplateglobal_response_compound_dict = ezsigntemplateglobal_response_compound_instance.to_dict() # create an instance of EzsigntemplateglobalResponseCompound from a dict -ezsigntemplateglobal_response_compound_form_dict = ezsigntemplateglobal_response_compound.from_dict(ezsigntemplateglobal_response_compound_dict) +ezsigntemplateglobal_response_compound_from_dict = EzsigntemplateglobalResponseCompound.from_dict(ezsigntemplateglobal_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateglobaldocumentResponse.md b/docs/EzsigntemplateglobaldocumentResponse.md index 26514563d..921753d37 100644 --- a/docs/EzsigntemplateglobaldocumentResponse.md +++ b/docs/EzsigntemplateglobaldocumentResponse.md @@ -26,7 +26,7 @@ print(EzsigntemplateglobaldocumentResponse.to_json()) # convert the object into a dict ezsigntemplateglobaldocument_response_dict = ezsigntemplateglobaldocument_response_instance.to_dict() # create an instance of EzsigntemplateglobaldocumentResponse from a dict -ezsigntemplateglobaldocument_response_form_dict = ezsigntemplateglobaldocument_response.from_dict(ezsigntemplateglobaldocument_response_dict) +ezsigntemplateglobaldocument_response_from_dict = EzsigntemplateglobaldocumentResponse.from_dict(ezsigntemplateglobaldocument_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateglobalsignerResponse.md b/docs/EzsigntemplateglobalsignerResponse.md index a9bb758b1..612a83732 100644 --- a/docs/EzsigntemplateglobalsignerResponse.md +++ b/docs/EzsigntemplateglobalsignerResponse.md @@ -25,7 +25,7 @@ print(EzsigntemplateglobalsignerResponse.to_json()) # convert the object into a dict ezsigntemplateglobalsigner_response_dict = ezsigntemplateglobalsigner_response_instance.to_dict() # create an instance of EzsigntemplateglobalsignerResponse from a dict -ezsigntemplateglobalsigner_response_form_dict = ezsigntemplateglobalsigner_response.from_dict(ezsigntemplateglobalsigner_response_dict) +ezsigntemplateglobalsigner_response_from_dict = EzsigntemplateglobalsignerResponse.from_dict(ezsigntemplateglobalsigner_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplateglobalsignerResponseCompound.md b/docs/EzsigntemplateglobalsignerResponseCompound.md index edd41c68e..944dec4f0 100644 --- a/docs/EzsigntemplateglobalsignerResponseCompound.md +++ b/docs/EzsigntemplateglobalsignerResponseCompound.md @@ -25,7 +25,7 @@ print(EzsigntemplateglobalsignerResponseCompound.to_json()) # convert the object into a dict ezsigntemplateglobalsigner_response_compound_dict = ezsigntemplateglobalsigner_response_compound_instance.to_dict() # create an instance of EzsigntemplateglobalsignerResponseCompound from a dict -ezsigntemplateglobalsigner_response_compound_form_dict = ezsigntemplateglobalsigner_response_compound.from_dict(ezsigntemplateglobalsigner_response_compound_dict) +ezsigntemplateglobalsigner_response_compound_from_dict = EzsigntemplateglobalsignerResponseCompound.from_dict(ezsigntemplateglobalsigner_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageAutocompleteElementResponse.md b/docs/EzsigntemplatepackageAutocompleteElementResponse.md index 6e465227a..83c0ea137 100644 --- a/docs/EzsigntemplatepackageAutocompleteElementResponse.md +++ b/docs/EzsigntemplatepackageAutocompleteElementResponse.md @@ -27,7 +27,7 @@ print(EzsigntemplatepackageAutocompleteElementResponse.to_json()) # convert the object into a dict ezsigntemplatepackage_autocomplete_element_response_dict = ezsigntemplatepackage_autocomplete_element_response_instance.to_dict() # create an instance of EzsigntemplatepackageAutocompleteElementResponse from a dict -ezsigntemplatepackage_autocomplete_element_response_form_dict = ezsigntemplatepackage_autocomplete_element_response.from_dict(ezsigntemplatepackage_autocomplete_element_response_dict) +ezsigntemplatepackage_autocomplete_element_response_from_dict = EzsigntemplatepackageAutocompleteElementResponse.from_dict(ezsigntemplatepackage_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageCreateObjectV1Request.md b/docs/EzsigntemplatepackageCreateObjectV1Request.md index efbadbec6..152f7e72b 100644 --- a/docs/EzsigntemplatepackageCreateObjectV1Request.md +++ b/docs/EzsigntemplatepackageCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackageCreateObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatepackage_create_object_v1_request_dict = ezsigntemplatepackage_create_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatepackageCreateObjectV1Request from a dict -ezsigntemplatepackage_create_object_v1_request_form_dict = ezsigntemplatepackage_create_object_v1_request.from_dict(ezsigntemplatepackage_create_object_v1_request_dict) +ezsigntemplatepackage_create_object_v1_request_from_dict = EzsigntemplatepackageCreateObjectV1Request.from_dict(ezsigntemplatepackage_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageCreateObjectV1Response.md b/docs/EzsigntemplatepackageCreateObjectV1Response.md index 81c08be84..da5eae87f 100644 --- a/docs/EzsigntemplatepackageCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackageCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackageCreateObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatepackage_create_object_v1_response_dict = ezsigntemplatepackage_create_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackageCreateObjectV1Response from a dict -ezsigntemplatepackage_create_object_v1_response_form_dict = ezsigntemplatepackage_create_object_v1_response.from_dict(ezsigntemplatepackage_create_object_v1_response_dict) +ezsigntemplatepackage_create_object_v1_response_from_dict = EzsigntemplatepackageCreateObjectV1Response.from_dict(ezsigntemplatepackage_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplatepackageCreateObjectV1ResponseMPayload.md index 8c2d2c696..d97405981 100644 --- a/docs/EzsigntemplatepackageCreateObjectV1ResponseMPayload.md +++ b/docs/EzsigntemplatepackageCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackageCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatepackage_create_object_v1_response_m_payload_dict = ezsigntemplatepackage_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackageCreateObjectV1ResponseMPayload from a dict -ezsigntemplatepackage_create_object_v1_response_m_payload_form_dict = ezsigntemplatepackage_create_object_v1_response_m_payload.from_dict(ezsigntemplatepackage_create_object_v1_response_m_payload_dict) +ezsigntemplatepackage_create_object_v1_response_m_payload_from_dict = EzsigntemplatepackageCreateObjectV1ResponseMPayload.from_dict(ezsigntemplatepackage_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageDeleteObjectV1Response.md b/docs/EzsigntemplatepackageDeleteObjectV1Response.md index d1606135e..20ed1aad3 100644 --- a/docs/EzsigntemplatepackageDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackageDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplatepackageDeleteObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatepackage_delete_object_v1_response_dict = ezsigntemplatepackage_delete_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackageDeleteObjectV1Response from a dict -ezsigntemplatepackage_delete_object_v1_response_form_dict = ezsigntemplatepackage_delete_object_v1_response.from_dict(ezsigntemplatepackage_delete_object_v1_response_dict) +ezsigntemplatepackage_delete_object_v1_response_from_dict = EzsigntemplatepackageDeleteObjectV1Response.from_dict(ezsigntemplatepackage_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request.md b/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request.md index 0be742e52..337a3dc4e 100644 --- a/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request.md +++ b/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request.to_json()) # convert the object into a dict ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request_dict = ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request_instance.to_dict() # create an instance of EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request from a dict -ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request_form_dict = ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request.from_dict(ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request_dict) +ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request_from_dict = EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request.from_dict(ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.md b/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.md index d867e6953..d827c94ac 100644 --- a/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.md +++ b/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.to_json()) # convert the object into a dict ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_dict = ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response from a dict -ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_form_dict = ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.from_dict(ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_dict) +ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_from_dict = EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.from_dict(ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload.md b/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload.md index fcb0b5260..304d3bdc9 100644 --- a/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload.md +++ b/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload.to # convert the object into a dict ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload_dict = ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload from a dict -ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload_form_dict = ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload.from_dict(ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload_dict) +ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload_from_dict = EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload.from_dict(ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageEditObjectV1Request.md b/docs/EzsigntemplatepackageEditObjectV1Request.md index 2f2db468a..1adcc29e5 100644 --- a/docs/EzsigntemplatepackageEditObjectV1Request.md +++ b/docs/EzsigntemplatepackageEditObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackageEditObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatepackage_edit_object_v1_request_dict = ezsigntemplatepackage_edit_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatepackageEditObjectV1Request from a dict -ezsigntemplatepackage_edit_object_v1_request_form_dict = ezsigntemplatepackage_edit_object_v1_request.from_dict(ezsigntemplatepackage_edit_object_v1_request_dict) +ezsigntemplatepackage_edit_object_v1_request_from_dict = EzsigntemplatepackageEditObjectV1Request.from_dict(ezsigntemplatepackage_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageEditObjectV1Response.md b/docs/EzsigntemplatepackageEditObjectV1Response.md index e794df627..e61396c93 100644 --- a/docs/EzsigntemplatepackageEditObjectV1Response.md +++ b/docs/EzsigntemplatepackageEditObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplatepackageEditObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatepackage_edit_object_v1_response_dict = ezsigntemplatepackage_edit_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackageEditObjectV1Response from a dict -ezsigntemplatepackage_edit_object_v1_response_form_dict = ezsigntemplatepackage_edit_object_v1_response.from_dict(ezsigntemplatepackage_edit_object_v1_response_dict) +ezsigntemplatepackage_edit_object_v1_response_from_dict = EzsigntemplatepackageEditObjectV1Response.from_dict(ezsigntemplatepackage_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageGetAutocompleteV2Response.md b/docs/EzsigntemplatepackageGetAutocompleteV2Response.md index 968275c05..d3709bf85 100644 --- a/docs/EzsigntemplatepackageGetAutocompleteV2Response.md +++ b/docs/EzsigntemplatepackageGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackageGetAutocompleteV2Response.to_json()) # convert the object into a dict ezsigntemplatepackage_get_autocomplete_v2_response_dict = ezsigntemplatepackage_get_autocomplete_v2_response_instance.to_dict() # create an instance of EzsigntemplatepackageGetAutocompleteV2Response from a dict -ezsigntemplatepackage_get_autocomplete_v2_response_form_dict = ezsigntemplatepackage_get_autocomplete_v2_response.from_dict(ezsigntemplatepackage_get_autocomplete_v2_response_dict) +ezsigntemplatepackage_get_autocomplete_v2_response_from_dict = EzsigntemplatepackageGetAutocompleteV2Response.from_dict(ezsigntemplatepackage_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageGetAutocompleteV2ResponseMPayload.md b/docs/EzsigntemplatepackageGetAutocompleteV2ResponseMPayload.md index b92cbd7c8..03e995502 100644 --- a/docs/EzsigntemplatepackageGetAutocompleteV2ResponseMPayload.md +++ b/docs/EzsigntemplatepackageGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackageGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatepackage_get_autocomplete_v2_response_m_payload_dict = ezsigntemplatepackage_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackageGetAutocompleteV2ResponseMPayload from a dict -ezsigntemplatepackage_get_autocomplete_v2_response_m_payload_form_dict = ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.from_dict(ezsigntemplatepackage_get_autocomplete_v2_response_m_payload_dict) +ezsigntemplatepackage_get_autocomplete_v2_response_m_payload_from_dict = EzsigntemplatepackageGetAutocompleteV2ResponseMPayload.from_dict(ezsigntemplatepackage_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageGetListV1Response.md b/docs/EzsigntemplatepackageGetListV1Response.md index 960e13c40..ee5cd8f9b 100644 --- a/docs/EzsigntemplatepackageGetListV1Response.md +++ b/docs/EzsigntemplatepackageGetListV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackageGetListV1Response.to_json()) # convert the object into a dict ezsigntemplatepackage_get_list_v1_response_dict = ezsigntemplatepackage_get_list_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackageGetListV1Response from a dict -ezsigntemplatepackage_get_list_v1_response_form_dict = ezsigntemplatepackage_get_list_v1_response.from_dict(ezsigntemplatepackage_get_list_v1_response_dict) +ezsigntemplatepackage_get_list_v1_response_from_dict = EzsigntemplatepackageGetListV1Response.from_dict(ezsigntemplatepackage_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageGetListV1ResponseMPayload.md b/docs/EzsigntemplatepackageGetListV1ResponseMPayload.md index dd84efc72..c75d9cd14 100644 --- a/docs/EzsigntemplatepackageGetListV1ResponseMPayload.md +++ b/docs/EzsigntemplatepackageGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackageGetListV1ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatepackage_get_list_v1_response_m_payload_dict = ezsigntemplatepackage_get_list_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackageGetListV1ResponseMPayload from a dict -ezsigntemplatepackage_get_list_v1_response_m_payload_form_dict = ezsigntemplatepackage_get_list_v1_response_m_payload.from_dict(ezsigntemplatepackage_get_list_v1_response_m_payload_dict) +ezsigntemplatepackage_get_list_v1_response_m_payload_from_dict = EzsigntemplatepackageGetListV1ResponseMPayload.from_dict(ezsigntemplatepackage_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageGetObjectV2Response.md b/docs/EzsigntemplatepackageGetObjectV2Response.md index 7525767aa..64119e28c 100644 --- a/docs/EzsigntemplatepackageGetObjectV2Response.md +++ b/docs/EzsigntemplatepackageGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackageGetObjectV2Response.to_json()) # convert the object into a dict ezsigntemplatepackage_get_object_v2_response_dict = ezsigntemplatepackage_get_object_v2_response_instance.to_dict() # create an instance of EzsigntemplatepackageGetObjectV2Response from a dict -ezsigntemplatepackage_get_object_v2_response_form_dict = ezsigntemplatepackage_get_object_v2_response.from_dict(ezsigntemplatepackage_get_object_v2_response_dict) +ezsigntemplatepackage_get_object_v2_response_from_dict = EzsigntemplatepackageGetObjectV2Response.from_dict(ezsigntemplatepackage_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageGetObjectV2ResponseMPayload.md b/docs/EzsigntemplatepackageGetObjectV2ResponseMPayload.md index e144562ba..0f1134c8f 100644 --- a/docs/EzsigntemplatepackageGetObjectV2ResponseMPayload.md +++ b/docs/EzsigntemplatepackageGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackageGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatepackage_get_object_v2_response_m_payload_dict = ezsigntemplatepackage_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackageGetObjectV2ResponseMPayload from a dict -ezsigntemplatepackage_get_object_v2_response_m_payload_form_dict = ezsigntemplatepackage_get_object_v2_response_m_payload.from_dict(ezsigntemplatepackage_get_object_v2_response_m_payload_dict) +ezsigntemplatepackage_get_object_v2_response_m_payload_from_dict = EzsigntemplatepackageGetObjectV2ResponseMPayload.from_dict(ezsigntemplatepackage_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageListElement.md b/docs/EzsigntemplatepackageListElement.md index 5cff6ab36..496c584cb 100644 --- a/docs/EzsigntemplatepackageListElement.md +++ b/docs/EzsigntemplatepackageListElement.md @@ -30,7 +30,7 @@ print(EzsigntemplatepackageListElement.to_json()) # convert the object into a dict ezsigntemplatepackage_list_element_dict = ezsigntemplatepackage_list_element_instance.to_dict() # create an instance of EzsigntemplatepackageListElement from a dict -ezsigntemplatepackage_list_element_form_dict = ezsigntemplatepackage_list_element.from_dict(ezsigntemplatepackage_list_element_dict) +ezsigntemplatepackage_list_element_from_dict = EzsigntemplatepackageListElement.from_dict(ezsigntemplatepackage_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageRequest.md b/docs/EzsigntemplatepackageRequest.md index 6e7e65843..2a7363578 100644 --- a/docs/EzsigntemplatepackageRequest.md +++ b/docs/EzsigntemplatepackageRequest.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] **fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | **s_ezsigntemplatepackage_description** | **str** | The description of the Ezsigntemplatepackage | **b_ezsigntemplatepackage_adminonly** | **bool** | Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal) | @@ -28,7 +29,7 @@ print(EzsigntemplatepackageRequest.to_json()) # convert the object into a dict ezsigntemplatepackage_request_dict = ezsigntemplatepackage_request_instance.to_dict() # create an instance of EzsigntemplatepackageRequest from a dict -ezsigntemplatepackage_request_form_dict = ezsigntemplatepackage_request.from_dict(ezsigntemplatepackage_request_dict) +ezsigntemplatepackage_request_from_dict = EzsigntemplatepackageRequest.from_dict(ezsigntemplatepackage_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageRequestCompound.md b/docs/EzsigntemplatepackageRequestCompound.md index f8e2bad6b..1a9dc2e43 100644 --- a/docs/EzsigntemplatepackageRequestCompound.md +++ b/docs/EzsigntemplatepackageRequestCompound.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] **fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | **s_ezsigntemplatepackage_description** | **str** | The description of the Ezsigntemplatepackage | **b_ezsigntemplatepackage_adminonly** | **bool** | Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal) | @@ -28,7 +29,7 @@ print(EzsigntemplatepackageRequestCompound.to_json()) # convert the object into a dict ezsigntemplatepackage_request_compound_dict = ezsigntemplatepackage_request_compound_instance.to_dict() # create an instance of EzsigntemplatepackageRequestCompound from a dict -ezsigntemplatepackage_request_compound_form_dict = ezsigntemplatepackage_request_compound.from_dict(ezsigntemplatepackage_request_compound_dict) +ezsigntemplatepackage_request_compound_from_dict = EzsigntemplatepackageRequestCompound.from_dict(ezsigntemplatepackage_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageResponse.md b/docs/EzsigntemplatepackageResponse.md index 2a86b8c7f..8ba3dd260 100644 --- a/docs/EzsigntemplatepackageResponse.md +++ b/docs/EzsigntemplatepackageResponse.md @@ -8,7 +8,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] **fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] **s_language_name_x** | **str** | The Name of the Language in the language of the requester | **s_ezsigntemplatepackage_description** | **str** | The description of the Ezsigntemplatepackage | **b_ezsigntemplatepackage_adminonly** | **bool** | Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal) | @@ -32,7 +34,7 @@ print(EzsigntemplatepackageResponse.to_json()) # convert the object into a dict ezsigntemplatepackage_response_dict = ezsigntemplatepackage_response_instance.to_dict() # create an instance of EzsigntemplatepackageResponse from a dict -ezsigntemplatepackage_response_form_dict = ezsigntemplatepackage_response.from_dict(ezsigntemplatepackage_response_dict) +ezsigntemplatepackage_response_from_dict = EzsigntemplatepackageResponse.from_dict(ezsigntemplatepackage_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackageResponseCompound.md b/docs/EzsigntemplatepackageResponseCompound.md index 2f18ef634..315a2091b 100644 --- a/docs/EzsigntemplatepackageResponseCompound.md +++ b/docs/EzsigntemplatepackageResponseCompound.md @@ -8,7 +8,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] **fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] **s_language_name_x** | **str** | The Name of the Language in the language of the requester | **s_ezsigntemplatepackage_description** | **str** | The description of the Ezsigntemplatepackage | **b_ezsigntemplatepackage_adminonly** | **bool** | Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal) | @@ -34,7 +36,7 @@ print(EzsigntemplatepackageResponseCompound.to_json()) # convert the object into a dict ezsigntemplatepackage_response_compound_dict = ezsigntemplatepackage_response_compound_instance.to_dict() # create an instance of EzsigntemplatepackageResponseCompound from a dict -ezsigntemplatepackage_response_compound_form_dict = ezsigntemplatepackage_response_compound.from_dict(ezsigntemplatepackage_response_compound_dict) +ezsigntemplatepackage_response_compound_from_dict = EzsigntemplatepackageResponseCompound.from_dict(ezsigntemplatepackage_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagemembershipCreateObjectV1Request.md b/docs/EzsigntemplatepackagemembershipCreateObjectV1Request.md index ed56619e6..f707ca307 100644 --- a/docs/EzsigntemplatepackagemembershipCreateObjectV1Request.md +++ b/docs/EzsigntemplatepackagemembershipCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackagemembershipCreateObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatepackagemembership_create_object_v1_request_dict = ezsigntemplatepackagemembership_create_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatepackagemembershipCreateObjectV1Request from a dict -ezsigntemplatepackagemembership_create_object_v1_request_form_dict = ezsigntemplatepackagemembership_create_object_v1_request.from_dict(ezsigntemplatepackagemembership_create_object_v1_request_dict) +ezsigntemplatepackagemembership_create_object_v1_request_from_dict = EzsigntemplatepackagemembershipCreateObjectV1Request.from_dict(ezsigntemplatepackagemembership_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagemembershipCreateObjectV1Response.md b/docs/EzsigntemplatepackagemembershipCreateObjectV1Response.md index d5d5507a9..e2a7a1785 100644 --- a/docs/EzsigntemplatepackagemembershipCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackagemembershipCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagemembershipCreateObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatepackagemembership_create_object_v1_response_dict = ezsigntemplatepackagemembership_create_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackagemembershipCreateObjectV1Response from a dict -ezsigntemplatepackagemembership_create_object_v1_response_form_dict = ezsigntemplatepackagemembership_create_object_v1_response.from_dict(ezsigntemplatepackagemembership_create_object_v1_response_dict) +ezsigntemplatepackagemembership_create_object_v1_response_from_dict = EzsigntemplatepackagemembershipCreateObjectV1Response.from_dict(ezsigntemplatepackagemembership_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload.md index c585dfe82..0fdef1da1 100644 --- a/docs/EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload.md +++ b/docs/EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatepackagemembership_create_object_v1_response_m_payload_dict = ezsigntemplatepackagemembership_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload from a dict -ezsigntemplatepackagemembership_create_object_v1_response_m_payload_form_dict = ezsigntemplatepackagemembership_create_object_v1_response_m_payload.from_dict(ezsigntemplatepackagemembership_create_object_v1_response_m_payload_dict) +ezsigntemplatepackagemembership_create_object_v1_response_m_payload_from_dict = EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload.from_dict(ezsigntemplatepackagemembership_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagemembershipDeleteObjectV1Response.md b/docs/EzsigntemplatepackagemembershipDeleteObjectV1Response.md index 10c1cf25e..583d101a6 100644 --- a/docs/EzsigntemplatepackagemembershipDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackagemembershipDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplatepackagemembershipDeleteObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatepackagemembership_delete_object_v1_response_dict = ezsigntemplatepackagemembership_delete_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackagemembershipDeleteObjectV1Response from a dict -ezsigntemplatepackagemembership_delete_object_v1_response_form_dict = ezsigntemplatepackagemembership_delete_object_v1_response.from_dict(ezsigntemplatepackagemembership_delete_object_v1_response_dict) +ezsigntemplatepackagemembership_delete_object_v1_response_from_dict = EzsigntemplatepackagemembershipDeleteObjectV1Response.from_dict(ezsigntemplatepackagemembership_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagemembershipGetObjectV2Response.md b/docs/EzsigntemplatepackagemembershipGetObjectV2Response.md index 1aeca0e80..be72badf3 100644 --- a/docs/EzsigntemplatepackagemembershipGetObjectV2Response.md +++ b/docs/EzsigntemplatepackagemembershipGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagemembershipGetObjectV2Response.to_json()) # convert the object into a dict ezsigntemplatepackagemembership_get_object_v2_response_dict = ezsigntemplatepackagemembership_get_object_v2_response_instance.to_dict() # create an instance of EzsigntemplatepackagemembershipGetObjectV2Response from a dict -ezsigntemplatepackagemembership_get_object_v2_response_form_dict = ezsigntemplatepackagemembership_get_object_v2_response.from_dict(ezsigntemplatepackagemembership_get_object_v2_response_dict) +ezsigntemplatepackagemembership_get_object_v2_response_from_dict = EzsigntemplatepackagemembershipGetObjectV2Response.from_dict(ezsigntemplatepackagemembership_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload.md b/docs/EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload.md index 39d4998a8..6f7c810fb 100644 --- a/docs/EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload.md +++ b/docs/EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatepackagemembership_get_object_v2_response_m_payload_dict = ezsigntemplatepackagemembership_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload from a dict -ezsigntemplatepackagemembership_get_object_v2_response_m_payload_form_dict = ezsigntemplatepackagemembership_get_object_v2_response_m_payload.from_dict(ezsigntemplatepackagemembership_get_object_v2_response_m_payload_dict) +ezsigntemplatepackagemembership_get_object_v2_response_m_payload_from_dict = EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload.from_dict(ezsigntemplatepackagemembership_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagemembershipRequest.md b/docs/EzsigntemplatepackagemembershipRequest.md index eb734abf7..293b8386f 100644 --- a/docs/EzsigntemplatepackagemembershipRequest.md +++ b/docs/EzsigntemplatepackagemembershipRequest.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagemembershipRequest.to_json()) # convert the object into a dict ezsigntemplatepackagemembership_request_dict = ezsigntemplatepackagemembership_request_instance.to_dict() # create an instance of EzsigntemplatepackagemembershipRequest from a dict -ezsigntemplatepackagemembership_request_form_dict = ezsigntemplatepackagemembership_request.from_dict(ezsigntemplatepackagemembership_request_dict) +ezsigntemplatepackagemembership_request_from_dict = EzsigntemplatepackagemembershipRequest.from_dict(ezsigntemplatepackagemembership_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagemembershipRequestCompound.md b/docs/EzsigntemplatepackagemembershipRequestCompound.md index 60e4f71cb..98034b8d5 100644 --- a/docs/EzsigntemplatepackagemembershipRequestCompound.md +++ b/docs/EzsigntemplatepackagemembershipRequestCompound.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagemembershipRequestCompound.to_json()) # convert the object into a dict ezsigntemplatepackagemembership_request_compound_dict = ezsigntemplatepackagemembership_request_compound_instance.to_dict() # create an instance of EzsigntemplatepackagemembershipRequestCompound from a dict -ezsigntemplatepackagemembership_request_compound_form_dict = ezsigntemplatepackagemembership_request_compound.from_dict(ezsigntemplatepackagemembership_request_compound_dict) +ezsigntemplatepackagemembership_request_compound_from_dict = EzsigntemplatepackagemembershipRequestCompound.from_dict(ezsigntemplatepackagemembership_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagemembershipResponse.md b/docs/EzsigntemplatepackagemembershipResponse.md index 63dc3aaad..1119a8cb6 100644 --- a/docs/EzsigntemplatepackagemembershipResponse.md +++ b/docs/EzsigntemplatepackagemembershipResponse.md @@ -26,7 +26,7 @@ print(EzsigntemplatepackagemembershipResponse.to_json()) # convert the object into a dict ezsigntemplatepackagemembership_response_dict = ezsigntemplatepackagemembership_response_instance.to_dict() # create an instance of EzsigntemplatepackagemembershipResponse from a dict -ezsigntemplatepackagemembership_response_form_dict = ezsigntemplatepackagemembership_response.from_dict(ezsigntemplatepackagemembership_response_dict) +ezsigntemplatepackagemembership_response_from_dict = EzsigntemplatepackagemembershipResponse.from_dict(ezsigntemplatepackagemembership_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagemembershipResponseCompound.md b/docs/EzsigntemplatepackagemembershipResponseCompound.md index 0b6599419..99d70fb02 100644 --- a/docs/EzsigntemplatepackagemembershipResponseCompound.md +++ b/docs/EzsigntemplatepackagemembershipResponseCompound.md @@ -28,7 +28,7 @@ print(EzsigntemplatepackagemembershipResponseCompound.to_json()) # convert the object into a dict ezsigntemplatepackagemembership_response_compound_dict = ezsigntemplatepackagemembership_response_compound_instance.to_dict() # create an instance of EzsigntemplatepackagemembershipResponseCompound from a dict -ezsigntemplatepackagemembership_response_compound_form_dict = ezsigntemplatepackagemembership_response_compound.from_dict(ezsigntemplatepackagemembership_response_compound_dict) +ezsigntemplatepackagemembership_response_compound_from_dict = EzsigntemplatepackagemembershipResponseCompound.from_dict(ezsigntemplatepackagemembership_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerCreateObjectV1Request.md b/docs/EzsigntemplatepackagesignerCreateObjectV1Request.md index 9a0dcf8ee..913f9eddd 100644 --- a/docs/EzsigntemplatepackagesignerCreateObjectV1Request.md +++ b/docs/EzsigntemplatepackagesignerCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackagesignerCreateObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_create_object_v1_request_dict = ezsigntemplatepackagesigner_create_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatepackagesignerCreateObjectV1Request from a dict -ezsigntemplatepackagesigner_create_object_v1_request_form_dict = ezsigntemplatepackagesigner_create_object_v1_request.from_dict(ezsigntemplatepackagesigner_create_object_v1_request_dict) +ezsigntemplatepackagesigner_create_object_v1_request_from_dict = EzsigntemplatepackagesignerCreateObjectV1Request.from_dict(ezsigntemplatepackagesigner_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerCreateObjectV1Response.md b/docs/EzsigntemplatepackagesignerCreateObjectV1Response.md index 34a4c13e3..aa1e3a15c 100644 --- a/docs/EzsigntemplatepackagesignerCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignerCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagesignerCreateObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_create_object_v1_response_dict = ezsigntemplatepackagesigner_create_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackagesignerCreateObjectV1Response from a dict -ezsigntemplatepackagesigner_create_object_v1_response_form_dict = ezsigntemplatepackagesigner_create_object_v1_response.from_dict(ezsigntemplatepackagesigner_create_object_v1_response_dict) +ezsigntemplatepackagesigner_create_object_v1_response_from_dict = EzsigntemplatepackagesignerCreateObjectV1Response.from_dict(ezsigntemplatepackagesigner_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload.md index 4b0186a79..005a0bcad 100644 --- a/docs/EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload.md +++ b/docs/EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_create_object_v1_response_m_payload_dict = ezsigntemplatepackagesigner_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload from a dict -ezsigntemplatepackagesigner_create_object_v1_response_m_payload_form_dict = ezsigntemplatepackagesigner_create_object_v1_response_m_payload.from_dict(ezsigntemplatepackagesigner_create_object_v1_response_m_payload_dict) +ezsigntemplatepackagesigner_create_object_v1_response_m_payload_from_dict = EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload.from_dict(ezsigntemplatepackagesigner_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerDeleteObjectV1Response.md b/docs/EzsigntemplatepackagesignerDeleteObjectV1Response.md index 0df47245c..27d0279ec 100644 --- a/docs/EzsigntemplatepackagesignerDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignerDeleteObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagesignerDeleteObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_delete_object_v1_response_dict = ezsigntemplatepackagesigner_delete_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackagesignerDeleteObjectV1Response from a dict -ezsigntemplatepackagesigner_delete_object_v1_response_form_dict = ezsigntemplatepackagesigner_delete_object_v1_response.from_dict(ezsigntemplatepackagesigner_delete_object_v1_response_dict) +ezsigntemplatepackagesigner_delete_object_v1_response_from_dict = EzsigntemplatepackagesignerDeleteObjectV1Response.from_dict(ezsigntemplatepackagesigner_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload.md b/docs/EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload.md index f8e2bbea7..f2f0d42de 100644 --- a/docs/EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload.md +++ b/docs/EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_delete_object_v1_response_m_payload_dict = ezsigntemplatepackagesigner_delete_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload from a dict -ezsigntemplatepackagesigner_delete_object_v1_response_m_payload_form_dict = ezsigntemplatepackagesigner_delete_object_v1_response_m_payload.from_dict(ezsigntemplatepackagesigner_delete_object_v1_response_m_payload_dict) +ezsigntemplatepackagesigner_delete_object_v1_response_m_payload_from_dict = EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload.from_dict(ezsigntemplatepackagesigner_delete_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerEditObjectV1Request.md b/docs/EzsigntemplatepackagesignerEditObjectV1Request.md index df6f9ca11..2b9f61da7 100644 --- a/docs/EzsigntemplatepackagesignerEditObjectV1Request.md +++ b/docs/EzsigntemplatepackagesignerEditObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackagesignerEditObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_edit_object_v1_request_dict = ezsigntemplatepackagesigner_edit_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatepackagesignerEditObjectV1Request from a dict -ezsigntemplatepackagesigner_edit_object_v1_request_form_dict = ezsigntemplatepackagesigner_edit_object_v1_request.from_dict(ezsigntemplatepackagesigner_edit_object_v1_request_dict) +ezsigntemplatepackagesigner_edit_object_v1_request_from_dict = EzsigntemplatepackagesignerEditObjectV1Request.from_dict(ezsigntemplatepackagesigner_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerEditObjectV1Response.md b/docs/EzsigntemplatepackagesignerEditObjectV1Response.md index cc1cf30b2..c07a88d13 100644 --- a/docs/EzsigntemplatepackagesignerEditObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignerEditObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplatepackagesignerEditObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_edit_object_v1_response_dict = ezsigntemplatepackagesigner_edit_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackagesignerEditObjectV1Response from a dict -ezsigntemplatepackagesigner_edit_object_v1_response_form_dict = ezsigntemplatepackagesigner_edit_object_v1_response.from_dict(ezsigntemplatepackagesigner_edit_object_v1_response_dict) +ezsigntemplatepackagesigner_edit_object_v1_response_from_dict = EzsigntemplatepackagesignerEditObjectV1Response.from_dict(ezsigntemplatepackagesigner_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerGetObjectV2Response.md b/docs/EzsigntemplatepackagesignerGetObjectV2Response.md index 9869c432b..5977b7b37 100644 --- a/docs/EzsigntemplatepackagesignerGetObjectV2Response.md +++ b/docs/EzsigntemplatepackagesignerGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagesignerGetObjectV2Response.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_get_object_v2_response_dict = ezsigntemplatepackagesigner_get_object_v2_response_instance.to_dict() # create an instance of EzsigntemplatepackagesignerGetObjectV2Response from a dict -ezsigntemplatepackagesigner_get_object_v2_response_form_dict = ezsigntemplatepackagesigner_get_object_v2_response.from_dict(ezsigntemplatepackagesigner_get_object_v2_response_dict) +ezsigntemplatepackagesigner_get_object_v2_response_from_dict = EzsigntemplatepackagesignerGetObjectV2Response.from_dict(ezsigntemplatepackagesigner_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerGetObjectV2ResponseMPayload.md b/docs/EzsigntemplatepackagesignerGetObjectV2ResponseMPayload.md index 92a93cc3c..0e0778e44 100644 --- a/docs/EzsigntemplatepackagesignerGetObjectV2ResponseMPayload.md +++ b/docs/EzsigntemplatepackagesignerGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackagesignerGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_get_object_v2_response_m_payload_dict = ezsigntemplatepackagesigner_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackagesignerGetObjectV2ResponseMPayload from a dict -ezsigntemplatepackagesigner_get_object_v2_response_m_payload_form_dict = ezsigntemplatepackagesigner_get_object_v2_response_m_payload.from_dict(ezsigntemplatepackagesigner_get_object_v2_response_m_payload_dict) +ezsigntemplatepackagesigner_get_object_v2_response_m_payload_from_dict = EzsigntemplatepackagesignerGetObjectV2ResponseMPayload.from_dict(ezsigntemplatepackagesigner_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerRequest.md b/docs/EzsigntemplatepackagesignerRequest.md index f0d1a05c5..7ce082511 100644 --- a/docs/EzsigntemplatepackagesignerRequest.md +++ b/docs/EzsigntemplatepackagesignerRequest.md @@ -8,6 +8,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatepackagesigner_id** | **int** | The unique ID of the Ezsigntemplatepackagesigner | [optional] **fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**b_ezsigntemplatepackagesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatepackagesigner_mapping** | [**FieldEEzsigntemplatepackagesignerMapping**](FieldEEzsigntemplatepackagesignerMapping.md) | | [optional] [default to FieldEEzsigntemplatepackagesignerMapping.MANUAL] **s_ezsigntemplatepackagesigner_description** | **str** | The description of the Ezsigntemplatepackagesigner | ## Example @@ -25,7 +30,7 @@ print(EzsigntemplatepackagesignerRequest.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_request_dict = ezsigntemplatepackagesigner_request_instance.to_dict() # create an instance of EzsigntemplatepackagesignerRequest from a dict -ezsigntemplatepackagesigner_request_form_dict = ezsigntemplatepackagesigner_request.from_dict(ezsigntemplatepackagesigner_request_dict) +ezsigntemplatepackagesigner_request_from_dict = EzsigntemplatepackagesignerRequest.from_dict(ezsigntemplatepackagesigner_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerRequestCompound.md b/docs/EzsigntemplatepackagesignerRequestCompound.md index 0eaba135b..cf9c65a8d 100644 --- a/docs/EzsigntemplatepackagesignerRequestCompound.md +++ b/docs/EzsigntemplatepackagesignerRequestCompound.md @@ -8,6 +8,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatepackagesigner_id** | **int** | The unique ID of the Ezsigntemplatepackagesigner | [optional] **fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**b_ezsigntemplatepackagesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatepackagesigner_mapping** | [**FieldEEzsigntemplatepackagesignerMapping**](FieldEEzsigntemplatepackagesignerMapping.md) | | [optional] [default to FieldEEzsigntemplatepackagesignerMapping.MANUAL] **s_ezsigntemplatepackagesigner_description** | **str** | The description of the Ezsigntemplatepackagesigner | ## Example @@ -25,7 +30,7 @@ print(EzsigntemplatepackagesignerRequestCompound.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_request_compound_dict = ezsigntemplatepackagesigner_request_compound_instance.to_dict() # create an instance of EzsigntemplatepackagesignerRequestCompound from a dict -ezsigntemplatepackagesigner_request_compound_form_dict = ezsigntemplatepackagesigner_request_compound.from_dict(ezsigntemplatepackagesigner_request_compound_dict) +ezsigntemplatepackagesigner_request_compound_from_dict = EzsigntemplatepackagesignerRequestCompound.from_dict(ezsigntemplatepackagesigner_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerResponse.md b/docs/EzsigntemplatepackagesignerResponse.md index 49e38ab97..ec90eb8b2 100644 --- a/docs/EzsigntemplatepackagesignerResponse.md +++ b/docs/EzsigntemplatepackagesignerResponse.md @@ -8,7 +8,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatepackagesigner_id** | **int** | The unique ID of the Ezsigntemplatepackagesigner | **fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] +**b_ezsigntemplatepackagesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatepackagesigner_mapping** | [**FieldEEzsigntemplatepackagesignerMapping**](FieldEEzsigntemplatepackagesignerMapping.md) | | [optional] [default to FieldEEzsigntemplatepackagesignerMapping.MANUAL] **s_ezsigntemplatepackagesigner_description** | **str** | The description of the Ezsigntemplatepackagesigner | +**s_user_name** | **str** | The description of the User in the language of the requester | [optional] +**s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | [optional] ## Example @@ -25,7 +33,7 @@ print(EzsigntemplatepackagesignerResponse.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_response_dict = ezsigntemplatepackagesigner_response_instance.to_dict() # create an instance of EzsigntemplatepackagesignerResponse from a dict -ezsigntemplatepackagesigner_response_form_dict = ezsigntemplatepackagesigner_response.from_dict(ezsigntemplatepackagesigner_response_dict) +ezsigntemplatepackagesigner_response_from_dict = EzsigntemplatepackagesignerResponse.from_dict(ezsigntemplatepackagesigner_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignerResponseCompound.md b/docs/EzsigntemplatepackagesignerResponseCompound.md index 6705fa8c0..a68e04097 100644 --- a/docs/EzsigntemplatepackagesignerResponseCompound.md +++ b/docs/EzsigntemplatepackagesignerResponseCompound.md @@ -8,7 +8,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatepackagesigner_id** | **int** | The unique ID of the Ezsigntemplatepackagesigner | **fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] +**b_ezsigntemplatepackagesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatepackagesigner_mapping** | [**FieldEEzsigntemplatepackagesignerMapping**](FieldEEzsigntemplatepackagesignerMapping.md) | | [optional] [default to FieldEEzsigntemplatepackagesignerMapping.MANUAL] **s_ezsigntemplatepackagesigner_description** | **str** | The description of the Ezsigntemplatepackagesigner | +**s_user_name** | **str** | The description of the User in the language of the requester | [optional] +**s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | [optional] ## Example @@ -25,7 +33,7 @@ print(EzsigntemplatepackagesignerResponseCompound.to_json()) # convert the object into a dict ezsigntemplatepackagesigner_response_compound_dict = ezsigntemplatepackagesigner_response_compound_instance.to_dict() # create an instance of EzsigntemplatepackagesignerResponseCompound from a dict -ezsigntemplatepackagesigner_response_compound_form_dict = ezsigntemplatepackagesigner_response_compound.from_dict(ezsigntemplatepackagesigner_response_compound_dict) +ezsigntemplatepackagesigner_response_compound_from_dict = EzsigntemplatepackagesignerResponseCompound.from_dict(ezsigntemplatepackagesigner_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Request.md b/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Request.md index f1ca328f4..5a456ba5f 100644 --- a/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Request.md +++ b/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackagesignermembershipCreateObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatepackagesignermembership_create_object_v1_request_dict = ezsigntemplatepackagesignermembership_create_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipCreateObjectV1Request from a dict -ezsigntemplatepackagesignermembership_create_object_v1_request_form_dict = ezsigntemplatepackagesignermembership_create_object_v1_request.from_dict(ezsigntemplatepackagesignermembership_create_object_v1_request_dict) +ezsigntemplatepackagesignermembership_create_object_v1_request_from_dict = EzsigntemplatepackagesignermembershipCreateObjectV1Request.from_dict(ezsigntemplatepackagesignermembership_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Response.md b/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Response.md index 3cab43848..2591195ab 100644 --- a/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagesignermembershipCreateObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatepackagesignermembership_create_object_v1_response_dict = ezsigntemplatepackagesignermembership_create_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipCreateObjectV1Response from a dict -ezsigntemplatepackagesignermembership_create_object_v1_response_form_dict = ezsigntemplatepackagesignermembership_create_object_v1_response.from_dict(ezsigntemplatepackagesignermembership_create_object_v1_response_dict) +ezsigntemplatepackagesignermembership_create_object_v1_response_from_dict = EzsigntemplatepackagesignermembershipCreateObjectV1Response.from_dict(ezsigntemplatepackagesignermembership_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload.md index 1720616f8..0adc5bfc2 100644 --- a/docs/EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload.md +++ b/docs/EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload.to_jso # convert the object into a dict ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload_dict = ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload from a dict -ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload_form_dict = ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload.from_dict(ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload_dict) +ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload_from_dict = EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload.from_dict(ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1Response.md b/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1Response.md index 70fcc006a..8c2b39614 100644 --- a/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagesignermembershipDeleteObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatepackagesignermembership_delete_object_v1_response_dict = ezsigntemplatepackagesignermembership_delete_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipDeleteObjectV1Response from a dict -ezsigntemplatepackagesignermembership_delete_object_v1_response_form_dict = ezsigntemplatepackagesignermembership_delete_object_v1_response.from_dict(ezsigntemplatepackagesignermembership_delete_object_v1_response_dict) +ezsigntemplatepackagesignermembership_delete_object_v1_response_from_dict = EzsigntemplatepackagesignermembershipDeleteObjectV1Response.from_dict(ezsigntemplatepackagesignermembership_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload.md b/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload.md index a03aaae47..44cf20507 100644 --- a/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload.md +++ b/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload.to_jso # convert the object into a dict ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload_dict = ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload from a dict -ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload_form_dict = ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload.from_dict(ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload_dict) +ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload_from_dict = EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload.from_dict(ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipGetObjectV2Response.md b/docs/EzsigntemplatepackagesignermembershipGetObjectV2Response.md index 028e2cfa5..b2bb80afc 100644 --- a/docs/EzsigntemplatepackagesignermembershipGetObjectV2Response.md +++ b/docs/EzsigntemplatepackagesignermembershipGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatepackagesignermembershipGetObjectV2Response.to_json()) # convert the object into a dict ezsigntemplatepackagesignermembership_get_object_v2_response_dict = ezsigntemplatepackagesignermembership_get_object_v2_response_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipGetObjectV2Response from a dict -ezsigntemplatepackagesignermembership_get_object_v2_response_form_dict = ezsigntemplatepackagesignermembership_get_object_v2_response.from_dict(ezsigntemplatepackagesignermembership_get_object_v2_response_dict) +ezsigntemplatepackagesignermembership_get_object_v2_response_from_dict = EzsigntemplatepackagesignermembershipGetObjectV2Response.from_dict(ezsigntemplatepackagesignermembership_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload.md b/docs/EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload.md index 9645e02c3..f77428c1e 100644 --- a/docs/EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload.md +++ b/docs/EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload.to_json() # convert the object into a dict ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload_dict = ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload from a dict -ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload_form_dict = ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload.from_dict(ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload_dict) +ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload_from_dict = EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload.from_dict(ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipRequest.md b/docs/EzsigntemplatepackagesignermembershipRequest.md index 5199c42a8..9805fca8c 100644 --- a/docs/EzsigntemplatepackagesignermembershipRequest.md +++ b/docs/EzsigntemplatepackagesignermembershipRequest.md @@ -27,7 +27,7 @@ print(EzsigntemplatepackagesignermembershipRequest.to_json()) # convert the object into a dict ezsigntemplatepackagesignermembership_request_dict = ezsigntemplatepackagesignermembership_request_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipRequest from a dict -ezsigntemplatepackagesignermembership_request_form_dict = ezsigntemplatepackagesignermembership_request.from_dict(ezsigntemplatepackagesignermembership_request_dict) +ezsigntemplatepackagesignermembership_request_from_dict = EzsigntemplatepackagesignermembershipRequest.from_dict(ezsigntemplatepackagesignermembership_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipRequestCompound.md b/docs/EzsigntemplatepackagesignermembershipRequestCompound.md index 092b44343..d18b3070e 100644 --- a/docs/EzsigntemplatepackagesignermembershipRequestCompound.md +++ b/docs/EzsigntemplatepackagesignermembershipRequestCompound.md @@ -27,7 +27,7 @@ print(EzsigntemplatepackagesignermembershipRequestCompound.to_json()) # convert the object into a dict ezsigntemplatepackagesignermembership_request_compound_dict = ezsigntemplatepackagesignermembership_request_compound_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipRequestCompound from a dict -ezsigntemplatepackagesignermembership_request_compound_form_dict = ezsigntemplatepackagesignermembership_request_compound.from_dict(ezsigntemplatepackagesignermembership_request_compound_dict) +ezsigntemplatepackagesignermembership_request_compound_from_dict = EzsigntemplatepackagesignermembershipRequestCompound.from_dict(ezsigntemplatepackagesignermembership_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipResponse.md b/docs/EzsigntemplatepackagesignermembershipResponse.md index 6e0a565f2..1c1224e6d 100644 --- a/docs/EzsigntemplatepackagesignermembershipResponse.md +++ b/docs/EzsigntemplatepackagesignermembershipResponse.md @@ -27,7 +27,7 @@ print(EzsigntemplatepackagesignermembershipResponse.to_json()) # convert the object into a dict ezsigntemplatepackagesignermembership_response_dict = ezsigntemplatepackagesignermembership_response_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipResponse from a dict -ezsigntemplatepackagesignermembership_response_form_dict = ezsigntemplatepackagesignermembership_response.from_dict(ezsigntemplatepackagesignermembership_response_dict) +ezsigntemplatepackagesignermembership_response_from_dict = EzsigntemplatepackagesignermembershipResponse.from_dict(ezsigntemplatepackagesignermembership_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepackagesignermembershipResponseCompound.md b/docs/EzsigntemplatepackagesignermembershipResponseCompound.md index f1207f776..9f564b0f9 100644 --- a/docs/EzsigntemplatepackagesignermembershipResponseCompound.md +++ b/docs/EzsigntemplatepackagesignermembershipResponseCompound.md @@ -27,7 +27,7 @@ print(EzsigntemplatepackagesignermembershipResponseCompound.to_json()) # convert the object into a dict ezsigntemplatepackagesignermembership_response_compound_dict = ezsigntemplatepackagesignermembership_response_compound_instance.to_dict() # create an instance of EzsigntemplatepackagesignermembershipResponseCompound from a dict -ezsigntemplatepackagesignermembership_response_compound_form_dict = ezsigntemplatepackagesignermembership_response_compound.from_dict(ezsigntemplatepackagesignermembership_response_compound_dict) +ezsigntemplatepackagesignermembership_response_compound_from_dict = EzsigntemplatepackagesignermembershipResponseCompound.from_dict(ezsigntemplatepackagesignermembership_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatepublicCreateEzsignfolderV1Request.md b/docs/EzsigntemplatepublicCreateEzsignfolderV1Request.md new file mode 100644 index 000000000..8aaf2a3aa --- /dev/null +++ b/docs/EzsigntemplatepublicCreateEzsignfolderV1Request.md @@ -0,0 +1,33 @@ +# EzsigntemplatepublicCreateEzsignfolderV1Request + +Request for POST /1/object/ezsigntemplatepublic/createEzsignfolder + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pks_ezmaxcustomer_code** | **str** | The Ezmaxcustomer code | +**s_ezsigntemplatepublic_referenceid** | **str** | The referenceid of the Ezsigntemplatepublic | +**a_s_ezsigntemplatesigner_description** | **List[str]** | | +**a_obj_ezsignsigner** | [**List[EzsignsignerRequestCompound]**](EzsignsignerRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_request import EzsigntemplatepublicCreateEzsignfolderV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicCreateEzsignfolderV1Request from a JSON string +ezsigntemplatepublic_create_ezsignfolder_v1_request_instance = EzsigntemplatepublicCreateEzsignfolderV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicCreateEzsignfolderV1Request.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_create_ezsignfolder_v1_request_dict = ezsigntemplatepublic_create_ezsignfolder_v1_request_instance.to_dict() +# create an instance of EzsigntemplatepublicCreateEzsignfolderV1Request from a dict +ezsigntemplatepublic_create_ezsignfolder_v1_request_from_dict = EzsigntemplatepublicCreateEzsignfolderV1Request.from_dict(ezsigntemplatepublic_create_ezsignfolder_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md b/docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md new file mode 100644 index 000000000..0adc613c1 --- /dev/null +++ b/docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatepublicCreateEzsignfolderV1Response + +Response for POST /1/object/ezsigntemplatepublic/createEzsignfolder + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload**](EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response import EzsigntemplatepublicCreateEzsignfolderV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicCreateEzsignfolderV1Response from a JSON string +ezsigntemplatepublic_create_ezsignfolder_v1_response_instance = EzsigntemplatepublicCreateEzsignfolderV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicCreateEzsignfolderV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_create_ezsignfolder_v1_response_dict = ezsigntemplatepublic_create_ezsignfolder_v1_response_instance.to_dict() +# create an instance of EzsigntemplatepublicCreateEzsignfolderV1Response from a dict +ezsigntemplatepublic_create_ezsignfolder_v1_response_from_dict = EzsigntemplatepublicCreateEzsignfolderV1Response.from_dict(ezsigntemplatepublic_create_ezsignfolder_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.md b/docs/EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.md new file mode 100644 index 000000000..362994306 --- /dev/null +++ b/docs/EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload + +Payload for POST /1/object/ezsigntemplatepublic/createEzsignfolder + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_ezsigntemplatepublic_signingurl** | **str** | The url to sign the Ezsignfolder created by the Ezsigntemplatepublic. Only used when fkiUserLogintypeID is **No validation** or **Sms only** | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload import EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload from a JSON string +ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload_instance = EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload_dict = ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload from a dict +ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload_from_dict = EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.from_dict(ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicCreateObjectV1Request.md b/docs/EzsigntemplatepublicCreateObjectV1Request.md new file mode 100644 index 000000000..c31f12216 --- /dev/null +++ b/docs/EzsigntemplatepublicCreateObjectV1Request.md @@ -0,0 +1,30 @@ +# EzsigntemplatepublicCreateObjectV1Request + +Request for POST /1/object/ezsigntemplatepublic + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsigntemplatepublic** | [**List[EzsigntemplatepublicRequestCompound]**](EzsigntemplatepublicRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_request import EzsigntemplatepublicCreateObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicCreateObjectV1Request from a JSON string +ezsigntemplatepublic_create_object_v1_request_instance = EzsigntemplatepublicCreateObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicCreateObjectV1Request.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_create_object_v1_request_dict = ezsigntemplatepublic_create_object_v1_request_instance.to_dict() +# create an instance of EzsigntemplatepublicCreateObjectV1Request from a dict +ezsigntemplatepublic_create_object_v1_request_from_dict = EzsigntemplatepublicCreateObjectV1Request.from_dict(ezsigntemplatepublic_create_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicCreateObjectV1Response.md b/docs/EzsigntemplatepublicCreateObjectV1Response.md new file mode 100644 index 000000000..e11319a82 --- /dev/null +++ b/docs/EzsigntemplatepublicCreateObjectV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatepublicCreateObjectV1Response + +Response for POST /1/object/ezsigntemplatepublic + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatepublicCreateObjectV1ResponseMPayload**](EzsigntemplatepublicCreateObjectV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response import EzsigntemplatepublicCreateObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicCreateObjectV1Response from a JSON string +ezsigntemplatepublic_create_object_v1_response_instance = EzsigntemplatepublicCreateObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicCreateObjectV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_create_object_v1_response_dict = ezsigntemplatepublic_create_object_v1_response_instance.to_dict() +# create an instance of EzsigntemplatepublicCreateObjectV1Response from a dict +ezsigntemplatepublic_create_object_v1_response_from_dict = EzsigntemplatepublicCreateObjectV1Response.from_dict(ezsigntemplatepublic_create_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplatepublicCreateObjectV1ResponseMPayload.md new file mode 100644 index 000000000..1db586fc3 --- /dev/null +++ b/docs/EzsigntemplatepublicCreateObjectV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatepublicCreateObjectV1ResponseMPayload + +Payload for POST /1/object/ezsigntemplatepublic + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezsigntemplatepublic_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response_m_payload import EzsigntemplatepublicCreateObjectV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicCreateObjectV1ResponseMPayload from a JSON string +ezsigntemplatepublic_create_object_v1_response_m_payload_instance = EzsigntemplatepublicCreateObjectV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicCreateObjectV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_create_object_v1_response_m_payload_dict = ezsigntemplatepublic_create_object_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatepublicCreateObjectV1ResponseMPayload from a dict +ezsigntemplatepublic_create_object_v1_response_m_payload_from_dict = EzsigntemplatepublicCreateObjectV1ResponseMPayload.from_dict(ezsigntemplatepublic_create_object_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicEditObjectV1Request.md b/docs/EzsigntemplatepublicEditObjectV1Request.md new file mode 100644 index 000000000..a4e61591f --- /dev/null +++ b/docs/EzsigntemplatepublicEditObjectV1Request.md @@ -0,0 +1,30 @@ +# EzsigntemplatepublicEditObjectV1Request + +Request for PUT /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsigntemplatepublic** | [**EzsigntemplatepublicRequestCompound**](EzsigntemplatepublicRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_request import EzsigntemplatepublicEditObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicEditObjectV1Request from a JSON string +ezsigntemplatepublic_edit_object_v1_request_instance = EzsigntemplatepublicEditObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicEditObjectV1Request.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_edit_object_v1_request_dict = ezsigntemplatepublic_edit_object_v1_request_instance.to_dict() +# create an instance of EzsigntemplatepublicEditObjectV1Request from a dict +ezsigntemplatepublic_edit_object_v1_request_from_dict = EzsigntemplatepublicEditObjectV1Request.from_dict(ezsigntemplatepublic_edit_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicEditObjectV1Response.md b/docs/EzsigntemplatepublicEditObjectV1Response.md new file mode 100644 index 000000000..948f6a0b0 --- /dev/null +++ b/docs/EzsigntemplatepublicEditObjectV1Response.md @@ -0,0 +1,31 @@ +# EzsigntemplatepublicEditObjectV1Response + +Response for PUT /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_response import EzsigntemplatepublicEditObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicEditObjectV1Response from a JSON string +ezsigntemplatepublic_edit_object_v1_response_instance = EzsigntemplatepublicEditObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicEditObjectV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_edit_object_v1_response_dict = ezsigntemplatepublic_edit_object_v1_response_instance.to_dict() +# create an instance of EzsigntemplatepublicEditObjectV1Response from a dict +ezsigntemplatepublic_edit_object_v1_response_from_dict = EzsigntemplatepublicEditObjectV1Response.from_dict(ezsigntemplatepublic_edit_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request.md b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request.md new file mode 100644 index 000000000..cf071279c --- /dev/null +++ b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request.md @@ -0,0 +1,31 @@ +# EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request + +Request for POST /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pks_ezmaxcustomer_code** | **str** | The Ezmaxcustomer code | +**s_ezsigntemplatepublic_referenceid** | **str** | The referenceid of the Ezsigntemplatepublic | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request from a JSON string +ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request_instance = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request_dict = ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request_instance.to_dict() +# create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request from a dict +ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request_from_dict = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request.from_dict(ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md new file mode 100644 index 000000000..54db83dc4 --- /dev/null +++ b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response + +Response for POST /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload**](EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response from a JSON string +ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_instance = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_dict = ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_instance.to_dict() +# create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response from a dict +ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_from_dict = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.from_dict(ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md new file mode 100644 index 000000000..b55ee75a8 --- /dev/null +++ b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md @@ -0,0 +1,32 @@ +# EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload + +Payload for POST /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_branding** | [**CustomBrandingResponse**](CustomBrandingResponse.md) | | [optional] +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | +**a_s_ezsigntemplatesigner_description** | **List[str]** | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload from a JSON string +ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload_instance = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload_dict = ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload from a dict +ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload_from_dict = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.from_dict(ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicGetFormsDataV1Response.md b/docs/EzsigntemplatepublicGetFormsDataV1Response.md new file mode 100644 index 000000000..1619dc6f4 --- /dev/null +++ b/docs/EzsigntemplatepublicGetFormsDataV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatepublicGetFormsDataV1Response + +Response for GET /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/getFormsData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatepublicGetFormsDataV1ResponseMPayload**](EzsigntemplatepublicGetFormsDataV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response import EzsigntemplatepublicGetFormsDataV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicGetFormsDataV1Response from a JSON string +ezsigntemplatepublic_get_forms_data_v1_response_instance = EzsigntemplatepublicGetFormsDataV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicGetFormsDataV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_get_forms_data_v1_response_dict = ezsigntemplatepublic_get_forms_data_v1_response_instance.to_dict() +# create an instance of EzsigntemplatepublicGetFormsDataV1Response from a dict +ezsigntemplatepublic_get_forms_data_v1_response_from_dict = EzsigntemplatepublicGetFormsDataV1Response.from_dict(ezsigntemplatepublic_get_forms_data_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicGetFormsDataV1ResponseMPayload.md b/docs/EzsigntemplatepublicGetFormsDataV1ResponseMPayload.md new file mode 100644 index 000000000..f640a7adb --- /dev/null +++ b/docs/EzsigntemplatepublicGetFormsDataV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatepublicGetFormsDataV1ResponseMPayload + +Payload for GET/1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/getFormsData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_forms_data_folder** | [**List[CustomFormsDataFolderResponse]**](CustomFormsDataFolderResponse.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response_m_payload import EzsigntemplatepublicGetFormsDataV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicGetFormsDataV1ResponseMPayload from a JSON string +ezsigntemplatepublic_get_forms_data_v1_response_m_payload_instance = EzsigntemplatepublicGetFormsDataV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicGetFormsDataV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_get_forms_data_v1_response_m_payload_dict = ezsigntemplatepublic_get_forms_data_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatepublicGetFormsDataV1ResponseMPayload from a dict +ezsigntemplatepublic_get_forms_data_v1_response_m_payload_from_dict = EzsigntemplatepublicGetFormsDataV1ResponseMPayload.from_dict(ezsigntemplatepublic_get_forms_data_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicGetListV1Response.md b/docs/EzsigntemplatepublicGetListV1Response.md new file mode 100644 index 000000000..6509171ad --- /dev/null +++ b/docs/EzsigntemplatepublicGetListV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatepublicGetListV1Response + +Response for GET /1/object/ezsigntemplatepublic/getList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatepublicGetListV1ResponseMPayload**](EzsigntemplatepublicGetListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response import EzsigntemplatepublicGetListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicGetListV1Response from a JSON string +ezsigntemplatepublic_get_list_v1_response_instance = EzsigntemplatepublicGetListV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicGetListV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_get_list_v1_response_dict = ezsigntemplatepublic_get_list_v1_response_instance.to_dict() +# create an instance of EzsigntemplatepublicGetListV1Response from a dict +ezsigntemplatepublic_get_list_v1_response_from_dict = EzsigntemplatepublicGetListV1Response.from_dict(ezsigntemplatepublic_get_list_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicGetListV1ResponseMPayload.md b/docs/EzsigntemplatepublicGetListV1ResponseMPayload.md new file mode 100644 index 000000000..db6de1284 --- /dev/null +++ b/docs/EzsigntemplatepublicGetListV1ResponseMPayload.md @@ -0,0 +1,32 @@ +# EzsigntemplatepublicGetListV1ResponseMPayload + +Payload for GET /1/object/ezsigntemplatepublic/getList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | +**a_obj_ezsigntemplatepublic** | [**List[EzsigntemplatepublicListElement]**](EzsigntemplatepublicListElement.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload import EzsigntemplatepublicGetListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicGetListV1ResponseMPayload from a JSON string +ezsigntemplatepublic_get_list_v1_response_m_payload_instance = EzsigntemplatepublicGetListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicGetListV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_get_list_v1_response_m_payload_dict = ezsigntemplatepublic_get_list_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatepublicGetListV1ResponseMPayload from a dict +ezsigntemplatepublic_get_list_v1_response_m_payload_from_dict = EzsigntemplatepublicGetListV1ResponseMPayload.from_dict(ezsigntemplatepublic_get_list_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicGetObjectV2Response.md b/docs/EzsigntemplatepublicGetObjectV2Response.md new file mode 100644 index 000000000..cdbfe03ec --- /dev/null +++ b/docs/EzsigntemplatepublicGetObjectV2Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatepublicGetObjectV2Response + +Response for GET /2/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatepublicGetObjectV2ResponseMPayload**](EzsigntemplatepublicGetObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response import EzsigntemplatepublicGetObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicGetObjectV2Response from a JSON string +ezsigntemplatepublic_get_object_v2_response_instance = EzsigntemplatepublicGetObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicGetObjectV2Response.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_get_object_v2_response_dict = ezsigntemplatepublic_get_object_v2_response_instance.to_dict() +# create an instance of EzsigntemplatepublicGetObjectV2Response from a dict +ezsigntemplatepublic_get_object_v2_response_from_dict = EzsigntemplatepublicGetObjectV2Response.from_dict(ezsigntemplatepublic_get_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicGetObjectV2ResponseMPayload.md b/docs/EzsigntemplatepublicGetObjectV2ResponseMPayload.md new file mode 100644 index 000000000..513d6027b --- /dev/null +++ b/docs/EzsigntemplatepublicGetObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatepublicGetObjectV2ResponseMPayload + +Payload for GET /2/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsigntemplatepublic** | [**EzsigntemplatepublicResponseCompound**](EzsigntemplatepublicResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response_m_payload import EzsigntemplatepublicGetObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicGetObjectV2ResponseMPayload from a JSON string +ezsigntemplatepublic_get_object_v2_response_m_payload_instance = EzsigntemplatepublicGetObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicGetObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_get_object_v2_response_m_payload_dict = ezsigntemplatepublic_get_object_v2_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatepublicGetObjectV2ResponseMPayload from a dict +ezsigntemplatepublic_get_object_v2_response_m_payload_from_dict = EzsigntemplatepublicGetObjectV2ResponseMPayload.from_dict(ezsigntemplatepublic_get_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicListElement.md b/docs/EzsigntemplatepublicListElement.md new file mode 100644 index 000000000..179bb646c --- /dev/null +++ b/docs/EzsigntemplatepublicListElement.md @@ -0,0 +1,45 @@ +# EzsigntemplatepublicListElement + +A Ezsigntemplatepublic List Element + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepublic_id** | **int** | The unique ID of the Ezsigntemplatepublic | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] +**s_ezsigntemplatepublic_description** | **str** | The description of the Ezsigntemplatepublic | +**b_ezsigntemplatepublic_isactive** | **bool** | Whether the ezsigntemplatepublic is active or not | +**t_ezsigntemplatepublic_note** | **str** | The note of the Ezsigntemplatepublic | +**e_ezsigntemplatepublic_limittype** | [**FieldEEzsigntemplatepublicLimittype**](FieldEEzsigntemplatepublicLimittype.md) | | +**i_ezsigntemplatepublic_limit** | **int** | The limit of the Ezsigntemplatepublic | +**i_ezsigntemplatepublic_limitexceeded** | **int** | The limitexceeded of the Ezsigntemplatepublic | +**dt_ezsigntemplatepublic_limitexceededsince** | **str** | The limitexceededsince of the Ezsigntemplatepublic | +**i_ezsignfolder** | **int** | The total number of Ezsignfolders using the Ezsigntemplatepublic | +**i_ezsigndocument** | **int** | The total number of Ezsigndocuments using the Ezsigntemplatepublic | +**s_ezsigntemplatepublic_ezsigntemplatedescription** | **str** | The Ezsigntemplate/Ezsigntemplatepackage description | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_list_element import EzsigntemplatepublicListElement + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicListElement from a JSON string +ezsigntemplatepublic_list_element_instance = EzsigntemplatepublicListElement.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicListElement.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_list_element_dict = ezsigntemplatepublic_list_element_instance.to_dict() +# create an instance of EzsigntemplatepublicListElement from a dict +ezsigntemplatepublic_list_element_from_dict = EzsigntemplatepublicListElement.from_dict(ezsigntemplatepublic_list_element_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicRequest.md b/docs/EzsigntemplatepublicRequest.md new file mode 100644 index 000000000..23ec400f1 --- /dev/null +++ b/docs/EzsigntemplatepublicRequest.md @@ -0,0 +1,39 @@ +# EzsigntemplatepublicRequest + +A Ezsigntemplatepublic Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepublic_id** | **int** | The unique ID of the Ezsigntemplatepublic | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] +**s_ezsigntemplatepublic_description** | **str** | The description of the Ezsigntemplatepublic | +**b_ezsigntemplatepublic_isactive** | **bool** | Whether the ezsigntemplatepublic is active or not | +**t_ezsigntemplatepublic_note** | **str** | The note of the Ezsigntemplatepublic | +**e_ezsigntemplatepublic_limittype** | [**FieldEEzsigntemplatepublicLimittype**](FieldEEzsigntemplatepublicLimittype.md) | | +**i_ezsigntemplatepublic_limit** | **int** | The limit of the Ezsigntemplatepublic | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_request import EzsigntemplatepublicRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicRequest from a JSON string +ezsigntemplatepublic_request_instance = EzsigntemplatepublicRequest.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicRequest.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_request_dict = ezsigntemplatepublic_request_instance.to_dict() +# create an instance of EzsigntemplatepublicRequest from a dict +ezsigntemplatepublic_request_from_dict = EzsigntemplatepublicRequest.from_dict(ezsigntemplatepublic_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicRequestCompound.md b/docs/EzsigntemplatepublicRequestCompound.md new file mode 100644 index 000000000..4af67baa0 --- /dev/null +++ b/docs/EzsigntemplatepublicRequestCompound.md @@ -0,0 +1,39 @@ +# EzsigntemplatepublicRequestCompound + +A Ezsigntemplatepublic Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepublic_id** | **int** | The unique ID of the Ezsigntemplatepublic | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] +**s_ezsigntemplatepublic_description** | **str** | The description of the Ezsigntemplatepublic | +**b_ezsigntemplatepublic_isactive** | **bool** | Whether the ezsigntemplatepublic is active or not | +**t_ezsigntemplatepublic_note** | **str** | The note of the Ezsigntemplatepublic | +**e_ezsigntemplatepublic_limittype** | [**FieldEEzsigntemplatepublicLimittype**](FieldEEzsigntemplatepublicLimittype.md) | | +**i_ezsigntemplatepublic_limit** | **int** | The limit of the Ezsigntemplatepublic | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_request_compound import EzsigntemplatepublicRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicRequestCompound from a JSON string +ezsigntemplatepublic_request_compound_instance = EzsigntemplatepublicRequestCompound.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicRequestCompound.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_request_compound_dict = ezsigntemplatepublic_request_compound_instance.to_dict() +# create an instance of EzsigntemplatepublicRequestCompound from a dict +ezsigntemplatepublic_request_compound_from_dict = EzsigntemplatepublicRequestCompound.from_dict(ezsigntemplatepublic_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md b/docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md new file mode 100644 index 000000000..2a8815fd5 --- /dev/null +++ b/docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatepublicResetLimitExceededCounterV1Response + +Response for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetLimitExceededCounter + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload**](EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response import EzsigntemplatepublicResetLimitExceededCounterV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicResetLimitExceededCounterV1Response from a JSON string +ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_instance = EzsigntemplatepublicResetLimitExceededCounterV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicResetLimitExceededCounterV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_dict = ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_instance.to_dict() +# create an instance of EzsigntemplatepublicResetLimitExceededCounterV1Response from a dict +ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_from_dict = EzsigntemplatepublicResetLimitExceededCounterV1Response.from_dict(ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.md b/docs/EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.md new file mode 100644 index 000000000..ea9b36a17 --- /dev/null +++ b/docs/EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload + +Payload for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetLimitExceededCounter + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dt_ezsigntemplatepublic_limitexceededsince** | **str** | The limitexceededsince of the Ezsigntemplatepublic | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload import EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload from a JSON string +ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload_instance = EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload_dict = ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload from a dict +ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload_from_dict = EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.from_dict(ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicResetUrlV1Response.md b/docs/EzsigntemplatepublicResetUrlV1Response.md new file mode 100644 index 000000000..6af2ce37a --- /dev/null +++ b/docs/EzsigntemplatepublicResetUrlV1Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatepublicResetUrlV1Response + +Response for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetUrl + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatepublicResetUrlV1ResponseMPayload**](EzsigntemplatepublicResetUrlV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response import EzsigntemplatepublicResetUrlV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicResetUrlV1Response from a JSON string +ezsigntemplatepublic_reset_url_v1_response_instance = EzsigntemplatepublicResetUrlV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicResetUrlV1Response.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_reset_url_v1_response_dict = ezsigntemplatepublic_reset_url_v1_response_instance.to_dict() +# create an instance of EzsigntemplatepublicResetUrlV1Response from a dict +ezsigntemplatepublic_reset_url_v1_response_from_dict = EzsigntemplatepublicResetUrlV1Response.from_dict(ezsigntemplatepublic_reset_url_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicResetUrlV1ResponseMPayload.md b/docs/EzsigntemplatepublicResetUrlV1ResponseMPayload.md new file mode 100644 index 000000000..6cfd76245 --- /dev/null +++ b/docs/EzsigntemplatepublicResetUrlV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatepublicResetUrlV1ResponseMPayload + +Payload for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetUrl + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_ezsigntemplatepublic_url** | **str** | The url of the Ezsigntemplatepublic You can add these value as query parameters to prefill the corresponding role |Parameter|Description| |-|-| |sEzsigntemplatesignerDescription|The role to fill| |sContactFirstname|The contact firstname| |sContactLastname|The contact lastname| |sEmailAddress|The contact email| |sPhoneE164|The contact phone number| |sPhoneE164Cell|The contact cell phone number| | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response_m_payload import EzsigntemplatepublicResetUrlV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicResetUrlV1ResponseMPayload from a JSON string +ezsigntemplatepublic_reset_url_v1_response_m_payload_instance = EzsigntemplatepublicResetUrlV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicResetUrlV1ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_reset_url_v1_response_m_payload_dict = ezsigntemplatepublic_reset_url_v1_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatepublicResetUrlV1ResponseMPayload from a dict +ezsigntemplatepublic_reset_url_v1_response_m_payload_from_dict = EzsigntemplatepublicResetUrlV1ResponseMPayload.from_dict(ezsigntemplatepublic_reset_url_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicResponse.md b/docs/EzsigntemplatepublicResponse.md new file mode 100644 index 000000000..5f50545e3 --- /dev/null +++ b/docs/EzsigntemplatepublicResponse.md @@ -0,0 +1,47 @@ +# EzsigntemplatepublicResponse + +A Ezsigntemplatepublic Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepublic_id** | **int** | The unique ID of the Ezsigntemplatepublic | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | +**s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] +**s_ezsigntemplatepublic_description** | **str** | The description of the Ezsigntemplatepublic | +**s_ezsigntemplatepublic_referenceid** | **str** | The referenceid of the Ezsigntemplatepublic | +**b_ezsigntemplatepublic_isactive** | **bool** | Whether the ezsigntemplatepublic is active or not | +**t_ezsigntemplatepublic_note** | **str** | The note of the Ezsigntemplatepublic | +**e_ezsigntemplatepublic_limittype** | [**FieldEEzsigntemplatepublicLimittype**](FieldEEzsigntemplatepublicLimittype.md) | | +**i_ezsigntemplatepublic_limit** | **int** | The limit of the Ezsigntemplatepublic | +**i_ezsigntemplatepublic_limitexceeded** | **int** | The limitexceeded of the Ezsigntemplatepublic | +**dt_ezsigntemplatepublic_limitexceededsince** | **str** | The limitexceededsince of the Ezsigntemplatepublic | +**s_ezsigntemplatepublic_url** | **str** | The url of the Ezsigntemplatepublic You can add these value as query parameters to prefill the corresponding role |Parameter|Description| |-|-| |sEzsigntemplatesignerDescription|The role to fill| |sContactFirstname|The contact firstname| |sContactLastname|The contact lastname| |sEmailAddress|The contact email| |sPhoneE164|The contact phone number| |sPhoneE164Cell|The contact cell phone number| | +**s_ezsigntemplatepublic_ezsigntemplatedescription** | **str** | The Ezsigntemplate/Ezsigntemplatepackage description | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_response import EzsigntemplatepublicResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicResponse from a JSON string +ezsigntemplatepublic_response_instance = EzsigntemplatepublicResponse.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicResponse.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_response_dict = ezsigntemplatepublic_response_instance.to_dict() +# create an instance of EzsigntemplatepublicResponse from a dict +ezsigntemplatepublic_response_from_dict = EzsigntemplatepublicResponse.from_dict(ezsigntemplatepublic_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatepublicResponseCompound.md b/docs/EzsigntemplatepublicResponseCompound.md new file mode 100644 index 000000000..1fb80d6ea --- /dev/null +++ b/docs/EzsigntemplatepublicResponseCompound.md @@ -0,0 +1,48 @@ +# EzsigntemplatepublicResponseCompound + +A Ezsigntemplatepublic Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepublic_id** | **int** | The unique ID of the Ezsigntemplatepublic | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | +**s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] +**s_ezsigntemplatepublic_description** | **str** | The description of the Ezsigntemplatepublic | +**s_ezsigntemplatepublic_referenceid** | **str** | The referenceid of the Ezsigntemplatepublic | +**b_ezsigntemplatepublic_isactive** | **bool** | Whether the ezsigntemplatepublic is active or not | +**t_ezsigntemplatepublic_note** | **str** | The note of the Ezsigntemplatepublic | +**e_ezsigntemplatepublic_limittype** | [**FieldEEzsigntemplatepublicLimittype**](FieldEEzsigntemplatepublicLimittype.md) | | +**i_ezsigntemplatepublic_limit** | **int** | The limit of the Ezsigntemplatepublic | +**i_ezsigntemplatepublic_limitexceeded** | **int** | The limitexceeded of the Ezsigntemplatepublic | +**dt_ezsigntemplatepublic_limitexceededsince** | **str** | The limitexceededsince of the Ezsigntemplatepublic | +**s_ezsigntemplatepublic_url** | **str** | The url of the Ezsigntemplatepublic You can add these value as query parameters to prefill the corresponding role |Parameter|Description| |-|-| |sEzsigntemplatesignerDescription|The role to fill| |sContactFirstname|The contact firstname| |sContactLastname|The contact lastname| |sEmailAddress|The contact email| |sPhoneE164|The contact phone number| |sPhoneE164Cell|The contact cell phone number| | +**s_ezsigntemplatepublic_ezsigntemplatedescription** | **str** | The Ezsigntemplate/Ezsigntemplatepackage description | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] +**a_obj_ezsignfolderezsigntemplatepublic** | [**List[CustomEzsignfolderezsigntemplatepublicResponse]**](CustomEzsignfolderezsigntemplatepublicResponse.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatepublic_response_compound import EzsigntemplatepublicResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatepublicResponseCompound from a JSON string +ezsigntemplatepublic_response_compound_instance = EzsigntemplatepublicResponseCompound.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatepublicResponseCompound.to_json()) + +# convert the object into a dict +ezsigntemplatepublic_response_compound_dict = ezsigntemplatepublic_response_compound_instance.to_dict() +# create an instance of EzsigntemplatepublicResponseCompound from a dict +ezsigntemplatepublic_response_compound_from_dict = EzsigntemplatepublicResponseCompound.from_dict(ezsigntemplatepublic_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignatureCreateObjectV1Request.md b/docs/EzsigntemplatesignatureCreateObjectV1Request.md deleted file mode 100644 index a9af4a56d..000000000 --- a/docs/EzsigntemplatesignatureCreateObjectV1Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplatesignatureCreateObjectV1Request - -Request for POST /1/object/ezsigntemplatesignature - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_obj_ezsigntemplatesignature** | [**List[EzsigntemplatesignatureRequestCompound]**](EzsigntemplatesignatureRequestCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_request import EzsigntemplatesignatureCreateObjectV1Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplatesignatureCreateObjectV1Request from a JSON string -ezsigntemplatesignature_create_object_v1_request_instance = EzsigntemplatesignatureCreateObjectV1Request.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplatesignatureCreateObjectV1Request.to_json()) - -# convert the object into a dict -ezsigntemplatesignature_create_object_v1_request_dict = ezsigntemplatesignature_create_object_v1_request_instance.to_dict() -# create an instance of EzsigntemplatesignatureCreateObjectV1Request from a dict -ezsigntemplatesignature_create_object_v1_request_form_dict = ezsigntemplatesignature_create_object_v1_request.from_dict(ezsigntemplatesignature_create_object_v1_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplatesignatureCreateObjectV1Response.md b/docs/EzsigntemplatesignatureCreateObjectV1Response.md deleted file mode 100644 index e94ef05bd..000000000 --- a/docs/EzsigntemplatesignatureCreateObjectV1Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsigntemplatesignatureCreateObjectV1Response - -Response for POST /1/object/ezsigntemplatesignature - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsigntemplatesignatureCreateObjectV1ResponseMPayload**](EzsigntemplatesignatureCreateObjectV1ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response import EzsigntemplatesignatureCreateObjectV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplatesignatureCreateObjectV1Response from a JSON string -ezsigntemplatesignature_create_object_v1_response_instance = EzsigntemplatesignatureCreateObjectV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplatesignatureCreateObjectV1Response.to_json()) - -# convert the object into a dict -ezsigntemplatesignature_create_object_v1_response_dict = ezsigntemplatesignature_create_object_v1_response_instance.to_dict() -# create an instance of EzsigntemplatesignatureCreateObjectV1Response from a dict -ezsigntemplatesignature_create_object_v1_response_form_dict = ezsigntemplatesignature_create_object_v1_response.from_dict(ezsigntemplatesignature_create_object_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplatesignatureCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplatesignatureCreateObjectV1ResponseMPayload.md deleted file mode 100644 index b6029b5cf..000000000 --- a/docs/EzsigntemplatesignatureCreateObjectV1ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplatesignatureCreateObjectV1ResponseMPayload - -Payload for POST /1/object/ezsigntemplatesignature - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**a_pki_ezsigntemplatesignature_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | - -## Example - -```python -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response_m_payload import EzsigntemplatesignatureCreateObjectV1ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplatesignatureCreateObjectV1ResponseMPayload from a JSON string -ezsigntemplatesignature_create_object_v1_response_m_payload_instance = EzsigntemplatesignatureCreateObjectV1ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplatesignatureCreateObjectV1ResponseMPayload.to_json()) - -# convert the object into a dict -ezsigntemplatesignature_create_object_v1_response_m_payload_dict = ezsigntemplatesignature_create_object_v1_response_m_payload_instance.to_dict() -# create an instance of EzsigntemplatesignatureCreateObjectV1ResponseMPayload from a dict -ezsigntemplatesignature_create_object_v1_response_m_payload_form_dict = ezsigntemplatesignature_create_object_v1_response_m_payload.from_dict(ezsigntemplatesignature_create_object_v1_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplatesignatureCreateObjectV2Request.md b/docs/EzsigntemplatesignatureCreateObjectV2Request.md new file mode 100644 index 000000000..5783555f0 --- /dev/null +++ b/docs/EzsigntemplatesignatureCreateObjectV2Request.md @@ -0,0 +1,30 @@ +# EzsigntemplatesignatureCreateObjectV2Request + +Request for POST /2/object/ezsigntemplatesignature + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_ezsigntemplatesignature** | [**List[EzsigntemplatesignatureRequestCompoundV2]**](EzsigntemplatesignatureRequestCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_request import EzsigntemplatesignatureCreateObjectV2Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignatureCreateObjectV2Request from a JSON string +ezsigntemplatesignature_create_object_v2_request_instance = EzsigntemplatesignatureCreateObjectV2Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignatureCreateObjectV2Request.to_json()) + +# convert the object into a dict +ezsigntemplatesignature_create_object_v2_request_dict = ezsigntemplatesignature_create_object_v2_request_instance.to_dict() +# create an instance of EzsigntemplatesignatureCreateObjectV2Request from a dict +ezsigntemplatesignature_create_object_v2_request_from_dict = EzsigntemplatesignatureCreateObjectV2Request.from_dict(ezsigntemplatesignature_create_object_v2_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignatureCreateObjectV2Response.md b/docs/EzsigntemplatesignatureCreateObjectV2Response.md new file mode 100644 index 000000000..53c5cdd2f --- /dev/null +++ b/docs/EzsigntemplatesignatureCreateObjectV2Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatesignatureCreateObjectV2Response + +Response for POST /2/object/ezsigntemplatesignature + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatesignatureCreateObjectV2ResponseMPayload**](EzsigntemplatesignatureCreateObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response import EzsigntemplatesignatureCreateObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignatureCreateObjectV2Response from a JSON string +ezsigntemplatesignature_create_object_v2_response_instance = EzsigntemplatesignatureCreateObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignatureCreateObjectV2Response.to_json()) + +# convert the object into a dict +ezsigntemplatesignature_create_object_v2_response_dict = ezsigntemplatesignature_create_object_v2_response_instance.to_dict() +# create an instance of EzsigntemplatesignatureCreateObjectV2Response from a dict +ezsigntemplatesignature_create_object_v2_response_from_dict = EzsigntemplatesignatureCreateObjectV2Response.from_dict(ezsigntemplatesignature_create_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignatureCreateObjectV2ResponseMPayload.md b/docs/EzsigntemplatesignatureCreateObjectV2ResponseMPayload.md new file mode 100644 index 000000000..13f5ac5e0 --- /dev/null +++ b/docs/EzsigntemplatesignatureCreateObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatesignatureCreateObjectV2ResponseMPayload + +Payload for POST /2/object/ezsigntemplatesignature + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_ezsigntemplatesignature_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response_m_payload import EzsigntemplatesignatureCreateObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignatureCreateObjectV2ResponseMPayload from a JSON string +ezsigntemplatesignature_create_object_v2_response_m_payload_instance = EzsigntemplatesignatureCreateObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignatureCreateObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatesignature_create_object_v2_response_m_payload_dict = ezsigntemplatesignature_create_object_v2_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatesignatureCreateObjectV2ResponseMPayload from a dict +ezsigntemplatesignature_create_object_v2_response_m_payload_from_dict = EzsigntemplatesignatureCreateObjectV2ResponseMPayload.from_dict(ezsigntemplatesignature_create_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignatureDeleteObjectV1Response.md b/docs/EzsigntemplatesignatureDeleteObjectV1Response.md index b7595dc2b..d26c9a1fa 100644 --- a/docs/EzsigntemplatesignatureDeleteObjectV1Response.md +++ b/docs/EzsigntemplatesignatureDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplatesignatureDeleteObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatesignature_delete_object_v1_response_dict = ezsigntemplatesignature_delete_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatesignatureDeleteObjectV1Response from a dict -ezsigntemplatesignature_delete_object_v1_response_form_dict = ezsigntemplatesignature_delete_object_v1_response.from_dict(ezsigntemplatesignature_delete_object_v1_response_dict) +ezsigntemplatesignature_delete_object_v1_response_from_dict = EzsigntemplatesignatureDeleteObjectV1Response.from_dict(ezsigntemplatesignature_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignatureEditObjectV1Request.md b/docs/EzsigntemplatesignatureEditObjectV1Request.md deleted file mode 100644 index 123eb7027..000000000 --- a/docs/EzsigntemplatesignatureEditObjectV1Request.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplatesignatureEditObjectV1Request - -Request for PUT /1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsigntemplatesignature** | [**EzsigntemplatesignatureRequestCompound**](EzsigntemplatesignatureRequestCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_request import EzsigntemplatesignatureEditObjectV1Request - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplatesignatureEditObjectV1Request from a JSON string -ezsigntemplatesignature_edit_object_v1_request_instance = EzsigntemplatesignatureEditObjectV1Request.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplatesignatureEditObjectV1Request.to_json()) - -# convert the object into a dict -ezsigntemplatesignature_edit_object_v1_request_dict = ezsigntemplatesignature_edit_object_v1_request_instance.to_dict() -# create an instance of EzsigntemplatesignatureEditObjectV1Request from a dict -ezsigntemplatesignature_edit_object_v1_request_form_dict = ezsigntemplatesignature_edit_object_v1_request.from_dict(ezsigntemplatesignature_edit_object_v1_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplatesignatureEditObjectV1Response.md b/docs/EzsigntemplatesignatureEditObjectV1Response.md deleted file mode 100644 index 98e3ca27b..000000000 --- a/docs/EzsigntemplatesignatureEditObjectV1Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# EzsigntemplatesignatureEditObjectV1Response - -Response for PUT /1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_response import EzsigntemplatesignatureEditObjectV1Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplatesignatureEditObjectV1Response from a JSON string -ezsigntemplatesignature_edit_object_v1_response_instance = EzsigntemplatesignatureEditObjectV1Response.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplatesignatureEditObjectV1Response.to_json()) - -# convert the object into a dict -ezsigntemplatesignature_edit_object_v1_response_dict = ezsigntemplatesignature_edit_object_v1_response_instance.to_dict() -# create an instance of EzsigntemplatesignatureEditObjectV1Response from a dict -ezsigntemplatesignature_edit_object_v1_response_form_dict = ezsigntemplatesignature_edit_object_v1_response.from_dict(ezsigntemplatesignature_edit_object_v1_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplatesignatureEditObjectV2Request.md b/docs/EzsigntemplatesignatureEditObjectV2Request.md new file mode 100644 index 000000000..14614c128 --- /dev/null +++ b/docs/EzsigntemplatesignatureEditObjectV2Request.md @@ -0,0 +1,30 @@ +# EzsigntemplatesignatureEditObjectV2Request + +Request for PUT /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsigntemplatesignature** | [**EzsigntemplatesignatureRequestCompoundV2**](EzsigntemplatesignatureRequestCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_request import EzsigntemplatesignatureEditObjectV2Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignatureEditObjectV2Request from a JSON string +ezsigntemplatesignature_edit_object_v2_request_instance = EzsigntemplatesignatureEditObjectV2Request.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignatureEditObjectV2Request.to_json()) + +# convert the object into a dict +ezsigntemplatesignature_edit_object_v2_request_dict = ezsigntemplatesignature_edit_object_v2_request_instance.to_dict() +# create an instance of EzsigntemplatesignatureEditObjectV2Request from a dict +ezsigntemplatesignature_edit_object_v2_request_from_dict = EzsigntemplatesignatureEditObjectV2Request.from_dict(ezsigntemplatesignature_edit_object_v2_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignatureEditObjectV2Response.md b/docs/EzsigntemplatesignatureEditObjectV2Response.md new file mode 100644 index 000000000..86670290e --- /dev/null +++ b/docs/EzsigntemplatesignatureEditObjectV2Response.md @@ -0,0 +1,31 @@ +# EzsigntemplatesignatureEditObjectV2Response + +Response for PUT /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_response import EzsigntemplatesignatureEditObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignatureEditObjectV2Response from a JSON string +ezsigntemplatesignature_edit_object_v2_response_instance = EzsigntemplatesignatureEditObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignatureEditObjectV2Response.to_json()) + +# convert the object into a dict +ezsigntemplatesignature_edit_object_v2_response_dict = ezsigntemplatesignature_edit_object_v2_response_instance.to_dict() +# create an instance of EzsigntemplatesignatureEditObjectV2Response from a dict +ezsigntemplatesignature_edit_object_v2_response_from_dict = EzsigntemplatesignatureEditObjectV2Response.from_dict(ezsigntemplatesignature_edit_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignatureGetObjectV2Response.md b/docs/EzsigntemplatesignatureGetObjectV2Response.md deleted file mode 100644 index cd101b10b..000000000 --- a/docs/EzsigntemplatesignatureGetObjectV2Response.md +++ /dev/null @@ -1,32 +0,0 @@ -# EzsigntemplatesignatureGetObjectV2Response - -Response for GET /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**EzsigntemplatesignatureGetObjectV2ResponseMPayload**](EzsigntemplatesignatureGetObjectV2ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response import EzsigntemplatesignatureGetObjectV2Response - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplatesignatureGetObjectV2Response from a JSON string -ezsigntemplatesignature_get_object_v2_response_instance = EzsigntemplatesignatureGetObjectV2Response.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplatesignatureGetObjectV2Response.to_json()) - -# convert the object into a dict -ezsigntemplatesignature_get_object_v2_response_dict = ezsigntemplatesignature_get_object_v2_response_instance.to_dict() -# create an instance of EzsigntemplatesignatureGetObjectV2Response from a dict -ezsigntemplatesignature_get_object_v2_response_form_dict = ezsigntemplatesignature_get_object_v2_response.from_dict(ezsigntemplatesignature_get_object_v2_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplatesignatureGetObjectV2ResponseMPayload.md b/docs/EzsigntemplatesignatureGetObjectV2ResponseMPayload.md deleted file mode 100644 index c3c7ea082..000000000 --- a/docs/EzsigntemplatesignatureGetObjectV2ResponseMPayload.md +++ /dev/null @@ -1,30 +0,0 @@ -# EzsigntemplatesignatureGetObjectV2ResponseMPayload - -Payload for GET /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_ezsigntemplatesignature** | [**EzsigntemplatesignatureResponseCompound**](EzsigntemplatesignatureResponseCompound.md) | | - -## Example - -```python -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response_m_payload import EzsigntemplatesignatureGetObjectV2ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of EzsigntemplatesignatureGetObjectV2ResponseMPayload from a JSON string -ezsigntemplatesignature_get_object_v2_response_m_payload_instance = EzsigntemplatesignatureGetObjectV2ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print(EzsigntemplatesignatureGetObjectV2ResponseMPayload.to_json()) - -# convert the object into a dict -ezsigntemplatesignature_get_object_v2_response_m_payload_dict = ezsigntemplatesignature_get_object_v2_response_m_payload_instance.to_dict() -# create an instance of EzsigntemplatesignatureGetObjectV2ResponseMPayload from a dict -ezsigntemplatesignature_get_object_v2_response_m_payload_form_dict = ezsigntemplatesignature_get_object_v2_response_m_payload.from_dict(ezsigntemplatesignature_get_object_v2_response_m_payload_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EzsigntemplatesignatureGetObjectV3Response.md b/docs/EzsigntemplatesignatureGetObjectV3Response.md new file mode 100644 index 000000000..15ef9f65a --- /dev/null +++ b/docs/EzsigntemplatesignatureGetObjectV3Response.md @@ -0,0 +1,32 @@ +# EzsigntemplatesignatureGetObjectV3Response + +Response for GET /3/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigntemplatesignatureGetObjectV3ResponseMPayload**](EzsigntemplatesignatureGetObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response import EzsigntemplatesignatureGetObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignatureGetObjectV3Response from a JSON string +ezsigntemplatesignature_get_object_v3_response_instance = EzsigntemplatesignatureGetObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignatureGetObjectV3Response.to_json()) + +# convert the object into a dict +ezsigntemplatesignature_get_object_v3_response_dict = ezsigntemplatesignature_get_object_v3_response_instance.to_dict() +# create an instance of EzsigntemplatesignatureGetObjectV3Response from a dict +ezsigntemplatesignature_get_object_v3_response_from_dict = EzsigntemplatesignatureGetObjectV3Response.from_dict(ezsigntemplatesignature_get_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignatureGetObjectV3ResponseMPayload.md b/docs/EzsigntemplatesignatureGetObjectV3ResponseMPayload.md new file mode 100644 index 000000000..e4194a5f1 --- /dev/null +++ b/docs/EzsigntemplatesignatureGetObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsigntemplatesignatureGetObjectV3ResponseMPayload + +Payload for GET /3/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsigntemplatesignature** | [**EzsigntemplatesignatureResponseCompoundV3**](EzsigntemplatesignatureResponseCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response_m_payload import EzsigntemplatesignatureGetObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignatureGetObjectV3ResponseMPayload from a JSON string +ezsigntemplatesignature_get_object_v3_response_m_payload_instance = EzsigntemplatesignatureGetObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignatureGetObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +ezsigntemplatesignature_get_object_v3_response_m_payload_dict = ezsigntemplatesignature_get_object_v3_response_m_payload_instance.to_dict() +# create an instance of EzsigntemplatesignatureGetObjectV3ResponseMPayload from a dict +ezsigntemplatesignature_get_object_v3_response_m_payload_from_dict = EzsigntemplatesignatureGetObjectV3ResponseMPayload.from_dict(ezsigntemplatesignature_get_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignatureRequest.md b/docs/EzsigntemplatesignatureRequest.md index 3c93d66b3..e117a9e9e 100644 --- a/docs/EzsigntemplatesignatureRequest.md +++ b/docs/EzsigntemplatesignatureRequest.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | **fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | **fki_ezsigntemplatesigner_id_validation** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**b_ezsigntemplatesignature_handwritten** | **bool** | Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature. | [optional] +**b_ezsigntemplatesignature_reason** | **bool** | Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature. | [optional] **e_ezsigntemplatesignature_positioning** | [**FieldEEzsigntemplatesignaturePositioning**](FieldEEzsigntemplatesignaturePositioning.md) | | [optional] **i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | **i_ezsigntemplatesignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] @@ -18,6 +20,7 @@ Name | Type | Description | Notes **i_ezsigntemplatesignature_height** | **int** | The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight. | [optional] **i_ezsigntemplatesignature_step** | **int** | The step when the Ezsigntemplatesigner will be invited to sign | **e_ezsigntemplatesignature_type** | [**FieldEEzsigntemplatesignatureType**](FieldEEzsigntemplatesignatureType.md) | | +**e_ezsigntemplatesignature_consultationtrigger** | [**FieldEEzsigntemplatesignatureConsultationtrigger**](FieldEEzsigntemplatesignatureConsultationtrigger.md) | | [optional] **t_ezsigntemplatesignature_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature | [optional] **e_ezsigntemplatesignature_tooltipposition** | [**FieldEEzsigntemplatesignatureTooltipposition**](FieldEEzsigntemplatesignatureTooltipposition.md) | | [optional] **e_ezsigntemplatesignature_font** | [**FieldEEzsigntemplatesignatureFont**](FieldEEzsigntemplatesignatureFont.md) | | [optional] @@ -26,8 +29,10 @@ Name | Type | Description | Notes **s_ezsigntemplatesignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] **i_ezsigntemplatesignature_validationstep** | **int** | The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] **i_ezsigntemplatesignature_maxlength** | **int** | The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsigntemplatesignature_defaultvalue** | **str** | The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **s_ezsigntemplatesignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea** | [optional] **e_ezsigntemplatesignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsigntemplatesignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **e_ezsigntemplatesignature_dependencyrequirement** | [**FieldEEzsigntemplatesignatureDependencyrequirement**](FieldEEzsigntemplatesignatureDependencyrequirement.md) | | [optional] **s_ezsigntemplatesignature_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] **i_ezsigntemplatesignature_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] @@ -49,7 +54,7 @@ print(EzsigntemplatesignatureRequest.to_json()) # convert the object into a dict ezsigntemplatesignature_request_dict = ezsigntemplatesignature_request_instance.to_dict() # create an instance of EzsigntemplatesignatureRequest from a dict -ezsigntemplatesignature_request_form_dict = ezsigntemplatesignature_request.from_dict(ezsigntemplatesignature_request_dict) +ezsigntemplatesignature_request_from_dict = EzsigntemplatesignatureRequest.from_dict(ezsigntemplatesignature_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignatureRequestCompound.md b/docs/EzsigntemplatesignatureRequestCompound.md index b30320a16..0d6d63cc2 100644 --- a/docs/EzsigntemplatesignatureRequestCompound.md +++ b/docs/EzsigntemplatesignatureRequestCompound.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | **fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | **fki_ezsigntemplatesigner_id_validation** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**b_ezsigntemplatesignature_handwritten** | **bool** | Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature. | [optional] +**b_ezsigntemplatesignature_reason** | **bool** | Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature. | [optional] **e_ezsigntemplatesignature_positioning** | [**FieldEEzsigntemplatesignaturePositioning**](FieldEEzsigntemplatesignaturePositioning.md) | | [optional] **i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | **i_ezsigntemplatesignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] @@ -18,6 +20,7 @@ Name | Type | Description | Notes **i_ezsigntemplatesignature_height** | **int** | The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight. | [optional] **i_ezsigntemplatesignature_step** | **int** | The step when the Ezsigntemplatesigner will be invited to sign | **e_ezsigntemplatesignature_type** | [**FieldEEzsigntemplatesignatureType**](FieldEEzsigntemplatesignatureType.md) | | +**e_ezsigntemplatesignature_consultationtrigger** | [**FieldEEzsigntemplatesignatureConsultationtrigger**](FieldEEzsigntemplatesignatureConsultationtrigger.md) | | [optional] **t_ezsigntemplatesignature_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature | [optional] **e_ezsigntemplatesignature_tooltipposition** | [**FieldEEzsigntemplatesignatureTooltipposition**](FieldEEzsigntemplatesignatureTooltipposition.md) | | [optional] **e_ezsigntemplatesignature_font** | [**FieldEEzsigntemplatesignatureFont**](FieldEEzsigntemplatesignatureFont.md) | | [optional] @@ -26,8 +29,10 @@ Name | Type | Description | Notes **s_ezsigntemplatesignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] **i_ezsigntemplatesignature_validationstep** | **int** | The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] **i_ezsigntemplatesignature_maxlength** | **int** | The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsigntemplatesignature_defaultvalue** | **str** | The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **s_ezsigntemplatesignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea** | [optional] **e_ezsigntemplatesignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsigntemplatesignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **e_ezsigntemplatesignature_dependencyrequirement** | [**FieldEEzsigntemplatesignatureDependencyrequirement**](FieldEEzsigntemplatesignatureDependencyrequirement.md) | | [optional] **s_ezsigntemplatesignature_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] **i_ezsigntemplatesignature_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] @@ -52,7 +57,7 @@ print(EzsigntemplatesignatureRequestCompound.to_json()) # convert the object into a dict ezsigntemplatesignature_request_compound_dict = ezsigntemplatesignature_request_compound_instance.to_dict() # create an instance of EzsigntemplatesignatureRequestCompound from a dict -ezsigntemplatesignature_request_compound_form_dict = ezsigntemplatesignature_request_compound.from_dict(ezsigntemplatesignature_request_compound_dict) +ezsigntemplatesignature_request_compound_from_dict = EzsigntemplatesignatureRequestCompound.from_dict(ezsigntemplatesignature_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignatureRequestCompoundV2.md b/docs/EzsigntemplatesignatureRequestCompoundV2.md new file mode 100644 index 000000000..121fb2390 --- /dev/null +++ b/docs/EzsigntemplatesignatureRequestCompoundV2.md @@ -0,0 +1,64 @@ +# EzsigntemplatesignatureRequestCompoundV2 + +A Ezsigntemplatesignature Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesignature_id** | **int** | The unique ID of the Ezsigntemplatesignature | [optional] +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | +**fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | +**fki_ezsigntemplatesigner_id_validation** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**b_ezsigntemplatesignature_handwritten** | **bool** | Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature. | [optional] +**b_ezsigntemplatesignature_reason** | **bool** | Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature. | [optional] +**e_ezsigntemplatesignature_positioning** | [**FieldEEzsigntemplatesignaturePositioning**](FieldEEzsigntemplatesignaturePositioning.md) | | [optional] +**i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | +**i_ezsigntemplatesignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] +**i_ezsigntemplatesignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] +**i_ezsigntemplatesignature_width** | **int** | The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth. | [optional] +**i_ezsigntemplatesignature_height** | **int** | The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight. | [optional] +**i_ezsigntemplatesignature_step** | **int** | The step when the Ezsigntemplatesigner will be invited to sign | +**e_ezsigntemplatesignature_type** | [**FieldEEzsigntemplatesignatureType**](FieldEEzsigntemplatesignatureType.md) | | +**e_ezsigntemplatesignature_consultationtrigger** | [**FieldEEzsigntemplatesignatureConsultationtrigger**](FieldEEzsigntemplatesignatureConsultationtrigger.md) | | [optional] +**t_ezsigntemplatesignature_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature | [optional] +**e_ezsigntemplatesignature_tooltipposition** | [**FieldEEzsigntemplatesignatureTooltipposition**](FieldEEzsigntemplatesignatureTooltipposition.md) | | [optional] +**e_ezsigntemplatesignature_font** | [**FieldEEzsigntemplatesignatureFont**](FieldEEzsigntemplatesignatureFont.md) | | [optional] +**b_ezsigntemplatesignature_required** | **bool** | Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments. | [optional] +**e_ezsigntemplatesignature_attachmentnamesource** | [**FieldEEzsigntemplatesignatureAttachmentnamesource**](FieldEEzsigntemplatesignatureAttachmentnamesource.md) | | [optional] +**s_ezsigntemplatesignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**i_ezsigntemplatesignature_validationstep** | **int** | The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**i_ezsigntemplatesignature_maxlength** | **int** | The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsigntemplatesignature_defaultvalue** | **str** | The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsigntemplatesignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea** | [optional] +**e_ezsigntemplatesignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsigntemplatesignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsigntemplatesignature_dependencyrequirement** | [**FieldEEzsigntemplatesignatureDependencyrequirement**](FieldEEzsigntemplatesignatureDependencyrequirement.md) | | [optional] +**s_ezsigntemplatesignature_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**e_ezsigntemplatesignature_positioningoccurence** | [**FieldEEzsigntemplatesignaturePositioningoccurence**](FieldEEzsigntemplatesignaturePositioningoccurence.md) | | [optional] +**b_ezsigntemplatesignature_customdate** | **bool** | Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**) | [optional] +**a_obj_ezsigntemplatesignaturecustomdate** | [**List[EzsigntemplatesignaturecustomdateRequestCompoundV2]**](EzsigntemplatesignaturecustomdateRequestCompoundV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyRequestCompound]**](EzsigntemplateelementdependencyRequestCompound.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignature_request_compound_v2 import EzsigntemplatesignatureRequestCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignatureRequestCompoundV2 from a JSON string +ezsigntemplatesignature_request_compound_v2_instance = EzsigntemplatesignatureRequestCompoundV2.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignatureRequestCompoundV2.to_json()) + +# convert the object into a dict +ezsigntemplatesignature_request_compound_v2_dict = ezsigntemplatesignature_request_compound_v2_instance.to_dict() +# create an instance of EzsigntemplatesignatureRequestCompoundV2 from a dict +ezsigntemplatesignature_request_compound_v2_from_dict = EzsigntemplatesignatureRequestCompoundV2.from_dict(ezsigntemplatesignature_request_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignatureResponse.md b/docs/EzsigntemplatesignatureResponse.md index bdfae6dd6..4d7f64036 100644 --- a/docs/EzsigntemplatesignatureResponse.md +++ b/docs/EzsigntemplatesignatureResponse.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | **fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | **fki_ezsigntemplatesigner_id_validation** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**b_ezsigntemplatesignature_handwritten** | **bool** | Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature. | [optional] +**b_ezsigntemplatesignature_reason** | **bool** | Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature. | [optional] **e_ezsigntemplatesignature_positioning** | [**FieldEEzsigntemplatesignaturePositioning**](FieldEEzsigntemplatesignaturePositioning.md) | | [optional] **i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | **i_ezsigntemplatesignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] @@ -18,6 +20,7 @@ Name | Type | Description | Notes **i_ezsigntemplatesignature_height** | **int** | The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight. | [optional] **i_ezsigntemplatesignature_step** | **int** | The step when the Ezsigntemplatesigner will be invited to sign | **e_ezsigntemplatesignature_type** | [**FieldEEzsigntemplatesignatureType**](FieldEEzsigntemplatesignatureType.md) | | +**e_ezsigntemplatesignature_consultationtrigger** | [**FieldEEzsigntemplatesignatureConsultationtrigger**](FieldEEzsigntemplatesignatureConsultationtrigger.md) | | [optional] **t_ezsigntemplatesignature_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature | [optional] **e_ezsigntemplatesignature_tooltipposition** | [**FieldEEzsigntemplatesignatureTooltipposition**](FieldEEzsigntemplatesignatureTooltipposition.md) | | [optional] **e_ezsigntemplatesignature_font** | [**FieldEEzsigntemplatesignatureFont**](FieldEEzsigntemplatesignatureFont.md) | | [optional] @@ -26,8 +29,10 @@ Name | Type | Description | Notes **e_ezsigntemplatesignature_attachmentnamesource** | [**FieldEEzsigntemplatesignatureAttachmentnamesource**](FieldEEzsigntemplatesignatureAttachmentnamesource.md) | | [optional] **b_ezsigntemplatesignature_required** | **bool** | Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments. | [optional] **i_ezsigntemplatesignature_maxlength** | **int** | The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsigntemplatesignature_defaultvalue** | **str** | The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **s_ezsigntemplatesignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea** | [optional] **e_ezsigntemplatesignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsigntemplatesignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **e_ezsigntemplatesignature_dependencyrequirement** | [**FieldEEzsigntemplatesignatureDependencyrequirement**](FieldEEzsigntemplatesignatureDependencyrequirement.md) | | [optional] **s_ezsigntemplatesignature_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] **i_ezsigntemplatesignature_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] @@ -49,7 +54,7 @@ print(EzsigntemplatesignatureResponse.to_json()) # convert the object into a dict ezsigntemplatesignature_response_dict = ezsigntemplatesignature_response_instance.to_dict() # create an instance of EzsigntemplatesignatureResponse from a dict -ezsigntemplatesignature_response_form_dict = ezsigntemplatesignature_response.from_dict(ezsigntemplatesignature_response_dict) +ezsigntemplatesignature_response_from_dict = EzsigntemplatesignatureResponse.from_dict(ezsigntemplatesignature_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignatureResponseCompound.md b/docs/EzsigntemplatesignatureResponseCompound.md index 4a07ae85a..4573e3f25 100644 --- a/docs/EzsigntemplatesignatureResponseCompound.md +++ b/docs/EzsigntemplatesignatureResponseCompound.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | **fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | **fki_ezsigntemplatesigner_id_validation** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**b_ezsigntemplatesignature_handwritten** | **bool** | Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature. | [optional] +**b_ezsigntemplatesignature_reason** | **bool** | Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature. | [optional] **e_ezsigntemplatesignature_positioning** | [**FieldEEzsigntemplatesignaturePositioning**](FieldEEzsigntemplatesignaturePositioning.md) | | [optional] **i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | **i_ezsigntemplatesignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] @@ -18,6 +20,7 @@ Name | Type | Description | Notes **i_ezsigntemplatesignature_height** | **int** | The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight. | [optional] **i_ezsigntemplatesignature_step** | **int** | The step when the Ezsigntemplatesigner will be invited to sign | **e_ezsigntemplatesignature_type** | [**FieldEEzsigntemplatesignatureType**](FieldEEzsigntemplatesignatureType.md) | | +**e_ezsigntemplatesignature_consultationtrigger** | [**FieldEEzsigntemplatesignatureConsultationtrigger**](FieldEEzsigntemplatesignatureConsultationtrigger.md) | | [optional] **t_ezsigntemplatesignature_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature | [optional] **e_ezsigntemplatesignature_tooltipposition** | [**FieldEEzsigntemplatesignatureTooltipposition**](FieldEEzsigntemplatesignatureTooltipposition.md) | | [optional] **e_ezsigntemplatesignature_font** | [**FieldEEzsigntemplatesignatureFont**](FieldEEzsigntemplatesignatureFont.md) | | [optional] @@ -26,8 +29,10 @@ Name | Type | Description | Notes **e_ezsigntemplatesignature_attachmentnamesource** | [**FieldEEzsigntemplatesignatureAttachmentnamesource**](FieldEEzsigntemplatesignatureAttachmentnamesource.md) | | [optional] **b_ezsigntemplatesignature_required** | **bool** | Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments. | [optional] **i_ezsigntemplatesignature_maxlength** | **int** | The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsigntemplatesignature_defaultvalue** | **str** | The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] **s_ezsigntemplatesignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea** | [optional] **e_ezsigntemplatesignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsigntemplatesignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] **e_ezsigntemplatesignature_dependencyrequirement** | [**FieldEEzsigntemplatesignatureDependencyrequirement**](FieldEEzsigntemplatesignatureDependencyrequirement.md) | | [optional] **s_ezsigntemplatesignature_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] **i_ezsigntemplatesignature_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] @@ -52,7 +57,7 @@ print(EzsigntemplatesignatureResponseCompound.to_json()) # convert the object into a dict ezsigntemplatesignature_response_compound_dict = ezsigntemplatesignature_response_compound_instance.to_dict() # create an instance of EzsigntemplatesignatureResponseCompound from a dict -ezsigntemplatesignature_response_compound_form_dict = ezsigntemplatesignature_response_compound.from_dict(ezsigntemplatesignature_response_compound_dict) +ezsigntemplatesignature_response_compound_from_dict = EzsigntemplatesignatureResponseCompound.from_dict(ezsigntemplatesignature_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignatureResponseCompoundV3.md b/docs/EzsigntemplatesignatureResponseCompoundV3.md new file mode 100644 index 000000000..a19891717 --- /dev/null +++ b/docs/EzsigntemplatesignatureResponseCompoundV3.md @@ -0,0 +1,64 @@ +# EzsigntemplatesignatureResponseCompoundV3 + +A Ezsigntemplatesignature Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesignature_id** | **int** | The unique ID of the Ezsigntemplatesignature | +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | +**fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | +**fki_ezsigntemplatesigner_id_validation** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**b_ezsigntemplatesignature_handwritten** | **bool** | Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature. | [optional] +**b_ezsigntemplatesignature_reason** | **bool** | Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature. | [optional] +**e_ezsigntemplatesignature_positioning** | [**FieldEEzsigntemplatesignaturePositioning**](FieldEEzsigntemplatesignaturePositioning.md) | | [optional] +**i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | +**i_ezsigntemplatesignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] +**i_ezsigntemplatesignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] +**i_ezsigntemplatesignature_width** | **int** | The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth. | [optional] +**i_ezsigntemplatesignature_height** | **int** | The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight. | [optional] +**i_ezsigntemplatesignature_step** | **int** | The step when the Ezsigntemplatesigner will be invited to sign | +**e_ezsigntemplatesignature_type** | [**FieldEEzsigntemplatesignatureType**](FieldEEzsigntemplatesignatureType.md) | | +**e_ezsigntemplatesignature_consultationtrigger** | [**FieldEEzsigntemplatesignatureConsultationtrigger**](FieldEEzsigntemplatesignatureConsultationtrigger.md) | | [optional] +**t_ezsigntemplatesignature_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature | [optional] +**e_ezsigntemplatesignature_tooltipposition** | [**FieldEEzsigntemplatesignatureTooltipposition**](FieldEEzsigntemplatesignatureTooltipposition.md) | | [optional] +**e_ezsigntemplatesignature_font** | [**FieldEEzsigntemplatesignatureFont**](FieldEEzsigntemplatesignatureFont.md) | | [optional] +**i_ezsigntemplatesignature_validationstep** | **int** | The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**s_ezsigntemplatesignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**e_ezsigntemplatesignature_attachmentnamesource** | [**FieldEEzsigntemplatesignatureAttachmentnamesource**](FieldEEzsigntemplatesignatureAttachmentnamesource.md) | | [optional] +**b_ezsigntemplatesignature_required** | **bool** | Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments. | [optional] +**i_ezsigntemplatesignature_maxlength** | **int** | The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsigntemplatesignature_defaultvalue** | **str** | The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsigntemplatesignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea** | [optional] +**e_ezsigntemplatesignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsigntemplatesignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsigntemplatesignature_dependencyrequirement** | [**FieldEEzsigntemplatesignatureDependencyrequirement**](FieldEEzsigntemplatesignatureDependencyrequirement.md) | | [optional] +**s_ezsigntemplatesignature_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**e_ezsigntemplatesignature_positioningoccurence** | [**FieldEEzsigntemplatesignaturePositioningoccurence**](FieldEEzsigntemplatesignaturePositioningoccurence.md) | | [optional] +**b_ezsigntemplatesignature_customdate** | **bool** | Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**) | [optional] +**a_obj_ezsigntemplatesignaturecustomdate** | [**List[EzsigntemplatesignaturecustomdateResponseCompoundV2]**](EzsigntemplatesignaturecustomdateResponseCompoundV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyResponseCompound]**](EzsigntemplateelementdependencyResponseCompound.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignature_response_compound_v3 import EzsigntemplatesignatureResponseCompoundV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignatureResponseCompoundV3 from a JSON string +ezsigntemplatesignature_response_compound_v3_instance = EzsigntemplatesignatureResponseCompoundV3.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignatureResponseCompoundV3.to_json()) + +# convert the object into a dict +ezsigntemplatesignature_response_compound_v3_dict = ezsigntemplatesignature_response_compound_v3_instance.to_dict() +# create an instance of EzsigntemplatesignatureResponseCompoundV3 from a dict +ezsigntemplatesignature_response_compound_v3_from_dict = EzsigntemplatesignatureResponseCompoundV3.from_dict(ezsigntemplatesignature_response_compound_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignaturecustomdateRequest.md b/docs/EzsigntemplatesignaturecustomdateRequest.md index 732355f80..57cde61f9 100644 --- a/docs/EzsigntemplatesignaturecustomdateRequest.md +++ b/docs/EzsigntemplatesignaturecustomdateRequest.md @@ -28,7 +28,7 @@ print(EzsigntemplatesignaturecustomdateRequest.to_json()) # convert the object into a dict ezsigntemplatesignaturecustomdate_request_dict = ezsigntemplatesignaturecustomdate_request_instance.to_dict() # create an instance of EzsigntemplatesignaturecustomdateRequest from a dict -ezsigntemplatesignaturecustomdate_request_form_dict = ezsigntemplatesignaturecustomdate_request.from_dict(ezsigntemplatesignaturecustomdate_request_dict) +ezsigntemplatesignaturecustomdate_request_from_dict = EzsigntemplatesignaturecustomdateRequest.from_dict(ezsigntemplatesignaturecustomdate_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignaturecustomdateRequestCompound.md b/docs/EzsigntemplatesignaturecustomdateRequestCompound.md index e6b7430b3..c180f3626 100644 --- a/docs/EzsigntemplatesignaturecustomdateRequestCompound.md +++ b/docs/EzsigntemplatesignaturecustomdateRequestCompound.md @@ -28,7 +28,7 @@ print(EzsigntemplatesignaturecustomdateRequestCompound.to_json()) # convert the object into a dict ezsigntemplatesignaturecustomdate_request_compound_dict = ezsigntemplatesignaturecustomdate_request_compound_instance.to_dict() # create an instance of EzsigntemplatesignaturecustomdateRequestCompound from a dict -ezsigntemplatesignaturecustomdate_request_compound_form_dict = ezsigntemplatesignaturecustomdate_request_compound.from_dict(ezsigntemplatesignaturecustomdate_request_compound_dict) +ezsigntemplatesignaturecustomdate_request_compound_from_dict = EzsigntemplatesignaturecustomdateRequestCompound.from_dict(ezsigntemplatesignaturecustomdate_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignaturecustomdateRequestCompoundV2.md b/docs/EzsigntemplatesignaturecustomdateRequestCompoundV2.md new file mode 100644 index 000000000..c17da8f30 --- /dev/null +++ b/docs/EzsigntemplatesignaturecustomdateRequestCompoundV2.md @@ -0,0 +1,33 @@ +# EzsigntemplatesignaturecustomdateRequestCompoundV2 + +An Ezsigntemplatesignaturecustomdate Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesignaturecustomdate_id** | **int** | The unique ID of the Ezsigntemplatesignaturecustomdate | [optional] +**i_ezsigntemplatesignaturecustomdate_offsetx** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the left of the signature, you would use \"200\" for the X coordinate. | +**i_ezsigntemplatesignaturecustomdate_offsety** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the top of the signature, you would use \"200\" for the Y coordinate. | +**s_ezsigntemplatesignaturecustomdate_format** | **str** | The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound_v2 import EzsigntemplatesignaturecustomdateRequestCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignaturecustomdateRequestCompoundV2 from a JSON string +ezsigntemplatesignaturecustomdate_request_compound_v2_instance = EzsigntemplatesignaturecustomdateRequestCompoundV2.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignaturecustomdateRequestCompoundV2.to_json()) + +# convert the object into a dict +ezsigntemplatesignaturecustomdate_request_compound_v2_dict = ezsigntemplatesignaturecustomdate_request_compound_v2_instance.to_dict() +# create an instance of EzsigntemplatesignaturecustomdateRequestCompoundV2 from a dict +ezsigntemplatesignaturecustomdate_request_compound_v2_from_dict = EzsigntemplatesignaturecustomdateRequestCompoundV2.from_dict(ezsigntemplatesignaturecustomdate_request_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignaturecustomdateRequestV2.md b/docs/EzsigntemplatesignaturecustomdateRequestV2.md new file mode 100644 index 000000000..197606675 --- /dev/null +++ b/docs/EzsigntemplatesignaturecustomdateRequestV2.md @@ -0,0 +1,33 @@ +# EzsigntemplatesignaturecustomdateRequestV2 + +An Ezsigntemplatesignaturecustomdate Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesignaturecustomdate_id** | **int** | The unique ID of the Ezsigntemplatesignaturecustomdate | [optional] +**i_ezsigntemplatesignaturecustomdate_offsetx** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the left of the signature, you would use \"200\" for the X coordinate. | +**i_ezsigntemplatesignaturecustomdate_offsety** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the top of the signature, you would use \"200\" for the Y coordinate. | +**s_ezsigntemplatesignaturecustomdate_format** | **str** | The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_v2 import EzsigntemplatesignaturecustomdateRequestV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignaturecustomdateRequestV2 from a JSON string +ezsigntemplatesignaturecustomdate_request_v2_instance = EzsigntemplatesignaturecustomdateRequestV2.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignaturecustomdateRequestV2.to_json()) + +# convert the object into a dict +ezsigntemplatesignaturecustomdate_request_v2_dict = ezsigntemplatesignaturecustomdate_request_v2_instance.to_dict() +# create an instance of EzsigntemplatesignaturecustomdateRequestV2 from a dict +ezsigntemplatesignaturecustomdate_request_v2_from_dict = EzsigntemplatesignaturecustomdateRequestV2.from_dict(ezsigntemplatesignaturecustomdate_request_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignaturecustomdateResponse.md b/docs/EzsigntemplatesignaturecustomdateResponse.md index c2490510e..0a3a7e304 100644 --- a/docs/EzsigntemplatesignaturecustomdateResponse.md +++ b/docs/EzsigntemplatesignaturecustomdateResponse.md @@ -28,7 +28,7 @@ print(EzsigntemplatesignaturecustomdateResponse.to_json()) # convert the object into a dict ezsigntemplatesignaturecustomdate_response_dict = ezsigntemplatesignaturecustomdate_response_instance.to_dict() # create an instance of EzsigntemplatesignaturecustomdateResponse from a dict -ezsigntemplatesignaturecustomdate_response_form_dict = ezsigntemplatesignaturecustomdate_response.from_dict(ezsigntemplatesignaturecustomdate_response_dict) +ezsigntemplatesignaturecustomdate_response_from_dict = EzsigntemplatesignaturecustomdateResponse.from_dict(ezsigntemplatesignaturecustomdate_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignaturecustomdateResponseCompound.md b/docs/EzsigntemplatesignaturecustomdateResponseCompound.md index eb90b53b7..75a0a005e 100644 --- a/docs/EzsigntemplatesignaturecustomdateResponseCompound.md +++ b/docs/EzsigntemplatesignaturecustomdateResponseCompound.md @@ -28,7 +28,7 @@ print(EzsigntemplatesignaturecustomdateResponseCompound.to_json()) # convert the object into a dict ezsigntemplatesignaturecustomdate_response_compound_dict = ezsigntemplatesignaturecustomdate_response_compound_instance.to_dict() # create an instance of EzsigntemplatesignaturecustomdateResponseCompound from a dict -ezsigntemplatesignaturecustomdate_response_compound_form_dict = ezsigntemplatesignaturecustomdate_response_compound.from_dict(ezsigntemplatesignaturecustomdate_response_compound_dict) +ezsigntemplatesignaturecustomdate_response_compound_from_dict = EzsigntemplatesignaturecustomdateResponseCompound.from_dict(ezsigntemplatesignaturecustomdate_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignaturecustomdateResponseCompoundV2.md b/docs/EzsigntemplatesignaturecustomdateResponseCompoundV2.md new file mode 100644 index 000000000..1ff1a7297 --- /dev/null +++ b/docs/EzsigntemplatesignaturecustomdateResponseCompoundV2.md @@ -0,0 +1,33 @@ +# EzsigntemplatesignaturecustomdateResponseCompoundV2 + +An Ezsigntemplatesignaturecustomdate Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesignaturecustomdate_id** | **int** | The unique ID of the Ezsigntemplatesignaturecustomdate | +**i_ezsigntemplatesignaturecustomdate_offsetx** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the left of the signature, you would use \"200\" for the X coordinate. | +**i_ezsigntemplatesignaturecustomdate_offsety** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the top of the signature, you would use \"200\" for the Y coordinate. | +**s_ezsigntemplatesignaturecustomdate_format** | **str** | The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound_v2 import EzsigntemplatesignaturecustomdateResponseCompoundV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignaturecustomdateResponseCompoundV2 from a JSON string +ezsigntemplatesignaturecustomdate_response_compound_v2_instance = EzsigntemplatesignaturecustomdateResponseCompoundV2.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignaturecustomdateResponseCompoundV2.to_json()) + +# convert the object into a dict +ezsigntemplatesignaturecustomdate_response_compound_v2_dict = ezsigntemplatesignaturecustomdate_response_compound_v2_instance.to_dict() +# create an instance of EzsigntemplatesignaturecustomdateResponseCompoundV2 from a dict +ezsigntemplatesignaturecustomdate_response_compound_v2_from_dict = EzsigntemplatesignaturecustomdateResponseCompoundV2.from_dict(ezsigntemplatesignaturecustomdate_response_compound_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignaturecustomdateResponseV2.md b/docs/EzsigntemplatesignaturecustomdateResponseV2.md new file mode 100644 index 000000000..13b24e893 --- /dev/null +++ b/docs/EzsigntemplatesignaturecustomdateResponseV2.md @@ -0,0 +1,33 @@ +# EzsigntemplatesignaturecustomdateResponseV2 + +An Ezsigntemplatesignaturecustomdate Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesignaturecustomdate_id** | **int** | The unique ID of the Ezsigntemplatesignaturecustomdate | +**i_ezsigntemplatesignaturecustomdate_offsetx** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the left of the signature, you would use \"200\" for the X coordinate. | +**i_ezsigntemplatesignaturecustomdate_offsety** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the top of the signature, you would use \"200\" for the Y coordinate. | +**s_ezsigntemplatesignaturecustomdate_format** | **str** | The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | | + +## Example + +```python +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_v2 import EzsigntemplatesignaturecustomdateResponseV2 + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsigntemplatesignaturecustomdateResponseV2 from a JSON string +ezsigntemplatesignaturecustomdate_response_v2_instance = EzsigntemplatesignaturecustomdateResponseV2.from_json(json) +# print the JSON string representation of the object +print(EzsigntemplatesignaturecustomdateResponseV2.to_json()) + +# convert the object into a dict +ezsigntemplatesignaturecustomdate_response_v2_dict = ezsigntemplatesignaturecustomdate_response_v2_instance.to_dict() +# create an instance of EzsigntemplatesignaturecustomdateResponseV2 from a dict +ezsigntemplatesignaturecustomdate_response_v2_from_dict = EzsigntemplatesignaturecustomdateResponseV2.from_dict(ezsigntemplatesignaturecustomdate_response_v2_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsigntemplatesignerCreateObjectV1Request.md b/docs/EzsigntemplatesignerCreateObjectV1Request.md index 531986e25..688d364a0 100644 --- a/docs/EzsigntemplatesignerCreateObjectV1Request.md +++ b/docs/EzsigntemplatesignerCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatesignerCreateObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatesigner_create_object_v1_request_dict = ezsigntemplatesigner_create_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatesignerCreateObjectV1Request from a dict -ezsigntemplatesigner_create_object_v1_request_form_dict = ezsigntemplatesigner_create_object_v1_request.from_dict(ezsigntemplatesigner_create_object_v1_request_dict) +ezsigntemplatesigner_create_object_v1_request_from_dict = EzsigntemplatesignerCreateObjectV1Request.from_dict(ezsigntemplatesigner_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerCreateObjectV1Response.md b/docs/EzsigntemplatesignerCreateObjectV1Response.md index 579ca2f75..891e49270 100644 --- a/docs/EzsigntemplatesignerCreateObjectV1Response.md +++ b/docs/EzsigntemplatesignerCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatesignerCreateObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatesigner_create_object_v1_response_dict = ezsigntemplatesigner_create_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatesignerCreateObjectV1Response from a dict -ezsigntemplatesigner_create_object_v1_response_form_dict = ezsigntemplatesigner_create_object_v1_response.from_dict(ezsigntemplatesigner_create_object_v1_response_dict) +ezsigntemplatesigner_create_object_v1_response_from_dict = EzsigntemplatesignerCreateObjectV1Response.from_dict(ezsigntemplatesigner_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerCreateObjectV1ResponseMPayload.md b/docs/EzsigntemplatesignerCreateObjectV1ResponseMPayload.md index f12d2fc57..ba6067ee4 100644 --- a/docs/EzsigntemplatesignerCreateObjectV1ResponseMPayload.md +++ b/docs/EzsigntemplatesignerCreateObjectV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(EzsigntemplatesignerCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatesigner_create_object_v1_response_m_payload_dict = ezsigntemplatesigner_create_object_v1_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatesignerCreateObjectV1ResponseMPayload from a dict -ezsigntemplatesigner_create_object_v1_response_m_payload_form_dict = ezsigntemplatesigner_create_object_v1_response_m_payload.from_dict(ezsigntemplatesigner_create_object_v1_response_m_payload_dict) +ezsigntemplatesigner_create_object_v1_response_m_payload_from_dict = EzsigntemplatesignerCreateObjectV1ResponseMPayload.from_dict(ezsigntemplatesigner_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerDeleteObjectV1Response.md b/docs/EzsigntemplatesignerDeleteObjectV1Response.md index 6c5d186b4..b93ee929b 100644 --- a/docs/EzsigntemplatesignerDeleteObjectV1Response.md +++ b/docs/EzsigntemplatesignerDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplatesignerDeleteObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatesigner_delete_object_v1_response_dict = ezsigntemplatesigner_delete_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatesignerDeleteObjectV1Response from a dict -ezsigntemplatesigner_delete_object_v1_response_form_dict = ezsigntemplatesigner_delete_object_v1_response.from_dict(ezsigntemplatesigner_delete_object_v1_response_dict) +ezsigntemplatesigner_delete_object_v1_response_from_dict = EzsigntemplatesignerDeleteObjectV1Response.from_dict(ezsigntemplatesigner_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerEditObjectV1Request.md b/docs/EzsigntemplatesignerEditObjectV1Request.md index 10fd29ec1..b2d170ac7 100644 --- a/docs/EzsigntemplatesignerEditObjectV1Request.md +++ b/docs/EzsigntemplatesignerEditObjectV1Request.md @@ -23,7 +23,7 @@ print(EzsigntemplatesignerEditObjectV1Request.to_json()) # convert the object into a dict ezsigntemplatesigner_edit_object_v1_request_dict = ezsigntemplatesigner_edit_object_v1_request_instance.to_dict() # create an instance of EzsigntemplatesignerEditObjectV1Request from a dict -ezsigntemplatesigner_edit_object_v1_request_form_dict = ezsigntemplatesigner_edit_object_v1_request.from_dict(ezsigntemplatesigner_edit_object_v1_request_dict) +ezsigntemplatesigner_edit_object_v1_request_from_dict = EzsigntemplatesignerEditObjectV1Request.from_dict(ezsigntemplatesigner_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerEditObjectV1Response.md b/docs/EzsigntemplatesignerEditObjectV1Response.md index f3a4630cf..07235cdaf 100644 --- a/docs/EzsigntemplatesignerEditObjectV1Response.md +++ b/docs/EzsigntemplatesignerEditObjectV1Response.md @@ -24,7 +24,7 @@ print(EzsigntemplatesignerEditObjectV1Response.to_json()) # convert the object into a dict ezsigntemplatesigner_edit_object_v1_response_dict = ezsigntemplatesigner_edit_object_v1_response_instance.to_dict() # create an instance of EzsigntemplatesignerEditObjectV1Response from a dict -ezsigntemplatesigner_edit_object_v1_response_form_dict = ezsigntemplatesigner_edit_object_v1_response.from_dict(ezsigntemplatesigner_edit_object_v1_response_dict) +ezsigntemplatesigner_edit_object_v1_response_from_dict = EzsigntemplatesignerEditObjectV1Response.from_dict(ezsigntemplatesigner_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerGetObjectV2Response.md b/docs/EzsigntemplatesignerGetObjectV2Response.md index 9065fc1f3..0cf5c0062 100644 --- a/docs/EzsigntemplatesignerGetObjectV2Response.md +++ b/docs/EzsigntemplatesignerGetObjectV2Response.md @@ -25,7 +25,7 @@ print(EzsigntemplatesignerGetObjectV2Response.to_json()) # convert the object into a dict ezsigntemplatesigner_get_object_v2_response_dict = ezsigntemplatesigner_get_object_v2_response_instance.to_dict() # create an instance of EzsigntemplatesignerGetObjectV2Response from a dict -ezsigntemplatesigner_get_object_v2_response_form_dict = ezsigntemplatesigner_get_object_v2_response.from_dict(ezsigntemplatesigner_get_object_v2_response_dict) +ezsigntemplatesigner_get_object_v2_response_from_dict = EzsigntemplatesignerGetObjectV2Response.from_dict(ezsigntemplatesigner_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerGetObjectV2ResponseMPayload.md b/docs/EzsigntemplatesignerGetObjectV2ResponseMPayload.md index 4350c4db6..f96294385 100644 --- a/docs/EzsigntemplatesignerGetObjectV2ResponseMPayload.md +++ b/docs/EzsigntemplatesignerGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntemplatesignerGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntemplatesigner_get_object_v2_response_m_payload_dict = ezsigntemplatesigner_get_object_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntemplatesignerGetObjectV2ResponseMPayload from a dict -ezsigntemplatesigner_get_object_v2_response_m_payload_form_dict = ezsigntemplatesigner_get_object_v2_response_m_payload.from_dict(ezsigntemplatesigner_get_object_v2_response_m_payload_dict) +ezsigntemplatesigner_get_object_v2_response_m_payload_from_dict = EzsigntemplatesignerGetObjectV2ResponseMPayload.from_dict(ezsigntemplatesigner_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerRequest.md b/docs/EzsigntemplatesignerRequest.md index 12673d22a..621825f85 100644 --- a/docs/EzsigntemplatesignerRequest.md +++ b/docs/EzsigntemplatesignerRequest.md @@ -8,6 +8,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] **fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**b_ezsigntemplatesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatesigner_mapping** | [**FieldEEzsigntemplatesignerMapping**](FieldEEzsigntemplatesignerMapping.md) | | [optional] **s_ezsigntemplatesigner_description** | **str** | The description of the Ezsigntemplatesigner | ## Example @@ -25,7 +30,7 @@ print(EzsigntemplatesignerRequest.to_json()) # convert the object into a dict ezsigntemplatesigner_request_dict = ezsigntemplatesigner_request_instance.to_dict() # create an instance of EzsigntemplatesignerRequest from a dict -ezsigntemplatesigner_request_form_dict = ezsigntemplatesigner_request.from_dict(ezsigntemplatesigner_request_dict) +ezsigntemplatesigner_request_from_dict = EzsigntemplatesignerRequest.from_dict(ezsigntemplatesigner_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerRequestCompound.md b/docs/EzsigntemplatesignerRequestCompound.md index a885deaec..b3b4e4f33 100644 --- a/docs/EzsigntemplatesignerRequestCompound.md +++ b/docs/EzsigntemplatesignerRequestCompound.md @@ -8,6 +8,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] **fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**b_ezsigntemplatesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatesigner_mapping** | [**FieldEEzsigntemplatesignerMapping**](FieldEEzsigntemplatesignerMapping.md) | | [optional] **s_ezsigntemplatesigner_description** | **str** | The description of the Ezsigntemplatesigner | ## Example @@ -25,7 +30,7 @@ print(EzsigntemplatesignerRequestCompound.to_json()) # convert the object into a dict ezsigntemplatesigner_request_compound_dict = ezsigntemplatesigner_request_compound_instance.to_dict() # create an instance of EzsigntemplatesignerRequestCompound from a dict -ezsigntemplatesigner_request_compound_form_dict = ezsigntemplatesigner_request_compound.from_dict(ezsigntemplatesigner_request_compound_dict) +ezsigntemplatesigner_request_compound_from_dict = EzsigntemplatesignerRequestCompound.from_dict(ezsigntemplatesigner_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerResponse.md b/docs/EzsigntemplatesignerResponse.md index f325e11f5..7d93dd909 100644 --- a/docs/EzsigntemplatesignerResponse.md +++ b/docs/EzsigntemplatesignerResponse.md @@ -8,7 +8,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | **fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**b_ezsigntemplatesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatesigner_mapping** | [**FieldEEzsigntemplatesignerMapping**](FieldEEzsigntemplatesignerMapping.md) | | [optional] **s_ezsigntemplatesigner_description** | **str** | The description of the Ezsigntemplatesigner | +**s_user_name** | **str** | The description of the User in the language of the requester | [optional] +**s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | [optional] ## Example @@ -25,7 +32,7 @@ print(EzsigntemplatesignerResponse.to_json()) # convert the object into a dict ezsigntemplatesigner_response_dict = ezsigntemplatesigner_response_instance.to_dict() # create an instance of EzsigntemplatesignerResponse from a dict -ezsigntemplatesigner_response_form_dict = ezsigntemplatesigner_response.from_dict(ezsigntemplatesigner_response_dict) +ezsigntemplatesigner_response_from_dict = EzsigntemplatesignerResponse.from_dict(ezsigntemplatesigner_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntemplatesignerResponseCompound.md b/docs/EzsigntemplatesignerResponseCompound.md index aa7930fba..0686bd0e0 100644 --- a/docs/EzsigntemplatesignerResponseCompound.md +++ b/docs/EzsigntemplatesignerResponseCompound.md @@ -8,7 +8,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | **fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**b_ezsigntemplatesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatesigner_mapping** | [**FieldEEzsigntemplatesignerMapping**](FieldEEzsigntemplatesignerMapping.md) | | [optional] **s_ezsigntemplatesigner_description** | **str** | The description of the Ezsigntemplatesigner | +**s_user_name** | **str** | The description of the User in the language of the requester | [optional] +**s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | [optional] ## Example @@ -25,7 +32,7 @@ print(EzsigntemplatesignerResponseCompound.to_json()) # convert the object into a dict ezsigntemplatesigner_response_compound_dict = ezsigntemplatesigner_response_compound_instance.to_dict() # create an instance of EzsigntemplatesignerResponseCompound from a dict -ezsigntemplatesigner_response_compound_form_dict = ezsigntemplatesigner_response_compound.from_dict(ezsigntemplatesigner_response_compound_dict) +ezsigntemplatesigner_response_compound_from_dict = EzsigntemplatesignerResponseCompound.from_dict(ezsigntemplatesigner_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntsarequirementAutocompleteElementResponse.md b/docs/EzsigntsarequirementAutocompleteElementResponse.md index 53c874965..bdd7bb378 100644 --- a/docs/EzsigntsarequirementAutocompleteElementResponse.md +++ b/docs/EzsigntsarequirementAutocompleteElementResponse.md @@ -26,7 +26,7 @@ print(EzsigntsarequirementAutocompleteElementResponse.to_json()) # convert the object into a dict ezsigntsarequirement_autocomplete_element_response_dict = ezsigntsarequirement_autocomplete_element_response_instance.to_dict() # create an instance of EzsigntsarequirementAutocompleteElementResponse from a dict -ezsigntsarequirement_autocomplete_element_response_form_dict = ezsigntsarequirement_autocomplete_element_response.from_dict(ezsigntsarequirement_autocomplete_element_response_dict) +ezsigntsarequirement_autocomplete_element_response_from_dict = EzsigntsarequirementAutocompleteElementResponse.from_dict(ezsigntsarequirement_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntsarequirementGetAutocompleteV2Response.md b/docs/EzsigntsarequirementGetAutocompleteV2Response.md index ccb86da69..a5709d001 100644 --- a/docs/EzsigntsarequirementGetAutocompleteV2Response.md +++ b/docs/EzsigntsarequirementGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(EzsigntsarequirementGetAutocompleteV2Response.to_json()) # convert the object into a dict ezsigntsarequirement_get_autocomplete_v2_response_dict = ezsigntsarequirement_get_autocomplete_v2_response_instance.to_dict() # create an instance of EzsigntsarequirementGetAutocompleteV2Response from a dict -ezsigntsarequirement_get_autocomplete_v2_response_form_dict = ezsigntsarequirement_get_autocomplete_v2_response.from_dict(ezsigntsarequirement_get_autocomplete_v2_response_dict) +ezsigntsarequirement_get_autocomplete_v2_response_from_dict = EzsigntsarequirementGetAutocompleteV2Response.from_dict(ezsigntsarequirement_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsigntsarequirementGetAutocompleteV2ResponseMPayload.md b/docs/EzsigntsarequirementGetAutocompleteV2ResponseMPayload.md index a3b6df598..04b6228b3 100644 --- a/docs/EzsigntsarequirementGetAutocompleteV2ResponseMPayload.md +++ b/docs/EzsigntsarequirementGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(EzsigntsarequirementGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict ezsigntsarequirement_get_autocomplete_v2_response_m_payload_dict = ezsigntsarequirement_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of EzsigntsarequirementGetAutocompleteV2ResponseMPayload from a dict -ezsigntsarequirement_get_autocomplete_v2_response_m_payload_form_dict = ezsigntsarequirement_get_autocomplete_v2_response_m_payload.from_dict(ezsigntsarequirement_get_autocomplete_v2_response_m_payload_dict) +ezsigntsarequirement_get_autocomplete_v2_response_m_payload_from_dict = EzsigntsarequirementGetAutocompleteV2ResponseMPayload.from_dict(ezsigntsarequirement_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EzsignuserEditObjectV1Request.md b/docs/EzsignuserEditObjectV1Request.md new file mode 100644 index 000000000..53194462a --- /dev/null +++ b/docs/EzsignuserEditObjectV1Request.md @@ -0,0 +1,30 @@ +# EzsignuserEditObjectV1Request + +Request for PUT /1/object/ezsignuser/{pkiEzsignuserID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignuser** | [**EzsignuserRequestCompound**](EzsignuserRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignuser_edit_object_v1_request import EzsignuserEditObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignuserEditObjectV1Request from a JSON string +ezsignuser_edit_object_v1_request_instance = EzsignuserEditObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(EzsignuserEditObjectV1Request.to_json()) + +# convert the object into a dict +ezsignuser_edit_object_v1_request_dict = ezsignuser_edit_object_v1_request_instance.to_dict() +# create an instance of EzsignuserEditObjectV1Request from a dict +ezsignuser_edit_object_v1_request_from_dict = EzsignuserEditObjectV1Request.from_dict(ezsignuser_edit_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignuserEditObjectV1Response.md b/docs/EzsignuserEditObjectV1Response.md new file mode 100644 index 000000000..151ea4c1f --- /dev/null +++ b/docs/EzsignuserEditObjectV1Response.md @@ -0,0 +1,31 @@ +# EzsignuserEditObjectV1Response + +Response for PUT /1/object/ezsignuser/{pkiEzsignuserID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.ezsignuser_edit_object_v1_response import EzsignuserEditObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignuserEditObjectV1Response from a JSON string +ezsignuser_edit_object_v1_response_instance = EzsignuserEditObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(EzsignuserEditObjectV1Response.to_json()) + +# convert the object into a dict +ezsignuser_edit_object_v1_response_dict = ezsignuser_edit_object_v1_response_instance.to_dict() +# create an instance of EzsignuserEditObjectV1Response from a dict +ezsignuser_edit_object_v1_response_from_dict = EzsignuserEditObjectV1Response.from_dict(ezsignuser_edit_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignuserGetObjectV2Response.md b/docs/EzsignuserGetObjectV2Response.md new file mode 100644 index 000000000..598719016 --- /dev/null +++ b/docs/EzsignuserGetObjectV2Response.md @@ -0,0 +1,32 @@ +# EzsignuserGetObjectV2Response + +Response for GET /2/object/ezsignuser/{pkiEzsignuserID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignuserGetObjectV2ResponseMPayload**](EzsignuserGetObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignuser_get_object_v2_response import EzsignuserGetObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignuserGetObjectV2Response from a JSON string +ezsignuser_get_object_v2_response_instance = EzsignuserGetObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(EzsignuserGetObjectV2Response.to_json()) + +# convert the object into a dict +ezsignuser_get_object_v2_response_dict = ezsignuser_get_object_v2_response_instance.to_dict() +# create an instance of EzsignuserGetObjectV2Response from a dict +ezsignuser_get_object_v2_response_from_dict = EzsignuserGetObjectV2Response.from_dict(ezsignuser_get_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignuserGetObjectV2ResponseMPayload.md b/docs/EzsignuserGetObjectV2ResponseMPayload.md new file mode 100644 index 000000000..92dc951dd --- /dev/null +++ b/docs/EzsignuserGetObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# EzsignuserGetObjectV2ResponseMPayload + +Payload for GET /2/object/ezsignuser/{pkiEzsignuserID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_ezsignuser** | [**EzsignuserResponseCompound**](EzsignuserResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignuser_get_object_v2_response_m_payload import EzsignuserGetObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignuserGetObjectV2ResponseMPayload from a JSON string +ezsignuser_get_object_v2_response_m_payload_instance = EzsignuserGetObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(EzsignuserGetObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +ezsignuser_get_object_v2_response_m_payload_dict = ezsignuser_get_object_v2_response_m_payload_instance.to_dict() +# create an instance of EzsignuserGetObjectV2ResponseMPayload from a dict +ezsignuser_get_object_v2_response_m_payload_from_dict = EzsignuserGetObjectV2ResponseMPayload.from_dict(ezsignuser_get_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignuserRequest.md b/docs/EzsignuserRequest.md new file mode 100644 index 000000000..8e0e8b2eb --- /dev/null +++ b/docs/EzsignuserRequest.md @@ -0,0 +1,32 @@ +# EzsignuserRequest + +A Ezsignuser Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignuser_id** | **int** | The unique ID of the Ezsignuser | [optional] +**fki_contact_id** | **int** | The unique ID of the Contact | +**obj_contact** | [**ContactRequestCompoundV2**](ContactRequestCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignuser_request import EzsignuserRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignuserRequest from a JSON string +ezsignuser_request_instance = EzsignuserRequest.from_json(json) +# print the JSON string representation of the object +print(EzsignuserRequest.to_json()) + +# convert the object into a dict +ezsignuser_request_dict = ezsignuser_request_instance.to_dict() +# create an instance of EzsignuserRequest from a dict +ezsignuser_request_from_dict = EzsignuserRequest.from_dict(ezsignuser_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignuserRequestCompound.md b/docs/EzsignuserRequestCompound.md new file mode 100644 index 000000000..61a5684b8 --- /dev/null +++ b/docs/EzsignuserRequestCompound.md @@ -0,0 +1,32 @@ +# EzsignuserRequestCompound + +A Ezsignuser Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignuser_id** | **int** | The unique ID of the Ezsignuser | [optional] +**fki_contact_id** | **int** | The unique ID of the Contact | +**obj_contact** | [**ContactRequestCompoundV2**](ContactRequestCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignuser_request_compound import EzsignuserRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignuserRequestCompound from a JSON string +ezsignuser_request_compound_instance = EzsignuserRequestCompound.from_json(json) +# print the JSON string representation of the object +print(EzsignuserRequestCompound.to_json()) + +# convert the object into a dict +ezsignuser_request_compound_dict = ezsignuser_request_compound_instance.to_dict() +# create an instance of EzsignuserRequestCompound from a dict +ezsignuser_request_compound_from_dict = EzsignuserRequestCompound.from_dict(ezsignuser_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignuserResponse.md b/docs/EzsignuserResponse.md new file mode 100644 index 000000000..4df6aa579 --- /dev/null +++ b/docs/EzsignuserResponse.md @@ -0,0 +1,33 @@ +# EzsignuserResponse + +A Ezsignuser Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignuser_id** | **int** | The unique ID of the Ezsignuser | +**fki_contact_id** | **int** | The unique ID of the Contact | +**obj_contact** | [**ContactResponseCompound**](ContactResponseCompound.md) | | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignuser_response import EzsignuserResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignuserResponse from a JSON string +ezsignuser_response_instance = EzsignuserResponse.from_json(json) +# print the JSON string representation of the object +print(EzsignuserResponse.to_json()) + +# convert the object into a dict +ezsignuser_response_dict = ezsignuser_response_instance.to_dict() +# create an instance of EzsignuserResponse from a dict +ezsignuser_response_from_dict = EzsignuserResponse.from_dict(ezsignuser_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EzsignuserResponseCompound.md b/docs/EzsignuserResponseCompound.md new file mode 100644 index 000000000..d07a0cf85 --- /dev/null +++ b/docs/EzsignuserResponseCompound.md @@ -0,0 +1,33 @@ +# EzsignuserResponseCompound + +A Ezsignuser Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_ezsignuser_id** | **int** | The unique ID of the Ezsignuser | +**fki_contact_id** | **int** | The unique ID of the Contact | +**obj_contact** | [**ContactResponseCompound**](ContactResponseCompound.md) | | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignuser_response_compound import EzsignuserResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignuserResponseCompound from a JSON string +ezsignuser_response_compound_instance = EzsignuserResponseCompound.from_json(json) +# print the JSON string representation of the object +print(EzsignuserResponseCompound.to_json()) + +# convert the object into a dict +ezsignuser_response_compound_dict = ezsignuser_response_compound_instance.to_dict() +# create an instance of EzsignuserResponseCompound from a dict +ezsignuser_response_compound_from_dict = EzsignuserResponseCompound.from_dict(ezsignuser_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEActivesessionEzsign.md b/docs/FieldEActivesessionEzsign.md new file mode 100644 index 000000000..481201733 --- /dev/null +++ b/docs/FieldEActivesessionEzsign.md @@ -0,0 +1,17 @@ +# FieldEActivesessionEzsign + +Clone rights for eZsign folders. + +## Enum + +* `NO` (value: `'No'`) + +* `READ` (value: `'Read'`) + +* `MODIFY` (value: `'Modify'`) + +* `FULL` (value: `'Full'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEActivesessionEzsignaccess.md b/docs/FieldEActivesessionEzsignaccess.md new file mode 100644 index 000000000..a18a84d5e --- /dev/null +++ b/docs/FieldEActivesessionEzsignaccess.md @@ -0,0 +1,17 @@ +# FieldEActivesessionEzsignaccess + +Whether the user is subscribed to eZsign and who pays for the subscription + +## Enum + +* `NO` (value: `'No'`) + +* `PAIDBYOFFICE` (value: `'PaidByOffice'`) + +* `PERDOCUMENT` (value: `'PerDocument'`) + +* `PREPAID` (value: `'Prepaid'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEActivesessionEzsignprepaid.md b/docs/FieldEActivesessionEzsignprepaid.md new file mode 100644 index 000000000..0922fde7b --- /dev/null +++ b/docs/FieldEActivesessionEzsignprepaid.md @@ -0,0 +1,17 @@ +# FieldEActivesessionEzsignprepaid + +eZsign subscription level + +## Enum + +* `NO` (value: `'No'`) + +* `BASIC` (value: `'Basic'`) + +* `STANDARD` (value: `'Standard'`) + +* `PRO` (value: `'Pro'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEActivesessionOrigin.md b/docs/FieldEActivesessionOrigin.md index 7154733ab..c9a95574d 100644 --- a/docs/FieldEActivesessionOrigin.md +++ b/docs/FieldEActivesessionOrigin.md @@ -2,10 +2,11 @@ The Origin of User for the Activesession -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `BUILTIN` (value: `'BuiltIn'`) + +* `EXTERNAL` (value: `'External'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEActivesessionRealestateinprogress.md b/docs/FieldEActivesessionRealestateinprogress.md new file mode 100644 index 000000000..188f58da7 --- /dev/null +++ b/docs/FieldEActivesessionRealestateinprogress.md @@ -0,0 +1,17 @@ +# FieldEActivesessionRealestateinprogress + +Clone rights for active real estate folders + +## Enum + +* `NO` (value: `'No'`) + +* `READ` (value: `'Read'`) + +* `MODIFY` (value: `'Modify'`) + +* `CREATE` (value: `'Create'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEActivesessionUsertype.md b/docs/FieldEActivesessionUsertype.md index aa1aa604b..c6b46cea3 100644 --- a/docs/FieldEActivesessionUsertype.md +++ b/docs/FieldEActivesessionUsertype.md @@ -2,10 +2,17 @@ The Type of User for the Activesession -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `AGENTBROKER` (value: `'AgentBroker'`) + +* `ASSISTANT` (value: `'Assistant'`) + +* `EZSIGNSIGNER` (value: `'EzsignSigner'`) + +* `EZSIGNUSER` (value: `'EzsignUser'`) + +* `NORMAL` (value: `'Normal'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEActivesessionWeekdaystart.md b/docs/FieldEActivesessionWeekdaystart.md index 6fe7d5267..1835a48f5 100644 --- a/docs/FieldEActivesessionWeekdaystart.md +++ b/docs/FieldEActivesessionWeekdaystart.md @@ -2,10 +2,21 @@ The weekday start of the User. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `SUNDAY` (value: `'Sunday'`) + +* `MONDAY` (value: `'Monday'`) + +* `TUESDAY` (value: `'Tuesday'`) + +* `WEDNESDAY` (value: `'Wednesday'`) + +* `THURSDAY` (value: `'Thursday'`) + +* `FRIDAY` (value: `'Friday'`) + +* `SATURDAY` (value: `'Saturday'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEAttachmentDocumenttype.md b/docs/FieldEAttachmentDocumenttype.md index ff0759385..f5b49f7cf 100644 --- a/docs/FieldEAttachmentDocumenttype.md +++ b/docs/FieldEAttachmentDocumenttype.md @@ -2,10 +2,105 @@ The documenttype of the Attachment -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ADJUSTMENT` (value: `'Adjustment'`) + +* `AGENT` (value: `'Agent'`) + +* `BANKACCOUNT` (value: `'Bankaccount'`) + +* `BROKER` (value: `'Broker'`) + +* `BUYERCONTRACT` (value: `'Buyercontract'`) + +* `COMMISSIONADVANCE` (value: `'Commissionadvance'`) + +* `COMMUNICATION` (value: `'Communication'`) + +* `CUSTOMER` (value: `'Customer'`) + +* `CUSTOMERTEMPLATE` (value: `'Customertemplate'`) + +* `DEPOSIT` (value: `'Deposit'`) + +* `DEPOSITTRANSITCHEQUE` (value: `'Deposittransitcheque'`) + +* `DISCLOSURE` (value: `'Disclosure'`) + +* `ELECTRONICFUNDSTRANSFER` (value: `'Electronicfundstransfer'`) + +* `EMPLOYEE` (value: `'Employee'`) + +* `EXTERNALBROKER` (value: `'Externalbroker'`) + +* `EZCOMADVANCESERVER` (value: `'Ezcomadvanceserver'`) + +* `EZCOMCOMPANY` (value: `'Ezcomcompany'`) + +* `EZSIGNDOCUMENT` (value: `'Ezsigndocument'`) + +* `EZSIGNDOCUMENTPROOF` (value: `'EzsigndocumentProof'`) + +* `EZSIGNDOCUMENTPROOFDOCUMENT` (value: `'EzsigndocumentProofdocument'`) + +* `EZSIGNDOCUMENTGROUP` (value: `'Ezsigndocumentgroup'`) + +* `EZSIGNDOCUMENTGROUPPROOF` (value: `'EzsigndocumentgroupProof'`) + +* `EZSIGNDOCUMENTGROUPPROOFDOCUMENT` (value: `'EzsigndocumentgroupProofdocument'`) + +* `EZSIGNDOCUMENTATTACHMENT` (value: `'EzsigndocumentAttachment'`) + +* `FOLDER` (value: `'Folder'`) + +* `FRANCHISEAGENCE` (value: `'Franchiseagence'`) + +* `FRANCHISEBROKER` (value: `'Franchisebroker'`) + +* `FRANCHISECOMPLAINT` (value: `'Franchisecomplaint'`) + +* `FRANCHISEFRANCHISE` (value: `'Franchisefranchise'`) + +* `FRANCHISEOFFICE` (value: `'Franchiseoffice'`) + +* `GHACQCONTRACT` (value: `'Ghacqcontract'`) + +* `INSCRIPTION` (value: `'Inscription'`) + +* `INSCRIPTIONNOTAUTHENTICATED` (value: `'Inscriptionnotauthenticated'`) + +* `INSCRIPTIONTEMP` (value: `'Inscriptiontemp'`) + +* `INVOICE` (value: `'Invoice'`) + +* `LEAD` (value: `'Lead'`) + +* `MARKETINGFOLLOW` (value: `'Marketingfollow'`) + +* `MARKETINGPROGRAM` (value: `'Marketingprogram'`) + +* `NOTARY` (value: `'Notary'`) + +* `OFFICETAXREPORT` (value: `'Officetaxreport'`) + +* `OTHERINCOME` (value: `'Otherincome'`) + +* `PAYMENTPREPARATION` (value: `'Paymentpreparation'`) + +* `PURCHASE` (value: `'Purchase'`) + +* `RECONCILIATION` (value: `'Reconciliation'`) + +* `REJECTEDOFFERTOPURCHASE` (value: `'Rejectedoffertopurchase'`) + +* `SALARY` (value: `'Salary'`) + +* `SUPPLIER` (value: `'Supplier'`) + +* `TEMPLATE` (value: `'Template'`) + +* `TRANQCONTRACT` (value: `'Tranqcontract'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEAttachmentPrivacy.md b/docs/FieldEAttachmentPrivacy.md index d3e62c6c8..02bfa2622 100644 --- a/docs/FieldEAttachmentPrivacy.md +++ b/docs/FieldEAttachmentPrivacy.md @@ -2,10 +2,19 @@ The privacy of the Attachment -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ALL` (value: `'All'`) + +* `INSCRIPTOR` (value: `'Inscriptor'`) + +* `SELLER` (value: `'Seller'`) + +* `ADMINISTRATION` (value: `'Administration'`) + +* `CREATOR` (value: `'Creator'`) + +* `SPECIFICUSER` (value: `'Specificuser'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEAttachmentType.md b/docs/FieldEAttachmentType.md index ad6a66f42..feaf80186 100644 --- a/docs/FieldEAttachmentType.md +++ b/docs/FieldEAttachmentType.md @@ -2,10 +2,17 @@ The type of the Attachment -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `OTHER` (value: `'Other'`) + +* `PDF` (value: `'Pdf'`) + +* `PDFGENERATED` (value: `'PdfGenerated'`) + +* `PDFSCANNED` (value: `'PdfScanned'`) + +* `EZSIGN` (value: `'Ezsign'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEAttachmentVerified.md b/docs/FieldEAttachmentVerified.md index 441194deb..653a530a2 100644 --- a/docs/FieldEAttachmentVerified.md +++ b/docs/FieldEAttachmentVerified.md @@ -2,10 +2,13 @@ The verified of the Attachment -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NO` (value: `'No'`) + +* `YES` (value: `'Yes'`) + +* `REJECTED` (value: `'Rejected'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEAttachmentlogType.md b/docs/FieldEAttachmentlogType.md index 0d5dfbd96..0ca9ac23e 100644 --- a/docs/FieldEAttachmentlogType.md +++ b/docs/FieldEAttachmentlogType.md @@ -2,10 +2,65 @@ The Type for the Attachmentlog -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `AUTOVALIDATION` (value: `'AutoValidation'`) + +* `COPYFROM` (value: `'CopyFrom'`) + +* `COPYTO` (value: `'CopyTo'`) + +* `COPYTOEZSIGN` (value: `'CopyToEzsign'`) + +* `CREATEBYEZSIGN` (value: `'CreateByEzsign'`) + +* `DOWNLOAD` (value: `'Download'`) + +* `DELETED` (value: `'Deleted'`) + +* `DESTROYED` (value: `'Destroyed'`) + +* `EMAIL` (value: `'Email'`) + +* `EMAILCC` (value: `'EmailCC'`) + +* `EMAILCCI` (value: `'EmailCCI'`) + +* `FAX` (value: `'Fax'`) + +* `IMPORTEDFROMEXTERNALSYSTEM` (value: `'ImportedFromExternalSystem'`) + +* `IMPORTEDFROMEZA` (value: `'ImportedFromEZA'`) + +* `IMPORTEDFROMFALTOUR` (value: `'ImportedFromFaltour'`) + +* `IMPORTEDFROMLONEWOLF` (value: `'ImportedFromLonewolf'`) + +* `IMPORTEDFROMPROSPECTS` (value: `'ImportedFromProspects'`) + +* `MOVE` (value: `'Move'`) + +* `OPENFROMEMAIL` (value: `'OpenFromEmail'`) + +* `PURGED` (value: `'Purged'`) + +* `REJECT` (value: `'Reject'`) + +* `RENAME` (value: `'Rename'`) + +* `RESTORE` (value: `'Restore'`) + +* `SCANNED` (value: `'Scanned'`) + +* `SENDTOGED` (value: `'SendToGED'`) + +* `UNVALIDATEDBY` (value: `'UnvalidatedBy'`) + +* `UPLOAD` (value: `'Upload'`) + +* `VALIDATEDBY` (value: `'ValidatedBy'`) + +* `VETINFOUPLOAD` (value: `'VetinfoUpload'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEAuthenticationexternalType.md b/docs/FieldEAuthenticationexternalType.md new file mode 100644 index 000000000..1bc75d2a4 --- /dev/null +++ b/docs/FieldEAuthenticationexternalType.md @@ -0,0 +1,13 @@ +# FieldEAuthenticationexternalType + +The type of the Authenticationexternal + +## Enum + +* `SALESFORCE` (value: `'Salesforce'`) + +* `SALESFORCESANDBOX` (value: `'SalesforceSandbox'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEBrandingAlignlogo.md b/docs/FieldEBrandingAlignlogo.md new file mode 100644 index 000000000..c9c06e210 --- /dev/null +++ b/docs/FieldEBrandingAlignlogo.md @@ -0,0 +1,15 @@ +# FieldEBrandingAlignlogo + +Alignment of logo for the Branding. + +## Enum + +* `CENTER` (value: `'Center'`) + +* `LEFT` (value: `'Left'`) + +* `RIGHT` (value: `'Right'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEBrandingLogo.md b/docs/FieldEBrandingLogo.md index 83a892a12..655d8773e 100644 --- a/docs/FieldEBrandingLogo.md +++ b/docs/FieldEBrandingLogo.md @@ -2,10 +2,13 @@ The logo for the Branding. Select the value 'Default' if you want to use the default logo and delete the custom one if you used one -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `DEFAULT` (value: `'Default'`) + +* `JPEG` (value: `'JPEG'`) + +* `PNG` (value: `'PNG'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEBrandingLogointerface.md b/docs/FieldEBrandingLogointerface.md deleted file mode 100644 index 8e77f5b49..000000000 --- a/docs/FieldEBrandingLogointerface.md +++ /dev/null @@ -1,12 +0,0 @@ -# FieldEBrandingLogointerface - -The logo for the Branding. Select the value 'Default' if you want to use the default logo and delete the custom one if you used one - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/FieldEColleagueEzsign.md b/docs/FieldEColleagueEzsign.md new file mode 100644 index 000000000..1f001a685 --- /dev/null +++ b/docs/FieldEColleagueEzsign.md @@ -0,0 +1,17 @@ +# FieldEColleagueEzsign + +The permission of the cloning user for Ezsign + +## Enum + +* `NO` (value: `'No'`) + +* `READ` (value: `'Read'`) + +* `MODIFY` (value: `'Modify'`) + +* `FULL` (value: `'Full'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEColleagueRealestateinprogess.md b/docs/FieldEColleagueRealestateinprogess.md new file mode 100644 index 000000000..00bfd1013 --- /dev/null +++ b/docs/FieldEColleagueRealestateinprogess.md @@ -0,0 +1,17 @@ +# FieldEColleagueRealestateinprogess + +The permission of the cloning user for Realestate + +## Enum + +* `NO` (value: `'No'`) + +* `READ` (value: `'Read'`) + +* `MODIFY` (value: `'Modify'`) + +* `CREATE` (value: `'Create'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldECommunicationImportance.md b/docs/FieldECommunicationImportance.md index b83d0c7f3..b3146f4b1 100644 --- a/docs/FieldECommunicationImportance.md +++ b/docs/FieldECommunicationImportance.md @@ -2,10 +2,13 @@ The importance of the Communication -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `HIGH` (value: `'High'`) + +* `NORMAL` (value: `'Normal'`) + +* `LOW` (value: `'Low'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldECommunicationType.md b/docs/FieldECommunicationType.md index 249b0b57a..dd513d3da 100644 --- a/docs/FieldECommunicationType.md +++ b/docs/FieldECommunicationType.md @@ -2,10 +2,13 @@ The type of the Communication -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `EMAIL` (value: `'Email'`) + +* `FAX` (value: `'Fax'`) + +* `SMS` (value: `'Sms'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldECommunicationexternalrecipientType.md b/docs/FieldECommunicationexternalrecipientType.md index 85afffcab..74e162c99 100644 --- a/docs/FieldECommunicationexternalrecipientType.md +++ b/docs/FieldECommunicationexternalrecipientType.md @@ -2,10 +2,13 @@ The type of Communicationexternalrecipient. Only used when eCommunicationType is **Email** -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `TO` (value: `'To'`) + +* `CC` (value: `'Cc'`) + +* `BCC` (value: `'Bcc'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldECommunicationrecipientType.md b/docs/FieldECommunicationrecipientType.md index 001ec7f18..83f163821 100644 --- a/docs/FieldECommunicationrecipientType.md +++ b/docs/FieldECommunicationrecipientType.md @@ -2,10 +2,13 @@ The type for the Communicationrecipient. Only used when eCommunicationType is **Email** -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `TO` (value: `'To'`) + +* `CC` (value: `'Cc'`) + +* `BCC` (value: `'Bcc'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEContactType.md b/docs/FieldEContactType.md new file mode 100644 index 000000000..aaffa4d13 --- /dev/null +++ b/docs/FieldEContactType.md @@ -0,0 +1,81 @@ +# FieldEContactType + +The type of the Contact + +## Enum + +* `AGENT` (value: `'Agent'`) + +* `ASSISTANT` (value: `'Assistant'`) + +* `BANKACCOUNT` (value: `'BankAccount'`) + +* `BORROWER` (value: `'Borrower'`) + +* `BUYER` (value: `'Buyer'`) + +* `COMPANY` (value: `'Company'`) + +* `CONTRACTCREATOR` (value: `'ContractCreator'`) + +* `CREDITCARDMERCHANT` (value: `'Creditcardmerchant'`) + +* `CUSTOMER` (value: `'Customer'`) + +* `DEPOSITRECEIPT` (value: `'Depositreceipt'`) + +* `EMPLOYEE` (value: `'Employee'`) + +* `EXTERNALBROKER` (value: `'ExternalBroker'`) + +* `EZSIGNSIGNER` (value: `'EzsignSigner'`) + +* `EZSIGNUSER` (value: `'EzsignUser'`) + +* `EZCOMAGENT` (value: `'EzcomAgent'`) + +* `EZCOMAPPROVER` (value: `'EzcomApprover'`) + +* `FINANCIALINSTITUTION` (value: `'FinancialInstitution'`) + +* `FRANCHISEBROKER` (value: `'FranchiseBroker'`) + +* `FRANCHISEFRANCHISECONTACT` (value: `'Franchisefranchisecontact'`) + +* `FRANCHISEFRANCHISESIGNATORY` (value: `'Franchisefranchisesignatory'`) + +* `FRANCHISEOFFICEBROKER` (value: `'FranchiseOfficeBroker'`) + +* `FRANCHISECOMPANY` (value: `'FranchiseCompany'`) + +* `FRANCHISEOWNER` (value: `'FranchiseOwner'`) + +* `LEAD` (value: `'Lead'`) + +* `MARKETINGCAMPAIGNSAMPLE` (value: `'MarketingCampaignSample'`) + +* `NOTARY` (value: `'Notary'`) + +* `PAYER` (value: `'Payer'`) + +* `PETOWNER` (value: `'Petowner'`) + +* `PRIVATETO` (value: `'PrivateTo'`) + +* `REWARDMEMBER` (value: `'RewardMember'`) + +* `REWARDREPRESENTATIVE` (value: `'RewardRepresentative'`) + +* `SELLER` (value: `'Seller'`) + +* `SHARED` (value: `'Shared'`) + +* `SUPPLIER` (value: `'Supplier'`) + +* `SURVEY` (value: `'Survey'`) + +* `INSPECTOR` (value: `'Inspector'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEContactinformationsType.md b/docs/FieldEContactinformationsType.md new file mode 100644 index 000000000..99bacc7be --- /dev/null +++ b/docs/FieldEContactinformationsType.md @@ -0,0 +1,31 @@ +# FieldEContactinformationsType + +The type of the Contactinformations + +## Enum + +* `BANKACCOUNT` (value: `'BankAccount'`) + +* `CONTACTOBJECT` (value: `'ContactObject'`) + +* `CREDITCARD` (value: `'CreditCard'`) + +* `CUSTOMER` (value: `'Customer'`) + +* `EXTERNALBROKER` (value: `'ExternalBroker'`) + +* `EXTERNALBROKERFIRM` (value: `'ExternalBrokerFirm'`) + +* `EZCOMCOMPANY` (value: `'EzcomCompany'`) + +* `FINANCIALINSTITUTION` (value: `'FinancialInstitution'`) + +* `FRANCHISECOMPANY` (value: `'FranchiseCompany'`) + +* `FRANCHISEOFFICE` (value: `'FranchiseOffice'`) + +* `SUPPLIER` (value: `'Supplier'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldECreditcardtransactionAvsresult.md b/docs/FieldECreditcardtransactionAvsresult.md new file mode 100644 index 000000000..b1d9f21a3 --- /dev/null +++ b/docs/FieldECreditcardtransactionAvsresult.md @@ -0,0 +1,19 @@ +# FieldECreditcardtransactionAvsresult + +The result for the address validation + +## Enum + +* `MATCH` (value: `'Match'`) + +* `NOMATCH` (value: `'NoMatch'`) + +* `PARTIALMATCH` (value: `'PartialMatch'`) + +* `NOTIMPLEMENTED` (value: `'NotImplemented'`) + +* `NOTVERIFIED` (value: `'NotVerified'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldECreditcardtransactionCvdresult.md b/docs/FieldECreditcardtransactionCvdresult.md new file mode 100644 index 000000000..7311ab02b --- /dev/null +++ b/docs/FieldECreditcardtransactionCvdresult.md @@ -0,0 +1,15 @@ +# FieldECreditcardtransactionCvdresult + +The result for the cvd validation + +## Enum + +* `MATCH` (value: `'Match'`) + +* `NOMATCH` (value: `'NoMatch'`) + +* `NOTVERIFIED` (value: `'NotVerified'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldECreditcardtypeCodename.md b/docs/FieldECreditcardtypeCodename.md index a6cebde8c..f797d999d 100644 --- a/docs/FieldECreditcardtypeCodename.md +++ b/docs/FieldECreditcardtypeCodename.md @@ -2,10 +2,13 @@ The codename of the Creditcardtype -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `AMEX` (value: `'Amex'`) + +* `MASTERCARD` (value: `'Mastercard'`) + +* `VISA` (value: `'Visa'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldECustomerMarketingcorrespondence.md b/docs/FieldECustomerMarketingcorrespondence.md new file mode 100644 index 000000000..396f2d21b --- /dev/null +++ b/docs/FieldECustomerMarketingcorrespondence.md @@ -0,0 +1,17 @@ +# FieldECustomerMarketingcorrespondence + +The marketingcorrespondence of the Customer + +## Enum + +* `NO` (value: `'No'`) + +* `EMAIL` (value: `'Email'`) + +* `MAIL` (value: `'Mail'`) + +* `ANY` (value: `'Any'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldECustomerType.md b/docs/FieldECustomerType.md new file mode 100644 index 000000000..c6b5753e5 --- /dev/null +++ b/docs/FieldECustomerType.md @@ -0,0 +1,19 @@ +# FieldECustomerType + +The type of the Customer + +## Enum + +* `NORMAL` (value: `'Normal'`) + +* `VETRX_MINUS_SERVER` (value: `'Vetrx-Server'`) + +* `REWARD_MINUS_ADMINISTRATION` (value: `'Reward-Administration'`) + +* `REWARD_MINUS_REPRESENTATIVE` (value: `'Reward-Representative'`) + +* `REWARD_MINUS_SERVER` (value: `'Reward-Server'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEDiscussionmessageStatus.md b/docs/FieldEDiscussionmessageStatus.md index bf3f48155..d086ace89 100644 --- a/docs/FieldEDiscussionmessageStatus.md +++ b/docs/FieldEDiscussionmessageStatus.md @@ -2,10 +2,13 @@ The status of the Discussionmessage -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NEW` (value: `'New'`) + +* `EDITED` (value: `'Edited'`) + +* `DELETED` (value: `'Deleted'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEErrorCode.md b/docs/FieldEErrorCode.md index af160e1e1..9b84ff8e4 100644 --- a/docs/FieldEErrorCode.md +++ b/docs/FieldEErrorCode.md @@ -2,10 +2,107 @@ The error code. See documentation for valid values -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `BADREQUEST` (value: `'BADREQUEST'`) + +* `BADREQUEST_CLOCKSKEW` (value: `'BADREQUEST_CLOCKSKEW'`) + +* `UNAUTHORIZED_BADAUTH` (value: `'UNAUTHORIZED_BADAUTH'`) + +* `UNAUTHORIZED_BADMFA` (value: `'UNAUTHORIZED_BADMFA'`) + +* `UNAUTHORIZED_EXPIRED` (value: `'UNAUTHORIZED_EXPIRED'`) + +* `UNAUTHORIZED_REQUEST` (value: `'UNAUTHORIZED_REQUEST'`) + +* `FORBIDDEN` (value: `'FORBIDDEN'`) + +* `FORBIDDEN_CONFIGURATION` (value: `'FORBIDDEN_CONFIGURATION'`) + +* `FORBIDDEN_MODULE` (value: `'FORBIDDEN_MODULE'`) + +* `FORBIDDEN_NOACCESS` (value: `'FORBIDDEN_NOACCESS'`) + +* `FORBIDDEN_PERMISSION` (value: `'FORBIDDEN_PERMISSION'`) + +* `FORBIDDEN_SUBSCRIPTION` (value: `'FORBIDDEN_SUBSCRIPTION'`) + +* `FORBIDDEN_USERTYPE` (value: `'FORBIDDEN_USERTYPE'`) + +* `FORBIDDEN_USER_ORIGIN_EXTERNAL` (value: `'FORBIDDEN_USER_ORIGIN_EXTERNAL'`) + +* `NOTFOUND` (value: `'NOTFOUND'`) + +* `NOTFOUND_OBJECT` (value: `'NOTFOUND_OBJECT'`) + +* `NOTFOUND_ROUTE` (value: `'NOTFOUND_ROUTE'`) + +* `METHODNOTALLOWED` (value: `'METHODNOTALLOWED'`) + +* `NOTACCEPTABLE_CONTENT` (value: `'NOTACCEPTABLE_CONTENT'`) + +* `NOTACCEPTABLE_LANGUAGE` (value: `'NOTACCEPTABLE_LANGUAGE'`) + +* `UNPROCESSABLEENTITY_ACTIVESESSION_ALREADY_CLONING` (value: `'UNPROCESSABLEENTITY_ACTIVESESSION_ALREADY_CLONING'`) + +* `UNPROCESSABLEENTITY_CANNOTDELETE` (value: `'UNPROCESSABLEENTITY_CANNOTDELETE'`) + +* `UNPROCESSABLEENTITY_CANNOTMODIFY` (value: `'UNPROCESSABLEENTITY_CANNOTMODIFY'`) + +* `UNPROCESSABLEENTITY_CHANGEPASSWORD_INVALID_CURRENT` (value: `'UNPROCESSABLEENTITY_CHANGEPASSWORD_INVALID_CURRENT'`) + +* `UNPROCESSABLEENTITY_CHANGEPASSWORD_SAME` (value: `'UNPROCESSABLEENTITY_CHANGEPASSWORD_SAME'`) + +* `UNPROCESSABLEENTITY_DATA_MISSING` (value: `'UNPROCESSABLEENTITY_DATA_MISSING'`) + +* `UNPROCESSABLEENTITY_DATA_UNIQUE` (value: `'UNPROCESSABLEENTITY_DATA_UNIQUE'`) + +* `UNPROCESSABLEENTITY_DATA_VALIDATION` (value: `'UNPROCESSABLEENTITY_DATA_VALIDATION'`) + +* `UNPROCESSABLEENTITY_DATA_OUTOFBOUND` (value: `'UNPROCESSABLEENTITY_DATA_OUTOFBOUND'`) + +* `UNPROCESSABLEENTITY_DOWNLOAD_ERROR` (value: `'UNPROCESSABLEENTITY_DOWNLOAD_ERROR'`) + +* `UNPROCESSABLEENTITY_EZSIGNFORM_VALIDATION` (value: `'UNPROCESSABLEENTITY_EZSIGNFORM_VALIDATION'`) + +* `UNPROCESSABLEENTITY_EZSIGNSIGNERCONNECTED` (value: `'UNPROCESSABLEENTITY_EZSIGNSIGNERCONNECTED'`) + +* `UNPROCESSABLEENTITY_NOTHINGTODO` (value: `'UNPROCESSABLEENTITY_NOTHINGTODO'`) + +* `UNPROCESSABLEENTITY_NOTREADY` (value: `'UNPROCESSABLEENTITY_NOTREADY'`) + +* `UNPROCESSABLEENTITY_PDF_FORM` (value: `'UNPROCESSABLEENTITY_PDF_FORM'`) + +* `UNPROCESSABLEENTITY_PDF_SIGNATURE` (value: `'UNPROCESSABLEENTITY_PDF_SIGNATURE'`) + +* `UNPROCESSABLEENTITY_PDF_FORM_AND_SIGNATURE` (value: `'UNPROCESSABLEENTITY_PDF_FORM_AND_SIGNATURE'`) + +* `UNPROCESSABLEENTITY_PDF_INCOMPATIBLE` (value: `'UNPROCESSABLEENTITY_PDF_INCOMPATIBLE'`) + +* `UNPROCESSABLEENTITY_PDF_PASSWORD` (value: `'UNPROCESSABLEENTITY_PDF_PASSWORD'`) + +* `UNPROCESSABLEENTITY_PDF_WRONG_PASSWORD` (value: `'UNPROCESSABLEENTITY_PDF_WRONG_PASSWORD'`) + +* `UNPROCESSABLEENTITY_PDF_REPAIRABLE` (value: `'UNPROCESSABLEENTITY_PDF_REPAIRABLE'`) + +* `UNPROCESSABLEENTITY_PDF_XFA` (value: `'UNPROCESSABLEENTITY_PDF_XFA'`) + +* `UNPROCESSABLEENTITY_TEMPLATE_MISMATCH` (value: `'UNPROCESSABLEENTITY_TEMPLATE_MISMATCH'`) + +* `UNPROCESSABLEENTITY_UNMODIFIABLE_FIELD` (value: `'UNPROCESSABLEENTITY_UNMODIFIABLE_FIELD'`) + +* `UNPROCESSABLEENTITY_USER_STAGED` (value: `'UNPROCESSABLEENTITY_USER_STAGED'`) + +* `TOOMANYREQUESTS` (value: `'TOOMANYREQUESTS'`) + +* `TOOMANYREQUESTS_THIRDPARTY` (value: `'TOOMANYREQUESTS_THIRDPARTY'`) + +* `ERROR_INTERNAL` (value: `'ERROR_INTERNAL'`) + +* `ERROR_CONFIGURATION` (value: `'ERROR_CONFIGURATION'`) + +* `ERROR_NOTIMPLEMENTED` (value: `'ERROR_NOTIMPLEMENTED'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzdoctemplatedocumentPrivacylevel.md b/docs/FieldEEzdoctemplatedocumentPrivacylevel.md new file mode 100644 index 000000000..03954b748 --- /dev/null +++ b/docs/FieldEEzdoctemplatedocumentPrivacylevel.md @@ -0,0 +1,15 @@ +# FieldEEzdoctemplatedocumentPrivacylevel + +The Privacy level of the Ezdoctemplatedocument. * **User** is for personal templates use and cannot be shared * **Ezsignfoldertype** and **Company** is for shared template + +## Enum + +* `COMPANY` (value: `'Company'`) + +* `EZSIGNFOLDERTYPE` (value: `'Ezsignfoldertype'`) + +* `USER` (value: `'User'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzmaxinvoicingPaymenttype.md b/docs/FieldEEzmaxinvoicingPaymenttype.md index 10a1768a3..6f73e6350 100644 --- a/docs/FieldEEzmaxinvoicingPaymenttype.md +++ b/docs/FieldEEzmaxinvoicingPaymenttype.md @@ -2,10 +2,13 @@ The Ezmaxinvoicing payment type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `CHEQUE` (value: `'Cheque'`) + +* `CREDITCARD` (value: `'CreditCard'`) + +* `DIRECTDEBIT` (value: `'DirectDebit'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzmaxinvoicingagentVariationezmax.md b/docs/FieldEEzmaxinvoicingagentVariationezmax.md index e2db2ec2a..bbccefaa0 100644 --- a/docs/FieldEEzmaxinvoicingagentVariationezmax.md +++ b/docs/FieldEEzmaxinvoicingagentVariationezmax.md @@ -2,10 +2,13 @@ Variation type for eZmax -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `CHARGE` (value: `'Charge'`) + +* `REFUND` (value: `'Refund'`) + +* `SAME` (value: `'Same'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzmaxinvoicingagentVariationezsign.md b/docs/FieldEEzmaxinvoicingagentVariationezsign.md index e3ad6d846..00ba2c69c 100644 --- a/docs/FieldEEzmaxinvoicingagentVariationezsign.md +++ b/docs/FieldEEzmaxinvoicingagentVariationezsign.md @@ -2,10 +2,13 @@ Variation type for eZsign -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `CHARGE` (value: `'Charge'`) + +* `REFUND` (value: `'Refund'`) + +* `SAME` (value: `'Same'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzmaxinvoicingcontractPaymenttype.md b/docs/FieldEEzmaxinvoicingcontractPaymenttype.md index 0e3e037e4..a26e7f6d9 100644 --- a/docs/FieldEEzmaxinvoicingcontractPaymenttype.md +++ b/docs/FieldEEzmaxinvoicingcontractPaymenttype.md @@ -2,10 +2,13 @@ The Ezmaxinvoicingcontract payment type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `CHEQUE` (value: `'Cheque'`) + +* `CREDITCARD` (value: `'CreditCard'`) + +* `DIRECTDEBIT` (value: `'DirectDebit'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzmaxinvoicinguserVariationezsign.md b/docs/FieldEEzmaxinvoicinguserVariationezsign.md index 5edd851e3..fb9676a22 100644 --- a/docs/FieldEEzmaxinvoicinguserVariationezsign.md +++ b/docs/FieldEEzmaxinvoicinguserVariationezsign.md @@ -2,10 +2,13 @@ The variation type for eZsign -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `CHARGE` (value: `'Charge'`) + +* `REFUND` (value: `'Refund'`) + +* `SAME` (value: `'Same'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignannotationType.md b/docs/FieldEEzsignannotationType.md index 1eea8df69..51214cd92 100644 --- a/docs/FieldEEzsignannotationType.md +++ b/docs/FieldEEzsignannotationType.md @@ -2,10 +2,13 @@ The type of the Ezsignannotation. 1. **StrikethroughBlock** is a box with hatching. 2. **StrikethroughLine** is a red line to cross words. 3. **Text** is a simple Text. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `STRIKETHROUGHBLOCK` (value: `'StrikethroughBlock'`) + +* `STRIKETHROUGHLINE` (value: `'StrikethroughLine'`) + +* `TEXT` (value: `'Text'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigndocumentStep.md b/docs/FieldEEzsigndocumentStep.md index 586c3c059..d7fc5c493 100644 --- a/docs/FieldEEzsigndocumentStep.md +++ b/docs/FieldEEzsigndocumentStep.md @@ -2,10 +2,23 @@ The signature step of the Ezsigndocument. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `UNSENT` (value: `'Unsent'`) + +* `UNSIGNED` (value: `'Unsigned'`) + +* `PARTIALLYSIGNED` (value: `'PartiallySigned'`) + +* `DECLINEDTOSIGN` (value: `'DeclinedToSign'`) + +* `PREMATURELYENDED` (value: `'PrematurelyEnded'`) + +* `PENDINGCOMPLETION` (value: `'PendingCompletion'`) + +* `COMPLETED` (value: `'Completed'`) + +* `DISPOSED` (value: `'Disposed'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigndocumentlogType.md b/docs/FieldEEzsigndocumentlogType.md index d2e9f4128..b76f3a6ea 100644 --- a/docs/FieldEEzsigndocumentlogType.md +++ b/docs/FieldEEzsigndocumentlogType.md @@ -2,10 +2,75 @@ The Ezsigndocumentlog Type. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `CLONE` (value: `'Clone'`) + +* `LOGIN` (value: `'Login'`) + +* `SENDCODE` (value: `'Sendcode'`) + +* `BADCODE` (value: `'Badcode'`) + +* `GOODCODE` (value: `'Goodcode'`) + +* `BADRESPONSE` (value: `'Badresponse'`) + +* `GOODRESPONSE` (value: `'Goodresponse'`) + +* `AUTHENTICATION` (value: `'Authentication'`) + +* `CREATEPAGE` (value: `'Createpage'`) + +* `DOWNLOAD` (value: `'Download'`) + +* `SEND` (value: `'Send'`) + +* `SIGN` (value: `'Sign'`) + +* `UPLOAD` (value: `'Upload'`) + +* `VIEW` (value: `'View'`) + +* `COMPLETION` (value: `'Completion'`) + +* `CHANGELIMITDATE` (value: `'Changelimitdate'`) + +* `UNSIGN` (value: `'Unsign'`) + +* `IMPORTFROMINSTANET` (value: `'ImportFromInstanet'`) + +* `CREATEDFROMEZSIGNTEMPLATEPUBLIC` (value: `'CreatedFromEzsigntemplatepublic'`) + +* `SENDEMAIL` (value: `'SendEmail'`) + +* `FORMCOMPLETION` (value: `'FormCompletion'`) + +* `FORMSAVEASDRAFT` (value: `'FormSaveAsDraft'`) + +* `SIGNATUREATTACHMENTADD` (value: `'SignatureAttachmentAdd'`) + +* `SIGNATUREATTACHMENTVALIDATION` (value: `'SignatureAttachmentValidation'`) + +* `SIGNATUREATTACHMENTREFUSED` (value: `'SignatureAttachmentRefused'`) + +* `SIGNATUREATTACHMENTDELETED` (value: `'SignatureAttachmentDeleted'`) + +* `DECLINEDTOSIGN` (value: `'DeclinedToSign'`) + +* `DELAYEDSENDEMAIL` (value: `'DelayedSendEmail'`) + +* `ANNOTATIONADDED` (value: `'AnnotationAdded'`) + +* `FLATTEN` (value: `'Flatten'`) + +* `REGENERATEPAGE` (value: `'RegeneratePage'`) + +* `REGENERATEPAGEFORM` (value: `'RegeneratePageForm'`) + +* `REASSIGN` (value: `'Reassign'`) + +* `DOCUMENTCOMPLETION` (value: `'DocumentCompletion'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignelementdependencyOperator.md b/docs/FieldEEzsignelementdependencyOperator.md index b832c5017..714f25f3b 100644 --- a/docs/FieldEEzsignelementdependencyOperator.md +++ b/docs/FieldEEzsignelementdependencyOperator.md @@ -2,10 +2,29 @@ The operator of the Ezsignelementdependency -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `EQ` (value: `'eq'`) + +* `NEQ` (value: `'neq'`) + +* `GT` (value: `'gt'`) + +* `GTE` (value: `'gte'`) + +* `LT` (value: `'lt'`) + +* `LTE` (value: `'lte'`) + +* `IN` (value: `'in'`) + +* `NIN` (value: `'nin'`) + +* `RG` (value: `'rg'`) + +* `LIKE` (value: `'like'`) + +* `BETWEEN` (value: `'between'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignelementdependencyValidation.md b/docs/FieldEEzsignelementdependencyValidation.md index be42c9e13..103db3053 100644 --- a/docs/FieldEEzsignelementdependencyValidation.md +++ b/docs/FieldEEzsignelementdependencyValidation.md @@ -2,10 +2,13 @@ The validation type of the Ezsignelementdependency -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `VALUE` (value: `'Value'`) + +* `SELECTED` (value: `'Selected'`) + +* `FILLED` (value: `'Filled'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignfolderCompletion.md b/docs/FieldEEzsignfolderCompletion.md index 21e9ae398..c562dd5f3 100644 --- a/docs/FieldEEzsignfolderCompletion.md +++ b/docs/FieldEEzsignfolderCompletion.md @@ -2,10 +2,11 @@ Indicates if the Ezsigndocument is completed when all signatures of this Ezsigndocument were applied or when all signatures of all Ezsigndocument were applied -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `PEREZSIGNDOCUMENT` (value: `'PerEzsigndocument'`) + +* `PEREZSIGNFOLDER` (value: `'PerEzsignfolder'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignfolderDocumentdependency.md b/docs/FieldEEzsignfolderDocumentdependency.md new file mode 100644 index 000000000..eb16f7170 --- /dev/null +++ b/docs/FieldEEzsignfolderDocumentdependency.md @@ -0,0 +1,13 @@ +# FieldEEzsignfolderDocumentdependency + +Indicates if document dependencies apply to all users or just to Ezsignsigner + +## Enum + +* `ALL` (value: `'All'`) + +* `EZSIGNSIGNERONLY` (value: `'EzsignsignerOnly'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsignfolderMessageorder.md b/docs/FieldEEzsignfolderMessageorder.md new file mode 100644 index 000000000..6cf1872f9 --- /dev/null +++ b/docs/FieldEEzsignfolderMessageorder.md @@ -0,0 +1,13 @@ +# FieldEEzsignfolderMessageorder + +Message order of the Ezsignfolder. + +## Enum + +* `GLOBALFIRST` (value: `'GlobalFirst'`) + +* `PRIVATEFIRST` (value: `'PrivateFirst'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsignfolderSendreminderfrequency.md b/docs/FieldEEzsignfolderSendreminderfrequency.md index 1458daeac..b7446340f 100644 --- a/docs/FieldEEzsignfolderSendreminderfrequency.md +++ b/docs/FieldEEzsignfolderSendreminderfrequency.md @@ -2,10 +2,13 @@ Frequency at which reminders will be sent to signers that haven't signed the documents -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NONE` (value: `'None'`) + +* `DAILY` (value: `'Daily'`) + +* `WEEKLY` (value: `'Weekly'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignfolderStep.md b/docs/FieldEEzsignfolderStep.md index acbf5ec83..5b22178ea 100644 --- a/docs/FieldEEzsignfolderStep.md +++ b/docs/FieldEEzsignfolderStep.md @@ -2,10 +2,23 @@ The signature step of the Ezsignfolder. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `UNSENT` (value: `'Unsent'`) + +* `PENDINGSEND` (value: `'PendingSend'`) + +* `SENT` (value: `'Sent'`) + +* `PARTIALLYSIGNED` (value: `'PartiallySigned'`) + +* `EXPIRED` (value: `'Expired'`) + +* `COMPLETED` (value: `'Completed'`) + +* `ARCHIVED` (value: `'Archived'`) + +* `DISPOSED` (value: `'Disposed'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignfoldertypeCompletion.md b/docs/FieldEEzsignfoldertypeCompletion.md index 675a04f31..e91f6d516 100644 --- a/docs/FieldEEzsignfoldertypeCompletion.md +++ b/docs/FieldEEzsignfoldertypeCompletion.md @@ -2,10 +2,11 @@ Indicates if the Ezsigndocument is completed when all signatures of this Ezsigndocument were applied or when all signatures of all Ezsigndocument were applied -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `PEREZSIGNDOCUMENT` (value: `'PerEzsigndocument'`) + +* `PEREZSIGNFOLDER` (value: `'PerEzsignfolder'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignfoldertypeDisposal.md b/docs/FieldEEzsignfoldertypeDisposal.md index 36a76bcaf..54d405e87 100644 --- a/docs/FieldEEzsignfoldertypeDisposal.md +++ b/docs/FieldEEzsignfoldertypeDisposal.md @@ -2,10 +2,13 @@ The type of disposal -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NO` (value: `'No'`) + +* `MANUAL` (value: `'Manual'`) + +* `AUTOMATIC` (value: `'Automatic'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignfoldertypeDocumentdependency.md b/docs/FieldEEzsignfoldertypeDocumentdependency.md new file mode 100644 index 000000000..c6b3cdd1f --- /dev/null +++ b/docs/FieldEEzsignfoldertypeDocumentdependency.md @@ -0,0 +1,13 @@ +# FieldEEzsignfoldertypeDocumentdependency + +Indicates if document dependencies apply to all users or just to Ezsignsigner + +## Enum + +* `ALL` (value: `'All'`) + +* `EZSIGNSIGNERONLY` (value: `'EzsignsignerOnly'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsignfoldertypePdfanoncompliantaction.md b/docs/FieldEEzsignfoldertypePdfanoncompliantaction.md new file mode 100644 index 000000000..8238e0e9e --- /dev/null +++ b/docs/FieldEEzsignfoldertypePdfanoncompliantaction.md @@ -0,0 +1,13 @@ +# FieldEEzsignfoldertypePdfanoncompliantaction + +The Action to do if the PDFA is non compliant of the Ezsignfolder type. * **Reject** is for rejecting the document * **Convert** is for converting to the fkiPdfalevelIDConvert configured + +## Enum + +* `REJECT` (value: `'Reject'`) + +* `CONVERT` (value: `'Convert'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsignfoldertypePdfarequirement.md b/docs/FieldEEzsignfoldertypePdfarequirement.md new file mode 100644 index 000000000..8ca489e9b --- /dev/null +++ b/docs/FieldEEzsignfoldertypePdfarequirement.md @@ -0,0 +1,15 @@ +# FieldEEzsignfoldertypePdfarequirement + +The PDF/a requirement of the Ezsignfolder type. * **None** is for not enforcing the PDF/a * **Declared** is to check the value declared by the document * **Verified** is to verify the document to see the compliance. May takes more time processing the document + +## Enum + +* `NONE` (value: `'None'`) + +* `DECLARED` (value: `'Declared'`) + +* `VERIFIED` (value: `'Verified'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsignfoldertypePrivacylevel.md b/docs/FieldEEzsignfoldertypePrivacylevel.md index 04867ca04..ecfe5beae 100644 --- a/docs/FieldEEzsignfoldertypePrivacylevel.md +++ b/docs/FieldEEzsignfoldertypePrivacylevel.md @@ -2,10 +2,11 @@ The Privacy level of the Ezsignfolder type. * **User** is for personal folders use and cannot be shared * **Usergroup** is for shared folders and complex permission can be configured to control access -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `USER` (value: `'User'`) + +* `USERGROUP` (value: `'Usergroup'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignfoldertypeSendreminderfrequency.md b/docs/FieldEEzsignfoldertypeSendreminderfrequency.md index f89f7edea..7b47f72ec 100644 --- a/docs/FieldEEzsignfoldertypeSendreminderfrequency.md +++ b/docs/FieldEEzsignfoldertypeSendreminderfrequency.md @@ -2,10 +2,13 @@ Frequency at which reminders will be sent to signers that haven't signed the documents -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NONE` (value: `'None'`) + +* `DAILY` (value: `'Daily'`) + +* `WEEKLY` (value: `'Weekly'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignfoldertypeSigneraccess.md b/docs/FieldEEzsignfoldertypeSigneraccess.md new file mode 100644 index 000000000..7c789bf7c --- /dev/null +++ b/docs/FieldEEzsignfoldertypeSigneraccess.md @@ -0,0 +1,15 @@ +# FieldEEzsignfoldertypeSigneraccess + +Indicates which documents the user has access to. + +## Enum + +* `NO` (value: `'No'`) + +* `SIGNERDOCUMENTS` (value: `'SignerDocuments'`) + +* `ALLDOCUMENTS` (value: `'AllDocuments'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsignformfieldDependencyrequirement.md b/docs/FieldEEzsignformfieldDependencyrequirement.md index 510f137b7..e980714cd 100644 --- a/docs/FieldEEzsignformfieldDependencyrequirement.md +++ b/docs/FieldEEzsignformfieldDependencyrequirement.md @@ -2,10 +2,11 @@ The Dependency requirement of the Ezsignformfield -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ALLOF` (value: `'AllOf'`) + +* `ANYOF` (value: `'AnyOf'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignformfieldgroupSignerrequirement.md b/docs/FieldEEzsignformfieldgroupSignerrequirement.md index 7030f704b..6f8ef3781 100644 --- a/docs/FieldEEzsignformfieldgroupSignerrequirement.md +++ b/docs/FieldEEzsignformfieldgroupSignerrequirement.md @@ -2,10 +2,11 @@ The Signer requirement of the Ezsignformfieldgroup. **All** means anyone can fill it, **One** means a specific person must fill it. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ALL` (value: `'All'`) + +* `ONE` (value: `'One'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignformfieldgroupTooltipposition.md b/docs/FieldEEzsignformfieldgroupTooltipposition.md index 3163199b4..09e87d39b 100644 --- a/docs/FieldEEzsignformfieldgroupTooltipposition.md +++ b/docs/FieldEEzsignformfieldgroupTooltipposition.md @@ -2,10 +2,23 @@ The location of the tooltip relative to the Ezsignformfieldgroup's location. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `TOPLEFT` (value: `'TopLeft'`) + +* `TOPCENTER` (value: `'TopCenter'`) + +* `TOPRIGHT` (value: `'TopRight'`) + +* `MIDDLELEFT` (value: `'MiddleLeft'`) + +* `MIDDLERIGHT` (value: `'MiddleRight'`) + +* `BOTTOMLEFT` (value: `'BottomLeft'`) + +* `BOTTOMCENTER` (value: `'BottomCenter'`) + +* `BOTTOMRIGHT` (value: `'BottomRight'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignformfieldgroupType.md b/docs/FieldEEzsignformfieldgroupType.md index 392f9ed9b..74c8cc968 100644 --- a/docs/FieldEEzsignformfieldgroupType.md +++ b/docs/FieldEEzsignformfieldgroupType.md @@ -2,10 +2,21 @@ The Type of Ezsignformfieldgroup -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `TEXT` (value: `'Text'`) + +* `TEXTAREA` (value: `'Textarea'`) + +* `DROPDOWN` (value: `'Dropdown'`) + +* `RADIO` (value: `'Radio'`) + +* `CHECKBOX` (value: `'Checkbox'`) + +* `NUMBER` (value: `'Number'`) + +* `DATE` (value: `'Date'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignsignatureAttachmentnamesource.md b/docs/FieldEEzsignsignatureAttachmentnamesource.md index be5121db7..476b13f48 100644 --- a/docs/FieldEEzsignsignatureAttachmentnamesource.md +++ b/docs/FieldEEzsignsignatureAttachmentnamesource.md @@ -2,10 +2,13 @@ The source of the name of the attachment added to the Ezsignsignature -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `DESCRIPTION` (value: `'Description'`) + +* `CUSTOMER` (value: `'Customer'`) + +* `DESCRIPTIONCUSTOMER` (value: `'DescriptionCustomer'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignsignatureConsultationtrigger.md b/docs/FieldEEzsignsignatureConsultationtrigger.md new file mode 100644 index 000000000..a6b3efd3d --- /dev/null +++ b/docs/FieldEEzsignsignatureConsultationtrigger.md @@ -0,0 +1,13 @@ +# FieldEEzsignsignatureConsultationtrigger + +Indicates when the “consultation” type signature must be signed. 1. **Automatic** When the document is displayed . 2. **Manual** The user must indicate that he has viewed the document. + +## Enum + +* `AUTOMATIC` (value: `'Automatic'`) + +* `MANUAL` (value: `'Manual'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsignsignatureDependencyrequirement.md b/docs/FieldEEzsignsignatureDependencyrequirement.md index 06c0cea74..92d31a829 100644 --- a/docs/FieldEEzsignsignatureDependencyrequirement.md +++ b/docs/FieldEEzsignsignatureDependencyrequirement.md @@ -2,10 +2,11 @@ The Dependency requirement of the Ezsignsignature -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ALLOF` (value: `'AllOf'`) + +* `ANYOF` (value: `'AnyOf'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignsignatureFont.md b/docs/FieldEEzsignsignatureFont.md index 727d28797..e2b53eece 100644 --- a/docs/FieldEEzsignsignatureFont.md +++ b/docs/FieldEEzsignsignatureFont.md @@ -1,11 +1,12 @@ # FieldEEzsignsignatureFont -The font of the signature. This can only be set if eEzsignsignatureType is **Name** or **Initials** +The font of the signature. This can only be set if eEzsignsignatureType is **Name** or **Initials** **Deprecated** -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NORMAL` (value: `'Normal'`) + +* `CURSIVE` (value: `'Cursive'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignsignatureTooltipposition.md b/docs/FieldEEzsignsignatureTooltipposition.md index fd1aad265..20856330e 100644 --- a/docs/FieldEEzsignsignatureTooltipposition.md +++ b/docs/FieldEEzsignsignatureTooltipposition.md @@ -2,10 +2,23 @@ The location of the tooltip relative to the Ezsignsignature's location. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `TOPLEFT` (value: `'TopLeft'`) + +* `TOPCENTER` (value: `'TopCenter'`) + +* `TOPRIGHT` (value: `'TopRight'`) + +* `MIDDLELEFT` (value: `'MiddleLeft'`) + +* `MIDDLERIGHT` (value: `'MiddleRight'`) + +* `BOTTOMLEFT` (value: `'BottomLeft'`) + +* `BOTTOMCENTER` (value: `'BottomCenter'`) + +* `BOTTOMRIGHT` (value: `'BottomRight'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsignsignatureType.md b/docs/FieldEEzsignsignatureType.md index f2dcc64b9..14cdf2ad7 100644 --- a/docs/FieldEEzsignsignatureType.md +++ b/docs/FieldEEzsignsignatureType.md @@ -1,11 +1,32 @@ # FieldEEzsignsignatureType -The type of signature. 1. **Acknowledgement** is for an acknowledgment of receipt. 2. **City** is to request the city where the document is signed. 3. **Handwritten** is for a handwritten kind of signature where users needs to \"draw\" their signature on screen. 4. **Initials** is a simple \"click to add initials\" block. 5. **Name** is a simple \"Click to sign\" block. This is the most common block of signature. 6. **NameReason** is to ask for a signing reason. 7. **Attachments** is to ask for files as attachment that may be validate in another step. 8. **FieldText** is to ask for a short text. 9. **Fieldtextarea** is to ask for a text +The type of signature. 1. **Acknowledgement** is for an acknowledgment of receipt. 2. **City** is to request the city where the document is signed. 3. **Handwritten** is for a handwritten kind of signature where users needs to \"draw\" their signature on screen. **DEPRECATED** 4. **Initials** is a simple \"click to add initials\" block. 5. **Name** is a simple \"Click to sign\" block. This is the most common block of signature. **DEPRECATED** 6. **NameReason** is to ask for a signing reason. 7. **Attachments** is to ask for files as attachment that may be validate in another step. 8. **FieldText** is to ask for a short text. 9. **Fieldtextarea** is to ask for a text 10. **Signature** is the type replacing **Name** and **Handwritten** and will support a font or svg -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ACKNOWLEDGEMENT` (value: `'Acknowledgement'`) + +* `CITY` (value: `'City'`) + +* `HANDWRITTEN` (value: `'Handwritten'`) + +* `INITIALS` (value: `'Initials'`) + +* `NAME` (value: `'Name'`) + +* `NAMEREASON` (value: `'NameReason'`) + +* `ATTACHMENTS` (value: `'Attachments'`) + +* `ATTACHMENTSCONFIRMATION` (value: `'AttachmentsConfirmation'`) + +* `FIELDTEXT` (value: `'FieldText'`) + +* `FIELDTEXTAREA` (value: `'FieldTextarea'`) + +* `CONSULTATION` (value: `'Consultation'`) + +* `SIGNATURE` (value: `'Signature'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplateRecognition.md b/docs/FieldEEzsigntemplateRecognition.md new file mode 100644 index 000000000..094de944c --- /dev/null +++ b/docs/FieldEEzsigntemplateRecognition.md @@ -0,0 +1,15 @@ +# FieldEEzsigntemplateRecognition + +Indicates whether we use the name or the content to recognize the templates to be automatically applied to documents + +## Enum + +* `NO` (value: `'No'`) + +* `FILENAME` (value: `'Filename'`) + +* `CONTENT` (value: `'Content'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsigntemplateType.md b/docs/FieldEEzsigntemplateType.md index 5851e7039..7851a14eb 100644 --- a/docs/FieldEEzsigntemplateType.md +++ b/docs/FieldEEzsigntemplateType.md @@ -1,11 +1,16 @@ # FieldEEzsigntemplateType -The Type of Ezsigntemplate +The Type of Ezsigntemplate **Usergroup** is now deprecated and replace with **Ezsignfoldertype** -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `USER` (value: `'User'`) + +* `USERGROUP` (value: `'Usergroup'`) + +* `COMPANY` (value: `'Company'`) + +* `EZSIGNFOLDERTYPE` (value: `'Ezsignfoldertype'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplatedocumentpagerecognitionOperator.md b/docs/FieldEEzsigntemplatedocumentpagerecognitionOperator.md new file mode 100644 index 000000000..6f7a43553 --- /dev/null +++ b/docs/FieldEEzsigntemplatedocumentpagerecognitionOperator.md @@ -0,0 +1,15 @@ +# FieldEEzsigntemplatedocumentpagerecognitionOperator + +The operator of the Ezsigntemplatedocumentpagerecognition + +## Enum + +* `EQ` (value: `'eq'`) + +* `IN` (value: `'in'`) + +* `SIMILAR` (value: `'similar'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsigntemplatedocumentpagerecognitionSection.md b/docs/FieldEEzsigntemplatedocumentpagerecognitionSection.md new file mode 100644 index 000000000..0e1d6691c --- /dev/null +++ b/docs/FieldEEzsigntemplatedocumentpagerecognitionSection.md @@ -0,0 +1,17 @@ +# FieldEEzsigntemplatedocumentpagerecognitionSection + +The section of the Ezsigntemplatedocumentpagerecognition + +## Enum + +* `FIRSTLINE` (value: `'FirstLine'`) + +* `LASTLINE` (value: `'LastLine'`) + +* `PAGE` (value: `'Page'`) + +* `REGION` (value: `'Region'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsigntemplateelementdependencyOperator.md b/docs/FieldEEzsigntemplateelementdependencyOperator.md index f56efd62a..12a01f917 100644 --- a/docs/FieldEEzsigntemplateelementdependencyOperator.md +++ b/docs/FieldEEzsigntemplateelementdependencyOperator.md @@ -2,10 +2,29 @@ The operator of the Ezsigntemplateelementdependency -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `EQ` (value: `'eq'`) + +* `NEQ` (value: `'neq'`) + +* `GT` (value: `'gt'`) + +* `GTE` (value: `'gte'`) + +* `LT` (value: `'lt'`) + +* `LTE` (value: `'lte'`) + +* `IN` (value: `'in'`) + +* `NIN` (value: `'nin'`) + +* `RG` (value: `'rg'`) + +* `LIKE` (value: `'like'`) + +* `BETWEEN` (value: `'between'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplateelementdependencyValidation.md b/docs/FieldEEzsigntemplateelementdependencyValidation.md index 58f3b007d..e722cf879 100644 --- a/docs/FieldEEzsigntemplateelementdependencyValidation.md +++ b/docs/FieldEEzsigntemplateelementdependencyValidation.md @@ -2,10 +2,13 @@ The validation type of the Ezsigntemplateelementdependency -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `VALUE` (value: `'Value'`) + +* `SELECTED` (value: `'Selected'`) + +* `FILLED` (value: `'Filled'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplateformfieldDependencyrequirement.md b/docs/FieldEEzsigntemplateformfieldDependencyrequirement.md index a84762984..eb0c014e4 100644 --- a/docs/FieldEEzsigntemplateformfieldDependencyrequirement.md +++ b/docs/FieldEEzsigntemplateformfieldDependencyrequirement.md @@ -2,10 +2,11 @@ The Dependency requirement of the Ezsigntemplateformfield -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ALLOF` (value: `'AllOf'`) + +* `ANYOF` (value: `'AnyOf'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplateformfieldPositioning.md b/docs/FieldEEzsigntemplateformfieldPositioning.md index 745751016..da8a18636 100644 --- a/docs/FieldEEzsigntemplateformfieldPositioning.md +++ b/docs/FieldEEzsigntemplateformfieldPositioning.md @@ -2,10 +2,11 @@ How the positioning of the Ezsigntemplateformfield will be done -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `PERCOORDINATES` (value: `'PerCoordinates'`) + +* `PERPOSITIONINGPATTERN` (value: `'PerPositioningPattern'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplateformfieldPositioningoccurence.md b/docs/FieldEEzsigntemplateformfieldPositioningoccurence.md index e47f48260..db83912c7 100644 --- a/docs/FieldEEzsigntemplateformfieldPositioningoccurence.md +++ b/docs/FieldEEzsigntemplateformfieldPositioningoccurence.md @@ -2,10 +2,13 @@ The occurence of the pattern to add the Ezsigntemplateformfield This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ALL` (value: `'All'`) + +* `FIRST` (value: `'First'`) + +* `LAST` (value: `'Last'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplateformfieldgroupSignerrequirement.md b/docs/FieldEEzsigntemplateformfieldgroupSignerrequirement.md index e518115c3..52a46e813 100644 --- a/docs/FieldEEzsigntemplateformfieldgroupSignerrequirement.md +++ b/docs/FieldEEzsigntemplateformfieldgroupSignerrequirement.md @@ -2,10 +2,11 @@ The Signer requirement of the Ezsigntemplateformfieldgroup. **All** means anyone can fill it, **One** means a specific person must fill it. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ALL` (value: `'All'`) + +* `ONE` (value: `'One'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplateformfieldgroupTooltipposition.md b/docs/FieldEEzsigntemplateformfieldgroupTooltipposition.md index 41befcf05..81cead524 100644 --- a/docs/FieldEEzsigntemplateformfieldgroupTooltipposition.md +++ b/docs/FieldEEzsigntemplateformfieldgroupTooltipposition.md @@ -2,10 +2,23 @@ The location of the tooltip relative to the Ezsigntemplateformfieldgroup's location. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `TOPLEFT` (value: `'TopLeft'`) + +* `TOPCENTER` (value: `'TopCenter'`) + +* `TOPRIGHT` (value: `'TopRight'`) + +* `MIDDLELEFT` (value: `'MiddleLeft'`) + +* `MIDDLERIGHT` (value: `'MiddleRight'`) + +* `BOTTOMLEFT` (value: `'BottomLeft'`) + +* `BOTTOMCENTER` (value: `'BottomCenter'`) + +* `BOTTOMRIGHT` (value: `'BottomRight'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplateformfieldgroupType.md b/docs/FieldEEzsigntemplateformfieldgroupType.md index 7d09babb7..fa8915100 100644 --- a/docs/FieldEEzsigntemplateformfieldgroupType.md +++ b/docs/FieldEEzsigntemplateformfieldgroupType.md @@ -2,10 +2,21 @@ The Type of Ezsigntemplateformfieldgroup -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `TEXT` (value: `'Text'`) + +* `TEXTAREA` (value: `'Textarea'`) + +* `DROPDOWN` (value: `'Dropdown'`) + +* `RADIO` (value: `'Radio'`) + +* `CHECKBOX` (value: `'Checkbox'`) + +* `NUMBER` (value: `'Number'`) + +* `DATE` (value: `'Date'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplateglobalModule.md b/docs/FieldEEzsigntemplateglobalModule.md index c5d9eaca4..5359ec593 100644 --- a/docs/FieldEEzsigntemplateglobalModule.md +++ b/docs/FieldEEzsigntemplateglobalModule.md @@ -2,10 +2,11 @@ The Module for the Ezsigntemplateglobal -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ALL` (value: `'All'`) + +* `INSCRIPTION` (value: `'Inscription'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplateglobalSupplier.md b/docs/FieldEEzsigntemplateglobalSupplier.md index 436baf4f8..acec9181c 100644 --- a/docs/FieldEEzsigntemplateglobalSupplier.md +++ b/docs/FieldEEzsigntemplateglobalSupplier.md @@ -2,10 +2,13 @@ The Supplier of the Ezsigntemplateglobal -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `CENTRIS` (value: `'Centris'`) + +* `WEBFORMS` (value: `'Webforms'`) + +* `GHACQ` (value: `'GHACQ'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplatepackagesignerMapping.md b/docs/FieldEEzsigntemplatepackagesignerMapping.md new file mode 100644 index 000000000..e98a0fcd6 --- /dev/null +++ b/docs/FieldEEzsigntemplatepackagesignerMapping.md @@ -0,0 +1,17 @@ +# FieldEEzsigntemplatepackagesignerMapping + +Mapping configuration to use when package is apply. 1. **Manual** User need to choose mapping manually. 2. **Creator** mapping will be set to creator of folderS. 3. **User** mapping will be set to fkiUserID 4. **Usergroup** mapping will be set to fkiUsergroupID. + +## Enum + +* `MANUAL` (value: `'Manual'`) + +* `CREATOR` (value: `'Creator'`) + +* `USER` (value: `'User'`) + +* `USERGROUP` (value: `'Usergroup'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsigntemplatepublicLimittype.md b/docs/FieldEEzsigntemplatepublicLimittype.md new file mode 100644 index 000000000..a11e02925 --- /dev/null +++ b/docs/FieldEEzsigntemplatepublicLimittype.md @@ -0,0 +1,17 @@ +# FieldEEzsigntemplatepublicLimittype + +The limittype of the Ezsigntemplatepublic + +## Enum + +* `HOUR` (value: `'Hour'`) + +* `DAY` (value: `'Day'`) + +* `MONTH` (value: `'Month'`) + +* `TOTAL` (value: `'Total'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsigntemplatesignatureAttachmentnamesource.md b/docs/FieldEEzsigntemplatesignatureAttachmentnamesource.md index ad1ed41a8..6b6141cf7 100644 --- a/docs/FieldEEzsigntemplatesignatureAttachmentnamesource.md +++ b/docs/FieldEEzsigntemplatesignatureAttachmentnamesource.md @@ -2,10 +2,13 @@ The source of the name of the attachment added to the Ezsigntemplatesignature -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `DESCRIPTION` (value: `'Description'`) + +* `CUSTOMER` (value: `'Customer'`) + +* `DESCRIPTIONCUSTOMER` (value: `'DescriptionCustomer'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplatesignatureConsultationtrigger.md b/docs/FieldEEzsigntemplatesignatureConsultationtrigger.md new file mode 100644 index 000000000..ead9356a5 --- /dev/null +++ b/docs/FieldEEzsigntemplatesignatureConsultationtrigger.md @@ -0,0 +1,13 @@ +# FieldEEzsigntemplatesignatureConsultationtrigger + +Indicates when the “consultation” type signature must be signed. 1. **Automatic** When the document is displayed . 2. **Manual** The user must indicate that he has viewed the document. + +## Enum + +* `AUTOMATIC` (value: `'Automatic'`) + +* `MANUAL` (value: `'Manual'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldEEzsigntemplatesignatureDependencyrequirement.md b/docs/FieldEEzsigntemplatesignatureDependencyrequirement.md index 5b9eb80d2..112bee7a0 100644 --- a/docs/FieldEEzsigntemplatesignatureDependencyrequirement.md +++ b/docs/FieldEEzsigntemplatesignatureDependencyrequirement.md @@ -2,10 +2,11 @@ The Dependency requirement of the Ezsigntemplatesignature -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ALLOF` (value: `'AllOf'`) + +* `ANYOF` (value: `'AnyOf'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplatesignatureFont.md b/docs/FieldEEzsigntemplatesignatureFont.md index 9e7f736a1..7cf6fe864 100644 --- a/docs/FieldEEzsigntemplatesignatureFont.md +++ b/docs/FieldEEzsigntemplatesignatureFont.md @@ -1,11 +1,12 @@ # FieldEEzsigntemplatesignatureFont -The font of the signature. This can only be set if eEzsigntemplatesignatureType is **Name** or **Initials** +The font of the signature. This can only be set if eEzsigntemplatesignatureType is **Name** or **Initials** **Deprecated** -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NORMAL` (value: `'Normal'`) + +* `CURSIVE` (value: `'Cursive'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplatesignaturePositioning.md b/docs/FieldEEzsigntemplatesignaturePositioning.md index b3fd8556b..14b344329 100644 --- a/docs/FieldEEzsigntemplatesignaturePositioning.md +++ b/docs/FieldEEzsigntemplatesignaturePositioning.md @@ -2,10 +2,11 @@ How the positioning of the Ezsigntemplatesignature will be done -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `PERCOORDINATES` (value: `'PerCoordinates'`) + +* `PERPOSITIONINGPATTERN` (value: `'PerPositioningPattern'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplatesignaturePositioningoccurence.md b/docs/FieldEEzsigntemplatesignaturePositioningoccurence.md index 3616fc5af..0444b3ae0 100644 --- a/docs/FieldEEzsigntemplatesignaturePositioningoccurence.md +++ b/docs/FieldEEzsigntemplatesignaturePositioningoccurence.md @@ -2,10 +2,13 @@ The occurence of the pattern to add the Ezsigntemplatesignature This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ALL` (value: `'All'`) + +* `FIRST` (value: `'First'`) + +* `LAST` (value: `'Last'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplatesignatureTooltipposition.md b/docs/FieldEEzsigntemplatesignatureTooltipposition.md index af5889a4e..ecdfe9731 100644 --- a/docs/FieldEEzsigntemplatesignatureTooltipposition.md +++ b/docs/FieldEEzsigntemplatesignatureTooltipposition.md @@ -2,10 +2,23 @@ The location of the tooltip relative to the Ezsigntemplatesignature's location. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `TOPLEFT` (value: `'TopLeft'`) + +* `TOPCENTER` (value: `'TopCenter'`) + +* `TOPRIGHT` (value: `'TopRight'`) + +* `MIDDLELEFT` (value: `'MiddleLeft'`) + +* `MIDDLERIGHT` (value: `'MiddleRight'`) + +* `BOTTOMLEFT` (value: `'BottomLeft'`) + +* `BOTTOMCENTER` (value: `'BottomCenter'`) + +* `BOTTOMRIGHT` (value: `'BottomRight'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplatesignatureType.md b/docs/FieldEEzsigntemplatesignatureType.md index bf30350bb..233147a5c 100644 --- a/docs/FieldEEzsigntemplatesignatureType.md +++ b/docs/FieldEEzsigntemplatesignatureType.md @@ -1,11 +1,30 @@ # FieldEEzsigntemplatesignatureType -The type of signature. 1. **Acknowledgement** is for an acknowledgment of receipt. 2. **City** is to request the city where the document is signed. 3. **Handwritten** is for a handwritten kind of signature where users needs to \"draw\" their signature on screen. 4. **Initials** is a simple \"click to add initials\" block. 5. **Name** is a simple \"Click to sign\" block. This is the most common block of signature. 6. **NameReason** is to ask for a signing reason. 7. **Attachments** is to ask for files as attachment that may be validate in another step. +The type of signature. 1. **Acknowledgement** is for an acknowledgment of receipt. 2. **City** is to request the city where the document is signed. 3. **Handwritten** is for a handwritten kind of signature where users needs to \"draw\" their signature on screen. **Deprecated** 4. **Initials** is a simple \"click to add initials\" block. 5. **Name** is a simple \"Click to sign\" block. This is the most common block of signature. **Deprecated** 6. **NameReason** is to ask for a signing reason. 7. **Attachments** is to ask for files as attachment that may be validate in another step. 8. **Signature** is replacing **Name** and **Handwritten**. Will be normal or handwritten once signed -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ACKNOWLEDGEMENT` (value: `'Acknowledgement'`) + +* `CITY` (value: `'City'`) + +* `HANDWRITTEN` (value: `'Handwritten'`) + +* `INITIALS` (value: `'Initials'`) + +* `NAME` (value: `'Name'`) + +* `NAMEREASON` (value: `'NameReason'`) + +* `ATTACHMENTS` (value: `'Attachments'`) + +* `FIELDTEXT` (value: `'FieldText'`) + +* `FIELDTEXTAREA` (value: `'FieldTextarea'`) + +* `CONSULTATION` (value: `'Consultation'`) + +* `SIGNATURE` (value: `'Signature'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEEzsigntemplatesignerMapping.md b/docs/FieldEEzsigntemplatesignerMapping.md new file mode 100644 index 000000000..fb1384b9b --- /dev/null +++ b/docs/FieldEEzsigntemplatesignerMapping.md @@ -0,0 +1,17 @@ +# FieldEEzsigntemplatesignerMapping + +Mapping configuration to use when template is apply to an document. 1. **Manual** User need to choose mapping manually. 2. **Creator** mapping will be set to creator of template. 3. **User** mapping will be set to fkiUserID 4. **Usergroup** mapping will be set to fkiUsergroupID. + +## Enum + +* `MANUAL` (value: `'Manual'`) + +* `CREATOR` (value: `'Creator'`) + +* `USER` (value: `'User'`) + +* `USERGROUP` (value: `'Usergroup'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldENotificationpreferenceStatus.md b/docs/FieldENotificationpreferenceStatus.md index b6af408ee..5f0684e5d 100644 --- a/docs/FieldENotificationpreferenceStatus.md +++ b/docs/FieldENotificationpreferenceStatus.md @@ -2,10 +2,13 @@ The display status for the Notificationtest. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `SHOW` (value: `'Show'`) + +* `HIDE` (value: `'Hide'`) + +* `PIN` (value: `'Pin'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEPaymenttermType.md b/docs/FieldEPaymenttermType.md index a9ee97f61..6e95bbd86 100644 --- a/docs/FieldEPaymenttermType.md +++ b/docs/FieldEPaymenttermType.md @@ -2,10 +2,11 @@ The type of the Paymentterm -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `DAYS` (value: `'Days'`) + +* `DAYOFTHEMONTH` (value: `'Dayofthemonth'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEPhoneType.md b/docs/FieldEPhoneType.md index 33f8f1efb..090c4c8ee 100644 --- a/docs/FieldEPhoneType.md +++ b/docs/FieldEPhoneType.md @@ -2,10 +2,11 @@ The type of phone number. **Local** refers to a north American phone number. You would then need to specify sPhoneRegion, sPhoneExchange, sPhoneNumber. **International** would be used for numbers outside of north america. You would then need to specify sPhoneInternational -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `LOCAL` (value: `'Local'`) + +* `INTERNATIONAL` (value: `'International'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldESessionhistoryEndby.md b/docs/FieldESessionhistoryEndby.md index 10874af06..10c37e6d0 100644 --- a/docs/FieldESessionhistoryEndby.md +++ b/docs/FieldESessionhistoryEndby.md @@ -2,10 +2,35 @@ The Type of the Sessionhistory -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `DECRYPTION` (value: `'Decryption'`) + +* `HACK` (value: `'Hack'`) + +* `EXPIRED` (value: `'Expired'`) + +* `HIJACK` (value: `'Hijack'`) + +* `DOUBLELOGON` (value: `'DoubleLogon'`) + +* `GARBAGE` (value: `'Garbage'`) + +* `LOGOFF` (value: `'Logoff'`) + +* `BADAUTH` (value: `'BadAuth'`) + +* `LOCKED` (value: `'Locked'`) + +* `INACTIVE` (value: `'Inactive'`) + +* `INVALIDUSER` (value: `'InvalidUser'`) + +* `BADUSERTYPE` (value: `'BadUserType'`) + +* `BADIP` (value: `'BadIP'`) + +* `FORCEDLOGOFF` (value: `'ForcedLogoff'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldESignaturePreference.md b/docs/FieldESignaturePreference.md new file mode 100644 index 000000000..c90baa5c1 --- /dev/null +++ b/docs/FieldESignaturePreference.md @@ -0,0 +1,13 @@ +# FieldESignaturePreference + +The Preference of the Signature + +## Enum + +* `TEXT` (value: `'Text'`) + +* `HANDWRITTEN` (value: `'Handwritten'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FieldESystemconfigurationEzsign.md b/docs/FieldESystemconfigurationEzsign.md index 1f5a10438..ff05298fa 100644 --- a/docs/FieldESystemconfigurationEzsign.md +++ b/docs/FieldESystemconfigurationEzsign.md @@ -2,10 +2,11 @@ Whether if Ezsign is paid by the company or not -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NO` (value: `'No'`) + +* `YES` (value: `'Yes'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldESystemconfigurationEzsignofficeplan.md b/docs/FieldESystemconfigurationEzsignofficeplan.md index c207a58fd..765411ec5 100644 --- a/docs/FieldESystemconfigurationEzsignofficeplan.md +++ b/docs/FieldESystemconfigurationEzsignofficeplan.md @@ -2,10 +2,11 @@ Plan choose of this company for eZsign if Ezsign is paid by the company -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `STANDARD` (value: `'Standard'`) + +* `PRO` (value: `'Pro'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldESystemconfigurationLanguage1.md b/docs/FieldESystemconfigurationLanguage1.md index 32c69fad6..193bc081e 100644 --- a/docs/FieldESystemconfigurationLanguage1.md +++ b/docs/FieldESystemconfigurationLanguage1.md @@ -2,10 +2,9 @@ The type of the french for the client -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `FR_QC` (value: `'fr_QC'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldESystemconfigurationLanguage2.md b/docs/FieldESystemconfigurationLanguage2.md index 9a94d039b..c60b485da 100644 --- a/docs/FieldESystemconfigurationLanguage2.md +++ b/docs/FieldESystemconfigurationLanguage2.md @@ -2,10 +2,13 @@ The type of the english for the client -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `EN_CA` (value: `'en_CA'`) + +* `EN_QC` (value: `'en_QC'`) + +* `EN_US` (value: `'en_US'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldESystemconfigurationNewexternaluseraction.md b/docs/FieldESystemconfigurationNewexternaluseraction.md index 1e484751f..35bd567d3 100644 --- a/docs/FieldESystemconfigurationNewexternaluseraction.md +++ b/docs/FieldESystemconfigurationNewexternaluseraction.md @@ -2,10 +2,11 @@ The action we do when a new external user connects itself -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `STAGE` (value: `'Stage'`) + +* `AUTOCREATE` (value: `'AutoCreate'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEUserEzsignaccess.md b/docs/FieldEUserEzsignaccess.md index fab2ed199..125ee94e4 100644 --- a/docs/FieldEUserEzsignaccess.md +++ b/docs/FieldEUserEzsignaccess.md @@ -2,10 +2,15 @@ The type of eZsign access the User has -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NO` (value: `'No'`) + +* `PAIDBYOFFICE` (value: `'PaidByOffice'`) + +* `PERDOCUMENT` (value: `'PerDocument'`) + +* `PREPAID` (value: `'Prepaid'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEUserEzsignprepaid.md b/docs/FieldEUserEzsignprepaid.md index 9ba89b35d..0f440b6b5 100644 --- a/docs/FieldEUserEzsignprepaid.md +++ b/docs/FieldEUserEzsignprepaid.md @@ -2,10 +2,15 @@ Subscription level when a user has a Prepaid subscription. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NO` (value: `'No'`) + +* `BASIC` (value: `'Basic'`) + +* `STANDARD` (value: `'Standard'`) + +* `PRO` (value: `'Pro'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEUserEzsignsendreminderfrequency.md b/docs/FieldEUserEzsignsendreminderfrequency.md index c4828877b..abbaffb64 100644 --- a/docs/FieldEUserEzsignsendreminderfrequency.md +++ b/docs/FieldEUserEzsignsendreminderfrequency.md @@ -2,10 +2,13 @@ Frequency at which reminders will be sent to signers that haven't signed the documents -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NONE` (value: `'None'`) + +* `DAILY` (value: `'Daily'`) + +* `WEEKLY` (value: `'Weekly'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEUserLogintype.md b/docs/FieldEUserLogintype.md index d5345e7ee..21582e189 100644 --- a/docs/FieldEUserLogintype.md +++ b/docs/FieldEUserLogintype.md @@ -2,10 +2,13 @@ The type of authentication for the User -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `PASSWORD` (value: `'Password'`) + +* `PASSWORDPHONE` (value: `'PasswordPhone'`) + +* `PASSWORDQUESTION` (value: `'PasswordQuestion'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEUserOrigin.md b/docs/FieldEUserOrigin.md index f7e4959b7..32468e7ed 100644 --- a/docs/FieldEUserOrigin.md +++ b/docs/FieldEUserOrigin.md @@ -2,10 +2,11 @@ The origin of the User -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `BUILTIN` (value: `'BuiltIn'`) + +* `EXTERNAL` (value: `'External'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEUserType.md b/docs/FieldEUserType.md index 366053d0f..5021d64c3 100644 --- a/docs/FieldEUserType.md +++ b/docs/FieldEUserType.md @@ -2,10 +2,17 @@ The user type of the User. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `AGENTBROKER` (value: `'AgentBroker'`) + +* `ASSISTANT` (value: `'Assistant'`) + +* `EMPLOYEE` (value: `'Employee'`) + +* `EZSIGNUSER` (value: `'EzsignUser'`) + +* `NORMAL` (value: `'Normal'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEVariableexpenseTaxable.md b/docs/FieldEVariableexpenseTaxable.md index bb772bb84..d5a1d1210 100644 --- a/docs/FieldEVariableexpenseTaxable.md +++ b/docs/FieldEVariableexpenseTaxable.md @@ -2,10 +2,13 @@ The taxable of the Variableexpense -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `YES` (value: `'Yes'`) + +* `NO` (value: `'No'`) + +* `INCLUDED` (value: `'Included'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEVersionhistoryType.md b/docs/FieldEVersionhistoryType.md index 6b4f09ab0..d8cdfdbf9 100644 --- a/docs/FieldEVersionhistoryType.md +++ b/docs/FieldEVersionhistoryType.md @@ -2,10 +2,17 @@ The type of Versionhistory. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `AGENTBROKER` (value: `'AgentBroker'`) + +* `NEWFEATURE` (value: `'NewFeature'`) + +* `CORRECTION` (value: `'Correction'`) + +* `MODIFICATION` (value: `'Modification'`) + +* `IMPORTANTMESSAGE` (value: `'ImportantMessage'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEVersionhistoryUsertype.md b/docs/FieldEVersionhistoryUsertype.md index a01f7062f..040ecf688 100644 --- a/docs/FieldEVersionhistoryUsertype.md +++ b/docs/FieldEVersionhistoryUsertype.md @@ -2,10 +2,15 @@ The Usertype by which the Versionhistory should be visible -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `EMPTY` (value: `''`) + +* `AGENTBROKER` (value: `'AgentBroker'`) + +* `EZSIGNUSER` (value: `'EzsignUser'`) + +* `NORMAL` (value: `'Normal'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEWebhookEzsignevent.md b/docs/FieldEWebhookEzsignevent.md index a11605308..f7da65ac9 100644 --- a/docs/FieldEWebhookEzsignevent.md +++ b/docs/FieldEWebhookEzsignevent.md @@ -2,10 +2,27 @@ This Ezsign Event. This property will be set only if the Module is \"Ezsign\" -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `DOCUMENTCOMPLETED` (value: `'DocumentCompleted'`) + +* `DOCUMENTFORMCOMPLETED` (value: `'DocumentFormCompleted'`) + +* `DOCUMENTUNSENT` (value: `'DocumentUnsent'`) + +* `EZSIGNSIGNERACCEPTCLAUSE` (value: `'EzsignsignerAcceptclause'`) + +* `EZSIGNSIGNERCONNECT` (value: `'EzsignsignerConnect'`) + +* `FOLDERCOMPLETED` (value: `'FolderCompleted'`) + +* `FOLDERDISPOSED` (value: `'FolderDisposed'`) + +* `FOLDERSENT` (value: `'FolderSent'`) + +* `FOLDERUNSENT` (value: `'FolderUnsent'`) + +* `SIGNATURESIGNED` (value: `'SignatureSigned'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEWebhookManagementevent.md b/docs/FieldEWebhookManagementevent.md index 75c83621f..a191b11fc 100644 --- a/docs/FieldEWebhookManagementevent.md +++ b/docs/FieldEWebhookManagementevent.md @@ -2,10 +2,11 @@ This Management Event. This property will be set only if the Module is \"Management\". -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `USERCREATED` (value: `'UserCreated'`) + +* `USERSTAGEDCREATED` (value: `'UserstagedCreated'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldEWebhookModule.md b/docs/FieldEWebhookModule.md index 55bc12734..a8ea1a651 100644 --- a/docs/FieldEWebhookModule.md +++ b/docs/FieldEWebhookModule.md @@ -2,10 +2,11 @@ The module for the Webhook -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `EZSIGN` (value: `'Ezsign'`) + +* `MANAGEMENT` (value: `'Management'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FieldPksEzmaxclientOs.md b/docs/FieldPksEzmaxclientOs.md index 23bff4170..7b825b950 100644 --- a/docs/FieldPksEzmaxclientOs.md +++ b/docs/FieldPksEzmaxclientOs.md @@ -2,10 +2,17 @@ The OS of the system running the application -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ANDROID` (value: `'Android'`) + +* `IOS` (value: `'iOS'`) + +* `IPADOS` (value: `'iPadOS'`) + +* `MACOS` (value: `'macOS'`) + +* `WINDOWS` (value: `'Windows'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FontAutocompleteElementResponse.md b/docs/FontAutocompleteElementResponse.md index 6d143709d..580752542 100644 --- a/docs/FontAutocompleteElementResponse.md +++ b/docs/FontAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(FontAutocompleteElementResponse.to_json()) # convert the object into a dict font_autocomplete_element_response_dict = font_autocomplete_element_response_instance.to_dict() # create an instance of FontAutocompleteElementResponse from a dict -font_autocomplete_element_response_form_dict = font_autocomplete_element_response.from_dict(font_autocomplete_element_response_dict) +font_autocomplete_element_response_from_dict = FontAutocompleteElementResponse.from_dict(font_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FontGetAutocompleteV2Response.md b/docs/FontGetAutocompleteV2Response.md index 747b04348..df9dbd62c 100644 --- a/docs/FontGetAutocompleteV2Response.md +++ b/docs/FontGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(FontGetAutocompleteV2Response.to_json()) # convert the object into a dict font_get_autocomplete_v2_response_dict = font_get_autocomplete_v2_response_instance.to_dict() # create an instance of FontGetAutocompleteV2Response from a dict -font_get_autocomplete_v2_response_form_dict = font_get_autocomplete_v2_response.from_dict(font_get_autocomplete_v2_response_dict) +font_get_autocomplete_v2_response_from_dict = FontGetAutocompleteV2Response.from_dict(font_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FontGetAutocompleteV2ResponseMPayload.md b/docs/FontGetAutocompleteV2ResponseMPayload.md index abc2dec5c..72db31009 100644 --- a/docs/FontGetAutocompleteV2ResponseMPayload.md +++ b/docs/FontGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(FontGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict font_get_autocomplete_v2_response_m_payload_dict = font_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of FontGetAutocompleteV2ResponseMPayload from a dict -font_get_autocomplete_v2_response_m_payload_form_dict = font_get_autocomplete_v2_response_m_payload.from_dict(font_get_autocomplete_v2_response_m_payload_dict) +font_get_autocomplete_v2_response_m_payload_from_dict = FontGetAutocompleteV2ResponseMPayload.from_dict(font_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchisebrokerAutocompleteElementResponse.md b/docs/FranchisebrokerAutocompleteElementResponse.md index 946ef2d86..1e5d5825f 100644 --- a/docs/FranchisebrokerAutocompleteElementResponse.md +++ b/docs/FranchisebrokerAutocompleteElementResponse.md @@ -6,7 +6,7 @@ A Franchisebroker AutocompleteElement Response Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**s_franchisebroker_name** | **str** | The name of the Franchisebroker in the language of the requester | +**s_franchisebroker_name** | **str** | The name of the Franchisebroker | **pki_franchisebroker_id** | **int** | The unique ID of the Franchisebroker | **b_franchisebroker_isactive** | **bool** | Whether the Franchisebroker is active or not | @@ -25,7 +25,7 @@ print(FranchisebrokerAutocompleteElementResponse.to_json()) # convert the object into a dict franchisebroker_autocomplete_element_response_dict = franchisebroker_autocomplete_element_response_instance.to_dict() # create an instance of FranchisebrokerAutocompleteElementResponse from a dict -franchisebroker_autocomplete_element_response_form_dict = franchisebroker_autocomplete_element_response.from_dict(franchisebroker_autocomplete_element_response_dict) +franchisebroker_autocomplete_element_response_from_dict = FranchisebrokerAutocompleteElementResponse.from_dict(franchisebroker_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchisebrokerGetAutocompleteV2Response.md b/docs/FranchisebrokerGetAutocompleteV2Response.md index 751daef31..27d6a7ee8 100644 --- a/docs/FranchisebrokerGetAutocompleteV2Response.md +++ b/docs/FranchisebrokerGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(FranchisebrokerGetAutocompleteV2Response.to_json()) # convert the object into a dict franchisebroker_get_autocomplete_v2_response_dict = franchisebroker_get_autocomplete_v2_response_instance.to_dict() # create an instance of FranchisebrokerGetAutocompleteV2Response from a dict -franchisebroker_get_autocomplete_v2_response_form_dict = franchisebroker_get_autocomplete_v2_response.from_dict(franchisebroker_get_autocomplete_v2_response_dict) +franchisebroker_get_autocomplete_v2_response_from_dict = FranchisebrokerGetAutocompleteV2Response.from_dict(franchisebroker_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchisebrokerGetAutocompleteV2ResponseMPayload.md b/docs/FranchisebrokerGetAutocompleteV2ResponseMPayload.md index 3504bc2c9..f254361c1 100644 --- a/docs/FranchisebrokerGetAutocompleteV2ResponseMPayload.md +++ b/docs/FranchisebrokerGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(FranchisebrokerGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict franchisebroker_get_autocomplete_v2_response_m_payload_dict = franchisebroker_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of FranchisebrokerGetAutocompleteV2ResponseMPayload from a dict -franchisebroker_get_autocomplete_v2_response_m_payload_form_dict = franchisebroker_get_autocomplete_v2_response_m_payload.from_dict(franchisebroker_get_autocomplete_v2_response_m_payload_dict) +franchisebroker_get_autocomplete_v2_response_m_payload_from_dict = FranchisebrokerGetAutocompleteV2ResponseMPayload.from_dict(franchisebroker_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchiseofficeAutocompleteElementResponse.md b/docs/FranchiseofficeAutocompleteElementResponse.md index 7ab8bc0c3..6d8423d9d 100644 --- a/docs/FranchiseofficeAutocompleteElementResponse.md +++ b/docs/FranchiseofficeAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(FranchiseofficeAutocompleteElementResponse.to_json()) # convert the object into a dict franchiseoffice_autocomplete_element_response_dict = franchiseoffice_autocomplete_element_response_instance.to_dict() # create an instance of FranchiseofficeAutocompleteElementResponse from a dict -franchiseoffice_autocomplete_element_response_form_dict = franchiseoffice_autocomplete_element_response.from_dict(franchiseoffice_autocomplete_element_response_dict) +franchiseoffice_autocomplete_element_response_from_dict = FranchiseofficeAutocompleteElementResponse.from_dict(franchiseoffice_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchiseofficeGetAutocompleteV2Response.md b/docs/FranchiseofficeGetAutocompleteV2Response.md index 0232d1ed7..07542eeac 100644 --- a/docs/FranchiseofficeGetAutocompleteV2Response.md +++ b/docs/FranchiseofficeGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(FranchiseofficeGetAutocompleteV2Response.to_json()) # convert the object into a dict franchiseoffice_get_autocomplete_v2_response_dict = franchiseoffice_get_autocomplete_v2_response_instance.to_dict() # create an instance of FranchiseofficeGetAutocompleteV2Response from a dict -franchiseoffice_get_autocomplete_v2_response_form_dict = franchiseoffice_get_autocomplete_v2_response.from_dict(franchiseoffice_get_autocomplete_v2_response_dict) +franchiseoffice_get_autocomplete_v2_response_from_dict = FranchiseofficeGetAutocompleteV2Response.from_dict(franchiseoffice_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchiseofficeGetAutocompleteV2ResponseMPayload.md b/docs/FranchiseofficeGetAutocompleteV2ResponseMPayload.md index 7f8459ff5..375220163 100644 --- a/docs/FranchiseofficeGetAutocompleteV2ResponseMPayload.md +++ b/docs/FranchiseofficeGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(FranchiseofficeGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict franchiseoffice_get_autocomplete_v2_response_m_payload_dict = franchiseoffice_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of FranchiseofficeGetAutocompleteV2ResponseMPayload from a dict -franchiseoffice_get_autocomplete_v2_response_m_payload_form_dict = franchiseoffice_get_autocomplete_v2_response_m_payload.from_dict(franchiseoffice_get_autocomplete_v2_response_m_payload_dict) +franchiseoffice_get_autocomplete_v2_response_m_payload_from_dict = FranchiseofficeGetAutocompleteV2ResponseMPayload.from_dict(franchiseoffice_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchisereferalincomeCreateObjectV2Request.md b/docs/FranchisereferalincomeCreateObjectV2Request.md index b60aee0e2..aa4964442 100644 --- a/docs/FranchisereferalincomeCreateObjectV2Request.md +++ b/docs/FranchisereferalincomeCreateObjectV2Request.md @@ -23,7 +23,7 @@ print(FranchisereferalincomeCreateObjectV2Request.to_json()) # convert the object into a dict franchisereferalincome_create_object_v2_request_dict = franchisereferalincome_create_object_v2_request_instance.to_dict() # create an instance of FranchisereferalincomeCreateObjectV2Request from a dict -franchisereferalincome_create_object_v2_request_form_dict = franchisereferalincome_create_object_v2_request.from_dict(franchisereferalincome_create_object_v2_request_dict) +franchisereferalincome_create_object_v2_request_from_dict = FranchisereferalincomeCreateObjectV2Request.from_dict(franchisereferalincome_create_object_v2_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchisereferalincomeCreateObjectV2Response.md b/docs/FranchisereferalincomeCreateObjectV2Response.md index 1c42fc340..82d905a2c 100644 --- a/docs/FranchisereferalincomeCreateObjectV2Response.md +++ b/docs/FranchisereferalincomeCreateObjectV2Response.md @@ -25,7 +25,7 @@ print(FranchisereferalincomeCreateObjectV2Response.to_json()) # convert the object into a dict franchisereferalincome_create_object_v2_response_dict = franchisereferalincome_create_object_v2_response_instance.to_dict() # create an instance of FranchisereferalincomeCreateObjectV2Response from a dict -franchisereferalincome_create_object_v2_response_form_dict = franchisereferalincome_create_object_v2_response.from_dict(franchisereferalincome_create_object_v2_response_dict) +franchisereferalincome_create_object_v2_response_from_dict = FranchisereferalincomeCreateObjectV2Response.from_dict(franchisereferalincome_create_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchisereferalincomeCreateObjectV2ResponseMPayload.md b/docs/FranchisereferalincomeCreateObjectV2ResponseMPayload.md index 71dba9cb7..a1135c507 100644 --- a/docs/FranchisereferalincomeCreateObjectV2ResponseMPayload.md +++ b/docs/FranchisereferalincomeCreateObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(FranchisereferalincomeCreateObjectV2ResponseMPayload.to_json()) # convert the object into a dict franchisereferalincome_create_object_v2_response_m_payload_dict = franchisereferalincome_create_object_v2_response_m_payload_instance.to_dict() # create an instance of FranchisereferalincomeCreateObjectV2ResponseMPayload from a dict -franchisereferalincome_create_object_v2_response_m_payload_form_dict = franchisereferalincome_create_object_v2_response_m_payload.from_dict(franchisereferalincome_create_object_v2_response_m_payload_dict) +franchisereferalincome_create_object_v2_response_m_payload_from_dict = FranchisereferalincomeCreateObjectV2ResponseMPayload.from_dict(franchisereferalincome_create_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchisereferalincomeRequest.md b/docs/FranchisereferalincomeRequest.md index 4b55f6612..621846115 100644 --- a/docs/FranchisereferalincomeRequest.md +++ b/docs/FranchisereferalincomeRequest.md @@ -34,7 +34,7 @@ print(FranchisereferalincomeRequest.to_json()) # convert the object into a dict franchisereferalincome_request_dict = franchisereferalincome_request_instance.to_dict() # create an instance of FranchisereferalincomeRequest from a dict -franchisereferalincome_request_form_dict = franchisereferalincome_request.from_dict(franchisereferalincome_request_dict) +franchisereferalincome_request_from_dict = FranchisereferalincomeRequest.from_dict(franchisereferalincome_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FranchisereferalincomeRequestCompound.md b/docs/FranchisereferalincomeRequestCompound.md index 4785bc429..d666899ac 100644 --- a/docs/FranchisereferalincomeRequestCompound.md +++ b/docs/FranchisereferalincomeRequestCompound.md @@ -36,7 +36,7 @@ print(FranchisereferalincomeRequestCompound.to_json()) # convert the object into a dict franchisereferalincome_request_compound_dict = franchisereferalincome_request_compound_instance.to_dict() # create an instance of FranchisereferalincomeRequestCompound from a dict -franchisereferalincome_request_compound_form_dict = franchisereferalincome_request_compound.from_dict(franchisereferalincome_request_compound_dict) +franchisereferalincome_request_compound_from_dict = FranchisereferalincomeRequestCompound.from_dict(franchisereferalincome_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GlaccountAutocompleteElementResponse.md b/docs/GlaccountAutocompleteElementResponse.md new file mode 100644 index 000000000..e0e07afb5 --- /dev/null +++ b/docs/GlaccountAutocompleteElementResponse.md @@ -0,0 +1,33 @@ +# GlaccountAutocompleteElementResponse + +A Glaccount AutocompleteElement Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_glaccount_id** | **int** | The unique ID of the Glaccount | +**i_glaccount_code** | **int** | The Code of the Glaccount | +**s_glaccount_description_x** | **str** | The Description for the Glaccount in the language of the requester | +**b_glaccount_isactive** | **bool** | Whether the Glaccount is active or not | + +## Example + +```python +from eZmaxApi.models.glaccount_autocomplete_element_response import GlaccountAutocompleteElementResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of GlaccountAutocompleteElementResponse from a JSON string +glaccount_autocomplete_element_response_instance = GlaccountAutocompleteElementResponse.from_json(json) +# print the JSON string representation of the object +print(GlaccountAutocompleteElementResponse.to_json()) + +# convert the object into a dict +glaccount_autocomplete_element_response_dict = glaccount_autocomplete_element_response_instance.to_dict() +# create an instance of GlaccountAutocompleteElementResponse from a dict +glaccount_autocomplete_element_response_from_dict = GlaccountAutocompleteElementResponse.from_dict(glaccount_autocomplete_element_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GlaccountGetAutocompleteV2Response.md b/docs/GlaccountGetAutocompleteV2Response.md new file mode 100644 index 000000000..a5b1a4011 --- /dev/null +++ b/docs/GlaccountGetAutocompleteV2Response.md @@ -0,0 +1,32 @@ +# GlaccountGetAutocompleteV2Response + +Response for GET /2/object/glaccount/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**GlaccountGetAutocompleteV2ResponseMPayload**](GlaccountGetAutocompleteV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.glaccount_get_autocomplete_v2_response import GlaccountGetAutocompleteV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of GlaccountGetAutocompleteV2Response from a JSON string +glaccount_get_autocomplete_v2_response_instance = GlaccountGetAutocompleteV2Response.from_json(json) +# print the JSON string representation of the object +print(GlaccountGetAutocompleteV2Response.to_json()) + +# convert the object into a dict +glaccount_get_autocomplete_v2_response_dict = glaccount_get_autocomplete_v2_response_instance.to_dict() +# create an instance of GlaccountGetAutocompleteV2Response from a dict +glaccount_get_autocomplete_v2_response_from_dict = GlaccountGetAutocompleteV2Response.from_dict(glaccount_get_autocomplete_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GlaccountGetAutocompleteV2ResponseMPayload.md b/docs/GlaccountGetAutocompleteV2ResponseMPayload.md new file mode 100644 index 000000000..7697c249a --- /dev/null +++ b/docs/GlaccountGetAutocompleteV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# GlaccountGetAutocompleteV2ResponseMPayload + +Payload for POST /2/object/glaccount/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_glaccount** | [**List[GlaccountAutocompleteElementResponse]**](GlaccountAutocompleteElementResponse.md) | An array of Glaccount autocomplete element response. | + +## Example + +```python +from eZmaxApi.models.glaccount_get_autocomplete_v2_response_m_payload import GlaccountGetAutocompleteV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of GlaccountGetAutocompleteV2ResponseMPayload from a JSON string +glaccount_get_autocomplete_v2_response_m_payload_instance = GlaccountGetAutocompleteV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(GlaccountGetAutocompleteV2ResponseMPayload.to_json()) + +# convert the object into a dict +glaccount_get_autocomplete_v2_response_m_payload_dict = glaccount_get_autocomplete_v2_response_m_payload_instance.to_dict() +# create an instance of GlaccountGetAutocompleteV2ResponseMPayload from a dict +glaccount_get_autocomplete_v2_response_m_payload_from_dict = GlaccountGetAutocompleteV2ResponseMPayload.from_dict(glaccount_get_autocomplete_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GlaccountcontainerAutocompleteElementResponse.md b/docs/GlaccountcontainerAutocompleteElementResponse.md new file mode 100644 index 000000000..08b963f2f --- /dev/null +++ b/docs/GlaccountcontainerAutocompleteElementResponse.md @@ -0,0 +1,33 @@ +# GlaccountcontainerAutocompleteElementResponse + +A Glaccountcontainer AutocompleteElement Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | +**s_glaccountcontainer_longcode** | **str** | The Code for the Glaccountcontainer | +**s_glaccountcontainer_longdescription_x** | **str** | The Description for the Glaccountcontainer in the language of the requester | +**b_glaccountcontainer_isactive** | **bool** | Whether the glaccountcontainer is active or not | + +## Example + +```python +from eZmaxApi.models.glaccountcontainer_autocomplete_element_response import GlaccountcontainerAutocompleteElementResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of GlaccountcontainerAutocompleteElementResponse from a JSON string +glaccountcontainer_autocomplete_element_response_instance = GlaccountcontainerAutocompleteElementResponse.from_json(json) +# print the JSON string representation of the object +print(GlaccountcontainerAutocompleteElementResponse.to_json()) + +# convert the object into a dict +glaccountcontainer_autocomplete_element_response_dict = glaccountcontainer_autocomplete_element_response_instance.to_dict() +# create an instance of GlaccountcontainerAutocompleteElementResponse from a dict +glaccountcontainer_autocomplete_element_response_from_dict = GlaccountcontainerAutocompleteElementResponse.from_dict(glaccountcontainer_autocomplete_element_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GlaccountcontainerGetAutocompleteV2Response.md b/docs/GlaccountcontainerGetAutocompleteV2Response.md new file mode 100644 index 000000000..8363c3e15 --- /dev/null +++ b/docs/GlaccountcontainerGetAutocompleteV2Response.md @@ -0,0 +1,32 @@ +# GlaccountcontainerGetAutocompleteV2Response + +Response for GET /2/object/glaccountcontainer/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**GlaccountcontainerGetAutocompleteV2ResponseMPayload**](GlaccountcontainerGetAutocompleteV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response import GlaccountcontainerGetAutocompleteV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of GlaccountcontainerGetAutocompleteV2Response from a JSON string +glaccountcontainer_get_autocomplete_v2_response_instance = GlaccountcontainerGetAutocompleteV2Response.from_json(json) +# print the JSON string representation of the object +print(GlaccountcontainerGetAutocompleteV2Response.to_json()) + +# convert the object into a dict +glaccountcontainer_get_autocomplete_v2_response_dict = glaccountcontainer_get_autocomplete_v2_response_instance.to_dict() +# create an instance of GlaccountcontainerGetAutocompleteV2Response from a dict +glaccountcontainer_get_autocomplete_v2_response_from_dict = GlaccountcontainerGetAutocompleteV2Response.from_dict(glaccountcontainer_get_autocomplete_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GlaccountcontainerGetAutocompleteV2ResponseMPayload.md b/docs/GlaccountcontainerGetAutocompleteV2ResponseMPayload.md new file mode 100644 index 000000000..d18fba331 --- /dev/null +++ b/docs/GlaccountcontainerGetAutocompleteV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# GlaccountcontainerGetAutocompleteV2ResponseMPayload + +Payload for POST /2/object/glaccountcontainer/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_glaccountcontainer** | [**List[GlaccountcontainerAutocompleteElementResponse]**](GlaccountcontainerAutocompleteElementResponse.md) | An array of Glaccountcontainer autocomplete element response. | + +## Example + +```python +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response_m_payload import GlaccountcontainerGetAutocompleteV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of GlaccountcontainerGetAutocompleteV2ResponseMPayload from a JSON string +glaccountcontainer_get_autocomplete_v2_response_m_payload_instance = GlaccountcontainerGetAutocompleteV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(GlaccountcontainerGetAutocompleteV2ResponseMPayload.to_json()) + +# convert the object into a dict +glaccountcontainer_get_autocomplete_v2_response_m_payload_dict = glaccountcontainer_get_autocomplete_v2_response_m_payload_instance.to_dict() +# create an instance of GlaccountcontainerGetAutocompleteV2ResponseMPayload from a dict +glaccountcontainer_get_autocomplete_v2_response_m_payload_from_dict = GlaccountcontainerGetAutocompleteV2ResponseMPayload.from_dict(glaccountcontainer_get_autocomplete_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GlobalCustomerGetEndpointV1Response.md b/docs/GlobalCustomerGetEndpointV1Response.md index 179c8a879..6feeb80dd 100644 --- a/docs/GlobalCustomerGetEndpointV1Response.md +++ b/docs/GlobalCustomerGetEndpointV1Response.md @@ -23,7 +23,7 @@ print(GlobalCustomerGetEndpointV1Response.to_json()) # convert the object into a dict global_customer_get_endpoint_v1_response_dict = global_customer_get_endpoint_v1_response_instance.to_dict() # create an instance of GlobalCustomerGetEndpointV1Response from a dict -global_customer_get_endpoint_v1_response_form_dict = global_customer_get_endpoint_v1_response.from_dict(global_customer_get_endpoint_v1_response_dict) +global_customer_get_endpoint_v1_response_from_dict = GlobalCustomerGetEndpointV1Response.from_dict(global_customer_get_endpoint_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GlobalEzmaxclientVersionV1Response.md b/docs/GlobalEzmaxclientVersionV1Response.md index fa2477846..f6222c825 100644 --- a/docs/GlobalEzmaxclientVersionV1Response.md +++ b/docs/GlobalEzmaxclientVersionV1Response.md @@ -24,7 +24,7 @@ print(GlobalEzmaxclientVersionV1Response.to_json()) # convert the object into a dict global_ezmaxclient_version_v1_response_dict = global_ezmaxclient_version_v1_response_instance.to_dict() # create an instance of GlobalEzmaxclientVersionV1Response from a dict -global_ezmaxclient_version_v1_response_form_dict = global_ezmaxclient_version_v1_response.from_dict(global_ezmaxclient_version_v1_response_dict) +global_ezmaxclient_version_v1_response_from_dict = GlobalEzmaxclientVersionV1Response.from_dict(global_ezmaxclient_version_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GlobalEzmaxcustomerGetConfigurationV1Response.md b/docs/GlobalEzmaxcustomerGetConfigurationV1Response.md index d7d6c6024..5f0e598e3 100644 --- a/docs/GlobalEzmaxcustomerGetConfigurationV1Response.md +++ b/docs/GlobalEzmaxcustomerGetConfigurationV1Response.md @@ -27,7 +27,7 @@ print(GlobalEzmaxcustomerGetConfigurationV1Response.to_json()) # convert the object into a dict global_ezmaxcustomer_get_configuration_v1_response_dict = global_ezmaxcustomer_get_configuration_v1_response_instance.to_dict() # create an instance of GlobalEzmaxcustomerGetConfigurationV1Response from a dict -global_ezmaxcustomer_get_configuration_v1_response_form_dict = global_ezmaxcustomer_get_configuration_v1_response.from_dict(global_ezmaxcustomer_get_configuration_v1_response_dict) +global_ezmaxcustomer_get_configuration_v1_response_from_dict = GlobalEzmaxcustomerGetConfigurationV1Response.from_dict(global_ezmaxcustomer_get_configuration_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/HeaderAcceptLanguage.md b/docs/HeaderAcceptLanguage.md index 69f7f6ed5..5da257532 100644 --- a/docs/HeaderAcceptLanguage.md +++ b/docs/HeaderAcceptLanguage.md @@ -2,10 +2,13 @@ The language of the returned content. 1. **\\*** (or header not defined) Default language 2. **en** English 2. **fr** French -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `STAR` (value: `'*'`) + +* `EN` (value: `'en'`) + +* `FR` (value: `'fr'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptionGetAttachmentsV1Response.md b/docs/InscriptionGetAttachmentsV1Response.md index 564b6b3a2..9acfb241f 100644 --- a/docs/InscriptionGetAttachmentsV1Response.md +++ b/docs/InscriptionGetAttachmentsV1Response.md @@ -25,7 +25,7 @@ print(InscriptionGetAttachmentsV1Response.to_json()) # convert the object into a dict inscription_get_attachments_v1_response_dict = inscription_get_attachments_v1_response_instance.to_dict() # create an instance of InscriptionGetAttachmentsV1Response from a dict -inscription_get_attachments_v1_response_form_dict = inscription_get_attachments_v1_response.from_dict(inscription_get_attachments_v1_response_dict) +inscription_get_attachments_v1_response_from_dict = InscriptionGetAttachmentsV1Response.from_dict(inscription_get_attachments_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptionGetAttachmentsV1ResponseMPayload.md b/docs/InscriptionGetAttachmentsV1ResponseMPayload.md index 60b6a9857..bdd6147c7 100644 --- a/docs/InscriptionGetAttachmentsV1ResponseMPayload.md +++ b/docs/InscriptionGetAttachmentsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(InscriptionGetAttachmentsV1ResponseMPayload.to_json()) # convert the object into a dict inscription_get_attachments_v1_response_m_payload_dict = inscription_get_attachments_v1_response_m_payload_instance.to_dict() # create an instance of InscriptionGetAttachmentsV1ResponseMPayload from a dict -inscription_get_attachments_v1_response_m_payload_form_dict = inscription_get_attachments_v1_response_m_payload.from_dict(inscription_get_attachments_v1_response_m_payload_dict) +inscription_get_attachments_v1_response_m_payload_from_dict = InscriptionGetAttachmentsV1ResponseMPayload.from_dict(inscription_get_attachments_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptionGetCommunicationCountV1Response.md b/docs/InscriptionGetCommunicationCountV1Response.md new file mode 100644 index 000000000..968dfe818 --- /dev/null +++ b/docs/InscriptionGetCommunicationCountV1Response.md @@ -0,0 +1,32 @@ +# InscriptionGetCommunicationCountV1Response + +Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptionGetCommunicationCountV1ResponseMPayload**](InscriptionGetCommunicationCountV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscription_get_communication_count_v1_response import InscriptionGetCommunicationCountV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionGetCommunicationCountV1Response from a JSON string +inscription_get_communication_count_v1_response_instance = InscriptionGetCommunicationCountV1Response.from_json(json) +# print the JSON string representation of the object +print(InscriptionGetCommunicationCountV1Response.to_json()) + +# convert the object into a dict +inscription_get_communication_count_v1_response_dict = inscription_get_communication_count_v1_response_instance.to_dict() +# create an instance of InscriptionGetCommunicationCountV1Response from a dict +inscription_get_communication_count_v1_response_from_dict = InscriptionGetCommunicationCountV1Response.from_dict(inscription_get_communication_count_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptionGetCommunicationCountV1ResponseMPayload.md b/docs/InscriptionGetCommunicationCountV1ResponseMPayload.md new file mode 100644 index 000000000..bddb72a25 --- /dev/null +++ b/docs/InscriptionGetCommunicationCountV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InscriptionGetCommunicationCountV1ResponseMPayload + +Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_communication_count** | **int** | The count of Communication. | + +## Example + +```python +from eZmaxApi.models.inscription_get_communication_count_v1_response_m_payload import InscriptionGetCommunicationCountV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionGetCommunicationCountV1ResponseMPayload from a JSON string +inscription_get_communication_count_v1_response_m_payload_instance = InscriptionGetCommunicationCountV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InscriptionGetCommunicationCountV1ResponseMPayload.to_json()) + +# convert the object into a dict +inscription_get_communication_count_v1_response_m_payload_dict = inscription_get_communication_count_v1_response_m_payload_instance.to_dict() +# create an instance of InscriptionGetCommunicationCountV1ResponseMPayload from a dict +inscription_get_communication_count_v1_response_m_payload_from_dict = InscriptionGetCommunicationCountV1ResponseMPayload.from_dict(inscription_get_communication_count_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptionGetCommunicationListV1Response.md b/docs/InscriptionGetCommunicationListV1Response.md index 5e8294e4a..9d190edff 100644 --- a/docs/InscriptionGetCommunicationListV1Response.md +++ b/docs/InscriptionGetCommunicationListV1Response.md @@ -25,7 +25,7 @@ print(InscriptionGetCommunicationListV1Response.to_json()) # convert the object into a dict inscription_get_communication_list_v1_response_dict = inscription_get_communication_list_v1_response_instance.to_dict() # create an instance of InscriptionGetCommunicationListV1Response from a dict -inscription_get_communication_list_v1_response_form_dict = inscription_get_communication_list_v1_response.from_dict(inscription_get_communication_list_v1_response_dict) +inscription_get_communication_list_v1_response_from_dict = InscriptionGetCommunicationListV1Response.from_dict(inscription_get_communication_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptionGetCommunicationListV1ResponseMPayload.md b/docs/InscriptionGetCommunicationListV1ResponseMPayload.md index b9830196d..2b8fc028c 100644 --- a/docs/InscriptionGetCommunicationListV1ResponseMPayload.md +++ b/docs/InscriptionGetCommunicationListV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(InscriptionGetCommunicationListV1ResponseMPayload.to_json()) # convert the object into a dict inscription_get_communication_list_v1_response_m_payload_dict = inscription_get_communication_list_v1_response_m_payload_instance.to_dict() # create an instance of InscriptionGetCommunicationListV1ResponseMPayload from a dict -inscription_get_communication_list_v1_response_m_payload_form_dict = inscription_get_communication_list_v1_response_m_payload.from_dict(inscription_get_communication_list_v1_response_m_payload_dict) +inscription_get_communication_list_v1_response_m_payload_from_dict = InscriptionGetCommunicationListV1ResponseMPayload.from_dict(inscription_get_communication_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptionGetCommunicationrecipientsV1Response.md b/docs/InscriptionGetCommunicationrecipientsV1Response.md new file mode 100644 index 000000000..cb2291cdd --- /dev/null +++ b/docs/InscriptionGetCommunicationrecipientsV1Response.md @@ -0,0 +1,32 @@ +# InscriptionGetCommunicationrecipientsV1Response + +Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptionGetCommunicationrecipientsV1ResponseMPayload**](InscriptionGetCommunicationrecipientsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response import InscriptionGetCommunicationrecipientsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionGetCommunicationrecipientsV1Response from a JSON string +inscription_get_communicationrecipients_v1_response_instance = InscriptionGetCommunicationrecipientsV1Response.from_json(json) +# print the JSON string representation of the object +print(InscriptionGetCommunicationrecipientsV1Response.to_json()) + +# convert the object into a dict +inscription_get_communicationrecipients_v1_response_dict = inscription_get_communicationrecipients_v1_response_instance.to_dict() +# create an instance of InscriptionGetCommunicationrecipientsV1Response from a dict +inscription_get_communicationrecipients_v1_response_from_dict = InscriptionGetCommunicationrecipientsV1Response.from_dict(inscription_get_communicationrecipients_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptionGetCommunicationrecipientsV1ResponseMPayload.md b/docs/InscriptionGetCommunicationrecipientsV1ResponseMPayload.md new file mode 100644 index 000000000..03472582e --- /dev/null +++ b/docs/InscriptionGetCommunicationrecipientsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InscriptionGetCommunicationrecipientsV1ResponseMPayload + +Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationrecipientsgroup** | [**List[CustomCommunicationrecipientsgroupResponse]**](CustomCommunicationrecipientsgroupResponse.md) | | + +## Example + +```python +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response_m_payload import InscriptionGetCommunicationrecipientsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionGetCommunicationrecipientsV1ResponseMPayload from a JSON string +inscription_get_communicationrecipients_v1_response_m_payload_instance = InscriptionGetCommunicationrecipientsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InscriptionGetCommunicationrecipientsV1ResponseMPayload.to_json()) + +# convert the object into a dict +inscription_get_communicationrecipients_v1_response_m_payload_dict = inscription_get_communicationrecipients_v1_response_m_payload_instance.to_dict() +# create an instance of InscriptionGetCommunicationrecipientsV1ResponseMPayload from a dict +inscription_get_communicationrecipients_v1_response_m_payload_from_dict = InscriptionGetCommunicationrecipientsV1ResponseMPayload.from_dict(inscription_get_communicationrecipients_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptionGetCommunicationsendersV1Response.md b/docs/InscriptionGetCommunicationsendersV1Response.md index e42c8c752..8120c400f 100644 --- a/docs/InscriptionGetCommunicationsendersV1Response.md +++ b/docs/InscriptionGetCommunicationsendersV1Response.md @@ -25,7 +25,7 @@ print(InscriptionGetCommunicationsendersV1Response.to_json()) # convert the object into a dict inscription_get_communicationsenders_v1_response_dict = inscription_get_communicationsenders_v1_response_instance.to_dict() # create an instance of InscriptionGetCommunicationsendersV1Response from a dict -inscription_get_communicationsenders_v1_response_form_dict = inscription_get_communicationsenders_v1_response.from_dict(inscription_get_communicationsenders_v1_response_dict) +inscription_get_communicationsenders_v1_response_from_dict = InscriptionGetCommunicationsendersV1Response.from_dict(inscription_get_communicationsenders_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptionGetCommunicationsendersV1ResponseMPayload.md b/docs/InscriptionGetCommunicationsendersV1ResponseMPayload.md index 8b3642337..25ca8cc28 100644 --- a/docs/InscriptionGetCommunicationsendersV1ResponseMPayload.md +++ b/docs/InscriptionGetCommunicationsendersV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(InscriptionGetCommunicationsendersV1ResponseMPayload.to_json()) # convert the object into a dict inscription_get_communicationsenders_v1_response_m_payload_dict = inscription_get_communicationsenders_v1_response_m_payload_instance.to_dict() # create an instance of InscriptionGetCommunicationsendersV1ResponseMPayload from a dict -inscription_get_communicationsenders_v1_response_m_payload_form_dict = inscription_get_communicationsenders_v1_response_m_payload.from_dict(inscription_get_communicationsenders_v1_response_m_payload_dict) +inscription_get_communicationsenders_v1_response_m_payload_from_dict = InscriptionGetCommunicationsendersV1ResponseMPayload.from_dict(inscription_get_communicationsenders_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md b/docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md new file mode 100644 index 000000000..e3a57c2de --- /dev/null +++ b/docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md @@ -0,0 +1,32 @@ +# InscriptionnotauthenticatedGetCommunicationCountV1Response + +Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload**](InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response import InscriptionnotauthenticatedGetCommunicationCountV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionnotauthenticatedGetCommunicationCountV1Response from a JSON string +inscriptionnotauthenticated_get_communication_count_v1_response_instance = InscriptionnotauthenticatedGetCommunicationCountV1Response.from_json(json) +# print the JSON string representation of the object +print(InscriptionnotauthenticatedGetCommunicationCountV1Response.to_json()) + +# convert the object into a dict +inscriptionnotauthenticated_get_communication_count_v1_response_dict = inscriptionnotauthenticated_get_communication_count_v1_response_instance.to_dict() +# create an instance of InscriptionnotauthenticatedGetCommunicationCountV1Response from a dict +inscriptionnotauthenticated_get_communication_count_v1_response_from_dict = InscriptionnotauthenticatedGetCommunicationCountV1Response.from_dict(inscriptionnotauthenticated_get_communication_count_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.md b/docs/InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.md new file mode 100644 index 000000000..274e6b537 --- /dev/null +++ b/docs/InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload + +Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_communication_count** | **int** | The count of Communication. | + +## Example + +```python +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload from a JSON string +inscriptionnotauthenticated_get_communication_count_v1_response_m_payload_instance = InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.to_json()) + +# convert the object into a dict +inscriptionnotauthenticated_get_communication_count_v1_response_m_payload_dict = inscriptionnotauthenticated_get_communication_count_v1_response_m_payload_instance.to_dict() +# create an instance of InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload from a dict +inscriptionnotauthenticated_get_communication_count_v1_response_m_payload_from_dict = InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.from_dict(inscriptionnotauthenticated_get_communication_count_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md b/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md index 7e5eca484..e18185624 100644 --- a/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md +++ b/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md @@ -25,7 +25,7 @@ print(InscriptionnotauthenticatedGetCommunicationListV1Response.to_json()) # convert the object into a dict inscriptionnotauthenticated_get_communication_list_v1_response_dict = inscriptionnotauthenticated_get_communication_list_v1_response_instance.to_dict() # create an instance of InscriptionnotauthenticatedGetCommunicationListV1Response from a dict -inscriptionnotauthenticated_get_communication_list_v1_response_form_dict = inscriptionnotauthenticated_get_communication_list_v1_response.from_dict(inscriptionnotauthenticated_get_communication_list_v1_response_dict) +inscriptionnotauthenticated_get_communication_list_v1_response_from_dict = InscriptionnotauthenticatedGetCommunicationListV1Response.from_dict(inscriptionnotauthenticated_get_communication_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md b/docs/InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md index 61d70d2f2..fabc864f4 100644 --- a/docs/InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md +++ b/docs/InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.to_json( # convert the object into a dict inscriptionnotauthenticated_get_communication_list_v1_response_m_payload_dict = inscriptionnotauthenticated_get_communication_list_v1_response_m_payload_instance.to_dict() # create an instance of InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload from a dict -inscriptionnotauthenticated_get_communication_list_v1_response_m_payload_form_dict = inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.from_dict(inscriptionnotauthenticated_get_communication_list_v1_response_m_payload_dict) +inscriptionnotauthenticated_get_communication_list_v1_response_m_payload_from_dict = InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.from_dict(inscriptionnotauthenticated_get_communication_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md b/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md new file mode 100644 index 000000000..03e0565f5 --- /dev/null +++ b/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md @@ -0,0 +1,32 @@ +# InscriptionnotauthenticatedGetCommunicationrecipientsV1Response + +Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload**](InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response import InscriptionnotauthenticatedGetCommunicationrecipientsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionnotauthenticatedGetCommunicationrecipientsV1Response from a JSON string +inscriptionnotauthenticated_get_communicationrecipients_v1_response_instance = InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.from_json(json) +# print the JSON string representation of the object +print(InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.to_json()) + +# convert the object into a dict +inscriptionnotauthenticated_get_communicationrecipients_v1_response_dict = inscriptionnotauthenticated_get_communicationrecipients_v1_response_instance.to_dict() +# create an instance of InscriptionnotauthenticatedGetCommunicationrecipientsV1Response from a dict +inscriptionnotauthenticated_get_communicationrecipients_v1_response_from_dict = InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.from_dict(inscriptionnotauthenticated_get_communicationrecipients_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.md b/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.md new file mode 100644 index 000000000..e7dac677d --- /dev/null +++ b/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload + +Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationrecipientsgroup** | [**List[CustomCommunicationrecipientsgroupResponse]**](CustomCommunicationrecipientsgroupResponse.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload from a JSON string +inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload_instance = InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.to_json()) + +# convert the object into a dict +inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload_dict = inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload_instance.to_dict() +# create an instance of InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload from a dict +inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload_from_dict = InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.from_dict(inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md b/docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md new file mode 100644 index 000000000..ac50bd377 --- /dev/null +++ b/docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md @@ -0,0 +1,32 @@ +# InscriptionnotauthenticatedGetCommunicationsendersV1Response + +Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload**](InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response import InscriptionnotauthenticatedGetCommunicationsendersV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionnotauthenticatedGetCommunicationsendersV1Response from a JSON string +inscriptionnotauthenticated_get_communicationsenders_v1_response_instance = InscriptionnotauthenticatedGetCommunicationsendersV1Response.from_json(json) +# print the JSON string representation of the object +print(InscriptionnotauthenticatedGetCommunicationsendersV1Response.to_json()) + +# convert the object into a dict +inscriptionnotauthenticated_get_communicationsenders_v1_response_dict = inscriptionnotauthenticated_get_communicationsenders_v1_response_instance.to_dict() +# create an instance of InscriptionnotauthenticatedGetCommunicationsendersV1Response from a dict +inscriptionnotauthenticated_get_communicationsenders_v1_response_from_dict = InscriptionnotauthenticatedGetCommunicationsendersV1Response.from_dict(inscriptionnotauthenticated_get_communicationsenders_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.md b/docs/InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.md new file mode 100644 index 000000000..323eab102 --- /dev/null +++ b/docs/InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload + +Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationsenders + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationsenders** | [**List[CustomCommunicationsenderResponse]**](CustomCommunicationsenderResponse.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload from a JSON string +inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload_instance = InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.to_json()) + +# convert the object into a dict +inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload_dict = inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload_instance.to_dict() +# create an instance of InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload from a dict +inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload_from_dict = InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.from_dict(inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptiontempGetCommunicationCountV1Response.md b/docs/InscriptiontempGetCommunicationCountV1Response.md new file mode 100644 index 000000000..8ff514fcc --- /dev/null +++ b/docs/InscriptiontempGetCommunicationCountV1Response.md @@ -0,0 +1,32 @@ +# InscriptiontempGetCommunicationCountV1Response + +Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptiontempGetCommunicationCountV1ResponseMPayload**](InscriptiontempGetCommunicationCountV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response import InscriptiontempGetCommunicationCountV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptiontempGetCommunicationCountV1Response from a JSON string +inscriptiontemp_get_communication_count_v1_response_instance = InscriptiontempGetCommunicationCountV1Response.from_json(json) +# print the JSON string representation of the object +print(InscriptiontempGetCommunicationCountV1Response.to_json()) + +# convert the object into a dict +inscriptiontemp_get_communication_count_v1_response_dict = inscriptiontemp_get_communication_count_v1_response_instance.to_dict() +# create an instance of InscriptiontempGetCommunicationCountV1Response from a dict +inscriptiontemp_get_communication_count_v1_response_from_dict = InscriptiontempGetCommunicationCountV1Response.from_dict(inscriptiontemp_get_communication_count_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptiontempGetCommunicationCountV1ResponseMPayload.md b/docs/InscriptiontempGetCommunicationCountV1ResponseMPayload.md new file mode 100644 index 000000000..1697034db --- /dev/null +++ b/docs/InscriptiontempGetCommunicationCountV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InscriptiontempGetCommunicationCountV1ResponseMPayload + +Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_communication_count** | **int** | The count of Communication. | + +## Example + +```python +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response_m_payload import InscriptiontempGetCommunicationCountV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptiontempGetCommunicationCountV1ResponseMPayload from a JSON string +inscriptiontemp_get_communication_count_v1_response_m_payload_instance = InscriptiontempGetCommunicationCountV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InscriptiontempGetCommunicationCountV1ResponseMPayload.to_json()) + +# convert the object into a dict +inscriptiontemp_get_communication_count_v1_response_m_payload_dict = inscriptiontemp_get_communication_count_v1_response_m_payload_instance.to_dict() +# create an instance of InscriptiontempGetCommunicationCountV1ResponseMPayload from a dict +inscriptiontemp_get_communication_count_v1_response_m_payload_from_dict = InscriptiontempGetCommunicationCountV1ResponseMPayload.from_dict(inscriptiontemp_get_communication_count_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptiontempGetCommunicationListV1Response.md b/docs/InscriptiontempGetCommunicationListV1Response.md index 034f8276c..abf38a6f3 100644 --- a/docs/InscriptiontempGetCommunicationListV1Response.md +++ b/docs/InscriptiontempGetCommunicationListV1Response.md @@ -25,7 +25,7 @@ print(InscriptiontempGetCommunicationListV1Response.to_json()) # convert the object into a dict inscriptiontemp_get_communication_list_v1_response_dict = inscriptiontemp_get_communication_list_v1_response_instance.to_dict() # create an instance of InscriptiontempGetCommunicationListV1Response from a dict -inscriptiontemp_get_communication_list_v1_response_form_dict = inscriptiontemp_get_communication_list_v1_response.from_dict(inscriptiontemp_get_communication_list_v1_response_dict) +inscriptiontemp_get_communication_list_v1_response_from_dict = InscriptiontempGetCommunicationListV1Response.from_dict(inscriptiontemp_get_communication_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptiontempGetCommunicationListV1ResponseMPayload.md b/docs/InscriptiontempGetCommunicationListV1ResponseMPayload.md index 2caf5c84f..7725939a9 100644 --- a/docs/InscriptiontempGetCommunicationListV1ResponseMPayload.md +++ b/docs/InscriptiontempGetCommunicationListV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(InscriptiontempGetCommunicationListV1ResponseMPayload.to_json()) # convert the object into a dict inscriptiontemp_get_communication_list_v1_response_m_payload_dict = inscriptiontemp_get_communication_list_v1_response_m_payload_instance.to_dict() # create an instance of InscriptiontempGetCommunicationListV1ResponseMPayload from a dict -inscriptiontemp_get_communication_list_v1_response_m_payload_form_dict = inscriptiontemp_get_communication_list_v1_response_m_payload.from_dict(inscriptiontemp_get_communication_list_v1_response_m_payload_dict) +inscriptiontemp_get_communication_list_v1_response_m_payload_from_dict = InscriptiontempGetCommunicationListV1ResponseMPayload.from_dict(inscriptiontemp_get_communication_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InscriptiontempGetCommunicationrecipientsV1Response.md b/docs/InscriptiontempGetCommunicationrecipientsV1Response.md new file mode 100644 index 000000000..5081dcebb --- /dev/null +++ b/docs/InscriptiontempGetCommunicationrecipientsV1Response.md @@ -0,0 +1,32 @@ +# InscriptiontempGetCommunicationrecipientsV1Response + +Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptiontempGetCommunicationrecipientsV1ResponseMPayload**](InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response import InscriptiontempGetCommunicationrecipientsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptiontempGetCommunicationrecipientsV1Response from a JSON string +inscriptiontemp_get_communicationrecipients_v1_response_instance = InscriptiontempGetCommunicationrecipientsV1Response.from_json(json) +# print the JSON string representation of the object +print(InscriptiontempGetCommunicationrecipientsV1Response.to_json()) + +# convert the object into a dict +inscriptiontemp_get_communicationrecipients_v1_response_dict = inscriptiontemp_get_communicationrecipients_v1_response_instance.to_dict() +# create an instance of InscriptiontempGetCommunicationrecipientsV1Response from a dict +inscriptiontemp_get_communicationrecipients_v1_response_from_dict = InscriptiontempGetCommunicationrecipientsV1Response.from_dict(inscriptiontemp_get_communicationrecipients_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.md b/docs/InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.md new file mode 100644 index 000000000..62bec36e2 --- /dev/null +++ b/docs/InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InscriptiontempGetCommunicationrecipientsV1ResponseMPayload + +Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationrecipientsgroup** | [**List[CustomCommunicationrecipientsgroupResponse]**](CustomCommunicationrecipientsgroupResponse.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response_m_payload import InscriptiontempGetCommunicationrecipientsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptiontempGetCommunicationrecipientsV1ResponseMPayload from a JSON string +inscriptiontemp_get_communicationrecipients_v1_response_m_payload_instance = InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.to_json()) + +# convert the object into a dict +inscriptiontemp_get_communicationrecipients_v1_response_m_payload_dict = inscriptiontemp_get_communicationrecipients_v1_response_m_payload_instance.to_dict() +# create an instance of InscriptiontempGetCommunicationrecipientsV1ResponseMPayload from a dict +inscriptiontemp_get_communicationrecipients_v1_response_m_payload_from_dict = InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.from_dict(inscriptiontemp_get_communicationrecipients_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptiontempGetCommunicationsendersV1Response.md b/docs/InscriptiontempGetCommunicationsendersV1Response.md new file mode 100644 index 000000000..d673aa1ff --- /dev/null +++ b/docs/InscriptiontempGetCommunicationsendersV1Response.md @@ -0,0 +1,32 @@ +# InscriptiontempGetCommunicationsendersV1Response + +Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptiontempGetCommunicationsendersV1ResponseMPayload**](InscriptiontempGetCommunicationsendersV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response import InscriptiontempGetCommunicationsendersV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptiontempGetCommunicationsendersV1Response from a JSON string +inscriptiontemp_get_communicationsenders_v1_response_instance = InscriptiontempGetCommunicationsendersV1Response.from_json(json) +# print the JSON string representation of the object +print(InscriptiontempGetCommunicationsendersV1Response.to_json()) + +# convert the object into a dict +inscriptiontemp_get_communicationsenders_v1_response_dict = inscriptiontemp_get_communicationsenders_v1_response_instance.to_dict() +# create an instance of InscriptiontempGetCommunicationsendersV1Response from a dict +inscriptiontemp_get_communicationsenders_v1_response_from_dict = InscriptiontempGetCommunicationsendersV1Response.from_dict(inscriptiontemp_get_communicationsenders_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InscriptiontempGetCommunicationsendersV1ResponseMPayload.md b/docs/InscriptiontempGetCommunicationsendersV1ResponseMPayload.md new file mode 100644 index 000000000..195e22e85 --- /dev/null +++ b/docs/InscriptiontempGetCommunicationsendersV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InscriptiontempGetCommunicationsendersV1ResponseMPayload + +Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationsenders + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationsenders** | [**List[CustomCommunicationsenderResponse]**](CustomCommunicationsenderResponse.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response_m_payload import InscriptiontempGetCommunicationsendersV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptiontempGetCommunicationsendersV1ResponseMPayload from a JSON string +inscriptiontemp_get_communicationsenders_v1_response_m_payload_instance = InscriptiontempGetCommunicationsendersV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InscriptiontempGetCommunicationsendersV1ResponseMPayload.to_json()) + +# convert the object into a dict +inscriptiontemp_get_communicationsenders_v1_response_m_payload_dict = inscriptiontemp_get_communicationsenders_v1_response_m_payload_instance.to_dict() +# create an instance of InscriptiontempGetCommunicationsendersV1ResponseMPayload from a dict +inscriptiontemp_get_communicationsenders_v1_response_m_payload_from_dict = InscriptiontempGetCommunicationsendersV1ResponseMPayload.from_dict(inscriptiontemp_get_communicationsenders_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InvoiceGetAttachmentsV1Response.md b/docs/InvoiceGetAttachmentsV1Response.md index 894ccd6ef..636c20023 100644 --- a/docs/InvoiceGetAttachmentsV1Response.md +++ b/docs/InvoiceGetAttachmentsV1Response.md @@ -25,7 +25,7 @@ print(InvoiceGetAttachmentsV1Response.to_json()) # convert the object into a dict invoice_get_attachments_v1_response_dict = invoice_get_attachments_v1_response_instance.to_dict() # create an instance of InvoiceGetAttachmentsV1Response from a dict -invoice_get_attachments_v1_response_form_dict = invoice_get_attachments_v1_response.from_dict(invoice_get_attachments_v1_response_dict) +invoice_get_attachments_v1_response_from_dict = InvoiceGetAttachmentsV1Response.from_dict(invoice_get_attachments_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InvoiceGetAttachmentsV1ResponseMPayload.md b/docs/InvoiceGetAttachmentsV1ResponseMPayload.md index 2c9ca06d9..66527a1cb 100644 --- a/docs/InvoiceGetAttachmentsV1ResponseMPayload.md +++ b/docs/InvoiceGetAttachmentsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(InvoiceGetAttachmentsV1ResponseMPayload.to_json()) # convert the object into a dict invoice_get_attachments_v1_response_m_payload_dict = invoice_get_attachments_v1_response_m_payload_instance.to_dict() # create an instance of InvoiceGetAttachmentsV1ResponseMPayload from a dict -invoice_get_attachments_v1_response_m_payload_form_dict = invoice_get_attachments_v1_response_m_payload.from_dict(invoice_get_attachments_v1_response_m_payload_dict) +invoice_get_attachments_v1_response_m_payload_from_dict = InvoiceGetAttachmentsV1ResponseMPayload.from_dict(invoice_get_attachments_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InvoiceGetCommunicationCountV1Response.md b/docs/InvoiceGetCommunicationCountV1Response.md new file mode 100644 index 000000000..7b361c091 --- /dev/null +++ b/docs/InvoiceGetCommunicationCountV1Response.md @@ -0,0 +1,32 @@ +# InvoiceGetCommunicationCountV1Response + +Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InvoiceGetCommunicationCountV1ResponseMPayload**](InvoiceGetCommunicationCountV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.invoice_get_communication_count_v1_response import InvoiceGetCommunicationCountV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InvoiceGetCommunicationCountV1Response from a JSON string +invoice_get_communication_count_v1_response_instance = InvoiceGetCommunicationCountV1Response.from_json(json) +# print the JSON string representation of the object +print(InvoiceGetCommunicationCountV1Response.to_json()) + +# convert the object into a dict +invoice_get_communication_count_v1_response_dict = invoice_get_communication_count_v1_response_instance.to_dict() +# create an instance of InvoiceGetCommunicationCountV1Response from a dict +invoice_get_communication_count_v1_response_from_dict = InvoiceGetCommunicationCountV1Response.from_dict(invoice_get_communication_count_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InvoiceGetCommunicationCountV1ResponseMPayload.md b/docs/InvoiceGetCommunicationCountV1ResponseMPayload.md new file mode 100644 index 000000000..ee4d412f9 --- /dev/null +++ b/docs/InvoiceGetCommunicationCountV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InvoiceGetCommunicationCountV1ResponseMPayload + +Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_communication_count** | **int** | The count of Communication. | + +## Example + +```python +from eZmaxApi.models.invoice_get_communication_count_v1_response_m_payload import InvoiceGetCommunicationCountV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InvoiceGetCommunicationCountV1ResponseMPayload from a JSON string +invoice_get_communication_count_v1_response_m_payload_instance = InvoiceGetCommunicationCountV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InvoiceGetCommunicationCountV1ResponseMPayload.to_json()) + +# convert the object into a dict +invoice_get_communication_count_v1_response_m_payload_dict = invoice_get_communication_count_v1_response_m_payload_instance.to_dict() +# create an instance of InvoiceGetCommunicationCountV1ResponseMPayload from a dict +invoice_get_communication_count_v1_response_m_payload_from_dict = InvoiceGetCommunicationCountV1ResponseMPayload.from_dict(invoice_get_communication_count_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InvoiceGetCommunicationListV1Response.md b/docs/InvoiceGetCommunicationListV1Response.md index 05f9afd45..f5fd8ba47 100644 --- a/docs/InvoiceGetCommunicationListV1Response.md +++ b/docs/InvoiceGetCommunicationListV1Response.md @@ -25,7 +25,7 @@ print(InvoiceGetCommunicationListV1Response.to_json()) # convert the object into a dict invoice_get_communication_list_v1_response_dict = invoice_get_communication_list_v1_response_instance.to_dict() # create an instance of InvoiceGetCommunicationListV1Response from a dict -invoice_get_communication_list_v1_response_form_dict = invoice_get_communication_list_v1_response.from_dict(invoice_get_communication_list_v1_response_dict) +invoice_get_communication_list_v1_response_from_dict = InvoiceGetCommunicationListV1Response.from_dict(invoice_get_communication_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InvoiceGetCommunicationListV1ResponseMPayload.md b/docs/InvoiceGetCommunicationListV1ResponseMPayload.md index fa9c17601..195ff979e 100644 --- a/docs/InvoiceGetCommunicationListV1ResponseMPayload.md +++ b/docs/InvoiceGetCommunicationListV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(InvoiceGetCommunicationListV1ResponseMPayload.to_json()) # convert the object into a dict invoice_get_communication_list_v1_response_m_payload_dict = invoice_get_communication_list_v1_response_m_payload_instance.to_dict() # create an instance of InvoiceGetCommunicationListV1ResponseMPayload from a dict -invoice_get_communication_list_v1_response_m_payload_form_dict = invoice_get_communication_list_v1_response_m_payload.from_dict(invoice_get_communication_list_v1_response_m_payload_dict) +invoice_get_communication_list_v1_response_m_payload_from_dict = InvoiceGetCommunicationListV1ResponseMPayload.from_dict(invoice_get_communication_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InvoiceGetCommunicationrecipientsV1Response.md b/docs/InvoiceGetCommunicationrecipientsV1Response.md new file mode 100644 index 000000000..df43b928c --- /dev/null +++ b/docs/InvoiceGetCommunicationrecipientsV1Response.md @@ -0,0 +1,32 @@ +# InvoiceGetCommunicationrecipientsV1Response + +Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InvoiceGetCommunicationrecipientsV1ResponseMPayload**](InvoiceGetCommunicationrecipientsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response import InvoiceGetCommunicationrecipientsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InvoiceGetCommunicationrecipientsV1Response from a JSON string +invoice_get_communicationrecipients_v1_response_instance = InvoiceGetCommunicationrecipientsV1Response.from_json(json) +# print the JSON string representation of the object +print(InvoiceGetCommunicationrecipientsV1Response.to_json()) + +# convert the object into a dict +invoice_get_communicationrecipients_v1_response_dict = invoice_get_communicationrecipients_v1_response_instance.to_dict() +# create an instance of InvoiceGetCommunicationrecipientsV1Response from a dict +invoice_get_communicationrecipients_v1_response_from_dict = InvoiceGetCommunicationrecipientsV1Response.from_dict(invoice_get_communicationrecipients_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InvoiceGetCommunicationrecipientsV1ResponseMPayload.md b/docs/InvoiceGetCommunicationrecipientsV1ResponseMPayload.md new file mode 100644 index 000000000..2341b1435 --- /dev/null +++ b/docs/InvoiceGetCommunicationrecipientsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InvoiceGetCommunicationrecipientsV1ResponseMPayload + +Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationrecipientsgroup** | [**List[CustomCommunicationrecipientsgroupResponse]**](CustomCommunicationrecipientsgroupResponse.md) | | + +## Example + +```python +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response_m_payload import InvoiceGetCommunicationrecipientsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InvoiceGetCommunicationrecipientsV1ResponseMPayload from a JSON string +invoice_get_communicationrecipients_v1_response_m_payload_instance = InvoiceGetCommunicationrecipientsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InvoiceGetCommunicationrecipientsV1ResponseMPayload.to_json()) + +# convert the object into a dict +invoice_get_communicationrecipients_v1_response_m_payload_dict = invoice_get_communicationrecipients_v1_response_m_payload_instance.to_dict() +# create an instance of InvoiceGetCommunicationrecipientsV1ResponseMPayload from a dict +invoice_get_communicationrecipients_v1_response_m_payload_from_dict = InvoiceGetCommunicationrecipientsV1ResponseMPayload.from_dict(invoice_get_communicationrecipients_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InvoiceGetCommunicationsendersV1Response.md b/docs/InvoiceGetCommunicationsendersV1Response.md new file mode 100644 index 000000000..049a8c996 --- /dev/null +++ b/docs/InvoiceGetCommunicationsendersV1Response.md @@ -0,0 +1,32 @@ +# InvoiceGetCommunicationsendersV1Response + +Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InvoiceGetCommunicationsendersV1ResponseMPayload**](InvoiceGetCommunicationsendersV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.invoice_get_communicationsenders_v1_response import InvoiceGetCommunicationsendersV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InvoiceGetCommunicationsendersV1Response from a JSON string +invoice_get_communicationsenders_v1_response_instance = InvoiceGetCommunicationsendersV1Response.from_json(json) +# print the JSON string representation of the object +print(InvoiceGetCommunicationsendersV1Response.to_json()) + +# convert the object into a dict +invoice_get_communicationsenders_v1_response_dict = invoice_get_communicationsenders_v1_response_instance.to_dict() +# create an instance of InvoiceGetCommunicationsendersV1Response from a dict +invoice_get_communicationsenders_v1_response_from_dict = InvoiceGetCommunicationsendersV1Response.from_dict(invoice_get_communicationsenders_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InvoiceGetCommunicationsendersV1ResponseMPayload.md b/docs/InvoiceGetCommunicationsendersV1ResponseMPayload.md new file mode 100644 index 000000000..48e78be62 --- /dev/null +++ b/docs/InvoiceGetCommunicationsendersV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# InvoiceGetCommunicationsendersV1ResponseMPayload + +Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationsenders + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationsenders** | [**List[CustomCommunicationsenderResponse]**](CustomCommunicationsenderResponse.md) | | + +## Example + +```python +from eZmaxApi.models.invoice_get_communicationsenders_v1_response_m_payload import InvoiceGetCommunicationsendersV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InvoiceGetCommunicationsendersV1ResponseMPayload from a JSON string +invoice_get_communicationsenders_v1_response_m_payload_instance = InvoiceGetCommunicationsendersV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(InvoiceGetCommunicationsendersV1ResponseMPayload.to_json()) + +# convert the object into a dict +invoice_get_communicationsenders_v1_response_m_payload_dict = invoice_get_communicationsenders_v1_response_m_payload_instance.to_dict() +# create an instance of InvoiceGetCommunicationsendersV1ResponseMPayload from a dict +invoice_get_communicationsenders_v1_response_m_payload_from_dict = InvoiceGetCommunicationsendersV1ResponseMPayload.from_dict(invoice_get_communicationsenders_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/LanguageAutocompleteElementResponse.md b/docs/LanguageAutocompleteElementResponse.md index 7c87f1d6b..2416bb29d 100644 --- a/docs/LanguageAutocompleteElementResponse.md +++ b/docs/LanguageAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(LanguageAutocompleteElementResponse.to_json()) # convert the object into a dict language_autocomplete_element_response_dict = language_autocomplete_element_response_instance.to_dict() # create an instance of LanguageAutocompleteElementResponse from a dict -language_autocomplete_element_response_form_dict = language_autocomplete_element_response.from_dict(language_autocomplete_element_response_dict) +language_autocomplete_element_response_from_dict = LanguageAutocompleteElementResponse.from_dict(language_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LanguageGetAutocompleteV2Response.md b/docs/LanguageGetAutocompleteV2Response.md index 9f196b448..a9c85d4d7 100644 --- a/docs/LanguageGetAutocompleteV2Response.md +++ b/docs/LanguageGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(LanguageGetAutocompleteV2Response.to_json()) # convert the object into a dict language_get_autocomplete_v2_response_dict = language_get_autocomplete_v2_response_instance.to_dict() # create an instance of LanguageGetAutocompleteV2Response from a dict -language_get_autocomplete_v2_response_form_dict = language_get_autocomplete_v2_response.from_dict(language_get_autocomplete_v2_response_dict) +language_get_autocomplete_v2_response_from_dict = LanguageGetAutocompleteV2Response.from_dict(language_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LanguageGetAutocompleteV2ResponseMPayload.md b/docs/LanguageGetAutocompleteV2ResponseMPayload.md index 52b90e726..fd76a1aea 100644 --- a/docs/LanguageGetAutocompleteV2ResponseMPayload.md +++ b/docs/LanguageGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(LanguageGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict language_get_autocomplete_v2_response_m_payload_dict = language_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of LanguageGetAutocompleteV2ResponseMPayload from a dict -language_get_autocomplete_v2_response_m_payload_form_dict = language_get_autocomplete_v2_response_m_payload.from_dict(language_get_autocomplete_v2_response_m_payload_dict) +language_get_autocomplete_v2_response_m_payload_from_dict = LanguageGetAutocompleteV2ResponseMPayload.from_dict(language_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModuleAutocompleteElementResponse.md b/docs/ModuleAutocompleteElementResponse.md index 3808cc5fc..948b4ad08 100644 --- a/docs/ModuleAutocompleteElementResponse.md +++ b/docs/ModuleAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(ModuleAutocompleteElementResponse.to_json()) # convert the object into a dict module_autocomplete_element_response_dict = module_autocomplete_element_response_instance.to_dict() # create an instance of ModuleAutocompleteElementResponse from a dict -module_autocomplete_element_response_form_dict = module_autocomplete_element_response.from_dict(module_autocomplete_element_response_dict) +module_autocomplete_element_response_from_dict = ModuleAutocompleteElementResponse.from_dict(module_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModuleEzsignApi.md b/docs/ModuleEzsignApi.md deleted file mode 100644 index 4cfb8c2f6..000000000 --- a/docs/ModuleEzsignApi.md +++ /dev/null @@ -1,164 +0,0 @@ -# eZmaxApi.ModuleEzsignApi - -All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**ezsign_suggest_signers_v1**](ModuleEzsignApi.md#ezsign_suggest_signers_v1) | **GET** /1/module/ezsign/suggestSigners | Suggest signers -[**ezsign_suggest_templates_v1**](ModuleEzsignApi.md#ezsign_suggest_templates_v1) | **GET** /1/module/ezsign/suggestTemplates | Suggest templates - - -# **ezsign_suggest_signers_v1** -> EzsignSuggestSignersV1Response ezsign_suggest_signers_v1() - -Suggest signers - -Retrieve previously used Ezsignsigners and all users from the system - -### Example - -* Api Key Authentication (Authorization): - -```python -import eZmaxApi -from eZmaxApi.models.ezsign_suggest_signers_v1_response import EzsignSuggestSignersV1Response -from eZmaxApi.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest -# See configuration.py for a list of all supported configuration parameters. -configuration = eZmaxApi.Configuration( - host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: Authorization -configuration.api_key['Authorization'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - -# Enter a context with an instance of the API client -with eZmaxApi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = eZmaxApi.ModuleEzsignApi(api_client) - - try: - # Suggest signers - api_response = api_instance.ezsign_suggest_signers_v1() - print("The response of ModuleEzsignApi->ezsign_suggest_signers_v1:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ModuleEzsignApi->ezsign_suggest_signers_v1: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -[**EzsignSuggestSignersV1Response**](EzsignSuggestSignersV1Response.md) - -### Authorization - -[Authorization](../README.md#Authorization) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Successful response | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ezsign_suggest_templates_v1** -> EzsignSuggestTemplatesV1Response ezsign_suggest_templates_v1(fki_ezsignfoldertype_id=fki_ezsignfoldertype_id) - -Suggest templates - -Retrieve Ezsigntemplates and Ezsigntemplatepackages that can be imported in a Ezsignfolder - -### Example - -* Api Key Authentication (Authorization): - -```python -import eZmaxApi -from eZmaxApi.models.ezsign_suggest_templates_v1_response import EzsignSuggestTemplatesV1Response -from eZmaxApi.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest -# See configuration.py for a list of all supported configuration parameters. -configuration = eZmaxApi.Configuration( - host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: Authorization -configuration.api_key['Authorization'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - -# Enter a context with an instance of the API client -with eZmaxApi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = eZmaxApi.ModuleEzsignApi(api_client) - fki_ezsignfoldertype_id = 56 # int | (optional) - - try: - # Suggest templates - api_response = api_instance.ezsign_suggest_templates_v1(fki_ezsignfoldertype_id=fki_ezsignfoldertype_id) - print("The response of ModuleEzsignApi->ezsign_suggest_templates_v1:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ModuleEzsignApi->ezsign_suggest_templates_v1: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **fki_ezsignfoldertype_id** | **int**| | [optional] - -### Return type - -[**EzsignSuggestTemplatesV1Response**](EzsignSuggestTemplatesV1Response.md) - -### Authorization - -[Authorization](../README.md#Authorization) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Successful response | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/docs/ModuleGetAutocompleteV2Response.md b/docs/ModuleGetAutocompleteV2Response.md index a74ece3ce..419153dea 100644 --- a/docs/ModuleGetAutocompleteV2Response.md +++ b/docs/ModuleGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(ModuleGetAutocompleteV2Response.to_json()) # convert the object into a dict module_get_autocomplete_v2_response_dict = module_get_autocomplete_v2_response_instance.to_dict() # create an instance of ModuleGetAutocompleteV2Response from a dict -module_get_autocomplete_v2_response_form_dict = module_get_autocomplete_v2_response.from_dict(module_get_autocomplete_v2_response_dict) +module_get_autocomplete_v2_response_from_dict = ModuleGetAutocompleteV2Response.from_dict(module_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModuleGetAutocompleteV2ResponseMPayload.md b/docs/ModuleGetAutocompleteV2ResponseMPayload.md index 5013aeb24..0d19d8c19 100644 --- a/docs/ModuleGetAutocompleteV2ResponseMPayload.md +++ b/docs/ModuleGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(ModuleGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict module_get_autocomplete_v2_response_m_payload_dict = module_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of ModuleGetAutocompleteV2ResponseMPayload from a dict -module_get_autocomplete_v2_response_m_payload_form_dict = module_get_autocomplete_v2_response_m_payload.from_dict(module_get_autocomplete_v2_response_m_payload_dict) +module_get_autocomplete_v2_response_m_payload_from_dict = ModuleGetAutocompleteV2ResponseMPayload.from_dict(module_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModuleResponse.md b/docs/ModuleResponse.md index ea7eeaf5a..31ba48ca6 100644 --- a/docs/ModuleResponse.md +++ b/docs/ModuleResponse.md @@ -28,7 +28,7 @@ print(ModuleResponse.to_json()) # convert the object into a dict module_response_dict = module_response_instance.to_dict() # create an instance of ModuleResponse from a dict -module_response_form_dict = module_response.from_dict(module_response_dict) +module_response_from_dict = ModuleResponse.from_dict(module_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModuleResponseCompound.md b/docs/ModuleResponseCompound.md index e2bb776b4..d9c198038 100644 --- a/docs/ModuleResponseCompound.md +++ b/docs/ModuleResponseCompound.md @@ -29,7 +29,7 @@ print(ModuleResponseCompound.to_json()) # convert the object into a dict module_response_compound_dict = module_response_compound_instance.to_dict() # create an instance of ModuleResponseCompound from a dict -module_response_compound_form_dict = module_response_compound.from_dict(module_response_compound_dict) +module_response_compound_from_dict = ModuleResponseCompound.from_dict(module_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModulegroupGetAllV1Response.md b/docs/ModulegroupGetAllV1Response.md index 3ef3713ee..f21303ab0 100644 --- a/docs/ModulegroupGetAllV1Response.md +++ b/docs/ModulegroupGetAllV1Response.md @@ -25,7 +25,7 @@ print(ModulegroupGetAllV1Response.to_json()) # convert the object into a dict modulegroup_get_all_v1_response_dict = modulegroup_get_all_v1_response_instance.to_dict() # create an instance of ModulegroupGetAllV1Response from a dict -modulegroup_get_all_v1_response_form_dict = modulegroup_get_all_v1_response.from_dict(modulegroup_get_all_v1_response_dict) +modulegroup_get_all_v1_response_from_dict = ModulegroupGetAllV1Response.from_dict(modulegroup_get_all_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModulegroupGetAllV1ResponseMPayload.md b/docs/ModulegroupGetAllV1ResponseMPayload.md index b396cbeba..27914239c 100644 --- a/docs/ModulegroupGetAllV1ResponseMPayload.md +++ b/docs/ModulegroupGetAllV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(ModulegroupGetAllV1ResponseMPayload.to_json()) # convert the object into a dict modulegroup_get_all_v1_response_m_payload_dict = modulegroup_get_all_v1_response_m_payload_instance.to_dict() # create an instance of ModulegroupGetAllV1ResponseMPayload from a dict -modulegroup_get_all_v1_response_m_payload_form_dict = modulegroup_get_all_v1_response_m_payload.from_dict(modulegroup_get_all_v1_response_m_payload_dict) +modulegroup_get_all_v1_response_m_payload_from_dict = ModulegroupGetAllV1ResponseMPayload.from_dict(modulegroup_get_all_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModulegroupResponse.md b/docs/ModulegroupResponse.md index c107bc78a..d1c6079de 100644 --- a/docs/ModulegroupResponse.md +++ b/docs/ModulegroupResponse.md @@ -24,7 +24,7 @@ print(ModulegroupResponse.to_json()) # convert the object into a dict modulegroup_response_dict = modulegroup_response_instance.to_dict() # create an instance of ModulegroupResponse from a dict -modulegroup_response_form_dict = modulegroup_response.from_dict(modulegroup_response_dict) +modulegroup_response_from_dict = ModulegroupResponse.from_dict(modulegroup_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModulegroupResponseCompound.md b/docs/ModulegroupResponseCompound.md index 46a8ede70..ff4ffaf8e 100644 --- a/docs/ModulegroupResponseCompound.md +++ b/docs/ModulegroupResponseCompound.md @@ -25,7 +25,7 @@ print(ModulegroupResponseCompound.to_json()) # convert the object into a dict modulegroup_response_compound_dict = modulegroup_response_compound_instance.to_dict() # create an instance of ModulegroupResponseCompound from a dict -modulegroup_response_compound_form_dict = modulegroup_response_compound.from_dict(modulegroup_response_compound_dict) +modulegroup_response_compound_from_dict = ModulegroupResponseCompound.from_dict(modulegroup_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModulesectionResponse.md b/docs/ModulesectionResponse.md index f862aed39..29698bb31 100644 --- a/docs/ModulesectionResponse.md +++ b/docs/ModulesectionResponse.md @@ -26,7 +26,7 @@ print(ModulesectionResponse.to_json()) # convert the object into a dict modulesection_response_dict = modulesection_response_instance.to_dict() # create an instance of ModulesectionResponse from a dict -modulesection_response_form_dict = modulesection_response.from_dict(modulesection_response_dict) +modulesection_response_from_dict = ModulesectionResponse.from_dict(modulesection_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ModulesectionResponseCompound.md b/docs/ModulesectionResponseCompound.md index 6e4de84d5..fe17fb0a5 100644 --- a/docs/ModulesectionResponseCompound.md +++ b/docs/ModulesectionResponseCompound.md @@ -27,7 +27,7 @@ print(ModulesectionResponseCompound.to_json()) # convert the object into a dict modulesection_response_compound_dict = modulesection_response_compound_instance.to_dict() # create an instance of ModulesectionResponseCompound from a dict -modulesection_response_compound_form_dict = modulesection_response_compound.from_dict(modulesection_response_compound_dict) +modulesection_response_compound_from_dict = ModulesectionResponseCompound.from_dict(modulesection_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualApikeyDescription.md b/docs/MultilingualApikeyDescription.md index 6fffcea5c..c61b066d3 100644 --- a/docs/MultilingualApikeyDescription.md +++ b/docs/MultilingualApikeyDescription.md @@ -24,7 +24,7 @@ print(MultilingualApikeyDescription.to_json()) # convert the object into a dict multilingual_apikey_description_dict = multilingual_apikey_description_instance.to_dict() # create an instance of MultilingualApikeyDescription from a dict -multilingual_apikey_description_form_dict = multilingual_apikey_description.from_dict(multilingual_apikey_description_dict) +multilingual_apikey_description_from_dict = MultilingualApikeyDescription.from_dict(multilingual_apikey_description_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualBillingentityinternalDescription.md b/docs/MultilingualBillingentityinternalDescription.md index a9e494f74..7c75906b6 100644 --- a/docs/MultilingualBillingentityinternalDescription.md +++ b/docs/MultilingualBillingentityinternalDescription.md @@ -24,7 +24,7 @@ print(MultilingualBillingentityinternalDescription.to_json()) # convert the object into a dict multilingual_billingentityinternal_description_dict = multilingual_billingentityinternal_description_instance.to_dict() # create an instance of MultilingualBillingentityinternalDescription from a dict -multilingual_billingentityinternal_description_form_dict = multilingual_billingentityinternal_description.from_dict(multilingual_billingentityinternal_description_dict) +multilingual_billingentityinternal_description_from_dict = MultilingualBillingentityinternalDescription.from_dict(multilingual_billingentityinternal_description_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualBrandingDescription.md b/docs/MultilingualBrandingDescription.md index 39b81e86f..bb6018db2 100644 --- a/docs/MultilingualBrandingDescription.md +++ b/docs/MultilingualBrandingDescription.md @@ -24,7 +24,7 @@ print(MultilingualBrandingDescription.to_json()) # convert the object into a dict multilingual_branding_description_dict = multilingual_branding_description_instance.to_dict() # create an instance of MultilingualBrandingDescription from a dict -multilingual_branding_description_form_dict = multilingual_branding_description.from_dict(multilingual_branding_description_dict) +multilingual_branding_description_from_dict = MultilingualBrandingDescription.from_dict(multilingual_branding_description_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualEzdoctemplatedocumentName.md b/docs/MultilingualEzdoctemplatedocumentName.md new file mode 100644 index 000000000..b151aabee --- /dev/null +++ b/docs/MultilingualEzdoctemplatedocumentName.md @@ -0,0 +1,31 @@ +# MultilingualEzdoctemplatedocumentName + +The name1 of the Ezdoctemplatedocument + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_ezdoctemplatedocument_name1** | **str** | The name1 of the Ezdoctemplatedocument | [optional] +**s_ezdoctemplatedocument_name2** | **str** | The name2 of the Ezdoctemplatedocument | [optional] + +## Example + +```python +from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName + +# TODO update the JSON string below +json = "{}" +# create an instance of MultilingualEzdoctemplatedocumentName from a JSON string +multilingual_ezdoctemplatedocument_name_instance = MultilingualEzdoctemplatedocumentName.from_json(json) +# print the JSON string representation of the object +print(MultilingualEzdoctemplatedocumentName.to_json()) + +# convert the object into a dict +multilingual_ezdoctemplatedocument_name_dict = multilingual_ezdoctemplatedocument_name_instance.to_dict() +# create an instance of MultilingualEzdoctemplatedocumentName from a dict +multilingual_ezdoctemplatedocument_name_from_dict = MultilingualEzdoctemplatedocumentName.from_dict(multilingual_ezdoctemplatedocument_name_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/MultilingualEzmaxinvoicingsummaryinternalDescription.md b/docs/MultilingualEzmaxinvoicingsummaryinternalDescription.md index 1d14b97ec..25cb5f2cc 100644 --- a/docs/MultilingualEzmaxinvoicingsummaryinternalDescription.md +++ b/docs/MultilingualEzmaxinvoicingsummaryinternalDescription.md @@ -24,7 +24,7 @@ print(MultilingualEzmaxinvoicingsummaryinternalDescription.to_json()) # convert the object into a dict multilingual_ezmaxinvoicingsummaryinternal_description_dict = multilingual_ezmaxinvoicingsummaryinternal_description_instance.to_dict() # create an instance of MultilingualEzmaxinvoicingsummaryinternalDescription from a dict -multilingual_ezmaxinvoicingsummaryinternal_description_form_dict = multilingual_ezmaxinvoicingsummaryinternal_description.from_dict(multilingual_ezmaxinvoicingsummaryinternal_description_dict) +multilingual_ezmaxinvoicingsummaryinternal_description_from_dict = MultilingualEzmaxinvoicingsummaryinternalDescription.from_dict(multilingual_ezmaxinvoicingsummaryinternal_description_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualEzsignfoldertypeName.md b/docs/MultilingualEzsignfoldertypeName.md index d90d2e8c7..e83e12a44 100644 --- a/docs/MultilingualEzsignfoldertypeName.md +++ b/docs/MultilingualEzsignfoldertypeName.md @@ -24,7 +24,7 @@ print(MultilingualEzsignfoldertypeName.to_json()) # convert the object into a dict multilingual_ezsignfoldertype_name_dict = multilingual_ezsignfoldertype_name_instance.to_dict() # create an instance of MultilingualEzsignfoldertypeName from a dict -multilingual_ezsignfoldertype_name_form_dict = multilingual_ezsignfoldertype_name.from_dict(multilingual_ezsignfoldertype_name_dict) +multilingual_ezsignfoldertype_name_from_dict = MultilingualEzsignfoldertypeName.from_dict(multilingual_ezsignfoldertype_name_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualEzsignsignergroupDescription.md b/docs/MultilingualEzsignsignergroupDescription.md index 7af4aeed8..38f1b4e2b 100644 --- a/docs/MultilingualEzsignsignergroupDescription.md +++ b/docs/MultilingualEzsignsignergroupDescription.md @@ -24,7 +24,7 @@ print(MultilingualEzsignsignergroupDescription.to_json()) # convert the object into a dict multilingual_ezsignsignergroup_description_dict = multilingual_ezsignsignergroup_description_instance.to_dict() # create an instance of MultilingualEzsignsignergroupDescription from a dict -multilingual_ezsignsignergroup_description_form_dict = multilingual_ezsignsignergroup_description.from_dict(multilingual_ezsignsignergroup_description_dict) +multilingual_ezsignsignergroup_description_from_dict = MultilingualEzsignsignergroupDescription.from_dict(multilingual_ezsignsignergroup_description_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualEzsignsigningreasonDescription.md b/docs/MultilingualEzsignsigningreasonDescription.md index ac46022be..5373d1547 100644 --- a/docs/MultilingualEzsignsigningreasonDescription.md +++ b/docs/MultilingualEzsignsigningreasonDescription.md @@ -24,7 +24,7 @@ print(MultilingualEzsignsigningreasonDescription.to_json()) # convert the object into a dict multilingual_ezsignsigningreason_description_dict = multilingual_ezsignsigningreason_description_instance.to_dict() # create an instance of MultilingualEzsignsigningreasonDescription from a dict -multilingual_ezsignsigningreason_description_form_dict = multilingual_ezsignsigningreason_description.from_dict(multilingual_ezsignsigningreason_description_dict) +multilingual_ezsignsigningreason_description_from_dict = MultilingualEzsignsigningreasonDescription.from_dict(multilingual_ezsignsigningreason_description_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualNotificationsubsectionName.md b/docs/MultilingualNotificationsubsectionName.md index cb57459d3..b762b4db5 100644 --- a/docs/MultilingualNotificationsubsectionName.md +++ b/docs/MultilingualNotificationsubsectionName.md @@ -24,7 +24,7 @@ print(MultilingualNotificationsubsectionName.to_json()) # convert the object into a dict multilingual_notificationsubsection_name_dict = multilingual_notificationsubsection_name_instance.to_dict() # create an instance of MultilingualNotificationsubsectionName from a dict -multilingual_notificationsubsection_name_form_dict = multilingual_notificationsubsection_name.from_dict(multilingual_notificationsubsection_name_dict) +multilingual_notificationsubsection_name_from_dict = MultilingualNotificationsubsectionName.from_dict(multilingual_notificationsubsection_name_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualNotificationtestName.md b/docs/MultilingualNotificationtestName.md index 8c30579d0..a19bf63c9 100644 --- a/docs/MultilingualNotificationtestName.md +++ b/docs/MultilingualNotificationtestName.md @@ -24,7 +24,7 @@ print(MultilingualNotificationtestName.to_json()) # convert the object into a dict multilingual_notificationtest_name_dict = multilingual_notificationtest_name_instance.to_dict() # create an instance of MultilingualNotificationtestName from a dict -multilingual_notificationtest_name_form_dict = multilingual_notificationtest_name.from_dict(multilingual_notificationtest_name_dict) +multilingual_notificationtest_name_from_dict = MultilingualNotificationtestName.from_dict(multilingual_notificationtest_name_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualPaymenttermDescription.md b/docs/MultilingualPaymenttermDescription.md index 4a0f3d2ec..25313dbf1 100644 --- a/docs/MultilingualPaymenttermDescription.md +++ b/docs/MultilingualPaymenttermDescription.md @@ -24,7 +24,7 @@ print(MultilingualPaymenttermDescription.to_json()) # convert the object into a dict multilingual_paymentterm_description_dict = multilingual_paymentterm_description_instance.to_dict() # create an instance of MultilingualPaymenttermDescription from a dict -multilingual_paymentterm_description_form_dict = multilingual_paymentterm_description.from_dict(multilingual_paymentterm_description_dict) +multilingual_paymentterm_description_from_dict = MultilingualPaymenttermDescription.from_dict(multilingual_paymentterm_description_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualSubnetDescription.md b/docs/MultilingualSubnetDescription.md index 18c00b7a9..d8851b989 100644 --- a/docs/MultilingualSubnetDescription.md +++ b/docs/MultilingualSubnetDescription.md @@ -24,7 +24,7 @@ print(MultilingualSubnetDescription.to_json()) # convert the object into a dict multilingual_subnet_description_dict = multilingual_subnet_description_instance.to_dict() # create an instance of MultilingualSubnetDescription from a dict -multilingual_subnet_description_form_dict = multilingual_subnet_description.from_dict(multilingual_subnet_description_dict) +multilingual_subnet_description_from_dict = MultilingualSubnetDescription.from_dict(multilingual_subnet_description_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualSupplyDescription.md b/docs/MultilingualSupplyDescription.md new file mode 100644 index 000000000..93ef33ef7 --- /dev/null +++ b/docs/MultilingualSupplyDescription.md @@ -0,0 +1,31 @@ +# MultilingualSupplyDescription + +The description1 of the Supply + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_supply_description1** | **str** | The description of the Supply in French | [optional] +**s_supply_description2** | **str** | The description of the Supply in English | [optional] + +## Example + +```python +from eZmaxApi.models.multilingual_supply_description import MultilingualSupplyDescription + +# TODO update the JSON string below +json = "{}" +# create an instance of MultilingualSupplyDescription from a JSON string +multilingual_supply_description_instance = MultilingualSupplyDescription.from_json(json) +# print the JSON string representation of the object +print(MultilingualSupplyDescription.to_json()) + +# convert the object into a dict +multilingual_supply_description_dict = multilingual_supply_description_instance.to_dict() +# create an instance of MultilingualSupplyDescription from a dict +multilingual_supply_description_from_dict = MultilingualSupplyDescription.from_dict(multilingual_supply_description_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/MultilingualUsergroupName.md b/docs/MultilingualUsergroupName.md index 7838a0daf..55fe5e60b 100644 --- a/docs/MultilingualUsergroupName.md +++ b/docs/MultilingualUsergroupName.md @@ -24,7 +24,7 @@ print(MultilingualUsergroupName.to_json()) # convert the object into a dict multilingual_usergroup_name_dict = multilingual_usergroup_name_instance.to_dict() # create an instance of MultilingualUsergroupName from a dict -multilingual_usergroup_name_form_dict = multilingual_usergroup_name.from_dict(multilingual_usergroup_name_dict) +multilingual_usergroup_name_from_dict = MultilingualUsergroupName.from_dict(multilingual_usergroup_name_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualUserlogintypeDescription.md b/docs/MultilingualUserlogintypeDescription.md index 09dbc0972..3e25746e8 100644 --- a/docs/MultilingualUserlogintypeDescription.md +++ b/docs/MultilingualUserlogintypeDescription.md @@ -24,7 +24,7 @@ print(MultilingualUserlogintypeDescription.to_json()) # convert the object into a dict multilingual_userlogintype_description_dict = multilingual_userlogintype_description_instance.to_dict() # create an instance of MultilingualUserlogintypeDescription from a dict -multilingual_userlogintype_description_form_dict = multilingual_userlogintype_description.from_dict(multilingual_userlogintype_description_dict) +multilingual_userlogintype_description_from_dict = MultilingualUserlogintypeDescription.from_dict(multilingual_userlogintype_description_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualVariableexpenseDescription.md b/docs/MultilingualVariableexpenseDescription.md index e01a41188..42e772d30 100644 --- a/docs/MultilingualVariableexpenseDescription.md +++ b/docs/MultilingualVariableexpenseDescription.md @@ -24,7 +24,7 @@ print(MultilingualVariableexpenseDescription.to_json()) # convert the object into a dict multilingual_variableexpense_description_dict = multilingual_variableexpense_description_instance.to_dict() # create an instance of MultilingualVariableexpenseDescription from a dict -multilingual_variableexpense_description_form_dict = multilingual_variableexpense_description.from_dict(multilingual_variableexpense_description_dict) +multilingual_variableexpense_description_from_dict = MultilingualVariableexpenseDescription.from_dict(multilingual_variableexpense_description_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultilingualVersionhistoryDetail.md b/docs/MultilingualVersionhistoryDetail.md index f1bbea66f..ba329ae88 100644 --- a/docs/MultilingualVersionhistoryDetail.md +++ b/docs/MultilingualVersionhistoryDetail.md @@ -24,7 +24,7 @@ print(MultilingualVersionhistoryDetail.to_json()) # convert the object into a dict multilingual_versionhistory_detail_dict = multilingual_versionhistory_detail_instance.to_dict() # create an instance of MultilingualVersionhistoryDetail from a dict -multilingual_versionhistory_detail_form_dict = multilingual_versionhistory_detail.from_dict(multilingual_versionhistory_detail_dict) +multilingual_versionhistory_detail_from_dict = MultilingualVersionhistoryDetail.from_dict(multilingual_versionhistory_detail_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NotificationsectionGetNotificationtestsV1Response.md b/docs/NotificationsectionGetNotificationtestsV1Response.md index c86b6416b..a36fcf744 100644 --- a/docs/NotificationsectionGetNotificationtestsV1Response.md +++ b/docs/NotificationsectionGetNotificationtestsV1Response.md @@ -25,7 +25,7 @@ print(NotificationsectionGetNotificationtestsV1Response.to_json()) # convert the object into a dict notificationsection_get_notificationtests_v1_response_dict = notificationsection_get_notificationtests_v1_response_instance.to_dict() # create an instance of NotificationsectionGetNotificationtestsV1Response from a dict -notificationsection_get_notificationtests_v1_response_form_dict = notificationsection_get_notificationtests_v1_response.from_dict(notificationsection_get_notificationtests_v1_response_dict) +notificationsection_get_notificationtests_v1_response_from_dict = NotificationsectionGetNotificationtestsV1Response.from_dict(notificationsection_get_notificationtests_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NotificationsectionGetNotificationtestsV1ResponseMPayload.md b/docs/NotificationsectionGetNotificationtestsV1ResponseMPayload.md index 317c48bd8..05e36aa41 100644 --- a/docs/NotificationsectionGetNotificationtestsV1ResponseMPayload.md +++ b/docs/NotificationsectionGetNotificationtestsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(NotificationsectionGetNotificationtestsV1ResponseMPayload.to_json()) # convert the object into a dict notificationsection_get_notificationtests_v1_response_m_payload_dict = notificationsection_get_notificationtests_v1_response_m_payload_instance.to_dict() # create an instance of NotificationsectionGetNotificationtestsV1ResponseMPayload from a dict -notificationsection_get_notificationtests_v1_response_m_payload_form_dict = notificationsection_get_notificationtests_v1_response_m_payload.from_dict(notificationsection_get_notificationtests_v1_response_m_payload_dict) +notificationsection_get_notificationtests_v1_response_m_payload_from_dict = NotificationsectionGetNotificationtestsV1ResponseMPayload.from_dict(notificationsection_get_notificationtests_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NotificationsubsectionResponse.md b/docs/NotificationsubsectionResponse.md index 89f9f4f78..27596c9f4 100644 --- a/docs/NotificationsubsectionResponse.md +++ b/docs/NotificationsubsectionResponse.md @@ -27,7 +27,7 @@ print(NotificationsubsectionResponse.to_json()) # convert the object into a dict notificationsubsection_response_dict = notificationsubsection_response_instance.to_dict() # create an instance of NotificationsubsectionResponse from a dict -notificationsubsection_response_form_dict = notificationsubsection_response.from_dict(notificationsubsection_response_dict) +notificationsubsection_response_from_dict = NotificationsubsectionResponse.from_dict(notificationsubsection_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NotificationtestGetElementsV1Response.md b/docs/NotificationtestGetElementsV1Response.md index 7494d09e5..0ef26dd3f 100644 --- a/docs/NotificationtestGetElementsV1Response.md +++ b/docs/NotificationtestGetElementsV1Response.md @@ -25,7 +25,7 @@ print(NotificationtestGetElementsV1Response.to_json()) # convert the object into a dict notificationtest_get_elements_v1_response_dict = notificationtest_get_elements_v1_response_instance.to_dict() # create an instance of NotificationtestGetElementsV1Response from a dict -notificationtest_get_elements_v1_response_form_dict = notificationtest_get_elements_v1_response.from_dict(notificationtest_get_elements_v1_response_dict) +notificationtest_get_elements_v1_response_from_dict = NotificationtestGetElementsV1Response.from_dict(notificationtest_get_elements_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NotificationtestGetElementsV1ResponseMPayload.md b/docs/NotificationtestGetElementsV1ResponseMPayload.md index 64162e8a5..e5bb8f79a 100644 --- a/docs/NotificationtestGetElementsV1ResponseMPayload.md +++ b/docs/NotificationtestGetElementsV1ResponseMPayload.md @@ -26,7 +26,7 @@ print(NotificationtestGetElementsV1ResponseMPayload.to_json()) # convert the object into a dict notificationtest_get_elements_v1_response_m_payload_dict = notificationtest_get_elements_v1_response_m_payload_instance.to_dict() # create an instance of NotificationtestGetElementsV1ResponseMPayload from a dict -notificationtest_get_elements_v1_response_m_payload_form_dict = notificationtest_get_elements_v1_response_m_payload.from_dict(notificationtest_get_elements_v1_response_m_payload_dict) +notificationtest_get_elements_v1_response_m_payload_from_dict = NotificationtestGetElementsV1ResponseMPayload.from_dict(notificationtest_get_elements_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NotificationtestResponse.md b/docs/NotificationtestResponse.md index b02d7c054..42d120f38 100644 --- a/docs/NotificationtestResponse.md +++ b/docs/NotificationtestResponse.md @@ -27,7 +27,7 @@ print(NotificationtestResponse.to_json()) # convert the object into a dict notificationtest_response_dict = notificationtest_response_instance.to_dict() # create an instance of NotificationtestResponse from a dict -notificationtest_response_form_dict = notificationtest_response.from_dict(notificationtest_response_dict) +notificationtest_response_from_dict = NotificationtestResponse.from_dict(notificationtest_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ObjectActivesessionApi.md b/docs/ObjectActivesessionApi.md index 1670e1cb7..b496d61af 100644 --- a/docs/ObjectActivesessionApi.md +++ b/docs/ObjectActivesessionApi.md @@ -4,10 +4,92 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- +[**activesession_generate_federation_token_v1**](ObjectActivesessionApi.md#activesession_generate_federation_token_v1) | **POST** /1/object/activesession/generateFederationToken | Generate a federation token [**activesession_get_current_v1**](ObjectActivesessionApi.md#activesession_get_current_v1) | **GET** /1/object/activesession/getCurrent | Get Current Activesession [**activesession_get_list_v1**](ObjectActivesessionApi.md#activesession_get_list_v1) | **GET** /1/object/activesession/getList | Retrieve Activesession list +# **activesession_generate_federation_token_v1** +> ActivesessionGenerateFederationTokenV1Response activesession_generate_federation_token_v1(activesession_generate_federation_token_v1_request) + +Generate a federation token + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.activesession_generate_federation_token_v1_request import ActivesessionGenerateFederationTokenV1Request +from eZmaxApi.models.activesession_generate_federation_token_v1_response import ActivesessionGenerateFederationTokenV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectActivesessionApi(api_client) + activesession_generate_federation_token_v1_request = eZmaxApi.ActivesessionGenerateFederationTokenV1Request() # ActivesessionGenerateFederationTokenV1Request | + + try: + # Generate a federation token + api_response = api_instance.activesession_generate_federation_token_v1(activesession_generate_federation_token_v1_request) + print("The response of ObjectActivesessionApi->activesession_generate_federation_token_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectActivesessionApi->activesession_generate_federation_token_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **activesession_generate_federation_token_v1_request** | [**ActivesessionGenerateFederationTokenV1Request**](ActivesessionGenerateFederationTokenV1Request.md)| | + +### Return type + +[**ActivesessionGenerateFederationTokenV1Response**](ActivesessionGenerateFederationTokenV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **activesession_get_current_v1** > ActivesessionGetCurrentV1Response activesession_get_current_v1() diff --git a/docs/ObjectApikeyApi.md b/docs/ObjectApikeyApi.md index d57ace34c..13bee97cc 100644 --- a/docs/ObjectApikeyApi.md +++ b/docs/ObjectApikeyApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**apikey_create_object_v2**](ObjectApikeyApi.md#apikey_create_object_v2) | **POST** /2/object/apikey | Create a new Apikey [**apikey_edit_object_v1**](ObjectApikeyApi.md#apikey_edit_object_v1) | **PUT** /1/object/apikey/{pkiApikeyID} | Edit an existing Apikey [**apikey_edit_permissions_v1**](ObjectApikeyApi.md#apikey_edit_permissions_v1) | **PUT** /1/object/apikey/{pkiApikeyID}/editPermissions | Edit multiple Permissions +[**apikey_generate_delegated_credentials_v1**](ObjectApikeyApi.md#apikey_generate_delegated_credentials_v1) | **POST** /1/object/apikey/generateDelegatedCredentials | Generate a delegated credentials [**apikey_get_cors_v1**](ObjectApikeyApi.md#apikey_get_cors_v1) | **GET** /1/object/apikey/{pkiApikeyID}/getCors | Retrieve an existing Apikey's cors [**apikey_get_list_v1**](ObjectApikeyApi.md#apikey_get_list_v1) | **GET** /1/object/apikey/getList | Retrieve Apikey list [**apikey_get_object_v2**](ObjectApikeyApi.md#apikey_get_object_v2) | **GET** /2/object/apikey/{pkiApikeyID} | Retrieve an existing Apikey @@ -263,6 +264,87 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **apikey_generate_delegated_credentials_v1** +> ApikeyGenerateDelegatedCredentialsV1Response apikey_generate_delegated_credentials_v1(apikey_generate_delegated_credentials_v1_request) + +Generate a delegated credentials + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_request import ApikeyGenerateDelegatedCredentialsV1Request +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response import ApikeyGenerateDelegatedCredentialsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectApikeyApi(api_client) + apikey_generate_delegated_credentials_v1_request = eZmaxApi.ApikeyGenerateDelegatedCredentialsV1Request() # ApikeyGenerateDelegatedCredentialsV1Request | + + try: + # Generate a delegated credentials + api_response = api_instance.apikey_generate_delegated_credentials_v1(apikey_generate_delegated_credentials_v1_request) + print("The response of ObjectApikeyApi->apikey_generate_delegated_credentials_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectApikeyApi->apikey_generate_delegated_credentials_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **apikey_generate_delegated_credentials_v1_request** | [**ApikeyGenerateDelegatedCredentialsV1Request**](ApikeyGenerateDelegatedCredentialsV1Request.md)| | + +### Return type + +[**ApikeyGenerateDelegatedCredentialsV1Response**](ApikeyGenerateDelegatedCredentialsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **apikey_get_cors_v1** > ApikeyGetCorsV1Response apikey_get_cors_v1(pki_apikey_id) diff --git a/docs/ObjectAttachmentApi.md b/docs/ObjectAttachmentApi.md index 20301f76a..3107bc09b 100644 --- a/docs/ObjectAttachmentApi.md +++ b/docs/ObjectAttachmentApi.md @@ -6,7 +6,6 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**attachment_download_v1**](ObjectAttachmentApi.md#attachment_download_v1) | **GET** /1/object/attachment/{pkiAttachmentID}/download | Retrieve the content [**attachment_get_attachmentlogs_v1**](ObjectAttachmentApi.md#attachment_get_attachmentlogs_v1) | **GET** /1/object/attachment/{pkiAttachmentID}/getAttachmentlogs | Retrieve the Attachmentlogs -[**attachment_get_download_url_v1**](ObjectAttachmentApi.md#attachment_get_download_url_v1) | **GET** /1/object/attachment/{pkiAttachmentID}/getDownloadUrl | Retrieve a URL to download attachments. # **attachment_download_v1** @@ -173,84 +172,3 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **attachment_get_download_url_v1** -> AttachmentGetDownloadUrlV1Response attachment_get_download_url_v1(pki_attachment_id) - -Retrieve a URL to download attachments. - -This endpoint returns an URL to download the attachment. These links will expire after 5 minutes so the download of the file should be made soon after retrieving the link. - -### Example - -* Api Key Authentication (Authorization): - -```python -import eZmaxApi -from eZmaxApi.models.attachment_get_download_url_v1_response import AttachmentGetDownloadUrlV1Response -from eZmaxApi.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest -# See configuration.py for a list of all supported configuration parameters. -configuration = eZmaxApi.Configuration( - host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: Authorization -configuration.api_key['Authorization'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - -# Enter a context with an instance of the API client -with eZmaxApi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = eZmaxApi.ObjectAttachmentApi(api_client) - pki_attachment_id = 56 # int | - - try: - # Retrieve a URL to download attachments. - api_response = api_instance.attachment_get_download_url_v1(pki_attachment_id) - print("The response of ObjectAttachmentApi->attachment_get_download_url_v1:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ObjectAttachmentApi->attachment_get_download_url_v1: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pki_attachment_id** | **int**| | - -### Return type - -[**AttachmentGetDownloadUrlV1Response**](AttachmentGetDownloadUrlV1Response.md) - -### Authorization - -[Authorization](../README.md#Authorization) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Successful response | - | -**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | -**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/docs/ObjectAuthenticationexternalApi.md b/docs/ObjectAuthenticationexternalApi.md new file mode 100644 index 000000000..fc94f816b --- /dev/null +++ b/docs/ObjectAuthenticationexternalApi.md @@ -0,0 +1,596 @@ +# eZmaxApi.ObjectAuthenticationexternalApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**authenticationexternal_create_object_v1**](ObjectAuthenticationexternalApi.md#authenticationexternal_create_object_v1) | **POST** /1/object/authenticationexternal | Create a new Authenticationexternal +[**authenticationexternal_delete_object_v1**](ObjectAuthenticationexternalApi.md#authenticationexternal_delete_object_v1) | **DELETE** /1/object/authenticationexternal/{pkiAuthenticationexternalID} | Delete an existing Authenticationexternal +[**authenticationexternal_edit_object_v1**](ObjectAuthenticationexternalApi.md#authenticationexternal_edit_object_v1) | **PUT** /1/object/authenticationexternal/{pkiAuthenticationexternalID} | Edit an existing Authenticationexternal +[**authenticationexternal_get_autocomplete_v2**](ObjectAuthenticationexternalApi.md#authenticationexternal_get_autocomplete_v2) | **GET** /2/object/authenticationexternal/getAutocomplete/{sSelector} | Retrieve Authenticationexternals and IDs +[**authenticationexternal_get_list_v1**](ObjectAuthenticationexternalApi.md#authenticationexternal_get_list_v1) | **GET** /1/object/authenticationexternal/getList | Retrieve Authenticationexternal list +[**authenticationexternal_get_object_v2**](ObjectAuthenticationexternalApi.md#authenticationexternal_get_object_v2) | **GET** /2/object/authenticationexternal/{pkiAuthenticationexternalID} | Retrieve an existing Authenticationexternal +[**authenticationexternal_reset_authorization_v1**](ObjectAuthenticationexternalApi.md#authenticationexternal_reset_authorization_v1) | **POST** /1/object/authenticationexternal/{pkiAuthenticationexternalID}/resetAuthorization | Reset the Authenticationexternal authorization + + +# **authenticationexternal_create_object_v1** +> AuthenticationexternalCreateObjectV1Response authenticationexternal_create_object_v1(authenticationexternal_create_object_v1_request) + +Create a new Authenticationexternal + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.authenticationexternal_create_object_v1_request import AuthenticationexternalCreateObjectV1Request +from eZmaxApi.models.authenticationexternal_create_object_v1_response import AuthenticationexternalCreateObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectAuthenticationexternalApi(api_client) + authenticationexternal_create_object_v1_request = eZmaxApi.AuthenticationexternalCreateObjectV1Request() # AuthenticationexternalCreateObjectV1Request | + + try: + # Create a new Authenticationexternal + api_response = api_instance.authenticationexternal_create_object_v1(authenticationexternal_create_object_v1_request) + print("The response of ObjectAuthenticationexternalApi->authenticationexternal_create_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectAuthenticationexternalApi->authenticationexternal_create_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authenticationexternal_create_object_v1_request** | [**AuthenticationexternalCreateObjectV1Request**](AuthenticationexternalCreateObjectV1Request.md)| | + +### Return type + +[**AuthenticationexternalCreateObjectV1Response**](AuthenticationexternalCreateObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **authenticationexternal_delete_object_v1** +> AuthenticationexternalDeleteObjectV1Response authenticationexternal_delete_object_v1(pki_authenticationexternal_id) + +Delete an existing Authenticationexternal + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.authenticationexternal_delete_object_v1_response import AuthenticationexternalDeleteObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectAuthenticationexternalApi(api_client) + pki_authenticationexternal_id = 56 # int | The unique ID of the Authenticationexternal + + try: + # Delete an existing Authenticationexternal + api_response = api_instance.authenticationexternal_delete_object_v1(pki_authenticationexternal_id) + print("The response of ObjectAuthenticationexternalApi->authenticationexternal_delete_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectAuthenticationexternalApi->authenticationexternal_delete_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_authenticationexternal_id** | **int**| The unique ID of the Authenticationexternal | + +### Return type + +[**AuthenticationexternalDeleteObjectV1Response**](AuthenticationexternalDeleteObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **authenticationexternal_edit_object_v1** +> AuthenticationexternalEditObjectV1Response authenticationexternal_edit_object_v1(pki_authenticationexternal_id, authenticationexternal_edit_object_v1_request) + +Edit an existing Authenticationexternal + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.authenticationexternal_edit_object_v1_request import AuthenticationexternalEditObjectV1Request +from eZmaxApi.models.authenticationexternal_edit_object_v1_response import AuthenticationexternalEditObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectAuthenticationexternalApi(api_client) + pki_authenticationexternal_id = 56 # int | The unique ID of the Authenticationexternal + authenticationexternal_edit_object_v1_request = eZmaxApi.AuthenticationexternalEditObjectV1Request() # AuthenticationexternalEditObjectV1Request | + + try: + # Edit an existing Authenticationexternal + api_response = api_instance.authenticationexternal_edit_object_v1(pki_authenticationexternal_id, authenticationexternal_edit_object_v1_request) + print("The response of ObjectAuthenticationexternalApi->authenticationexternal_edit_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectAuthenticationexternalApi->authenticationexternal_edit_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_authenticationexternal_id** | **int**| The unique ID of the Authenticationexternal | + **authenticationexternal_edit_object_v1_request** | [**AuthenticationexternalEditObjectV1Request**](AuthenticationexternalEditObjectV1Request.md)| | + +### Return type + +[**AuthenticationexternalEditObjectV1Response**](AuthenticationexternalEditObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **authenticationexternal_get_autocomplete_v2** +> AuthenticationexternalGetAutocompleteV2Response authenticationexternal_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + +Retrieve Authenticationexternals and IDs + +Get the list of Authenticationexternal to be used in a dropdown or autocomplete control. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response import AuthenticationexternalGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectAuthenticationexternalApi(api_client) + s_selector = 's_selector_example' # str | The type of Authenticationexternals to return + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) + s_query = 's_query_example' # str | Allow to filter the returned results (optional) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + + try: + # Retrieve Authenticationexternals and IDs + api_response = api_instance.authenticationexternal_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + print("The response of ObjectAuthenticationexternalApi->authenticationexternal_get_autocomplete_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectAuthenticationexternalApi->authenticationexternal_get_autocomplete_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **s_selector** | **str**| The type of Authenticationexternals to return | + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] + **s_query** | **str**| Allow to filter the returned results | [optional] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + +### Return type + +[**AuthenticationexternalGetAutocompleteV2Response**](AuthenticationexternalGetAutocompleteV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **authenticationexternal_get_list_v1** +> AuthenticationexternalGetListV1Response authenticationexternal_get_list_v1(e_order_by=e_order_by, i_row_max=i_row_max, i_row_offset=i_row_offset, accept_language=accept_language, s_filter=s_filter) + +Retrieve Authenticationexternal list + +Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eAuthenticationexternalType | Salesforce
SalesforceSandbox | + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.authenticationexternal_get_list_v1_response import AuthenticationexternalGetListV1Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectAuthenticationexternalApi(api_client) + e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) + i_row_max = 56 # int | (optional) + i_row_offset = 0 # int | (optional) (default to 0) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + s_filter = 's_filter_example' # str | (optional) + + try: + # Retrieve Authenticationexternal list + api_response = api_instance.authenticationexternal_get_list_v1(e_order_by=e_order_by, i_row_max=i_row_max, i_row_offset=i_row_offset, accept_language=accept_language, s_filter=s_filter) + print("The response of ObjectAuthenticationexternalApi->authenticationexternal_get_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectAuthenticationexternalApi->authenticationexternal_get_list_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] + **i_row_max** | **int**| | [optional] + **i_row_offset** | **int**| | [optional] [default to 0] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + **s_filter** | **str**| | [optional] + +### Return type + +[**AuthenticationexternalGetListV1Response**](AuthenticationexternalGetListV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**406** | The URL is valid, but one of the Accept header is not defined or invalid. For example, you set the header \"Accept: application/json\" but the function can only return \"Content-type: image/png\" | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **authenticationexternal_get_object_v2** +> AuthenticationexternalGetObjectV2Response authenticationexternal_get_object_v2(pki_authenticationexternal_id) + +Retrieve an existing Authenticationexternal + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.authenticationexternal_get_object_v2_response import AuthenticationexternalGetObjectV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectAuthenticationexternalApi(api_client) + pki_authenticationexternal_id = 56 # int | The unique ID of the Authenticationexternal + + try: + # Retrieve an existing Authenticationexternal + api_response = api_instance.authenticationexternal_get_object_v2(pki_authenticationexternal_id) + print("The response of ObjectAuthenticationexternalApi->authenticationexternal_get_object_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectAuthenticationexternalApi->authenticationexternal_get_object_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_authenticationexternal_id** | **int**| The unique ID of the Authenticationexternal | + +### Return type + +[**AuthenticationexternalGetObjectV2Response**](AuthenticationexternalGetObjectV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **authenticationexternal_reset_authorization_v1** +> AuthenticationexternalResetAuthorizationV1Response authenticationexternal_reset_authorization_v1(pki_authenticationexternal_id, body) + +Reset the Authenticationexternal authorization + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.authenticationexternal_reset_authorization_v1_response import AuthenticationexternalResetAuthorizationV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectAuthenticationexternalApi(api_client) + pki_authenticationexternal_id = 56 # int | + body = None # object | + + try: + # Reset the Authenticationexternal authorization + api_response = api_instance.authenticationexternal_reset_authorization_v1(pki_authenticationexternal_id, body) + print("The response of ObjectAuthenticationexternalApi->authenticationexternal_reset_authorization_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectAuthenticationexternalApi->authenticationexternal_reset_authorization_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_authenticationexternal_id** | **int**| | + **body** | **object**| | + +### Return type + +[**AuthenticationexternalResetAuthorizationV1Response**](AuthenticationexternalResetAuthorizationV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectBillingentityexternalApi.md b/docs/ObjectBillingentityexternalApi.md index 386374fdd..a1b45ff3a 100644 --- a/docs/ObjectBillingentityexternalApi.md +++ b/docs/ObjectBillingentityexternalApi.md @@ -4,9 +4,93 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- +[**billingentityexternal_generate_federation_token_v1**](ObjectBillingentityexternalApi.md#billingentityexternal_generate_federation_token_v1) | **POST** /1/object/billingentityexternal/{pkiBillingentityexternalID}/generateFederationToken | Generate a federation token [**billingentityexternal_get_autocomplete_v2**](ObjectBillingentityexternalApi.md#billingentityexternal_get_autocomplete_v2) | **GET** /2/object/billingentityexternal/getAutocomplete/{sSelector} | Retrieve Billingentityexternals and IDs +# **billingentityexternal_generate_federation_token_v1** +> BillingentityexternalGenerateFederationTokenV1Response billingentityexternal_generate_federation_token_v1(pki_billingentityexternal_id, billingentityexternal_generate_federation_token_v1_request) + +Generate a federation token + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_request import BillingentityexternalGenerateFederationTokenV1Request +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response import BillingentityexternalGenerateFederationTokenV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectBillingentityexternalApi(api_client) + pki_billingentityexternal_id = 56 # int | + billingentityexternal_generate_federation_token_v1_request = eZmaxApi.BillingentityexternalGenerateFederationTokenV1Request() # BillingentityexternalGenerateFederationTokenV1Request | + + try: + # Generate a federation token + api_response = api_instance.billingentityexternal_generate_federation_token_v1(pki_billingentityexternal_id, billingentityexternal_generate_federation_token_v1_request) + print("The response of ObjectBillingentityexternalApi->billingentityexternal_generate_federation_token_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectBillingentityexternalApi->billingentityexternal_generate_federation_token_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_billingentityexternal_id** | **int**| | + **billingentityexternal_generate_federation_token_v1_request** | [**BillingentityexternalGenerateFederationTokenV1Request**](BillingentityexternalGenerateFederationTokenV1Request.md)| | + +### Return type + +[**BillingentityexternalGenerateFederationTokenV1Response**](BillingentityexternalGenerateFederationTokenV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **billingentityexternal_get_autocomplete_v2** > BillingentityexternalGetAutocompleteV2Response billingentityexternal_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) @@ -47,7 +131,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectBillingentityexternalApi(api_client) s_selector = 's_selector_example' # str | The type of Billingentityexternals to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +152,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Billingentityexternals to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectBillingentityinternalApi.md b/docs/ObjectBillingentityinternalApi.md index 46d624f16..f55316b00 100644 --- a/docs/ObjectBillingentityinternalApi.md +++ b/docs/ObjectBillingentityinternalApi.md @@ -215,7 +215,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectBillingentityinternalApi(api_client) s_selector = 's_selector_example' # str | The type of Billingentityinternals to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -236,7 +236,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Billingentityinternals to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectBrandingApi.md b/docs/ObjectBrandingApi.md index dce894c17..f4dd7cc8b 100644 --- a/docs/ObjectBrandingApi.md +++ b/docs/ObjectBrandingApi.md @@ -4,15 +4,15 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- -[**branding_create_object_v1**](ObjectBrandingApi.md#branding_create_object_v1) | **POST** /1/object/branding | Create a new Branding -[**branding_edit_object_v1**](ObjectBrandingApi.md#branding_edit_object_v1) | **PUT** /1/object/branding/{pkiBrandingID} | Edit an existing Branding +[**branding_create_object_v2**](ObjectBrandingApi.md#branding_create_object_v2) | **POST** /2/object/branding | Create a new Branding +[**branding_edit_object_v2**](ObjectBrandingApi.md#branding_edit_object_v2) | **PUT** /2/object/branding/{pkiBrandingID} | Edit an existing Branding [**branding_get_autocomplete_v2**](ObjectBrandingApi.md#branding_get_autocomplete_v2) | **GET** /2/object/branding/getAutocomplete/{sSelector} | Retrieve Brandings and IDs [**branding_get_list_v1**](ObjectBrandingApi.md#branding_get_list_v1) | **GET** /1/object/branding/getList | Retrieve Branding list -[**branding_get_object_v2**](ObjectBrandingApi.md#branding_get_object_v2) | **GET** /2/object/branding/{pkiBrandingID} | Retrieve an existing Branding +[**branding_get_object_v3**](ObjectBrandingApi.md#branding_get_object_v3) | **GET** /3/object/branding/{pkiBrandingID} | Retrieve an existing Branding -# **branding_create_object_v1** -> BrandingCreateObjectV1Response branding_create_object_v1(branding_create_object_v1_request) +# **branding_create_object_v2** +> BrandingCreateObjectV2Response branding_create_object_v2(branding_create_object_v2_request) Create a new Branding @@ -24,8 +24,8 @@ The endpoint allows to create one or many elements at once. ```python import eZmaxApi -from eZmaxApi.models.branding_create_object_v1_request import BrandingCreateObjectV1Request -from eZmaxApi.models.branding_create_object_v1_response import BrandingCreateObjectV1Response +from eZmaxApi.models.branding_create_object_v2_request import BrandingCreateObjectV2Request +from eZmaxApi.models.branding_create_object_v2_response import BrandingCreateObjectV2Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -50,15 +50,15 @@ configuration.api_key['Authorization'] = os.environ["API_KEY"] with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectBrandingApi(api_client) - branding_create_object_v1_request = eZmaxApi.BrandingCreateObjectV1Request() # BrandingCreateObjectV1Request | + branding_create_object_v2_request = eZmaxApi.BrandingCreateObjectV2Request() # BrandingCreateObjectV2Request | try: # Create a new Branding - api_response = api_instance.branding_create_object_v1(branding_create_object_v1_request) - print("The response of ObjectBrandingApi->branding_create_object_v1:\n") + api_response = api_instance.branding_create_object_v2(branding_create_object_v2_request) + print("The response of ObjectBrandingApi->branding_create_object_v2:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectBrandingApi->branding_create_object_v1: %s\n" % e) + print("Exception when calling ObjectBrandingApi->branding_create_object_v2: %s\n" % e) ``` @@ -68,11 +68,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **branding_create_object_v1_request** | [**BrandingCreateObjectV1Request**](BrandingCreateObjectV1Request.md)| | + **branding_create_object_v2_request** | [**BrandingCreateObjectV2Request**](BrandingCreateObjectV2Request.md)| | ### Return type -[**BrandingCreateObjectV1Response**](BrandingCreateObjectV1Response.md) +[**BrandingCreateObjectV2Response**](BrandingCreateObjectV2Response.md) ### Authorization @@ -91,8 +91,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **branding_edit_object_v1** -> BrandingEditObjectV1Response branding_edit_object_v1(pki_branding_id, branding_edit_object_v1_request) +# **branding_edit_object_v2** +> BrandingEditObjectV2Response branding_edit_object_v2(pki_branding_id, branding_edit_object_v2_request) Edit an existing Branding @@ -104,8 +104,8 @@ Edit an existing Branding ```python import eZmaxApi -from eZmaxApi.models.branding_edit_object_v1_request import BrandingEditObjectV1Request -from eZmaxApi.models.branding_edit_object_v1_response import BrandingEditObjectV1Response +from eZmaxApi.models.branding_edit_object_v2_request import BrandingEditObjectV2Request +from eZmaxApi.models.branding_edit_object_v2_response import BrandingEditObjectV2Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -131,15 +131,15 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectBrandingApi(api_client) pki_branding_id = 56 # int | - branding_edit_object_v1_request = eZmaxApi.BrandingEditObjectV1Request() # BrandingEditObjectV1Request | + branding_edit_object_v2_request = eZmaxApi.BrandingEditObjectV2Request() # BrandingEditObjectV2Request | try: # Edit an existing Branding - api_response = api_instance.branding_edit_object_v1(pki_branding_id, branding_edit_object_v1_request) - print("The response of ObjectBrandingApi->branding_edit_object_v1:\n") + api_response = api_instance.branding_edit_object_v2(pki_branding_id, branding_edit_object_v2_request) + print("The response of ObjectBrandingApi->branding_edit_object_v2:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectBrandingApi->branding_edit_object_v1: %s\n" % e) + print("Exception when calling ObjectBrandingApi->branding_edit_object_v2: %s\n" % e) ``` @@ -150,11 +150,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pki_branding_id** | **int**| | - **branding_edit_object_v1_request** | [**BrandingEditObjectV1Request**](BrandingEditObjectV1Request.md)| | + **branding_edit_object_v2_request** | [**BrandingEditObjectV2Request**](BrandingEditObjectV2Request.md)| | ### Return type -[**BrandingEditObjectV1Response**](BrandingEditObjectV1Response.md) +[**BrandingEditObjectV2Response**](BrandingEditObjectV2Response.md) ### Authorization @@ -214,7 +214,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectBrandingApi(api_client) s_selector = 's_selector_example' # str | The type of Brandings to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -235,7 +235,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Brandings to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] @@ -349,8 +349,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **branding_get_object_v2** -> BrandingGetObjectV2Response branding_get_object_v2(pki_branding_id) +# **branding_get_object_v3** +> BrandingGetObjectV3Response branding_get_object_v3(pki_branding_id) Retrieve an existing Branding @@ -362,7 +362,7 @@ Retrieve an existing Branding ```python import eZmaxApi -from eZmaxApi.models.branding_get_object_v2_response import BrandingGetObjectV2Response +from eZmaxApi.models.branding_get_object_v3_response import BrandingGetObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -391,11 +391,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: try: # Retrieve an existing Branding - api_response = api_instance.branding_get_object_v2(pki_branding_id) - print("The response of ObjectBrandingApi->branding_get_object_v2:\n") + api_response = api_instance.branding_get_object_v3(pki_branding_id) + print("The response of ObjectBrandingApi->branding_get_object_v3:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectBrandingApi->branding_get_object_v2: %s\n" % e) + print("Exception when calling ObjectBrandingApi->branding_get_object_v3: %s\n" % e) ``` @@ -409,7 +409,7 @@ Name | Type | Description | Notes ### Return type -[**BrandingGetObjectV2Response**](BrandingGetObjectV2Response.md) +[**BrandingGetObjectV3Response**](BrandingGetObjectV3Response.md) ### Authorization diff --git a/docs/ObjectBuyercontractApi.md b/docs/ObjectBuyercontractApi.md index 96d33c95a..e0ac7eb54 100644 --- a/docs/ObjectBuyercontractApi.md +++ b/docs/ObjectBuyercontractApi.md @@ -4,9 +4,92 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- +[**buyercontract_get_communication_count_v1**](ObjectBuyercontractApi.md#buyercontract_get_communication_count_v1) | **GET** /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationCount | Retrieve Communication count [**buyercontract_get_communication_list_v1**](ObjectBuyercontractApi.md#buyercontract_get_communication_list_v1) | **GET** /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationList | Retrieve Communication list +[**buyercontract_get_communicationrecipients_v1**](ObjectBuyercontractApi.md#buyercontract_get_communicationrecipients_v1) | **GET** /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients | Retrieve Buyercontract's Communicationrecipient +[**buyercontract_get_communicationsenders_v1**](ObjectBuyercontractApi.md#buyercontract_get_communicationsenders_v1) | **GET** /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationsenders | Retrieve Buyercontract's Communicationsender +# **buyercontract_get_communication_count_v1** +> BuyercontractGetCommunicationCountV1Response buyercontract_get_communication_count_v1(pki_buyercontract_id) + +Retrieve Communication count + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.buyercontract_get_communication_count_v1_response import BuyercontractGetCommunicationCountV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectBuyercontractApi(api_client) + pki_buyercontract_id = 56 # int | + + try: + # Retrieve Communication count + api_response = api_instance.buyercontract_get_communication_count_v1(pki_buyercontract_id) + print("The response of ObjectBuyercontractApi->buyercontract_get_communication_count_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectBuyercontractApi->buyercontract_get_communication_count_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_buyercontract_id** | **int**| | + +### Return type + +[**BuyercontractGetCommunicationCountV1Response**](BuyercontractGetCommunicationCountV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **buyercontract_get_communication_list_v1** > BuyercontractGetCommunicationListV1Response buyercontract_get_communication_list_v1(pki_buyercontract_id) @@ -87,3 +170,163 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **buyercontract_get_communicationrecipients_v1** +> BuyercontractGetCommunicationrecipientsV1Response buyercontract_get_communicationrecipients_v1(pki_buyercontract_id) + +Retrieve Buyercontract's Communicationrecipient + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response import BuyercontractGetCommunicationrecipientsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectBuyercontractApi(api_client) + pki_buyercontract_id = 56 # int | + + try: + # Retrieve Buyercontract's Communicationrecipient + api_response = api_instance.buyercontract_get_communicationrecipients_v1(pki_buyercontract_id) + print("The response of ObjectBuyercontractApi->buyercontract_get_communicationrecipients_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectBuyercontractApi->buyercontract_get_communicationrecipients_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_buyercontract_id** | **int**| | + +### Return type + +[**BuyercontractGetCommunicationrecipientsV1Response**](BuyercontractGetCommunicationrecipientsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **buyercontract_get_communicationsenders_v1** +> BuyercontractGetCommunicationsendersV1Response buyercontract_get_communicationsenders_v1(pki_buyercontract_id) + +Retrieve Buyercontract's Communicationsender + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response import BuyercontractGetCommunicationsendersV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectBuyercontractApi(api_client) + pki_buyercontract_id = 56 # int | + + try: + # Retrieve Buyercontract's Communicationsender + api_response = api_instance.buyercontract_get_communicationsenders_v1(pki_buyercontract_id) + print("The response of ObjectBuyercontractApi->buyercontract_get_communicationsenders_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectBuyercontractApi->buyercontract_get_communicationsenders_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_buyercontract_id** | **int**| | + +### Return type + +[**BuyercontractGetCommunicationsendersV1Response**](BuyercontractGetCommunicationsendersV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectCommunicationApi.md b/docs/ObjectCommunicationApi.md index ab9b1bdb0..e80d39ef8 100644 --- a/docs/ObjectCommunicationApi.md +++ b/docs/ObjectCommunicationApi.md @@ -4,9 +4,87 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- +[**communication_get_communication_body_v1**](ObjectCommunicationApi.md#communication_get_communication_body_v1) | **GET** /1/object/communication/{pkiCommunicationID}/getCommunicationBody | Retrieve the communication body. [**communication_send_v1**](ObjectCommunicationApi.md#communication_send_v1) | **POST** /1/object/communication/send | Send a new Communication +# **communication_get_communication_body_v1** +> communication_get_communication_body_v1(pki_communication_id) + +Retrieve the communication body. + +This endpoint returns the communication body. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectCommunicationApi(api_client) + pki_communication_id = 56 # int | + + try: + # Retrieve the communication body. + api_instance.communication_get_communication_body_v1(pki_communication_id) + except Exception as e: + print("Exception when calling ObjectCommunicationApi->communication_get_communication_body_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_communication_id** | **int**| | + +### Return type + +void (empty response body) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**302** | The user has been redirected | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **communication_send_v1** > CommunicationSendV1Response communication_send_v1(communication_send_v1_request) diff --git a/docs/ObjectCompanyApi.md b/docs/ObjectCompanyApi.md index a601832e7..09d60ceb8 100644 --- a/docs/ObjectCompanyApi.md +++ b/docs/ObjectCompanyApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectCompanyApi(api_client) s_selector = 's_selector_example' # str | The type of Companys to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Companys to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectContacttitleApi.md b/docs/ObjectContacttitleApi.md new file mode 100644 index 000000000..db4c2c286 --- /dev/null +++ b/docs/ObjectContacttitleApi.md @@ -0,0 +1,93 @@ +# eZmaxApi.ObjectContacttitleApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**contacttitle_get_autocomplete_v2**](ObjectContacttitleApi.md#contacttitle_get_autocomplete_v2) | **GET** /2/object/contacttitle/getAutocomplete/{sSelector} | Retrieve Contacttitles and IDs + + +# **contacttitle_get_autocomplete_v2** +> ContacttitleGetAutocompleteV2Response contacttitle_get_autocomplete_v2(s_selector, s_query=s_query, accept_language=accept_language) + +Retrieve Contacttitles and IDs + +Get the list of Contacttitle to be used in a dropdown or autocomplete control. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response import ContacttitleGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectContacttitleApi(api_client) + s_selector = 's_selector_example' # str | The type of Contacttitles to return + s_query = 's_query_example' # str | Allow to filter the returned results (optional) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + + try: + # Retrieve Contacttitles and IDs + api_response = api_instance.contacttitle_get_autocomplete_v2(s_selector, s_query=s_query, accept_language=accept_language) + print("The response of ObjectContacttitleApi->contacttitle_get_autocomplete_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectContacttitleApi->contacttitle_get_autocomplete_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **s_selector** | **str**| The type of Contacttitles to return | + **s_query** | **str**| Allow to filter the returned results | [optional] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + +### Return type + +[**ContacttitleGetAutocompleteV2Response**](ContacttitleGetAutocompleteV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectCountryApi.md b/docs/ObjectCountryApi.md index c6242d09d..ab083b189 100644 --- a/docs/ObjectCountryApi.md +++ b/docs/ObjectCountryApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectCountryApi(api_client) s_selector = 's_selector_example' # str | The type of Countries to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Countries to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectCreditcardclientApi.md b/docs/ObjectCreditcardclientApi.md index d74261c3c..837f72f7e 100644 --- a/docs/ObjectCreditcardclientApi.md +++ b/docs/ObjectCreditcardclientApi.md @@ -10,6 +10,7 @@ Method | HTTP request | Description [**creditcardclient_get_autocomplete_v2**](ObjectCreditcardclientApi.md#creditcardclient_get_autocomplete_v2) | **GET** /2/object/creditcardclient/getAutocomplete/{sSelector} | Retrieve Creditcardclients and IDs [**creditcardclient_get_list_v1**](ObjectCreditcardclientApi.md#creditcardclient_get_list_v1) | **GET** /1/object/creditcardclient/getList | Retrieve Creditcardclient list [**creditcardclient_get_object_v2**](ObjectCreditcardclientApi.md#creditcardclient_get_object_v2) | **GET** /2/object/creditcardclient/{pkiCreditcardclientID} | Retrieve an existing Creditcardclient +[**creditcardclient_patch_object_v1**](ObjectCreditcardclientApi.md#creditcardclient_patch_object_v1) | **PATCH** /1/object/creditcardclient/{pkiCreditcardclientID} | Patch an existing Creditcardclient # **creditcardclient_create_object_v1** @@ -89,6 +90,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **201** | Successful response | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -252,7 +254,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Successful response | - | **404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | -**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -296,7 +298,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectCreditcardclientApi(api_client) s_selector = 's_selector_example' # str | The type of Creditcardclients to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -317,7 +319,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Creditcardclients to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] @@ -511,3 +513,87 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **creditcardclient_patch_object_v1** +> CreditcardclientPatchObjectV1Response creditcardclient_patch_object_v1(pki_creditcardclient_id, creditcardclient_patch_object_v1_request) + +Patch an existing Creditcardclient + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.creditcardclient_patch_object_v1_request import CreditcardclientPatchObjectV1Request +from eZmaxApi.models.creditcardclient_patch_object_v1_response import CreditcardclientPatchObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectCreditcardclientApi(api_client) + pki_creditcardclient_id = 56 # int | The unique ID of the Creditcardclient + creditcardclient_patch_object_v1_request = eZmaxApi.CreditcardclientPatchObjectV1Request() # CreditcardclientPatchObjectV1Request | + + try: + # Patch an existing Creditcardclient + api_response = api_instance.creditcardclient_patch_object_v1(pki_creditcardclient_id, creditcardclient_patch_object_v1_request) + print("The response of ObjectCreditcardclientApi->creditcardclient_patch_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectCreditcardclientApi->creditcardclient_patch_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_creditcardclient_id** | **int**| The unique ID of the Creditcardclient | + **creditcardclient_patch_object_v1_request** | [**CreditcardclientPatchObjectV1Request**](CreditcardclientPatchObjectV1Request.md)| | + +### Return type + +[**CreditcardclientPatchObjectV1Response**](CreditcardclientPatchObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectCreditcardtypeApi.md b/docs/ObjectCreditcardtypeApi.md index b91f1de2a..c5578684f 100644 --- a/docs/ObjectCreditcardtypeApi.md +++ b/docs/ObjectCreditcardtypeApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectCreditcardtypeApi(api_client) s_selector = 's_selector_example' # str | The type of Creditcardtypes to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Creditcardtypes to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectCustomerApi.md b/docs/ObjectCustomerApi.md new file mode 100644 index 000000000..1634443e7 --- /dev/null +++ b/docs/ObjectCustomerApi.md @@ -0,0 +1,170 @@ +# eZmaxApi.ObjectCustomerApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**customer_create_object_v1**](ObjectCustomerApi.md#customer_create_object_v1) | **POST** /1/object/customer | Create a new Customer +[**customer_get_object_v2**](ObjectCustomerApi.md#customer_get_object_v2) | **GET** /2/object/customer/{pkiCustomerID} | Retrieve an existing Customer + + +# **customer_create_object_v1** +> CustomerCreateObjectV1Response customer_create_object_v1(customer_create_object_v1_request) + +Create a new Customer + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.customer_create_object_v1_request import CustomerCreateObjectV1Request +from eZmaxApi.models.customer_create_object_v1_response import CustomerCreateObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectCustomerApi(api_client) + customer_create_object_v1_request = eZmaxApi.CustomerCreateObjectV1Request() # CustomerCreateObjectV1Request | + + try: + # Create a new Customer + api_response = api_instance.customer_create_object_v1(customer_create_object_v1_request) + print("The response of ObjectCustomerApi->customer_create_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectCustomerApi->customer_create_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_create_object_v1_request** | [**CustomerCreateObjectV1Request**](CustomerCreateObjectV1Request.md)| | + +### Return type + +[**CustomerCreateObjectV1Response**](CustomerCreateObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **customer_get_object_v2** +> CustomerGetObjectV2Response customer_get_object_v2(pki_customer_id) + +Retrieve an existing Customer + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.customer_get_object_v2_response import CustomerGetObjectV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectCustomerApi(api_client) + pki_customer_id = 56 # int | The unique ID of the Customer + + try: + # Retrieve an existing Customer + api_response = api_instance.customer_get_object_v2(pki_customer_id) + print("The response of ObjectCustomerApi->customer_get_object_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectCustomerApi->customer_get_object_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_customer_id** | **int**| The unique ID of the Customer | + +### Return type + +[**CustomerGetObjectV2Response**](CustomerGetObjectV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectDepartmentApi.md b/docs/ObjectDepartmentApi.md index 1f2f1716e..eb10ffd4d 100644 --- a/docs/ObjectDepartmentApi.md +++ b/docs/ObjectDepartmentApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectDepartmentApi(api_client) s_selector = 's_selector_example' # str | The type of Departments to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Departments to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectDomainApi.md b/docs/ObjectDomainApi.md new file mode 100644 index 000000000..647c4c0c3 --- /dev/null +++ b/docs/ObjectDomainApi.md @@ -0,0 +1,341 @@ +# eZmaxApi.ObjectDomainApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**domain_create_object_v1**](ObjectDomainApi.md#domain_create_object_v1) | **POST** /1/object/domain | Create a new Domain +[**domain_delete_object_v1**](ObjectDomainApi.md#domain_delete_object_v1) | **DELETE** /1/object/domain/{pkiDomainID} | Delete an existing Domain +[**domain_get_list_v1**](ObjectDomainApi.md#domain_get_list_v1) | **GET** /1/object/domain/getList | Retrieve Domain list +[**domain_get_object_v2**](ObjectDomainApi.md#domain_get_object_v2) | **GET** /2/object/domain/{pkiDomainID} | Retrieve an existing Domain + + +# **domain_create_object_v1** +> DomainCreateObjectV1Response domain_create_object_v1(domain_create_object_v1_request) + +Create a new Domain + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.domain_create_object_v1_request import DomainCreateObjectV1Request +from eZmaxApi.models.domain_create_object_v1_response import DomainCreateObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectDomainApi(api_client) + domain_create_object_v1_request = eZmaxApi.DomainCreateObjectV1Request() # DomainCreateObjectV1Request | + + try: + # Create a new Domain + api_response = api_instance.domain_create_object_v1(domain_create_object_v1_request) + print("The response of ObjectDomainApi->domain_create_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectDomainApi->domain_create_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **domain_create_object_v1_request** | [**DomainCreateObjectV1Request**](DomainCreateObjectV1Request.md)| | + +### Return type + +[**DomainCreateObjectV1Response**](DomainCreateObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **domain_delete_object_v1** +> DomainDeleteObjectV1Response domain_delete_object_v1(pki_domain_id) + +Delete an existing Domain + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.domain_delete_object_v1_response import DomainDeleteObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectDomainApi(api_client) + pki_domain_id = 56 # int | The unique ID of the Domain + + try: + # Delete an existing Domain + api_response = api_instance.domain_delete_object_v1(pki_domain_id) + print("The response of ObjectDomainApi->domain_delete_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectDomainApi->domain_delete_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_domain_id** | **int**| The unique ID of the Domain | + +### Return type + +[**DomainDeleteObjectV1Response**](DomainDeleteObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **domain_get_list_v1** +> DomainGetListV1Response domain_get_list_v1(e_order_by=e_order_by, i_row_max=i_row_max, i_row_offset=i_row_offset, accept_language=accept_language, s_filter=s_filter) + +Retrieve Domain list + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.domain_get_list_v1_response import DomainGetListV1Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectDomainApi(api_client) + e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) + i_row_max = 56 # int | (optional) + i_row_offset = 0 # int | (optional) (default to 0) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + s_filter = 's_filter_example' # str | (optional) + + try: + # Retrieve Domain list + api_response = api_instance.domain_get_list_v1(e_order_by=e_order_by, i_row_max=i_row_max, i_row_offset=i_row_offset, accept_language=accept_language, s_filter=s_filter) + print("The response of ObjectDomainApi->domain_get_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectDomainApi->domain_get_list_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] + **i_row_max** | **int**| | [optional] + **i_row_offset** | **int**| | [optional] [default to 0] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + **s_filter** | **str**| | [optional] + +### Return type + +[**DomainGetListV1Response**](DomainGetListV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**406** | The URL is valid, but one of the Accept header is not defined or invalid. For example, you set the header \"Accept: application/json\" but the function can only return \"Content-type: image/png\" | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **domain_get_object_v2** +> DomainGetObjectV2Response domain_get_object_v2(pki_domain_id) + +Retrieve an existing Domain + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.domain_get_object_v2_response import DomainGetObjectV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectDomainApi(api_client) + pki_domain_id = 56 # int | The unique ID of the Domain + + try: + # Retrieve an existing Domain + api_response = api_instance.domain_get_object_v2(pki_domain_id) + print("The response of ObjectDomainApi->domain_get_object_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectDomainApi->domain_get_object_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_domain_id** | **int**| The unique ID of the Domain | + +### Return type + +[**DomainGetObjectV2Response**](DomainGetObjectV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectElectronicfundstransferApi.md b/docs/ObjectElectronicfundstransferApi.md index 4cd9d4bf3..6a192456d 100644 --- a/docs/ObjectElectronicfundstransferApi.md +++ b/docs/ObjectElectronicfundstransferApi.md @@ -4,9 +4,92 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- +[**electronicfundstransfer_get_communication_count_v1**](ObjectElectronicfundstransferApi.md#electronicfundstransfer_get_communication_count_v1) | **GET** /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationCount | Retrieve Communication count [**electronicfundstransfer_get_communication_list_v1**](ObjectElectronicfundstransferApi.md#electronicfundstransfer_get_communication_list_v1) | **GET** /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationList | Retrieve Communication list +[**electronicfundstransfer_get_communicationrecipients_v1**](ObjectElectronicfundstransferApi.md#electronicfundstransfer_get_communicationrecipients_v1) | **GET** /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients | Retrieve Electronicfundstransfer's Communicationrecipient +[**electronicfundstransfer_get_communicationsenders_v1**](ObjectElectronicfundstransferApi.md#electronicfundstransfer_get_communicationsenders_v1) | **GET** /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationsenders | Retrieve Electronicfundstransfer's Communicationsender +# **electronicfundstransfer_get_communication_count_v1** +> ElectronicfundstransferGetCommunicationCountV1Response electronicfundstransfer_get_communication_count_v1(pki_electronicfundstransfer_id) + +Retrieve Communication count + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response import ElectronicfundstransferGetCommunicationCountV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectElectronicfundstransferApi(api_client) + pki_electronicfundstransfer_id = 56 # int | + + try: + # Retrieve Communication count + api_response = api_instance.electronicfundstransfer_get_communication_count_v1(pki_electronicfundstransfer_id) + print("The response of ObjectElectronicfundstransferApi->electronicfundstransfer_get_communication_count_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectElectronicfundstransferApi->electronicfundstransfer_get_communication_count_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_electronicfundstransfer_id** | **int**| | + +### Return type + +[**ElectronicfundstransferGetCommunicationCountV1Response**](ElectronicfundstransferGetCommunicationCountV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **electronicfundstransfer_get_communication_list_v1** > ElectronicfundstransferGetCommunicationListV1Response electronicfundstransfer_get_communication_list_v1(pki_electronicfundstransfer_id) @@ -87,3 +170,163 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **electronicfundstransfer_get_communicationrecipients_v1** +> ElectronicfundstransferGetCommunicationrecipientsV1Response electronicfundstransfer_get_communicationrecipients_v1(pki_electronicfundstransfer_id) + +Retrieve Electronicfundstransfer's Communicationrecipient + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response import ElectronicfundstransferGetCommunicationrecipientsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectElectronicfundstransferApi(api_client) + pki_electronicfundstransfer_id = 56 # int | + + try: + # Retrieve Electronicfundstransfer's Communicationrecipient + api_response = api_instance.electronicfundstransfer_get_communicationrecipients_v1(pki_electronicfundstransfer_id) + print("The response of ObjectElectronicfundstransferApi->electronicfundstransfer_get_communicationrecipients_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectElectronicfundstransferApi->electronicfundstransfer_get_communicationrecipients_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_electronicfundstransfer_id** | **int**| | + +### Return type + +[**ElectronicfundstransferGetCommunicationrecipientsV1Response**](ElectronicfundstransferGetCommunicationrecipientsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **electronicfundstransfer_get_communicationsenders_v1** +> ElectronicfundstransferGetCommunicationsendersV1Response electronicfundstransfer_get_communicationsenders_v1(pki_electronicfundstransfer_id) + +Retrieve Electronicfundstransfer's Communicationsender + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response import ElectronicfundstransferGetCommunicationsendersV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectElectronicfundstransferApi(api_client) + pki_electronicfundstransfer_id = 56 # int | + + try: + # Retrieve Electronicfundstransfer's Communicationsender + api_response = api_instance.electronicfundstransfer_get_communicationsenders_v1(pki_electronicfundstransfer_id) + print("The response of ObjectElectronicfundstransferApi->electronicfundstransfer_get_communicationsenders_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectElectronicfundstransferApi->electronicfundstransfer_get_communicationsenders_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_electronicfundstransfer_id** | **int**| | + +### Return type + +[**ElectronicfundstransferGetCommunicationsendersV1Response**](ElectronicfundstransferGetCommunicationsendersV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectEmailtypeApi.md b/docs/ObjectEmailtypeApi.md index 26fd54a3e..83e9b44e4 100644 --- a/docs/ObjectEmailtypeApi.md +++ b/docs/ObjectEmailtypeApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEmailtypeApi(api_client) s_selector = 's_selector_example' # str | The type of Emailtypes to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Emailtypes to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectEzdoctemplatedocumentApi.md b/docs/ObjectEzdoctemplatedocumentApi.md new file mode 100644 index 000000000..2600ee51b --- /dev/null +++ b/docs/ObjectEzdoctemplatedocumentApi.md @@ -0,0 +1,605 @@ +# eZmaxApi.ObjectEzdoctemplatedocumentApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ezdoctemplatedocument_create_object_v1**](ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_create_object_v1) | **POST** /1/object/ezdoctemplatedocument | Create a new Ezdoctemplatedocument +[**ezdoctemplatedocument_download_v1**](ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_download_v1) | **GET** /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID}/download | Retrieve the content +[**ezdoctemplatedocument_edit_object_v1**](ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_edit_object_v1) | **PUT** /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} | Edit an existing Ezdoctemplatedocument +[**ezdoctemplatedocument_get_autocomplete_v2**](ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_get_autocomplete_v2) | **GET** /2/object/ezdoctemplatedocument/getAutocomplete/{sSelector} | Retrieve Ezdoctemplatedocuments and IDs +[**ezdoctemplatedocument_get_list_v1**](ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_get_list_v1) | **GET** /1/object/ezdoctemplatedocument/getList | Retrieve Ezdoctemplatedocument list +[**ezdoctemplatedocument_get_object_v2**](ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_get_object_v2) | **GET** /2/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} | Retrieve an existing Ezdoctemplatedocument +[**ezdoctemplatedocument_patch_object_v1**](ObjectEzdoctemplatedocumentApi.md#ezdoctemplatedocument_patch_object_v1) | **PATCH** /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} | Patch an existing Ezdoctemplatedocument + + +# **ezdoctemplatedocument_create_object_v1** +> EzdoctemplatedocumentCreateObjectV1Response ezdoctemplatedocument_create_object_v1(ezdoctemplatedocument_create_object_v1_request) + +Create a new Ezdoctemplatedocument + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_request import EzdoctemplatedocumentCreateObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response import EzdoctemplatedocumentCreateObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzdoctemplatedocumentApi(api_client) + ezdoctemplatedocument_create_object_v1_request = eZmaxApi.EzdoctemplatedocumentCreateObjectV1Request() # EzdoctemplatedocumentCreateObjectV1Request | + + try: + # Create a new Ezdoctemplatedocument + api_response = api_instance.ezdoctemplatedocument_create_object_v1(ezdoctemplatedocument_create_object_v1_request) + print("The response of ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_create_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_create_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ezdoctemplatedocument_create_object_v1_request** | [**EzdoctemplatedocumentCreateObjectV1Request**](EzdoctemplatedocumentCreateObjectV1Request.md)| | + +### Return type + +[**EzdoctemplatedocumentCreateObjectV1Response**](EzdoctemplatedocumentCreateObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezdoctemplatedocument_download_v1** +> ezdoctemplatedocument_download_v1(pki_ezdoctemplatedocument_id) + +Retrieve the content + +Using this endpoint, you can retrieve the content of an ezdoctemplatedocument. + +### Example + +* Api Key Authentication (Authorization): +* Api Key Authentication (Presigned): + +```python +import eZmaxApi +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Configure API key authorization: Presigned +configuration.api_key['Presigned'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Presigned'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzdoctemplatedocumentApi(api_client) + pki_ezdoctemplatedocument_id = 56 # int | + + try: + # Retrieve the content + api_instance.ezdoctemplatedocument_download_v1(pki_ezdoctemplatedocument_id) + except Exception as e: + print("Exception when calling ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_download_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezdoctemplatedocument_id** | **int**| | + +### Return type + +void (empty response body) + +### Authorization + +[Authorization](../README.md#Authorization), [Presigned](../README.md#Presigned) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**302** | The user has been redirected | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezdoctemplatedocument_edit_object_v1** +> EzdoctemplatedocumentEditObjectV1Response ezdoctemplatedocument_edit_object_v1(pki_ezdoctemplatedocument_id, ezdoctemplatedocument_edit_object_v1_request) + +Edit an existing Ezdoctemplatedocument + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_request import EzdoctemplatedocumentEditObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_response import EzdoctemplatedocumentEditObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzdoctemplatedocumentApi(api_client) + pki_ezdoctemplatedocument_id = 56 # int | The unique ID of the Ezdoctemplatedocument + ezdoctemplatedocument_edit_object_v1_request = eZmaxApi.EzdoctemplatedocumentEditObjectV1Request() # EzdoctemplatedocumentEditObjectV1Request | + + try: + # Edit an existing Ezdoctemplatedocument + api_response = api_instance.ezdoctemplatedocument_edit_object_v1(pki_ezdoctemplatedocument_id, ezdoctemplatedocument_edit_object_v1_request) + print("The response of ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_edit_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_edit_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezdoctemplatedocument_id** | **int**| The unique ID of the Ezdoctemplatedocument | + **ezdoctemplatedocument_edit_object_v1_request** | [**EzdoctemplatedocumentEditObjectV1Request**](EzdoctemplatedocumentEditObjectV1Request.md)| | + +### Return type + +[**EzdoctemplatedocumentEditObjectV1Response**](EzdoctemplatedocumentEditObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezdoctemplatedocument_get_autocomplete_v2** +> EzdoctemplatedocumentGetAutocompleteV2Response ezdoctemplatedocument_get_autocomplete_v2(s_selector, e_type, fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + +Retrieve Ezdoctemplatedocuments and IDs + +Get the list of Ezdoctemplatedocument to be used in a dropdown or autocomplete control. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response import EzdoctemplatedocumentGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzdoctemplatedocumentApi(api_client) + s_selector = 's_selector_example' # str | The type of Ezdoctemplatedocuments to return + e_type = CompanyEzsignfoldertype # str | The type of Ezdoctemplatedocument (default to CompanyEzsignfoldertype) + fki_ezsignfoldertype_id = 'fki_ezsignfoldertype_id_example' # str | Specify which fkiEzsignfoldertypeID we want to display. only used when eType = Ezsignfoldertype (optional) + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) + s_query = 's_query_example' # str | Allow to filter the returned results (optional) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + + try: + # Retrieve Ezdoctemplatedocuments and IDs + api_response = api_instance.ezdoctemplatedocument_get_autocomplete_v2(s_selector, e_type, fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + print("The response of ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_get_autocomplete_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_get_autocomplete_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **s_selector** | **str**| The type of Ezdoctemplatedocuments to return | + **e_type** | **str**| The type of Ezdoctemplatedocument | [default to CompanyEzsignfoldertype] + **fki_ezsignfoldertype_id** | **str**| Specify which fkiEzsignfoldertypeID we want to display. only used when eType = Ezsignfoldertype | [optional] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] + **s_query** | **str**| Allow to filter the returned results | [optional] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + +### Return type + +[**EzdoctemplatedocumentGetAutocompleteV2Response**](EzdoctemplatedocumentGetAutocompleteV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezdoctemplatedocument_get_list_v1** +> EzdoctemplatedocumentGetListV1Response ezdoctemplatedocument_get_list_v1(e_order_by=e_order_by, i_row_max=i_row_max, i_row_offset=i_row_offset, accept_language=accept_language, s_filter=s_filter) + +Retrieve Ezdoctemplatedocument list + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response import EzdoctemplatedocumentGetListV1Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzdoctemplatedocumentApi(api_client) + e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) + i_row_max = 56 # int | (optional) + i_row_offset = 0 # int | (optional) (default to 0) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + s_filter = 's_filter_example' # str | (optional) + + try: + # Retrieve Ezdoctemplatedocument list + api_response = api_instance.ezdoctemplatedocument_get_list_v1(e_order_by=e_order_by, i_row_max=i_row_max, i_row_offset=i_row_offset, accept_language=accept_language, s_filter=s_filter) + print("The response of ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_get_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_get_list_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] + **i_row_max** | **int**| | [optional] + **i_row_offset** | **int**| | [optional] [default to 0] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + **s_filter** | **str**| | [optional] + +### Return type + +[**EzdoctemplatedocumentGetListV1Response**](EzdoctemplatedocumentGetListV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**406** | The URL is valid, but one of the Accept header is not defined or invalid. For example, you set the header \"Accept: application/json\" but the function can only return \"Content-type: image/png\" | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezdoctemplatedocument_get_object_v2** +> EzdoctemplatedocumentGetObjectV2Response ezdoctemplatedocument_get_object_v2(pki_ezdoctemplatedocument_id) + +Retrieve an existing Ezdoctemplatedocument + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response import EzdoctemplatedocumentGetObjectV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzdoctemplatedocumentApi(api_client) + pki_ezdoctemplatedocument_id = 56 # int | The unique ID of the Ezdoctemplatedocument + + try: + # Retrieve an existing Ezdoctemplatedocument + api_response = api_instance.ezdoctemplatedocument_get_object_v2(pki_ezdoctemplatedocument_id) + print("The response of ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_get_object_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_get_object_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezdoctemplatedocument_id** | **int**| The unique ID of the Ezdoctemplatedocument | + +### Return type + +[**EzdoctemplatedocumentGetObjectV2Response**](EzdoctemplatedocumentGetObjectV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezdoctemplatedocument_patch_object_v1** +> EzdoctemplatedocumentPatchObjectV1Response ezdoctemplatedocument_patch_object_v1(pki_ezdoctemplatedocument_id, ezdoctemplatedocument_patch_object_v1_request) + +Patch an existing Ezdoctemplatedocument + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_request import EzdoctemplatedocumentPatchObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_response import EzdoctemplatedocumentPatchObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzdoctemplatedocumentApi(api_client) + pki_ezdoctemplatedocument_id = 56 # int | The unique ID of the Ezdoctemplatedocument + ezdoctemplatedocument_patch_object_v1_request = eZmaxApi.EzdoctemplatedocumentPatchObjectV1Request() # EzdoctemplatedocumentPatchObjectV1Request | + + try: + # Patch an existing Ezdoctemplatedocument + api_response = api_instance.ezdoctemplatedocument_patch_object_v1(pki_ezdoctemplatedocument_id, ezdoctemplatedocument_patch_object_v1_request) + print("The response of ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_patch_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzdoctemplatedocumentApi->ezdoctemplatedocument_patch_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezdoctemplatedocument_id** | **int**| The unique ID of the Ezdoctemplatedocument | + **ezdoctemplatedocument_patch_object_v1_request** | [**EzdoctemplatedocumentPatchObjectV1Request**](EzdoctemplatedocumentPatchObjectV1Request.md)| | + +### Return type + +[**EzdoctemplatedocumentPatchObjectV1Response**](EzdoctemplatedocumentPatchObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectEzdoctemplatefieldtypecategoryApi.md b/docs/ObjectEzdoctemplatefieldtypecategoryApi.md new file mode 100644 index 000000000..e83e6fb8f --- /dev/null +++ b/docs/ObjectEzdoctemplatefieldtypecategoryApi.md @@ -0,0 +1,95 @@ +# eZmaxApi.ObjectEzdoctemplatefieldtypecategoryApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ezdoctemplatefieldtypecategory_get_autocomplete_v2**](ObjectEzdoctemplatefieldtypecategoryApi.md#ezdoctemplatefieldtypecategory_get_autocomplete_v2) | **GET** /2/object/ezdoctemplatefieldtypecategory/getAutocomplete/{sSelector} | Retrieve Ezdoctemplatefieldtypecategorys and IDs + + +# **ezdoctemplatefieldtypecategory_get_autocomplete_v2** +> EzdoctemplatefieldtypecategoryGetAutocompleteV2Response ezdoctemplatefieldtypecategory_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + +Retrieve Ezdoctemplatefieldtypecategorys and IDs + +Get the list of Ezdoctemplatefieldtypecategory to be used in a dropdown or autocomplete control. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response import EzdoctemplatefieldtypecategoryGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzdoctemplatefieldtypecategoryApi(api_client) + s_selector = 's_selector_example' # str | The type of Ezdoctemplatefieldtypecategorys to return + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) + s_query = 's_query_example' # str | Allow to filter the returned results (optional) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + + try: + # Retrieve Ezdoctemplatefieldtypecategorys and IDs + api_response = api_instance.ezdoctemplatefieldtypecategory_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + print("The response of ObjectEzdoctemplatefieldtypecategoryApi->ezdoctemplatefieldtypecategory_get_autocomplete_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzdoctemplatefieldtypecategoryApi->ezdoctemplatefieldtypecategory_get_autocomplete_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **s_selector** | **str**| The type of Ezdoctemplatefieldtypecategorys to return | + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] + **s_query** | **str**| Allow to filter the returned results | [optional] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + +### Return type + +[**EzdoctemplatefieldtypecategoryGetAutocompleteV2Response**](EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectEzdoctemplatetypeApi.md b/docs/ObjectEzdoctemplatetypeApi.md new file mode 100644 index 000000000..6bb728ccc --- /dev/null +++ b/docs/ObjectEzdoctemplatetypeApi.md @@ -0,0 +1,95 @@ +# eZmaxApi.ObjectEzdoctemplatetypeApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ezdoctemplatetype_get_autocomplete_v2**](ObjectEzdoctemplatetypeApi.md#ezdoctemplatetype_get_autocomplete_v2) | **GET** /2/object/ezdoctemplatetype/getAutocomplete/{sSelector} | Retrieve Ezdoctemplatetypes and IDs + + +# **ezdoctemplatetype_get_autocomplete_v2** +> EzdoctemplatetypeGetAutocompleteV2Response ezdoctemplatetype_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + +Retrieve Ezdoctemplatetypes and IDs + +Get the list of Ezdoctemplatetype to be used in a dropdown or autocomplete control. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response import EzdoctemplatetypeGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzdoctemplatetypeApi(api_client) + s_selector = 's_selector_example' # str | The type of Ezdoctemplatetypes to return + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) + s_query = 's_query_example' # str | Allow to filter the returned results (optional) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + + try: + # Retrieve Ezdoctemplatetypes and IDs + api_response = api_instance.ezdoctemplatetype_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + print("The response of ObjectEzdoctemplatetypeApi->ezdoctemplatetype_get_autocomplete_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzdoctemplatetypeApi->ezdoctemplatetype_get_autocomplete_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **s_selector** | **str**| The type of Ezdoctemplatetypes to return | + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] + **s_query** | **str**| Allow to filter the returned results | [optional] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + +### Return type + +[**EzdoctemplatetypeGetAutocompleteV2Response**](EzdoctemplatetypeGetAutocompleteV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectEzmaxinvoicingApi.md b/docs/ObjectEzmaxinvoicingApi.md index c52c1e0c4..ceddf7307 100644 --- a/docs/ObjectEzmaxinvoicingApi.md +++ b/docs/ObjectEzmaxinvoicingApi.md @@ -49,7 +49,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzmaxinvoicingApi(api_client) s_selector = 's_selector_example' # str | The type of Ezmaxinvoicings to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -70,7 +70,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Ezmaxinvoicings to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectEzmaxproductApi.md b/docs/ObjectEzmaxproductApi.md index dad7f47b9..281dbe531 100644 --- a/docs/ObjectEzmaxproductApi.md +++ b/docs/ObjectEzmaxproductApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzmaxproductApi(api_client) s_selector = 's_selector_example' # str | The type of Ezmaxproducts to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Ezmaxproducts to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectEzsignannotationApi.md b/docs/ObjectEzsignannotationApi.md new file mode 100644 index 000000000..9a5d057ec --- /dev/null +++ b/docs/ObjectEzsignannotationApi.md @@ -0,0 +1,336 @@ +# eZmaxApi.ObjectEzsignannotationApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ezsignannotation_create_object_v1**](ObjectEzsignannotationApi.md#ezsignannotation_create_object_v1) | **POST** /1/object/ezsignannotation | Create a new Ezsignannotation +[**ezsignannotation_delete_object_v1**](ObjectEzsignannotationApi.md#ezsignannotation_delete_object_v1) | **DELETE** /1/object/ezsignannotation/{pkiEzsignannotationID} | Delete an existing Ezsignannotation +[**ezsignannotation_edit_object_v1**](ObjectEzsignannotationApi.md#ezsignannotation_edit_object_v1) | **PUT** /1/object/ezsignannotation/{pkiEzsignannotationID} | Edit an existing Ezsignannotation +[**ezsignannotation_get_object_v2**](ObjectEzsignannotationApi.md#ezsignannotation_get_object_v2) | **GET** /2/object/ezsignannotation/{pkiEzsignannotationID} | Retrieve an existing Ezsignannotation + + +# **ezsignannotation_create_object_v1** +> EzsignannotationCreateObjectV1Response ezsignannotation_create_object_v1(ezsignannotation_create_object_v1_request) + +Create a new Ezsignannotation + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignannotation_create_object_v1_request import EzsignannotationCreateObjectV1Request +from eZmaxApi.models.ezsignannotation_create_object_v1_response import EzsignannotationCreateObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignannotationApi(api_client) + ezsignannotation_create_object_v1_request = eZmaxApi.EzsignannotationCreateObjectV1Request() # EzsignannotationCreateObjectV1Request | + + try: + # Create a new Ezsignannotation + api_response = api_instance.ezsignannotation_create_object_v1(ezsignannotation_create_object_v1_request) + print("The response of ObjectEzsignannotationApi->ezsignannotation_create_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignannotationApi->ezsignannotation_create_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ezsignannotation_create_object_v1_request** | [**EzsignannotationCreateObjectV1Request**](EzsignannotationCreateObjectV1Request.md)| | + +### Return type + +[**EzsignannotationCreateObjectV1Response**](EzsignannotationCreateObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsignannotation_delete_object_v1** +> EzsignannotationDeleteObjectV1Response ezsignannotation_delete_object_v1(pki_ezsignannotation_id) + +Delete an existing Ezsignannotation + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignannotation_delete_object_v1_response import EzsignannotationDeleteObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignannotationApi(api_client) + pki_ezsignannotation_id = 56 # int | + + try: + # Delete an existing Ezsignannotation + api_response = api_instance.ezsignannotation_delete_object_v1(pki_ezsignannotation_id) + print("The response of ObjectEzsignannotationApi->ezsignannotation_delete_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignannotationApi->ezsignannotation_delete_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsignannotation_id** | **int**| | + +### Return type + +[**EzsignannotationDeleteObjectV1Response**](EzsignannotationDeleteObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsignannotation_edit_object_v1** +> EzsignannotationEditObjectV1Response ezsignannotation_edit_object_v1(pki_ezsignannotation_id, ezsignannotation_edit_object_v1_request) + +Edit an existing Ezsignannotation + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignannotation_edit_object_v1_request import EzsignannotationEditObjectV1Request +from eZmaxApi.models.ezsignannotation_edit_object_v1_response import EzsignannotationEditObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignannotationApi(api_client) + pki_ezsignannotation_id = 56 # int | + ezsignannotation_edit_object_v1_request = eZmaxApi.EzsignannotationEditObjectV1Request() # EzsignannotationEditObjectV1Request | + + try: + # Edit an existing Ezsignannotation + api_response = api_instance.ezsignannotation_edit_object_v1(pki_ezsignannotation_id, ezsignannotation_edit_object_v1_request) + print("The response of ObjectEzsignannotationApi->ezsignannotation_edit_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignannotationApi->ezsignannotation_edit_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsignannotation_id** | **int**| | + **ezsignannotation_edit_object_v1_request** | [**EzsignannotationEditObjectV1Request**](EzsignannotationEditObjectV1Request.md)| | + +### Return type + +[**EzsignannotationEditObjectV1Response**](EzsignannotationEditObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsignannotation_get_object_v2** +> EzsignannotationGetObjectV2Response ezsignannotation_get_object_v2(pki_ezsignannotation_id) + +Retrieve an existing Ezsignannotation + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignannotation_get_object_v2_response import EzsignannotationGetObjectV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignannotationApi(api_client) + pki_ezsignannotation_id = 56 # int | + + try: + # Retrieve an existing Ezsignannotation + api_response = api_instance.ezsignannotation_get_object_v2(pki_ezsignannotation_id) + print("The response of ObjectEzsignannotationApi->ezsignannotation_get_object_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignannotationApi->ezsignannotation_get_object_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsignannotation_id** | **int**| | + +### Return type + +[**EzsignannotationGetObjectV2Response**](EzsignannotationGetObjectV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectEzsignbulksendApi.md b/docs/ObjectEzsignbulksendApi.md index f2108cb4c..bced59d96 100644 --- a/docs/ObjectEzsignbulksendApi.md +++ b/docs/ObjectEzsignbulksendApi.md @@ -4,7 +4,7 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- -[**ezsignbulksend_create_ezsignbulksendtransmission_v1**](ObjectEzsignbulksendApi.md#ezsignbulksend_create_ezsignbulksendtransmission_v1) | **POST** /1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission | Create a new Ezsignbulksendtransmission in the Ezsignbulksend +[**ezsignbulksend_create_ezsignbulksendtransmission_v2**](ObjectEzsignbulksendApi.md#ezsignbulksend_create_ezsignbulksendtransmission_v2) | **POST** /2/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission | Create a new Ezsignbulksendtransmission in the Ezsignbulksend [**ezsignbulksend_create_object_v1**](ObjectEzsignbulksendApi.md#ezsignbulksend_create_object_v1) | **POST** /1/object/ezsignbulksend | Create a new Ezsignbulksend [**ezsignbulksend_delete_object_v1**](ObjectEzsignbulksendApi.md#ezsignbulksend_delete_object_v1) | **DELETE** /1/object/ezsignbulksend/{pkiEzsignbulksendID} | Delete an existing Ezsignbulksend [**ezsignbulksend_edit_object_v1**](ObjectEzsignbulksendApi.md#ezsignbulksend_edit_object_v1) | **PUT** /1/object/ezsignbulksend/{pkiEzsignbulksendID} | Edit an existing Ezsignbulksend @@ -17,8 +17,8 @@ Method | HTTP request | Description [**ezsignbulksend_reorder_v1**](ObjectEzsignbulksendApi.md#ezsignbulksend_reorder_v1) | **POST** /1/object/ezsignbulksend/{pkiEzsignbulksendID}/reorder | Reorder Ezsignbulksenddocumentmappings in the Ezsignbulksend -# **ezsignbulksend_create_ezsignbulksendtransmission_v1** -> EzsignbulksendCreateEzsignbulksendtransmissionV1Response ezsignbulksend_create_ezsignbulksendtransmission_v1(pki_ezsignbulksend_id, ezsignbulksend_create_ezsignbulksendtransmission_v1_request) +# **ezsignbulksend_create_ezsignbulksendtransmission_v2** +> EzsignbulksendCreateEzsignbulksendtransmissionV2Response ezsignbulksend_create_ezsignbulksendtransmission_v2(pki_ezsignbulksend_id, ezsignbulksend_create_ezsignbulksendtransmission_v2_request) Create a new Ezsignbulksendtransmission in the Ezsignbulksend @@ -28,8 +28,8 @@ Create a new Ezsignbulksendtransmission in the Ezsignbulksend ```python import eZmaxApi -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_request import EzsignbulksendCreateEzsignbulksendtransmissionV1Request -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response import EzsignbulksendCreateEzsignbulksendtransmissionV1Response +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_request import EzsignbulksendCreateEzsignbulksendtransmissionV2Request +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response import EzsignbulksendCreateEzsignbulksendtransmissionV2Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -55,15 +55,15 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsignbulksendApi(api_client) pki_ezsignbulksend_id = 56 # int | - ezsignbulksend_create_ezsignbulksendtransmission_v1_request = eZmaxApi.EzsignbulksendCreateEzsignbulksendtransmissionV1Request() # EzsignbulksendCreateEzsignbulksendtransmissionV1Request | + ezsignbulksend_create_ezsignbulksendtransmission_v2_request = eZmaxApi.EzsignbulksendCreateEzsignbulksendtransmissionV2Request() # EzsignbulksendCreateEzsignbulksendtransmissionV2Request | try: # Create a new Ezsignbulksendtransmission in the Ezsignbulksend - api_response = api_instance.ezsignbulksend_create_ezsignbulksendtransmission_v1(pki_ezsignbulksend_id, ezsignbulksend_create_ezsignbulksendtransmission_v1_request) - print("The response of ObjectEzsignbulksendApi->ezsignbulksend_create_ezsignbulksendtransmission_v1:\n") + api_response = api_instance.ezsignbulksend_create_ezsignbulksendtransmission_v2(pki_ezsignbulksend_id, ezsignbulksend_create_ezsignbulksendtransmission_v2_request) + print("The response of ObjectEzsignbulksendApi->ezsignbulksend_create_ezsignbulksendtransmission_v2:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsignbulksendApi->ezsignbulksend_create_ezsignbulksendtransmission_v1: %s\n" % e) + print("Exception when calling ObjectEzsignbulksendApi->ezsignbulksend_create_ezsignbulksendtransmission_v2: %s\n" % e) ``` @@ -74,11 +74,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pki_ezsignbulksend_id** | **int**| | - **ezsignbulksend_create_ezsignbulksendtransmission_v1_request** | [**EzsignbulksendCreateEzsignbulksendtransmissionV1Request**](EzsignbulksendCreateEzsignbulksendtransmissionV1Request.md)| | + **ezsignbulksend_create_ezsignbulksendtransmission_v2_request** | [**EzsignbulksendCreateEzsignbulksendtransmissionV2Request**](EzsignbulksendCreateEzsignbulksendtransmissionV2Request.md)| | ### Return type -[**EzsignbulksendCreateEzsignbulksendtransmissionV1Response**](EzsignbulksendCreateEzsignbulksendtransmissionV1Response.md) +[**EzsignbulksendCreateEzsignbulksendtransmissionV2Response**](EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md) ### Authorization diff --git a/docs/ObjectEzsigndocumentApi.md b/docs/ObjectEzsigndocumentApi.md index 9805e7b30..4751ca16b 100644 --- a/docs/ObjectEzsigndocumentApi.md +++ b/docs/ObjectEzsigndocumentApi.md @@ -10,11 +10,15 @@ Method | HTTP request | Description [**ezsigndocument_create_ezsignelements_positioned_by_word_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_create_ezsignelements_positioned_by_word_v1) | **POST** /1/object/ezsigndocument/{pkiEzsigndocumentID}/createEzsignelementsPositionedByWord | Create multiple Ezsignsignatures/Ezsignformfieldgroups [**ezsigndocument_create_object_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_create_object_v1) | **POST** /1/object/ezsigndocument | Create a new Ezsigndocument [**ezsigndocument_create_object_v2**](ObjectEzsigndocumentApi.md#ezsigndocument_create_object_v2) | **POST** /2/object/ezsigndocument | Create a new Ezsigndocument +[**ezsigndocument_create_object_v3**](ObjectEzsigndocumentApi.md#ezsigndocument_create_object_v3) | **POST** /3/object/ezsigndocument | Create a new Ezsigndocument [**ezsigndocument_decline_to_sign_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_decline_to_sign_v1) | **POST** /1/object/ezsigndocument/{pkiEzsigndocumentID}/declineToSign | Decline to sign [**ezsigndocument_delete_object_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_delete_object_v1) | **DELETE** /1/object/ezsigndocument/{pkiEzsigndocumentID} | Delete an existing Ezsigndocument +[**ezsigndocument_edit_ezsignannotations_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_edit_ezsignannotations_v1) | **PUT** /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannotations | Edit multiple Ezsignannotations [**ezsigndocument_edit_ezsignformfieldgroups_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_edit_ezsignformfieldgroups_v1) | **PUT** /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignformfieldgroups | Edit multiple Ezsignformfieldgroups [**ezsigndocument_edit_ezsignsignatures_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_edit_ezsignsignatures_v1) | **PUT** /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignsignatures | Edit multiple Ezsignsignatures +[**ezsigndocument_edit_object_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_edit_object_v1) | **PUT** /1/object/ezsigndocument/{pkiEzsigndocumentID} | Edit an existing Ezsigndocument [**ezsigndocument_end_prematurely_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_end_prematurely_v1) | **POST** /1/object/ezsigndocument/{pkiEzsigndocumentID}/endPrematurely | End prematurely +[**ezsigndocument_extract_text_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_extract_text_v1) | **POST** /1/object/ezsigndocument/{pkiEzsigndocumentID}/extractText | Extract text from Ezsigndocument area [**ezsigndocument_flatten_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_flatten_v1) | **POST** /1/object/ezsigndocument/{pkiEzsigndocumentID}/flatten | Flatten [**ezsigndocument_get_actionable_elements_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_get_actionable_elements_v1) | **GET** /1/object/ezsigndocument/{pkiEzsigndocumentID}/getActionableElements | Retrieve actionable elements for the Ezsigndocument [**ezsigndocument_get_attachments_v1**](ObjectEzsigndocumentApi.md#ezsigndocument_get_attachments_v1) | **GET** /1/object/ezsigndocument/{pkiEzsigndocumentID}/getAttachments | Retrieve Ezsigndocument's Attachments @@ -535,6 +539,87 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsigndocument_create_object_v3** +> EzsigndocumentCreateObjectV3Response ezsigndocument_create_object_v3(ezsigndocument_create_object_v3_request) + +Create a new Ezsigndocument + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigndocument_create_object_v3_request import EzsigndocumentCreateObjectV3Request +from eZmaxApi.models.ezsigndocument_create_object_v3_response import EzsigndocumentCreateObjectV3Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigndocumentApi(api_client) + ezsigndocument_create_object_v3_request = eZmaxApi.EzsigndocumentCreateObjectV3Request() # EzsigndocumentCreateObjectV3Request | + + try: + # Create a new Ezsigndocument + api_response = api_instance.ezsigndocument_create_object_v3(ezsigndocument_create_object_v3_request) + print("The response of ObjectEzsigndocumentApi->ezsigndocument_create_object_v3:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigndocumentApi->ezsigndocument_create_object_v3: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ezsigndocument_create_object_v3_request** | [**EzsigndocumentCreateObjectV3Request**](EzsigndocumentCreateObjectV3Request.md)| | + +### Return type + +[**EzsigndocumentCreateObjectV3Response**](EzsigndocumentCreateObjectV3Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body. If the error is recoverable sTemporaryFileUrl will be set and you can use this url to try a new request without sending the file over again | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsigndocument_decline_to_sign_v1** > EzsigndocumentDeclineToSignV1Response ezsigndocument_decline_to_sign_v1(pki_ezsigndocument_id, ezsigndocument_decline_to_sign_v1_request) @@ -700,6 +785,90 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsigndocument_edit_ezsignannotations_v1** +> EzsigndocumentEditEzsignannotationsV1Response ezsigndocument_edit_ezsignannotations_v1(pki_ezsigndocument_id, ezsigndocument_edit_ezsignannotations_v1_request) + +Edit multiple Ezsignannotations + +Using this endpoint, you can edit multiple Ezsignannotations at the same time. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_request import EzsigndocumentEditEzsignannotationsV1Request +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response import EzsigndocumentEditEzsignannotationsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigndocumentApi(api_client) + pki_ezsigndocument_id = 56 # int | + ezsigndocument_edit_ezsignannotations_v1_request = eZmaxApi.EzsigndocumentEditEzsignannotationsV1Request() # EzsigndocumentEditEzsignannotationsV1Request | + + try: + # Edit multiple Ezsignannotations + api_response = api_instance.ezsigndocument_edit_ezsignannotations_v1(pki_ezsigndocument_id, ezsigndocument_edit_ezsignannotations_v1_request) + print("The response of ObjectEzsigndocumentApi->ezsigndocument_edit_ezsignannotations_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigndocumentApi->ezsigndocument_edit_ezsignannotations_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigndocument_id** | **int**| | + **ezsigndocument_edit_ezsignannotations_v1_request** | [**EzsigndocumentEditEzsignannotationsV1Request**](EzsigndocumentEditEzsignannotationsV1Request.md)| | + +### Return type + +[**EzsigndocumentEditEzsignannotationsV1Response**](EzsigndocumentEditEzsignannotationsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsigndocument_edit_ezsignformfieldgroups_v1** > EzsigndocumentEditEzsignformfieldgroupsV1Response ezsigndocument_edit_ezsignformfieldgroups_v1(pki_ezsigndocument_id, ezsigndocument_edit_ezsignformfieldgroups_v1_request) @@ -868,6 +1037,90 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsigndocument_edit_object_v1** +> EzsigndocumentEditObjectV1Response ezsigndocument_edit_object_v1(pki_ezsigndocument_id, ezsigndocument_edit_object_v1_request) + +Edit an existing Ezsigndocument + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigndocument_edit_object_v1_request import EzsigndocumentEditObjectV1Request +from eZmaxApi.models.ezsigndocument_edit_object_v1_response import EzsigndocumentEditObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigndocumentApi(api_client) + pki_ezsigndocument_id = 56 # int | + ezsigndocument_edit_object_v1_request = eZmaxApi.EzsigndocumentEditObjectV1Request() # EzsigndocumentEditObjectV1Request | + + try: + # Edit an existing Ezsigndocument + api_response = api_instance.ezsigndocument_edit_object_v1(pki_ezsigndocument_id, ezsigndocument_edit_object_v1_request) + print("The response of ObjectEzsigndocumentApi->ezsigndocument_edit_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigndocumentApi->ezsigndocument_edit_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigndocument_id** | **int**| | + **ezsigndocument_edit_object_v1_request** | [**EzsigndocumentEditObjectV1Request**](EzsigndocumentEditObjectV1Request.md)| | + +### Return type + +[**EzsigndocumentEditObjectV1Response**](EzsigndocumentEditObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body. If the error is recoverable sTemporaryFileUrl will be set and you can use this url to try a new request without sending the file over again | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsigndocument_end_prematurely_v1** > EzsigndocumentEndPrematurelyV1Response ezsigndocument_end_prematurely_v1(pki_ezsigndocument_id, body) @@ -951,6 +1204,90 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsigndocument_extract_text_v1** +> EzsigndocumentExtractTextV1Response ezsigndocument_extract_text_v1(pki_ezsigndocument_id, ezsigndocument_extract_text_v1_request) + +Extract text from Ezsigndocument area + +Extract text from Ezsigndocument area + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigndocument_extract_text_v1_request import EzsigndocumentExtractTextV1Request +from eZmaxApi.models.ezsigndocument_extract_text_v1_response import EzsigndocumentExtractTextV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigndocumentApi(api_client) + pki_ezsigndocument_id = 56 # int | + ezsigndocument_extract_text_v1_request = eZmaxApi.EzsigndocumentExtractTextV1Request() # EzsigndocumentExtractTextV1Request | + + try: + # Extract text from Ezsigndocument area + api_response = api_instance.ezsigndocument_extract_text_v1(pki_ezsigndocument_id, ezsigndocument_extract_text_v1_request) + print("The response of ObjectEzsigndocumentApi->ezsigndocument_extract_text_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigndocumentApi->ezsigndocument_extract_text_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigndocument_id** | **int**| | + **ezsigndocument_extract_text_v1_request** | [**EzsigndocumentExtractTextV1Request**](EzsigndocumentExtractTextV1Request.md)| | + +### Return type + +[**EzsigndocumentExtractTextV1Response**](EzsigndocumentExtractTextV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsigndocument_flatten_v1** > EzsigndocumentFlattenV1Response ezsigndocument_flatten_v1(pki_ezsigndocument_id, body) diff --git a/docs/ObjectEzsignfolderApi.md b/docs/ObjectEzsignfolderApi.md index e6494e903..dbe04329c 100644 --- a/docs/ObjectEzsignfolderApi.md +++ b/docs/ObjectEzsignfolderApi.md @@ -8,10 +8,11 @@ Method | HTTP request | Description [**ezsignfolder_batch_download_v1**](ObjectEzsignfolderApi.md#ezsignfolder_batch_download_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/batchDownload | Download multiples files from an Ezsignfolder [**ezsignfolder_create_object_v1**](ObjectEzsignfolderApi.md#ezsignfolder_create_object_v1) | **POST** /1/object/ezsignfolder | Create a new Ezsignfolder [**ezsignfolder_create_object_v2**](ObjectEzsignfolderApi.md#ezsignfolder_create_object_v2) | **POST** /2/object/ezsignfolder | Create a new Ezsignfolder +[**ezsignfolder_create_object_v3**](ObjectEzsignfolderApi.md#ezsignfolder_create_object_v3) | **POST** /3/object/ezsignfolder | Create a new Ezsignfolder [**ezsignfolder_delete_object_v1**](ObjectEzsignfolderApi.md#ezsignfolder_delete_object_v1) | **DELETE** /1/object/ezsignfolder/{pkiEzsignfolderID} | Delete an existing Ezsignfolder [**ezsignfolder_dispose_ezsignfolders_v1**](ObjectEzsignfolderApi.md#ezsignfolder_dispose_ezsignfolders_v1) | **POST** /1/object/ezsignfolder/disposeEzsignfolders | Dispose Ezsignfolders [**ezsignfolder_dispose_v1**](ObjectEzsignfolderApi.md#ezsignfolder_dispose_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/dispose | Dispose the Ezsignfolder -[**ezsignfolder_edit_object_v1**](ObjectEzsignfolderApi.md#ezsignfolder_edit_object_v1) | **PUT** /1/object/ezsignfolder/{pkiEzsignfolderID} | Edit an existing Ezsignfolder +[**ezsignfolder_edit_object_v3**](ObjectEzsignfolderApi.md#ezsignfolder_edit_object_v3) | **PUT** /3/object/ezsignfolder/{pkiEzsignfolderID} | Edit an existing Ezsignfolder [**ezsignfolder_end_prematurely_v1**](ObjectEzsignfolderApi.md#ezsignfolder_end_prematurely_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/endPrematurely | End prematurely [**ezsignfolder_get_actionable_elements_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_actionable_elements_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getActionableElements | Retrieve actionable elements for the Ezsignfolder [**ezsignfolder_get_attachment_count_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_attachment_count_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getAttachmentCount | Retrieve Attachment count @@ -27,9 +28,11 @@ Method | HTTP request | Description [**ezsignfolder_get_list_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_list_v1) | **GET** /1/object/ezsignfolder/getList | Retrieve Ezsignfolder list [**ezsignfolder_get_object_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_object_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID} | Retrieve an existing Ezsignfolder [**ezsignfolder_get_object_v2**](ObjectEzsignfolderApi.md#ezsignfolder_get_object_v2) | **GET** /2/object/ezsignfolder/{pkiEzsignfolderID} | Retrieve an existing Ezsignfolder +[**ezsignfolder_get_object_v3**](ObjectEzsignfolderApi.md#ezsignfolder_get_object_v3) | **GET** /3/object/ezsignfolder/{pkiEzsignfolderID} | Retrieve an existing Ezsignfolder [**ezsignfolder_import_ezsignfoldersignerassociations_v1**](ObjectEzsignfolderApi.md#ezsignfolder_import_ezsignfoldersignerassociations_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/importEzsignfoldersignerassociations | Import an existing Ezsignfoldersignerassociation into this Ezsignfolder [**ezsignfolder_import_ezsigntemplatepackage_v1**](ObjectEzsignfolderApi.md#ezsignfolder_import_ezsigntemplatepackage_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/importEzsigntemplatepackage | Import an Ezsigntemplatepackage in the Ezsignfolder. [**ezsignfolder_reorder_v1**](ObjectEzsignfolderApi.md#ezsignfolder_reorder_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/reorder | Reorder Ezsigndocuments in the Ezsignfolder +[**ezsignfolder_reorder_v2**](ObjectEzsignfolderApi.md#ezsignfolder_reorder_v2) | **POST** /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder | Reorder Ezsigndocuments in the Ezsignfolder [**ezsignfolder_send_v1**](ObjectEzsignfolderApi.md#ezsignfolder_send_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/send | Send the Ezsignfolder to the signatories for signature [**ezsignfolder_send_v3**](ObjectEzsignfolderApi.md#ezsignfolder_send_v3) | **POST** /3/object/ezsignfolder/{pkiEzsignfolderID}/send | Send the Ezsignfolder to the signatories for signature [**ezsignfolder_unsend_v1**](ObjectEzsignfolderApi.md#ezsignfolder_unsend_v1) | **POST** /1/object/ezsignfolder/{pkiEzsignfolderID}/unsend | Unsend the Ezsignfolder @@ -360,6 +363,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsignfolder_create_object_v3** +> EzsignfolderCreateObjectV3Response ezsignfolder_create_object_v3(ezsignfolder_create_object_v3_request) + +Create a new Ezsignfolder + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignfolder_create_object_v3_request import EzsignfolderCreateObjectV3Request +from eZmaxApi.models.ezsignfolder_create_object_v3_response import EzsignfolderCreateObjectV3Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignfolderApi(api_client) + ezsignfolder_create_object_v3_request = eZmaxApi.EzsignfolderCreateObjectV3Request() # EzsignfolderCreateObjectV3Request | + + try: + # Create a new Ezsignfolder + api_response = api_instance.ezsignfolder_create_object_v3(ezsignfolder_create_object_v3_request) + print("The response of ObjectEzsignfolderApi->ezsignfolder_create_object_v3:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignfolderApi->ezsignfolder_create_object_v3: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ezsignfolder_create_object_v3_request** | [**EzsignfolderCreateObjectV3Request**](EzsignfolderCreateObjectV3Request.md)| | + +### Return type + +[**EzsignfolderCreateObjectV3Response**](EzsignfolderCreateObjectV3Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsignfolder_delete_object_v1** > EzsignfolderDeleteObjectV1Response ezsignfolder_delete_object_v1(pki_ezsignfolder_id) @@ -604,8 +687,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **ezsignfolder_edit_object_v1** -> EzsignfolderEditObjectV1Response ezsignfolder_edit_object_v1(pki_ezsignfolder_id, ezsignfolder_edit_object_v1_request) +# **ezsignfolder_edit_object_v3** +> EzsignfolderEditObjectV3Response ezsignfolder_edit_object_v3(pki_ezsignfolder_id, ezsignfolder_edit_object_v3_request) Edit an existing Ezsignfolder @@ -617,8 +700,8 @@ Edit an existing Ezsignfolder ```python import eZmaxApi -from eZmaxApi.models.ezsignfolder_edit_object_v1_request import EzsignfolderEditObjectV1Request -from eZmaxApi.models.ezsignfolder_edit_object_v1_response import EzsignfolderEditObjectV1Response +from eZmaxApi.models.ezsignfolder_edit_object_v3_request import EzsignfolderEditObjectV3Request +from eZmaxApi.models.ezsignfolder_edit_object_v3_response import EzsignfolderEditObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -644,15 +727,15 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsignfolderApi(api_client) pki_ezsignfolder_id = 56 # int | - ezsignfolder_edit_object_v1_request = eZmaxApi.EzsignfolderEditObjectV1Request() # EzsignfolderEditObjectV1Request | + ezsignfolder_edit_object_v3_request = eZmaxApi.EzsignfolderEditObjectV3Request() # EzsignfolderEditObjectV3Request | try: # Edit an existing Ezsignfolder - api_response = api_instance.ezsignfolder_edit_object_v1(pki_ezsignfolder_id, ezsignfolder_edit_object_v1_request) - print("The response of ObjectEzsignfolderApi->ezsignfolder_edit_object_v1:\n") + api_response = api_instance.ezsignfolder_edit_object_v3(pki_ezsignfolder_id, ezsignfolder_edit_object_v3_request) + print("The response of ObjectEzsignfolderApi->ezsignfolder_edit_object_v3:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsignfolderApi->ezsignfolder_edit_object_v1: %s\n" % e) + print("Exception when calling ObjectEzsignfolderApi->ezsignfolder_edit_object_v3: %s\n" % e) ``` @@ -663,11 +746,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pki_ezsignfolder_id** | **int**| | - **ezsignfolder_edit_object_v1_request** | [**EzsignfolderEditObjectV1Request**](EzsignfolderEditObjectV1Request.md)| | + **ezsignfolder_edit_object_v3_request** | [**EzsignfolderEditObjectV3Request**](EzsignfolderEditObjectV3Request.md)| | ### Return type -[**EzsignfolderEditObjectV1Response**](EzsignfolderEditObjectV1Response.md) +[**EzsignfolderEditObjectV3Response**](EzsignfolderEditObjectV3Response.md) ### Authorization @@ -1659,7 +1742,7 @@ Name | Type | Description | Notes Retrieve Ezsignfolder list -Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsignfolderStep | Unsent
Sent
PartiallySigned
Expired
Completed
Archived
Disposed| | eEzsignfoldertypePrivacylevel | User
Usergroup | Advanced filters that can be used in query parameter *sFilter*: | Variable | |---| | fkiUserID | | sContactFirstname | | sContactLastname | | sEzsigndocumentName | +Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsignfolderStep | Unsent
Sent
PartiallySigned
Expired
Completed
Archived
Disposed| | eEzsignfoldertypePrivacylevel | User
Usergroup | Advanced filters that can be used in query parameter *sFilter*: | Variable | |---| | fkiUserID | | sContactFirstname | | sContactLastname | | sUserFirstname | | sUserLastname | | sEzsigndocumentName | ### Example @@ -1901,6 +1984,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsignfolder_get_object_v3** +> EzsignfolderGetObjectV3Response ezsignfolder_get_object_v3(pki_ezsignfolder_id) + +Retrieve an existing Ezsignfolder + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignfolder_get_object_v3_response import EzsignfolderGetObjectV3Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignfolderApi(api_client) + pki_ezsignfolder_id = 56 # int | + + try: + # Retrieve an existing Ezsignfolder + api_response = api_instance.ezsignfolder_get_object_v3(pki_ezsignfolder_id) + print("The response of ObjectEzsignfolderApi->ezsignfolder_get_object_v3:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignfolderApi->ezsignfolder_get_object_v3: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsignfolder_id** | **int**| | + +### Return type + +[**EzsignfolderGetObjectV3Response**](EzsignfolderGetObjectV3Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsignfolder_import_ezsignfoldersignerassociations_v1** > EzsignfolderImportEzsignfoldersignerassociationsV1Response ezsignfolder_import_ezsignfoldersignerassociations_v1(pki_ezsignfolder_id, ezsignfolder_import_ezsignfoldersignerassociations_v1_request) @@ -2152,6 +2315,88 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsignfolder_reorder_v2** +> EzsignfolderReorderV2Response ezsignfolder_reorder_v2(pki_ezsignfolder_id, ezsignfolder_reorder_v2_request) + +Reorder Ezsigndocuments in the Ezsignfolder + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignfolder_reorder_v2_request import EzsignfolderReorderV2Request +from eZmaxApi.models.ezsignfolder_reorder_v2_response import EzsignfolderReorderV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignfolderApi(api_client) + pki_ezsignfolder_id = 56 # int | + ezsignfolder_reorder_v2_request = eZmaxApi.EzsignfolderReorderV2Request() # EzsignfolderReorderV2Request | + + try: + # Reorder Ezsigndocuments in the Ezsignfolder + api_response = api_instance.ezsignfolder_reorder_v2(pki_ezsignfolder_id, ezsignfolder_reorder_v2_request) + print("The response of ObjectEzsignfolderApi->ezsignfolder_reorder_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignfolderApi->ezsignfolder_reorder_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsignfolder_id** | **int**| | + **ezsignfolder_reorder_v2_request** | [**EzsignfolderReorderV2Request**](EzsignfolderReorderV2Request.md)| | + +### Return type + +[**EzsignfolderReorderV2Response**](EzsignfolderReorderV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsignfolder_send_v1** > EzsignfolderSendV1Response ezsignfolder_send_v1(pki_ezsignfolder_id, ezsignfolder_send_v1_request) diff --git a/docs/ObjectEzsignfoldersignerassociationApi.md b/docs/ObjectEzsignfoldersignerassociationApi.md index e3899e02f..b59a5928d 100644 --- a/docs/ObjectEzsignfoldersignerassociationApi.md +++ b/docs/ObjectEzsignfoldersignerassociationApi.md @@ -14,6 +14,7 @@ Method | HTTP request | Description [**ezsignfoldersignerassociation_get_object_v1**](ObjectEzsignfoldersignerassociationApi.md#ezsignfoldersignerassociation_get_object_v1) | **GET** /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} | Retrieve an existing Ezsignfoldersignerassociation [**ezsignfoldersignerassociation_get_object_v2**](ObjectEzsignfoldersignerassociationApi.md#ezsignfoldersignerassociation_get_object_v2) | **GET** /2/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} | Retrieve an existing Ezsignfoldersignerassociation [**ezsignfoldersignerassociation_patch_object_v1**](ObjectEzsignfoldersignerassociationApi.md#ezsignfoldersignerassociation_patch_object_v1) | **PATCH** /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} | Patch an existing Ezsignfoldersignerassociation +[**ezsignfoldersignerassociation_reassign_v1**](ObjectEzsignfoldersignerassociationApi.md#ezsignfoldersignerassociation_reassign_v1) | **POST** /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}/reassign | Reassign remaining unsigned signatures and forms # **ezsignfoldersignerassociation_create_embedded_url_v1** @@ -21,7 +22,7 @@ Method | HTTP request | Description Creates an Url to allow embedded signing -This endpoint creates an Url that can be used in a browser or embedded in an I-Frame to allow signing. The signer Login type must be configured as Embedded. There will be a list to retrieve informations after the signing happens in the embedded version. To do so, there is a list of parameter to add to your sReturnUrl. In example: https://www.example.com/sReturl?sParameter1&sParameter2. The sParameter1 et sParameter2 will be replace when we will redirect on the url. +This endpoint creates an Url that can be used in a browser or embedded in an I-Frame to allow signing. The signer Login type must be configured as Embedded. ### Example @@ -831,3 +832,87 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsignfoldersignerassociation_reassign_v1** +> EzsignfoldersignerassociationReassignV1Response ezsignfoldersignerassociation_reassign_v1(pki_ezsignfoldersignerassociation_id, ezsignfoldersignerassociation_reassign_v1_request) + +Reassign remaining unsigned signatures and forms + +Reassign remaining unsigned signatures and forms + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_request import EzsignfoldersignerassociationReassignV1Request +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_response import EzsignfoldersignerassociationReassignV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignfoldersignerassociationApi(api_client) + pki_ezsignfoldersignerassociation_id = 56 # int | + ezsignfoldersignerassociation_reassign_v1_request = eZmaxApi.EzsignfoldersignerassociationReassignV1Request() # EzsignfoldersignerassociationReassignV1Request | + + try: + # Reassign remaining unsigned signatures and forms + api_response = api_instance.ezsignfoldersignerassociation_reassign_v1(pki_ezsignfoldersignerassociation_id, ezsignfoldersignerassociation_reassign_v1_request) + print("The response of ObjectEzsignfoldersignerassociationApi->ezsignfoldersignerassociation_reassign_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignfoldersignerassociationApi->ezsignfoldersignerassociation_reassign_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsignfoldersignerassociation_id** | **int**| | + **ezsignfoldersignerassociation_reassign_v1_request** | [**EzsignfoldersignerassociationReassignV1Request**](EzsignfoldersignerassociationReassignV1Request.md)| | + +### Return type + +[**EzsignfoldersignerassociationReassignV1Response**](EzsignfoldersignerassociationReassignV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectEzsignfoldertypeApi.md b/docs/ObjectEzsignfoldertypeApi.md index e299b62e6..43cdd9838 100644 --- a/docs/ObjectEzsignfoldertypeApi.md +++ b/docs/ObjectEzsignfoldertypeApi.md @@ -4,17 +4,16 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- -[**ezsignfoldertype_create_object_v2**](ObjectEzsignfoldertypeApi.md#ezsignfoldertype_create_object_v2) | **POST** /2/object/ezsignfoldertype | Create a new Ezsignfoldertype -[**ezsignfoldertype_edit_object_v1**](ObjectEzsignfoldertypeApi.md#ezsignfoldertype_edit_object_v1) | **PUT** /1/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Edit an existing Ezsignfoldertype -[**ezsignfoldertype_edit_object_v2**](ObjectEzsignfoldertypeApi.md#ezsignfoldertype_edit_object_v2) | **PUT** /2/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Edit an existing Ezsignfoldertype +[**ezsignfoldertype_create_object_v3**](ObjectEzsignfoldertypeApi.md#ezsignfoldertype_create_object_v3) | **POST** /3/object/ezsignfoldertype | Create a new Ezsignfoldertype +[**ezsignfoldertype_edit_object_v3**](ObjectEzsignfoldertypeApi.md#ezsignfoldertype_edit_object_v3) | **PUT** /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Edit an existing Ezsignfoldertype [**ezsignfoldertype_get_autocomplete_v2**](ObjectEzsignfoldertypeApi.md#ezsignfoldertype_get_autocomplete_v2) | **GET** /2/object/ezsignfoldertype/getAutocomplete/{sSelector} | Retrieve Ezsignfoldertypes and IDs [**ezsignfoldertype_get_list_v1**](ObjectEzsignfoldertypeApi.md#ezsignfoldertype_get_list_v1) | **GET** /1/object/ezsignfoldertype/getList | Retrieve Ezsignfoldertype list [**ezsignfoldertype_get_object_v2**](ObjectEzsignfoldertypeApi.md#ezsignfoldertype_get_object_v2) | **GET** /2/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Retrieve an existing Ezsignfoldertype -[**ezsignfoldertype_get_object_v3**](ObjectEzsignfoldertypeApi.md#ezsignfoldertype_get_object_v3) | **GET** /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Retrieve an existing Ezsignfoldertype +[**ezsignfoldertype_get_object_v4**](ObjectEzsignfoldertypeApi.md#ezsignfoldertype_get_object_v4) | **GET** /4/object/ezsignfoldertype/{pkiEzsignfoldertypeID} | Retrieve an existing Ezsignfoldertype -# **ezsignfoldertype_create_object_v2** -> EzsignfoldertypeCreateObjectV2Response ezsignfoldertype_create_object_v2(ezsignfoldertype_create_object_v2_request) +# **ezsignfoldertype_create_object_v3** +> EzsignfoldertypeCreateObjectV3Response ezsignfoldertype_create_object_v3(ezsignfoldertype_create_object_v3_request) Create a new Ezsignfoldertype @@ -26,8 +25,8 @@ The endpoint allows to create one or many elements at once. ```python import eZmaxApi -from eZmaxApi.models.ezsignfoldertype_create_object_v2_request import EzsignfoldertypeCreateObjectV2Request -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response import EzsignfoldertypeCreateObjectV2Response +from eZmaxApi.models.ezsignfoldertype_create_object_v3_request import EzsignfoldertypeCreateObjectV3Request +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response import EzsignfoldertypeCreateObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -52,15 +51,15 @@ configuration.api_key['Authorization'] = os.environ["API_KEY"] with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsignfoldertypeApi(api_client) - ezsignfoldertype_create_object_v2_request = eZmaxApi.EzsignfoldertypeCreateObjectV2Request() # EzsignfoldertypeCreateObjectV2Request | + ezsignfoldertype_create_object_v3_request = eZmaxApi.EzsignfoldertypeCreateObjectV3Request() # EzsignfoldertypeCreateObjectV3Request | try: # Create a new Ezsignfoldertype - api_response = api_instance.ezsignfoldertype_create_object_v2(ezsignfoldertype_create_object_v2_request) - print("The response of ObjectEzsignfoldertypeApi->ezsignfoldertype_create_object_v2:\n") + api_response = api_instance.ezsignfoldertype_create_object_v3(ezsignfoldertype_create_object_v3_request) + print("The response of ObjectEzsignfoldertypeApi->ezsignfoldertype_create_object_v3:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsignfoldertypeApi->ezsignfoldertype_create_object_v2: %s\n" % e) + print("Exception when calling ObjectEzsignfoldertypeApi->ezsignfoldertype_create_object_v3: %s\n" % e) ``` @@ -70,11 +69,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ezsignfoldertype_create_object_v2_request** | [**EzsignfoldertypeCreateObjectV2Request**](EzsignfoldertypeCreateObjectV2Request.md)| | + **ezsignfoldertype_create_object_v3_request** | [**EzsignfoldertypeCreateObjectV3Request**](EzsignfoldertypeCreateObjectV3Request.md)| | ### Return type -[**EzsignfoldertypeCreateObjectV2Response**](EzsignfoldertypeCreateObjectV2Response.md) +[**EzsignfoldertypeCreateObjectV3Response**](EzsignfoldertypeCreateObjectV3Response.md) ### Authorization @@ -93,8 +92,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **ezsignfoldertype_edit_object_v1** -> EzsignfoldertypeEditObjectV1Response ezsignfoldertype_edit_object_v1(pki_ezsignfoldertype_id, ezsignfoldertype_edit_object_v1_request) +# **ezsignfoldertype_edit_object_v3** +> EzsignfoldertypeEditObjectV3Response ezsignfoldertype_edit_object_v3(pki_ezsignfoldertype_id, ezsignfoldertype_edit_object_v3_request) Edit an existing Ezsignfoldertype @@ -106,8 +105,8 @@ Edit an existing Ezsignfoldertype ```python import eZmaxApi -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_request import EzsignfoldertypeEditObjectV1Request -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_response import EzsignfoldertypeEditObjectV1Response +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_request import EzsignfoldertypeEditObjectV3Request +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_response import EzsignfoldertypeEditObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -133,15 +132,15 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsignfoldertypeApi(api_client) pki_ezsignfoldertype_id = 56 # int | - ezsignfoldertype_edit_object_v1_request = eZmaxApi.EzsignfoldertypeEditObjectV1Request() # EzsignfoldertypeEditObjectV1Request | + ezsignfoldertype_edit_object_v3_request = eZmaxApi.EzsignfoldertypeEditObjectV3Request() # EzsignfoldertypeEditObjectV3Request | try: # Edit an existing Ezsignfoldertype - api_response = api_instance.ezsignfoldertype_edit_object_v1(pki_ezsignfoldertype_id, ezsignfoldertype_edit_object_v1_request) - print("The response of ObjectEzsignfoldertypeApi->ezsignfoldertype_edit_object_v1:\n") + api_response = api_instance.ezsignfoldertype_edit_object_v3(pki_ezsignfoldertype_id, ezsignfoldertype_edit_object_v3_request) + print("The response of ObjectEzsignfoldertypeApi->ezsignfoldertype_edit_object_v3:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsignfoldertypeApi->ezsignfoldertype_edit_object_v1: %s\n" % e) + print("Exception when calling ObjectEzsignfoldertypeApi->ezsignfoldertype_edit_object_v3: %s\n" % e) ``` @@ -152,95 +151,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pki_ezsignfoldertype_id** | **int**| | - **ezsignfoldertype_edit_object_v1_request** | [**EzsignfoldertypeEditObjectV1Request**](EzsignfoldertypeEditObjectV1Request.md)| | + **ezsignfoldertype_edit_object_v3_request** | [**EzsignfoldertypeEditObjectV3Request**](EzsignfoldertypeEditObjectV3Request.md)| | ### Return type -[**EzsignfoldertypeEditObjectV1Response**](EzsignfoldertypeEditObjectV1Response.md) - -### Authorization - -[Authorization](../README.md#Authorization) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Successful response | - | -**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | -**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ezsignfoldertype_edit_object_v2** -> EzsignfoldertypeEditObjectV2Response ezsignfoldertype_edit_object_v2(pki_ezsignfoldertype_id, ezsignfoldertype_edit_object_v2_request) - -Edit an existing Ezsignfoldertype - - - -### Example - -* Api Key Authentication (Authorization): - -```python -import eZmaxApi -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_request import EzsignfoldertypeEditObjectV2Request -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_response import EzsignfoldertypeEditObjectV2Response -from eZmaxApi.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest -# See configuration.py for a list of all supported configuration parameters. -configuration = eZmaxApi.Configuration( - host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: Authorization -configuration.api_key['Authorization'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - -# Enter a context with an instance of the API client -with eZmaxApi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = eZmaxApi.ObjectEzsignfoldertypeApi(api_client) - pki_ezsignfoldertype_id = 56 # int | - ezsignfoldertype_edit_object_v2_request = eZmaxApi.EzsignfoldertypeEditObjectV2Request() # EzsignfoldertypeEditObjectV2Request | - - try: - # Edit an existing Ezsignfoldertype - api_response = api_instance.ezsignfoldertype_edit_object_v2(pki_ezsignfoldertype_id, ezsignfoldertype_edit_object_v2_request) - print("The response of ObjectEzsignfoldertypeApi->ezsignfoldertype_edit_object_v2:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ObjectEzsignfoldertypeApi->ezsignfoldertype_edit_object_v2: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pki_ezsignfoldertype_id** | **int**| | - **ezsignfoldertype_edit_object_v2_request** | [**EzsignfoldertypeEditObjectV2Request**](EzsignfoldertypeEditObjectV2Request.md)| | - -### Return type - -[**EzsignfoldertypeEditObjectV2Response**](EzsignfoldertypeEditObjectV2Response.md) +[**EzsignfoldertypeEditObjectV3Response**](EzsignfoldertypeEditObjectV3Response.md) ### Authorization @@ -301,7 +216,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsignfoldertypeApi(api_client) s_selector = 's_selector_example' # str | The type of Ezsignfoldertypes to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -322,7 +237,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Ezsignfoldertypes to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] @@ -516,8 +431,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **ezsignfoldertype_get_object_v3** -> EzsignfoldertypeGetObjectV3Response ezsignfoldertype_get_object_v3(pki_ezsignfoldertype_id) +# **ezsignfoldertype_get_object_v4** +> EzsignfoldertypeGetObjectV4Response ezsignfoldertype_get_object_v4(pki_ezsignfoldertype_id) Retrieve an existing Ezsignfoldertype @@ -529,7 +444,7 @@ Retrieve an existing Ezsignfoldertype ```python import eZmaxApi -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response import EzsignfoldertypeGetObjectV3Response +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response import EzsignfoldertypeGetObjectV4Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -558,11 +473,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: try: # Retrieve an existing Ezsignfoldertype - api_response = api_instance.ezsignfoldertype_get_object_v3(pki_ezsignfoldertype_id) - print("The response of ObjectEzsignfoldertypeApi->ezsignfoldertype_get_object_v3:\n") + api_response = api_instance.ezsignfoldertype_get_object_v4(pki_ezsignfoldertype_id) + print("The response of ObjectEzsignfoldertypeApi->ezsignfoldertype_get_object_v4:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsignfoldertypeApi->ezsignfoldertype_get_object_v3: %s\n" % e) + print("Exception when calling ObjectEzsignfoldertypeApi->ezsignfoldertype_get_object_v4: %s\n" % e) ``` @@ -576,7 +491,7 @@ Name | Type | Description | Notes ### Return type -[**EzsignfoldertypeGetObjectV3Response**](EzsignfoldertypeGetObjectV3Response.md) +[**EzsignfoldertypeGetObjectV4Response**](EzsignfoldertypeGetObjectV4Response.md) ### Authorization diff --git a/docs/ObjectEzsignsignatureApi.md b/docs/ObjectEzsignsignatureApi.md index ffe4ff51c..0fcba6274 100644 --- a/docs/ObjectEzsignsignatureApi.md +++ b/docs/ObjectEzsignsignatureApi.md @@ -6,11 +6,12 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**ezsignsignature_create_object_v1**](ObjectEzsignsignatureApi.md#ezsignsignature_create_object_v1) | **POST** /1/object/ezsignsignature | Create a new Ezsignsignature [**ezsignsignature_create_object_v2**](ObjectEzsignsignatureApi.md#ezsignsignature_create_object_v2) | **POST** /2/object/ezsignsignature | Create a new Ezsignsignature +[**ezsignsignature_create_object_v3**](ObjectEzsignsignatureApi.md#ezsignsignature_create_object_v3) | **POST** /3/object/ezsignsignature | Create a new Ezsignsignature [**ezsignsignature_delete_object_v1**](ObjectEzsignsignatureApi.md#ezsignsignature_delete_object_v1) | **DELETE** /1/object/ezsignsignature/{pkiEzsignsignatureID} | Delete an existing Ezsignsignature -[**ezsignsignature_edit_object_v1**](ObjectEzsignsignatureApi.md#ezsignsignature_edit_object_v1) | **PUT** /1/object/ezsignsignature/{pkiEzsignsignatureID} | Edit an existing Ezsignsignature +[**ezsignsignature_edit_object_v2**](ObjectEzsignsignatureApi.md#ezsignsignature_edit_object_v2) | **PUT** /2/object/ezsignsignature/{pkiEzsignsignatureID} | Edit an existing Ezsignsignature [**ezsignsignature_get_ezsignsignatureattachment_v1**](ObjectEzsignsignatureApi.md#ezsignsignature_get_ezsignsignatureattachment_v1) | **GET** /1/object/ezsignsignature/{pkiEzsignsignatureID}/getEzsignsignatureattachment | Retrieve an existing Ezsignsignature's Ezsignsignatureattachments [**ezsignsignature_get_ezsignsignatures_automatic_v1**](ObjectEzsignsignatureApi.md#ezsignsignature_get_ezsignsignatures_automatic_v1) | **GET** /1/object/ezsignsignature/getEzsignsignaturesAutomatic | Retrieve all automatic Ezsignsignatures -[**ezsignsignature_get_object_v2**](ObjectEzsignsignatureApi.md#ezsignsignature_get_object_v2) | **GET** /2/object/ezsignsignature/{pkiEzsignsignatureID} | Retrieve an existing Ezsignsignature +[**ezsignsignature_get_object_v3**](ObjectEzsignsignatureApi.md#ezsignsignature_get_object_v3) | **GET** /3/object/ezsignsignature/{pkiEzsignsignatureID} | Retrieve an existing Ezsignsignature [**ezsignsignature_sign_v1**](ObjectEzsignsignatureApi.md#ezsignsignature_sign_v1) | **POST** /1/object/ezsignsignature/{pkiEzsignsignatureID}/sign | Sign the Ezsignsignature @@ -174,6 +175,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsignsignature_create_object_v3** +> EzsignsignatureCreateObjectV3Response ezsignsignature_create_object_v3(ezsignsignature_create_object_v3_request) + +Create a new Ezsignsignature + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignsignature_create_object_v3_request import EzsignsignatureCreateObjectV3Request +from eZmaxApi.models.ezsignsignature_create_object_v3_response import EzsignsignatureCreateObjectV3Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignsignatureApi(api_client) + ezsignsignature_create_object_v3_request = eZmaxApi.EzsignsignatureCreateObjectV3Request() # EzsignsignatureCreateObjectV3Request | + + try: + # Create a new Ezsignsignature + api_response = api_instance.ezsignsignature_create_object_v3(ezsignsignature_create_object_v3_request) + print("The response of ObjectEzsignsignatureApi->ezsignsignature_create_object_v3:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignsignatureApi->ezsignsignature_create_object_v3: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ezsignsignature_create_object_v3_request** | [**EzsignsignatureCreateObjectV3Request**](EzsignsignatureCreateObjectV3Request.md)| | + +### Return type + +[**EzsignsignatureCreateObjectV3Response**](EzsignsignatureCreateObjectV3Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsignsignature_delete_object_v1** > EzsignsignatureDeleteObjectV1Response ezsignsignature_delete_object_v1(pki_ezsignsignature_id) @@ -255,8 +336,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **ezsignsignature_edit_object_v1** -> EzsignsignatureEditObjectV1Response ezsignsignature_edit_object_v1(pki_ezsignsignature_id, ezsignsignature_edit_object_v1_request) +# **ezsignsignature_edit_object_v2** +> EzsignsignatureEditObjectV2Response ezsignsignature_edit_object_v2(pki_ezsignsignature_id, ezsignsignature_edit_object_v2_request) Edit an existing Ezsignsignature @@ -268,8 +349,8 @@ Edit an existing Ezsignsignature ```python import eZmaxApi -from eZmaxApi.models.ezsignsignature_edit_object_v1_request import EzsignsignatureEditObjectV1Request -from eZmaxApi.models.ezsignsignature_edit_object_v1_response import EzsignsignatureEditObjectV1Response +from eZmaxApi.models.ezsignsignature_edit_object_v2_request import EzsignsignatureEditObjectV2Request +from eZmaxApi.models.ezsignsignature_edit_object_v2_response import EzsignsignatureEditObjectV2Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -295,15 +376,15 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsignsignatureApi(api_client) pki_ezsignsignature_id = 56 # int | - ezsignsignature_edit_object_v1_request = eZmaxApi.EzsignsignatureEditObjectV1Request() # EzsignsignatureEditObjectV1Request | + ezsignsignature_edit_object_v2_request = eZmaxApi.EzsignsignatureEditObjectV2Request() # EzsignsignatureEditObjectV2Request | try: # Edit an existing Ezsignsignature - api_response = api_instance.ezsignsignature_edit_object_v1(pki_ezsignsignature_id, ezsignsignature_edit_object_v1_request) - print("The response of ObjectEzsignsignatureApi->ezsignsignature_edit_object_v1:\n") + api_response = api_instance.ezsignsignature_edit_object_v2(pki_ezsignsignature_id, ezsignsignature_edit_object_v2_request) + print("The response of ObjectEzsignsignatureApi->ezsignsignature_edit_object_v2:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsignsignatureApi->ezsignsignature_edit_object_v1: %s\n" % e) + print("Exception when calling ObjectEzsignsignatureApi->ezsignsignature_edit_object_v2: %s\n" % e) ``` @@ -314,11 +395,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pki_ezsignsignature_id** | **int**| | - **ezsignsignature_edit_object_v1_request** | [**EzsignsignatureEditObjectV1Request**](EzsignsignatureEditObjectV1Request.md)| | + **ezsignsignature_edit_object_v2_request** | [**EzsignsignatureEditObjectV2Request**](EzsignsignatureEditObjectV2Request.md)| | ### Return type -[**EzsignsignatureEditObjectV1Response**](EzsignsignatureEditObjectV1Response.md) +[**EzsignsignatureEditObjectV2Response**](EzsignsignatureEditObjectV2Response.md) ### Authorization @@ -493,8 +574,8 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **ezsignsignature_get_object_v2** -> EzsignsignatureGetObjectV2Response ezsignsignature_get_object_v2(pki_ezsignsignature_id) +# **ezsignsignature_get_object_v3** +> EzsignsignatureGetObjectV3Response ezsignsignature_get_object_v3(pki_ezsignsignature_id) Retrieve an existing Ezsignsignature @@ -506,7 +587,7 @@ Retrieve an existing Ezsignsignature ```python import eZmaxApi -from eZmaxApi.models.ezsignsignature_get_object_v2_response import EzsignsignatureGetObjectV2Response +from eZmaxApi.models.ezsignsignature_get_object_v3_response import EzsignsignatureGetObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -535,11 +616,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: try: # Retrieve an existing Ezsignsignature - api_response = api_instance.ezsignsignature_get_object_v2(pki_ezsignsignature_id) - print("The response of ObjectEzsignsignatureApi->ezsignsignature_get_object_v2:\n") + api_response = api_instance.ezsignsignature_get_object_v3(pki_ezsignsignature_id) + print("The response of ObjectEzsignsignatureApi->ezsignsignature_get_object_v3:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsignsignatureApi->ezsignsignature_get_object_v2: %s\n" % e) + print("Exception when calling ObjectEzsignsignatureApi->ezsignsignature_get_object_v3: %s\n" % e) ``` @@ -553,7 +634,7 @@ Name | Type | Description | Notes ### Return type -[**EzsignsignatureGetObjectV2Response**](EzsignsignatureGetObjectV2Response.md) +[**EzsignsignatureGetObjectV3Response**](EzsignsignatureGetObjectV3Response.md) ### Authorization diff --git a/docs/ObjectEzsignsigningreasonApi.md b/docs/ObjectEzsignsigningreasonApi.md index ae01154de..b5ae4da87 100644 --- a/docs/ObjectEzsignsigningreasonApi.md +++ b/docs/ObjectEzsignsigningreasonApi.md @@ -215,7 +215,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsignsigningreasonApi(api_client) s_selector = 's_selector_example' # str | The type of Ezsignsigningreasons to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -236,7 +236,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Ezsignsigningreasons to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectEzsigntemplateApi.md b/docs/ObjectEzsigntemplateApi.md index 4da7871ee..f75989eec 100644 --- a/docs/ObjectEzsigntemplateApi.md +++ b/docs/ObjectEzsigntemplateApi.md @@ -5,15 +5,12 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- [**ezsigntemplate_copy_v1**](ObjectEzsigntemplateApi.md#ezsigntemplate_copy_v1) | **POST** /1/object/ezsigntemplate/{pkiEzsigntemplateID}/copy | Copy the Ezsigntemplate -[**ezsigntemplate_create_object_v1**](ObjectEzsigntemplateApi.md#ezsigntemplate_create_object_v1) | **POST** /1/object/ezsigntemplate | Create a new Ezsigntemplate -[**ezsigntemplate_create_object_v2**](ObjectEzsigntemplateApi.md#ezsigntemplate_create_object_v2) | **POST** /2/object/ezsigntemplate | Create a new Ezsigntemplate +[**ezsigntemplate_create_object_v3**](ObjectEzsigntemplateApi.md#ezsigntemplate_create_object_v3) | **POST** /3/object/ezsigntemplate | Create a new Ezsigntemplate [**ezsigntemplate_delete_object_v1**](ObjectEzsigntemplateApi.md#ezsigntemplate_delete_object_v1) | **DELETE** /1/object/ezsigntemplate/{pkiEzsigntemplateID} | Delete an existing Ezsigntemplate -[**ezsigntemplate_edit_object_v1**](ObjectEzsigntemplateApi.md#ezsigntemplate_edit_object_v1) | **PUT** /1/object/ezsigntemplate/{pkiEzsigntemplateID} | Edit an existing Ezsigntemplate -[**ezsigntemplate_edit_object_v2**](ObjectEzsigntemplateApi.md#ezsigntemplate_edit_object_v2) | **PUT** /2/object/ezsigntemplate/{pkiEzsigntemplateID} | Edit an existing Ezsigntemplate +[**ezsigntemplate_edit_object_v3**](ObjectEzsigntemplateApi.md#ezsigntemplate_edit_object_v3) | **PUT** /3/object/ezsigntemplate/{pkiEzsigntemplateID} | Edit an existing Ezsigntemplate [**ezsigntemplate_get_autocomplete_v2**](ObjectEzsigntemplateApi.md#ezsigntemplate_get_autocomplete_v2) | **GET** /2/object/ezsigntemplate/getAutocomplete/{sSelector} | Retrieve Ezsigntemplates and IDs [**ezsigntemplate_get_list_v1**](ObjectEzsigntemplateApi.md#ezsigntemplate_get_list_v1) | **GET** /1/object/ezsigntemplate/getList | Retrieve Ezsigntemplate list -[**ezsigntemplate_get_object_v1**](ObjectEzsigntemplateApi.md#ezsigntemplate_get_object_v1) | **GET** /1/object/ezsigntemplate/{pkiEzsigntemplateID} | Retrieve an existing Ezsigntemplate -[**ezsigntemplate_get_object_v2**](ObjectEzsigntemplateApi.md#ezsigntemplate_get_object_v2) | **GET** /2/object/ezsigntemplate/{pkiEzsigntemplateID} | Retrieve an existing Ezsigntemplate +[**ezsigntemplate_get_object_v3**](ObjectEzsigntemplateApi.md#ezsigntemplate_get_object_v3) | **GET** /3/object/ezsigntemplate/{pkiEzsigntemplateID} | Retrieve an existing Ezsigntemplate # **ezsigntemplate_copy_v1** @@ -99,8 +96,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **ezsigntemplate_create_object_v1** -> EzsigntemplateCreateObjectV1Response ezsigntemplate_create_object_v1(ezsigntemplate_create_object_v1_request) +# **ezsigntemplate_create_object_v3** +> EzsigntemplateCreateObjectV3Response ezsigntemplate_create_object_v3(ezsigntemplate_create_object_v3_request) Create a new Ezsigntemplate @@ -112,8 +109,8 @@ The endpoint allows to create one or many elements at once. ```python import eZmaxApi -from eZmaxApi.models.ezsigntemplate_create_object_v1_request import EzsigntemplateCreateObjectV1Request -from eZmaxApi.models.ezsigntemplate_create_object_v1_response import EzsigntemplateCreateObjectV1Response +from eZmaxApi.models.ezsigntemplate_create_object_v3_request import EzsigntemplateCreateObjectV3Request +from eZmaxApi.models.ezsigntemplate_create_object_v3_response import EzsigntemplateCreateObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -138,15 +135,15 @@ configuration.api_key['Authorization'] = os.environ["API_KEY"] with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsigntemplateApi(api_client) - ezsigntemplate_create_object_v1_request = eZmaxApi.EzsigntemplateCreateObjectV1Request() # EzsigntemplateCreateObjectV1Request | + ezsigntemplate_create_object_v3_request = eZmaxApi.EzsigntemplateCreateObjectV3Request() # EzsigntemplateCreateObjectV3Request | try: # Create a new Ezsigntemplate - api_response = api_instance.ezsigntemplate_create_object_v1(ezsigntemplate_create_object_v1_request) - print("The response of ObjectEzsigntemplateApi->ezsigntemplate_create_object_v1:\n") + api_response = api_instance.ezsigntemplate_create_object_v3(ezsigntemplate_create_object_v3_request) + print("The response of ObjectEzsigntemplateApi->ezsigntemplate_create_object_v3:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsigntemplateApi->ezsigntemplate_create_object_v1: %s\n" % e) + print("Exception when calling ObjectEzsigntemplateApi->ezsigntemplate_create_object_v3: %s\n" % e) ``` @@ -156,91 +153,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ezsigntemplate_create_object_v1_request** | [**EzsigntemplateCreateObjectV1Request**](EzsigntemplateCreateObjectV1Request.md)| | + **ezsigntemplate_create_object_v3_request** | [**EzsigntemplateCreateObjectV3Request**](EzsigntemplateCreateObjectV3Request.md)| | ### Return type -[**EzsigntemplateCreateObjectV1Response**](EzsigntemplateCreateObjectV1Response.md) - -### Authorization - -[Authorization](../README.md#Authorization) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Successful response | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ezsigntemplate_create_object_v2** -> EzsigntemplateCreateObjectV2Response ezsigntemplate_create_object_v2(ezsigntemplate_create_object_v2_request) - -Create a new Ezsigntemplate - -The endpoint allows to create one or many elements at once. - -### Example - -* Api Key Authentication (Authorization): - -```python -import eZmaxApi -from eZmaxApi.models.ezsigntemplate_create_object_v2_request import EzsigntemplateCreateObjectV2Request -from eZmaxApi.models.ezsigntemplate_create_object_v2_response import EzsigntemplateCreateObjectV2Response -from eZmaxApi.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest -# See configuration.py for a list of all supported configuration parameters. -configuration = eZmaxApi.Configuration( - host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: Authorization -configuration.api_key['Authorization'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - -# Enter a context with an instance of the API client -with eZmaxApi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = eZmaxApi.ObjectEzsigntemplateApi(api_client) - ezsigntemplate_create_object_v2_request = eZmaxApi.EzsigntemplateCreateObjectV2Request() # EzsigntemplateCreateObjectV2Request | - - try: - # Create a new Ezsigntemplate - api_response = api_instance.ezsigntemplate_create_object_v2(ezsigntemplate_create_object_v2_request) - print("The response of ObjectEzsigntemplateApi->ezsigntemplate_create_object_v2:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ObjectEzsigntemplateApi->ezsigntemplate_create_object_v2: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ezsigntemplate_create_object_v2_request** | [**EzsigntemplateCreateObjectV2Request**](EzsigntemplateCreateObjectV2Request.md)| | - -### Return type - -[**EzsigntemplateCreateObjectV2Response**](EzsigntemplateCreateObjectV2Response.md) +[**EzsigntemplateCreateObjectV3Response**](EzsigntemplateCreateObjectV3Response.md) ### Authorization @@ -339,8 +256,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **ezsigntemplate_edit_object_v1** -> EzsigntemplateEditObjectV1Response ezsigntemplate_edit_object_v1(pki_ezsigntemplate_id, ezsigntemplate_edit_object_v1_request) +# **ezsigntemplate_edit_object_v3** +> EzsigntemplateEditObjectV3Response ezsigntemplate_edit_object_v3(pki_ezsigntemplate_id, ezsigntemplate_edit_object_v3_request) Edit an existing Ezsigntemplate @@ -352,8 +269,8 @@ Edit an existing Ezsigntemplate ```python import eZmaxApi -from eZmaxApi.models.ezsigntemplate_edit_object_v1_request import EzsigntemplateEditObjectV1Request -from eZmaxApi.models.ezsigntemplate_edit_object_v1_response import EzsigntemplateEditObjectV1Response +from eZmaxApi.models.ezsigntemplate_edit_object_v3_request import EzsigntemplateEditObjectV3Request +from eZmaxApi.models.ezsigntemplate_edit_object_v3_response import EzsigntemplateEditObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -379,15 +296,15 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsigntemplateApi(api_client) pki_ezsigntemplate_id = 56 # int | - ezsigntemplate_edit_object_v1_request = eZmaxApi.EzsigntemplateEditObjectV1Request() # EzsigntemplateEditObjectV1Request | + ezsigntemplate_edit_object_v3_request = eZmaxApi.EzsigntemplateEditObjectV3Request() # EzsigntemplateEditObjectV3Request | try: # Edit an existing Ezsigntemplate - api_response = api_instance.ezsigntemplate_edit_object_v1(pki_ezsigntemplate_id, ezsigntemplate_edit_object_v1_request) - print("The response of ObjectEzsigntemplateApi->ezsigntemplate_edit_object_v1:\n") + api_response = api_instance.ezsigntemplate_edit_object_v3(pki_ezsigntemplate_id, ezsigntemplate_edit_object_v3_request) + print("The response of ObjectEzsigntemplateApi->ezsigntemplate_edit_object_v3:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsigntemplateApi->ezsigntemplate_edit_object_v1: %s\n" % e) + print("Exception when calling ObjectEzsigntemplateApi->ezsigntemplate_edit_object_v3: %s\n" % e) ``` @@ -398,95 +315,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pki_ezsigntemplate_id** | **int**| | - **ezsigntemplate_edit_object_v1_request** | [**EzsigntemplateEditObjectV1Request**](EzsigntemplateEditObjectV1Request.md)| | + **ezsigntemplate_edit_object_v3_request** | [**EzsigntemplateEditObjectV3Request**](EzsigntemplateEditObjectV3Request.md)| | ### Return type -[**EzsigntemplateEditObjectV1Response**](EzsigntemplateEditObjectV1Response.md) - -### Authorization - -[Authorization](../README.md#Authorization) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Successful response | - | -**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | -**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ezsigntemplate_edit_object_v2** -> EzsigntemplateEditObjectV2Response ezsigntemplate_edit_object_v2(pki_ezsigntemplate_id, ezsigntemplate_edit_object_v2_request) - -Edit an existing Ezsigntemplate - - - -### Example - -* Api Key Authentication (Authorization): - -```python -import eZmaxApi -from eZmaxApi.models.ezsigntemplate_edit_object_v2_request import EzsigntemplateEditObjectV2Request -from eZmaxApi.models.ezsigntemplate_edit_object_v2_response import EzsigntemplateEditObjectV2Response -from eZmaxApi.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest -# See configuration.py for a list of all supported configuration parameters. -configuration = eZmaxApi.Configuration( - host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: Authorization -configuration.api_key['Authorization'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - -# Enter a context with an instance of the API client -with eZmaxApi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = eZmaxApi.ObjectEzsigntemplateApi(api_client) - pki_ezsigntemplate_id = 56 # int | - ezsigntemplate_edit_object_v2_request = eZmaxApi.EzsigntemplateEditObjectV2Request() # EzsigntemplateEditObjectV2Request | - - try: - # Edit an existing Ezsigntemplate - api_response = api_instance.ezsigntemplate_edit_object_v2(pki_ezsigntemplate_id, ezsigntemplate_edit_object_v2_request) - print("The response of ObjectEzsigntemplateApi->ezsigntemplate_edit_object_v2:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ObjectEzsigntemplateApi->ezsigntemplate_edit_object_v2: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pki_ezsigntemplate_id** | **int**| | - **ezsigntemplate_edit_object_v2_request** | [**EzsigntemplateEditObjectV2Request**](EzsigntemplateEditObjectV2Request.md)| | - -### Return type - -[**EzsigntemplateEditObjectV2Response**](EzsigntemplateEditObjectV2Response.md) +[**EzsigntemplateEditObjectV3Response**](EzsigntemplateEditObjectV3Response.md) ### Authorization @@ -508,7 +341,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplate_get_autocomplete_v2** -> EzsigntemplateGetAutocompleteV2Response ezsigntemplate_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) +> EzsigntemplateGetAutocompleteV2Response ezsigntemplate_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language, fki_ezsignfoldertype_id=fki_ezsignfoldertype_id) Retrieve Ezsigntemplates and IDs @@ -547,13 +380,14 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsigntemplateApi(api_client) s_selector = 's_selector_example' # str | The type of Ezsigntemplates to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + fki_ezsignfoldertype_id = 56 # int | The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic (optional) try: # Retrieve Ezsigntemplates and IDs - api_response = api_instance.ezsigntemplate_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + api_response = api_instance.ezsigntemplate_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language, fki_ezsignfoldertype_id=fki_ezsignfoldertype_id) print("The response of ObjectEzsigntemplateApi->ezsigntemplate_get_autocomplete_v2:\n") pprint(api_response) except Exception as e: @@ -568,9 +402,10 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Ezsigntemplates to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + **fki_ezsignfoldertype_id** | **int**| The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic | [optional] ### Return type @@ -682,88 +517,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **ezsigntemplate_get_object_v1** -> EzsigntemplateGetObjectV1Response ezsigntemplate_get_object_v1(pki_ezsigntemplate_id) - -Retrieve an existing Ezsigntemplate - - - -### Example - -* Api Key Authentication (Authorization): - -```python -import eZmaxApi -from eZmaxApi.models.ezsigntemplate_get_object_v1_response import EzsigntemplateGetObjectV1Response -from eZmaxApi.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest -# See configuration.py for a list of all supported configuration parameters. -configuration = eZmaxApi.Configuration( - host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: Authorization -configuration.api_key['Authorization'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - -# Enter a context with an instance of the API client -with eZmaxApi.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = eZmaxApi.ObjectEzsigntemplateApi(api_client) - pki_ezsigntemplate_id = 56 # int | - - try: - # Retrieve an existing Ezsigntemplate - api_response = api_instance.ezsigntemplate_get_object_v1(pki_ezsigntemplate_id) - print("The response of ObjectEzsigntemplateApi->ezsigntemplate_get_object_v1:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ObjectEzsigntemplateApi->ezsigntemplate_get_object_v1: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pki_ezsigntemplate_id** | **int**| | - -### Return type - -[**EzsigntemplateGetObjectV1Response**](EzsigntemplateGetObjectV1Response.md) - -### Authorization - -[Authorization](../README.md#Authorization) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Successful response | - | -**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ezsigntemplate_get_object_v2** -> EzsigntemplateGetObjectV2Response ezsigntemplate_get_object_v2(pki_ezsigntemplate_id) +# **ezsigntemplate_get_object_v3** +> EzsigntemplateGetObjectV3Response ezsigntemplate_get_object_v3(pki_ezsigntemplate_id) Retrieve an existing Ezsigntemplate @@ -775,7 +530,7 @@ Retrieve an existing Ezsigntemplate ```python import eZmaxApi -from eZmaxApi.models.ezsigntemplate_get_object_v2_response import EzsigntemplateGetObjectV2Response +from eZmaxApi.models.ezsigntemplate_get_object_v3_response import EzsigntemplateGetObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -804,11 +559,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: try: # Retrieve an existing Ezsigntemplate - api_response = api_instance.ezsigntemplate_get_object_v2(pki_ezsigntemplate_id) - print("The response of ObjectEzsigntemplateApi->ezsigntemplate_get_object_v2:\n") + api_response = api_instance.ezsigntemplate_get_object_v3(pki_ezsigntemplate_id) + print("The response of ObjectEzsigntemplateApi->ezsigntemplate_get_object_v3:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsigntemplateApi->ezsigntemplate_get_object_v2: %s\n" % e) + print("Exception when calling ObjectEzsigntemplateApi->ezsigntemplate_get_object_v3: %s\n" % e) ``` @@ -822,7 +577,7 @@ Name | Type | Description | Notes ### Return type -[**EzsigntemplateGetObjectV2Response**](EzsigntemplateGetObjectV2Response.md) +[**EzsigntemplateGetObjectV3Response**](EzsigntemplateGetObjectV3Response.md) ### Authorization diff --git a/docs/ObjectEzsigntemplatedocumentApi.md b/docs/ObjectEzsigntemplatedocumentApi.md index 85ba27555..d5b91ccec 100644 --- a/docs/ObjectEzsigntemplatedocumentApi.md +++ b/docs/ObjectEzsigntemplatedocumentApi.md @@ -5,10 +5,13 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- [**ezsigntemplatedocument_create_object_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_create_object_v1) | **POST** /1/object/ezsigntemplatedocument | Create a new Ezsigntemplatedocument +[**ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1) | **PUT** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatedocumentpagerecognitions | Edit multiple Ezsigntemplatedocumentpagerecognitions [**ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1) | **PUT** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplateformfieldgroups | Edit multiple Ezsigntemplateformfieldgroups [**ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1) | **PUT** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatesignatures | Edit multiple Ezsigntemplatesignatures [**ezsigntemplatedocument_edit_object_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_edit_object_v1) | **PUT** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} | Edit an existing Ezsigntemplatedocument +[**ezsigntemplatedocument_extract_text_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_extract_text_v1) | **POST** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/extractText | Extract text from Ezsigntemplatedocument area [**ezsigntemplatedocument_flatten_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_flatten_v1) | **POST** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/flatten | Flatten +[**ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1) | **GET** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplatedocumentpagerecognitions | Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatedocumentpagerecognitions [**ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1) | **GET** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplatedocumentpages | Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatedocumentpages [**ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1) | **GET** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplateformfieldgroups | Retrieve an existing Ezsigntemplatedocument's Ezsigntemplateformfieldgroups [**ezsigntemplatedocument_get_ezsigntemplatesignatures_v1**](ObjectEzsigntemplatedocumentApi.md#ezsigntemplatedocument_get_ezsigntemplatesignatures_v1) | **GET** /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplatesignatures | Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatesignatures @@ -99,6 +102,90 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1** +> EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1(pki_ezsigntemplatedocument_id, ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request) + +Edit multiple Ezsigntemplatedocumentpagerecognitions + +Edit multiple Ezsigntemplatedocumentpagerecognitions + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatedocumentApi(api_client) + pki_ezsigntemplatedocument_id = 56 # int | + ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request = eZmaxApi.EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request() # EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request | + + try: + # Edit multiple Ezsigntemplatedocumentpagerecognitions + api_response = api_instance.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1(pki_ezsigntemplatedocument_id, ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request) + print("The response of ObjectEzsigntemplatedocumentApi->ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatedocumentApi->ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatedocument_id** | **int**| | + **ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request** | [**EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request**](EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request.md)| | + +### Return type + +[**EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response**](EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1** > EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1(pki_ezsigntemplatedocument_id, ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request) @@ -351,6 +438,90 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsigntemplatedocument_extract_text_v1** +> EzsigntemplatedocumentExtractTextV1Response ezsigntemplatedocument_extract_text_v1(pki_ezsigntemplatedocument_id, ezsigntemplatedocument_extract_text_v1_request) + +Extract text from Ezsigntemplatedocument area + +Extract text from Ezsigntemplatedocument area + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_request import EzsigntemplatedocumentExtractTextV1Request +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response import EzsigntemplatedocumentExtractTextV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatedocumentApi(api_client) + pki_ezsigntemplatedocument_id = 56 # int | + ezsigntemplatedocument_extract_text_v1_request = eZmaxApi.EzsigntemplatedocumentExtractTextV1Request() # EzsigntemplatedocumentExtractTextV1Request | + + try: + # Extract text from Ezsigntemplatedocument area + api_response = api_instance.ezsigntemplatedocument_extract_text_v1(pki_ezsigntemplatedocument_id, ezsigntemplatedocument_extract_text_v1_request) + print("The response of ObjectEzsigntemplatedocumentApi->ezsigntemplatedocument_extract_text_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatedocumentApi->ezsigntemplatedocument_extract_text_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatedocument_id** | **int**| | + **ezsigntemplatedocument_extract_text_v1_request** | [**EzsigntemplatedocumentExtractTextV1Request**](EzsigntemplatedocumentExtractTextV1Request.md)| | + +### Return type + +[**EzsigntemplatedocumentExtractTextV1Response**](EzsigntemplatedocumentExtractTextV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsigntemplatedocument_flatten_v1** > EzsigntemplatedocumentFlattenV1Response ezsigntemplatedocument_flatten_v1(pki_ezsigntemplatedocument_id, body) @@ -434,6 +605,87 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1** +> EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1(pki_ezsigntemplatedocument_id) + +Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatedocumentpagerecognitions + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatedocumentApi(api_client) + pki_ezsigntemplatedocument_id = 56 # int | + + try: + # Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatedocumentpagerecognitions + api_response = api_instance.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1(pki_ezsigntemplatedocument_id) + print("The response of ObjectEzsigntemplatedocumentApi->ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatedocumentApi->ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatedocument_id** | **int**| | + +### Return type + +[**EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response**](EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1** > EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1(pki_ezsigntemplatedocument_id) diff --git a/docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md b/docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md new file mode 100644 index 000000000..db7381c8a --- /dev/null +++ b/docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md @@ -0,0 +1,336 @@ +# eZmaxApi.ObjectEzsigntemplatedocumentpagerecognitionApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ezsigntemplatedocumentpagerecognition_create_object_v1**](ObjectEzsigntemplatedocumentpagerecognitionApi.md#ezsigntemplatedocumentpagerecognition_create_object_v1) | **POST** /1/object/ezsigntemplatedocumentpagerecognition | Create a new Ezsigntemplatedocumentpagerecognition +[**ezsigntemplatedocumentpagerecognition_delete_object_v1**](ObjectEzsigntemplatedocumentpagerecognitionApi.md#ezsigntemplatedocumentpagerecognition_delete_object_v1) | **DELETE** /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} | Delete an existing Ezsigntemplatedocumentpagerecognition +[**ezsigntemplatedocumentpagerecognition_edit_object_v1**](ObjectEzsigntemplatedocumentpagerecognitionApi.md#ezsigntemplatedocumentpagerecognition_edit_object_v1) | **PUT** /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} | Edit an existing Ezsigntemplatedocumentpagerecognition +[**ezsigntemplatedocumentpagerecognition_get_object_v2**](ObjectEzsigntemplatedocumentpagerecognitionApi.md#ezsigntemplatedocumentpagerecognition_get_object_v2) | **GET** /2/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} | Retrieve an existing Ezsigntemplatedocumentpagerecognition + + +# **ezsigntemplatedocumentpagerecognition_create_object_v1** +> EzsigntemplatedocumentpagerecognitionCreateObjectV1Response ezsigntemplatedocumentpagerecognition_create_object_v1(ezsigntemplatedocumentpagerecognition_create_object_v1_request) + +Create a new Ezsigntemplatedocumentpagerecognition + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_request import EzsigntemplatedocumentpagerecognitionCreateObjectV1Request +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response import EzsigntemplatedocumentpagerecognitionCreateObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatedocumentpagerecognitionApi(api_client) + ezsigntemplatedocumentpagerecognition_create_object_v1_request = eZmaxApi.EzsigntemplatedocumentpagerecognitionCreateObjectV1Request() # EzsigntemplatedocumentpagerecognitionCreateObjectV1Request | + + try: + # Create a new Ezsigntemplatedocumentpagerecognition + api_response = api_instance.ezsigntemplatedocumentpagerecognition_create_object_v1(ezsigntemplatedocumentpagerecognition_create_object_v1_request) + print("The response of ObjectEzsigntemplatedocumentpagerecognitionApi->ezsigntemplatedocumentpagerecognition_create_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatedocumentpagerecognitionApi->ezsigntemplatedocumentpagerecognition_create_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ezsigntemplatedocumentpagerecognition_create_object_v1_request** | [**EzsigntemplatedocumentpagerecognitionCreateObjectV1Request**](EzsigntemplatedocumentpagerecognitionCreateObjectV1Request.md)| | + +### Return type + +[**EzsigntemplatedocumentpagerecognitionCreateObjectV1Response**](EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatedocumentpagerecognition_delete_object_v1** +> EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response ezsigntemplatedocumentpagerecognition_delete_object_v1(pki_ezsigntemplatedocumentpagerecognition_id) + +Delete an existing Ezsigntemplatedocumentpagerecognition + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_delete_object_v1_response import EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatedocumentpagerecognitionApi(api_client) + pki_ezsigntemplatedocumentpagerecognition_id = 56 # int | The unique ID of the Ezsigntemplatedocumentpagerecognition + + try: + # Delete an existing Ezsigntemplatedocumentpagerecognition + api_response = api_instance.ezsigntemplatedocumentpagerecognition_delete_object_v1(pki_ezsigntemplatedocumentpagerecognition_id) + print("The response of ObjectEzsigntemplatedocumentpagerecognitionApi->ezsigntemplatedocumentpagerecognition_delete_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatedocumentpagerecognitionApi->ezsigntemplatedocumentpagerecognition_delete_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatedocumentpagerecognition_id** | **int**| The unique ID of the Ezsigntemplatedocumentpagerecognition | + +### Return type + +[**EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response**](EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatedocumentpagerecognition_edit_object_v1** +> EzsigntemplatedocumentpagerecognitionEditObjectV1Response ezsigntemplatedocumentpagerecognition_edit_object_v1(pki_ezsigntemplatedocumentpagerecognition_id, ezsigntemplatedocumentpagerecognition_edit_object_v1_request) + +Edit an existing Ezsigntemplatedocumentpagerecognition + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_request import EzsigntemplatedocumentpagerecognitionEditObjectV1Request +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_response import EzsigntemplatedocumentpagerecognitionEditObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatedocumentpagerecognitionApi(api_client) + pki_ezsigntemplatedocumentpagerecognition_id = 56 # int | The unique ID of the Ezsigntemplatedocumentpagerecognition + ezsigntemplatedocumentpagerecognition_edit_object_v1_request = eZmaxApi.EzsigntemplatedocumentpagerecognitionEditObjectV1Request() # EzsigntemplatedocumentpagerecognitionEditObjectV1Request | + + try: + # Edit an existing Ezsigntemplatedocumentpagerecognition + api_response = api_instance.ezsigntemplatedocumentpagerecognition_edit_object_v1(pki_ezsigntemplatedocumentpagerecognition_id, ezsigntemplatedocumentpagerecognition_edit_object_v1_request) + print("The response of ObjectEzsigntemplatedocumentpagerecognitionApi->ezsigntemplatedocumentpagerecognition_edit_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatedocumentpagerecognitionApi->ezsigntemplatedocumentpagerecognition_edit_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatedocumentpagerecognition_id** | **int**| The unique ID of the Ezsigntemplatedocumentpagerecognition | + **ezsigntemplatedocumentpagerecognition_edit_object_v1_request** | [**EzsigntemplatedocumentpagerecognitionEditObjectV1Request**](EzsigntemplatedocumentpagerecognitionEditObjectV1Request.md)| | + +### Return type + +[**EzsigntemplatedocumentpagerecognitionEditObjectV1Response**](EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatedocumentpagerecognition_get_object_v2** +> EzsigntemplatedocumentpagerecognitionGetObjectV2Response ezsigntemplatedocumentpagerecognition_get_object_v2(pki_ezsigntemplatedocumentpagerecognition_id) + +Retrieve an existing Ezsigntemplatedocumentpagerecognition + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response import EzsigntemplatedocumentpagerecognitionGetObjectV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatedocumentpagerecognitionApi(api_client) + pki_ezsigntemplatedocumentpagerecognition_id = 56 # int | The unique ID of the Ezsigntemplatedocumentpagerecognition + + try: + # Retrieve an existing Ezsigntemplatedocumentpagerecognition + api_response = api_instance.ezsigntemplatedocumentpagerecognition_get_object_v2(pki_ezsigntemplatedocumentpagerecognition_id) + print("The response of ObjectEzsigntemplatedocumentpagerecognitionApi->ezsigntemplatedocumentpagerecognition_get_object_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatedocumentpagerecognitionApi->ezsigntemplatedocumentpagerecognition_get_object_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatedocumentpagerecognition_id** | **int**| The unique ID of the Ezsigntemplatedocumentpagerecognition | + +### Return type + +[**EzsigntemplatedocumentpagerecognitionGetObjectV2Response**](EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectEzsigntemplateglobalApi.md b/docs/ObjectEzsigntemplateglobalApi.md index 53e9f799a..adc1a291a 100644 --- a/docs/ObjectEzsigntemplateglobalApi.md +++ b/docs/ObjectEzsigntemplateglobalApi.md @@ -48,7 +48,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsigntemplateglobalApi(api_client) s_selector = 's_selector_example' # str | The type of Ezsigntemplateglobals to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -69,7 +69,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Ezsigntemplateglobals to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectEzsigntemplatepackageApi.md b/docs/ObjectEzsigntemplatepackageApi.md index edc96aa82..8d52b5755 100644 --- a/docs/ObjectEzsigntemplatepackageApi.md +++ b/docs/ObjectEzsigntemplatepackageApi.md @@ -342,7 +342,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatepackage_get_autocomplete_v2** -> EzsigntemplatepackageGetAutocompleteV2Response ezsigntemplatepackage_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) +> EzsigntemplatepackageGetAutocompleteV2Response ezsigntemplatepackage_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language, fki_ezsignfoldertype_id=fki_ezsignfoldertype_id) Retrieve Ezsigntemplatepackages and IDs @@ -381,13 +381,14 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsigntemplatepackageApi(api_client) s_selector = 's_selector_example' # str | The type of Ezsigntemplatepackages to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + fki_ezsignfoldertype_id = 56 # int | The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic (optional) try: # Retrieve Ezsigntemplatepackages and IDs - api_response = api_instance.ezsigntemplatepackage_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + api_response = api_instance.ezsigntemplatepackage_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language, fki_ezsignfoldertype_id=fki_ezsignfoldertype_id) print("The response of ObjectEzsigntemplatepackageApi->ezsigntemplatepackage_get_autocomplete_v2:\n") pprint(api_response) except Exception as e: @@ -402,9 +403,10 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Ezsigntemplatepackages to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + **fki_ezsignfoldertype_id** | **int**| The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic | [optional] ### Return type diff --git a/docs/ObjectEzsigntemplatepublicApi.md b/docs/ObjectEzsigntemplatepublicApi.md new file mode 100644 index 000000000..89bf9bcae --- /dev/null +++ b/docs/ObjectEzsigntemplatepublicApi.md @@ -0,0 +1,756 @@ +# eZmaxApi.ObjectEzsigntemplatepublicApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ezsigntemplatepublic_create_ezsignfolder_v1**](ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_create_ezsignfolder_v1) | **POST** /1/object/ezsigntemplatepublic/createEzsignfolder | Create an Ezsignfolder +[**ezsigntemplatepublic_create_object_v1**](ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_create_object_v1) | **POST** /1/object/ezsigntemplatepublic | Create a new Ezsigntemplatepublic +[**ezsigntemplatepublic_edit_object_v1**](ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_edit_object_v1) | **PUT** /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} | Edit an existing Ezsigntemplatepublic +[**ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1**](ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1) | **POST** /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails | Retrieve the Ezsigntemplatepublic details +[**ezsigntemplatepublic_get_forms_data_v1**](ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_get_forms_data_v1) | **GET** /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/getFormsData | Retrieve an existing Ezsigntemplatepublic's forms data +[**ezsigntemplatepublic_get_list_v1**](ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_get_list_v1) | **GET** /1/object/ezsigntemplatepublic/getList | Retrieve Ezsigntemplatepublic list +[**ezsigntemplatepublic_get_object_v2**](ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_get_object_v2) | **GET** /2/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} | Retrieve an existing Ezsigntemplatepublic +[**ezsigntemplatepublic_reset_limit_exceeded_counter_v1**](ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_reset_limit_exceeded_counter_v1) | **POST** /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetLimitExceededCounter | Reset the limit exceeded counter +[**ezsigntemplatepublic_reset_url_v1**](ObjectEzsigntemplatepublicApi.md#ezsigntemplatepublic_reset_url_v1) | **POST** /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetUrl | Reset the Ezsigntemplatepublic url + + +# **ezsigntemplatepublic_create_ezsignfolder_v1** +> EzsigntemplatepublicCreateEzsignfolderV1Response ezsigntemplatepublic_create_ezsignfolder_v1(ezsigntemplatepublic_create_ezsignfolder_v1_request) + +Create an Ezsignfolder + +Create an Ezsignfolder + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_request import EzsigntemplatepublicCreateEzsignfolderV1Request +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response import EzsigntemplatepublicCreateEzsignfolderV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatepublicApi(api_client) + ezsigntemplatepublic_create_ezsignfolder_v1_request = eZmaxApi.EzsigntemplatepublicCreateEzsignfolderV1Request() # EzsigntemplatepublicCreateEzsignfolderV1Request | + + try: + # Create an Ezsignfolder + api_response = api_instance.ezsigntemplatepublic_create_ezsignfolder_v1(ezsigntemplatepublic_create_ezsignfolder_v1_request) + print("The response of ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_create_ezsignfolder_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_create_ezsignfolder_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ezsigntemplatepublic_create_ezsignfolder_v1_request** | [**EzsigntemplatepublicCreateEzsignfolderV1Request**](EzsigntemplatepublicCreateEzsignfolderV1Request.md)| | + +### Return type + +[**EzsigntemplatepublicCreateEzsignfolderV1Response**](EzsigntemplatepublicCreateEzsignfolderV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatepublic_create_object_v1** +> EzsigntemplatepublicCreateObjectV1Response ezsigntemplatepublic_create_object_v1(ezsigntemplatepublic_create_object_v1_request) + +Create a new Ezsigntemplatepublic + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_request import EzsigntemplatepublicCreateObjectV1Request +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response import EzsigntemplatepublicCreateObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatepublicApi(api_client) + ezsigntemplatepublic_create_object_v1_request = eZmaxApi.EzsigntemplatepublicCreateObjectV1Request() # EzsigntemplatepublicCreateObjectV1Request | + + try: + # Create a new Ezsigntemplatepublic + api_response = api_instance.ezsigntemplatepublic_create_object_v1(ezsigntemplatepublic_create_object_v1_request) + print("The response of ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_create_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_create_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ezsigntemplatepublic_create_object_v1_request** | [**EzsigntemplatepublicCreateObjectV1Request**](EzsigntemplatepublicCreateObjectV1Request.md)| | + +### Return type + +[**EzsigntemplatepublicCreateObjectV1Response**](EzsigntemplatepublicCreateObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatepublic_edit_object_v1** +> EzsigntemplatepublicEditObjectV1Response ezsigntemplatepublic_edit_object_v1(pki_ezsigntemplatepublic_id, ezsigntemplatepublic_edit_object_v1_request) + +Edit an existing Ezsigntemplatepublic + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_request import EzsigntemplatepublicEditObjectV1Request +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_response import EzsigntemplatepublicEditObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatepublicApi(api_client) + pki_ezsigntemplatepublic_id = 56 # int | The unique ID of the Ezsigntemplatepublic + ezsigntemplatepublic_edit_object_v1_request = eZmaxApi.EzsigntemplatepublicEditObjectV1Request() # EzsigntemplatepublicEditObjectV1Request | + + try: + # Edit an existing Ezsigntemplatepublic + api_response = api_instance.ezsigntemplatepublic_edit_object_v1(pki_ezsigntemplatepublic_id, ezsigntemplatepublic_edit_object_v1_request) + print("The response of ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_edit_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_edit_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatepublic_id** | **int**| The unique ID of the Ezsigntemplatepublic | + **ezsigntemplatepublic_edit_object_v1_request** | [**EzsigntemplatepublicEditObjectV1Request**](EzsigntemplatepublicEditObjectV1Request.md)| | + +### Return type + +[**EzsigntemplatepublicEditObjectV1Response**](EzsigntemplatepublicEditObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1** +> EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1(ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request) + +Retrieve the Ezsigntemplatepublic details + +Retrieve the Ezsigntemplatepublic details + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatepublicApi(api_client) + ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request = eZmaxApi.EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request() # EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request | + + try: + # Retrieve the Ezsigntemplatepublic details + api_response = api_instance.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1(ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request) + print("The response of ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request** | [**EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request**](EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request.md)| | + +### Return type + +[**EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response**](EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatepublic_get_forms_data_v1** +> EzsigntemplatepublicGetFormsDataV1Response ezsigntemplatepublic_get_forms_data_v1(pki_ezsigntemplatepublic_id) + +Retrieve an existing Ezsigntemplatepublic's forms data + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response import EzsigntemplatepublicGetFormsDataV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatepublicApi(api_client) + pki_ezsigntemplatepublic_id = 56 # int | + + try: + # Retrieve an existing Ezsigntemplatepublic's forms data + api_response = api_instance.ezsigntemplatepublic_get_forms_data_v1(pki_ezsigntemplatepublic_id) + print("The response of ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_get_forms_data_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_get_forms_data_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatepublic_id** | **int**| | + +### Return type + +[**EzsigntemplatepublicGetFormsDataV1Response**](EzsigntemplatepublicGetFormsDataV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/zip + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**406** | The URL is valid, but one of the Accept header is not defined or invalid. For example, you set the header \"Accept: application/json\" but the function can only return \"Content-type: image/png\" | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatepublic_get_list_v1** +> EzsigntemplatepublicGetListV1Response ezsigntemplatepublic_get_list_v1(e_order_by=e_order_by, i_row_max=i_row_max, i_row_offset=i_row_offset, accept_language=accept_language, s_filter=s_filter) + +Retrieve Ezsigntemplatepublic list + +Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsigntemplatepublicLimittype | Hour
Day
Month
Total | + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response import EzsigntemplatepublicGetListV1Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatepublicApi(api_client) + e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) + i_row_max = 56 # int | (optional) + i_row_offset = 0 # int | (optional) (default to 0) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + s_filter = 's_filter_example' # str | (optional) + + try: + # Retrieve Ezsigntemplatepublic list + api_response = api_instance.ezsigntemplatepublic_get_list_v1(e_order_by=e_order_by, i_row_max=i_row_max, i_row_offset=i_row_offset, accept_language=accept_language, s_filter=s_filter) + print("The response of ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_get_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_get_list_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] + **i_row_max** | **int**| | [optional] + **i_row_offset** | **int**| | [optional] [default to 0] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + **s_filter** | **str**| | [optional] + +### Return type + +[**EzsigntemplatepublicGetListV1Response**](EzsigntemplatepublicGetListV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**406** | The URL is valid, but one of the Accept header is not defined or invalid. For example, you set the header \"Accept: application/json\" but the function can only return \"Content-type: image/png\" | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatepublic_get_object_v2** +> EzsigntemplatepublicGetObjectV2Response ezsigntemplatepublic_get_object_v2(pki_ezsigntemplatepublic_id) + +Retrieve an existing Ezsigntemplatepublic + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response import EzsigntemplatepublicGetObjectV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatepublicApi(api_client) + pki_ezsigntemplatepublic_id = 56 # int | The unique ID of the Ezsigntemplatepublic + + try: + # Retrieve an existing Ezsigntemplatepublic + api_response = api_instance.ezsigntemplatepublic_get_object_v2(pki_ezsigntemplatepublic_id) + print("The response of ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_get_object_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_get_object_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatepublic_id** | **int**| The unique ID of the Ezsigntemplatepublic | + +### Return type + +[**EzsigntemplatepublicGetObjectV2Response**](EzsigntemplatepublicGetObjectV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatepublic_reset_limit_exceeded_counter_v1** +> EzsigntemplatepublicResetLimitExceededCounterV1Response ezsigntemplatepublic_reset_limit_exceeded_counter_v1(pki_ezsigntemplatepublic_id, body) + +Reset the limit exceeded counter + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response import EzsigntemplatepublicResetLimitExceededCounterV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatepublicApi(api_client) + pki_ezsigntemplatepublic_id = 56 # int | + body = None # object | + + try: + # Reset the limit exceeded counter + api_response = api_instance.ezsigntemplatepublic_reset_limit_exceeded_counter_v1(pki_ezsigntemplatepublic_id, body) + print("The response of ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_reset_limit_exceeded_counter_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_reset_limit_exceeded_counter_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatepublic_id** | **int**| | + **body** | **object**| | + +### Return type + +[**EzsigntemplatepublicResetLimitExceededCounterV1Response**](EzsigntemplatepublicResetLimitExceededCounterV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsigntemplatepublic_reset_url_v1** +> EzsigntemplatepublicResetUrlV1Response ezsigntemplatepublic_reset_url_v1(pki_ezsigntemplatepublic_id, body) + +Reset the Ezsigntemplatepublic url + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response import EzsigntemplatepublicResetUrlV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsigntemplatepublicApi(api_client) + pki_ezsigntemplatepublic_id = 56 # int | + body = None # object | + + try: + # Reset the Ezsigntemplatepublic url + api_response = api_instance.ezsigntemplatepublic_reset_url_v1(pki_ezsigntemplatepublic_id, body) + print("The response of ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_reset_url_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsigntemplatepublicApi->ezsigntemplatepublic_reset_url_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsigntemplatepublic_id** | **int**| | + **body** | **object**| | + +### Return type + +[**EzsigntemplatepublicResetUrlV1Response**](EzsigntemplatepublicResetUrlV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectEzsigntemplatesignatureApi.md b/docs/ObjectEzsigntemplatesignatureApi.md index 8b47dc6eb..8e9137cfa 100644 --- a/docs/ObjectEzsigntemplatesignatureApi.md +++ b/docs/ObjectEzsigntemplatesignatureApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- -[**ezsigntemplatesignature_create_object_v1**](ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_create_object_v1) | **POST** /1/object/ezsigntemplatesignature | Create a new Ezsigntemplatesignature +[**ezsigntemplatesignature_create_object_v2**](ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_create_object_v2) | **POST** /2/object/ezsigntemplatesignature | Create a new Ezsigntemplatesignature [**ezsigntemplatesignature_delete_object_v1**](ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_delete_object_v1) | **DELETE** /1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} | Delete an existing Ezsigntemplatesignature -[**ezsigntemplatesignature_edit_object_v1**](ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_edit_object_v1) | **PUT** /1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} | Edit an existing Ezsigntemplatesignature -[**ezsigntemplatesignature_get_object_v2**](ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_get_object_v2) | **GET** /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} | Retrieve an existing Ezsigntemplatesignature +[**ezsigntemplatesignature_edit_object_v2**](ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_edit_object_v2) | **PUT** /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} | Edit an existing Ezsigntemplatesignature +[**ezsigntemplatesignature_get_object_v3**](ObjectEzsigntemplatesignatureApi.md#ezsigntemplatesignature_get_object_v3) | **GET** /3/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} | Retrieve an existing Ezsigntemplatesignature -# **ezsigntemplatesignature_create_object_v1** -> EzsigntemplatesignatureCreateObjectV1Response ezsigntemplatesignature_create_object_v1(ezsigntemplatesignature_create_object_v1_request) +# **ezsigntemplatesignature_create_object_v2** +> EzsigntemplatesignatureCreateObjectV2Response ezsigntemplatesignature_create_object_v2(ezsigntemplatesignature_create_object_v2_request) Create a new Ezsigntemplatesignature @@ -23,8 +23,8 @@ The endpoint allows to create one or many elements at once. ```python import eZmaxApi -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_request import EzsigntemplatesignatureCreateObjectV1Request -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response import EzsigntemplatesignatureCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_request import EzsigntemplatesignatureCreateObjectV2Request +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response import EzsigntemplatesignatureCreateObjectV2Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -49,15 +49,15 @@ configuration.api_key['Authorization'] = os.environ["API_KEY"] with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsigntemplatesignatureApi(api_client) - ezsigntemplatesignature_create_object_v1_request = eZmaxApi.EzsigntemplatesignatureCreateObjectV1Request() # EzsigntemplatesignatureCreateObjectV1Request | + ezsigntemplatesignature_create_object_v2_request = eZmaxApi.EzsigntemplatesignatureCreateObjectV2Request() # EzsigntemplatesignatureCreateObjectV2Request | try: # Create a new Ezsigntemplatesignature - api_response = api_instance.ezsigntemplatesignature_create_object_v1(ezsigntemplatesignature_create_object_v1_request) - print("The response of ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_create_object_v1:\n") + api_response = api_instance.ezsigntemplatesignature_create_object_v2(ezsigntemplatesignature_create_object_v2_request) + print("The response of ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_create_object_v2:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_create_object_v1: %s\n" % e) + print("Exception when calling ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_create_object_v2: %s\n" % e) ``` @@ -67,11 +67,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ezsigntemplatesignature_create_object_v1_request** | [**EzsigntemplatesignatureCreateObjectV1Request**](EzsigntemplatesignatureCreateObjectV1Request.md)| | + **ezsigntemplatesignature_create_object_v2_request** | [**EzsigntemplatesignatureCreateObjectV2Request**](EzsigntemplatesignatureCreateObjectV2Request.md)| | ### Return type -[**EzsigntemplatesignatureCreateObjectV1Response**](EzsigntemplatesignatureCreateObjectV1Response.md) +[**EzsigntemplatesignatureCreateObjectV2Response**](EzsigntemplatesignatureCreateObjectV2Response.md) ### Authorization @@ -170,8 +170,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **ezsigntemplatesignature_edit_object_v1** -> EzsigntemplatesignatureEditObjectV1Response ezsigntemplatesignature_edit_object_v1(pki_ezsigntemplatesignature_id, ezsigntemplatesignature_edit_object_v1_request) +# **ezsigntemplatesignature_edit_object_v2** +> EzsigntemplatesignatureEditObjectV2Response ezsigntemplatesignature_edit_object_v2(pki_ezsigntemplatesignature_id, ezsigntemplatesignature_edit_object_v2_request) Edit an existing Ezsigntemplatesignature @@ -183,8 +183,8 @@ Edit an existing Ezsigntemplatesignature ```python import eZmaxApi -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_request import EzsigntemplatesignatureEditObjectV1Request -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_response import EzsigntemplatesignatureEditObjectV1Response +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_request import EzsigntemplatesignatureEditObjectV2Request +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_response import EzsigntemplatesignatureEditObjectV2Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -210,15 +210,15 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsigntemplatesignatureApi(api_client) pki_ezsigntemplatesignature_id = 56 # int | - ezsigntemplatesignature_edit_object_v1_request = eZmaxApi.EzsigntemplatesignatureEditObjectV1Request() # EzsigntemplatesignatureEditObjectV1Request | + ezsigntemplatesignature_edit_object_v2_request = eZmaxApi.EzsigntemplatesignatureEditObjectV2Request() # EzsigntemplatesignatureEditObjectV2Request | try: # Edit an existing Ezsigntemplatesignature - api_response = api_instance.ezsigntemplatesignature_edit_object_v1(pki_ezsigntemplatesignature_id, ezsigntemplatesignature_edit_object_v1_request) - print("The response of ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_edit_object_v1:\n") + api_response = api_instance.ezsigntemplatesignature_edit_object_v2(pki_ezsigntemplatesignature_id, ezsigntemplatesignature_edit_object_v2_request) + print("The response of ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_edit_object_v2:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_edit_object_v1: %s\n" % e) + print("Exception when calling ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_edit_object_v2: %s\n" % e) ``` @@ -229,11 +229,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pki_ezsigntemplatesignature_id** | **int**| | - **ezsigntemplatesignature_edit_object_v1_request** | [**EzsigntemplatesignatureEditObjectV1Request**](EzsigntemplatesignatureEditObjectV1Request.md)| | + **ezsigntemplatesignature_edit_object_v2_request** | [**EzsigntemplatesignatureEditObjectV2Request**](EzsigntemplatesignatureEditObjectV2Request.md)| | ### Return type -[**EzsigntemplatesignatureEditObjectV1Response**](EzsigntemplatesignatureEditObjectV1Response.md) +[**EzsigntemplatesignatureEditObjectV2Response**](EzsigntemplatesignatureEditObjectV2Response.md) ### Authorization @@ -254,8 +254,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **ezsigntemplatesignature_get_object_v2** -> EzsigntemplatesignatureGetObjectV2Response ezsigntemplatesignature_get_object_v2(pki_ezsigntemplatesignature_id) +# **ezsigntemplatesignature_get_object_v3** +> EzsigntemplatesignatureGetObjectV3Response ezsigntemplatesignature_get_object_v3(pki_ezsigntemplatesignature_id) Retrieve an existing Ezsigntemplatesignature @@ -267,7 +267,7 @@ Retrieve an existing Ezsigntemplatesignature ```python import eZmaxApi -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response import EzsigntemplatesignatureGetObjectV2Response +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response import EzsigntemplatesignatureGetObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -296,11 +296,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: try: # Retrieve an existing Ezsigntemplatesignature - api_response = api_instance.ezsigntemplatesignature_get_object_v2(pki_ezsigntemplatesignature_id) - print("The response of ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_get_object_v2:\n") + api_response = api_instance.ezsigntemplatesignature_get_object_v3(pki_ezsigntemplatesignature_id) + print("The response of ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_get_object_v3:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_get_object_v2: %s\n" % e) + print("Exception when calling ObjectEzsigntemplatesignatureApi->ezsigntemplatesignature_get_object_v3: %s\n" % e) ``` @@ -314,7 +314,7 @@ Name | Type | Description | Notes ### Return type -[**EzsigntemplatesignatureGetObjectV2Response**](EzsigntemplatesignatureGetObjectV2Response.md) +[**EzsigntemplatesignatureGetObjectV3Response**](EzsigntemplatesignatureGetObjectV3Response.md) ### Authorization diff --git a/docs/ObjectEzsigntsarequirementApi.md b/docs/ObjectEzsigntsarequirementApi.md index f680e7ce3..425240105 100644 --- a/docs/ObjectEzsigntsarequirementApi.md +++ b/docs/ObjectEzsigntsarequirementApi.md @@ -48,7 +48,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: api_instance = eZmaxApi.ObjectEzsigntsarequirementApi(api_client) s_selector = 's_selector_example' # str | The type of Ezsigntsarequirements to return fki_ezsignfoldertype_id = 56 # int | (optional) - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -70,7 +70,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Ezsigntsarequirements to return | **fki_ezsignfoldertype_id** | **int**| | [optional] - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectEzsignuserApi.md b/docs/ObjectEzsignuserApi.md new file mode 100644 index 000000000..bb9cc5b91 --- /dev/null +++ b/docs/ObjectEzsignuserApi.md @@ -0,0 +1,174 @@ +# eZmaxApi.ObjectEzsignuserApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ezsignuser_edit_object_v1**](ObjectEzsignuserApi.md#ezsignuser_edit_object_v1) | **PUT** /1/object/ezsignuser/{pkiEzsignuserID} | Edit an existing Ezsignuser +[**ezsignuser_get_object_v2**](ObjectEzsignuserApi.md#ezsignuser_get_object_v2) | **GET** /2/object/ezsignuser/{pkiEzsignuserID} | Retrieve an existing Ezsignuser + + +# **ezsignuser_edit_object_v1** +> EzsignuserEditObjectV1Response ezsignuser_edit_object_v1(pki_ezsignuser_id, ezsignuser_edit_object_v1_request) + +Edit an existing Ezsignuser + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignuser_edit_object_v1_request import EzsignuserEditObjectV1Request +from eZmaxApi.models.ezsignuser_edit_object_v1_response import EzsignuserEditObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignuserApi(api_client) + pki_ezsignuser_id = 56 # int | The unique ID of the Ezsignuser + ezsignuser_edit_object_v1_request = eZmaxApi.EzsignuserEditObjectV1Request() # EzsignuserEditObjectV1Request | + + try: + # Edit an existing Ezsignuser + api_response = api_instance.ezsignuser_edit_object_v1(pki_ezsignuser_id, ezsignuser_edit_object_v1_request) + print("The response of ObjectEzsignuserApi->ezsignuser_edit_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignuserApi->ezsignuser_edit_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsignuser_id** | **int**| The unique ID of the Ezsignuser | + **ezsignuser_edit_object_v1_request** | [**EzsignuserEditObjectV1Request**](EzsignuserEditObjectV1Request.md)| | + +### Return type + +[**EzsignuserEditObjectV1Response**](EzsignuserEditObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ezsignuser_get_object_v2** +> EzsignuserGetObjectV2Response ezsignuser_get_object_v2(pki_ezsignuser_id) + +Retrieve an existing Ezsignuser + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.ezsignuser_get_object_v2_response import EzsignuserGetObjectV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectEzsignuserApi(api_client) + pki_ezsignuser_id = 56 # int | The unique ID of the Ezsignuser + + try: + # Retrieve an existing Ezsignuser + api_response = api_instance.ezsignuser_get_object_v2(pki_ezsignuser_id) + print("The response of ObjectEzsignuserApi->ezsignuser_get_object_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignuserApi->ezsignuser_get_object_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsignuser_id** | **int**| The unique ID of the Ezsignuser | + +### Return type + +[**EzsignuserGetObjectV2Response**](EzsignuserGetObjectV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectFontApi.md b/docs/ObjectFontApi.md index 8e3dd2159..14136af72 100644 --- a/docs/ObjectFontApi.md +++ b/docs/ObjectFontApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectFontApi(api_client) s_selector = 's_selector_example' # str | The type of Fonts to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Fonts to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectFranchisebrokerApi.md b/docs/ObjectFranchisebrokerApi.md index a3b86e24c..ee67fcdb2 100644 --- a/docs/ObjectFranchisebrokerApi.md +++ b/docs/ObjectFranchisebrokerApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectFranchisebrokerApi(api_client) s_selector = 's_selector_example' # str | The type of Franchisebrokers to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Franchisebrokers to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectFranchiseofficeApi.md b/docs/ObjectFranchiseofficeApi.md index 180c84b68..137a1ac0c 100644 --- a/docs/ObjectFranchiseofficeApi.md +++ b/docs/ObjectFranchiseofficeApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectFranchiseofficeApi(api_client) s_selector = 's_selector_example' # str | The type of Franchiseoffices to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Franchiseoffices to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectFranchisereferalincomeApi.md b/docs/ObjectFranchisereferalincomeApi.md index 245bea778..fa1806a51 100644 --- a/docs/ObjectFranchisereferalincomeApi.md +++ b/docs/ObjectFranchisereferalincomeApi.md @@ -84,6 +84,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **201** | Successful response | - | +**422** | The request was syntactically valid but failed because of this Franchisebroker is not in this Franchiseoffice. fkiFranchiseofficeID contains the id of Franchiseoffice where the Franchisebroker is located on the dtFranchisereferalincomeDisbursed. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/ObjectGlaccountApi.md b/docs/ObjectGlaccountApi.md new file mode 100644 index 000000000..4cf31c307 --- /dev/null +++ b/docs/ObjectGlaccountApi.md @@ -0,0 +1,95 @@ +# eZmaxApi.ObjectGlaccountApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**glaccount_get_autocomplete_v2**](ObjectGlaccountApi.md#glaccount_get_autocomplete_v2) | **GET** /2/object/glaccount/getAutocomplete/{sSelector} | Retrieve Glaccounts and IDs + + +# **glaccount_get_autocomplete_v2** +> GlaccountGetAutocompleteV2Response glaccount_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + +Retrieve Glaccounts and IDs + +Get the list of Glaccount to be used in a dropdown or autocomplete control. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.glaccount_get_autocomplete_v2_response import GlaccountGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectGlaccountApi(api_client) + s_selector = 's_selector_example' # str | The type of Glaccounts to return + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) + s_query = 's_query_example' # str | Allow to filter the returned results (optional) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + + try: + # Retrieve Glaccounts and IDs + api_response = api_instance.glaccount_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + print("The response of ObjectGlaccountApi->glaccount_get_autocomplete_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectGlaccountApi->glaccount_get_autocomplete_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **s_selector** | **str**| The type of Glaccounts to return | + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] + **s_query** | **str**| Allow to filter the returned results | [optional] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + +### Return type + +[**GlaccountGetAutocompleteV2Response**](GlaccountGetAutocompleteV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectGlaccountcontainerApi.md b/docs/ObjectGlaccountcontainerApi.md new file mode 100644 index 000000000..a095e8849 --- /dev/null +++ b/docs/ObjectGlaccountcontainerApi.md @@ -0,0 +1,95 @@ +# eZmaxApi.ObjectGlaccountcontainerApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**glaccountcontainer_get_autocomplete_v2**](ObjectGlaccountcontainerApi.md#glaccountcontainer_get_autocomplete_v2) | **GET** /2/object/glaccountcontainer/getAutocomplete/{sSelector} | Retrieve Glaccountcontainers and IDs + + +# **glaccountcontainer_get_autocomplete_v2** +> GlaccountcontainerGetAutocompleteV2Response glaccountcontainer_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + +Retrieve Glaccountcontainers and IDs + +Get the list of Glaccountcontainer to be used in a dropdown or autocomplete control. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response import GlaccountcontainerGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectGlaccountcontainerApi(api_client) + s_selector = 's_selector_example' # str | The type of Glaccountcontainers to return + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) + s_query = 's_query_example' # str | Allow to filter the returned results (optional) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + + try: + # Retrieve Glaccountcontainers and IDs + api_response = api_instance.glaccountcontainer_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + print("The response of ObjectGlaccountcontainerApi->glaccountcontainer_get_autocomplete_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectGlaccountcontainerApi->glaccountcontainer_get_autocomplete_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **s_selector** | **str**| The type of Glaccountcontainers to return | + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] + **s_query** | **str**| Allow to filter the returned results | [optional] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + +### Return type + +[**GlaccountcontainerGetAutocompleteV2Response**](GlaccountcontainerGetAutocompleteV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectInscriptionApi.md b/docs/ObjectInscriptionApi.md index 8ee3ddd80..9656da1d5 100644 --- a/docs/ObjectInscriptionApi.md +++ b/docs/ObjectInscriptionApi.md @@ -5,7 +5,9 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- [**inscription_get_attachments_v1**](ObjectInscriptionApi.md#inscription_get_attachments_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getAttachments | Retrieve Inscription's Attachments +[**inscription_get_communication_count_v1**](ObjectInscriptionApi.md#inscription_get_communication_count_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getCommunicationCount | Retrieve Communication count [**inscription_get_communication_list_v1**](ObjectInscriptionApi.md#inscription_get_communication_list_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getCommunicationList | Retrieve Communication list +[**inscription_get_communicationrecipients_v1**](ObjectInscriptionApi.md#inscription_get_communicationrecipients_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getCommunicationrecipients | Retrieve Inscription's Communicationrecipient [**inscription_get_communicationsenders_v1**](ObjectInscriptionApi.md#inscription_get_communicationsenders_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getCommunicationsenders | Retrieve Inscription's Communicationsender @@ -89,6 +91,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **inscription_get_communication_count_v1** +> InscriptionGetCommunicationCountV1Response inscription_get_communication_count_v1(pki_inscription_id) + +Retrieve Communication count + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.inscription_get_communication_count_v1_response import InscriptionGetCommunicationCountV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInscriptionApi(api_client) + pki_inscription_id = 56 # int | + + try: + # Retrieve Communication count + api_response = api_instance.inscription_get_communication_count_v1(pki_inscription_id) + print("The response of ObjectInscriptionApi->inscription_get_communication_count_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptionApi->inscription_get_communication_count_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscription_id** | **int**| | + +### Return type + +[**InscriptionGetCommunicationCountV1Response**](InscriptionGetCommunicationCountV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **inscription_get_communication_list_v1** > InscriptionGetCommunicationListV1Response inscription_get_communication_list_v1(pki_inscription_id) @@ -169,6 +251,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **inscription_get_communicationrecipients_v1** +> InscriptionGetCommunicationrecipientsV1Response inscription_get_communicationrecipients_v1(pki_inscription_id) + +Retrieve Inscription's Communicationrecipient + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response import InscriptionGetCommunicationrecipientsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInscriptionApi(api_client) + pki_inscription_id = 56 # int | + + try: + # Retrieve Inscription's Communicationrecipient + api_response = api_instance.inscription_get_communicationrecipients_v1(pki_inscription_id) + print("The response of ObjectInscriptionApi->inscription_get_communicationrecipients_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptionApi->inscription_get_communicationrecipients_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscription_id** | **int**| | + +### Return type + +[**InscriptionGetCommunicationrecipientsV1Response**](InscriptionGetCommunicationrecipientsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **inscription_get_communicationsenders_v1** > InscriptionGetCommunicationsendersV1Response inscription_get_communicationsenders_v1(pki_inscription_id) diff --git a/docs/ObjectInscriptionnotauthenticatedApi.md b/docs/ObjectInscriptionnotauthenticatedApi.md index 29c8c328d..2d15572f6 100644 --- a/docs/ObjectInscriptionnotauthenticatedApi.md +++ b/docs/ObjectInscriptionnotauthenticatedApi.md @@ -4,9 +4,92 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- +[**inscriptionnotauthenticated_get_communication_count_v1**](ObjectInscriptionnotauthenticatedApi.md#inscriptionnotauthenticated_get_communication_count_v1) | **GET** /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationCount | Retrieve Communication count [**inscriptionnotauthenticated_get_communication_list_v1**](ObjectInscriptionnotauthenticatedApi.md#inscriptionnotauthenticated_get_communication_list_v1) | **GET** /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationList | Retrieve Communication list +[**inscriptionnotauthenticated_get_communicationrecipients_v1**](ObjectInscriptionnotauthenticatedApi.md#inscriptionnotauthenticated_get_communicationrecipients_v1) | **GET** /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients | Retrieve Inscriptionnotauthenticated's Communicationrecipient +[**inscriptionnotauthenticated_get_communicationsenders_v1**](ObjectInscriptionnotauthenticatedApi.md#inscriptionnotauthenticated_get_communicationsenders_v1) | **GET** /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationsenders | Retrieve Inscriptionnotauthenticated's Communicationsender +# **inscriptionnotauthenticated_get_communication_count_v1** +> InscriptionnotauthenticatedGetCommunicationCountV1Response inscriptionnotauthenticated_get_communication_count_v1(pki_inscriptionnotauthenticated_id) + +Retrieve Communication count + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response import InscriptionnotauthenticatedGetCommunicationCountV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInscriptionnotauthenticatedApi(api_client) + pki_inscriptionnotauthenticated_id = 56 # int | + + try: + # Retrieve Communication count + api_response = api_instance.inscriptionnotauthenticated_get_communication_count_v1(pki_inscriptionnotauthenticated_id) + print("The response of ObjectInscriptionnotauthenticatedApi->inscriptionnotauthenticated_get_communication_count_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptionnotauthenticatedApi->inscriptionnotauthenticated_get_communication_count_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscriptionnotauthenticated_id** | **int**| | + +### Return type + +[**InscriptionnotauthenticatedGetCommunicationCountV1Response**](InscriptionnotauthenticatedGetCommunicationCountV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **inscriptionnotauthenticated_get_communication_list_v1** > InscriptionnotauthenticatedGetCommunicationListV1Response inscriptionnotauthenticated_get_communication_list_v1(pki_inscriptionnotauthenticated_id) @@ -87,3 +170,163 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **inscriptionnotauthenticated_get_communicationrecipients_v1** +> InscriptionnotauthenticatedGetCommunicationrecipientsV1Response inscriptionnotauthenticated_get_communicationrecipients_v1(pki_inscriptionnotauthenticated_id) + +Retrieve Inscriptionnotauthenticated's Communicationrecipient + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response import InscriptionnotauthenticatedGetCommunicationrecipientsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInscriptionnotauthenticatedApi(api_client) + pki_inscriptionnotauthenticated_id = 56 # int | + + try: + # Retrieve Inscriptionnotauthenticated's Communicationrecipient + api_response = api_instance.inscriptionnotauthenticated_get_communicationrecipients_v1(pki_inscriptionnotauthenticated_id) + print("The response of ObjectInscriptionnotauthenticatedApi->inscriptionnotauthenticated_get_communicationrecipients_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptionnotauthenticatedApi->inscriptionnotauthenticated_get_communicationrecipients_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscriptionnotauthenticated_id** | **int**| | + +### Return type + +[**InscriptionnotauthenticatedGetCommunicationrecipientsV1Response**](InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **inscriptionnotauthenticated_get_communicationsenders_v1** +> InscriptionnotauthenticatedGetCommunicationsendersV1Response inscriptionnotauthenticated_get_communicationsenders_v1(pki_inscriptionnotauthenticated_id) + +Retrieve Inscriptionnotauthenticated's Communicationsender + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response import InscriptionnotauthenticatedGetCommunicationsendersV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInscriptionnotauthenticatedApi(api_client) + pki_inscriptionnotauthenticated_id = 56 # int | + + try: + # Retrieve Inscriptionnotauthenticated's Communicationsender + api_response = api_instance.inscriptionnotauthenticated_get_communicationsenders_v1(pki_inscriptionnotauthenticated_id) + print("The response of ObjectInscriptionnotauthenticatedApi->inscriptionnotauthenticated_get_communicationsenders_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptionnotauthenticatedApi->inscriptionnotauthenticated_get_communicationsenders_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscriptionnotauthenticated_id** | **int**| | + +### Return type + +[**InscriptionnotauthenticatedGetCommunicationsendersV1Response**](InscriptionnotauthenticatedGetCommunicationsendersV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectInscriptiontempApi.md b/docs/ObjectInscriptiontempApi.md index 5bd560d7a..643895b5c 100644 --- a/docs/ObjectInscriptiontempApi.md +++ b/docs/ObjectInscriptiontempApi.md @@ -4,9 +4,92 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- +[**inscriptiontemp_get_communication_count_v1**](ObjectInscriptiontempApi.md#inscriptiontemp_get_communication_count_v1) | **GET** /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationCount | Retrieve Communication count [**inscriptiontemp_get_communication_list_v1**](ObjectInscriptiontempApi.md#inscriptiontemp_get_communication_list_v1) | **GET** /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationList | Retrieve Communication list +[**inscriptiontemp_get_communicationrecipients_v1**](ObjectInscriptiontempApi.md#inscriptiontemp_get_communicationrecipients_v1) | **GET** /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients | Retrieve Inscriptiontemp's Communicationrecipient +[**inscriptiontemp_get_communicationsenders_v1**](ObjectInscriptiontempApi.md#inscriptiontemp_get_communicationsenders_v1) | **GET** /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationsenders | Retrieve Inscriptiontemp's Communicationsender +# **inscriptiontemp_get_communication_count_v1** +> InscriptiontempGetCommunicationCountV1Response inscriptiontemp_get_communication_count_v1(pki_inscriptiontemp_id) + +Retrieve Communication count + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response import InscriptiontempGetCommunicationCountV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInscriptiontempApi(api_client) + pki_inscriptiontemp_id = 56 # int | + + try: + # Retrieve Communication count + api_response = api_instance.inscriptiontemp_get_communication_count_v1(pki_inscriptiontemp_id) + print("The response of ObjectInscriptiontempApi->inscriptiontemp_get_communication_count_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptiontempApi->inscriptiontemp_get_communication_count_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscriptiontemp_id** | **int**| | + +### Return type + +[**InscriptiontempGetCommunicationCountV1Response**](InscriptiontempGetCommunicationCountV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **inscriptiontemp_get_communication_list_v1** > InscriptiontempGetCommunicationListV1Response inscriptiontemp_get_communication_list_v1(pki_inscriptiontemp_id) @@ -87,3 +170,163 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **inscriptiontemp_get_communicationrecipients_v1** +> InscriptiontempGetCommunicationrecipientsV1Response inscriptiontemp_get_communicationrecipients_v1(pki_inscriptiontemp_id) + +Retrieve Inscriptiontemp's Communicationrecipient + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response import InscriptiontempGetCommunicationrecipientsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInscriptiontempApi(api_client) + pki_inscriptiontemp_id = 56 # int | + + try: + # Retrieve Inscriptiontemp's Communicationrecipient + api_response = api_instance.inscriptiontemp_get_communicationrecipients_v1(pki_inscriptiontemp_id) + print("The response of ObjectInscriptiontempApi->inscriptiontemp_get_communicationrecipients_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptiontempApi->inscriptiontemp_get_communicationrecipients_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscriptiontemp_id** | **int**| | + +### Return type + +[**InscriptiontempGetCommunicationrecipientsV1Response**](InscriptiontempGetCommunicationrecipientsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **inscriptiontemp_get_communicationsenders_v1** +> InscriptiontempGetCommunicationsendersV1Response inscriptiontemp_get_communicationsenders_v1(pki_inscriptiontemp_id) + +Retrieve Inscriptiontemp's Communicationsender + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response import InscriptiontempGetCommunicationsendersV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInscriptiontempApi(api_client) + pki_inscriptiontemp_id = 56 # int | + + try: + # Retrieve Inscriptiontemp's Communicationsender + api_response = api_instance.inscriptiontemp_get_communicationsenders_v1(pki_inscriptiontemp_id) + print("The response of ObjectInscriptiontempApi->inscriptiontemp_get_communicationsenders_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptiontempApi->inscriptiontemp_get_communicationsenders_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscriptiontemp_id** | **int**| | + +### Return type + +[**InscriptiontempGetCommunicationsendersV1Response**](InscriptiontempGetCommunicationsendersV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectInvoiceApi.md b/docs/ObjectInvoiceApi.md index 482e75656..a64a4e586 100644 --- a/docs/ObjectInvoiceApi.md +++ b/docs/ObjectInvoiceApi.md @@ -5,7 +5,10 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- [**invoice_get_attachments_v1**](ObjectInvoiceApi.md#invoice_get_attachments_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getAttachments | Retrieve Invoice's Attachments +[**invoice_get_communication_count_v1**](ObjectInvoiceApi.md#invoice_get_communication_count_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getCommunicationCount | Retrieve Communication count [**invoice_get_communication_list_v1**](ObjectInvoiceApi.md#invoice_get_communication_list_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getCommunicationList | Retrieve Communication list +[**invoice_get_communicationrecipients_v1**](ObjectInvoiceApi.md#invoice_get_communicationrecipients_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients | Retrieve Invoice's Communicationrecipient +[**invoice_get_communicationsenders_v1**](ObjectInvoiceApi.md#invoice_get_communicationsenders_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getCommunicationsenders | Retrieve Invoice's Communicationsender # **invoice_get_attachments_v1** @@ -88,6 +91,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **invoice_get_communication_count_v1** +> InvoiceGetCommunicationCountV1Response invoice_get_communication_count_v1(pki_invoice_id) + +Retrieve Communication count + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.invoice_get_communication_count_v1_response import InvoiceGetCommunicationCountV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInvoiceApi(api_client) + pki_invoice_id = 56 # int | + + try: + # Retrieve Communication count + api_response = api_instance.invoice_get_communication_count_v1(pki_invoice_id) + print("The response of ObjectInvoiceApi->invoice_get_communication_count_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInvoiceApi->invoice_get_communication_count_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_invoice_id** | **int**| | + +### Return type + +[**InvoiceGetCommunicationCountV1Response**](InvoiceGetCommunicationCountV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **invoice_get_communication_list_v1** > InvoiceGetCommunicationListV1Response invoice_get_communication_list_v1(pki_invoice_id) @@ -168,3 +251,163 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **invoice_get_communicationrecipients_v1** +> InvoiceGetCommunicationrecipientsV1Response invoice_get_communicationrecipients_v1(pki_invoice_id) + +Retrieve Invoice's Communicationrecipient + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response import InvoiceGetCommunicationrecipientsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInvoiceApi(api_client) + pki_invoice_id = 56 # int | + + try: + # Retrieve Invoice's Communicationrecipient + api_response = api_instance.invoice_get_communicationrecipients_v1(pki_invoice_id) + print("The response of ObjectInvoiceApi->invoice_get_communicationrecipients_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInvoiceApi->invoice_get_communicationrecipients_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_invoice_id** | **int**| | + +### Return type + +[**InvoiceGetCommunicationrecipientsV1Response**](InvoiceGetCommunicationrecipientsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **invoice_get_communicationsenders_v1** +> InvoiceGetCommunicationsendersV1Response invoice_get_communicationsenders_v1(pki_invoice_id) + +Retrieve Invoice's Communicationsender + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.invoice_get_communicationsenders_v1_response import InvoiceGetCommunicationsendersV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectInvoiceApi(api_client) + pki_invoice_id = 56 # int | + + try: + # Retrieve Invoice's Communicationsender + api_response = api_instance.invoice_get_communicationsenders_v1(pki_invoice_id) + print("The response of ObjectInvoiceApi->invoice_get_communicationsenders_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInvoiceApi->invoice_get_communicationsenders_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_invoice_id** | **int**| | + +### Return type + +[**InvoiceGetCommunicationsendersV1Response**](InvoiceGetCommunicationsendersV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectLanguageApi.md b/docs/ObjectLanguageApi.md index f10062751..2da908757 100644 --- a/docs/ObjectLanguageApi.md +++ b/docs/ObjectLanguageApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectLanguageApi(api_client) s_selector = 's_selector_example' # str | The type of Languages to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Languages to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectModuleApi.md b/docs/ObjectModuleApi.md index ff176bbef..8fd271f9a 100644 --- a/docs/ObjectModuleApi.md +++ b/docs/ObjectModuleApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectModuleApi(api_client) s_selector = 's_selector_example' # str | The type of Modules to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Modules to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectOtherincomeApi.md b/docs/ObjectOtherincomeApi.md index f845a6c3d..4d96bd1bc 100644 --- a/docs/ObjectOtherincomeApi.md +++ b/docs/ObjectOtherincomeApi.md @@ -4,9 +4,92 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- +[**otherincome_get_communication_count_v1**](ObjectOtherincomeApi.md#otherincome_get_communication_count_v1) | **GET** /1/object/otherincome/{pkiOtherincomeID}/getCommunicationCount | Retrieve Communication count [**otherincome_get_communication_list_v1**](ObjectOtherincomeApi.md#otherincome_get_communication_list_v1) | **GET** /1/object/otherincome/{pkiOtherincomeID}/getCommunicationList | Retrieve Communication list +[**otherincome_get_communicationrecipients_v1**](ObjectOtherincomeApi.md#otherincome_get_communicationrecipients_v1) | **GET** /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients | Retrieve Otherincome's Communicationrecipient +[**otherincome_get_communicationsenders_v1**](ObjectOtherincomeApi.md#otherincome_get_communicationsenders_v1) | **GET** /1/object/otherincome/{pkiOtherincomeID}/getCommunicationsenders | Retrieve Otherincome's Communicationsender +# **otherincome_get_communication_count_v1** +> OtherincomeGetCommunicationCountV1Response otherincome_get_communication_count_v1(pki_otherincome_id) + +Retrieve Communication count + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.otherincome_get_communication_count_v1_response import OtherincomeGetCommunicationCountV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectOtherincomeApi(api_client) + pki_otherincome_id = 56 # int | + + try: + # Retrieve Communication count + api_response = api_instance.otherincome_get_communication_count_v1(pki_otherincome_id) + print("The response of ObjectOtherincomeApi->otherincome_get_communication_count_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectOtherincomeApi->otherincome_get_communication_count_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_otherincome_id** | **int**| | + +### Return type + +[**OtherincomeGetCommunicationCountV1Response**](OtherincomeGetCommunicationCountV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **otherincome_get_communication_list_v1** > OtherincomeGetCommunicationListV1Response otherincome_get_communication_list_v1(pki_otherincome_id) @@ -87,3 +170,163 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **otherincome_get_communicationrecipients_v1** +> OtherincomeGetCommunicationrecipientsV1Response otherincome_get_communicationrecipients_v1(pki_otherincome_id) + +Retrieve Otherincome's Communicationrecipient + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response import OtherincomeGetCommunicationrecipientsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectOtherincomeApi(api_client) + pki_otherincome_id = 56 # int | + + try: + # Retrieve Otherincome's Communicationrecipient + api_response = api_instance.otherincome_get_communicationrecipients_v1(pki_otherincome_id) + print("The response of ObjectOtherincomeApi->otherincome_get_communicationrecipients_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectOtherincomeApi->otherincome_get_communicationrecipients_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_otherincome_id** | **int**| | + +### Return type + +[**OtherincomeGetCommunicationrecipientsV1Response**](OtherincomeGetCommunicationrecipientsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **otherincome_get_communicationsenders_v1** +> OtherincomeGetCommunicationsendersV1Response otherincome_get_communicationsenders_v1(pki_otherincome_id) + +Retrieve Otherincome's Communicationsender + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response import OtherincomeGetCommunicationsendersV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectOtherincomeApi(api_client) + pki_otherincome_id = 56 # int | + + try: + # Retrieve Otherincome's Communicationsender + api_response = api_instance.otherincome_get_communicationsenders_v1(pki_otherincome_id) + print("The response of ObjectOtherincomeApi->otherincome_get_communicationsenders_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectOtherincomeApi->otherincome_get_communicationsenders_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_otherincome_id** | **int**| | + +### Return type + +[**OtherincomeGetCommunicationsendersV1Response**](OtherincomeGetCommunicationsendersV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectPaymenttermApi.md b/docs/ObjectPaymenttermApi.md index 5094ee548..9e4d87340 100644 --- a/docs/ObjectPaymenttermApi.md +++ b/docs/ObjectPaymenttermApi.md @@ -216,7 +216,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectPaymenttermApi(api_client) s_selector = 's_selector_example' # str | The type of Paymentterms to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -237,7 +237,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Paymentterms to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectPdfalevelApi.md b/docs/ObjectPdfalevelApi.md new file mode 100644 index 000000000..a1b387a17 --- /dev/null +++ b/docs/ObjectPdfalevelApi.md @@ -0,0 +1,95 @@ +# eZmaxApi.ObjectPdfalevelApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**pdfalevel_get_autocomplete_v2**](ObjectPdfalevelApi.md#pdfalevel_get_autocomplete_v2) | **GET** /2/object/pdfalevel/getAutocomplete/{sSelector} | Retrieve Pdfalevels and IDs + + +# **pdfalevel_get_autocomplete_v2** +> PdfalevelGetAutocompleteV2Response pdfalevel_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + +Retrieve Pdfalevels and IDs + +Get the list of Pdfalevel to be used in a dropdown or autocomplete control. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response import PdfalevelGetAutocompleteV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectPdfalevelApi(api_client) + s_selector = 's_selector_example' # str | The type of Pdfalevels to return + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) + s_query = 's_query_example' # str | Allow to filter the returned results (optional) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + + try: + # Retrieve Pdfalevels and IDs + api_response = api_instance.pdfalevel_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + print("The response of ObjectPdfalevelApi->pdfalevel_get_autocomplete_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectPdfalevelApi->pdfalevel_get_autocomplete_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **s_selector** | **str**| The type of Pdfalevels to return | + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] + **s_query** | **str**| Allow to filter the returned results | [optional] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + +### Return type + +[**PdfalevelGetAutocompleteV2Response**](PdfalevelGetAutocompleteV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectPeriodApi.md b/docs/ObjectPeriodApi.md index 942df0123..a94019f1b 100644 --- a/docs/ObjectPeriodApi.md +++ b/docs/ObjectPeriodApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectPeriodApi(api_client) s_selector = 's_selector_example' # str | The type of Periods to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Periods to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectPhonetypeApi.md b/docs/ObjectPhonetypeApi.md index da7ac6c26..771af4c1d 100644 --- a/docs/ObjectPhonetypeApi.md +++ b/docs/ObjectPhonetypeApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectPhonetypeApi(api_client) s_selector = 's_selector_example' # str | The type of Phonetypes to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Phonetypes to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectProvinceApi.md b/docs/ObjectProvinceApi.md index c76e641af..0e988bf6e 100644 --- a/docs/ObjectProvinceApi.md +++ b/docs/ObjectProvinceApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectProvinceApi(api_client) s_selector = 's_selector_example' # str | The type of Provinces to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Provinces to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectRejectedoffertopurchaseApi.md b/docs/ObjectRejectedoffertopurchaseApi.md index e72dd5eb7..e952c5150 100644 --- a/docs/ObjectRejectedoffertopurchaseApi.md +++ b/docs/ObjectRejectedoffertopurchaseApi.md @@ -4,9 +4,92 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- +[**rejectedoffertopurchase_get_communication_count_v1**](ObjectRejectedoffertopurchaseApi.md#rejectedoffertopurchase_get_communication_count_v1) | **GET** /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationCount | Retrieve Communication count [**rejectedoffertopurchase_get_communication_list_v1**](ObjectRejectedoffertopurchaseApi.md#rejectedoffertopurchase_get_communication_list_v1) | **GET** /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationList | Retrieve Communication list +[**rejectedoffertopurchase_get_communicationrecipients_v1**](ObjectRejectedoffertopurchaseApi.md#rejectedoffertopurchase_get_communicationrecipients_v1) | **GET** /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients | Retrieve Rejectedoffertopurchase's Communicationrecipient +[**rejectedoffertopurchase_get_communicationsenders_v1**](ObjectRejectedoffertopurchaseApi.md#rejectedoffertopurchase_get_communicationsenders_v1) | **GET** /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationsenders | Retrieve Rejectedoffertopurchase's Communicationsender +# **rejectedoffertopurchase_get_communication_count_v1** +> RejectedoffertopurchaseGetCommunicationCountV1Response rejectedoffertopurchase_get_communication_count_v1(pki_rejectedoffertopurchase_id) + +Retrieve Communication count + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response import RejectedoffertopurchaseGetCommunicationCountV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectRejectedoffertopurchaseApi(api_client) + pki_rejectedoffertopurchase_id = 56 # int | + + try: + # Retrieve Communication count + api_response = api_instance.rejectedoffertopurchase_get_communication_count_v1(pki_rejectedoffertopurchase_id) + print("The response of ObjectRejectedoffertopurchaseApi->rejectedoffertopurchase_get_communication_count_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectRejectedoffertopurchaseApi->rejectedoffertopurchase_get_communication_count_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_rejectedoffertopurchase_id** | **int**| | + +### Return type + +[**RejectedoffertopurchaseGetCommunicationCountV1Response**](RejectedoffertopurchaseGetCommunicationCountV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **rejectedoffertopurchase_get_communication_list_v1** > RejectedoffertopurchaseGetCommunicationListV1Response rejectedoffertopurchase_get_communication_list_v1(pki_rejectedoffertopurchase_id) @@ -87,3 +170,163 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **rejectedoffertopurchase_get_communicationrecipients_v1** +> RejectedoffertopurchaseGetCommunicationrecipientsV1Response rejectedoffertopurchase_get_communicationrecipients_v1(pki_rejectedoffertopurchase_id) + +Retrieve Rejectedoffertopurchase's Communicationrecipient + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response import RejectedoffertopurchaseGetCommunicationrecipientsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectRejectedoffertopurchaseApi(api_client) + pki_rejectedoffertopurchase_id = 56 # int | + + try: + # Retrieve Rejectedoffertopurchase's Communicationrecipient + api_response = api_instance.rejectedoffertopurchase_get_communicationrecipients_v1(pki_rejectedoffertopurchase_id) + print("The response of ObjectRejectedoffertopurchaseApi->rejectedoffertopurchase_get_communicationrecipients_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectRejectedoffertopurchaseApi->rejectedoffertopurchase_get_communicationrecipients_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_rejectedoffertopurchase_id** | **int**| | + +### Return type + +[**RejectedoffertopurchaseGetCommunicationrecipientsV1Response**](RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **rejectedoffertopurchase_get_communicationsenders_v1** +> RejectedoffertopurchaseGetCommunicationsendersV1Response rejectedoffertopurchase_get_communicationsenders_v1(pki_rejectedoffertopurchase_id) + +Retrieve Rejectedoffertopurchase's Communicationsender + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response import RejectedoffertopurchaseGetCommunicationsendersV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectRejectedoffertopurchaseApi(api_client) + pki_rejectedoffertopurchase_id = 56 # int | + + try: + # Retrieve Rejectedoffertopurchase's Communicationsender + api_response = api_instance.rejectedoffertopurchase_get_communicationsenders_v1(pki_rejectedoffertopurchase_id) + print("The response of ObjectRejectedoffertopurchaseApi->rejectedoffertopurchase_get_communicationsenders_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectRejectedoffertopurchaseApi->rejectedoffertopurchase_get_communicationsenders_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_rejectedoffertopurchase_id** | **int**| | + +### Return type + +[**RejectedoffertopurchaseGetCommunicationsendersV1Response**](RejectedoffertopurchaseGetCommunicationsendersV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectSecretquestionApi.md b/docs/ObjectSecretquestionApi.md index 33f1bcb47..26f7efae1 100644 --- a/docs/ObjectSecretquestionApi.md +++ b/docs/ObjectSecretquestionApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectSecretquestionApi(api_client) s_selector = 's_selector_example' # str | The type of Secretquestions to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Secretquestions to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectSignatureApi.md b/docs/ObjectSignatureApi.md index bec9896a2..5875da099 100644 --- a/docs/ObjectSignatureApi.md +++ b/docs/ObjectSignatureApi.md @@ -8,6 +8,9 @@ Method | HTTP request | Description [**signature_delete_object_v1**](ObjectSignatureApi.md#signature_delete_object_v1) | **DELETE** /1/object/signature/{pkiSignatureID} | Delete an existing Signature [**signature_edit_object_v1**](ObjectSignatureApi.md#signature_edit_object_v1) | **PUT** /1/object/signature/{pkiSignatureID} | Edit an existing Signature [**signature_get_object_v2**](ObjectSignatureApi.md#signature_get_object_v2) | **GET** /2/object/signature/{pkiSignatureID} | Retrieve an existing Signature +[**signature_get_object_v3**](ObjectSignatureApi.md#signature_get_object_v3) | **GET** /3/object/signature/{pkiSignatureID} | Retrieve an existing Signature +[**signature_get_svg_initials_v1**](ObjectSignatureApi.md#signature_get_svg_initials_v1) | **GET** /1/object/signature/{pkiSignatureID}/getSVGInitials | Retrieve an existing Signature initial SVG +[**signature_get_svg_signature_v1**](ObjectSignatureApi.md#signature_get_svg_signature_v1) | **GET** /1/object/signature/{pkiSignatureID}/getSVGSignature | Retrieve an existing Signature SVG # **signature_create_object_v1** @@ -334,3 +337,237 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **signature_get_object_v3** +> SignatureGetObjectV3Response signature_get_object_v3(pki_signature_id) + +Retrieve an existing Signature + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.signature_get_object_v3_response import SignatureGetObjectV3Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectSignatureApi(api_client) + pki_signature_id = 56 # int | The unique ID of the Signature + + try: + # Retrieve an existing Signature + api_response = api_instance.signature_get_object_v3(pki_signature_id) + print("The response of ObjectSignatureApi->signature_get_object_v3:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectSignatureApi->signature_get_object_v3: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_signature_id** | **int**| The unique ID of the Signature | + +### Return type + +[**SignatureGetObjectV3Response**](SignatureGetObjectV3Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **signature_get_svg_initials_v1** +> signature_get_svg_initials_v1(pki_signature_id) + +Retrieve an existing Signature initial SVG + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectSignatureApi(api_client) + pki_signature_id = 56 # int | The unique ID of the Signature + + try: + # Retrieve an existing Signature initial SVG + api_instance.signature_get_svg_initials_v1(pki_signature_id) + except Exception as e: + print("Exception when calling ObjectSignatureApi->signature_get_svg_initials_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_signature_id** | **int**| The unique ID of the Signature | + +### Return type + +void (empty response body) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**302** | The user has been redirected | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **signature_get_svg_signature_v1** +> signature_get_svg_signature_v1(pki_signature_id) + +Retrieve an existing Signature SVG + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectSignatureApi(api_client) + pki_signature_id = 56 # int | The unique ID of the Signature + + try: + # Retrieve an existing Signature SVG + api_instance.signature_get_svg_signature_v1(pki_signature_id) + except Exception as e: + print("Exception when calling ObjectSignatureApi->signature_get_svg_signature_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_signature_id** | **int**| The unique ID of the Signature | + +### Return type + +void (empty response body) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**302** | The user has been redirected | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectSupplyApi.md b/docs/ObjectSupplyApi.md new file mode 100644 index 000000000..e56a3c614 --- /dev/null +++ b/docs/ObjectSupplyApi.md @@ -0,0 +1,513 @@ +# eZmaxApi.ObjectSupplyApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**supply_create_object_v1**](ObjectSupplyApi.md#supply_create_object_v1) | **POST** /1/object/supply | Create a new Supply +[**supply_delete_object_v1**](ObjectSupplyApi.md#supply_delete_object_v1) | **DELETE** /1/object/supply/{pkiSupplyID} | Delete an existing Supply +[**supply_edit_object_v1**](ObjectSupplyApi.md#supply_edit_object_v1) | **PUT** /1/object/supply/{pkiSupplyID} | Edit an existing Supply +[**supply_get_autocomplete_v2**](ObjectSupplyApi.md#supply_get_autocomplete_v2) | **GET** /2/object/supply/getAutocomplete/{sSelector} | Retrieve Supplys and IDs +[**supply_get_list_v1**](ObjectSupplyApi.md#supply_get_list_v1) | **GET** /1/object/supply/getList | Retrieve Supply list +[**supply_get_object_v2**](ObjectSupplyApi.md#supply_get_object_v2) | **GET** /2/object/supply/{pkiSupplyID} | Retrieve an existing Supply + + +# **supply_create_object_v1** +> SupplyCreateObjectV1Response supply_create_object_v1(supply_create_object_v1_request) + +Create a new Supply + +The endpoint allows to create one or many elements at once. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.supply_create_object_v1_request import SupplyCreateObjectV1Request +from eZmaxApi.models.supply_create_object_v1_response import SupplyCreateObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectSupplyApi(api_client) + supply_create_object_v1_request = eZmaxApi.SupplyCreateObjectV1Request() # SupplyCreateObjectV1Request | + + try: + # Create a new Supply + api_response = api_instance.supply_create_object_v1(supply_create_object_v1_request) + print("The response of ObjectSupplyApi->supply_create_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectSupplyApi->supply_create_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **supply_create_object_v1_request** | [**SupplyCreateObjectV1Request**](SupplyCreateObjectV1Request.md)| | + +### Return type + +[**SupplyCreateObjectV1Response**](SupplyCreateObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **supply_delete_object_v1** +> SupplyDeleteObjectV1Response supply_delete_object_v1(pki_supply_id) + +Delete an existing Supply + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.supply_delete_object_v1_response import SupplyDeleteObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectSupplyApi(api_client) + pki_supply_id = 56 # int | The unique ID of the Supply + + try: + # Delete an existing Supply + api_response = api_instance.supply_delete_object_v1(pki_supply_id) + print("The response of ObjectSupplyApi->supply_delete_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectSupplyApi->supply_delete_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_supply_id** | **int**| The unique ID of the Supply | + +### Return type + +[**SupplyDeleteObjectV1Response**](SupplyDeleteObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **supply_edit_object_v1** +> SupplyEditObjectV1Response supply_edit_object_v1(pki_supply_id, supply_edit_object_v1_request) + +Edit an existing Supply + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.supply_edit_object_v1_request import SupplyEditObjectV1Request +from eZmaxApi.models.supply_edit_object_v1_response import SupplyEditObjectV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectSupplyApi(api_client) + pki_supply_id = 56 # int | The unique ID of the Supply + supply_edit_object_v1_request = eZmaxApi.SupplyEditObjectV1Request() # SupplyEditObjectV1Request | + + try: + # Edit an existing Supply + api_response = api_instance.supply_edit_object_v1(pki_supply_id, supply_edit_object_v1_request) + print("The response of ObjectSupplyApi->supply_edit_object_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectSupplyApi->supply_edit_object_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_supply_id** | **int**| The unique ID of the Supply | + **supply_edit_object_v1_request** | [**SupplyEditObjectV1Request**](SupplyEditObjectV1Request.md)| | + +### Return type + +[**SupplyEditObjectV1Response**](SupplyEditObjectV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **supply_get_autocomplete_v2** +> SupplyGetAutocompleteV2Response supply_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + +Retrieve Supplys and IDs + +Get the list of Supply to be used in a dropdown or autocomplete control. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.models.supply_get_autocomplete_v2_response import SupplyGetAutocompleteV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectSupplyApi(api_client) + s_selector = 's_selector_example' # str | The type of Supplys to return + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) + s_query = 's_query_example' # str | Allow to filter the returned results (optional) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + + try: + # Retrieve Supplys and IDs + api_response = api_instance.supply_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + print("The response of ObjectSupplyApi->supply_get_autocomplete_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectSupplyApi->supply_get_autocomplete_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **s_selector** | **str**| The type of Supplys to return | + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] + **s_query** | **str**| Allow to filter the returned results | [optional] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + +### Return type + +[**SupplyGetAutocompleteV2Response**](SupplyGetAutocompleteV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **supply_get_list_v1** +> SupplyGetListV1Response supply_get_list_v1(e_order_by=e_order_by, i_row_max=i_row_max, i_row_offset=i_row_offset, accept_language=accept_language, s_filter=s_filter) + +Retrieve Supply list + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.models.supply_get_list_v1_response import SupplyGetListV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectSupplyApi(api_client) + e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) + i_row_max = 56 # int | (optional) + i_row_offset = 0 # int | (optional) (default to 0) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + s_filter = 's_filter_example' # str | (optional) + + try: + # Retrieve Supply list + api_response = api_instance.supply_get_list_v1(e_order_by=e_order_by, i_row_max=i_row_max, i_row_offset=i_row_offset, accept_language=accept_language, s_filter=s_filter) + print("The response of ObjectSupplyApi->supply_get_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectSupplyApi->supply_get_list_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] + **i_row_max** | **int**| | [optional] + **i_row_offset** | **int**| | [optional] [default to 0] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + **s_filter** | **str**| | [optional] + +### Return type + +[**SupplyGetListV1Response**](SupplyGetListV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**406** | The URL is valid, but one of the Accept header is not defined or invalid. For example, you set the header \"Accept: application/json\" but the function can only return \"Content-type: image/png\" | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **supply_get_object_v2** +> SupplyGetObjectV2Response supply_get_object_v2(pki_supply_id) + +Retrieve an existing Supply + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.supply_get_object_v2_response import SupplyGetObjectV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectSupplyApi(api_client) + pki_supply_id = 56 # int | The unique ID of the Supply + + try: + # Retrieve an existing Supply + api_response = api_instance.supply_get_object_v2(pki_supply_id) + print("The response of ObjectSupplyApi->supply_get_object_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectSupplyApi->supply_get_object_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_supply_id** | **int**| The unique ID of the Supply | + +### Return type + +[**SupplyGetObjectV2Response**](SupplyGetObjectV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectTaxassignmentApi.md b/docs/ObjectTaxassignmentApi.md index 253aedd5b..86e440a4d 100644 --- a/docs/ObjectTaxassignmentApi.md +++ b/docs/ObjectTaxassignmentApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectTaxassignmentApi(api_client) s_selector = 's_selector_example' # str | The type of Taxassignments to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Taxassignments to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectTimezoneApi.md b/docs/ObjectTimezoneApi.md index cb3c1ab5d..93b08cd34 100644 --- a/docs/ObjectTimezoneApi.md +++ b/docs/ObjectTimezoneApi.md @@ -47,7 +47,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectTimezoneApi(api_client) s_selector = 's_selector_example' # str | The type of Timezones to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -68,7 +68,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Timezones to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectTranqcontractApi.md b/docs/ObjectTranqcontractApi.md new file mode 100644 index 000000000..e90978963 --- /dev/null +++ b/docs/ObjectTranqcontractApi.md @@ -0,0 +1,332 @@ +# eZmaxApi.ObjectTranqcontractApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**tranqcontract_get_communication_count_v1**](ObjectTranqcontractApi.md#tranqcontract_get_communication_count_v1) | **GET** /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCount | Retrieve Communication count +[**tranqcontract_get_communication_list_v1**](ObjectTranqcontractApi.md#tranqcontract_get_communication_list_v1) | **GET** /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationList | Retrieve Communication list +[**tranqcontract_get_communicationrecipients_v1**](ObjectTranqcontractApi.md#tranqcontract_get_communicationrecipients_v1) | **GET** /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients | Retrieve Tranqcontract's Communicationrecipient +[**tranqcontract_get_communicationsenders_v1**](ObjectTranqcontractApi.md#tranqcontract_get_communicationsenders_v1) | **GET** /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationsenders | Retrieve Tranqcontract's Communicationsender + + +# **tranqcontract_get_communication_count_v1** +> TranqcontractGetCommunicationCountV1Response tranqcontract_get_communication_count_v1(pki_tranqcontract_id) + +Retrieve Communication count + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response import TranqcontractGetCommunicationCountV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectTranqcontractApi(api_client) + pki_tranqcontract_id = 56 # int | + + try: + # Retrieve Communication count + api_response = api_instance.tranqcontract_get_communication_count_v1(pki_tranqcontract_id) + print("The response of ObjectTranqcontractApi->tranqcontract_get_communication_count_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectTranqcontractApi->tranqcontract_get_communication_count_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_tranqcontract_id** | **int**| | + +### Return type + +[**TranqcontractGetCommunicationCountV1Response**](TranqcontractGetCommunicationCountV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **tranqcontract_get_communication_list_v1** +> TranqcontractGetCommunicationListV1Response tranqcontract_get_communication_list_v1(pki_tranqcontract_id) + +Retrieve Communication list + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response import TranqcontractGetCommunicationListV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectTranqcontractApi(api_client) + pki_tranqcontract_id = 56 # int | + + try: + # Retrieve Communication list + api_response = api_instance.tranqcontract_get_communication_list_v1(pki_tranqcontract_id) + print("The response of ObjectTranqcontractApi->tranqcontract_get_communication_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectTranqcontractApi->tranqcontract_get_communication_list_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_tranqcontract_id** | **int**| | + +### Return type + +[**TranqcontractGetCommunicationListV1Response**](TranqcontractGetCommunicationListV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **tranqcontract_get_communicationrecipients_v1** +> TranqcontractGetCommunicationrecipientsV1Response tranqcontract_get_communicationrecipients_v1(pki_tranqcontract_id) + +Retrieve Tranqcontract's Communicationrecipient + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response import TranqcontractGetCommunicationrecipientsV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectTranqcontractApi(api_client) + pki_tranqcontract_id = 56 # int | + + try: + # Retrieve Tranqcontract's Communicationrecipient + api_response = api_instance.tranqcontract_get_communicationrecipients_v1(pki_tranqcontract_id) + print("The response of ObjectTranqcontractApi->tranqcontract_get_communicationrecipients_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectTranqcontractApi->tranqcontract_get_communicationrecipients_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_tranqcontract_id** | **int**| | + +### Return type + +[**TranqcontractGetCommunicationrecipientsV1Response**](TranqcontractGetCommunicationrecipientsV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **tranqcontract_get_communicationsenders_v1** +> TranqcontractGetCommunicationsendersV1Response tranqcontract_get_communicationsenders_v1(pki_tranqcontract_id) + +Retrieve Tranqcontract's Communicationsender + + + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response import TranqcontractGetCommunicationsendersV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectTranqcontractApi(api_client) + pki_tranqcontract_id = 56 # int | + + try: + # Retrieve Tranqcontract's Communicationsender + api_response = api_instance.tranqcontract_get_communicationsenders_v1(pki_tranqcontract_id) + print("The response of ObjectTranqcontractApi->tranqcontract_get_communicationsenders_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectTranqcontractApi->tranqcontract_get_communicationsenders_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_tranqcontract_id** | **int**| | + +### Return type + +[**TranqcontractGetCommunicationsendersV1Response**](TranqcontractGetCommunicationsendersV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ObjectUserApi.md b/docs/ObjectUserApi.md index c3dd702d9..b4b15dadb 100644 --- a/docs/ObjectUserApi.md +++ b/docs/ObjectUserApi.md @@ -6,10 +6,12 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**user_create_object_v1**](ObjectUserApi.md#user_create_object_v1) | **POST** /1/object/user | Create a new User [**user_create_object_v2**](ObjectUserApi.md#user_create_object_v2) | **POST** /2/object/user | Create a new User +[**user_edit_colleagues_v2**](ObjectUserApi.md#user_edit_colleagues_v2) | **PUT** /2/object/user/{pkiUserID}/editColleagues | Edit multiple Colleagues [**user_edit_object_v1**](ObjectUserApi.md#user_edit_object_v1) | **PUT** /1/object/user/{pkiUserID} | Edit an existing User [**user_edit_permissions_v1**](ObjectUserApi.md#user_edit_permissions_v1) | **PUT** /1/object/user/{pkiUserID}/editPermissions | Edit multiple Permissions [**user_get_apikeys_v1**](ObjectUserApi.md#user_get_apikeys_v1) | **GET** /1/object/user/{pkiUserID}/getApikeys | Retrieve an existing User's Apikeys [**user_get_autocomplete_v2**](ObjectUserApi.md#user_get_autocomplete_v2) | **GET** /2/object/user/getAutocomplete/{sSelector} | Retrieve Users and IDs +[**user_get_colleagues_v2**](ObjectUserApi.md#user_get_colleagues_v2) | **GET** /2/object/user/{pkiUserID}/getColleagues | Retrieve an existing User's Colleagues [**user_get_effective_permissions_v1**](ObjectUserApi.md#user_get_effective_permissions_v1) | **GET** /1/object/user/{pkiUserID}/getEffectivePermissions | Retrieve an existing User's Effective Permissions [**user_get_list_v1**](ObjectUserApi.md#user_get_list_v1) | **GET** /1/object/user/getList | Retrieve User list [**user_get_object_v2**](ObjectUserApi.md#user_get_object_v2) | **GET** /2/object/user/{pkiUserID} | Retrieve an existing User @@ -180,6 +182,90 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **user_edit_colleagues_v2** +> UserEditColleaguesV2Response user_edit_colleagues_v2(pki_user_id, user_edit_colleagues_v2_request) + +Edit multiple Colleagues + +Using this endpoint, you can edit multiple Colleagues at the same time. + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.user_edit_colleagues_v2_request import UserEditColleaguesV2Request +from eZmaxApi.models.user_edit_colleagues_v2_response import UserEditColleaguesV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectUserApi(api_client) + pki_user_id = 56 # int | + user_edit_colleagues_v2_request = eZmaxApi.UserEditColleaguesV2Request() # UserEditColleaguesV2Request | + + try: + # Edit multiple Colleagues + api_response = api_instance.user_edit_colleagues_v2(pki_user_id, user_edit_colleagues_v2_request) + print("The response of ObjectUserApi->user_edit_colleagues_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectUserApi->user_edit_colleagues_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_user_id** | **int**| | + **user_edit_colleagues_v2_request** | [**UserEditColleaguesV2Request**](UserEditColleaguesV2Request.md)| | + +### Return type + +[**UserEditColleaguesV2Response**](UserEditColleaguesV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **user_edit_object_v1** > UserEditObjectV1Response user_edit_object_v1(pki_user_id, user_edit_object_v1_request) @@ -466,7 +552,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectUserApi(api_client) s_selector = 's_selector_example' # str | The type of Users to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -487,7 +573,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Users to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] @@ -512,6 +598,84 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **user_get_colleagues_v2** +> UserGetColleaguesV2Response user_get_colleagues_v2(pki_user_id) + +Retrieve an existing User's Colleagues + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.user_get_colleagues_v2_response import UserGetColleaguesV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectUserApi(api_client) + pki_user_id = 56 # int | + + try: + # Retrieve an existing User's Colleagues + api_response = api_instance.user_get_colleagues_v2(pki_user_id) + print("The response of ObjectUserApi->user_get_colleagues_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectUserApi->user_get_colleagues_v2: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_user_id** | **int**| | + +### Return type + +[**UserGetColleaguesV2Response**](UserGetColleaguesV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**404** | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **user_get_effective_permissions_v1** > UserGetEffectivePermissionsV1Response user_get_effective_permissions_v1(pki_user_id) diff --git a/docs/ObjectUsergroupApi.md b/docs/ObjectUsergroupApi.md index c421c689b..976524754 100644 --- a/docs/ObjectUsergroupApi.md +++ b/docs/ObjectUsergroupApi.md @@ -473,7 +473,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectUsergroupApi(api_client) s_selector = 's_selector_example' # str | The type of Usergroups to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -494,7 +494,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Usergroups to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectUsergroupexternalApi.md b/docs/ObjectUsergroupexternalApi.md index 7e7ef5695..3149f527b 100644 --- a/docs/ObjectUsergroupexternalApi.md +++ b/docs/ObjectUsergroupexternalApi.md @@ -299,7 +299,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectUsergroupexternalApi(api_client) s_selector = 's_selector_example' # str | The type of Usergroupexternals to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -320,7 +320,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Usergroupexternals to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectUserlogintypeApi.md b/docs/ObjectUserlogintypeApi.md index ba63b661b..41965ffa2 100644 --- a/docs/ObjectUserlogintypeApi.md +++ b/docs/ObjectUserlogintypeApi.md @@ -48,7 +48,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: api_instance = eZmaxApi.ObjectUserlogintypeApi(api_client) s_selector = 's_selector_example' # str | The type of Userlogintypes to return fki_ezsignfoldertype_id = 56 # int | (optional) - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -70,7 +70,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Userlogintypes to return | **fki_ezsignfoldertype_id** | **int**| | [optional] - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectVariableexpenseApi.md b/docs/ObjectVariableexpenseApi.md index 8f270f031..91f02e92b 100644 --- a/docs/ObjectVariableexpenseApi.md +++ b/docs/ObjectVariableexpenseApi.md @@ -215,7 +215,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectVariableexpenseApi(api_client) s_selector = 's_selector_example' # str | The type of Variableexpenses to return - e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + e_filter_active = Active # str | Specify which results we want to display. (optional) (default to Active) s_query = 's_query_example' # str | Allow to filter the returned results (optional) accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) @@ -236,7 +236,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **s_selector** | **str**| The type of Variableexpenses to return | - **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to Active] **s_query** | **str**| Allow to filter the returned results | [optional] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] diff --git a/docs/ObjectWebhookApi.md b/docs/ObjectWebhookApi.md index 3d9518ed3..1150b0209 100644 --- a/docs/ObjectWebhookApi.md +++ b/docs/ObjectWebhookApi.md @@ -11,6 +11,7 @@ Method | HTTP request | Description [**webhook_get_list_v1**](ObjectWebhookApi.md#webhook_get_list_v1) | **GET** /1/object/webhook/getList | Retrieve Webhook list [**webhook_get_object_v2**](ObjectWebhookApi.md#webhook_get_object_v2) | **GET** /2/object/webhook/{pkiWebhookID} | Retrieve an existing Webhook [**webhook_regenerate_apikey_v1**](ObjectWebhookApi.md#webhook_regenerate_apikey_v1) | **POST** /1/object/webhook/{pkiWebhookID}/regenerateApikey | Regenerate the Apikey +[**webhook_send_webhook_v1**](ObjectWebhookApi.md#webhook_send_webhook_v1) | **POST** /1/object/webhook/sendWebhook | Emit a Webhook event [**webhook_test_v1**](ObjectWebhookApi.md#webhook_test_v1) | **POST** /1/object/webhook/{pkiWebhookID}/test | Test the Webhook by calling the Url @@ -592,6 +593,85 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **webhook_send_webhook_v1** +> WebhookSendWebhookV1Response webhook_send_webhook_v1(webhook_send_webhook_v1_request) + +Emit a Webhook event + +### Example + +* Api Key Authentication (Authorization): + +```python +import eZmaxApi +from eZmaxApi.models.webhook_send_webhook_v1_request import WebhookSendWebhookV1Request +from eZmaxApi.models.webhook_send_webhook_v1_response import WebhookSendWebhookV1Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectWebhookApi(api_client) + webhook_send_webhook_v1_request = eZmaxApi.WebhookSendWebhookV1Request() # WebhookSendWebhookV1Request | + + try: + # Emit a Webhook event + api_response = api_instance.webhook_send_webhook_v1(webhook_send_webhook_v1_request) + print("The response of ObjectWebhookApi->webhook_send_webhook_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectWebhookApi->webhook_send_webhook_v1: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **webhook_send_webhook_v1_request** | [**WebhookSendWebhookV1Request**](WebhookSendWebhookV1Request.md)| | + +### Return type + +[**WebhookSendWebhookV1Response**](WebhookSendWebhookV1Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | +**422** | The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **webhook_test_v1** > WebhookTestV1Response webhook_test_v1(pki_webhook_id, body) diff --git a/docs/OtherincomeGetCommunicationCountV1Response.md b/docs/OtherincomeGetCommunicationCountV1Response.md new file mode 100644 index 000000000..0a3ec04f2 --- /dev/null +++ b/docs/OtherincomeGetCommunicationCountV1Response.md @@ -0,0 +1,32 @@ +# OtherincomeGetCommunicationCountV1Response + +Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**OtherincomeGetCommunicationCountV1ResponseMPayload**](OtherincomeGetCommunicationCountV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.otherincome_get_communication_count_v1_response import OtherincomeGetCommunicationCountV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of OtherincomeGetCommunicationCountV1Response from a JSON string +otherincome_get_communication_count_v1_response_instance = OtherincomeGetCommunicationCountV1Response.from_json(json) +# print the JSON string representation of the object +print(OtherincomeGetCommunicationCountV1Response.to_json()) + +# convert the object into a dict +otherincome_get_communication_count_v1_response_dict = otherincome_get_communication_count_v1_response_instance.to_dict() +# create an instance of OtherincomeGetCommunicationCountV1Response from a dict +otherincome_get_communication_count_v1_response_from_dict = OtherincomeGetCommunicationCountV1Response.from_dict(otherincome_get_communication_count_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/OtherincomeGetCommunicationCountV1ResponseMPayload.md b/docs/OtherincomeGetCommunicationCountV1ResponseMPayload.md new file mode 100644 index 000000000..9a343d12d --- /dev/null +++ b/docs/OtherincomeGetCommunicationCountV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# OtherincomeGetCommunicationCountV1ResponseMPayload + +Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_communication_count** | **int** | The count of Communication. | + +## Example + +```python +from eZmaxApi.models.otherincome_get_communication_count_v1_response_m_payload import OtherincomeGetCommunicationCountV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of OtherincomeGetCommunicationCountV1ResponseMPayload from a JSON string +otherincome_get_communication_count_v1_response_m_payload_instance = OtherincomeGetCommunicationCountV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(OtherincomeGetCommunicationCountV1ResponseMPayload.to_json()) + +# convert the object into a dict +otherincome_get_communication_count_v1_response_m_payload_dict = otherincome_get_communication_count_v1_response_m_payload_instance.to_dict() +# create an instance of OtherincomeGetCommunicationCountV1ResponseMPayload from a dict +otherincome_get_communication_count_v1_response_m_payload_from_dict = OtherincomeGetCommunicationCountV1ResponseMPayload.from_dict(otherincome_get_communication_count_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/OtherincomeGetCommunicationListV1Response.md b/docs/OtherincomeGetCommunicationListV1Response.md index daece12c4..521d25c7e 100644 --- a/docs/OtherincomeGetCommunicationListV1Response.md +++ b/docs/OtherincomeGetCommunicationListV1Response.md @@ -25,7 +25,7 @@ print(OtherincomeGetCommunicationListV1Response.to_json()) # convert the object into a dict otherincome_get_communication_list_v1_response_dict = otherincome_get_communication_list_v1_response_instance.to_dict() # create an instance of OtherincomeGetCommunicationListV1Response from a dict -otherincome_get_communication_list_v1_response_form_dict = otherincome_get_communication_list_v1_response.from_dict(otherincome_get_communication_list_v1_response_dict) +otherincome_get_communication_list_v1_response_from_dict = OtherincomeGetCommunicationListV1Response.from_dict(otherincome_get_communication_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/OtherincomeGetCommunicationListV1ResponseMPayload.md b/docs/OtherincomeGetCommunicationListV1ResponseMPayload.md index 027fd769b..7207a82a7 100644 --- a/docs/OtherincomeGetCommunicationListV1ResponseMPayload.md +++ b/docs/OtherincomeGetCommunicationListV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(OtherincomeGetCommunicationListV1ResponseMPayload.to_json()) # convert the object into a dict otherincome_get_communication_list_v1_response_m_payload_dict = otherincome_get_communication_list_v1_response_m_payload_instance.to_dict() # create an instance of OtherincomeGetCommunicationListV1ResponseMPayload from a dict -otherincome_get_communication_list_v1_response_m_payload_form_dict = otherincome_get_communication_list_v1_response_m_payload.from_dict(otherincome_get_communication_list_v1_response_m_payload_dict) +otherincome_get_communication_list_v1_response_m_payload_from_dict = OtherincomeGetCommunicationListV1ResponseMPayload.from_dict(otherincome_get_communication_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/OtherincomeGetCommunicationrecipientsV1Response.md b/docs/OtherincomeGetCommunicationrecipientsV1Response.md new file mode 100644 index 000000000..adf687ce0 --- /dev/null +++ b/docs/OtherincomeGetCommunicationrecipientsV1Response.md @@ -0,0 +1,32 @@ +# OtherincomeGetCommunicationrecipientsV1Response + +Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**OtherincomeGetCommunicationrecipientsV1ResponseMPayload**](OtherincomeGetCommunicationrecipientsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response import OtherincomeGetCommunicationrecipientsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of OtherincomeGetCommunicationrecipientsV1Response from a JSON string +otherincome_get_communicationrecipients_v1_response_instance = OtherincomeGetCommunicationrecipientsV1Response.from_json(json) +# print the JSON string representation of the object +print(OtherincomeGetCommunicationrecipientsV1Response.to_json()) + +# convert the object into a dict +otherincome_get_communicationrecipients_v1_response_dict = otherincome_get_communicationrecipients_v1_response_instance.to_dict() +# create an instance of OtherincomeGetCommunicationrecipientsV1Response from a dict +otherincome_get_communicationrecipients_v1_response_from_dict = OtherincomeGetCommunicationrecipientsV1Response.from_dict(otherincome_get_communicationrecipients_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/OtherincomeGetCommunicationrecipientsV1ResponseMPayload.md b/docs/OtherincomeGetCommunicationrecipientsV1ResponseMPayload.md new file mode 100644 index 000000000..87606d9a6 --- /dev/null +++ b/docs/OtherincomeGetCommunicationrecipientsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# OtherincomeGetCommunicationrecipientsV1ResponseMPayload + +Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationrecipientsgroup** | [**List[CustomCommunicationrecipientsgroupResponse]**](CustomCommunicationrecipientsgroupResponse.md) | | + +## Example + +```python +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response_m_payload import OtherincomeGetCommunicationrecipientsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of OtherincomeGetCommunicationrecipientsV1ResponseMPayload from a JSON string +otherincome_get_communicationrecipients_v1_response_m_payload_instance = OtherincomeGetCommunicationrecipientsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(OtherincomeGetCommunicationrecipientsV1ResponseMPayload.to_json()) + +# convert the object into a dict +otherincome_get_communicationrecipients_v1_response_m_payload_dict = otherincome_get_communicationrecipients_v1_response_m_payload_instance.to_dict() +# create an instance of OtherincomeGetCommunicationrecipientsV1ResponseMPayload from a dict +otherincome_get_communicationrecipients_v1_response_m_payload_from_dict = OtherincomeGetCommunicationrecipientsV1ResponseMPayload.from_dict(otherincome_get_communicationrecipients_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/OtherincomeGetCommunicationsendersV1Response.md b/docs/OtherincomeGetCommunicationsendersV1Response.md new file mode 100644 index 000000000..9f6f6048d --- /dev/null +++ b/docs/OtherincomeGetCommunicationsendersV1Response.md @@ -0,0 +1,32 @@ +# OtherincomeGetCommunicationsendersV1Response + +Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**OtherincomeGetCommunicationsendersV1ResponseMPayload**](OtherincomeGetCommunicationsendersV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response import OtherincomeGetCommunicationsendersV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of OtherincomeGetCommunicationsendersV1Response from a JSON string +otherincome_get_communicationsenders_v1_response_instance = OtherincomeGetCommunicationsendersV1Response.from_json(json) +# print the JSON string representation of the object +print(OtherincomeGetCommunicationsendersV1Response.to_json()) + +# convert the object into a dict +otherincome_get_communicationsenders_v1_response_dict = otherincome_get_communicationsenders_v1_response_instance.to_dict() +# create an instance of OtherincomeGetCommunicationsendersV1Response from a dict +otherincome_get_communicationsenders_v1_response_from_dict = OtherincomeGetCommunicationsendersV1Response.from_dict(otherincome_get_communicationsenders_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/OtherincomeGetCommunicationsendersV1ResponseMPayload.md b/docs/OtherincomeGetCommunicationsendersV1ResponseMPayload.md new file mode 100644 index 000000000..e11e00f4b --- /dev/null +++ b/docs/OtherincomeGetCommunicationsendersV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# OtherincomeGetCommunicationsendersV1ResponseMPayload + +Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationsenders + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationsenders** | [**List[CustomCommunicationsenderResponse]**](CustomCommunicationsenderResponse.md) | | + +## Example + +```python +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response_m_payload import OtherincomeGetCommunicationsendersV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of OtherincomeGetCommunicationsendersV1ResponseMPayload from a JSON string +otherincome_get_communicationsenders_v1_response_m_payload_instance = OtherincomeGetCommunicationsendersV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(OtherincomeGetCommunicationsendersV1ResponseMPayload.to_json()) + +# convert the object into a dict +otherincome_get_communicationsenders_v1_response_m_payload_dict = otherincome_get_communicationsenders_v1_response_m_payload_instance.to_dict() +# create an instance of OtherincomeGetCommunicationsendersV1ResponseMPayload from a dict +otherincome_get_communicationsenders_v1_response_m_payload_from_dict = OtherincomeGetCommunicationsendersV1ResponseMPayload.from_dict(otherincome_get_communicationsenders_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PaymenttermAutocompleteElementResponse.md b/docs/PaymenttermAutocompleteElementResponse.md index cb31000a6..b6314cd1e 100644 --- a/docs/PaymenttermAutocompleteElementResponse.md +++ b/docs/PaymenttermAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(PaymenttermAutocompleteElementResponse.to_json()) # convert the object into a dict paymentterm_autocomplete_element_response_dict = paymentterm_autocomplete_element_response_instance.to_dict() # create an instance of PaymenttermAutocompleteElementResponse from a dict -paymentterm_autocomplete_element_response_form_dict = paymentterm_autocomplete_element_response.from_dict(paymentterm_autocomplete_element_response_dict) +paymentterm_autocomplete_element_response_from_dict = PaymenttermAutocompleteElementResponse.from_dict(paymentterm_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermCreateObjectV1Request.md b/docs/PaymenttermCreateObjectV1Request.md index 773b9534d..b8872383d 100644 --- a/docs/PaymenttermCreateObjectV1Request.md +++ b/docs/PaymenttermCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(PaymenttermCreateObjectV1Request.to_json()) # convert the object into a dict paymentterm_create_object_v1_request_dict = paymentterm_create_object_v1_request_instance.to_dict() # create an instance of PaymenttermCreateObjectV1Request from a dict -paymentterm_create_object_v1_request_form_dict = paymentterm_create_object_v1_request.from_dict(paymentterm_create_object_v1_request_dict) +paymentterm_create_object_v1_request_from_dict = PaymenttermCreateObjectV1Request.from_dict(paymentterm_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermCreateObjectV1Response.md b/docs/PaymenttermCreateObjectV1Response.md index 4247b505a..1e55bfb01 100644 --- a/docs/PaymenttermCreateObjectV1Response.md +++ b/docs/PaymenttermCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(PaymenttermCreateObjectV1Response.to_json()) # convert the object into a dict paymentterm_create_object_v1_response_dict = paymentterm_create_object_v1_response_instance.to_dict() # create an instance of PaymenttermCreateObjectV1Response from a dict -paymentterm_create_object_v1_response_form_dict = paymentterm_create_object_v1_response.from_dict(paymentterm_create_object_v1_response_dict) +paymentterm_create_object_v1_response_from_dict = PaymenttermCreateObjectV1Response.from_dict(paymentterm_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermCreateObjectV1ResponseMPayload.md b/docs/PaymenttermCreateObjectV1ResponseMPayload.md index e4be3645e..0fd97cc88 100644 --- a/docs/PaymenttermCreateObjectV1ResponseMPayload.md +++ b/docs/PaymenttermCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(PaymenttermCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict paymentterm_create_object_v1_response_m_payload_dict = paymentterm_create_object_v1_response_m_payload_instance.to_dict() # create an instance of PaymenttermCreateObjectV1ResponseMPayload from a dict -paymentterm_create_object_v1_response_m_payload_form_dict = paymentterm_create_object_v1_response_m_payload.from_dict(paymentterm_create_object_v1_response_m_payload_dict) +paymentterm_create_object_v1_response_m_payload_from_dict = PaymenttermCreateObjectV1ResponseMPayload.from_dict(paymentterm_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermEditObjectV1Request.md b/docs/PaymenttermEditObjectV1Request.md index 1262a30d3..366319c9c 100644 --- a/docs/PaymenttermEditObjectV1Request.md +++ b/docs/PaymenttermEditObjectV1Request.md @@ -23,7 +23,7 @@ print(PaymenttermEditObjectV1Request.to_json()) # convert the object into a dict paymentterm_edit_object_v1_request_dict = paymentterm_edit_object_v1_request_instance.to_dict() # create an instance of PaymenttermEditObjectV1Request from a dict -paymentterm_edit_object_v1_request_form_dict = paymentterm_edit_object_v1_request.from_dict(paymentterm_edit_object_v1_request_dict) +paymentterm_edit_object_v1_request_from_dict = PaymenttermEditObjectV1Request.from_dict(paymentterm_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermEditObjectV1Response.md b/docs/PaymenttermEditObjectV1Response.md index 0f6167235..db3c121c4 100644 --- a/docs/PaymenttermEditObjectV1Response.md +++ b/docs/PaymenttermEditObjectV1Response.md @@ -24,7 +24,7 @@ print(PaymenttermEditObjectV1Response.to_json()) # convert the object into a dict paymentterm_edit_object_v1_response_dict = paymentterm_edit_object_v1_response_instance.to_dict() # create an instance of PaymenttermEditObjectV1Response from a dict -paymentterm_edit_object_v1_response_form_dict = paymentterm_edit_object_v1_response.from_dict(paymentterm_edit_object_v1_response_dict) +paymentterm_edit_object_v1_response_from_dict = PaymenttermEditObjectV1Response.from_dict(paymentterm_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermGetAutocompleteV2Response.md b/docs/PaymenttermGetAutocompleteV2Response.md index 35b416175..def607999 100644 --- a/docs/PaymenttermGetAutocompleteV2Response.md +++ b/docs/PaymenttermGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(PaymenttermGetAutocompleteV2Response.to_json()) # convert the object into a dict paymentterm_get_autocomplete_v2_response_dict = paymentterm_get_autocomplete_v2_response_instance.to_dict() # create an instance of PaymenttermGetAutocompleteV2Response from a dict -paymentterm_get_autocomplete_v2_response_form_dict = paymentterm_get_autocomplete_v2_response.from_dict(paymentterm_get_autocomplete_v2_response_dict) +paymentterm_get_autocomplete_v2_response_from_dict = PaymenttermGetAutocompleteV2Response.from_dict(paymentterm_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermGetAutocompleteV2ResponseMPayload.md b/docs/PaymenttermGetAutocompleteV2ResponseMPayload.md index 3617f42ce..77a984754 100644 --- a/docs/PaymenttermGetAutocompleteV2ResponseMPayload.md +++ b/docs/PaymenttermGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(PaymenttermGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict paymentterm_get_autocomplete_v2_response_m_payload_dict = paymentterm_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of PaymenttermGetAutocompleteV2ResponseMPayload from a dict -paymentterm_get_autocomplete_v2_response_m_payload_form_dict = paymentterm_get_autocomplete_v2_response_m_payload.from_dict(paymentterm_get_autocomplete_v2_response_m_payload_dict) +paymentterm_get_autocomplete_v2_response_m_payload_from_dict = PaymenttermGetAutocompleteV2ResponseMPayload.from_dict(paymentterm_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermGetListV1Response.md b/docs/PaymenttermGetListV1Response.md index 95fa4d6af..f1fc275f8 100644 --- a/docs/PaymenttermGetListV1Response.md +++ b/docs/PaymenttermGetListV1Response.md @@ -25,7 +25,7 @@ print(PaymenttermGetListV1Response.to_json()) # convert the object into a dict paymentterm_get_list_v1_response_dict = paymentterm_get_list_v1_response_instance.to_dict() # create an instance of PaymenttermGetListV1Response from a dict -paymentterm_get_list_v1_response_form_dict = paymentterm_get_list_v1_response.from_dict(paymentterm_get_list_v1_response_dict) +paymentterm_get_list_v1_response_from_dict = PaymenttermGetListV1Response.from_dict(paymentterm_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermGetListV1ResponseMPayload.md b/docs/PaymenttermGetListV1ResponseMPayload.md index 99d357eaf..fd00d31f0 100644 --- a/docs/PaymenttermGetListV1ResponseMPayload.md +++ b/docs/PaymenttermGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(PaymenttermGetListV1ResponseMPayload.to_json()) # convert the object into a dict paymentterm_get_list_v1_response_m_payload_dict = paymentterm_get_list_v1_response_m_payload_instance.to_dict() # create an instance of PaymenttermGetListV1ResponseMPayload from a dict -paymentterm_get_list_v1_response_m_payload_form_dict = paymentterm_get_list_v1_response_m_payload.from_dict(paymentterm_get_list_v1_response_m_payload_dict) +paymentterm_get_list_v1_response_m_payload_from_dict = PaymenttermGetListV1ResponseMPayload.from_dict(paymentterm_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermGetObjectV2Response.md b/docs/PaymenttermGetObjectV2Response.md index 8c8ca5c57..3b6caa4e2 100644 --- a/docs/PaymenttermGetObjectV2Response.md +++ b/docs/PaymenttermGetObjectV2Response.md @@ -25,7 +25,7 @@ print(PaymenttermGetObjectV2Response.to_json()) # convert the object into a dict paymentterm_get_object_v2_response_dict = paymentterm_get_object_v2_response_instance.to_dict() # create an instance of PaymenttermGetObjectV2Response from a dict -paymentterm_get_object_v2_response_form_dict = paymentterm_get_object_v2_response.from_dict(paymentterm_get_object_v2_response_dict) +paymentterm_get_object_v2_response_from_dict = PaymenttermGetObjectV2Response.from_dict(paymentterm_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermGetObjectV2ResponseMPayload.md b/docs/PaymenttermGetObjectV2ResponseMPayload.md index 52a77fc7e..cd11cc492 100644 --- a/docs/PaymenttermGetObjectV2ResponseMPayload.md +++ b/docs/PaymenttermGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(PaymenttermGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict paymentterm_get_object_v2_response_m_payload_dict = paymentterm_get_object_v2_response_m_payload_instance.to_dict() # create an instance of PaymenttermGetObjectV2ResponseMPayload from a dict -paymentterm_get_object_v2_response_m_payload_form_dict = paymentterm_get_object_v2_response_m_payload.from_dict(paymentterm_get_object_v2_response_m_payload_dict) +paymentterm_get_object_v2_response_m_payload_from_dict = PaymenttermGetObjectV2ResponseMPayload.from_dict(paymentterm_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermListElement.md b/docs/PaymenttermListElement.md index bcad3f957..8b0786e5d 100644 --- a/docs/PaymenttermListElement.md +++ b/docs/PaymenttermListElement.md @@ -28,7 +28,7 @@ print(PaymenttermListElement.to_json()) # convert the object into a dict paymentterm_list_element_dict = paymentterm_list_element_instance.to_dict() # create an instance of PaymenttermListElement from a dict -paymentterm_list_element_form_dict = paymentterm_list_element.from_dict(paymentterm_list_element_dict) +paymentterm_list_element_from_dict = PaymenttermListElement.from_dict(paymentterm_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermRequest.md b/docs/PaymenttermRequest.md index 199d6d59e..b491fa76d 100644 --- a/docs/PaymenttermRequest.md +++ b/docs/PaymenttermRequest.md @@ -28,7 +28,7 @@ print(PaymenttermRequest.to_json()) # convert the object into a dict paymentterm_request_dict = paymentterm_request_instance.to_dict() # create an instance of PaymenttermRequest from a dict -paymentterm_request_form_dict = paymentterm_request.from_dict(paymentterm_request_dict) +paymentterm_request_from_dict = PaymenttermRequest.from_dict(paymentterm_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermRequestCompound.md b/docs/PaymenttermRequestCompound.md index 3197e18fb..c00490f80 100644 --- a/docs/PaymenttermRequestCompound.md +++ b/docs/PaymenttermRequestCompound.md @@ -28,7 +28,7 @@ print(PaymenttermRequestCompound.to_json()) # convert the object into a dict paymentterm_request_compound_dict = paymentterm_request_compound_instance.to_dict() # create an instance of PaymenttermRequestCompound from a dict -paymentterm_request_compound_form_dict = paymentterm_request_compound.from_dict(paymentterm_request_compound_dict) +paymentterm_request_compound_from_dict = PaymenttermRequestCompound.from_dict(paymentterm_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermResponse.md b/docs/PaymenttermResponse.md index 9eed3e9c0..14cf2b29d 100644 --- a/docs/PaymenttermResponse.md +++ b/docs/PaymenttermResponse.md @@ -29,7 +29,7 @@ print(PaymenttermResponse.to_json()) # convert the object into a dict paymentterm_response_dict = paymentterm_response_instance.to_dict() # create an instance of PaymenttermResponse from a dict -paymentterm_response_form_dict = paymentterm_response.from_dict(paymentterm_response_dict) +paymentterm_response_from_dict = PaymenttermResponse.from_dict(paymentterm_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymenttermResponseCompound.md b/docs/PaymenttermResponseCompound.md index a6a68b757..815fe21bc 100644 --- a/docs/PaymenttermResponseCompound.md +++ b/docs/PaymenttermResponseCompound.md @@ -29,7 +29,7 @@ print(PaymenttermResponseCompound.to_json()) # convert the object into a dict paymentterm_response_compound_dict = paymentterm_response_compound_instance.to_dict() # create an instance of PaymenttermResponseCompound from a dict -paymentterm_response_compound_form_dict = paymentterm_response_compound.from_dict(paymentterm_response_compound_dict) +paymentterm_response_compound_from_dict = PaymenttermResponseCompound.from_dict(paymentterm_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PdfalevelAutocompleteElementResponse.md b/docs/PdfalevelAutocompleteElementResponse.md new file mode 100644 index 000000000..74032a2b7 --- /dev/null +++ b/docs/PdfalevelAutocompleteElementResponse.md @@ -0,0 +1,32 @@ +# PdfalevelAutocompleteElementResponse + +A Pdfalevel AutocompleteElement Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_pdfalevel_id** | **int** | The unique ID of the Pdfalevel | +**s_pdfalevel_name** | **str** | The name of the Pdfalevel | +**b_pdfalevel_isactive** | **bool** | Whether the Pdfalevel is active or not | + +## Example + +```python +from eZmaxApi.models.pdfalevel_autocomplete_element_response import PdfalevelAutocompleteElementResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of PdfalevelAutocompleteElementResponse from a JSON string +pdfalevel_autocomplete_element_response_instance = PdfalevelAutocompleteElementResponse.from_json(json) +# print the JSON string representation of the object +print(PdfalevelAutocompleteElementResponse.to_json()) + +# convert the object into a dict +pdfalevel_autocomplete_element_response_dict = pdfalevel_autocomplete_element_response_instance.to_dict() +# create an instance of PdfalevelAutocompleteElementResponse from a dict +pdfalevel_autocomplete_element_response_from_dict = PdfalevelAutocompleteElementResponse.from_dict(pdfalevel_autocomplete_element_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PdfalevelGetAutocompleteV2Response.md b/docs/PdfalevelGetAutocompleteV2Response.md new file mode 100644 index 000000000..36a6ed2c8 --- /dev/null +++ b/docs/PdfalevelGetAutocompleteV2Response.md @@ -0,0 +1,32 @@ +# PdfalevelGetAutocompleteV2Response + +Response for GET /2/object/pdfalevel/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**PdfalevelGetAutocompleteV2ResponseMPayload**](PdfalevelGetAutocompleteV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response import PdfalevelGetAutocompleteV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of PdfalevelGetAutocompleteV2Response from a JSON string +pdfalevel_get_autocomplete_v2_response_instance = PdfalevelGetAutocompleteV2Response.from_json(json) +# print the JSON string representation of the object +print(PdfalevelGetAutocompleteV2Response.to_json()) + +# convert the object into a dict +pdfalevel_get_autocomplete_v2_response_dict = pdfalevel_get_autocomplete_v2_response_instance.to_dict() +# create an instance of PdfalevelGetAutocompleteV2Response from a dict +pdfalevel_get_autocomplete_v2_response_from_dict = PdfalevelGetAutocompleteV2Response.from_dict(pdfalevel_get_autocomplete_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PdfalevelGetAutocompleteV2ResponseMPayload.md b/docs/PdfalevelGetAutocompleteV2ResponseMPayload.md new file mode 100644 index 000000000..bd78e90f6 --- /dev/null +++ b/docs/PdfalevelGetAutocompleteV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# PdfalevelGetAutocompleteV2ResponseMPayload + +Payload for POST /2/object/pdfalevel/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_pdfalevel** | [**List[PdfalevelAutocompleteElementResponse]**](PdfalevelAutocompleteElementResponse.md) | An array of Pdfalevel autocomplete element response. | + +## Example + +```python +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response_m_payload import PdfalevelGetAutocompleteV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of PdfalevelGetAutocompleteV2ResponseMPayload from a JSON string +pdfalevel_get_autocomplete_v2_response_m_payload_instance = PdfalevelGetAutocompleteV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(PdfalevelGetAutocompleteV2ResponseMPayload.to_json()) + +# convert the object into a dict +pdfalevel_get_autocomplete_v2_response_m_payload_dict = pdfalevel_get_autocomplete_v2_response_m_payload_instance.to_dict() +# create an instance of PdfalevelGetAutocompleteV2ResponseMPayload from a dict +pdfalevel_get_autocomplete_v2_response_m_payload_from_dict = PdfalevelGetAutocompleteV2ResponseMPayload.from_dict(pdfalevel_get_autocomplete_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PeriodAutocompleteElementResponse.md b/docs/PeriodAutocompleteElementResponse.md index 965e1a6e6..b531e21b5 100644 --- a/docs/PeriodAutocompleteElementResponse.md +++ b/docs/PeriodAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(PeriodAutocompleteElementResponse.to_json()) # convert the object into a dict period_autocomplete_element_response_dict = period_autocomplete_element_response_instance.to_dict() # create an instance of PeriodAutocompleteElementResponse from a dict -period_autocomplete_element_response_form_dict = period_autocomplete_element_response.from_dict(period_autocomplete_element_response_dict) +period_autocomplete_element_response_from_dict = PeriodAutocompleteElementResponse.from_dict(period_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PeriodGetAutocompleteV2Response.md b/docs/PeriodGetAutocompleteV2Response.md index 91ba595b6..aaf0d0406 100644 --- a/docs/PeriodGetAutocompleteV2Response.md +++ b/docs/PeriodGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(PeriodGetAutocompleteV2Response.to_json()) # convert the object into a dict period_get_autocomplete_v2_response_dict = period_get_autocomplete_v2_response_instance.to_dict() # create an instance of PeriodGetAutocompleteV2Response from a dict -period_get_autocomplete_v2_response_form_dict = period_get_autocomplete_v2_response.from_dict(period_get_autocomplete_v2_response_dict) +period_get_autocomplete_v2_response_from_dict = PeriodGetAutocompleteV2Response.from_dict(period_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PeriodGetAutocompleteV2ResponseMPayload.md b/docs/PeriodGetAutocompleteV2ResponseMPayload.md index fb709a38d..3097e10f2 100644 --- a/docs/PeriodGetAutocompleteV2ResponseMPayload.md +++ b/docs/PeriodGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(PeriodGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict period_get_autocomplete_v2_response_m_payload_dict = period_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of PeriodGetAutocompleteV2ResponseMPayload from a dict -period_get_autocomplete_v2_response_m_payload_form_dict = period_get_autocomplete_v2_response_m_payload.from_dict(period_get_autocomplete_v2_response_m_payload_dict) +period_get_autocomplete_v2_response_m_payload_from_dict = PeriodGetAutocompleteV2ResponseMPayload.from_dict(period_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionCreateObjectV1Request.md b/docs/PermissionCreateObjectV1Request.md index 8aac75edf..3881a66c2 100644 --- a/docs/PermissionCreateObjectV1Request.md +++ b/docs/PermissionCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(PermissionCreateObjectV1Request.to_json()) # convert the object into a dict permission_create_object_v1_request_dict = permission_create_object_v1_request_instance.to_dict() # create an instance of PermissionCreateObjectV1Request from a dict -permission_create_object_v1_request_form_dict = permission_create_object_v1_request.from_dict(permission_create_object_v1_request_dict) +permission_create_object_v1_request_from_dict = PermissionCreateObjectV1Request.from_dict(permission_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionCreateObjectV1Response.md b/docs/PermissionCreateObjectV1Response.md index e3b8f0691..678226d1e 100644 --- a/docs/PermissionCreateObjectV1Response.md +++ b/docs/PermissionCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(PermissionCreateObjectV1Response.to_json()) # convert the object into a dict permission_create_object_v1_response_dict = permission_create_object_v1_response_instance.to_dict() # create an instance of PermissionCreateObjectV1Response from a dict -permission_create_object_v1_response_form_dict = permission_create_object_v1_response.from_dict(permission_create_object_v1_response_dict) +permission_create_object_v1_response_from_dict = PermissionCreateObjectV1Response.from_dict(permission_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionCreateObjectV1ResponseMPayload.md b/docs/PermissionCreateObjectV1ResponseMPayload.md index f26078a58..ff8b390c3 100644 --- a/docs/PermissionCreateObjectV1ResponseMPayload.md +++ b/docs/PermissionCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(PermissionCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict permission_create_object_v1_response_m_payload_dict = permission_create_object_v1_response_m_payload_instance.to_dict() # create an instance of PermissionCreateObjectV1ResponseMPayload from a dict -permission_create_object_v1_response_m_payload_form_dict = permission_create_object_v1_response_m_payload.from_dict(permission_create_object_v1_response_m_payload_dict) +permission_create_object_v1_response_m_payload_from_dict = PermissionCreateObjectV1ResponseMPayload.from_dict(permission_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionDeleteObjectV1Response.md b/docs/PermissionDeleteObjectV1Response.md index 4107141fa..e07c8d4e0 100644 --- a/docs/PermissionDeleteObjectV1Response.md +++ b/docs/PermissionDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(PermissionDeleteObjectV1Response.to_json()) # convert the object into a dict permission_delete_object_v1_response_dict = permission_delete_object_v1_response_instance.to_dict() # create an instance of PermissionDeleteObjectV1Response from a dict -permission_delete_object_v1_response_form_dict = permission_delete_object_v1_response.from_dict(permission_delete_object_v1_response_dict) +permission_delete_object_v1_response_from_dict = PermissionDeleteObjectV1Response.from_dict(permission_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionEditObjectV1Request.md b/docs/PermissionEditObjectV1Request.md index 2dd546c8d..1cb9baf00 100644 --- a/docs/PermissionEditObjectV1Request.md +++ b/docs/PermissionEditObjectV1Request.md @@ -23,7 +23,7 @@ print(PermissionEditObjectV1Request.to_json()) # convert the object into a dict permission_edit_object_v1_request_dict = permission_edit_object_v1_request_instance.to_dict() # create an instance of PermissionEditObjectV1Request from a dict -permission_edit_object_v1_request_form_dict = permission_edit_object_v1_request.from_dict(permission_edit_object_v1_request_dict) +permission_edit_object_v1_request_from_dict = PermissionEditObjectV1Request.from_dict(permission_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionEditObjectV1Response.md b/docs/PermissionEditObjectV1Response.md index da688ba0b..ff4784c80 100644 --- a/docs/PermissionEditObjectV1Response.md +++ b/docs/PermissionEditObjectV1Response.md @@ -24,7 +24,7 @@ print(PermissionEditObjectV1Response.to_json()) # convert the object into a dict permission_edit_object_v1_response_dict = permission_edit_object_v1_response_instance.to_dict() # create an instance of PermissionEditObjectV1Response from a dict -permission_edit_object_v1_response_form_dict = permission_edit_object_v1_response.from_dict(permission_edit_object_v1_response_dict) +permission_edit_object_v1_response_from_dict = PermissionEditObjectV1Response.from_dict(permission_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionGetObjectV2Response.md b/docs/PermissionGetObjectV2Response.md index 5fdc8e8e9..6a65895bd 100644 --- a/docs/PermissionGetObjectV2Response.md +++ b/docs/PermissionGetObjectV2Response.md @@ -25,7 +25,7 @@ print(PermissionGetObjectV2Response.to_json()) # convert the object into a dict permission_get_object_v2_response_dict = permission_get_object_v2_response_instance.to_dict() # create an instance of PermissionGetObjectV2Response from a dict -permission_get_object_v2_response_form_dict = permission_get_object_v2_response.from_dict(permission_get_object_v2_response_dict) +permission_get_object_v2_response_from_dict = PermissionGetObjectV2Response.from_dict(permission_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionGetObjectV2ResponseMPayload.md b/docs/PermissionGetObjectV2ResponseMPayload.md index 5b8640d4a..8a5d31096 100644 --- a/docs/PermissionGetObjectV2ResponseMPayload.md +++ b/docs/PermissionGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(PermissionGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict permission_get_object_v2_response_m_payload_dict = permission_get_object_v2_response_m_payload_instance.to_dict() # create an instance of PermissionGetObjectV2ResponseMPayload from a dict -permission_get_object_v2_response_m_payload_form_dict = permission_get_object_v2_response_m_payload.from_dict(permission_get_object_v2_response_m_payload_dict) +permission_get_object_v2_response_m_payload_from_dict = PermissionGetObjectV2ResponseMPayload.from_dict(permission_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionRequest.md b/docs/PermissionRequest.md index d45e452f3..32f781b70 100644 --- a/docs/PermissionRequest.md +++ b/docs/PermissionRequest.md @@ -28,7 +28,7 @@ print(PermissionRequest.to_json()) # convert the object into a dict permission_request_dict = permission_request_instance.to_dict() # create an instance of PermissionRequest from a dict -permission_request_form_dict = permission_request.from_dict(permission_request_dict) +permission_request_from_dict = PermissionRequest.from_dict(permission_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionRequestCompound.md b/docs/PermissionRequestCompound.md index 6c96796ad..4e7e03966 100644 --- a/docs/PermissionRequestCompound.md +++ b/docs/PermissionRequestCompound.md @@ -28,7 +28,7 @@ print(PermissionRequestCompound.to_json()) # convert the object into a dict permission_request_compound_dict = permission_request_compound_instance.to_dict() # create an instance of PermissionRequestCompound from a dict -permission_request_compound_form_dict = permission_request_compound.from_dict(permission_request_compound_dict) +permission_request_compound_from_dict = PermissionRequestCompound.from_dict(permission_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionResponse.md b/docs/PermissionResponse.md index 4c7a43706..2e3d5d63f 100644 --- a/docs/PermissionResponse.md +++ b/docs/PermissionResponse.md @@ -29,7 +29,7 @@ print(PermissionResponse.to_json()) # convert the object into a dict permission_response_dict = permission_response_instance.to_dict() # create an instance of PermissionResponse from a dict -permission_response_form_dict = permission_response.from_dict(permission_response_dict) +permission_response_from_dict = PermissionResponse.from_dict(permission_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionResponseCompound.md b/docs/PermissionResponseCompound.md index 303f3dbd0..88c1ecb5a 100644 --- a/docs/PermissionResponseCompound.md +++ b/docs/PermissionResponseCompound.md @@ -29,7 +29,7 @@ print(PermissionResponseCompound.to_json()) # convert the object into a dict permission_response_compound_dict = permission_response_compound_instance.to_dict() # create an instance of PermissionResponseCompound from a dict -permission_response_compound_form_dict = permission_response_compound.from_dict(permission_response_compound_dict) +permission_response_compound_from_dict = PermissionResponseCompound.from_dict(permission_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PhoneRequest.md b/docs/PhoneRequest.md index 7f02e1187..ddfb852ca 100644 --- a/docs/PhoneRequest.md +++ b/docs/PhoneRequest.md @@ -31,7 +31,7 @@ print(PhoneRequest.to_json()) # convert the object into a dict phone_request_dict = phone_request_instance.to_dict() # create an instance of PhoneRequest from a dict -phone_request_form_dict = phone_request.from_dict(phone_request_dict) +phone_request_from_dict = PhoneRequest.from_dict(phone_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PhoneRequestCompound.md b/docs/PhoneRequestCompound.md index 80f0c1c5c..66633a395 100644 --- a/docs/PhoneRequestCompound.md +++ b/docs/PhoneRequestCompound.md @@ -31,7 +31,7 @@ print(PhoneRequestCompound.to_json()) # convert the object into a dict phone_request_compound_dict = phone_request_compound_instance.to_dict() # create an instance of PhoneRequestCompound from a dict -phone_request_compound_form_dict = phone_request_compound.from_dict(phone_request_compound_dict) +phone_request_compound_from_dict = PhoneRequestCompound.from_dict(phone_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PhoneRequestCompoundV2.md b/docs/PhoneRequestCompoundV2.md index 4874e7ddb..9eb8391c7 100644 --- a/docs/PhoneRequestCompoundV2.md +++ b/docs/PhoneRequestCompoundV2.md @@ -26,7 +26,7 @@ print(PhoneRequestCompoundV2.to_json()) # convert the object into a dict phone_request_compound_v2_dict = phone_request_compound_v2_instance.to_dict() # create an instance of PhoneRequestCompoundV2 from a dict -phone_request_compound_v2_form_dict = phone_request_compound_v2.from_dict(phone_request_compound_v2_dict) +phone_request_compound_v2_from_dict = PhoneRequestCompoundV2.from_dict(phone_request_compound_v2_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PhoneRequestV2.md b/docs/PhoneRequestV2.md index db81332c0..64ed83561 100644 --- a/docs/PhoneRequestV2.md +++ b/docs/PhoneRequestV2.md @@ -26,7 +26,7 @@ print(PhoneRequestV2.to_json()) # convert the object into a dict phone_request_v2_dict = phone_request_v2_instance.to_dict() # create an instance of PhoneRequestV2 from a dict -phone_request_v2_form_dict = phone_request_v2.from_dict(phone_request_v2_dict) +phone_request_v2_from_dict = PhoneRequestV2.from_dict(phone_request_v2_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PhoneResponse.md b/docs/PhoneResponse.md index 4912fe68d..81e1fe373 100644 --- a/docs/PhoneResponse.md +++ b/docs/PhoneResponse.md @@ -27,7 +27,7 @@ print(PhoneResponse.to_json()) # convert the object into a dict phone_response_dict = phone_response_instance.to_dict() # create an instance of PhoneResponse from a dict -phone_response_form_dict = phone_response.from_dict(phone_response_dict) +phone_response_from_dict = PhoneResponse.from_dict(phone_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PhoneResponseCompound.md b/docs/PhoneResponseCompound.md index 83885839f..7bc2c2fbd 100644 --- a/docs/PhoneResponseCompound.md +++ b/docs/PhoneResponseCompound.md @@ -28,7 +28,7 @@ print(PhoneResponseCompound.to_json()) # convert the object into a dict phone_response_compound_dict = phone_response_compound_instance.to_dict() # create an instance of PhoneResponseCompound from a dict -phone_response_compound_form_dict = phone_response_compound.from_dict(phone_response_compound_dict) +phone_response_compound_from_dict = PhoneResponseCompound.from_dict(phone_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PhonetypeAutocompleteElementResponse.md b/docs/PhonetypeAutocompleteElementResponse.md index 227050fea..cee323e76 100644 --- a/docs/PhonetypeAutocompleteElementResponse.md +++ b/docs/PhonetypeAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(PhonetypeAutocompleteElementResponse.to_json()) # convert the object into a dict phonetype_autocomplete_element_response_dict = phonetype_autocomplete_element_response_instance.to_dict() # create an instance of PhonetypeAutocompleteElementResponse from a dict -phonetype_autocomplete_element_response_form_dict = phonetype_autocomplete_element_response.from_dict(phonetype_autocomplete_element_response_dict) +phonetype_autocomplete_element_response_from_dict = PhonetypeAutocompleteElementResponse.from_dict(phonetype_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PhonetypeGetAutocompleteV2Response.md b/docs/PhonetypeGetAutocompleteV2Response.md index 4a70a89c1..24f6c0ab9 100644 --- a/docs/PhonetypeGetAutocompleteV2Response.md +++ b/docs/PhonetypeGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(PhonetypeGetAutocompleteV2Response.to_json()) # convert the object into a dict phonetype_get_autocomplete_v2_response_dict = phonetype_get_autocomplete_v2_response_instance.to_dict() # create an instance of PhonetypeGetAutocompleteV2Response from a dict -phonetype_get_autocomplete_v2_response_form_dict = phonetype_get_autocomplete_v2_response.from_dict(phonetype_get_autocomplete_v2_response_dict) +phonetype_get_autocomplete_v2_response_from_dict = PhonetypeGetAutocompleteV2Response.from_dict(phonetype_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PhonetypeGetAutocompleteV2ResponseMPayload.md b/docs/PhonetypeGetAutocompleteV2ResponseMPayload.md index f017dc1c5..2fc34c2f3 100644 --- a/docs/PhonetypeGetAutocompleteV2ResponseMPayload.md +++ b/docs/PhonetypeGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(PhonetypeGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict phonetype_get_autocomplete_v2_response_m_payload_dict = phonetype_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of PhonetypeGetAutocompleteV2ResponseMPayload from a dict -phonetype_get_autocomplete_v2_response_m_payload_form_dict = phonetype_get_autocomplete_v2_response_m_payload.from_dict(phonetype_get_autocomplete_v2_response_m_payload_dict) +phonetype_get_autocomplete_v2_response_m_payload_from_dict = PhonetypeGetAutocompleteV2ResponseMPayload.from_dict(phonetype_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ProvinceAutocompleteElementResponse.md b/docs/ProvinceAutocompleteElementResponse.md index 127d27df7..91edb84c9 100644 --- a/docs/ProvinceAutocompleteElementResponse.md +++ b/docs/ProvinceAutocompleteElementResponse.md @@ -27,7 +27,7 @@ print(ProvinceAutocompleteElementResponse.to_json()) # convert the object into a dict province_autocomplete_element_response_dict = province_autocomplete_element_response_instance.to_dict() # create an instance of ProvinceAutocompleteElementResponse from a dict -province_autocomplete_element_response_form_dict = province_autocomplete_element_response.from_dict(province_autocomplete_element_response_dict) +province_autocomplete_element_response_from_dict = ProvinceAutocompleteElementResponse.from_dict(province_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ProvinceGetAutocompleteV2Response.md b/docs/ProvinceGetAutocompleteV2Response.md index a7a67f653..9e34cf6bc 100644 --- a/docs/ProvinceGetAutocompleteV2Response.md +++ b/docs/ProvinceGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(ProvinceGetAutocompleteV2Response.to_json()) # convert the object into a dict province_get_autocomplete_v2_response_dict = province_get_autocomplete_v2_response_instance.to_dict() # create an instance of ProvinceGetAutocompleteV2Response from a dict -province_get_autocomplete_v2_response_form_dict = province_get_autocomplete_v2_response.from_dict(province_get_autocomplete_v2_response_dict) +province_get_autocomplete_v2_response_from_dict = ProvinceGetAutocompleteV2Response.from_dict(province_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ProvinceGetAutocompleteV2ResponseMPayload.md b/docs/ProvinceGetAutocompleteV2ResponseMPayload.md index e8d3b8a26..34fd0313d 100644 --- a/docs/ProvinceGetAutocompleteV2ResponseMPayload.md +++ b/docs/ProvinceGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(ProvinceGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict province_get_autocomplete_v2_response_m_payload_dict = province_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of ProvinceGetAutocompleteV2ResponseMPayload from a dict -province_get_autocomplete_v2_response_m_payload_form_dict = province_get_autocomplete_v2_response_m_payload.from_dict(province_get_autocomplete_v2_response_m_payload_dict) +province_get_autocomplete_v2_response_m_payload_from_dict = ProvinceGetAutocompleteV2ResponseMPayload.from_dict(province_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md b/docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md new file mode 100644 index 000000000..60ab6dee6 --- /dev/null +++ b/docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md @@ -0,0 +1,32 @@ +# RejectedoffertopurchaseGetCommunicationCountV1Response + +Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload**](RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response import RejectedoffertopurchaseGetCommunicationCountV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of RejectedoffertopurchaseGetCommunicationCountV1Response from a JSON string +rejectedoffertopurchase_get_communication_count_v1_response_instance = RejectedoffertopurchaseGetCommunicationCountV1Response.from_json(json) +# print the JSON string representation of the object +print(RejectedoffertopurchaseGetCommunicationCountV1Response.to_json()) + +# convert the object into a dict +rejectedoffertopurchase_get_communication_count_v1_response_dict = rejectedoffertopurchase_get_communication_count_v1_response_instance.to_dict() +# create an instance of RejectedoffertopurchaseGetCommunicationCountV1Response from a dict +rejectedoffertopurchase_get_communication_count_v1_response_from_dict = RejectedoffertopurchaseGetCommunicationCountV1Response.from_dict(rejectedoffertopurchase_get_communication_count_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.md b/docs/RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.md new file mode 100644 index 000000000..1207633ea --- /dev/null +++ b/docs/RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload + +Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_communication_count** | **int** | The count of Communication. | + +## Example + +```python +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload from a JSON string +rejectedoffertopurchase_get_communication_count_v1_response_m_payload_instance = RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.to_json()) + +# convert the object into a dict +rejectedoffertopurchase_get_communication_count_v1_response_m_payload_dict = rejectedoffertopurchase_get_communication_count_v1_response_m_payload_instance.to_dict() +# create an instance of RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload from a dict +rejectedoffertopurchase_get_communication_count_v1_response_m_payload_from_dict = RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.from_dict(rejectedoffertopurchase_get_communication_count_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md b/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md index 629bfe771..64b545566 100644 --- a/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md +++ b/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md @@ -25,7 +25,7 @@ print(RejectedoffertopurchaseGetCommunicationListV1Response.to_json()) # convert the object into a dict rejectedoffertopurchase_get_communication_list_v1_response_dict = rejectedoffertopurchase_get_communication_list_v1_response_instance.to_dict() # create an instance of RejectedoffertopurchaseGetCommunicationListV1Response from a dict -rejectedoffertopurchase_get_communication_list_v1_response_form_dict = rejectedoffertopurchase_get_communication_list_v1_response.from_dict(rejectedoffertopurchase_get_communication_list_v1_response_dict) +rejectedoffertopurchase_get_communication_list_v1_response_from_dict = RejectedoffertopurchaseGetCommunicationListV1Response.from_dict(rejectedoffertopurchase_get_communication_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md b/docs/RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md index 067ae3951..2ba513d96 100644 --- a/docs/RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md +++ b/docs/RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.to_json()) # convert the object into a dict rejectedoffertopurchase_get_communication_list_v1_response_m_payload_dict = rejectedoffertopurchase_get_communication_list_v1_response_m_payload_instance.to_dict() # create an instance of RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload from a dict -rejectedoffertopurchase_get_communication_list_v1_response_m_payload_form_dict = rejectedoffertopurchase_get_communication_list_v1_response_m_payload.from_dict(rejectedoffertopurchase_get_communication_list_v1_response_m_payload_dict) +rejectedoffertopurchase_get_communication_list_v1_response_m_payload_from_dict = RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.from_dict(rejectedoffertopurchase_get_communication_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md b/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md new file mode 100644 index 000000000..2a80552f8 --- /dev/null +++ b/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md @@ -0,0 +1,32 @@ +# RejectedoffertopurchaseGetCommunicationrecipientsV1Response + +Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload**](RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response import RejectedoffertopurchaseGetCommunicationrecipientsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of RejectedoffertopurchaseGetCommunicationrecipientsV1Response from a JSON string +rejectedoffertopurchase_get_communicationrecipients_v1_response_instance = RejectedoffertopurchaseGetCommunicationrecipientsV1Response.from_json(json) +# print the JSON string representation of the object +print(RejectedoffertopurchaseGetCommunicationrecipientsV1Response.to_json()) + +# convert the object into a dict +rejectedoffertopurchase_get_communicationrecipients_v1_response_dict = rejectedoffertopurchase_get_communicationrecipients_v1_response_instance.to_dict() +# create an instance of RejectedoffertopurchaseGetCommunicationrecipientsV1Response from a dict +rejectedoffertopurchase_get_communicationrecipients_v1_response_from_dict = RejectedoffertopurchaseGetCommunicationrecipientsV1Response.from_dict(rejectedoffertopurchase_get_communicationrecipients_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.md b/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.md new file mode 100644 index 000000000..251357055 --- /dev/null +++ b/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload + +Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationrecipientsgroup** | [**List[CustomCommunicationrecipientsgroupResponse]**](CustomCommunicationrecipientsgroupResponse.md) | | + +## Example + +```python +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload from a JSON string +rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload_instance = RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.to_json()) + +# convert the object into a dict +rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload_dict = rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload_instance.to_dict() +# create an instance of RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload from a dict +rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload_from_dict = RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.from_dict(rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md b/docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md new file mode 100644 index 000000000..28da0e741 --- /dev/null +++ b/docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md @@ -0,0 +1,32 @@ +# RejectedoffertopurchaseGetCommunicationsendersV1Response + +Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload**](RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response import RejectedoffertopurchaseGetCommunicationsendersV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of RejectedoffertopurchaseGetCommunicationsendersV1Response from a JSON string +rejectedoffertopurchase_get_communicationsenders_v1_response_instance = RejectedoffertopurchaseGetCommunicationsendersV1Response.from_json(json) +# print the JSON string representation of the object +print(RejectedoffertopurchaseGetCommunicationsendersV1Response.to_json()) + +# convert the object into a dict +rejectedoffertopurchase_get_communicationsenders_v1_response_dict = rejectedoffertopurchase_get_communicationsenders_v1_response_instance.to_dict() +# create an instance of RejectedoffertopurchaseGetCommunicationsendersV1Response from a dict +rejectedoffertopurchase_get_communicationsenders_v1_response_from_dict = RejectedoffertopurchaseGetCommunicationsendersV1Response.from_dict(rejectedoffertopurchase_get_communicationsenders_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.md b/docs/RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.md new file mode 100644 index 000000000..6fc83a5f2 --- /dev/null +++ b/docs/RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload + +Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationsenders + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationsenders** | [**List[CustomCommunicationsenderResponse]**](CustomCommunicationsenderResponse.md) | | + +## Example + +```python +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload from a JSON string +rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload_instance = RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.to_json()) + +# convert the object into a dict +rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload_dict = rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload_instance.to_dict() +# create an instance of RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload from a dict +rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload_from_dict = RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.from_dict(rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ScimAuthenticationScheme.md b/docs/ScimAuthenticationScheme.md index 525aa471f..a7e8c5ca1 100644 --- a/docs/ScimAuthenticationScheme.md +++ b/docs/ScimAuthenticationScheme.md @@ -24,7 +24,7 @@ print(ScimAuthenticationScheme.to_json()) # convert the object into a dict scim_authentication_scheme_dict = scim_authentication_scheme_instance.to_dict() # create an instance of ScimAuthenticationScheme from a dict -scim_authentication_scheme_form_dict = scim_authentication_scheme.from_dict(scim_authentication_scheme_dict) +scim_authentication_scheme_from_dict = ScimAuthenticationScheme.from_dict(scim_authentication_scheme_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimEmail.md b/docs/ScimEmail.md index 7a7b543b8..960945edf 100644 --- a/docs/ScimEmail.md +++ b/docs/ScimEmail.md @@ -23,7 +23,7 @@ print(ScimEmail.to_json()) # convert the object into a dict scim_email_dict = scim_email_instance.to_dict() # create an instance of ScimEmail from a dict -scim_email_form_dict = scim_email.from_dict(scim_email_dict) +scim_email_from_dict = ScimEmail.from_dict(scim_email_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimGroup.md b/docs/ScimGroup.md index eb6211a45..7df0e5f12 100644 --- a/docs/ScimGroup.md +++ b/docs/ScimGroup.md @@ -24,7 +24,7 @@ print(ScimGroup.to_json()) # convert the object into a dict scim_group_dict = scim_group_instance.to_dict() # create an instance of ScimGroup from a dict -scim_group_form_dict = scim_group.from_dict(scim_group_dict) +scim_group_from_dict = ScimGroup.from_dict(scim_group_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimGroupMember.md b/docs/ScimGroupMember.md index 087918922..d7e4d6bcd 100644 --- a/docs/ScimGroupMember.md +++ b/docs/ScimGroupMember.md @@ -25,7 +25,7 @@ print(ScimGroupMember.to_json()) # convert the object into a dict scim_group_member_dict = scim_group_member_instance.to_dict() # create an instance of ScimGroupMember from a dict -scim_group_member_form_dict = scim_group_member.from_dict(scim_group_member_dict) +scim_group_member_from_dict = ScimGroupMember.from_dict(scim_group_member_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimServiceProviderConfig.md b/docs/ScimServiceProviderConfig.md index e8b97fb8d..fa682b053 100644 --- a/docs/ScimServiceProviderConfig.md +++ b/docs/ScimServiceProviderConfig.md @@ -29,7 +29,7 @@ print(ScimServiceProviderConfig.to_json()) # convert the object into a dict scim_service_provider_config_dict = scim_service_provider_config_instance.to_dict() # create an instance of ScimServiceProviderConfig from a dict -scim_service_provider_config_form_dict = scim_service_provider_config.from_dict(scim_service_provider_config_dict) +scim_service_provider_config_from_dict = ScimServiceProviderConfig.from_dict(scim_service_provider_config_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimServiceProviderConfigBulk.md b/docs/ScimServiceProviderConfigBulk.md index 98fde24a5..773152477 100644 --- a/docs/ScimServiceProviderConfigBulk.md +++ b/docs/ScimServiceProviderConfigBulk.md @@ -25,7 +25,7 @@ print(ScimServiceProviderConfigBulk.to_json()) # convert the object into a dict scim_service_provider_config_bulk_dict = scim_service_provider_config_bulk_instance.to_dict() # create an instance of ScimServiceProviderConfigBulk from a dict -scim_service_provider_config_bulk_form_dict = scim_service_provider_config_bulk.from_dict(scim_service_provider_config_bulk_dict) +scim_service_provider_config_bulk_from_dict = ScimServiceProviderConfigBulk.from_dict(scim_service_provider_config_bulk_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimServiceProviderConfigChangePassword.md b/docs/ScimServiceProviderConfigChangePassword.md index 773fc63a3..db09b6a37 100644 --- a/docs/ScimServiceProviderConfigChangePassword.md +++ b/docs/ScimServiceProviderConfigChangePassword.md @@ -23,7 +23,7 @@ print(ScimServiceProviderConfigChangePassword.to_json()) # convert the object into a dict scim_service_provider_config_change_password_dict = scim_service_provider_config_change_password_instance.to_dict() # create an instance of ScimServiceProviderConfigChangePassword from a dict -scim_service_provider_config_change_password_form_dict = scim_service_provider_config_change_password.from_dict(scim_service_provider_config_change_password_dict) +scim_service_provider_config_change_password_from_dict = ScimServiceProviderConfigChangePassword.from_dict(scim_service_provider_config_change_password_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimServiceProviderConfigEtag.md b/docs/ScimServiceProviderConfigEtag.md index 140b571d0..d634f7d63 100644 --- a/docs/ScimServiceProviderConfigEtag.md +++ b/docs/ScimServiceProviderConfigEtag.md @@ -23,7 +23,7 @@ print(ScimServiceProviderConfigEtag.to_json()) # convert the object into a dict scim_service_provider_config_etag_dict = scim_service_provider_config_etag_instance.to_dict() # create an instance of ScimServiceProviderConfigEtag from a dict -scim_service_provider_config_etag_form_dict = scim_service_provider_config_etag.from_dict(scim_service_provider_config_etag_dict) +scim_service_provider_config_etag_from_dict = ScimServiceProviderConfigEtag.from_dict(scim_service_provider_config_etag_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimServiceProviderConfigFilter.md b/docs/ScimServiceProviderConfigFilter.md index ddf722fc7..3a29cdd30 100644 --- a/docs/ScimServiceProviderConfigFilter.md +++ b/docs/ScimServiceProviderConfigFilter.md @@ -24,7 +24,7 @@ print(ScimServiceProviderConfigFilter.to_json()) # convert the object into a dict scim_service_provider_config_filter_dict = scim_service_provider_config_filter_instance.to_dict() # create an instance of ScimServiceProviderConfigFilter from a dict -scim_service_provider_config_filter_form_dict = scim_service_provider_config_filter.from_dict(scim_service_provider_config_filter_dict) +scim_service_provider_config_filter_from_dict = ScimServiceProviderConfigFilter.from_dict(scim_service_provider_config_filter_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimServiceProviderConfigPatch.md b/docs/ScimServiceProviderConfigPatch.md index 405cd0b43..3516ede21 100644 --- a/docs/ScimServiceProviderConfigPatch.md +++ b/docs/ScimServiceProviderConfigPatch.md @@ -23,7 +23,7 @@ print(ScimServiceProviderConfigPatch.to_json()) # convert the object into a dict scim_service_provider_config_patch_dict = scim_service_provider_config_patch_instance.to_dict() # create an instance of ScimServiceProviderConfigPatch from a dict -scim_service_provider_config_patch_form_dict = scim_service_provider_config_patch.from_dict(scim_service_provider_config_patch_dict) +scim_service_provider_config_patch_from_dict = ScimServiceProviderConfigPatch.from_dict(scim_service_provider_config_patch_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimServiceProviderConfigSort.md b/docs/ScimServiceProviderConfigSort.md index 337600295..bfc657222 100644 --- a/docs/ScimServiceProviderConfigSort.md +++ b/docs/ScimServiceProviderConfigSort.md @@ -23,7 +23,7 @@ print(ScimServiceProviderConfigSort.to_json()) # convert the object into a dict scim_service_provider_config_sort_dict = scim_service_provider_config_sort_instance.to_dict() # create an instance of ScimServiceProviderConfigSort from a dict -scim_service_provider_config_sort_form_dict = scim_service_provider_config_sort.from_dict(scim_service_provider_config_sort_dict) +scim_service_provider_config_sort_from_dict = ScimServiceProviderConfigSort.from_dict(scim_service_provider_config_sort_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimUser.md b/docs/ScimUser.md index f26d03742..edcb1c942 100644 --- a/docs/ScimUser.md +++ b/docs/ScimUser.md @@ -25,7 +25,7 @@ print(ScimUser.to_json()) # convert the object into a dict scim_user_dict = scim_user_instance.to_dict() # create an instance of ScimUser from a dict -scim_user_form_dict = scim_user.from_dict(scim_user_dict) +scim_user_from_dict = ScimUser.from_dict(scim_user_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimUserList.md b/docs/ScimUserList.md index 80076aa8f..eda8aa74e 100644 --- a/docs/ScimUserList.md +++ b/docs/ScimUserList.md @@ -26,7 +26,7 @@ print(ScimUserList.to_json()) # convert the object into a dict scim_user_list_dict = scim_user_list_instance.to_dict() # create an instance of ScimUserList from a dict -scim_user_list_form_dict = scim_user_list.from_dict(scim_user_list_dict) +scim_user_list_from_dict = ScimUserList.from_dict(scim_user_list_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SecretquestionAutocompleteElementResponse.md b/docs/SecretquestionAutocompleteElementResponse.md index a1eb3cdd7..ce0f14221 100644 --- a/docs/SecretquestionAutocompleteElementResponse.md +++ b/docs/SecretquestionAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(SecretquestionAutocompleteElementResponse.to_json()) # convert the object into a dict secretquestion_autocomplete_element_response_dict = secretquestion_autocomplete_element_response_instance.to_dict() # create an instance of SecretquestionAutocompleteElementResponse from a dict -secretquestion_autocomplete_element_response_form_dict = secretquestion_autocomplete_element_response.from_dict(secretquestion_autocomplete_element_response_dict) +secretquestion_autocomplete_element_response_from_dict = SecretquestionAutocompleteElementResponse.from_dict(secretquestion_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SecretquestionGetAutocompleteV2Response.md b/docs/SecretquestionGetAutocompleteV2Response.md index ec29abb0c..6de8275bd 100644 --- a/docs/SecretquestionGetAutocompleteV2Response.md +++ b/docs/SecretquestionGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(SecretquestionGetAutocompleteV2Response.to_json()) # convert the object into a dict secretquestion_get_autocomplete_v2_response_dict = secretquestion_get_autocomplete_v2_response_instance.to_dict() # create an instance of SecretquestionGetAutocompleteV2Response from a dict -secretquestion_get_autocomplete_v2_response_form_dict = secretquestion_get_autocomplete_v2_response.from_dict(secretquestion_get_autocomplete_v2_response_dict) +secretquestion_get_autocomplete_v2_response_from_dict = SecretquestionGetAutocompleteV2Response.from_dict(secretquestion_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SecretquestionGetAutocompleteV2ResponseMPayload.md b/docs/SecretquestionGetAutocompleteV2ResponseMPayload.md index 0843b7711..c54ef02c5 100644 --- a/docs/SecretquestionGetAutocompleteV2ResponseMPayload.md +++ b/docs/SecretquestionGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(SecretquestionGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict secretquestion_get_autocomplete_v2_response_m_payload_dict = secretquestion_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of SecretquestionGetAutocompleteV2ResponseMPayload from a dict -secretquestion_get_autocomplete_v2_response_m_payload_form_dict = secretquestion_get_autocomplete_v2_response_m_payload.from_dict(secretquestion_get_autocomplete_v2_response_m_payload_dict) +secretquestion_get_autocomplete_v2_response_m_payload_from_dict = SecretquestionGetAutocompleteV2ResponseMPayload.from_dict(secretquestion_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SessionhistoryGetListV1Response.md b/docs/SessionhistoryGetListV1Response.md index 347683ce9..4b8cd8441 100644 --- a/docs/SessionhistoryGetListV1Response.md +++ b/docs/SessionhistoryGetListV1Response.md @@ -25,7 +25,7 @@ print(SessionhistoryGetListV1Response.to_json()) # convert the object into a dict sessionhistory_get_list_v1_response_dict = sessionhistory_get_list_v1_response_instance.to_dict() # create an instance of SessionhistoryGetListV1Response from a dict -sessionhistory_get_list_v1_response_form_dict = sessionhistory_get_list_v1_response.from_dict(sessionhistory_get_list_v1_response_dict) +sessionhistory_get_list_v1_response_from_dict = SessionhistoryGetListV1Response.from_dict(sessionhistory_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SessionhistoryGetListV1ResponseMPayload.md b/docs/SessionhistoryGetListV1ResponseMPayload.md index 795d5423e..03e4f183f 100644 --- a/docs/SessionhistoryGetListV1ResponseMPayload.md +++ b/docs/SessionhistoryGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(SessionhistoryGetListV1ResponseMPayload.to_json()) # convert the object into a dict sessionhistory_get_list_v1_response_m_payload_dict = sessionhistory_get_list_v1_response_m_payload_instance.to_dict() # create an instance of SessionhistoryGetListV1ResponseMPayload from a dict -sessionhistory_get_list_v1_response_m_payload_form_dict = sessionhistory_get_list_v1_response_m_payload.from_dict(sessionhistory_get_list_v1_response_m_payload_dict) +sessionhistory_get_list_v1_response_m_payload_from_dict = SessionhistoryGetListV1ResponseMPayload.from_dict(sessionhistory_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SessionhistoryListElement.md b/docs/SessionhistoryListElement.md index f5b18893c..7f0b9f467 100644 --- a/docs/SessionhistoryListElement.md +++ b/docs/SessionhistoryListElement.md @@ -32,7 +32,7 @@ print(SessionhistoryListElement.to_json()) # convert the object into a dict sessionhistory_list_element_dict = sessionhistory_list_element_instance.to_dict() # create an instance of SessionhistoryListElement from a dict -sessionhistory_list_element_form_dict = sessionhistory_list_element.from_dict(sessionhistory_list_element_dict) +sessionhistory_list_element_from_dict = SessionhistoryListElement.from_dict(sessionhistory_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureCreateObjectV1Request.md b/docs/SignatureCreateObjectV1Request.md index c9ac20df1..b532b484d 100644 --- a/docs/SignatureCreateObjectV1Request.md +++ b/docs/SignatureCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(SignatureCreateObjectV1Request.to_json()) # convert the object into a dict signature_create_object_v1_request_dict = signature_create_object_v1_request_instance.to_dict() # create an instance of SignatureCreateObjectV1Request from a dict -signature_create_object_v1_request_form_dict = signature_create_object_v1_request.from_dict(signature_create_object_v1_request_dict) +signature_create_object_v1_request_from_dict = SignatureCreateObjectV1Request.from_dict(signature_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureCreateObjectV1Response.md b/docs/SignatureCreateObjectV1Response.md index 557d27cec..e54044fe4 100644 --- a/docs/SignatureCreateObjectV1Response.md +++ b/docs/SignatureCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(SignatureCreateObjectV1Response.to_json()) # convert the object into a dict signature_create_object_v1_response_dict = signature_create_object_v1_response_instance.to_dict() # create an instance of SignatureCreateObjectV1Response from a dict -signature_create_object_v1_response_form_dict = signature_create_object_v1_response.from_dict(signature_create_object_v1_response_dict) +signature_create_object_v1_response_from_dict = SignatureCreateObjectV1Response.from_dict(signature_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureCreateObjectV1ResponseMPayload.md b/docs/SignatureCreateObjectV1ResponseMPayload.md index 4fce474cd..f3d347662 100644 --- a/docs/SignatureCreateObjectV1ResponseMPayload.md +++ b/docs/SignatureCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(SignatureCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict signature_create_object_v1_response_m_payload_dict = signature_create_object_v1_response_m_payload_instance.to_dict() # create an instance of SignatureCreateObjectV1ResponseMPayload from a dict -signature_create_object_v1_response_m_payload_form_dict = signature_create_object_v1_response_m_payload.from_dict(signature_create_object_v1_response_m_payload_dict) +signature_create_object_v1_response_m_payload_from_dict = SignatureCreateObjectV1ResponseMPayload.from_dict(signature_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureDeleteObjectV1Response.md b/docs/SignatureDeleteObjectV1Response.md index 619aaf67c..c9b9bbca5 100644 --- a/docs/SignatureDeleteObjectV1Response.md +++ b/docs/SignatureDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(SignatureDeleteObjectV1Response.to_json()) # convert the object into a dict signature_delete_object_v1_response_dict = signature_delete_object_v1_response_instance.to_dict() # create an instance of SignatureDeleteObjectV1Response from a dict -signature_delete_object_v1_response_form_dict = signature_delete_object_v1_response.from_dict(signature_delete_object_v1_response_dict) +signature_delete_object_v1_response_from_dict = SignatureDeleteObjectV1Response.from_dict(signature_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureEditObjectV1Request.md b/docs/SignatureEditObjectV1Request.md index df9a12fc0..7eed5da3e 100644 --- a/docs/SignatureEditObjectV1Request.md +++ b/docs/SignatureEditObjectV1Request.md @@ -23,7 +23,7 @@ print(SignatureEditObjectV1Request.to_json()) # convert the object into a dict signature_edit_object_v1_request_dict = signature_edit_object_v1_request_instance.to_dict() # create an instance of SignatureEditObjectV1Request from a dict -signature_edit_object_v1_request_form_dict = signature_edit_object_v1_request.from_dict(signature_edit_object_v1_request_dict) +signature_edit_object_v1_request_from_dict = SignatureEditObjectV1Request.from_dict(signature_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureEditObjectV1Response.md b/docs/SignatureEditObjectV1Response.md index 80a2fa6cc..7f001f049 100644 --- a/docs/SignatureEditObjectV1Response.md +++ b/docs/SignatureEditObjectV1Response.md @@ -24,7 +24,7 @@ print(SignatureEditObjectV1Response.to_json()) # convert the object into a dict signature_edit_object_v1_response_dict = signature_edit_object_v1_response_instance.to_dict() # create an instance of SignatureEditObjectV1Response from a dict -signature_edit_object_v1_response_form_dict = signature_edit_object_v1_response.from_dict(signature_edit_object_v1_response_dict) +signature_edit_object_v1_response_from_dict = SignatureEditObjectV1Response.from_dict(signature_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureGetObjectV2Response.md b/docs/SignatureGetObjectV2Response.md index 416cd7ed5..cb40486f7 100644 --- a/docs/SignatureGetObjectV2Response.md +++ b/docs/SignatureGetObjectV2Response.md @@ -25,7 +25,7 @@ print(SignatureGetObjectV2Response.to_json()) # convert the object into a dict signature_get_object_v2_response_dict = signature_get_object_v2_response_instance.to_dict() # create an instance of SignatureGetObjectV2Response from a dict -signature_get_object_v2_response_form_dict = signature_get_object_v2_response.from_dict(signature_get_object_v2_response_dict) +signature_get_object_v2_response_from_dict = SignatureGetObjectV2Response.from_dict(signature_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureGetObjectV2ResponseMPayload.md b/docs/SignatureGetObjectV2ResponseMPayload.md index 27b247611..ac1c18d9a 100644 --- a/docs/SignatureGetObjectV2ResponseMPayload.md +++ b/docs/SignatureGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(SignatureGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict signature_get_object_v2_response_m_payload_dict = signature_get_object_v2_response_m_payload_instance.to_dict() # create an instance of SignatureGetObjectV2ResponseMPayload from a dict -signature_get_object_v2_response_m_payload_form_dict = signature_get_object_v2_response_m_payload.from_dict(signature_get_object_v2_response_m_payload_dict) +signature_get_object_v2_response_m_payload_from_dict = SignatureGetObjectV2ResponseMPayload.from_dict(signature_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureGetObjectV3Response.md b/docs/SignatureGetObjectV3Response.md new file mode 100644 index 000000000..c650bd0f4 --- /dev/null +++ b/docs/SignatureGetObjectV3Response.md @@ -0,0 +1,32 @@ +# SignatureGetObjectV3Response + +Response for GET /3/object/signature/{pkiSignatureID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**SignatureGetObjectV3ResponseMPayload**](SignatureGetObjectV3ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.signature_get_object_v3_response import SignatureGetObjectV3Response + +# TODO update the JSON string below +json = "{}" +# create an instance of SignatureGetObjectV3Response from a JSON string +signature_get_object_v3_response_instance = SignatureGetObjectV3Response.from_json(json) +# print the JSON string representation of the object +print(SignatureGetObjectV3Response.to_json()) + +# convert the object into a dict +signature_get_object_v3_response_dict = signature_get_object_v3_response_instance.to_dict() +# create an instance of SignatureGetObjectV3Response from a dict +signature_get_object_v3_response_from_dict = SignatureGetObjectV3Response.from_dict(signature_get_object_v3_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SignatureGetObjectV3ResponseMPayload.md b/docs/SignatureGetObjectV3ResponseMPayload.md new file mode 100644 index 000000000..7a6f762a2 --- /dev/null +++ b/docs/SignatureGetObjectV3ResponseMPayload.md @@ -0,0 +1,30 @@ +# SignatureGetObjectV3ResponseMPayload + +Payload for GET /3/object/signature/{pkiSignatureID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_signature** | [**SignatureResponseCompoundV3**](SignatureResponseCompoundV3.md) | | + +## Example + +```python +from eZmaxApi.models.signature_get_object_v3_response_m_payload import SignatureGetObjectV3ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of SignatureGetObjectV3ResponseMPayload from a JSON string +signature_get_object_v3_response_m_payload_instance = SignatureGetObjectV3ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(SignatureGetObjectV3ResponseMPayload.to_json()) + +# convert the object into a dict +signature_get_object_v3_response_m_payload_dict = signature_get_object_v3_response_m_payload_instance.to_dict() +# create an instance of SignatureGetObjectV3ResponseMPayload from a dict +signature_get_object_v3_response_m_payload_from_dict = SignatureGetObjectV3ResponseMPayload.from_dict(signature_get_object_v3_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SignatureRequest.md b/docs/SignatureRequest.md index caf30a6cb..58af65d9c 100644 --- a/docs/SignatureRequest.md +++ b/docs/SignatureRequest.md @@ -7,7 +7,10 @@ A Signature Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_signature_id** | **int** | The unique ID of the Signature | [optional] -**t_signature_svg** | **str** | The svg of the Signature | +**fki_font_id** | **int** | The unique ID of the Font | +**e_signature_preference** | [**FieldESignaturePreference**](FieldESignaturePreference.md) | | +**t_signature_svg** | **str** | The svg of the Signature | [optional] +**t_signature_svginitials** | **str** | The svg of the Initials | [optional] ## Example @@ -24,7 +27,7 @@ print(SignatureRequest.to_json()) # convert the object into a dict signature_request_dict = signature_request_instance.to_dict() # create an instance of SignatureRequest from a dict -signature_request_form_dict = signature_request.from_dict(signature_request_dict) +signature_request_from_dict = SignatureRequest.from_dict(signature_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureRequestCompound.md b/docs/SignatureRequestCompound.md index 3907ef24e..53092cd59 100644 --- a/docs/SignatureRequestCompound.md +++ b/docs/SignatureRequestCompound.md @@ -7,7 +7,10 @@ A Signature Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_signature_id** | **int** | The unique ID of the Signature | [optional] -**t_signature_svg** | **str** | The svg of the Signature | +**fki_font_id** | **int** | The unique ID of the Font | +**e_signature_preference** | [**FieldESignaturePreference**](FieldESignaturePreference.md) | | +**t_signature_svg** | **str** | The svg of the Signature | [optional] +**t_signature_svginitials** | **str** | The svg of the Initials | [optional] ## Example @@ -24,7 +27,7 @@ print(SignatureRequestCompound.to_json()) # convert the object into a dict signature_request_compound_dict = signature_request_compound_instance.to_dict() # create an instance of SignatureRequestCompound from a dict -signature_request_compound_form_dict = signature_request_compound.from_dict(signature_request_compound_dict) +signature_request_compound_from_dict = SignatureRequestCompound.from_dict(signature_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureResponse.md b/docs/SignatureResponse.md index 5c12d1850..572f65230 100644 --- a/docs/SignatureResponse.md +++ b/docs/SignatureResponse.md @@ -7,7 +7,9 @@ A Signature Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_signature_id** | **int** | The unique ID of the Signature | -**s_signature_url** | **str** | The URL of the SVG file for the Signature | +**fki_font_id** | **int** | The unique ID of the Font | [optional] +**s_signature_url** | **str** | The URL of the SVG file for the Signature | [optional] +**s_signature_urlinitials** | **str** | The URL of the SVG file for the Initials | [optional] ## Example @@ -24,7 +26,7 @@ print(SignatureResponse.to_json()) # convert the object into a dict signature_response_dict = signature_response_instance.to_dict() # create an instance of SignatureResponse from a dict -signature_response_form_dict = signature_response.from_dict(signature_response_dict) +signature_response_from_dict = SignatureResponse.from_dict(signature_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureResponseCompound.md b/docs/SignatureResponseCompound.md index 36ddee2a3..da0936dd0 100644 --- a/docs/SignatureResponseCompound.md +++ b/docs/SignatureResponseCompound.md @@ -7,7 +7,9 @@ A Signature Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_signature_id** | **int** | The unique ID of the Signature | -**s_signature_url** | **str** | The URL of the SVG file for the Signature | +**fki_font_id** | **int** | The unique ID of the Font | [optional] +**s_signature_url** | **str** | The URL of the SVG file for the Signature | [optional] +**s_signature_urlinitials** | **str** | The URL of the SVG file for the Initials | [optional] ## Example @@ -24,7 +26,7 @@ print(SignatureResponseCompound.to_json()) # convert the object into a dict signature_response_compound_dict = signature_response_compound_instance.to_dict() # create an instance of SignatureResponseCompound from a dict -signature_response_compound_form_dict = signature_response_compound.from_dict(signature_response_compound_dict) +signature_response_compound_from_dict = SignatureResponseCompound.from_dict(signature_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureResponseCompoundV3.md b/docs/SignatureResponseCompoundV3.md new file mode 100644 index 000000000..63db0e31e --- /dev/null +++ b/docs/SignatureResponseCompoundV3.md @@ -0,0 +1,34 @@ +# SignatureResponseCompoundV3 + +A Signature Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_signature_id** | **int** | The unique ID of the Signature | +**fki_font_id** | **int** | The unique ID of the Font | +**e_signature_preference** | [**FieldESignaturePreference**](FieldESignaturePreference.md) | | +**b_signature_svg** | **bool** | Whether the signature has a SVG or not | +**b_signature_svginitials** | **bool** | Whether the initials has a SVG or not | + +## Example + +```python +from eZmaxApi.models.signature_response_compound_v3 import SignatureResponseCompoundV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of SignatureResponseCompoundV3 from a JSON string +signature_response_compound_v3_instance = SignatureResponseCompoundV3.from_json(json) +# print the JSON string representation of the object +print(SignatureResponseCompoundV3.to_json()) + +# convert the object into a dict +signature_response_compound_v3_dict = signature_response_compound_v3_instance.to_dict() +# create an instance of SignatureResponseCompoundV3 from a dict +signature_response_compound_v3_from_dict = SignatureResponseCompoundV3.from_dict(signature_response_compound_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SignatureResponseV3.md b/docs/SignatureResponseV3.md new file mode 100644 index 000000000..00e311b4b --- /dev/null +++ b/docs/SignatureResponseV3.md @@ -0,0 +1,34 @@ +# SignatureResponseV3 + +A Signature Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_signature_id** | **int** | The unique ID of the Signature | +**fki_font_id** | **int** | The unique ID of the Font | +**e_signature_preference** | [**FieldESignaturePreference**](FieldESignaturePreference.md) | | +**b_signature_svg** | **bool** | Whether the signature has a SVG or not | +**b_signature_svginitials** | **bool** | Whether the initials has a SVG or not | + +## Example + +```python +from eZmaxApi.models.signature_response_v3 import SignatureResponseV3 + +# TODO update the JSON string below +json = "{}" +# create an instance of SignatureResponseV3 from a JSON string +signature_response_v3_instance = SignatureResponseV3.from_json(json) +# print the JSON string representation of the object +print(SignatureResponseV3.to_json()) + +# convert the object into a dict +signature_response_v3_dict = signature_response_v3_instance.to_dict() +# create an instance of SignatureResponseV3 from a dict +signature_response_v3_from_dict = SignatureResponseV3.from_dict(signature_response_v3_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SubnetCreateObjectV1Request.md b/docs/SubnetCreateObjectV1Request.md index b7b663a10..6f4b4d4cd 100644 --- a/docs/SubnetCreateObjectV1Request.md +++ b/docs/SubnetCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(SubnetCreateObjectV1Request.to_json()) # convert the object into a dict subnet_create_object_v1_request_dict = subnet_create_object_v1_request_instance.to_dict() # create an instance of SubnetCreateObjectV1Request from a dict -subnet_create_object_v1_request_form_dict = subnet_create_object_v1_request.from_dict(subnet_create_object_v1_request_dict) +subnet_create_object_v1_request_from_dict = SubnetCreateObjectV1Request.from_dict(subnet_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetCreateObjectV1Response.md b/docs/SubnetCreateObjectV1Response.md index 31f69bc20..80bb0ece8 100644 --- a/docs/SubnetCreateObjectV1Response.md +++ b/docs/SubnetCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(SubnetCreateObjectV1Response.to_json()) # convert the object into a dict subnet_create_object_v1_response_dict = subnet_create_object_v1_response_instance.to_dict() # create an instance of SubnetCreateObjectV1Response from a dict -subnet_create_object_v1_response_form_dict = subnet_create_object_v1_response.from_dict(subnet_create_object_v1_response_dict) +subnet_create_object_v1_response_from_dict = SubnetCreateObjectV1Response.from_dict(subnet_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetCreateObjectV1ResponseMPayload.md b/docs/SubnetCreateObjectV1ResponseMPayload.md index d246da5a3..2cfc825b5 100644 --- a/docs/SubnetCreateObjectV1ResponseMPayload.md +++ b/docs/SubnetCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(SubnetCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict subnet_create_object_v1_response_m_payload_dict = subnet_create_object_v1_response_m_payload_instance.to_dict() # create an instance of SubnetCreateObjectV1ResponseMPayload from a dict -subnet_create_object_v1_response_m_payload_form_dict = subnet_create_object_v1_response_m_payload.from_dict(subnet_create_object_v1_response_m_payload_dict) +subnet_create_object_v1_response_m_payload_from_dict = SubnetCreateObjectV1ResponseMPayload.from_dict(subnet_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetDeleteObjectV1Response.md b/docs/SubnetDeleteObjectV1Response.md index e40397221..56ee11f58 100644 --- a/docs/SubnetDeleteObjectV1Response.md +++ b/docs/SubnetDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(SubnetDeleteObjectV1Response.to_json()) # convert the object into a dict subnet_delete_object_v1_response_dict = subnet_delete_object_v1_response_instance.to_dict() # create an instance of SubnetDeleteObjectV1Response from a dict -subnet_delete_object_v1_response_form_dict = subnet_delete_object_v1_response.from_dict(subnet_delete_object_v1_response_dict) +subnet_delete_object_v1_response_from_dict = SubnetDeleteObjectV1Response.from_dict(subnet_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetEditObjectV1Request.md b/docs/SubnetEditObjectV1Request.md index 9148eea09..03e239926 100644 --- a/docs/SubnetEditObjectV1Request.md +++ b/docs/SubnetEditObjectV1Request.md @@ -23,7 +23,7 @@ print(SubnetEditObjectV1Request.to_json()) # convert the object into a dict subnet_edit_object_v1_request_dict = subnet_edit_object_v1_request_instance.to_dict() # create an instance of SubnetEditObjectV1Request from a dict -subnet_edit_object_v1_request_form_dict = subnet_edit_object_v1_request.from_dict(subnet_edit_object_v1_request_dict) +subnet_edit_object_v1_request_from_dict = SubnetEditObjectV1Request.from_dict(subnet_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetEditObjectV1Response.md b/docs/SubnetEditObjectV1Response.md index 6246a78a0..b7014404b 100644 --- a/docs/SubnetEditObjectV1Response.md +++ b/docs/SubnetEditObjectV1Response.md @@ -24,7 +24,7 @@ print(SubnetEditObjectV1Response.to_json()) # convert the object into a dict subnet_edit_object_v1_response_dict = subnet_edit_object_v1_response_instance.to_dict() # create an instance of SubnetEditObjectV1Response from a dict -subnet_edit_object_v1_response_form_dict = subnet_edit_object_v1_response.from_dict(subnet_edit_object_v1_response_dict) +subnet_edit_object_v1_response_from_dict = SubnetEditObjectV1Response.from_dict(subnet_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetGetObjectV2Response.md b/docs/SubnetGetObjectV2Response.md index 3f6c7159d..9e9069b11 100644 --- a/docs/SubnetGetObjectV2Response.md +++ b/docs/SubnetGetObjectV2Response.md @@ -25,7 +25,7 @@ print(SubnetGetObjectV2Response.to_json()) # convert the object into a dict subnet_get_object_v2_response_dict = subnet_get_object_v2_response_instance.to_dict() # create an instance of SubnetGetObjectV2Response from a dict -subnet_get_object_v2_response_form_dict = subnet_get_object_v2_response.from_dict(subnet_get_object_v2_response_dict) +subnet_get_object_v2_response_from_dict = SubnetGetObjectV2Response.from_dict(subnet_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetGetObjectV2ResponseMPayload.md b/docs/SubnetGetObjectV2ResponseMPayload.md index 2fa8651e7..0b8136a6a 100644 --- a/docs/SubnetGetObjectV2ResponseMPayload.md +++ b/docs/SubnetGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(SubnetGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict subnet_get_object_v2_response_m_payload_dict = subnet_get_object_v2_response_m_payload_instance.to_dict() # create an instance of SubnetGetObjectV2ResponseMPayload from a dict -subnet_get_object_v2_response_m_payload_form_dict = subnet_get_object_v2_response_m_payload.from_dict(subnet_get_object_v2_response_m_payload_dict) +subnet_get_object_v2_response_m_payload_from_dict = SubnetGetObjectV2ResponseMPayload.from_dict(subnet_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetRequest.md b/docs/SubnetRequest.md index 14946d627..62132571b 100644 --- a/docs/SubnetRequest.md +++ b/docs/SubnetRequest.md @@ -28,7 +28,7 @@ print(SubnetRequest.to_json()) # convert the object into a dict subnet_request_dict = subnet_request_instance.to_dict() # create an instance of SubnetRequest from a dict -subnet_request_form_dict = subnet_request.from_dict(subnet_request_dict) +subnet_request_from_dict = SubnetRequest.from_dict(subnet_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetRequestCompound.md b/docs/SubnetRequestCompound.md index f62d0c1ac..00708da97 100644 --- a/docs/SubnetRequestCompound.md +++ b/docs/SubnetRequestCompound.md @@ -28,7 +28,7 @@ print(SubnetRequestCompound.to_json()) # convert the object into a dict subnet_request_compound_dict = subnet_request_compound_instance.to_dict() # create an instance of SubnetRequestCompound from a dict -subnet_request_compound_form_dict = subnet_request_compound.from_dict(subnet_request_compound_dict) +subnet_request_compound_from_dict = SubnetRequestCompound.from_dict(subnet_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetResponse.md b/docs/SubnetResponse.md index d9461725c..5ac2bba1b 100644 --- a/docs/SubnetResponse.md +++ b/docs/SubnetResponse.md @@ -28,7 +28,7 @@ print(SubnetResponse.to_json()) # convert the object into a dict subnet_response_dict = subnet_response_instance.to_dict() # create an instance of SubnetResponse from a dict -subnet_response_form_dict = subnet_response.from_dict(subnet_response_dict) +subnet_response_from_dict = SubnetResponse.from_dict(subnet_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubnetResponseCompound.md b/docs/SubnetResponseCompound.md index 826160583..bb80cd864 100644 --- a/docs/SubnetResponseCompound.md +++ b/docs/SubnetResponseCompound.md @@ -28,7 +28,7 @@ print(SubnetResponseCompound.to_json()) # convert the object into a dict subnet_response_compound_dict = subnet_response_compound_instance.to_dict() # create an instance of SubnetResponseCompound from a dict -subnet_response_compound_form_dict = subnet_response_compound.from_dict(subnet_response_compound_dict) +subnet_response_compound_from_dict = SubnetResponseCompound.from_dict(subnet_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SupplyAutocompleteElementResponse.md b/docs/SupplyAutocompleteElementResponse.md new file mode 100644 index 000000000..b2c19f550 --- /dev/null +++ b/docs/SupplyAutocompleteElementResponse.md @@ -0,0 +1,32 @@ +# SupplyAutocompleteElementResponse + +A Supply AutocompleteElement Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_supply_id** | **int** | The unique ID of the Supply | +**s_supply_description_x** | **str** | The description of the Supply in the language of the requester | +**b_supply_isactive** | **bool** | Whether the supply is active or not | + +## Example + +```python +from eZmaxApi.models.supply_autocomplete_element_response import SupplyAutocompleteElementResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyAutocompleteElementResponse from a JSON string +supply_autocomplete_element_response_instance = SupplyAutocompleteElementResponse.from_json(json) +# print the JSON string representation of the object +print(SupplyAutocompleteElementResponse.to_json()) + +# convert the object into a dict +supply_autocomplete_element_response_dict = supply_autocomplete_element_response_instance.to_dict() +# create an instance of SupplyAutocompleteElementResponse from a dict +supply_autocomplete_element_response_from_dict = SupplyAutocompleteElementResponse.from_dict(supply_autocomplete_element_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyCreateObjectV1Request.md b/docs/SupplyCreateObjectV1Request.md new file mode 100644 index 000000000..c87c7806b --- /dev/null +++ b/docs/SupplyCreateObjectV1Request.md @@ -0,0 +1,30 @@ +# SupplyCreateObjectV1Request + +Request for POST /1/object/supply + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_supply** | [**List[SupplyRequestCompound]**](SupplyRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.supply_create_object_v1_request import SupplyCreateObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyCreateObjectV1Request from a JSON string +supply_create_object_v1_request_instance = SupplyCreateObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(SupplyCreateObjectV1Request.to_json()) + +# convert the object into a dict +supply_create_object_v1_request_dict = supply_create_object_v1_request_instance.to_dict() +# create an instance of SupplyCreateObjectV1Request from a dict +supply_create_object_v1_request_from_dict = SupplyCreateObjectV1Request.from_dict(supply_create_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyCreateObjectV1Response.md b/docs/SupplyCreateObjectV1Response.md new file mode 100644 index 000000000..834c4d335 --- /dev/null +++ b/docs/SupplyCreateObjectV1Response.md @@ -0,0 +1,32 @@ +# SupplyCreateObjectV1Response + +Response for POST /1/object/supply + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**SupplyCreateObjectV1ResponseMPayload**](SupplyCreateObjectV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.supply_create_object_v1_response import SupplyCreateObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyCreateObjectV1Response from a JSON string +supply_create_object_v1_response_instance = SupplyCreateObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(SupplyCreateObjectV1Response.to_json()) + +# convert the object into a dict +supply_create_object_v1_response_dict = supply_create_object_v1_response_instance.to_dict() +# create an instance of SupplyCreateObjectV1Response from a dict +supply_create_object_v1_response_from_dict = SupplyCreateObjectV1Response.from_dict(supply_create_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyCreateObjectV1ResponseMPayload.md b/docs/SupplyCreateObjectV1ResponseMPayload.md new file mode 100644 index 000000000..d7c690f67 --- /dev/null +++ b/docs/SupplyCreateObjectV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# SupplyCreateObjectV1ResponseMPayload + +Payload for POST /1/object/supply + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_supply_id** | **List[int]** | An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request. | + +## Example + +```python +from eZmaxApi.models.supply_create_object_v1_response_m_payload import SupplyCreateObjectV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyCreateObjectV1ResponseMPayload from a JSON string +supply_create_object_v1_response_m_payload_instance = SupplyCreateObjectV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(SupplyCreateObjectV1ResponseMPayload.to_json()) + +# convert the object into a dict +supply_create_object_v1_response_m_payload_dict = supply_create_object_v1_response_m_payload_instance.to_dict() +# create an instance of SupplyCreateObjectV1ResponseMPayload from a dict +supply_create_object_v1_response_m_payload_from_dict = SupplyCreateObjectV1ResponseMPayload.from_dict(supply_create_object_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyDeleteObjectV1Response.md b/docs/SupplyDeleteObjectV1Response.md new file mode 100644 index 000000000..3cf91d2c8 --- /dev/null +++ b/docs/SupplyDeleteObjectV1Response.md @@ -0,0 +1,31 @@ +# SupplyDeleteObjectV1Response + +Response for DELETE /1/object/supply/{pkiSupplyID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.supply_delete_object_v1_response import SupplyDeleteObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyDeleteObjectV1Response from a JSON string +supply_delete_object_v1_response_instance = SupplyDeleteObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(SupplyDeleteObjectV1Response.to_json()) + +# convert the object into a dict +supply_delete_object_v1_response_dict = supply_delete_object_v1_response_instance.to_dict() +# create an instance of SupplyDeleteObjectV1Response from a dict +supply_delete_object_v1_response_from_dict = SupplyDeleteObjectV1Response.from_dict(supply_delete_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyEditObjectV1Request.md b/docs/SupplyEditObjectV1Request.md new file mode 100644 index 000000000..5f3cc0aa3 --- /dev/null +++ b/docs/SupplyEditObjectV1Request.md @@ -0,0 +1,30 @@ +# SupplyEditObjectV1Request + +Request for PUT /1/object/supply/{pkiSupplyID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_supply** | [**SupplyRequestCompound**](SupplyRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.supply_edit_object_v1_request import SupplyEditObjectV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyEditObjectV1Request from a JSON string +supply_edit_object_v1_request_instance = SupplyEditObjectV1Request.from_json(json) +# print the JSON string representation of the object +print(SupplyEditObjectV1Request.to_json()) + +# convert the object into a dict +supply_edit_object_v1_request_dict = supply_edit_object_v1_request_instance.to_dict() +# create an instance of SupplyEditObjectV1Request from a dict +supply_edit_object_v1_request_from_dict = SupplyEditObjectV1Request.from_dict(supply_edit_object_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyEditObjectV1Response.md b/docs/SupplyEditObjectV1Response.md new file mode 100644 index 000000000..f620de316 --- /dev/null +++ b/docs/SupplyEditObjectV1Response.md @@ -0,0 +1,31 @@ +# SupplyEditObjectV1Response + +Response for PUT /1/object/supply/{pkiSupplyID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.supply_edit_object_v1_response import SupplyEditObjectV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyEditObjectV1Response from a JSON string +supply_edit_object_v1_response_instance = SupplyEditObjectV1Response.from_json(json) +# print the JSON string representation of the object +print(SupplyEditObjectV1Response.to_json()) + +# convert the object into a dict +supply_edit_object_v1_response_dict = supply_edit_object_v1_response_instance.to_dict() +# create an instance of SupplyEditObjectV1Response from a dict +supply_edit_object_v1_response_from_dict = SupplyEditObjectV1Response.from_dict(supply_edit_object_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyGetAutocompleteV2Response.md b/docs/SupplyGetAutocompleteV2Response.md new file mode 100644 index 000000000..7772ae995 --- /dev/null +++ b/docs/SupplyGetAutocompleteV2Response.md @@ -0,0 +1,32 @@ +# SupplyGetAutocompleteV2Response + +Response for GET /2/object/supply/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**SupplyGetAutocompleteV2ResponseMPayload**](SupplyGetAutocompleteV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.supply_get_autocomplete_v2_response import SupplyGetAutocompleteV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyGetAutocompleteV2Response from a JSON string +supply_get_autocomplete_v2_response_instance = SupplyGetAutocompleteV2Response.from_json(json) +# print the JSON string representation of the object +print(SupplyGetAutocompleteV2Response.to_json()) + +# convert the object into a dict +supply_get_autocomplete_v2_response_dict = supply_get_autocomplete_v2_response_instance.to_dict() +# create an instance of SupplyGetAutocompleteV2Response from a dict +supply_get_autocomplete_v2_response_from_dict = SupplyGetAutocompleteV2Response.from_dict(supply_get_autocomplete_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyGetAutocompleteV2ResponseMPayload.md b/docs/SupplyGetAutocompleteV2ResponseMPayload.md new file mode 100644 index 000000000..9f17b73e1 --- /dev/null +++ b/docs/SupplyGetAutocompleteV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# SupplyGetAutocompleteV2ResponseMPayload + +Payload for POST /2/object/supply/getAutocomplete + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_supply** | [**List[SupplyAutocompleteElementResponse]**](SupplyAutocompleteElementResponse.md) | An array of Supply autocomplete element response. | + +## Example + +```python +from eZmaxApi.models.supply_get_autocomplete_v2_response_m_payload import SupplyGetAutocompleteV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyGetAutocompleteV2ResponseMPayload from a JSON string +supply_get_autocomplete_v2_response_m_payload_instance = SupplyGetAutocompleteV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(SupplyGetAutocompleteV2ResponseMPayload.to_json()) + +# convert the object into a dict +supply_get_autocomplete_v2_response_m_payload_dict = supply_get_autocomplete_v2_response_m_payload_instance.to_dict() +# create an instance of SupplyGetAutocompleteV2ResponseMPayload from a dict +supply_get_autocomplete_v2_response_m_payload_from_dict = SupplyGetAutocompleteV2ResponseMPayload.from_dict(supply_get_autocomplete_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyGetListV1Response.md b/docs/SupplyGetListV1Response.md new file mode 100644 index 000000000..c121f6aa2 --- /dev/null +++ b/docs/SupplyGetListV1Response.md @@ -0,0 +1,32 @@ +# SupplyGetListV1Response + +Response for GET /1/object/supply/getList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**SupplyGetListV1ResponseMPayload**](SupplyGetListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.supply_get_list_v1_response import SupplyGetListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyGetListV1Response from a JSON string +supply_get_list_v1_response_instance = SupplyGetListV1Response.from_json(json) +# print the JSON string representation of the object +print(SupplyGetListV1Response.to_json()) + +# convert the object into a dict +supply_get_list_v1_response_dict = supply_get_list_v1_response_instance.to_dict() +# create an instance of SupplyGetListV1Response from a dict +supply_get_list_v1_response_from_dict = SupplyGetListV1Response.from_dict(supply_get_list_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyGetListV1ResponseMPayload.md b/docs/SupplyGetListV1ResponseMPayload.md new file mode 100644 index 000000000..34b01a8af --- /dev/null +++ b/docs/SupplyGetListV1ResponseMPayload.md @@ -0,0 +1,32 @@ +# SupplyGetListV1ResponseMPayload + +Payload for GET /1/object/supply/getList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | +**a_obj_supply** | [**List[SupplyListElement]**](SupplyListElement.md) | | + +## Example + +```python +from eZmaxApi.models.supply_get_list_v1_response_m_payload import SupplyGetListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyGetListV1ResponseMPayload from a JSON string +supply_get_list_v1_response_m_payload_instance = SupplyGetListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(SupplyGetListV1ResponseMPayload.to_json()) + +# convert the object into a dict +supply_get_list_v1_response_m_payload_dict = supply_get_list_v1_response_m_payload_instance.to_dict() +# create an instance of SupplyGetListV1ResponseMPayload from a dict +supply_get_list_v1_response_m_payload_from_dict = SupplyGetListV1ResponseMPayload.from_dict(supply_get_list_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyGetObjectV2Response.md b/docs/SupplyGetObjectV2Response.md new file mode 100644 index 000000000..e67593d57 --- /dev/null +++ b/docs/SupplyGetObjectV2Response.md @@ -0,0 +1,32 @@ +# SupplyGetObjectV2Response + +Response for GET /2/object/supply/{pkiSupplyID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**SupplyGetObjectV2ResponseMPayload**](SupplyGetObjectV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.supply_get_object_v2_response import SupplyGetObjectV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyGetObjectV2Response from a JSON string +supply_get_object_v2_response_instance = SupplyGetObjectV2Response.from_json(json) +# print the JSON string representation of the object +print(SupplyGetObjectV2Response.to_json()) + +# convert the object into a dict +supply_get_object_v2_response_dict = supply_get_object_v2_response_instance.to_dict() +# create an instance of SupplyGetObjectV2Response from a dict +supply_get_object_v2_response_from_dict = SupplyGetObjectV2Response.from_dict(supply_get_object_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyGetObjectV2ResponseMPayload.md b/docs/SupplyGetObjectV2ResponseMPayload.md new file mode 100644 index 000000000..476245f50 --- /dev/null +++ b/docs/SupplyGetObjectV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# SupplyGetObjectV2ResponseMPayload + +Payload for GET /2/object/supply/{pkiSupplyID} + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_supply** | [**SupplyResponseCompound**](SupplyResponseCompound.md) | | + +## Example + +```python +from eZmaxApi.models.supply_get_object_v2_response_m_payload import SupplyGetObjectV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyGetObjectV2ResponseMPayload from a JSON string +supply_get_object_v2_response_m_payload_instance = SupplyGetObjectV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(SupplyGetObjectV2ResponseMPayload.to_json()) + +# convert the object into a dict +supply_get_object_v2_response_m_payload_dict = supply_get_object_v2_response_m_payload_instance.to_dict() +# create an instance of SupplyGetObjectV2ResponseMPayload from a dict +supply_get_object_v2_response_m_payload_from_dict = SupplyGetObjectV2ResponseMPayload.from_dict(supply_get_object_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyListElement.md b/docs/SupplyListElement.md new file mode 100644 index 000000000..c95f217d6 --- /dev/null +++ b/docs/SupplyListElement.md @@ -0,0 +1,41 @@ +# SupplyListElement + +A Supply List Element + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_supply_id** | **int** | The unique ID of the Supply | +**fki_glaccount_id** | **int** | The unique ID of the Glaccount | [optional] +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | [optional] +**fki_variableexpense_id** | **int** | The unique ID of the Variableexpense | +**s_supply_code** | **str** | The code of the Supply | +**s_supply_description_x** | **str** | The description of the Supply in the language of the requester | +**d_supply_unitprice** | **str** | The unit price of the Supply | +**b_supply_isactive** | **bool** | Whether the supply is active or not | +**b_supply_variableprice** | **bool** | Whether if the price is variable | +**s_glaccount_description_x** | **str** | The Description for the Glaccount in the language of the requester | [optional] +**s_glaccountcontainer_longdescription_x** | **str** | The Description for the Glaccountcontainer in the language of the requester | [optional] +**s_variableexpense_description_x** | **str** | The description of the Variableexpense in the language of the requester | [optional] + +## Example + +```python +from eZmaxApi.models.supply_list_element import SupplyListElement + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyListElement from a JSON string +supply_list_element_instance = SupplyListElement.from_json(json) +# print the JSON string representation of the object +print(SupplyListElement.to_json()) + +# convert the object into a dict +supply_list_element_dict = supply_list_element_instance.to_dict() +# create an instance of SupplyListElement from a dict +supply_list_element_from_dict = SupplyListElement.from_dict(supply_list_element_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyRequest.md b/docs/SupplyRequest.md new file mode 100644 index 000000000..b9d9a9093 --- /dev/null +++ b/docs/SupplyRequest.md @@ -0,0 +1,38 @@ +# SupplyRequest + +A Supply Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_supply_id** | **int** | The unique ID of the Supply | [optional] +**fki_glaccount_id** | **int** | The unique ID of the Glaccount | [optional] +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | [optional] +**fki_variableexpense_id** | **int** | The unique ID of the Variableexpense | +**s_supply_code** | **str** | The code of the Supply | +**obj_supply_description** | [**MultilingualSupplyDescription**](MultilingualSupplyDescription.md) | | +**d_supply_unitprice** | **str** | The unit price of the Supply | +**b_supply_isactive** | **bool** | Whether the supply is active or not | +**b_supply_variableprice** | **bool** | Whether if the price is variable | + +## Example + +```python +from eZmaxApi.models.supply_request import SupplyRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyRequest from a JSON string +supply_request_instance = SupplyRequest.from_json(json) +# print the JSON string representation of the object +print(SupplyRequest.to_json()) + +# convert the object into a dict +supply_request_dict = supply_request_instance.to_dict() +# create an instance of SupplyRequest from a dict +supply_request_from_dict = SupplyRequest.from_dict(supply_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyRequestCompound.md b/docs/SupplyRequestCompound.md new file mode 100644 index 000000000..e9ddf1735 --- /dev/null +++ b/docs/SupplyRequestCompound.md @@ -0,0 +1,38 @@ +# SupplyRequestCompound + +A Supply Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_supply_id** | **int** | The unique ID of the Supply | [optional] +**fki_glaccount_id** | **int** | The unique ID of the Glaccount | [optional] +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | [optional] +**fki_variableexpense_id** | **int** | The unique ID of the Variableexpense | +**s_supply_code** | **str** | The code of the Supply | +**obj_supply_description** | [**MultilingualSupplyDescription**](MultilingualSupplyDescription.md) | | +**d_supply_unitprice** | **str** | The unit price of the Supply | +**b_supply_isactive** | **bool** | Whether the supply is active or not | +**b_supply_variableprice** | **bool** | Whether if the price is variable | + +## Example + +```python +from eZmaxApi.models.supply_request_compound import SupplyRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyRequestCompound from a JSON string +supply_request_compound_instance = SupplyRequestCompound.from_json(json) +# print the JSON string representation of the object +print(SupplyRequestCompound.to_json()) + +# convert the object into a dict +supply_request_compound_dict = supply_request_compound_instance.to_dict() +# create an instance of SupplyRequestCompound from a dict +supply_request_compound_from_dict = SupplyRequestCompound.from_dict(supply_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyResponse.md b/docs/SupplyResponse.md new file mode 100644 index 000000000..258c6de46 --- /dev/null +++ b/docs/SupplyResponse.md @@ -0,0 +1,41 @@ +# SupplyResponse + +A Supply Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_supply_id** | **int** | The unique ID of the Supply | +**fki_glaccount_id** | **int** | The unique ID of the Glaccount | [optional] +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | [optional] +**fki_variableexpense_id** | **int** | The unique ID of the Variableexpense | +**s_supply_code** | **str** | The code of the Supply | +**obj_supply_description** | [**MultilingualSupplyDescription**](MultilingualSupplyDescription.md) | | +**d_supply_unitprice** | **str** | The unit price of the Supply | +**b_supply_isactive** | **bool** | Whether the supply is active or not | +**b_supply_variableprice** | **bool** | Whether if the price is variable | +**s_glaccount_description_x** | **str** | The Description for the Glaccount in the language of the requester | [optional] +**s_glaccountcontainer_longdescription_x** | **str** | The Description for the Glaccountcontainer in the language of the requester | [optional] +**s_variableexpense_description_x** | **str** | The description of the Variableexpense in the language of the requester | [optional] + +## Example + +```python +from eZmaxApi.models.supply_response import SupplyResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyResponse from a JSON string +supply_response_instance = SupplyResponse.from_json(json) +# print the JSON string representation of the object +print(SupplyResponse.to_json()) + +# convert the object into a dict +supply_response_dict = supply_response_instance.to_dict() +# create an instance of SupplyResponse from a dict +supply_response_from_dict = SupplyResponse.from_dict(supply_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SupplyResponseCompound.md b/docs/SupplyResponseCompound.md new file mode 100644 index 000000000..d2df676ea --- /dev/null +++ b/docs/SupplyResponseCompound.md @@ -0,0 +1,41 @@ +# SupplyResponseCompound + +A Supply Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_supply_id** | **int** | The unique ID of the Supply | +**fki_glaccount_id** | **int** | The unique ID of the Glaccount | [optional] +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | [optional] +**fki_variableexpense_id** | **int** | The unique ID of the Variableexpense | +**s_supply_code** | **str** | The code of the Supply | +**obj_supply_description** | [**MultilingualSupplyDescription**](MultilingualSupplyDescription.md) | | +**d_supply_unitprice** | **str** | The unit price of the Supply | +**b_supply_isactive** | **bool** | Whether the supply is active or not | +**b_supply_variableprice** | **bool** | Whether if the price is variable | +**s_glaccount_description_x** | **str** | The Description for the Glaccount in the language of the requester | [optional] +**s_glaccountcontainer_longdescription_x** | **str** | The Description for the Glaccountcontainer in the language of the requester | [optional] +**s_variableexpense_description_x** | **str** | The description of the Variableexpense in the language of the requester | [optional] + +## Example + +```python +from eZmaxApi.models.supply_response_compound import SupplyResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of SupplyResponseCompound from a JSON string +supply_response_compound_instance = SupplyResponseCompound.from_json(json) +# print the JSON string representation of the object +print(SupplyResponseCompound.to_json()) + +# convert the object into a dict +supply_response_compound_dict = supply_response_compound_instance.to_dict() +# create an instance of SupplyResponseCompound from a dict +supply_response_compound_from_dict = SupplyResponseCompound.from_dict(supply_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SystemconfigurationEditObjectV1Request.md b/docs/SystemconfigurationEditObjectV1Request.md index fb8bce0c9..9877c5950 100644 --- a/docs/SystemconfigurationEditObjectV1Request.md +++ b/docs/SystemconfigurationEditObjectV1Request.md @@ -23,7 +23,7 @@ print(SystemconfigurationEditObjectV1Request.to_json()) # convert the object into a dict systemconfiguration_edit_object_v1_request_dict = systemconfiguration_edit_object_v1_request_instance.to_dict() # create an instance of SystemconfigurationEditObjectV1Request from a dict -systemconfiguration_edit_object_v1_request_form_dict = systemconfiguration_edit_object_v1_request.from_dict(systemconfiguration_edit_object_v1_request_dict) +systemconfiguration_edit_object_v1_request_from_dict = SystemconfigurationEditObjectV1Request.from_dict(systemconfiguration_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SystemconfigurationEditObjectV1Response.md b/docs/SystemconfigurationEditObjectV1Response.md index 46e0067f3..53181dba1 100644 --- a/docs/SystemconfigurationEditObjectV1Response.md +++ b/docs/SystemconfigurationEditObjectV1Response.md @@ -24,7 +24,7 @@ print(SystemconfigurationEditObjectV1Response.to_json()) # convert the object into a dict systemconfiguration_edit_object_v1_response_dict = systemconfiguration_edit_object_v1_response_instance.to_dict() # create an instance of SystemconfigurationEditObjectV1Response from a dict -systemconfiguration_edit_object_v1_response_form_dict = systemconfiguration_edit_object_v1_response.from_dict(systemconfiguration_edit_object_v1_response_dict) +systemconfiguration_edit_object_v1_response_from_dict = SystemconfigurationEditObjectV1Response.from_dict(systemconfiguration_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SystemconfigurationGetObjectV2Response.md b/docs/SystemconfigurationGetObjectV2Response.md index f1d478bd3..ff3868eec 100644 --- a/docs/SystemconfigurationGetObjectV2Response.md +++ b/docs/SystemconfigurationGetObjectV2Response.md @@ -25,7 +25,7 @@ print(SystemconfigurationGetObjectV2Response.to_json()) # convert the object into a dict systemconfiguration_get_object_v2_response_dict = systemconfiguration_get_object_v2_response_instance.to_dict() # create an instance of SystemconfigurationGetObjectV2Response from a dict -systemconfiguration_get_object_v2_response_form_dict = systemconfiguration_get_object_v2_response.from_dict(systemconfiguration_get_object_v2_response_dict) +systemconfiguration_get_object_v2_response_from_dict = SystemconfigurationGetObjectV2Response.from_dict(systemconfiguration_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SystemconfigurationGetObjectV2ResponseMPayload.md b/docs/SystemconfigurationGetObjectV2ResponseMPayload.md index 554bafd5c..3cce77010 100644 --- a/docs/SystemconfigurationGetObjectV2ResponseMPayload.md +++ b/docs/SystemconfigurationGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(SystemconfigurationGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict systemconfiguration_get_object_v2_response_m_payload_dict = systemconfiguration_get_object_v2_response_m_payload_instance.to_dict() # create an instance of SystemconfigurationGetObjectV2ResponseMPayload from a dict -systemconfiguration_get_object_v2_response_m_payload_form_dict = systemconfiguration_get_object_v2_response_m_payload.from_dict(systemconfiguration_get_object_v2_response_m_payload_dict) +systemconfiguration_get_object_v2_response_m_payload_from_dict = SystemconfigurationGetObjectV2ResponseMPayload.from_dict(systemconfiguration_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SystemconfigurationRequest.md b/docs/SystemconfigurationRequest.md index 1ad3b1da3..29b951040 100644 --- a/docs/SystemconfigurationRequest.md +++ b/docs/SystemconfigurationRequest.md @@ -7,6 +7,7 @@ A Systemconfiguration Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_systemconfiguration_id** | **int** | The unique ID of the Systemconfiguration | [optional] +**fki_branding_id** | **int** | The unique ID of the Branding | [optional] **e_systemconfiguration_newexternaluseraction** | [**FieldESystemconfigurationNewexternaluseraction**](FieldESystemconfigurationNewexternaluseraction.md) | | **e_systemconfiguration_language1** | [**FieldESystemconfigurationLanguage1**](FieldESystemconfigurationLanguage1.md) | | **e_systemconfiguration_language2** | [**FieldESystemconfigurationLanguage2**](FieldESystemconfigurationLanguage2.md) | | @@ -33,7 +34,7 @@ print(SystemconfigurationRequest.to_json()) # convert the object into a dict systemconfiguration_request_dict = systemconfiguration_request_instance.to_dict() # create an instance of SystemconfigurationRequest from a dict -systemconfiguration_request_form_dict = systemconfiguration_request.from_dict(systemconfiguration_request_dict) +systemconfiguration_request_from_dict = SystemconfigurationRequest.from_dict(systemconfiguration_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SystemconfigurationRequestCompound.md b/docs/SystemconfigurationRequestCompound.md index d07d7c6ca..9b8a528b5 100644 --- a/docs/SystemconfigurationRequestCompound.md +++ b/docs/SystemconfigurationRequestCompound.md @@ -7,6 +7,7 @@ A Systemconfiguration Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_systemconfiguration_id** | **int** | The unique ID of the Systemconfiguration | [optional] +**fki_branding_id** | **int** | The unique ID of the Branding | [optional] **e_systemconfiguration_newexternaluseraction** | [**FieldESystemconfigurationNewexternaluseraction**](FieldESystemconfigurationNewexternaluseraction.md) | | **e_systemconfiguration_language1** | [**FieldESystemconfigurationLanguage1**](FieldESystemconfigurationLanguage1.md) | | **e_systemconfiguration_language2** | [**FieldESystemconfigurationLanguage2**](FieldESystemconfigurationLanguage2.md) | | @@ -33,7 +34,7 @@ print(SystemconfigurationRequestCompound.to_json()) # convert the object into a dict systemconfiguration_request_compound_dict = systemconfiguration_request_compound_instance.to_dict() # create an instance of SystemconfigurationRequestCompound from a dict -systemconfiguration_request_compound_form_dict = systemconfiguration_request_compound.from_dict(systemconfiguration_request_compound_dict) +systemconfiguration_request_compound_from_dict = SystemconfigurationRequestCompound.from_dict(systemconfiguration_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SystemconfigurationResponse.md b/docs/SystemconfigurationResponse.md index aa304b4f0..a336fd305 100644 --- a/docs/SystemconfigurationResponse.md +++ b/docs/SystemconfigurationResponse.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_systemconfiguration_id** | **int** | The unique ID of the Systemconfiguration | **fki_systemconfigurationtype_id** | **int** | The unique ID of the Systemconfigurationtype | +**fki_branding_id** | **int** | The unique ID of the Branding | [optional] **s_systemconfigurationtype_description_x** | **str** | The description of the Systemconfigurationtype in the language of the requester | **e_systemconfiguration_newexternaluseraction** | [**FieldESystemconfigurationNewexternaluseraction**](FieldESystemconfigurationNewexternaluseraction.md) | | **e_systemconfiguration_language1** | [**FieldESystemconfigurationLanguage1**](FieldESystemconfigurationLanguage1.md) | | @@ -16,10 +17,12 @@ Name | Type | Description | Notes **e_systemconfiguration_ezsignofficeplan** | [**FieldESystemconfigurationEzsignofficeplan**](FieldESystemconfigurationEzsignofficeplan.md) | | [optional] **b_systemconfiguration_ezsignpaidbyoffice** | **bool** | Whether if Ezsign is paid by the company or not | [optional] **b_systemconfiguration_ezsignpersonnal** | **bool** | Whether if we allow the creation of personal files in eZsign | +**b_systemconfiguration_hascreditcardmerchant** | **bool** | Whether there is a creditcard merchant configured or not | [optional] **b_systemconfiguration_isdisposalactive** | **bool** | Whether is Disposal processus is active or not | [optional] **b_systemconfiguration_sspr** | **bool** | Whether if we allow SSPR | **dt_systemconfiguration_readonlyexpirationstart** | **str** | The start date where the system will be in read only | [optional] **dt_systemconfiguration_readonlyexpirationend** | **str** | The end date where the system will be in read only | [optional] +**obj_branding** | [**CustomBrandingResponse**](CustomBrandingResponse.md) | | [optional] ## Example @@ -36,7 +39,7 @@ print(SystemconfigurationResponse.to_json()) # convert the object into a dict systemconfiguration_response_dict = systemconfiguration_response_instance.to_dict() # create an instance of SystemconfigurationResponse from a dict -systemconfiguration_response_form_dict = systemconfiguration_response.from_dict(systemconfiguration_response_dict) +systemconfiguration_response_from_dict = SystemconfigurationResponse.from_dict(systemconfiguration_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SystemconfigurationResponseCompound.md b/docs/SystemconfigurationResponseCompound.md index f62932a70..7c103bc55 100644 --- a/docs/SystemconfigurationResponseCompound.md +++ b/docs/SystemconfigurationResponseCompound.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_systemconfiguration_id** | **int** | The unique ID of the Systemconfiguration | **fki_systemconfigurationtype_id** | **int** | The unique ID of the Systemconfigurationtype | +**fki_branding_id** | **int** | The unique ID of the Branding | [optional] **s_systemconfigurationtype_description_x** | **str** | The description of the Systemconfigurationtype in the language of the requester | **e_systemconfiguration_newexternaluseraction** | [**FieldESystemconfigurationNewexternaluseraction**](FieldESystemconfigurationNewexternaluseraction.md) | | **e_systemconfiguration_language1** | [**FieldESystemconfigurationLanguage1**](FieldESystemconfigurationLanguage1.md) | | @@ -16,10 +17,12 @@ Name | Type | Description | Notes **e_systemconfiguration_ezsignofficeplan** | [**FieldESystemconfigurationEzsignofficeplan**](FieldESystemconfigurationEzsignofficeplan.md) | | [optional] **b_systemconfiguration_ezsignpaidbyoffice** | **bool** | Whether if Ezsign is paid by the company or not | [optional] **b_systemconfiguration_ezsignpersonnal** | **bool** | Whether if we allow the creation of personal files in eZsign | +**b_systemconfiguration_hascreditcardmerchant** | **bool** | Whether there is a creditcard merchant configured or not | [optional] **b_systemconfiguration_isdisposalactive** | **bool** | Whether is Disposal processus is active or not | [optional] **b_systemconfiguration_sspr** | **bool** | Whether if we allow SSPR | **dt_systemconfiguration_readonlyexpirationstart** | **str** | The start date where the system will be in read only | [optional] **dt_systemconfiguration_readonlyexpirationend** | **str** | The end date where the system will be in read only | [optional] +**obj_branding** | [**CustomBrandingResponse**](CustomBrandingResponse.md) | | [optional] ## Example @@ -36,7 +39,7 @@ print(SystemconfigurationResponseCompound.to_json()) # convert the object into a dict systemconfiguration_response_compound_dict = systemconfiguration_response_compound_instance.to_dict() # create an instance of SystemconfigurationResponseCompound from a dict -systemconfiguration_response_compound_form_dict = systemconfiguration_response_compound.from_dict(systemconfiguration_response_compound_dict) +systemconfiguration_response_compound_from_dict = SystemconfigurationResponseCompound.from_dict(systemconfiguration_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TaxassignmentAutocompleteElementResponse.md b/docs/TaxassignmentAutocompleteElementResponse.md index e1fc4e273..2e4478c96 100644 --- a/docs/TaxassignmentAutocompleteElementResponse.md +++ b/docs/TaxassignmentAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(TaxassignmentAutocompleteElementResponse.to_json()) # convert the object into a dict taxassignment_autocomplete_element_response_dict = taxassignment_autocomplete_element_response_instance.to_dict() # create an instance of TaxassignmentAutocompleteElementResponse from a dict -taxassignment_autocomplete_element_response_form_dict = taxassignment_autocomplete_element_response.from_dict(taxassignment_autocomplete_element_response_dict) +taxassignment_autocomplete_element_response_from_dict = TaxassignmentAutocompleteElementResponse.from_dict(taxassignment_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TaxassignmentGetAutocompleteV2Response.md b/docs/TaxassignmentGetAutocompleteV2Response.md index d8e19f529..f917cc463 100644 --- a/docs/TaxassignmentGetAutocompleteV2Response.md +++ b/docs/TaxassignmentGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(TaxassignmentGetAutocompleteV2Response.to_json()) # convert the object into a dict taxassignment_get_autocomplete_v2_response_dict = taxassignment_get_autocomplete_v2_response_instance.to_dict() # create an instance of TaxassignmentGetAutocompleteV2Response from a dict -taxassignment_get_autocomplete_v2_response_form_dict = taxassignment_get_autocomplete_v2_response.from_dict(taxassignment_get_autocomplete_v2_response_dict) +taxassignment_get_autocomplete_v2_response_from_dict = TaxassignmentGetAutocompleteV2Response.from_dict(taxassignment_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TaxassignmentGetAutocompleteV2ResponseMPayload.md b/docs/TaxassignmentGetAutocompleteV2ResponseMPayload.md index 566ae2561..1c5e3089c 100644 --- a/docs/TaxassignmentGetAutocompleteV2ResponseMPayload.md +++ b/docs/TaxassignmentGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(TaxassignmentGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict taxassignment_get_autocomplete_v2_response_m_payload_dict = taxassignment_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of TaxassignmentGetAutocompleteV2ResponseMPayload from a dict -taxassignment_get_autocomplete_v2_response_m_payload_form_dict = taxassignment_get_autocomplete_v2_response_m_payload.from_dict(taxassignment_get_autocomplete_v2_response_m_payload_dict) +taxassignment_get_autocomplete_v2_response_m_payload_from_dict = TaxassignmentGetAutocompleteV2ResponseMPayload.from_dict(taxassignment_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TextstylestaticRequest.md b/docs/TextstylestaticRequest.md new file mode 100644 index 000000000..ec38468f3 --- /dev/null +++ b/docs/TextstylestaticRequest.md @@ -0,0 +1,36 @@ +# TextstylestaticRequest + +A Textstylestatic Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fki_font_id** | **int** | The unique ID of the Font | +**b_textstylestatic_bold** | **bool** | Whether the Textstylestatic is Bold or not | +**b_textstylestatic_underline** | **bool** | Whether the Textstylestatic is Underline or not | +**b_textstylestatic_italic** | **bool** | Whether the Textstylestatic is Italic or not | +**b_textstylestatic_strikethrough** | **bool** | Whether the Textstylestatic is Strikethrough or not | +**i_textstylestatic_fontcolor** | **int** | The int32 representation of the Fontcolor. For example, RGB color #39435B would be 3752795 | +**i_textstylestatic_size** | **int** | The Size for the Font of the Textstylestatic | + +## Example + +```python +from eZmaxApi.models.textstylestatic_request import TextstylestaticRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TextstylestaticRequest from a JSON string +textstylestatic_request_instance = TextstylestaticRequest.from_json(json) +# print the JSON string representation of the object +print(TextstylestaticRequest.to_json()) + +# convert the object into a dict +textstylestatic_request_dict = textstylestatic_request_instance.to_dict() +# create an instance of TextstylestaticRequest from a dict +textstylestatic_request_from_dict = TextstylestaticRequest.from_dict(textstylestatic_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TextstylestaticRequestCompound.md b/docs/TextstylestaticRequestCompound.md new file mode 100644 index 000000000..c66793303 --- /dev/null +++ b/docs/TextstylestaticRequestCompound.md @@ -0,0 +1,36 @@ +# TextstylestaticRequestCompound + +A Textstylestatic Object and children + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fki_font_id** | **int** | The unique ID of the Font | +**b_textstylestatic_bold** | **bool** | Whether the Textstylestatic is Bold or not | +**b_textstylestatic_underline** | **bool** | Whether the Textstylestatic is Underline or not | +**b_textstylestatic_italic** | **bool** | Whether the Textstylestatic is Italic or not | +**b_textstylestatic_strikethrough** | **bool** | Whether the Textstylestatic is Strikethrough or not | +**i_textstylestatic_fontcolor** | **int** | The int32 representation of the Fontcolor. For example, RGB color #39435B would be 3752795 | +**i_textstylestatic_size** | **int** | The Size for the Font of the Textstylestatic | + +## Example + +```python +from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of TextstylestaticRequestCompound from a JSON string +textstylestatic_request_compound_instance = TextstylestaticRequestCompound.from_json(json) +# print the JSON string representation of the object +print(TextstylestaticRequestCompound.to_json()) + +# convert the object into a dict +textstylestatic_request_compound_dict = textstylestatic_request_compound_instance.to_dict() +# create an instance of TextstylestaticRequestCompound from a dict +textstylestatic_request_compound_from_dict = TextstylestaticRequestCompound.from_dict(textstylestatic_request_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TextstylestaticResponse.md b/docs/TextstylestaticResponse.md index 5200fa369..95f6fafb1 100644 --- a/docs/TextstylestaticResponse.md +++ b/docs/TextstylestaticResponse.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_textstylestatic_id** | **int** | The unique ID of the Textstylestatic | [optional] **fki_font_id** | **int** | The unique ID of the Font | +**s_font_name** | **str** | The name of the Font | **b_textstylestatic_bold** | **bool** | Whether the Textstylestatic is Bold or not | **b_textstylestatic_underline** | **bool** | Whether the Textstylestatic is Underline or not | **b_textstylestatic_italic** | **bool** | Whether the Textstylestatic is Italic or not | @@ -30,7 +31,7 @@ print(TextstylestaticResponse.to_json()) # convert the object into a dict textstylestatic_response_dict = textstylestatic_response_instance.to_dict() # create an instance of TextstylestaticResponse from a dict -textstylestatic_response_form_dict = textstylestatic_response.from_dict(textstylestatic_response_dict) +textstylestatic_response_from_dict = TextstylestaticResponse.from_dict(textstylestatic_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TextstylestaticResponseCompound.md b/docs/TextstylestaticResponseCompound.md index 7aa028819..3fbeff77e 100644 --- a/docs/TextstylestaticResponseCompound.md +++ b/docs/TextstylestaticResponseCompound.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_textstylestatic_id** | **int** | The unique ID of the Textstylestatic | [optional] **fki_font_id** | **int** | The unique ID of the Font | +**s_font_name** | **str** | The name of the Font | **b_textstylestatic_bold** | **bool** | Whether the Textstylestatic is Bold or not | **b_textstylestatic_underline** | **bool** | Whether the Textstylestatic is Underline or not | **b_textstylestatic_italic** | **bool** | Whether the Textstylestatic is Italic or not | @@ -30,7 +31,7 @@ print(TextstylestaticResponseCompound.to_json()) # convert the object into a dict textstylestatic_response_compound_dict = textstylestatic_response_compound_instance.to_dict() # create an instance of TextstylestaticResponseCompound from a dict -textstylestatic_response_compound_form_dict = textstylestatic_response_compound.from_dict(textstylestatic_response_compound_dict) +textstylestatic_response_compound_from_dict = TextstylestaticResponseCompound.from_dict(textstylestatic_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TimezoneAutocompleteElementResponse.md b/docs/TimezoneAutocompleteElementResponse.md index a354df068..6bd38fe9e 100644 --- a/docs/TimezoneAutocompleteElementResponse.md +++ b/docs/TimezoneAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(TimezoneAutocompleteElementResponse.to_json()) # convert the object into a dict timezone_autocomplete_element_response_dict = timezone_autocomplete_element_response_instance.to_dict() # create an instance of TimezoneAutocompleteElementResponse from a dict -timezone_autocomplete_element_response_form_dict = timezone_autocomplete_element_response.from_dict(timezone_autocomplete_element_response_dict) +timezone_autocomplete_element_response_from_dict = TimezoneAutocompleteElementResponse.from_dict(timezone_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TimezoneGetAutocompleteV2Response.md b/docs/TimezoneGetAutocompleteV2Response.md index 95734a6f0..a172105bd 100644 --- a/docs/TimezoneGetAutocompleteV2Response.md +++ b/docs/TimezoneGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(TimezoneGetAutocompleteV2Response.to_json()) # convert the object into a dict timezone_get_autocomplete_v2_response_dict = timezone_get_autocomplete_v2_response_instance.to_dict() # create an instance of TimezoneGetAutocompleteV2Response from a dict -timezone_get_autocomplete_v2_response_form_dict = timezone_get_autocomplete_v2_response.from_dict(timezone_get_autocomplete_v2_response_dict) +timezone_get_autocomplete_v2_response_from_dict = TimezoneGetAutocompleteV2Response.from_dict(timezone_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TimezoneGetAutocompleteV2ResponseMPayload.md b/docs/TimezoneGetAutocompleteV2ResponseMPayload.md index 119ed391c..1fb714a36 100644 --- a/docs/TimezoneGetAutocompleteV2ResponseMPayload.md +++ b/docs/TimezoneGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(TimezoneGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict timezone_get_autocomplete_v2_response_m_payload_dict = timezone_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of TimezoneGetAutocompleteV2ResponseMPayload from a dict -timezone_get_autocomplete_v2_response_m_payload_form_dict = timezone_get_autocomplete_v2_response_m_payload.from_dict(timezone_get_autocomplete_v2_response_m_payload_dict) +timezone_get_autocomplete_v2_response_m_payload_from_dict = TimezoneGetAutocompleteV2ResponseMPayload.from_dict(timezone_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TranqcontractGetCommunicationCountV1Response.md b/docs/TranqcontractGetCommunicationCountV1Response.md new file mode 100644 index 000000000..42c190416 --- /dev/null +++ b/docs/TranqcontractGetCommunicationCountV1Response.md @@ -0,0 +1,32 @@ +# TranqcontractGetCommunicationCountV1Response + +Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**TranqcontractGetCommunicationCountV1ResponseMPayload**](TranqcontractGetCommunicationCountV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response import TranqcontractGetCommunicationCountV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of TranqcontractGetCommunicationCountV1Response from a JSON string +tranqcontract_get_communication_count_v1_response_instance = TranqcontractGetCommunicationCountV1Response.from_json(json) +# print the JSON string representation of the object +print(TranqcontractGetCommunicationCountV1Response.to_json()) + +# convert the object into a dict +tranqcontract_get_communication_count_v1_response_dict = tranqcontract_get_communication_count_v1_response_instance.to_dict() +# create an instance of TranqcontractGetCommunicationCountV1Response from a dict +tranqcontract_get_communication_count_v1_response_from_dict = TranqcontractGetCommunicationCountV1Response.from_dict(tranqcontract_get_communication_count_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TranqcontractGetCommunicationCountV1ResponseMPayload.md b/docs/TranqcontractGetCommunicationCountV1ResponseMPayload.md new file mode 100644 index 000000000..f688d1c48 --- /dev/null +++ b/docs/TranqcontractGetCommunicationCountV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# TranqcontractGetCommunicationCountV1ResponseMPayload + +Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**i_communication_count** | **int** | The count of Communication. | + +## Example + +```python +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response_m_payload import TranqcontractGetCommunicationCountV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of TranqcontractGetCommunicationCountV1ResponseMPayload from a JSON string +tranqcontract_get_communication_count_v1_response_m_payload_instance = TranqcontractGetCommunicationCountV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(TranqcontractGetCommunicationCountV1ResponseMPayload.to_json()) + +# convert the object into a dict +tranqcontract_get_communication_count_v1_response_m_payload_dict = tranqcontract_get_communication_count_v1_response_m_payload_instance.to_dict() +# create an instance of TranqcontractGetCommunicationCountV1ResponseMPayload from a dict +tranqcontract_get_communication_count_v1_response_m_payload_from_dict = TranqcontractGetCommunicationCountV1ResponseMPayload.from_dict(tranqcontract_get_communication_count_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TranqcontractGetCommunicationListV1Response.md b/docs/TranqcontractGetCommunicationListV1Response.md new file mode 100644 index 000000000..47e496009 --- /dev/null +++ b/docs/TranqcontractGetCommunicationListV1Response.md @@ -0,0 +1,32 @@ +# TranqcontractGetCommunicationListV1Response + +Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**TranqcontractGetCommunicationListV1ResponseMPayload**](TranqcontractGetCommunicationListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response import TranqcontractGetCommunicationListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of TranqcontractGetCommunicationListV1Response from a JSON string +tranqcontract_get_communication_list_v1_response_instance = TranqcontractGetCommunicationListV1Response.from_json(json) +# print the JSON string representation of the object +print(TranqcontractGetCommunicationListV1Response.to_json()) + +# convert the object into a dict +tranqcontract_get_communication_list_v1_response_dict = tranqcontract_get_communication_list_v1_response_instance.to_dict() +# create an instance of TranqcontractGetCommunicationListV1Response from a dict +tranqcontract_get_communication_list_v1_response_from_dict = TranqcontractGetCommunicationListV1Response.from_dict(tranqcontract_get_communication_list_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TranqcontractGetCommunicationListV1ResponseMPayload.md b/docs/TranqcontractGetCommunicationListV1ResponseMPayload.md new file mode 100644 index 000000000..ebfb5e320 --- /dev/null +++ b/docs/TranqcontractGetCommunicationListV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# TranqcontractGetCommunicationListV1ResponseMPayload + +Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communication** | [**List[CustomCommunicationListElementResponse]**](CustomCommunicationListElementResponse.md) | | + +## Example + +```python +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload import TranqcontractGetCommunicationListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of TranqcontractGetCommunicationListV1ResponseMPayload from a JSON string +tranqcontract_get_communication_list_v1_response_m_payload_instance = TranqcontractGetCommunicationListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(TranqcontractGetCommunicationListV1ResponseMPayload.to_json()) + +# convert the object into a dict +tranqcontract_get_communication_list_v1_response_m_payload_dict = tranqcontract_get_communication_list_v1_response_m_payload_instance.to_dict() +# create an instance of TranqcontractGetCommunicationListV1ResponseMPayload from a dict +tranqcontract_get_communication_list_v1_response_m_payload_from_dict = TranqcontractGetCommunicationListV1ResponseMPayload.from_dict(tranqcontract_get_communication_list_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TranqcontractGetCommunicationrecipientsV1Response.md b/docs/TranqcontractGetCommunicationrecipientsV1Response.md new file mode 100644 index 000000000..2aae30643 --- /dev/null +++ b/docs/TranqcontractGetCommunicationrecipientsV1Response.md @@ -0,0 +1,32 @@ +# TranqcontractGetCommunicationrecipientsV1Response + +Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**TranqcontractGetCommunicationrecipientsV1ResponseMPayload**](TranqcontractGetCommunicationrecipientsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response import TranqcontractGetCommunicationrecipientsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of TranqcontractGetCommunicationrecipientsV1Response from a JSON string +tranqcontract_get_communicationrecipients_v1_response_instance = TranqcontractGetCommunicationrecipientsV1Response.from_json(json) +# print the JSON string representation of the object +print(TranqcontractGetCommunicationrecipientsV1Response.to_json()) + +# convert the object into a dict +tranqcontract_get_communicationrecipients_v1_response_dict = tranqcontract_get_communicationrecipients_v1_response_instance.to_dict() +# create an instance of TranqcontractGetCommunicationrecipientsV1Response from a dict +tranqcontract_get_communicationrecipients_v1_response_from_dict = TranqcontractGetCommunicationrecipientsV1Response.from_dict(tranqcontract_get_communicationrecipients_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TranqcontractGetCommunicationrecipientsV1ResponseMPayload.md b/docs/TranqcontractGetCommunicationrecipientsV1ResponseMPayload.md new file mode 100644 index 000000000..eb4e9f862 --- /dev/null +++ b/docs/TranqcontractGetCommunicationrecipientsV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# TranqcontractGetCommunicationrecipientsV1ResponseMPayload + +Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationrecipientsgroup** | [**List[CustomCommunicationrecipientsgroupResponse]**](CustomCommunicationrecipientsgroupResponse.md) | | + +## Example + +```python +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response_m_payload import TranqcontractGetCommunicationrecipientsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of TranqcontractGetCommunicationrecipientsV1ResponseMPayload from a JSON string +tranqcontract_get_communicationrecipients_v1_response_m_payload_instance = TranqcontractGetCommunicationrecipientsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(TranqcontractGetCommunicationrecipientsV1ResponseMPayload.to_json()) + +# convert the object into a dict +tranqcontract_get_communicationrecipients_v1_response_m_payload_dict = tranqcontract_get_communicationrecipients_v1_response_m_payload_instance.to_dict() +# create an instance of TranqcontractGetCommunicationrecipientsV1ResponseMPayload from a dict +tranqcontract_get_communicationrecipients_v1_response_m_payload_from_dict = TranqcontractGetCommunicationrecipientsV1ResponseMPayload.from_dict(tranqcontract_get_communicationrecipients_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TranqcontractGetCommunicationsendersV1Response.md b/docs/TranqcontractGetCommunicationsendersV1Response.md new file mode 100644 index 000000000..d47c4eec0 --- /dev/null +++ b/docs/TranqcontractGetCommunicationsendersV1Response.md @@ -0,0 +1,32 @@ +# TranqcontractGetCommunicationsendersV1Response + +Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**TranqcontractGetCommunicationsendersV1ResponseMPayload**](TranqcontractGetCommunicationsendersV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response import TranqcontractGetCommunicationsendersV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of TranqcontractGetCommunicationsendersV1Response from a JSON string +tranqcontract_get_communicationsenders_v1_response_instance = TranqcontractGetCommunicationsendersV1Response.from_json(json) +# print the JSON string representation of the object +print(TranqcontractGetCommunicationsendersV1Response.to_json()) + +# convert the object into a dict +tranqcontract_get_communicationsenders_v1_response_dict = tranqcontract_get_communicationsenders_v1_response_instance.to_dict() +# create an instance of TranqcontractGetCommunicationsendersV1Response from a dict +tranqcontract_get_communicationsenders_v1_response_from_dict = TranqcontractGetCommunicationsendersV1Response.from_dict(tranqcontract_get_communicationsenders_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TranqcontractGetCommunicationsendersV1ResponseMPayload.md b/docs/TranqcontractGetCommunicationsendersV1ResponseMPayload.md new file mode 100644 index 000000000..9fa70a9c9 --- /dev/null +++ b/docs/TranqcontractGetCommunicationsendersV1ResponseMPayload.md @@ -0,0 +1,30 @@ +# TranqcontractGetCommunicationsendersV1ResponseMPayload + +Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationsenders + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationsenders** | [**List[CustomCommunicationsenderResponse]**](CustomCommunicationsenderResponse.md) | | + +## Example + +```python +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response_m_payload import TranqcontractGetCommunicationsendersV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of TranqcontractGetCommunicationsendersV1ResponseMPayload from a JSON string +tranqcontract_get_communicationsenders_v1_response_m_payload_instance = TranqcontractGetCommunicationsendersV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(TranqcontractGetCommunicationsendersV1ResponseMPayload.to_json()) + +# convert the object into a dict +tranqcontract_get_communicationsenders_v1_response_m_payload_dict = tranqcontract_get_communicationsenders_v1_response_m_payload_instance.to_dict() +# create an instance of TranqcontractGetCommunicationsendersV1ResponseMPayload from a dict +tranqcontract_get_communicationsenders_v1_response_m_payload_from_dict = TranqcontractGetCommunicationsendersV1ResponseMPayload.from_dict(tranqcontract_get_communicationsenders_v1_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UserAutocompleteElementResponse.md b/docs/UserAutocompleteElementResponse.md index 200809a2d..c5ec216f0 100644 --- a/docs/UserAutocompleteElementResponse.md +++ b/docs/UserAutocompleteElementResponse.md @@ -26,7 +26,7 @@ print(UserAutocompleteElementResponse.to_json()) # convert the object into a dict user_autocomplete_element_response_dict = user_autocomplete_element_response_instance.to_dict() # create an instance of UserAutocompleteElementResponse from a dict -user_autocomplete_element_response_form_dict = user_autocomplete_element_response.from_dict(user_autocomplete_element_response_dict) +user_autocomplete_element_response_from_dict = UserAutocompleteElementResponse.from_dict(user_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserCreateEzsignuserV1Request.md b/docs/UserCreateEzsignuserV1Request.md index 56c031e0e..8a283008f 100644 --- a/docs/UserCreateEzsignuserV1Request.md +++ b/docs/UserCreateEzsignuserV1Request.md @@ -30,7 +30,7 @@ print(UserCreateEzsignuserV1Request.to_json()) # convert the object into a dict user_create_ezsignuser_v1_request_dict = user_create_ezsignuser_v1_request_instance.to_dict() # create an instance of UserCreateEzsignuserV1Request from a dict -user_create_ezsignuser_v1_request_form_dict = user_create_ezsignuser_v1_request.from_dict(user_create_ezsignuser_v1_request_dict) +user_create_ezsignuser_v1_request_from_dict = UserCreateEzsignuserV1Request.from_dict(user_create_ezsignuser_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserCreateEzsignuserV1Response.md b/docs/UserCreateEzsignuserV1Response.md index db04d684b..4efa24a90 100644 --- a/docs/UserCreateEzsignuserV1Response.md +++ b/docs/UserCreateEzsignuserV1Response.md @@ -25,7 +25,7 @@ print(UserCreateEzsignuserV1Response.to_json()) # convert the object into a dict user_create_ezsignuser_v1_response_dict = user_create_ezsignuser_v1_response_instance.to_dict() # create an instance of UserCreateEzsignuserV1Response from a dict -user_create_ezsignuser_v1_response_form_dict = user_create_ezsignuser_v1_response.from_dict(user_create_ezsignuser_v1_response_dict) +user_create_ezsignuser_v1_response_from_dict = UserCreateEzsignuserV1Response.from_dict(user_create_ezsignuser_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserCreateEzsignuserV1ResponseMPayload.md b/docs/UserCreateEzsignuserV1ResponseMPayload.md index 963e970d6..156b6dd19 100644 --- a/docs/UserCreateEzsignuserV1ResponseMPayload.md +++ b/docs/UserCreateEzsignuserV1ResponseMPayload.md @@ -24,7 +24,7 @@ print(UserCreateEzsignuserV1ResponseMPayload.to_json()) # convert the object into a dict user_create_ezsignuser_v1_response_m_payload_dict = user_create_ezsignuser_v1_response_m_payload_instance.to_dict() # create an instance of UserCreateEzsignuserV1ResponseMPayload from a dict -user_create_ezsignuser_v1_response_m_payload_form_dict = user_create_ezsignuser_v1_response_m_payload.from_dict(user_create_ezsignuser_v1_response_m_payload_dict) +user_create_ezsignuser_v1_response_m_payload_from_dict = UserCreateEzsignuserV1ResponseMPayload.from_dict(user_create_ezsignuser_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserCreateObjectV1Request.md b/docs/UserCreateObjectV1Request.md index 072936cde..4a8ef7fda 100644 --- a/docs/UserCreateObjectV1Request.md +++ b/docs/UserCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(UserCreateObjectV1Request.to_json()) # convert the object into a dict user_create_object_v1_request_dict = user_create_object_v1_request_instance.to_dict() # create an instance of UserCreateObjectV1Request from a dict -user_create_object_v1_request_form_dict = user_create_object_v1_request.from_dict(user_create_object_v1_request_dict) +user_create_object_v1_request_from_dict = UserCreateObjectV1Request.from_dict(user_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserCreateObjectV1Response.md b/docs/UserCreateObjectV1Response.md index 553b60792..e5a4aa2d8 100644 --- a/docs/UserCreateObjectV1Response.md +++ b/docs/UserCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(UserCreateObjectV1Response.to_json()) # convert the object into a dict user_create_object_v1_response_dict = user_create_object_v1_response_instance.to_dict() # create an instance of UserCreateObjectV1Response from a dict -user_create_object_v1_response_form_dict = user_create_object_v1_response.from_dict(user_create_object_v1_response_dict) +user_create_object_v1_response_from_dict = UserCreateObjectV1Response.from_dict(user_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserCreateObjectV1ResponseMPayload.md b/docs/UserCreateObjectV1ResponseMPayload.md index 2176a70cc..b08bf207b 100644 --- a/docs/UserCreateObjectV1ResponseMPayload.md +++ b/docs/UserCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict user_create_object_v1_response_m_payload_dict = user_create_object_v1_response_m_payload_instance.to_dict() # create an instance of UserCreateObjectV1ResponseMPayload from a dict -user_create_object_v1_response_m_payload_form_dict = user_create_object_v1_response_m_payload.from_dict(user_create_object_v1_response_m_payload_dict) +user_create_object_v1_response_m_payload_from_dict = UserCreateObjectV1ResponseMPayload.from_dict(user_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserCreateObjectV2Request.md b/docs/UserCreateObjectV2Request.md index 253aa278c..53e626ca8 100644 --- a/docs/UserCreateObjectV2Request.md +++ b/docs/UserCreateObjectV2Request.md @@ -23,7 +23,7 @@ print(UserCreateObjectV2Request.to_json()) # convert the object into a dict user_create_object_v2_request_dict = user_create_object_v2_request_instance.to_dict() # create an instance of UserCreateObjectV2Request from a dict -user_create_object_v2_request_form_dict = user_create_object_v2_request.from_dict(user_create_object_v2_request_dict) +user_create_object_v2_request_from_dict = UserCreateObjectV2Request.from_dict(user_create_object_v2_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserCreateObjectV2Response.md b/docs/UserCreateObjectV2Response.md index 9505d02a3..3534bdcfd 100644 --- a/docs/UserCreateObjectV2Response.md +++ b/docs/UserCreateObjectV2Response.md @@ -25,7 +25,7 @@ print(UserCreateObjectV2Response.to_json()) # convert the object into a dict user_create_object_v2_response_dict = user_create_object_v2_response_instance.to_dict() # create an instance of UserCreateObjectV2Response from a dict -user_create_object_v2_response_form_dict = user_create_object_v2_response.from_dict(user_create_object_v2_response_dict) +user_create_object_v2_response_from_dict = UserCreateObjectV2Response.from_dict(user_create_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserCreateObjectV2ResponseMPayload.md b/docs/UserCreateObjectV2ResponseMPayload.md index 4b711b82f..4e7eb98d1 100644 --- a/docs/UserCreateObjectV2ResponseMPayload.md +++ b/docs/UserCreateObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserCreateObjectV2ResponseMPayload.to_json()) # convert the object into a dict user_create_object_v2_response_m_payload_dict = user_create_object_v2_response_m_payload_instance.to_dict() # create an instance of UserCreateObjectV2ResponseMPayload from a dict -user_create_object_v2_response_m_payload_form_dict = user_create_object_v2_response_m_payload.from_dict(user_create_object_v2_response_m_payload_dict) +user_create_object_v2_response_m_payload_from_dict = UserCreateObjectV2ResponseMPayload.from_dict(user_create_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserEditColleaguesV2Request.md b/docs/UserEditColleaguesV2Request.md new file mode 100644 index 000000000..4aa0c555d --- /dev/null +++ b/docs/UserEditColleaguesV2Request.md @@ -0,0 +1,30 @@ +# UserEditColleaguesV2Request + +Request for PUT /2/object/user/{pkiUserID}/editColleagues + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_colleague** | [**List[ColleagueRequestCompoundV2]**](ColleagueRequestCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.user_edit_colleagues_v2_request import UserEditColleaguesV2Request + +# TODO update the JSON string below +json = "{}" +# create an instance of UserEditColleaguesV2Request from a JSON string +user_edit_colleagues_v2_request_instance = UserEditColleaguesV2Request.from_json(json) +# print the JSON string representation of the object +print(UserEditColleaguesV2Request.to_json()) + +# convert the object into a dict +user_edit_colleagues_v2_request_dict = user_edit_colleagues_v2_request_instance.to_dict() +# create an instance of UserEditColleaguesV2Request from a dict +user_edit_colleagues_v2_request_from_dict = UserEditColleaguesV2Request.from_dict(user_edit_colleagues_v2_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UserEditColleaguesV2Response.md b/docs/UserEditColleaguesV2Response.md new file mode 100644 index 000000000..4a713de8a --- /dev/null +++ b/docs/UserEditColleaguesV2Response.md @@ -0,0 +1,32 @@ +# UserEditColleaguesV2Response + +Response for PUT /2/object/user/{pkiUserID}/editColleagues + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**UserEditColleaguesV2ResponseMPayload**](UserEditColleaguesV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.user_edit_colleagues_v2_response import UserEditColleaguesV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of UserEditColleaguesV2Response from a JSON string +user_edit_colleagues_v2_response_instance = UserEditColleaguesV2Response.from_json(json) +# print the JSON string representation of the object +print(UserEditColleaguesV2Response.to_json()) + +# convert the object into a dict +user_edit_colleagues_v2_response_dict = user_edit_colleagues_v2_response_instance.to_dict() +# create an instance of UserEditColleaguesV2Response from a dict +user_edit_colleagues_v2_response_from_dict = UserEditColleaguesV2Response.from_dict(user_edit_colleagues_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UserEditColleaguesV2ResponseMPayload.md b/docs/UserEditColleaguesV2ResponseMPayload.md new file mode 100644 index 000000000..323e1f064 --- /dev/null +++ b/docs/UserEditColleaguesV2ResponseMPayload.md @@ -0,0 +1,30 @@ +# UserEditColleaguesV2ResponseMPayload + +Payload for PUT /2/object/user/{pkiUserID}/editColleagues + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_pki_colleague_id** | **List[int]** | | + +## Example + +```python +from eZmaxApi.models.user_edit_colleagues_v2_response_m_payload import UserEditColleaguesV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of UserEditColleaguesV2ResponseMPayload from a JSON string +user_edit_colleagues_v2_response_m_payload_instance = UserEditColleaguesV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(UserEditColleaguesV2ResponseMPayload.to_json()) + +# convert the object into a dict +user_edit_colleagues_v2_response_m_payload_dict = user_edit_colleagues_v2_response_m_payload_instance.to_dict() +# create an instance of UserEditColleaguesV2ResponseMPayload from a dict +user_edit_colleagues_v2_response_m_payload_from_dict = UserEditColleaguesV2ResponseMPayload.from_dict(user_edit_colleagues_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UserEditObjectV1Request.md b/docs/UserEditObjectV1Request.md index 9c942d545..4f89aeb94 100644 --- a/docs/UserEditObjectV1Request.md +++ b/docs/UserEditObjectV1Request.md @@ -23,7 +23,7 @@ print(UserEditObjectV1Request.to_json()) # convert the object into a dict user_edit_object_v1_request_dict = user_edit_object_v1_request_instance.to_dict() # create an instance of UserEditObjectV1Request from a dict -user_edit_object_v1_request_form_dict = user_edit_object_v1_request.from_dict(user_edit_object_v1_request_dict) +user_edit_object_v1_request_from_dict = UserEditObjectV1Request.from_dict(user_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserEditObjectV1Response.md b/docs/UserEditObjectV1Response.md index e0cbd049c..c00dee8ee 100644 --- a/docs/UserEditObjectV1Response.md +++ b/docs/UserEditObjectV1Response.md @@ -24,7 +24,7 @@ print(UserEditObjectV1Response.to_json()) # convert the object into a dict user_edit_object_v1_response_dict = user_edit_object_v1_response_instance.to_dict() # create an instance of UserEditObjectV1Response from a dict -user_edit_object_v1_response_form_dict = user_edit_object_v1_response.from_dict(user_edit_object_v1_response_dict) +user_edit_object_v1_response_from_dict = UserEditObjectV1Response.from_dict(user_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserEditPermissionsV1Request.md b/docs/UserEditPermissionsV1Request.md index 0359b4a5a..8d656481b 100644 --- a/docs/UserEditPermissionsV1Request.md +++ b/docs/UserEditPermissionsV1Request.md @@ -23,7 +23,7 @@ print(UserEditPermissionsV1Request.to_json()) # convert the object into a dict user_edit_permissions_v1_request_dict = user_edit_permissions_v1_request_instance.to_dict() # create an instance of UserEditPermissionsV1Request from a dict -user_edit_permissions_v1_request_form_dict = user_edit_permissions_v1_request.from_dict(user_edit_permissions_v1_request_dict) +user_edit_permissions_v1_request_from_dict = UserEditPermissionsV1Request.from_dict(user_edit_permissions_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserEditPermissionsV1Response.md b/docs/UserEditPermissionsV1Response.md index e8d6c0a34..c2d2f3331 100644 --- a/docs/UserEditPermissionsV1Response.md +++ b/docs/UserEditPermissionsV1Response.md @@ -25,7 +25,7 @@ print(UserEditPermissionsV1Response.to_json()) # convert the object into a dict user_edit_permissions_v1_response_dict = user_edit_permissions_v1_response_instance.to_dict() # create an instance of UserEditPermissionsV1Response from a dict -user_edit_permissions_v1_response_form_dict = user_edit_permissions_v1_response.from_dict(user_edit_permissions_v1_response_dict) +user_edit_permissions_v1_response_from_dict = UserEditPermissionsV1Response.from_dict(user_edit_permissions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserEditPermissionsV1ResponseMPayload.md b/docs/UserEditPermissionsV1ResponseMPayload.md index 1c78ddb38..d59b90cab 100644 --- a/docs/UserEditPermissionsV1ResponseMPayload.md +++ b/docs/UserEditPermissionsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserEditPermissionsV1ResponseMPayload.to_json()) # convert the object into a dict user_edit_permissions_v1_response_m_payload_dict = user_edit_permissions_v1_response_m_payload_instance.to_dict() # create an instance of UserEditPermissionsV1ResponseMPayload from a dict -user_edit_permissions_v1_response_m_payload_form_dict = user_edit_permissions_v1_response_m_payload.from_dict(user_edit_permissions_v1_response_m_payload_dict) +user_edit_permissions_v1_response_m_payload_from_dict = UserEditPermissionsV1ResponseMPayload.from_dict(user_edit_permissions_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetApikeysV1Response.md b/docs/UserGetApikeysV1Response.md index a20995a77..b5128f98b 100644 --- a/docs/UserGetApikeysV1Response.md +++ b/docs/UserGetApikeysV1Response.md @@ -25,7 +25,7 @@ print(UserGetApikeysV1Response.to_json()) # convert the object into a dict user_get_apikeys_v1_response_dict = user_get_apikeys_v1_response_instance.to_dict() # create an instance of UserGetApikeysV1Response from a dict -user_get_apikeys_v1_response_form_dict = user_get_apikeys_v1_response.from_dict(user_get_apikeys_v1_response_dict) +user_get_apikeys_v1_response_from_dict = UserGetApikeysV1Response.from_dict(user_get_apikeys_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetApikeysV1ResponseMPayload.md b/docs/UserGetApikeysV1ResponseMPayload.md index 5a74a74b2..028999c53 100644 --- a/docs/UserGetApikeysV1ResponseMPayload.md +++ b/docs/UserGetApikeysV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserGetApikeysV1ResponseMPayload.to_json()) # convert the object into a dict user_get_apikeys_v1_response_m_payload_dict = user_get_apikeys_v1_response_m_payload_instance.to_dict() # create an instance of UserGetApikeysV1ResponseMPayload from a dict -user_get_apikeys_v1_response_m_payload_form_dict = user_get_apikeys_v1_response_m_payload.from_dict(user_get_apikeys_v1_response_m_payload_dict) +user_get_apikeys_v1_response_m_payload_from_dict = UserGetApikeysV1ResponseMPayload.from_dict(user_get_apikeys_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetAutocompleteV2Response.md b/docs/UserGetAutocompleteV2Response.md index d1e56c8a2..488c26056 100644 --- a/docs/UserGetAutocompleteV2Response.md +++ b/docs/UserGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(UserGetAutocompleteV2Response.to_json()) # convert the object into a dict user_get_autocomplete_v2_response_dict = user_get_autocomplete_v2_response_instance.to_dict() # create an instance of UserGetAutocompleteV2Response from a dict -user_get_autocomplete_v2_response_form_dict = user_get_autocomplete_v2_response.from_dict(user_get_autocomplete_v2_response_dict) +user_get_autocomplete_v2_response_from_dict = UserGetAutocompleteV2Response.from_dict(user_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetAutocompleteV2ResponseMPayload.md b/docs/UserGetAutocompleteV2ResponseMPayload.md index 82f361776..6d40dce94 100644 --- a/docs/UserGetAutocompleteV2ResponseMPayload.md +++ b/docs/UserGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict user_get_autocomplete_v2_response_m_payload_dict = user_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of UserGetAutocompleteV2ResponseMPayload from a dict -user_get_autocomplete_v2_response_m_payload_form_dict = user_get_autocomplete_v2_response_m_payload.from_dict(user_get_autocomplete_v2_response_m_payload_dict) +user_get_autocomplete_v2_response_m_payload_from_dict = UserGetAutocompleteV2ResponseMPayload.from_dict(user_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetColleaguesV2Response.md b/docs/UserGetColleaguesV2Response.md new file mode 100644 index 000000000..2a7d5bf6a --- /dev/null +++ b/docs/UserGetColleaguesV2Response.md @@ -0,0 +1,32 @@ +# UserGetColleaguesV2Response + +Response for GET /2/object/user/{pkiUserID}/getColleagues + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**UserGetColleaguesV2ResponseMPayload**](UserGetColleaguesV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.user_get_colleagues_v2_response import UserGetColleaguesV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of UserGetColleaguesV2Response from a JSON string +user_get_colleagues_v2_response_instance = UserGetColleaguesV2Response.from_json(json) +# print the JSON string representation of the object +print(UserGetColleaguesV2Response.to_json()) + +# convert the object into a dict +user_get_colleagues_v2_response_dict = user_get_colleagues_v2_response_instance.to_dict() +# create an instance of UserGetColleaguesV2Response from a dict +user_get_colleagues_v2_response_from_dict = UserGetColleaguesV2Response.from_dict(user_get_colleagues_v2_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UserGetColleaguesV2ResponseMPayload.md b/docs/UserGetColleaguesV2ResponseMPayload.md new file mode 100644 index 000000000..1fd8e757f --- /dev/null +++ b/docs/UserGetColleaguesV2ResponseMPayload.md @@ -0,0 +1,31 @@ +# UserGetColleaguesV2ResponseMPayload + +Response for GET /2/object/user/{pkiUserID}/getColleagues + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_colleague** | [**List[ColleagueResponseCompoundV2]**](ColleagueResponseCompoundV2.md) | | +**a_obj_colleague_clonable** | [**List[ColleagueResponseCompoundV2]**](ColleagueResponseCompoundV2.md) | | + +## Example + +```python +from eZmaxApi.models.user_get_colleagues_v2_response_m_payload import UserGetColleaguesV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of UserGetColleaguesV2ResponseMPayload from a JSON string +user_get_colleagues_v2_response_m_payload_instance = UserGetColleaguesV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print(UserGetColleaguesV2ResponseMPayload.to_json()) + +# convert the object into a dict +user_get_colleagues_v2_response_m_payload_dict = user_get_colleagues_v2_response_m_payload_instance.to_dict() +# create an instance of UserGetColleaguesV2ResponseMPayload from a dict +user_get_colleagues_v2_response_m_payload_from_dict = UserGetColleaguesV2ResponseMPayload.from_dict(user_get_colleagues_v2_response_m_payload_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UserGetEffectivePermissionsV1Response.md b/docs/UserGetEffectivePermissionsV1Response.md index 9ff5ed899..fc9bc8f73 100644 --- a/docs/UserGetEffectivePermissionsV1Response.md +++ b/docs/UserGetEffectivePermissionsV1Response.md @@ -25,7 +25,7 @@ print(UserGetEffectivePermissionsV1Response.to_json()) # convert the object into a dict user_get_effective_permissions_v1_response_dict = user_get_effective_permissions_v1_response_instance.to_dict() # create an instance of UserGetEffectivePermissionsV1Response from a dict -user_get_effective_permissions_v1_response_form_dict = user_get_effective_permissions_v1_response.from_dict(user_get_effective_permissions_v1_response_dict) +user_get_effective_permissions_v1_response_from_dict = UserGetEffectivePermissionsV1Response.from_dict(user_get_effective_permissions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetEffectivePermissionsV1ResponseMPayload.md b/docs/UserGetEffectivePermissionsV1ResponseMPayload.md index 4715bd7d4..d1cbb8846 100644 --- a/docs/UserGetEffectivePermissionsV1ResponseMPayload.md +++ b/docs/UserGetEffectivePermissionsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserGetEffectivePermissionsV1ResponseMPayload.to_json()) # convert the object into a dict user_get_effective_permissions_v1_response_m_payload_dict = user_get_effective_permissions_v1_response_m_payload_instance.to_dict() # create an instance of UserGetEffectivePermissionsV1ResponseMPayload from a dict -user_get_effective_permissions_v1_response_m_payload_form_dict = user_get_effective_permissions_v1_response_m_payload.from_dict(user_get_effective_permissions_v1_response_m_payload_dict) +user_get_effective_permissions_v1_response_m_payload_from_dict = UserGetEffectivePermissionsV1ResponseMPayload.from_dict(user_get_effective_permissions_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetListV1Response.md b/docs/UserGetListV1Response.md index 8930a63f2..bb4a9a49c 100644 --- a/docs/UserGetListV1Response.md +++ b/docs/UserGetListV1Response.md @@ -25,7 +25,7 @@ print(UserGetListV1Response.to_json()) # convert the object into a dict user_get_list_v1_response_dict = user_get_list_v1_response_instance.to_dict() # create an instance of UserGetListV1Response from a dict -user_get_list_v1_response_form_dict = user_get_list_v1_response.from_dict(user_get_list_v1_response_dict) +user_get_list_v1_response_from_dict = UserGetListV1Response.from_dict(user_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetListV1ResponseMPayload.md b/docs/UserGetListV1ResponseMPayload.md index ccd148880..219835d60 100644 --- a/docs/UserGetListV1ResponseMPayload.md +++ b/docs/UserGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(UserGetListV1ResponseMPayload.to_json()) # convert the object into a dict user_get_list_v1_response_m_payload_dict = user_get_list_v1_response_m_payload_instance.to_dict() # create an instance of UserGetListV1ResponseMPayload from a dict -user_get_list_v1_response_m_payload_form_dict = user_get_list_v1_response_m_payload.from_dict(user_get_list_v1_response_m_payload_dict) +user_get_list_v1_response_m_payload_from_dict = UserGetListV1ResponseMPayload.from_dict(user_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetObjectV2Response.md b/docs/UserGetObjectV2Response.md index 0a94aaf58..d4bf5dd0a 100644 --- a/docs/UserGetObjectV2Response.md +++ b/docs/UserGetObjectV2Response.md @@ -25,7 +25,7 @@ print(UserGetObjectV2Response.to_json()) # convert the object into a dict user_get_object_v2_response_dict = user_get_object_v2_response_instance.to_dict() # create an instance of UserGetObjectV2Response from a dict -user_get_object_v2_response_form_dict = user_get_object_v2_response.from_dict(user_get_object_v2_response_dict) +user_get_object_v2_response_from_dict = UserGetObjectV2Response.from_dict(user_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetObjectV2ResponseMPayload.md b/docs/UserGetObjectV2ResponseMPayload.md index a940b5aaf..9c7064862 100644 --- a/docs/UserGetObjectV2ResponseMPayload.md +++ b/docs/UserGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict user_get_object_v2_response_m_payload_dict = user_get_object_v2_response_m_payload_instance.to_dict() # create an instance of UserGetObjectV2ResponseMPayload from a dict -user_get_object_v2_response_m_payload_form_dict = user_get_object_v2_response_m_payload.from_dict(user_get_object_v2_response_m_payload_dict) +user_get_object_v2_response_m_payload_from_dict = UserGetObjectV2ResponseMPayload.from_dict(user_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetPermissionsV1Response.md b/docs/UserGetPermissionsV1Response.md index 9c41b2a6a..238a04cd6 100644 --- a/docs/UserGetPermissionsV1Response.md +++ b/docs/UserGetPermissionsV1Response.md @@ -25,7 +25,7 @@ print(UserGetPermissionsV1Response.to_json()) # convert the object into a dict user_get_permissions_v1_response_dict = user_get_permissions_v1_response_instance.to_dict() # create an instance of UserGetPermissionsV1Response from a dict -user_get_permissions_v1_response_form_dict = user_get_permissions_v1_response.from_dict(user_get_permissions_v1_response_dict) +user_get_permissions_v1_response_from_dict = UserGetPermissionsV1Response.from_dict(user_get_permissions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetPermissionsV1ResponseMPayload.md b/docs/UserGetPermissionsV1ResponseMPayload.md index 2297557ca..0e7c4775f 100644 --- a/docs/UserGetPermissionsV1ResponseMPayload.md +++ b/docs/UserGetPermissionsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserGetPermissionsV1ResponseMPayload.to_json()) # convert the object into a dict user_get_permissions_v1_response_m_payload_dict = user_get_permissions_v1_response_m_payload_instance.to_dict() # create an instance of UserGetPermissionsV1ResponseMPayload from a dict -user_get_permissions_v1_response_m_payload_form_dict = user_get_permissions_v1_response_m_payload.from_dict(user_get_permissions_v1_response_m_payload_dict) +user_get_permissions_v1_response_m_payload_from_dict = UserGetPermissionsV1ResponseMPayload.from_dict(user_get_permissions_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetSubnetsV1Response.md b/docs/UserGetSubnetsV1Response.md index aaf76e211..eebe23530 100644 --- a/docs/UserGetSubnetsV1Response.md +++ b/docs/UserGetSubnetsV1Response.md @@ -25,7 +25,7 @@ print(UserGetSubnetsV1Response.to_json()) # convert the object into a dict user_get_subnets_v1_response_dict = user_get_subnets_v1_response_instance.to_dict() # create an instance of UserGetSubnetsV1Response from a dict -user_get_subnets_v1_response_form_dict = user_get_subnets_v1_response.from_dict(user_get_subnets_v1_response_dict) +user_get_subnets_v1_response_from_dict = UserGetSubnetsV1Response.from_dict(user_get_subnets_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetSubnetsV1ResponseMPayload.md b/docs/UserGetSubnetsV1ResponseMPayload.md index cce25cf4d..1df002628 100644 --- a/docs/UserGetSubnetsV1ResponseMPayload.md +++ b/docs/UserGetSubnetsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserGetSubnetsV1ResponseMPayload.to_json()) # convert the object into a dict user_get_subnets_v1_response_m_payload_dict = user_get_subnets_v1_response_m_payload_instance.to_dict() # create an instance of UserGetSubnetsV1ResponseMPayload from a dict -user_get_subnets_v1_response_m_payload_form_dict = user_get_subnets_v1_response_m_payload.from_dict(user_get_subnets_v1_response_m_payload_dict) +user_get_subnets_v1_response_m_payload_from_dict = UserGetSubnetsV1ResponseMPayload.from_dict(user_get_subnets_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetUsergroupexternalsV1Response.md b/docs/UserGetUsergroupexternalsV1Response.md index 4201cf3f0..dc15dc084 100644 --- a/docs/UserGetUsergroupexternalsV1Response.md +++ b/docs/UserGetUsergroupexternalsV1Response.md @@ -25,7 +25,7 @@ print(UserGetUsergroupexternalsV1Response.to_json()) # convert the object into a dict user_get_usergroupexternals_v1_response_dict = user_get_usergroupexternals_v1_response_instance.to_dict() # create an instance of UserGetUsergroupexternalsV1Response from a dict -user_get_usergroupexternals_v1_response_form_dict = user_get_usergroupexternals_v1_response.from_dict(user_get_usergroupexternals_v1_response_dict) +user_get_usergroupexternals_v1_response_from_dict = UserGetUsergroupexternalsV1Response.from_dict(user_get_usergroupexternals_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetUsergroupexternalsV1ResponseMPayload.md b/docs/UserGetUsergroupexternalsV1ResponseMPayload.md index a09427e03..0ce942de5 100644 --- a/docs/UserGetUsergroupexternalsV1ResponseMPayload.md +++ b/docs/UserGetUsergroupexternalsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserGetUsergroupexternalsV1ResponseMPayload.to_json()) # convert the object into a dict user_get_usergroupexternals_v1_response_m_payload_dict = user_get_usergroupexternals_v1_response_m_payload_instance.to_dict() # create an instance of UserGetUsergroupexternalsV1ResponseMPayload from a dict -user_get_usergroupexternals_v1_response_m_payload_form_dict = user_get_usergroupexternals_v1_response_m_payload.from_dict(user_get_usergroupexternals_v1_response_m_payload_dict) +user_get_usergroupexternals_v1_response_m_payload_from_dict = UserGetUsergroupexternalsV1ResponseMPayload.from_dict(user_get_usergroupexternals_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetUsergroupsV1Response.md b/docs/UserGetUsergroupsV1Response.md index dd8d77584..5efe996c5 100644 --- a/docs/UserGetUsergroupsV1Response.md +++ b/docs/UserGetUsergroupsV1Response.md @@ -25,7 +25,7 @@ print(UserGetUsergroupsV1Response.to_json()) # convert the object into a dict user_get_usergroups_v1_response_dict = user_get_usergroups_v1_response_instance.to_dict() # create an instance of UserGetUsergroupsV1Response from a dict -user_get_usergroups_v1_response_form_dict = user_get_usergroups_v1_response.from_dict(user_get_usergroups_v1_response_dict) +user_get_usergroups_v1_response_from_dict = UserGetUsergroupsV1Response.from_dict(user_get_usergroups_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserGetUsergroupsV1ResponseMPayload.md b/docs/UserGetUsergroupsV1ResponseMPayload.md index f39843179..b20e9c2f5 100644 --- a/docs/UserGetUsergroupsV1ResponseMPayload.md +++ b/docs/UserGetUsergroupsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserGetUsergroupsV1ResponseMPayload.to_json()) # convert the object into a dict user_get_usergroups_v1_response_m_payload_dict = user_get_usergroups_v1_response_m_payload_instance.to_dict() # create an instance of UserGetUsergroupsV1ResponseMPayload from a dict -user_get_usergroups_v1_response_m_payload_form_dict = user_get_usergroups_v1_response_m_payload.from_dict(user_get_usergroups_v1_response_m_payload_dict) +user_get_usergroups_v1_response_m_payload_from_dict = UserGetUsergroupsV1ResponseMPayload.from_dict(user_get_usergroups_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserListElement.md b/docs/UserListElement.md index c2642b7b2..d6d53720d 100644 --- a/docs/UserListElement.md +++ b/docs/UserListElement.md @@ -33,7 +33,7 @@ print(UserListElement.to_json()) # convert the object into a dict user_list_element_dict = user_list_element_instance.to_dict() # create an instance of UserListElement from a dict -user_list_element_form_dict = user_list_element.from_dict(user_list_element_dict) +user_list_element_from_dict = UserListElement.from_dict(user_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserRequest.md b/docs/UserRequest.md index 348c2357f..5c6034138 100644 --- a/docs/UserRequest.md +++ b/docs/UserRequest.md @@ -50,7 +50,7 @@ print(UserRequest.to_json()) # convert the object into a dict user_request_dict = user_request_instance.to_dict() # create an instance of UserRequest from a dict -user_request_form_dict = user_request.from_dict(user_request_dict) +user_request_from_dict = UserRequest.from_dict(user_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserRequestCompound.md b/docs/UserRequestCompound.md index 557151f6a..888bfca70 100644 --- a/docs/UserRequestCompound.md +++ b/docs/UserRequestCompound.md @@ -50,7 +50,7 @@ print(UserRequestCompound.to_json()) # convert the object into a dict user_request_compound_dict = user_request_compound_instance.to_dict() # create an instance of UserRequestCompound from a dict -user_request_compound_form_dict = user_request_compound.from_dict(user_request_compound_dict) +user_request_compound_from_dict = UserRequestCompound.from_dict(user_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserRequestCompoundV2.md b/docs/UserRequestCompoundV2.md index 91442af9f..d87f7c19c 100644 --- a/docs/UserRequestCompoundV2.md +++ b/docs/UserRequestCompoundV2.md @@ -50,7 +50,7 @@ print(UserRequestCompoundV2.to_json()) # convert the object into a dict user_request_compound_v2_dict = user_request_compound_v2_instance.to_dict() # create an instance of UserRequestCompoundV2 from a dict -user_request_compound_v2_form_dict = user_request_compound_v2.from_dict(user_request_compound_v2_dict) +user_request_compound_v2_from_dict = UserRequestCompoundV2.from_dict(user_request_compound_v2_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserRequestV2.md b/docs/UserRequestV2.md index 252178b7b..693b25f46 100644 --- a/docs/UserRequestV2.md +++ b/docs/UserRequestV2.md @@ -50,7 +50,7 @@ print(UserRequestV2.to_json()) # convert the object into a dict user_request_v2_dict = user_request_v2_instance.to_dict() # create an instance of UserRequestV2 from a dict -user_request_v2_form_dict = user_request_v2.from_dict(user_request_v2_dict) +user_request_v2_from_dict = UserRequestV2.from_dict(user_request_v2_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserResponse.md b/docs/UserResponse.md index efab55e07..78db3abf9 100644 --- a/docs/UserResponse.md +++ b/docs/UserResponse.md @@ -60,7 +60,7 @@ print(UserResponse.to_json()) # convert the object into a dict user_response_dict = user_response_instance.to_dict() # create an instance of UserResponse from a dict -user_response_form_dict = user_response.from_dict(user_response_dict) +user_response_from_dict = UserResponse.from_dict(user_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserResponseCompound.md b/docs/UserResponseCompound.md index ae17f3a20..69485142a 100644 --- a/docs/UserResponseCompound.md +++ b/docs/UserResponseCompound.md @@ -60,7 +60,7 @@ print(UserResponseCompound.to_json()) # convert the object into a dict user_response_compound_dict = user_response_compound_instance.to_dict() # create an instance of UserResponseCompound from a dict -user_response_compound_form_dict = user_response_compound.from_dict(user_response_compound_dict) +user_response_compound_from_dict = UserResponseCompound.from_dict(user_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserSendPasswordResetV1Response.md b/docs/UserSendPasswordResetV1Response.md index 7b5b7bdcf..b8a055218 100644 --- a/docs/UserSendPasswordResetV1Response.md +++ b/docs/UserSendPasswordResetV1Response.md @@ -24,7 +24,7 @@ print(UserSendPasswordResetV1Response.to_json()) # convert the object into a dict user_send_password_reset_v1_response_dict = user_send_password_reset_v1_response_instance.to_dict() # create an instance of UserSendPasswordResetV1Response from a dict -user_send_password_reset_v1_response_form_dict = user_send_password_reset_v1_response.from_dict(user_send_password_reset_v1_response_dict) +user_send_password_reset_v1_response_from_dict = UserSendPasswordResetV1Response.from_dict(user_send_password_reset_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupAutocompleteElementResponse.md b/docs/UsergroupAutocompleteElementResponse.md index b2bfeaf4e..297b1023b 100644 --- a/docs/UsergroupAutocompleteElementResponse.md +++ b/docs/UsergroupAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(UsergroupAutocompleteElementResponse.to_json()) # convert the object into a dict usergroup_autocomplete_element_response_dict = usergroup_autocomplete_element_response_instance.to_dict() # create an instance of UsergroupAutocompleteElementResponse from a dict -usergroup_autocomplete_element_response_form_dict = usergroup_autocomplete_element_response.from_dict(usergroup_autocomplete_element_response_dict) +usergroup_autocomplete_element_response_from_dict = UsergroupAutocompleteElementResponse.from_dict(usergroup_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupCreateObjectV1Request.md b/docs/UsergroupCreateObjectV1Request.md index 870255b41..039bf90c8 100644 --- a/docs/UsergroupCreateObjectV1Request.md +++ b/docs/UsergroupCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(UsergroupCreateObjectV1Request.to_json()) # convert the object into a dict usergroup_create_object_v1_request_dict = usergroup_create_object_v1_request_instance.to_dict() # create an instance of UsergroupCreateObjectV1Request from a dict -usergroup_create_object_v1_request_form_dict = usergroup_create_object_v1_request.from_dict(usergroup_create_object_v1_request_dict) +usergroup_create_object_v1_request_from_dict = UsergroupCreateObjectV1Request.from_dict(usergroup_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupCreateObjectV1Response.md b/docs/UsergroupCreateObjectV1Response.md index 64a98a960..bd6f927de 100644 --- a/docs/UsergroupCreateObjectV1Response.md +++ b/docs/UsergroupCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(UsergroupCreateObjectV1Response.to_json()) # convert the object into a dict usergroup_create_object_v1_response_dict = usergroup_create_object_v1_response_instance.to_dict() # create an instance of UsergroupCreateObjectV1Response from a dict -usergroup_create_object_v1_response_form_dict = usergroup_create_object_v1_response.from_dict(usergroup_create_object_v1_response_dict) +usergroup_create_object_v1_response_from_dict = UsergroupCreateObjectV1Response.from_dict(usergroup_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupCreateObjectV1ResponseMPayload.md b/docs/UsergroupCreateObjectV1ResponseMPayload.md index 23f54c2d9..9a579ab39 100644 --- a/docs/UsergroupCreateObjectV1ResponseMPayload.md +++ b/docs/UsergroupCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict usergroup_create_object_v1_response_m_payload_dict = usergroup_create_object_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupCreateObjectV1ResponseMPayload from a dict -usergroup_create_object_v1_response_m_payload_form_dict = usergroup_create_object_v1_response_m_payload.from_dict(usergroup_create_object_v1_response_m_payload_dict) +usergroup_create_object_v1_response_m_payload_from_dict = UsergroupCreateObjectV1ResponseMPayload.from_dict(usergroup_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditObjectV1Request.md b/docs/UsergroupEditObjectV1Request.md index 34057c965..b06243f5b 100644 --- a/docs/UsergroupEditObjectV1Request.md +++ b/docs/UsergroupEditObjectV1Request.md @@ -23,7 +23,7 @@ print(UsergroupEditObjectV1Request.to_json()) # convert the object into a dict usergroup_edit_object_v1_request_dict = usergroup_edit_object_v1_request_instance.to_dict() # create an instance of UsergroupEditObjectV1Request from a dict -usergroup_edit_object_v1_request_form_dict = usergroup_edit_object_v1_request.from_dict(usergroup_edit_object_v1_request_dict) +usergroup_edit_object_v1_request_from_dict = UsergroupEditObjectV1Request.from_dict(usergroup_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditObjectV1Response.md b/docs/UsergroupEditObjectV1Response.md index bccc745ef..9a74032a1 100644 --- a/docs/UsergroupEditObjectV1Response.md +++ b/docs/UsergroupEditObjectV1Response.md @@ -24,7 +24,7 @@ print(UsergroupEditObjectV1Response.to_json()) # convert the object into a dict usergroup_edit_object_v1_response_dict = usergroup_edit_object_v1_response_instance.to_dict() # create an instance of UsergroupEditObjectV1Response from a dict -usergroup_edit_object_v1_response_form_dict = usergroup_edit_object_v1_response.from_dict(usergroup_edit_object_v1_response_dict) +usergroup_edit_object_v1_response_from_dict = UsergroupEditObjectV1Response.from_dict(usergroup_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditPermissionsV1Request.md b/docs/UsergroupEditPermissionsV1Request.md index 3b8874127..afa7ce409 100644 --- a/docs/UsergroupEditPermissionsV1Request.md +++ b/docs/UsergroupEditPermissionsV1Request.md @@ -23,7 +23,7 @@ print(UsergroupEditPermissionsV1Request.to_json()) # convert the object into a dict usergroup_edit_permissions_v1_request_dict = usergroup_edit_permissions_v1_request_instance.to_dict() # create an instance of UsergroupEditPermissionsV1Request from a dict -usergroup_edit_permissions_v1_request_form_dict = usergroup_edit_permissions_v1_request.from_dict(usergroup_edit_permissions_v1_request_dict) +usergroup_edit_permissions_v1_request_from_dict = UsergroupEditPermissionsV1Request.from_dict(usergroup_edit_permissions_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditPermissionsV1Response.md b/docs/UsergroupEditPermissionsV1Response.md index 369a035a7..93720fb8d 100644 --- a/docs/UsergroupEditPermissionsV1Response.md +++ b/docs/UsergroupEditPermissionsV1Response.md @@ -25,7 +25,7 @@ print(UsergroupEditPermissionsV1Response.to_json()) # convert the object into a dict usergroup_edit_permissions_v1_response_dict = usergroup_edit_permissions_v1_response_instance.to_dict() # create an instance of UsergroupEditPermissionsV1Response from a dict -usergroup_edit_permissions_v1_response_form_dict = usergroup_edit_permissions_v1_response.from_dict(usergroup_edit_permissions_v1_response_dict) +usergroup_edit_permissions_v1_response_from_dict = UsergroupEditPermissionsV1Response.from_dict(usergroup_edit_permissions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditPermissionsV1ResponseMPayload.md b/docs/UsergroupEditPermissionsV1ResponseMPayload.md index 5a424be6f..9298c9a69 100644 --- a/docs/UsergroupEditPermissionsV1ResponseMPayload.md +++ b/docs/UsergroupEditPermissionsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupEditPermissionsV1ResponseMPayload.to_json()) # convert the object into a dict usergroup_edit_permissions_v1_response_m_payload_dict = usergroup_edit_permissions_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupEditPermissionsV1ResponseMPayload from a dict -usergroup_edit_permissions_v1_response_m_payload_form_dict = usergroup_edit_permissions_v1_response_m_payload.from_dict(usergroup_edit_permissions_v1_response_m_payload_dict) +usergroup_edit_permissions_v1_response_m_payload_from_dict = UsergroupEditPermissionsV1ResponseMPayload.from_dict(usergroup_edit_permissions_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditUsergroupdelegationsV1Request.md b/docs/UsergroupEditUsergroupdelegationsV1Request.md index 7072f986b..7b2b82ba0 100644 --- a/docs/UsergroupEditUsergroupdelegationsV1Request.md +++ b/docs/UsergroupEditUsergroupdelegationsV1Request.md @@ -23,7 +23,7 @@ print(UsergroupEditUsergroupdelegationsV1Request.to_json()) # convert the object into a dict usergroup_edit_usergroupdelegations_v1_request_dict = usergroup_edit_usergroupdelegations_v1_request_instance.to_dict() # create an instance of UsergroupEditUsergroupdelegationsV1Request from a dict -usergroup_edit_usergroupdelegations_v1_request_form_dict = usergroup_edit_usergroupdelegations_v1_request.from_dict(usergroup_edit_usergroupdelegations_v1_request_dict) +usergroup_edit_usergroupdelegations_v1_request_from_dict = UsergroupEditUsergroupdelegationsV1Request.from_dict(usergroup_edit_usergroupdelegations_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditUsergroupdelegationsV1Response.md b/docs/UsergroupEditUsergroupdelegationsV1Response.md index 182dc6351..0e563b642 100644 --- a/docs/UsergroupEditUsergroupdelegationsV1Response.md +++ b/docs/UsergroupEditUsergroupdelegationsV1Response.md @@ -25,7 +25,7 @@ print(UsergroupEditUsergroupdelegationsV1Response.to_json()) # convert the object into a dict usergroup_edit_usergroupdelegations_v1_response_dict = usergroup_edit_usergroupdelegations_v1_response_instance.to_dict() # create an instance of UsergroupEditUsergroupdelegationsV1Response from a dict -usergroup_edit_usergroupdelegations_v1_response_form_dict = usergroup_edit_usergroupdelegations_v1_response.from_dict(usergroup_edit_usergroupdelegations_v1_response_dict) +usergroup_edit_usergroupdelegations_v1_response_from_dict = UsergroupEditUsergroupdelegationsV1Response.from_dict(usergroup_edit_usergroupdelegations_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditUsergroupdelegationsV1ResponseMPayload.md b/docs/UsergroupEditUsergroupdelegationsV1ResponseMPayload.md index 4a2fa4a9e..1d93ca098 100644 --- a/docs/UsergroupEditUsergroupdelegationsV1ResponseMPayload.md +++ b/docs/UsergroupEditUsergroupdelegationsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupEditUsergroupdelegationsV1ResponseMPayload.to_json()) # convert the object into a dict usergroup_edit_usergroupdelegations_v1_response_m_payload_dict = usergroup_edit_usergroupdelegations_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupEditUsergroupdelegationsV1ResponseMPayload from a dict -usergroup_edit_usergroupdelegations_v1_response_m_payload_form_dict = usergroup_edit_usergroupdelegations_v1_response_m_payload.from_dict(usergroup_edit_usergroupdelegations_v1_response_m_payload_dict) +usergroup_edit_usergroupdelegations_v1_response_m_payload_from_dict = UsergroupEditUsergroupdelegationsV1ResponseMPayload.from_dict(usergroup_edit_usergroupdelegations_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditUsergroupmembershipsV1Request.md b/docs/UsergroupEditUsergroupmembershipsV1Request.md index 565d3495b..1e2cd722a 100644 --- a/docs/UsergroupEditUsergroupmembershipsV1Request.md +++ b/docs/UsergroupEditUsergroupmembershipsV1Request.md @@ -23,7 +23,7 @@ print(UsergroupEditUsergroupmembershipsV1Request.to_json()) # convert the object into a dict usergroup_edit_usergroupmemberships_v1_request_dict = usergroup_edit_usergroupmemberships_v1_request_instance.to_dict() # create an instance of UsergroupEditUsergroupmembershipsV1Request from a dict -usergroup_edit_usergroupmemberships_v1_request_form_dict = usergroup_edit_usergroupmemberships_v1_request.from_dict(usergroup_edit_usergroupmemberships_v1_request_dict) +usergroup_edit_usergroupmemberships_v1_request_from_dict = UsergroupEditUsergroupmembershipsV1Request.from_dict(usergroup_edit_usergroupmemberships_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditUsergroupmembershipsV1Response.md b/docs/UsergroupEditUsergroupmembershipsV1Response.md index c0b3613f7..013da622a 100644 --- a/docs/UsergroupEditUsergroupmembershipsV1Response.md +++ b/docs/UsergroupEditUsergroupmembershipsV1Response.md @@ -25,7 +25,7 @@ print(UsergroupEditUsergroupmembershipsV1Response.to_json()) # convert the object into a dict usergroup_edit_usergroupmemberships_v1_response_dict = usergroup_edit_usergroupmemberships_v1_response_instance.to_dict() # create an instance of UsergroupEditUsergroupmembershipsV1Response from a dict -usergroup_edit_usergroupmemberships_v1_response_form_dict = usergroup_edit_usergroupmemberships_v1_response.from_dict(usergroup_edit_usergroupmemberships_v1_response_dict) +usergroup_edit_usergroupmemberships_v1_response_from_dict = UsergroupEditUsergroupmembershipsV1Response.from_dict(usergroup_edit_usergroupmemberships_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupEditUsergroupmembershipsV1ResponseMPayload.md b/docs/UsergroupEditUsergroupmembershipsV1ResponseMPayload.md index 58137f6b1..83b7e129a 100644 --- a/docs/UsergroupEditUsergroupmembershipsV1ResponseMPayload.md +++ b/docs/UsergroupEditUsergroupmembershipsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupEditUsergroupmembershipsV1ResponseMPayload.to_json()) # convert the object into a dict usergroup_edit_usergroupmemberships_v1_response_m_payload_dict = usergroup_edit_usergroupmemberships_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupEditUsergroupmembershipsV1ResponseMPayload from a dict -usergroup_edit_usergroupmemberships_v1_response_m_payload_form_dict = usergroup_edit_usergroupmemberships_v1_response_m_payload.from_dict(usergroup_edit_usergroupmemberships_v1_response_m_payload_dict) +usergroup_edit_usergroupmemberships_v1_response_m_payload_from_dict = UsergroupEditUsergroupmembershipsV1ResponseMPayload.from_dict(usergroup_edit_usergroupmemberships_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetAutocompleteV2Response.md b/docs/UsergroupGetAutocompleteV2Response.md index f77be2376..86e598c85 100644 --- a/docs/UsergroupGetAutocompleteV2Response.md +++ b/docs/UsergroupGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(UsergroupGetAutocompleteV2Response.to_json()) # convert the object into a dict usergroup_get_autocomplete_v2_response_dict = usergroup_get_autocomplete_v2_response_instance.to_dict() # create an instance of UsergroupGetAutocompleteV2Response from a dict -usergroup_get_autocomplete_v2_response_form_dict = usergroup_get_autocomplete_v2_response.from_dict(usergroup_get_autocomplete_v2_response_dict) +usergroup_get_autocomplete_v2_response_from_dict = UsergroupGetAutocompleteV2Response.from_dict(usergroup_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetAutocompleteV2ResponseMPayload.md b/docs/UsergroupGetAutocompleteV2ResponseMPayload.md index 01cb7abb8..5ad59244c 100644 --- a/docs/UsergroupGetAutocompleteV2ResponseMPayload.md +++ b/docs/UsergroupGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict usergroup_get_autocomplete_v2_response_m_payload_dict = usergroup_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of UsergroupGetAutocompleteV2ResponseMPayload from a dict -usergroup_get_autocomplete_v2_response_m_payload_form_dict = usergroup_get_autocomplete_v2_response_m_payload.from_dict(usergroup_get_autocomplete_v2_response_m_payload_dict) +usergroup_get_autocomplete_v2_response_m_payload_from_dict = UsergroupGetAutocompleteV2ResponseMPayload.from_dict(usergroup_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetListV1Response.md b/docs/UsergroupGetListV1Response.md index a2783e53c..e0a500a27 100644 --- a/docs/UsergroupGetListV1Response.md +++ b/docs/UsergroupGetListV1Response.md @@ -25,7 +25,7 @@ print(UsergroupGetListV1Response.to_json()) # convert the object into a dict usergroup_get_list_v1_response_dict = usergroup_get_list_v1_response_instance.to_dict() # create an instance of UsergroupGetListV1Response from a dict -usergroup_get_list_v1_response_form_dict = usergroup_get_list_v1_response.from_dict(usergroup_get_list_v1_response_dict) +usergroup_get_list_v1_response_from_dict = UsergroupGetListV1Response.from_dict(usergroup_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetListV1ResponseMPayload.md b/docs/UsergroupGetListV1ResponseMPayload.md index f0ebc72d9..e2545dbd8 100644 --- a/docs/UsergroupGetListV1ResponseMPayload.md +++ b/docs/UsergroupGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(UsergroupGetListV1ResponseMPayload.to_json()) # convert the object into a dict usergroup_get_list_v1_response_m_payload_dict = usergroup_get_list_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupGetListV1ResponseMPayload from a dict -usergroup_get_list_v1_response_m_payload_form_dict = usergroup_get_list_v1_response_m_payload.from_dict(usergroup_get_list_v1_response_m_payload_dict) +usergroup_get_list_v1_response_m_payload_from_dict = UsergroupGetListV1ResponseMPayload.from_dict(usergroup_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetObjectV2Response.md b/docs/UsergroupGetObjectV2Response.md index da6c7a9c9..566106ab5 100644 --- a/docs/UsergroupGetObjectV2Response.md +++ b/docs/UsergroupGetObjectV2Response.md @@ -25,7 +25,7 @@ print(UsergroupGetObjectV2Response.to_json()) # convert the object into a dict usergroup_get_object_v2_response_dict = usergroup_get_object_v2_response_instance.to_dict() # create an instance of UsergroupGetObjectV2Response from a dict -usergroup_get_object_v2_response_form_dict = usergroup_get_object_v2_response.from_dict(usergroup_get_object_v2_response_dict) +usergroup_get_object_v2_response_from_dict = UsergroupGetObjectV2Response.from_dict(usergroup_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetObjectV2ResponseMPayload.md b/docs/UsergroupGetObjectV2ResponseMPayload.md index 3c9af1d6c..0a56ed0f3 100644 --- a/docs/UsergroupGetObjectV2ResponseMPayload.md +++ b/docs/UsergroupGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict usergroup_get_object_v2_response_m_payload_dict = usergroup_get_object_v2_response_m_payload_instance.to_dict() # create an instance of UsergroupGetObjectV2ResponseMPayload from a dict -usergroup_get_object_v2_response_m_payload_form_dict = usergroup_get_object_v2_response_m_payload.from_dict(usergroup_get_object_v2_response_m_payload_dict) +usergroup_get_object_v2_response_m_payload_from_dict = UsergroupGetObjectV2ResponseMPayload.from_dict(usergroup_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetPermissionsV1Response.md b/docs/UsergroupGetPermissionsV1Response.md index 8929101c4..7b957a063 100644 --- a/docs/UsergroupGetPermissionsV1Response.md +++ b/docs/UsergroupGetPermissionsV1Response.md @@ -25,7 +25,7 @@ print(UsergroupGetPermissionsV1Response.to_json()) # convert the object into a dict usergroup_get_permissions_v1_response_dict = usergroup_get_permissions_v1_response_instance.to_dict() # create an instance of UsergroupGetPermissionsV1Response from a dict -usergroup_get_permissions_v1_response_form_dict = usergroup_get_permissions_v1_response.from_dict(usergroup_get_permissions_v1_response_dict) +usergroup_get_permissions_v1_response_from_dict = UsergroupGetPermissionsV1Response.from_dict(usergroup_get_permissions_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetPermissionsV1ResponseMPayload.md b/docs/UsergroupGetPermissionsV1ResponseMPayload.md index d43a3c725..11508e8d3 100644 --- a/docs/UsergroupGetPermissionsV1ResponseMPayload.md +++ b/docs/UsergroupGetPermissionsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupGetPermissionsV1ResponseMPayload.to_json()) # convert the object into a dict usergroup_get_permissions_v1_response_m_payload_dict = usergroup_get_permissions_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupGetPermissionsV1ResponseMPayload from a dict -usergroup_get_permissions_v1_response_m_payload_form_dict = usergroup_get_permissions_v1_response_m_payload.from_dict(usergroup_get_permissions_v1_response_m_payload_dict) +usergroup_get_permissions_v1_response_m_payload_from_dict = UsergroupGetPermissionsV1ResponseMPayload.from_dict(usergroup_get_permissions_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetUsergroupdelegationsV1Response.md b/docs/UsergroupGetUsergroupdelegationsV1Response.md index 6c6efa2f9..3d7abaa30 100644 --- a/docs/UsergroupGetUsergroupdelegationsV1Response.md +++ b/docs/UsergroupGetUsergroupdelegationsV1Response.md @@ -25,7 +25,7 @@ print(UsergroupGetUsergroupdelegationsV1Response.to_json()) # convert the object into a dict usergroup_get_usergroupdelegations_v1_response_dict = usergroup_get_usergroupdelegations_v1_response_instance.to_dict() # create an instance of UsergroupGetUsergroupdelegationsV1Response from a dict -usergroup_get_usergroupdelegations_v1_response_form_dict = usergroup_get_usergroupdelegations_v1_response.from_dict(usergroup_get_usergroupdelegations_v1_response_dict) +usergroup_get_usergroupdelegations_v1_response_from_dict = UsergroupGetUsergroupdelegationsV1Response.from_dict(usergroup_get_usergroupdelegations_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetUsergroupdelegationsV1ResponseMPayload.md b/docs/UsergroupGetUsergroupdelegationsV1ResponseMPayload.md index d14bd7fb5..d4bd2c8a7 100644 --- a/docs/UsergroupGetUsergroupdelegationsV1ResponseMPayload.md +++ b/docs/UsergroupGetUsergroupdelegationsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupGetUsergroupdelegationsV1ResponseMPayload.to_json()) # convert the object into a dict usergroup_get_usergroupdelegations_v1_response_m_payload_dict = usergroup_get_usergroupdelegations_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupGetUsergroupdelegationsV1ResponseMPayload from a dict -usergroup_get_usergroupdelegations_v1_response_m_payload_form_dict = usergroup_get_usergroupdelegations_v1_response_m_payload.from_dict(usergroup_get_usergroupdelegations_v1_response_m_payload_dict) +usergroup_get_usergroupdelegations_v1_response_m_payload_from_dict = UsergroupGetUsergroupdelegationsV1ResponseMPayload.from_dict(usergroup_get_usergroupdelegations_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetUsergroupmembershipsV1Response.md b/docs/UsergroupGetUsergroupmembershipsV1Response.md index e3eb48585..14789f8bd 100644 --- a/docs/UsergroupGetUsergroupmembershipsV1Response.md +++ b/docs/UsergroupGetUsergroupmembershipsV1Response.md @@ -25,7 +25,7 @@ print(UsergroupGetUsergroupmembershipsV1Response.to_json()) # convert the object into a dict usergroup_get_usergroupmemberships_v1_response_dict = usergroup_get_usergroupmemberships_v1_response_instance.to_dict() # create an instance of UsergroupGetUsergroupmembershipsV1Response from a dict -usergroup_get_usergroupmemberships_v1_response_form_dict = usergroup_get_usergroupmemberships_v1_response.from_dict(usergroup_get_usergroupmemberships_v1_response_dict) +usergroup_get_usergroupmemberships_v1_response_from_dict = UsergroupGetUsergroupmembershipsV1Response.from_dict(usergroup_get_usergroupmemberships_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupGetUsergroupmembershipsV1ResponseMPayload.md b/docs/UsergroupGetUsergroupmembershipsV1ResponseMPayload.md index 3bb18426c..0fe749166 100644 --- a/docs/UsergroupGetUsergroupmembershipsV1ResponseMPayload.md +++ b/docs/UsergroupGetUsergroupmembershipsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupGetUsergroupmembershipsV1ResponseMPayload.to_json()) # convert the object into a dict usergroup_get_usergroupmemberships_v1_response_m_payload_dict = usergroup_get_usergroupmemberships_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupGetUsergroupmembershipsV1ResponseMPayload from a dict -usergroup_get_usergroupmemberships_v1_response_m_payload_form_dict = usergroup_get_usergroupmemberships_v1_response_m_payload.from_dict(usergroup_get_usergroupmemberships_v1_response_m_payload_dict) +usergroup_get_usergroupmemberships_v1_response_m_payload_from_dict = UsergroupGetUsergroupmembershipsV1ResponseMPayload.from_dict(usergroup_get_usergroupmemberships_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupListElement.md b/docs/UsergroupListElement.md index e38d1b546..50bcaa33e 100644 --- a/docs/UsergroupListElement.md +++ b/docs/UsergroupListElement.md @@ -25,7 +25,7 @@ print(UsergroupListElement.to_json()) # convert the object into a dict usergroup_list_element_dict = usergroup_list_element_instance.to_dict() # create an instance of UsergroupListElement from a dict -usergroup_list_element_form_dict = usergroup_list_element.from_dict(usergroup_list_element_dict) +usergroup_list_element_from_dict = UsergroupListElement.from_dict(usergroup_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupRequest.md b/docs/UsergroupRequest.md index aa814bf04..9af54cf10 100644 --- a/docs/UsergroupRequest.md +++ b/docs/UsergroupRequest.md @@ -7,6 +7,7 @@ A Usergroup Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**obj_email** | [**EmailRequest**](EmailRequest.md) | | [optional] **obj_usergroup_name** | [**MultilingualUsergroupName**](MultilingualUsergroupName.md) | | ## Example @@ -24,7 +25,7 @@ print(UsergroupRequest.to_json()) # convert the object into a dict usergroup_request_dict = usergroup_request_instance.to_dict() # create an instance of UsergroupRequest from a dict -usergroup_request_form_dict = usergroup_request.from_dict(usergroup_request_dict) +usergroup_request_from_dict = UsergroupRequest.from_dict(usergroup_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupRequestCompound.md b/docs/UsergroupRequestCompound.md index 0da31435b..14297a17b 100644 --- a/docs/UsergroupRequestCompound.md +++ b/docs/UsergroupRequestCompound.md @@ -7,6 +7,7 @@ A Usergroup Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**obj_email** | [**EmailRequest**](EmailRequest.md) | | [optional] **obj_usergroup_name** | [**MultilingualUsergroupName**](MultilingualUsergroupName.md) | | ## Example @@ -24,7 +25,7 @@ print(UsergroupRequestCompound.to_json()) # convert the object into a dict usergroup_request_compound_dict = usergroup_request_compound_instance.to_dict() # create an instance of UsergroupRequestCompound from a dict -usergroup_request_compound_form_dict = usergroup_request_compound.from_dict(usergroup_request_compound_dict) +usergroup_request_compound_from_dict = UsergroupRequestCompound.from_dict(usergroup_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupResponse.md b/docs/UsergroupResponse.md index e412c959c..2474ea2d8 100644 --- a/docs/UsergroupResponse.md +++ b/docs/UsergroupResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **pki_usergroup_id** | **int** | The unique ID of the Usergroup | **obj_usergroup_name** | [**MultilingualUsergroupName**](MultilingualUsergroupName.md) | | **s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | [optional] +**obj_email** | [**EmailRequest**](EmailRequest.md) | | [optional] ## Example @@ -25,7 +26,7 @@ print(UsergroupResponse.to_json()) # convert the object into a dict usergroup_response_dict = usergroup_response_instance.to_dict() # create an instance of UsergroupResponse from a dict -usergroup_response_form_dict = usergroup_response.from_dict(usergroup_response_dict) +usergroup_response_from_dict = UsergroupResponse.from_dict(usergroup_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupResponseCompound.md b/docs/UsergroupResponseCompound.md index 1b1b0e9dd..a01e31cc2 100644 --- a/docs/UsergroupResponseCompound.md +++ b/docs/UsergroupResponseCompound.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **pki_usergroup_id** | **int** | The unique ID of the Usergroup | **obj_usergroup_name** | [**MultilingualUsergroupName**](MultilingualUsergroupName.md) | | **s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | [optional] +**obj_email** | [**EmailRequest**](EmailRequest.md) | | [optional] ## Example @@ -25,7 +26,7 @@ print(UsergroupResponseCompound.to_json()) # convert the object into a dict usergroup_response_compound_dict = usergroup_response_compound_instance.to_dict() # create an instance of UsergroupResponseCompound from a dict -usergroup_response_compound_form_dict = usergroup_response_compound.from_dict(usergroup_response_compound_dict) +usergroup_response_compound_from_dict = UsergroupResponseCompound.from_dict(usergroup_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationCreateObjectV1Request.md b/docs/UsergroupdelegationCreateObjectV1Request.md index 5a4403ce6..b217aa14e 100644 --- a/docs/UsergroupdelegationCreateObjectV1Request.md +++ b/docs/UsergroupdelegationCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(UsergroupdelegationCreateObjectV1Request.to_json()) # convert the object into a dict usergroupdelegation_create_object_v1_request_dict = usergroupdelegation_create_object_v1_request_instance.to_dict() # create an instance of UsergroupdelegationCreateObjectV1Request from a dict -usergroupdelegation_create_object_v1_request_form_dict = usergroupdelegation_create_object_v1_request.from_dict(usergroupdelegation_create_object_v1_request_dict) +usergroupdelegation_create_object_v1_request_from_dict = UsergroupdelegationCreateObjectV1Request.from_dict(usergroupdelegation_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationCreateObjectV1Response.md b/docs/UsergroupdelegationCreateObjectV1Response.md index 4ca31c233..e5a891c0b 100644 --- a/docs/UsergroupdelegationCreateObjectV1Response.md +++ b/docs/UsergroupdelegationCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(UsergroupdelegationCreateObjectV1Response.to_json()) # convert the object into a dict usergroupdelegation_create_object_v1_response_dict = usergroupdelegation_create_object_v1_response_instance.to_dict() # create an instance of UsergroupdelegationCreateObjectV1Response from a dict -usergroupdelegation_create_object_v1_response_form_dict = usergroupdelegation_create_object_v1_response.from_dict(usergroupdelegation_create_object_v1_response_dict) +usergroupdelegation_create_object_v1_response_from_dict = UsergroupdelegationCreateObjectV1Response.from_dict(usergroupdelegation_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationCreateObjectV1ResponseMPayload.md b/docs/UsergroupdelegationCreateObjectV1ResponseMPayload.md index c4a713110..cdf1f4262 100644 --- a/docs/UsergroupdelegationCreateObjectV1ResponseMPayload.md +++ b/docs/UsergroupdelegationCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupdelegationCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict usergroupdelegation_create_object_v1_response_m_payload_dict = usergroupdelegation_create_object_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupdelegationCreateObjectV1ResponseMPayload from a dict -usergroupdelegation_create_object_v1_response_m_payload_form_dict = usergroupdelegation_create_object_v1_response_m_payload.from_dict(usergroupdelegation_create_object_v1_response_m_payload_dict) +usergroupdelegation_create_object_v1_response_m_payload_from_dict = UsergroupdelegationCreateObjectV1ResponseMPayload.from_dict(usergroupdelegation_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationDeleteObjectV1Response.md b/docs/UsergroupdelegationDeleteObjectV1Response.md index 83f98b258..8a71ac66f 100644 --- a/docs/UsergroupdelegationDeleteObjectV1Response.md +++ b/docs/UsergroupdelegationDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(UsergroupdelegationDeleteObjectV1Response.to_json()) # convert the object into a dict usergroupdelegation_delete_object_v1_response_dict = usergroupdelegation_delete_object_v1_response_instance.to_dict() # create an instance of UsergroupdelegationDeleteObjectV1Response from a dict -usergroupdelegation_delete_object_v1_response_form_dict = usergroupdelegation_delete_object_v1_response.from_dict(usergroupdelegation_delete_object_v1_response_dict) +usergroupdelegation_delete_object_v1_response_from_dict = UsergroupdelegationDeleteObjectV1Response.from_dict(usergroupdelegation_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationEditObjectV1Request.md b/docs/UsergroupdelegationEditObjectV1Request.md index 026ecb304..82a56fe5d 100644 --- a/docs/UsergroupdelegationEditObjectV1Request.md +++ b/docs/UsergroupdelegationEditObjectV1Request.md @@ -23,7 +23,7 @@ print(UsergroupdelegationEditObjectV1Request.to_json()) # convert the object into a dict usergroupdelegation_edit_object_v1_request_dict = usergroupdelegation_edit_object_v1_request_instance.to_dict() # create an instance of UsergroupdelegationEditObjectV1Request from a dict -usergroupdelegation_edit_object_v1_request_form_dict = usergroupdelegation_edit_object_v1_request.from_dict(usergroupdelegation_edit_object_v1_request_dict) +usergroupdelegation_edit_object_v1_request_from_dict = UsergroupdelegationEditObjectV1Request.from_dict(usergroupdelegation_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationEditObjectV1Response.md b/docs/UsergroupdelegationEditObjectV1Response.md index 8c05ec7e8..77fff5d47 100644 --- a/docs/UsergroupdelegationEditObjectV1Response.md +++ b/docs/UsergroupdelegationEditObjectV1Response.md @@ -24,7 +24,7 @@ print(UsergroupdelegationEditObjectV1Response.to_json()) # convert the object into a dict usergroupdelegation_edit_object_v1_response_dict = usergroupdelegation_edit_object_v1_response_instance.to_dict() # create an instance of UsergroupdelegationEditObjectV1Response from a dict -usergroupdelegation_edit_object_v1_response_form_dict = usergroupdelegation_edit_object_v1_response.from_dict(usergroupdelegation_edit_object_v1_response_dict) +usergroupdelegation_edit_object_v1_response_from_dict = UsergroupdelegationEditObjectV1Response.from_dict(usergroupdelegation_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationGetObjectV2Response.md b/docs/UsergroupdelegationGetObjectV2Response.md index 83938bcd2..dd1dbc305 100644 --- a/docs/UsergroupdelegationGetObjectV2Response.md +++ b/docs/UsergroupdelegationGetObjectV2Response.md @@ -25,7 +25,7 @@ print(UsergroupdelegationGetObjectV2Response.to_json()) # convert the object into a dict usergroupdelegation_get_object_v2_response_dict = usergroupdelegation_get_object_v2_response_instance.to_dict() # create an instance of UsergroupdelegationGetObjectV2Response from a dict -usergroupdelegation_get_object_v2_response_form_dict = usergroupdelegation_get_object_v2_response.from_dict(usergroupdelegation_get_object_v2_response_dict) +usergroupdelegation_get_object_v2_response_from_dict = UsergroupdelegationGetObjectV2Response.from_dict(usergroupdelegation_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationGetObjectV2ResponseMPayload.md b/docs/UsergroupdelegationGetObjectV2ResponseMPayload.md index 57365a2fb..394662324 100644 --- a/docs/UsergroupdelegationGetObjectV2ResponseMPayload.md +++ b/docs/UsergroupdelegationGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupdelegationGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict usergroupdelegation_get_object_v2_response_m_payload_dict = usergroupdelegation_get_object_v2_response_m_payload_instance.to_dict() # create an instance of UsergroupdelegationGetObjectV2ResponseMPayload from a dict -usergroupdelegation_get_object_v2_response_m_payload_form_dict = usergroupdelegation_get_object_v2_response_m_payload.from_dict(usergroupdelegation_get_object_v2_response_m_payload_dict) +usergroupdelegation_get_object_v2_response_m_payload_from_dict = UsergroupdelegationGetObjectV2ResponseMPayload.from_dict(usergroupdelegation_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationRequest.md b/docs/UsergroupdelegationRequest.md index 0f871b818..c6f130711 100644 --- a/docs/UsergroupdelegationRequest.md +++ b/docs/UsergroupdelegationRequest.md @@ -25,7 +25,7 @@ print(UsergroupdelegationRequest.to_json()) # convert the object into a dict usergroupdelegation_request_dict = usergroupdelegation_request_instance.to_dict() # create an instance of UsergroupdelegationRequest from a dict -usergroupdelegation_request_form_dict = usergroupdelegation_request.from_dict(usergroupdelegation_request_dict) +usergroupdelegation_request_from_dict = UsergroupdelegationRequest.from_dict(usergroupdelegation_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationRequestCompound.md b/docs/UsergroupdelegationRequestCompound.md index 864a0bffe..40af67cd7 100644 --- a/docs/UsergroupdelegationRequestCompound.md +++ b/docs/UsergroupdelegationRequestCompound.md @@ -25,7 +25,7 @@ print(UsergroupdelegationRequestCompound.to_json()) # convert the object into a dict usergroupdelegation_request_compound_dict = usergroupdelegation_request_compound_instance.to_dict() # create an instance of UsergroupdelegationRequestCompound from a dict -usergroupdelegation_request_compound_form_dict = usergroupdelegation_request_compound.from_dict(usergroupdelegation_request_compound_dict) +usergroupdelegation_request_compound_from_dict = UsergroupdelegationRequestCompound.from_dict(usergroupdelegation_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationResponse.md b/docs/UsergroupdelegationResponse.md index 62cae0765..5e6f1fabf 100644 --- a/docs/UsergroupdelegationResponse.md +++ b/docs/UsergroupdelegationResponse.md @@ -30,7 +30,7 @@ print(UsergroupdelegationResponse.to_json()) # convert the object into a dict usergroupdelegation_response_dict = usergroupdelegation_response_instance.to_dict() # create an instance of UsergroupdelegationResponse from a dict -usergroupdelegation_response_form_dict = usergroupdelegation_response.from_dict(usergroupdelegation_response_dict) +usergroupdelegation_response_from_dict = UsergroupdelegationResponse.from_dict(usergroupdelegation_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupdelegationResponseCompound.md b/docs/UsergroupdelegationResponseCompound.md index 944f80d49..4a9cda2c5 100644 --- a/docs/UsergroupdelegationResponseCompound.md +++ b/docs/UsergroupdelegationResponseCompound.md @@ -30,7 +30,7 @@ print(UsergroupdelegationResponseCompound.to_json()) # convert the object into a dict usergroupdelegation_response_compound_dict = usergroupdelegation_response_compound_instance.to_dict() # create an instance of UsergroupdelegationResponseCompound from a dict -usergroupdelegation_response_compound_form_dict = usergroupdelegation_response_compound.from_dict(usergroupdelegation_response_compound_dict) +usergroupdelegation_response_compound_from_dict = UsergroupdelegationResponseCompound.from_dict(usergroupdelegation_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalAutocompleteElementResponse.md b/docs/UsergroupexternalAutocompleteElementResponse.md index 6618a80c8..b83534dd6 100644 --- a/docs/UsergroupexternalAutocompleteElementResponse.md +++ b/docs/UsergroupexternalAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(UsergroupexternalAutocompleteElementResponse.to_json()) # convert the object into a dict usergroupexternal_autocomplete_element_response_dict = usergroupexternal_autocomplete_element_response_instance.to_dict() # create an instance of UsergroupexternalAutocompleteElementResponse from a dict -usergroupexternal_autocomplete_element_response_form_dict = usergroupexternal_autocomplete_element_response.from_dict(usergroupexternal_autocomplete_element_response_dict) +usergroupexternal_autocomplete_element_response_from_dict = UsergroupexternalAutocompleteElementResponse.from_dict(usergroupexternal_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalCreateObjectV1Request.md b/docs/UsergroupexternalCreateObjectV1Request.md index 9b78419bc..6e67fb862 100644 --- a/docs/UsergroupexternalCreateObjectV1Request.md +++ b/docs/UsergroupexternalCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(UsergroupexternalCreateObjectV1Request.to_json()) # convert the object into a dict usergroupexternal_create_object_v1_request_dict = usergroupexternal_create_object_v1_request_instance.to_dict() # create an instance of UsergroupexternalCreateObjectV1Request from a dict -usergroupexternal_create_object_v1_request_form_dict = usergroupexternal_create_object_v1_request.from_dict(usergroupexternal_create_object_v1_request_dict) +usergroupexternal_create_object_v1_request_from_dict = UsergroupexternalCreateObjectV1Request.from_dict(usergroupexternal_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalCreateObjectV1Response.md b/docs/UsergroupexternalCreateObjectV1Response.md index b5aa002ae..08d2b075a 100644 --- a/docs/UsergroupexternalCreateObjectV1Response.md +++ b/docs/UsergroupexternalCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(UsergroupexternalCreateObjectV1Response.to_json()) # convert the object into a dict usergroupexternal_create_object_v1_response_dict = usergroupexternal_create_object_v1_response_instance.to_dict() # create an instance of UsergroupexternalCreateObjectV1Response from a dict -usergroupexternal_create_object_v1_response_form_dict = usergroupexternal_create_object_v1_response.from_dict(usergroupexternal_create_object_v1_response_dict) +usergroupexternal_create_object_v1_response_from_dict = UsergroupexternalCreateObjectV1Response.from_dict(usergroupexternal_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalCreateObjectV1ResponseMPayload.md b/docs/UsergroupexternalCreateObjectV1ResponseMPayload.md index 28ddf6a08..855f0821d 100644 --- a/docs/UsergroupexternalCreateObjectV1ResponseMPayload.md +++ b/docs/UsergroupexternalCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupexternalCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict usergroupexternal_create_object_v1_response_m_payload_dict = usergroupexternal_create_object_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupexternalCreateObjectV1ResponseMPayload from a dict -usergroupexternal_create_object_v1_response_m_payload_form_dict = usergroupexternal_create_object_v1_response_m_payload.from_dict(usergroupexternal_create_object_v1_response_m_payload_dict) +usergroupexternal_create_object_v1_response_m_payload_from_dict = UsergroupexternalCreateObjectV1ResponseMPayload.from_dict(usergroupexternal_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalDeleteObjectV1Response.md b/docs/UsergroupexternalDeleteObjectV1Response.md index e8e8b41f8..60022cfe8 100644 --- a/docs/UsergroupexternalDeleteObjectV1Response.md +++ b/docs/UsergroupexternalDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(UsergroupexternalDeleteObjectV1Response.to_json()) # convert the object into a dict usergroupexternal_delete_object_v1_response_dict = usergroupexternal_delete_object_v1_response_instance.to_dict() # create an instance of UsergroupexternalDeleteObjectV1Response from a dict -usergroupexternal_delete_object_v1_response_form_dict = usergroupexternal_delete_object_v1_response.from_dict(usergroupexternal_delete_object_v1_response_dict) +usergroupexternal_delete_object_v1_response_from_dict = UsergroupexternalDeleteObjectV1Response.from_dict(usergroupexternal_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalEditObjectV1Request.md b/docs/UsergroupexternalEditObjectV1Request.md index 832c88168..3869687c7 100644 --- a/docs/UsergroupexternalEditObjectV1Request.md +++ b/docs/UsergroupexternalEditObjectV1Request.md @@ -23,7 +23,7 @@ print(UsergroupexternalEditObjectV1Request.to_json()) # convert the object into a dict usergroupexternal_edit_object_v1_request_dict = usergroupexternal_edit_object_v1_request_instance.to_dict() # create an instance of UsergroupexternalEditObjectV1Request from a dict -usergroupexternal_edit_object_v1_request_form_dict = usergroupexternal_edit_object_v1_request.from_dict(usergroupexternal_edit_object_v1_request_dict) +usergroupexternal_edit_object_v1_request_from_dict = UsergroupexternalEditObjectV1Request.from_dict(usergroupexternal_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalEditObjectV1Response.md b/docs/UsergroupexternalEditObjectV1Response.md index 0ecb69a67..5ccdd5fb1 100644 --- a/docs/UsergroupexternalEditObjectV1Response.md +++ b/docs/UsergroupexternalEditObjectV1Response.md @@ -24,7 +24,7 @@ print(UsergroupexternalEditObjectV1Response.to_json()) # convert the object into a dict usergroupexternal_edit_object_v1_response_dict = usergroupexternal_edit_object_v1_response_instance.to_dict() # create an instance of UsergroupexternalEditObjectV1Response from a dict -usergroupexternal_edit_object_v1_response_form_dict = usergroupexternal_edit_object_v1_response.from_dict(usergroupexternal_edit_object_v1_response_dict) +usergroupexternal_edit_object_v1_response_from_dict = UsergroupexternalEditObjectV1Response.from_dict(usergroupexternal_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalGetAutocompleteV2Response.md b/docs/UsergroupexternalGetAutocompleteV2Response.md index 2c6fcd69c..189627e55 100644 --- a/docs/UsergroupexternalGetAutocompleteV2Response.md +++ b/docs/UsergroupexternalGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(UsergroupexternalGetAutocompleteV2Response.to_json()) # convert the object into a dict usergroupexternal_get_autocomplete_v2_response_dict = usergroupexternal_get_autocomplete_v2_response_instance.to_dict() # create an instance of UsergroupexternalGetAutocompleteV2Response from a dict -usergroupexternal_get_autocomplete_v2_response_form_dict = usergroupexternal_get_autocomplete_v2_response.from_dict(usergroupexternal_get_autocomplete_v2_response_dict) +usergroupexternal_get_autocomplete_v2_response_from_dict = UsergroupexternalGetAutocompleteV2Response.from_dict(usergroupexternal_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalGetAutocompleteV2ResponseMPayload.md b/docs/UsergroupexternalGetAutocompleteV2ResponseMPayload.md index a51c5b2ab..853f35060 100644 --- a/docs/UsergroupexternalGetAutocompleteV2ResponseMPayload.md +++ b/docs/UsergroupexternalGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupexternalGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict usergroupexternal_get_autocomplete_v2_response_m_payload_dict = usergroupexternal_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of UsergroupexternalGetAutocompleteV2ResponseMPayload from a dict -usergroupexternal_get_autocomplete_v2_response_m_payload_form_dict = usergroupexternal_get_autocomplete_v2_response_m_payload.from_dict(usergroupexternal_get_autocomplete_v2_response_m_payload_dict) +usergroupexternal_get_autocomplete_v2_response_m_payload_from_dict = UsergroupexternalGetAutocompleteV2ResponseMPayload.from_dict(usergroupexternal_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalGetListV1Response.md b/docs/UsergroupexternalGetListV1Response.md index d7fcbe786..afa36be9d 100644 --- a/docs/UsergroupexternalGetListV1Response.md +++ b/docs/UsergroupexternalGetListV1Response.md @@ -25,7 +25,7 @@ print(UsergroupexternalGetListV1Response.to_json()) # convert the object into a dict usergroupexternal_get_list_v1_response_dict = usergroupexternal_get_list_v1_response_instance.to_dict() # create an instance of UsergroupexternalGetListV1Response from a dict -usergroupexternal_get_list_v1_response_form_dict = usergroupexternal_get_list_v1_response.from_dict(usergroupexternal_get_list_v1_response_dict) +usergroupexternal_get_list_v1_response_from_dict = UsergroupexternalGetListV1Response.from_dict(usergroupexternal_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalGetListV1ResponseMPayload.md b/docs/UsergroupexternalGetListV1ResponseMPayload.md index e3b129eb1..f4a8ff41a 100644 --- a/docs/UsergroupexternalGetListV1ResponseMPayload.md +++ b/docs/UsergroupexternalGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(UsergroupexternalGetListV1ResponseMPayload.to_json()) # convert the object into a dict usergroupexternal_get_list_v1_response_m_payload_dict = usergroupexternal_get_list_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupexternalGetListV1ResponseMPayload from a dict -usergroupexternal_get_list_v1_response_m_payload_form_dict = usergroupexternal_get_list_v1_response_m_payload.from_dict(usergroupexternal_get_list_v1_response_m_payload_dict) +usergroupexternal_get_list_v1_response_m_payload_from_dict = UsergroupexternalGetListV1ResponseMPayload.from_dict(usergroupexternal_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalGetObjectV2Response.md b/docs/UsergroupexternalGetObjectV2Response.md index 67c4c3b9b..c4820499b 100644 --- a/docs/UsergroupexternalGetObjectV2Response.md +++ b/docs/UsergroupexternalGetObjectV2Response.md @@ -25,7 +25,7 @@ print(UsergroupexternalGetObjectV2Response.to_json()) # convert the object into a dict usergroupexternal_get_object_v2_response_dict = usergroupexternal_get_object_v2_response_instance.to_dict() # create an instance of UsergroupexternalGetObjectV2Response from a dict -usergroupexternal_get_object_v2_response_form_dict = usergroupexternal_get_object_v2_response.from_dict(usergroupexternal_get_object_v2_response_dict) +usergroupexternal_get_object_v2_response_from_dict = UsergroupexternalGetObjectV2Response.from_dict(usergroupexternal_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalGetObjectV2ResponseMPayload.md b/docs/UsergroupexternalGetObjectV2ResponseMPayload.md index c944031da..42e10deba 100644 --- a/docs/UsergroupexternalGetObjectV2ResponseMPayload.md +++ b/docs/UsergroupexternalGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupexternalGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict usergroupexternal_get_object_v2_response_m_payload_dict = usergroupexternal_get_object_v2_response_m_payload_instance.to_dict() # create an instance of UsergroupexternalGetObjectV2ResponseMPayload from a dict -usergroupexternal_get_object_v2_response_m_payload_form_dict = usergroupexternal_get_object_v2_response_m_payload.from_dict(usergroupexternal_get_object_v2_response_m_payload_dict) +usergroupexternal_get_object_v2_response_m_payload_from_dict = UsergroupexternalGetObjectV2ResponseMPayload.from_dict(usergroupexternal_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalGetUsergroupexternalmembershipsV1Response.md b/docs/UsergroupexternalGetUsergroupexternalmembershipsV1Response.md index f6ae32b40..152156515 100644 --- a/docs/UsergroupexternalGetUsergroupexternalmembershipsV1Response.md +++ b/docs/UsergroupexternalGetUsergroupexternalmembershipsV1Response.md @@ -25,7 +25,7 @@ print(UsergroupexternalGetUsergroupexternalmembershipsV1Response.to_json()) # convert the object into a dict usergroupexternal_get_usergroupexternalmemberships_v1_response_dict = usergroupexternal_get_usergroupexternalmemberships_v1_response_instance.to_dict() # create an instance of UsergroupexternalGetUsergroupexternalmembershipsV1Response from a dict -usergroupexternal_get_usergroupexternalmemberships_v1_response_form_dict = usergroupexternal_get_usergroupexternalmemberships_v1_response.from_dict(usergroupexternal_get_usergroupexternalmemberships_v1_response_dict) +usergroupexternal_get_usergroupexternalmemberships_v1_response_from_dict = UsergroupexternalGetUsergroupexternalmembershipsV1Response.from_dict(usergroupexternal_get_usergroupexternalmemberships_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload.md b/docs/UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload.md index c0e2d2424..7c2b036ea 100644 --- a/docs/UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload.md +++ b/docs/UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload.to_json # convert the object into a dict usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload_dict = usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload from a dict -usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload_form_dict = usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.from_dict(usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload_dict) +usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload_from_dict = UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload.from_dict(usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalGetUsergroupsV1Response.md b/docs/UsergroupexternalGetUsergroupsV1Response.md index 3aca29463..58be0edb2 100644 --- a/docs/UsergroupexternalGetUsergroupsV1Response.md +++ b/docs/UsergroupexternalGetUsergroupsV1Response.md @@ -25,7 +25,7 @@ print(UsergroupexternalGetUsergroupsV1Response.to_json()) # convert the object into a dict usergroupexternal_get_usergroups_v1_response_dict = usergroupexternal_get_usergroups_v1_response_instance.to_dict() # create an instance of UsergroupexternalGetUsergroupsV1Response from a dict -usergroupexternal_get_usergroups_v1_response_form_dict = usergroupexternal_get_usergroups_v1_response.from_dict(usergroupexternal_get_usergroups_v1_response_dict) +usergroupexternal_get_usergroups_v1_response_from_dict = UsergroupexternalGetUsergroupsV1Response.from_dict(usergroupexternal_get_usergroups_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalGetUsergroupsV1ResponseMPayload.md b/docs/UsergroupexternalGetUsergroupsV1ResponseMPayload.md index 3eaea09a9..a0fc1e7c3 100644 --- a/docs/UsergroupexternalGetUsergroupsV1ResponseMPayload.md +++ b/docs/UsergroupexternalGetUsergroupsV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupexternalGetUsergroupsV1ResponseMPayload.to_json()) # convert the object into a dict usergroupexternal_get_usergroups_v1_response_m_payload_dict = usergroupexternal_get_usergroups_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupexternalGetUsergroupsV1ResponseMPayload from a dict -usergroupexternal_get_usergroups_v1_response_m_payload_form_dict = usergroupexternal_get_usergroups_v1_response_m_payload.from_dict(usergroupexternal_get_usergroups_v1_response_m_payload_dict) +usergroupexternal_get_usergroups_v1_response_m_payload_from_dict = UsergroupexternalGetUsergroupsV1ResponseMPayload.from_dict(usergroupexternal_get_usergroups_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalListElement.md b/docs/UsergroupexternalListElement.md index b617b2d96..29389f433 100644 --- a/docs/UsergroupexternalListElement.md +++ b/docs/UsergroupexternalListElement.md @@ -25,7 +25,7 @@ print(UsergroupexternalListElement.to_json()) # convert the object into a dict usergroupexternal_list_element_dict = usergroupexternal_list_element_instance.to_dict() # create an instance of UsergroupexternalListElement from a dict -usergroupexternal_list_element_form_dict = usergroupexternal_list_element.from_dict(usergroupexternal_list_element_dict) +usergroupexternal_list_element_from_dict = UsergroupexternalListElement.from_dict(usergroupexternal_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalRequest.md b/docs/UsergroupexternalRequest.md index 1a384705b..82c9c960f 100644 --- a/docs/UsergroupexternalRequest.md +++ b/docs/UsergroupexternalRequest.md @@ -25,7 +25,7 @@ print(UsergroupexternalRequest.to_json()) # convert the object into a dict usergroupexternal_request_dict = usergroupexternal_request_instance.to_dict() # create an instance of UsergroupexternalRequest from a dict -usergroupexternal_request_form_dict = usergroupexternal_request.from_dict(usergroupexternal_request_dict) +usergroupexternal_request_from_dict = UsergroupexternalRequest.from_dict(usergroupexternal_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalRequestCompound.md b/docs/UsergroupexternalRequestCompound.md index 68fccb4b7..1d9db9602 100644 --- a/docs/UsergroupexternalRequestCompound.md +++ b/docs/UsergroupexternalRequestCompound.md @@ -25,7 +25,7 @@ print(UsergroupexternalRequestCompound.to_json()) # convert the object into a dict usergroupexternal_request_compound_dict = usergroupexternal_request_compound_instance.to_dict() # create an instance of UsergroupexternalRequestCompound from a dict -usergroupexternal_request_compound_form_dict = usergroupexternal_request_compound.from_dict(usergroupexternal_request_compound_dict) +usergroupexternal_request_compound_from_dict = UsergroupexternalRequestCompound.from_dict(usergroupexternal_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalResponse.md b/docs/UsergroupexternalResponse.md index 91286ebc3..5f1c76e42 100644 --- a/docs/UsergroupexternalResponse.md +++ b/docs/UsergroupexternalResponse.md @@ -25,7 +25,7 @@ print(UsergroupexternalResponse.to_json()) # convert the object into a dict usergroupexternal_response_dict = usergroupexternal_response_instance.to_dict() # create an instance of UsergroupexternalResponse from a dict -usergroupexternal_response_form_dict = usergroupexternal_response.from_dict(usergroupexternal_response_dict) +usergroupexternal_response_from_dict = UsergroupexternalResponse.from_dict(usergroupexternal_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalResponseCompound.md b/docs/UsergroupexternalResponseCompound.md index a919e4b59..b9eafa3a5 100644 --- a/docs/UsergroupexternalResponseCompound.md +++ b/docs/UsergroupexternalResponseCompound.md @@ -25,7 +25,7 @@ print(UsergroupexternalResponseCompound.to_json()) # convert the object into a dict usergroupexternal_response_compound_dict = usergroupexternal_response_compound_instance.to_dict() # create an instance of UsergroupexternalResponseCompound from a dict -usergroupexternal_response_compound_form_dict = usergroupexternal_response_compound.from_dict(usergroupexternal_response_compound_dict) +usergroupexternal_response_compound_from_dict = UsergroupexternalResponseCompound.from_dict(usergroupexternal_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalmembershipResponse.md b/docs/UsergroupexternalmembershipResponse.md index fe12902f8..7cea509db 100644 --- a/docs/UsergroupexternalmembershipResponse.md +++ b/docs/UsergroupexternalmembershipResponse.md @@ -30,7 +30,7 @@ print(UsergroupexternalmembershipResponse.to_json()) # convert the object into a dict usergroupexternalmembership_response_dict = usergroupexternalmembership_response_instance.to_dict() # create an instance of UsergroupexternalmembershipResponse from a dict -usergroupexternalmembership_response_form_dict = usergroupexternalmembership_response.from_dict(usergroupexternalmembership_response_dict) +usergroupexternalmembership_response_from_dict = UsergroupexternalmembershipResponse.from_dict(usergroupexternalmembership_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupexternalmembershipResponseCompound.md b/docs/UsergroupexternalmembershipResponseCompound.md index b3fcf4feb..579fc88fc 100644 --- a/docs/UsergroupexternalmembershipResponseCompound.md +++ b/docs/UsergroupexternalmembershipResponseCompound.md @@ -30,7 +30,7 @@ print(UsergroupexternalmembershipResponseCompound.to_json()) # convert the object into a dict usergroupexternalmembership_response_compound_dict = usergroupexternalmembership_response_compound_instance.to_dict() # create an instance of UsergroupexternalmembershipResponseCompound from a dict -usergroupexternalmembership_response_compound_form_dict = usergroupexternalmembership_response_compound.from_dict(usergroupexternalmembership_response_compound_dict) +usergroupexternalmembership_response_compound_from_dict = UsergroupexternalmembershipResponseCompound.from_dict(usergroupexternalmembership_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipCreateObjectV1Request.md b/docs/UsergroupmembershipCreateObjectV1Request.md index 60fad585e..4417f6f91 100644 --- a/docs/UsergroupmembershipCreateObjectV1Request.md +++ b/docs/UsergroupmembershipCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(UsergroupmembershipCreateObjectV1Request.to_json()) # convert the object into a dict usergroupmembership_create_object_v1_request_dict = usergroupmembership_create_object_v1_request_instance.to_dict() # create an instance of UsergroupmembershipCreateObjectV1Request from a dict -usergroupmembership_create_object_v1_request_form_dict = usergroupmembership_create_object_v1_request.from_dict(usergroupmembership_create_object_v1_request_dict) +usergroupmembership_create_object_v1_request_from_dict = UsergroupmembershipCreateObjectV1Request.from_dict(usergroupmembership_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipCreateObjectV1Response.md b/docs/UsergroupmembershipCreateObjectV1Response.md index e84bac179..16a27bcc9 100644 --- a/docs/UsergroupmembershipCreateObjectV1Response.md +++ b/docs/UsergroupmembershipCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(UsergroupmembershipCreateObjectV1Response.to_json()) # convert the object into a dict usergroupmembership_create_object_v1_response_dict = usergroupmembership_create_object_v1_response_instance.to_dict() # create an instance of UsergroupmembershipCreateObjectV1Response from a dict -usergroupmembership_create_object_v1_response_form_dict = usergroupmembership_create_object_v1_response.from_dict(usergroupmembership_create_object_v1_response_dict) +usergroupmembership_create_object_v1_response_from_dict = UsergroupmembershipCreateObjectV1Response.from_dict(usergroupmembership_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipCreateObjectV1ResponseMPayload.md b/docs/UsergroupmembershipCreateObjectV1ResponseMPayload.md index 4b543dda9..941409dd0 100644 --- a/docs/UsergroupmembershipCreateObjectV1ResponseMPayload.md +++ b/docs/UsergroupmembershipCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupmembershipCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict usergroupmembership_create_object_v1_response_m_payload_dict = usergroupmembership_create_object_v1_response_m_payload_instance.to_dict() # create an instance of UsergroupmembershipCreateObjectV1ResponseMPayload from a dict -usergroupmembership_create_object_v1_response_m_payload_form_dict = usergroupmembership_create_object_v1_response_m_payload.from_dict(usergroupmembership_create_object_v1_response_m_payload_dict) +usergroupmembership_create_object_v1_response_m_payload_from_dict = UsergroupmembershipCreateObjectV1ResponseMPayload.from_dict(usergroupmembership_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipDeleteObjectV1Response.md b/docs/UsergroupmembershipDeleteObjectV1Response.md index 56da3b6e0..592e3dfc7 100644 --- a/docs/UsergroupmembershipDeleteObjectV1Response.md +++ b/docs/UsergroupmembershipDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(UsergroupmembershipDeleteObjectV1Response.to_json()) # convert the object into a dict usergroupmembership_delete_object_v1_response_dict = usergroupmembership_delete_object_v1_response_instance.to_dict() # create an instance of UsergroupmembershipDeleteObjectV1Response from a dict -usergroupmembership_delete_object_v1_response_form_dict = usergroupmembership_delete_object_v1_response.from_dict(usergroupmembership_delete_object_v1_response_dict) +usergroupmembership_delete_object_v1_response_from_dict = UsergroupmembershipDeleteObjectV1Response.from_dict(usergroupmembership_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipEditObjectV1Request.md b/docs/UsergroupmembershipEditObjectV1Request.md index 486f0f995..7d4c41433 100644 --- a/docs/UsergroupmembershipEditObjectV1Request.md +++ b/docs/UsergroupmembershipEditObjectV1Request.md @@ -23,7 +23,7 @@ print(UsergroupmembershipEditObjectV1Request.to_json()) # convert the object into a dict usergroupmembership_edit_object_v1_request_dict = usergroupmembership_edit_object_v1_request_instance.to_dict() # create an instance of UsergroupmembershipEditObjectV1Request from a dict -usergroupmembership_edit_object_v1_request_form_dict = usergroupmembership_edit_object_v1_request.from_dict(usergroupmembership_edit_object_v1_request_dict) +usergroupmembership_edit_object_v1_request_from_dict = UsergroupmembershipEditObjectV1Request.from_dict(usergroupmembership_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipEditObjectV1Response.md b/docs/UsergroupmembershipEditObjectV1Response.md index fc519d09b..53cb9d24a 100644 --- a/docs/UsergroupmembershipEditObjectV1Response.md +++ b/docs/UsergroupmembershipEditObjectV1Response.md @@ -24,7 +24,7 @@ print(UsergroupmembershipEditObjectV1Response.to_json()) # convert the object into a dict usergroupmembership_edit_object_v1_response_dict = usergroupmembership_edit_object_v1_response_instance.to_dict() # create an instance of UsergroupmembershipEditObjectV1Response from a dict -usergroupmembership_edit_object_v1_response_form_dict = usergroupmembership_edit_object_v1_response.from_dict(usergroupmembership_edit_object_v1_response_dict) +usergroupmembership_edit_object_v1_response_from_dict = UsergroupmembershipEditObjectV1Response.from_dict(usergroupmembership_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipGetObjectV2Response.md b/docs/UsergroupmembershipGetObjectV2Response.md index bedb78281..acba61884 100644 --- a/docs/UsergroupmembershipGetObjectV2Response.md +++ b/docs/UsergroupmembershipGetObjectV2Response.md @@ -25,7 +25,7 @@ print(UsergroupmembershipGetObjectV2Response.to_json()) # convert the object into a dict usergroupmembership_get_object_v2_response_dict = usergroupmembership_get_object_v2_response_instance.to_dict() # create an instance of UsergroupmembershipGetObjectV2Response from a dict -usergroupmembership_get_object_v2_response_form_dict = usergroupmembership_get_object_v2_response.from_dict(usergroupmembership_get_object_v2_response_dict) +usergroupmembership_get_object_v2_response_from_dict = UsergroupmembershipGetObjectV2Response.from_dict(usergroupmembership_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipGetObjectV2ResponseMPayload.md b/docs/UsergroupmembershipGetObjectV2ResponseMPayload.md index 6c007d55a..c95189d70 100644 --- a/docs/UsergroupmembershipGetObjectV2ResponseMPayload.md +++ b/docs/UsergroupmembershipGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UsergroupmembershipGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict usergroupmembership_get_object_v2_response_m_payload_dict = usergroupmembership_get_object_v2_response_m_payload_instance.to_dict() # create an instance of UsergroupmembershipGetObjectV2ResponseMPayload from a dict -usergroupmembership_get_object_v2_response_m_payload_form_dict = usergroupmembership_get_object_v2_response_m_payload.from_dict(usergroupmembership_get_object_v2_response_m_payload_dict) +usergroupmembership_get_object_v2_response_m_payload_from_dict = UsergroupmembershipGetObjectV2ResponseMPayload.from_dict(usergroupmembership_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipRequest.md b/docs/UsergroupmembershipRequest.md index f594e8882..ef9e8d550 100644 --- a/docs/UsergroupmembershipRequest.md +++ b/docs/UsergroupmembershipRequest.md @@ -26,7 +26,7 @@ print(UsergroupmembershipRequest.to_json()) # convert the object into a dict usergroupmembership_request_dict = usergroupmembership_request_instance.to_dict() # create an instance of UsergroupmembershipRequest from a dict -usergroupmembership_request_form_dict = usergroupmembership_request.from_dict(usergroupmembership_request_dict) +usergroupmembership_request_from_dict = UsergroupmembershipRequest.from_dict(usergroupmembership_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipRequestCompound.md b/docs/UsergroupmembershipRequestCompound.md index 093cc6367..c7ef824bf 100644 --- a/docs/UsergroupmembershipRequestCompound.md +++ b/docs/UsergroupmembershipRequestCompound.md @@ -26,7 +26,7 @@ print(UsergroupmembershipRequestCompound.to_json()) # convert the object into a dict usergroupmembership_request_compound_dict = usergroupmembership_request_compound_instance.to_dict() # create an instance of UsergroupmembershipRequestCompound from a dict -usergroupmembership_request_compound_form_dict = usergroupmembership_request_compound.from_dict(usergroupmembership_request_compound_dict) +usergroupmembership_request_compound_from_dict = UsergroupmembershipRequestCompound.from_dict(usergroupmembership_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipResponse.md b/docs/UsergroupmembershipResponse.md index 3a6c94ff9..c78b36333 100644 --- a/docs/UsergroupmembershipResponse.md +++ b/docs/UsergroupmembershipResponse.md @@ -32,7 +32,7 @@ print(UsergroupmembershipResponse.to_json()) # convert the object into a dict usergroupmembership_response_dict = usergroupmembership_response_instance.to_dict() # create an instance of UsergroupmembershipResponse from a dict -usergroupmembership_response_form_dict = usergroupmembership_response.from_dict(usergroupmembership_response_dict) +usergroupmembership_response_from_dict = UsergroupmembershipResponse.from_dict(usergroupmembership_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UsergroupmembershipResponseCompound.md b/docs/UsergroupmembershipResponseCompound.md index fe2a26c9b..e82f78e9f 100644 --- a/docs/UsergroupmembershipResponseCompound.md +++ b/docs/UsergroupmembershipResponseCompound.md @@ -32,7 +32,7 @@ print(UsergroupmembershipResponseCompound.to_json()) # convert the object into a dict usergroupmembership_response_compound_dict = usergroupmembership_response_compound_instance.to_dict() # create an instance of UsergroupmembershipResponseCompound from a dict -usergroupmembership_response_compound_form_dict = usergroupmembership_response_compound.from_dict(usergroupmembership_response_compound_dict) +usergroupmembership_response_compound_from_dict = UsergroupmembershipResponseCompound.from_dict(usergroupmembership_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserlogintypeAutocompleteElementResponse.md b/docs/UserlogintypeAutocompleteElementResponse.md index d40e79e57..c0238f7a1 100644 --- a/docs/UserlogintypeAutocompleteElementResponse.md +++ b/docs/UserlogintypeAutocompleteElementResponse.md @@ -6,7 +6,7 @@ A Userlogintype AutocompleteElement Response Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**pki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| | +**pki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | **s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | **b_userlogintype_isactive** | **bool** | Whether the Userlogintype is active or not | @@ -25,7 +25,7 @@ print(UserlogintypeAutocompleteElementResponse.to_json()) # convert the object into a dict userlogintype_autocomplete_element_response_dict = userlogintype_autocomplete_element_response_instance.to_dict() # create an instance of UserlogintypeAutocompleteElementResponse from a dict -userlogintype_autocomplete_element_response_form_dict = userlogintype_autocomplete_element_response.from_dict(userlogintype_autocomplete_element_response_dict) +userlogintype_autocomplete_element_response_from_dict = UserlogintypeAutocompleteElementResponse.from_dict(userlogintype_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserlogintypeGetAutocompleteV2Response.md b/docs/UserlogintypeGetAutocompleteV2Response.md index 947782292..5c3c773ea 100644 --- a/docs/UserlogintypeGetAutocompleteV2Response.md +++ b/docs/UserlogintypeGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(UserlogintypeGetAutocompleteV2Response.to_json()) # convert the object into a dict userlogintype_get_autocomplete_v2_response_dict = userlogintype_get_autocomplete_v2_response_instance.to_dict() # create an instance of UserlogintypeGetAutocompleteV2Response from a dict -userlogintype_get_autocomplete_v2_response_form_dict = userlogintype_get_autocomplete_v2_response.from_dict(userlogintype_get_autocomplete_v2_response_dict) +userlogintype_get_autocomplete_v2_response_from_dict = UserlogintypeGetAutocompleteV2Response.from_dict(userlogintype_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserlogintypeGetAutocompleteV2ResponseMPayload.md b/docs/UserlogintypeGetAutocompleteV2ResponseMPayload.md index 65a539c60..cb7ee96e3 100644 --- a/docs/UserlogintypeGetAutocompleteV2ResponseMPayload.md +++ b/docs/UserlogintypeGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserlogintypeGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict userlogintype_get_autocomplete_v2_response_m_payload_dict = userlogintype_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of UserlogintypeGetAutocompleteV2ResponseMPayload from a dict -userlogintype_get_autocomplete_v2_response_m_payload_form_dict = userlogintype_get_autocomplete_v2_response_m_payload.from_dict(userlogintype_get_autocomplete_v2_response_m_payload_dict) +userlogintype_get_autocomplete_v2_response_m_payload_from_dict = UserlogintypeGetAutocompleteV2ResponseMPayload.from_dict(userlogintype_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserlogintypeResponse.md b/docs/UserlogintypeResponse.md index 76dfbfd6c..8e7d14cee 100644 --- a/docs/UserlogintypeResponse.md +++ b/docs/UserlogintypeResponse.md @@ -6,7 +6,7 @@ An Userlogintype Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**pki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| | +**pki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | **obj_userlogintype_description** | [**MultilingualUserlogintypeDescription**](MultilingualUserlogintypeDescription.md) | | **s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | @@ -25,7 +25,7 @@ print(UserlogintypeResponse.to_json()) # convert the object into a dict userlogintype_response_dict = userlogintype_response_instance.to_dict() # create an instance of UserlogintypeResponse from a dict -userlogintype_response_form_dict = userlogintype_response.from_dict(userlogintype_response_dict) +userlogintype_response_from_dict = UserlogintypeResponse.from_dict(userlogintype_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedCreateUserV1Response.md b/docs/UserstagedCreateUserV1Response.md index 78e01381a..9c2748e44 100644 --- a/docs/UserstagedCreateUserV1Response.md +++ b/docs/UserstagedCreateUserV1Response.md @@ -25,7 +25,7 @@ print(UserstagedCreateUserV1Response.to_json()) # convert the object into a dict userstaged_create_user_v1_response_dict = userstaged_create_user_v1_response_instance.to_dict() # create an instance of UserstagedCreateUserV1Response from a dict -userstaged_create_user_v1_response_form_dict = userstaged_create_user_v1_response.from_dict(userstaged_create_user_v1_response_dict) +userstaged_create_user_v1_response_from_dict = UserstagedCreateUserV1Response.from_dict(userstaged_create_user_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedCreateUserV1ResponseMPayload.md b/docs/UserstagedCreateUserV1ResponseMPayload.md index 4093a4690..1cf147fa0 100644 --- a/docs/UserstagedCreateUserV1ResponseMPayload.md +++ b/docs/UserstagedCreateUserV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserstagedCreateUserV1ResponseMPayload.to_json()) # convert the object into a dict userstaged_create_user_v1_response_m_payload_dict = userstaged_create_user_v1_response_m_payload_instance.to_dict() # create an instance of UserstagedCreateUserV1ResponseMPayload from a dict -userstaged_create_user_v1_response_m_payload_form_dict = userstaged_create_user_v1_response_m_payload.from_dict(userstaged_create_user_v1_response_m_payload_dict) +userstaged_create_user_v1_response_m_payload_from_dict = UserstagedCreateUserV1ResponseMPayload.from_dict(userstaged_create_user_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedDeleteObjectV1Response.md b/docs/UserstagedDeleteObjectV1Response.md index 60f1c34da..8000c2e96 100644 --- a/docs/UserstagedDeleteObjectV1Response.md +++ b/docs/UserstagedDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(UserstagedDeleteObjectV1Response.to_json()) # convert the object into a dict userstaged_delete_object_v1_response_dict = userstaged_delete_object_v1_response_instance.to_dict() # create an instance of UserstagedDeleteObjectV1Response from a dict -userstaged_delete_object_v1_response_form_dict = userstaged_delete_object_v1_response.from_dict(userstaged_delete_object_v1_response_dict) +userstaged_delete_object_v1_response_from_dict = UserstagedDeleteObjectV1Response.from_dict(userstaged_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedGetListV1Response.md b/docs/UserstagedGetListV1Response.md index 2e1b43c97..b88fab1c6 100644 --- a/docs/UserstagedGetListV1Response.md +++ b/docs/UserstagedGetListV1Response.md @@ -25,7 +25,7 @@ print(UserstagedGetListV1Response.to_json()) # convert the object into a dict userstaged_get_list_v1_response_dict = userstaged_get_list_v1_response_instance.to_dict() # create an instance of UserstagedGetListV1Response from a dict -userstaged_get_list_v1_response_form_dict = userstaged_get_list_v1_response.from_dict(userstaged_get_list_v1_response_dict) +userstaged_get_list_v1_response_from_dict = UserstagedGetListV1Response.from_dict(userstaged_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedGetListV1ResponseMPayload.md b/docs/UserstagedGetListV1ResponseMPayload.md index f3377e632..37d68b788 100644 --- a/docs/UserstagedGetListV1ResponseMPayload.md +++ b/docs/UserstagedGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(UserstagedGetListV1ResponseMPayload.to_json()) # convert the object into a dict userstaged_get_list_v1_response_m_payload_dict = userstaged_get_list_v1_response_m_payload_instance.to_dict() # create an instance of UserstagedGetListV1ResponseMPayload from a dict -userstaged_get_list_v1_response_m_payload_form_dict = userstaged_get_list_v1_response_m_payload.from_dict(userstaged_get_list_v1_response_m_payload_dict) +userstaged_get_list_v1_response_m_payload_from_dict = UserstagedGetListV1ResponseMPayload.from_dict(userstaged_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedGetObjectV2Response.md b/docs/UserstagedGetObjectV2Response.md index f400f0687..4a3e93350 100644 --- a/docs/UserstagedGetObjectV2Response.md +++ b/docs/UserstagedGetObjectV2Response.md @@ -25,7 +25,7 @@ print(UserstagedGetObjectV2Response.to_json()) # convert the object into a dict userstaged_get_object_v2_response_dict = userstaged_get_object_v2_response_instance.to_dict() # create an instance of UserstagedGetObjectV2Response from a dict -userstaged_get_object_v2_response_form_dict = userstaged_get_object_v2_response.from_dict(userstaged_get_object_v2_response_dict) +userstaged_get_object_v2_response_from_dict = UserstagedGetObjectV2Response.from_dict(userstaged_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedGetObjectV2ResponseMPayload.md b/docs/UserstagedGetObjectV2ResponseMPayload.md index 23dc7ff17..f7c26a280 100644 --- a/docs/UserstagedGetObjectV2ResponseMPayload.md +++ b/docs/UserstagedGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(UserstagedGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict userstaged_get_object_v2_response_m_payload_dict = userstaged_get_object_v2_response_m_payload_instance.to_dict() # create an instance of UserstagedGetObjectV2ResponseMPayload from a dict -userstaged_get_object_v2_response_m_payload_form_dict = userstaged_get_object_v2_response_m_payload.from_dict(userstaged_get_object_v2_response_m_payload_dict) +userstaged_get_object_v2_response_m_payload_from_dict = UserstagedGetObjectV2ResponseMPayload.from_dict(userstaged_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedListElement.md b/docs/UserstagedListElement.md index 5fc00d46b..73e770cb3 100644 --- a/docs/UserstagedListElement.md +++ b/docs/UserstagedListElement.md @@ -27,7 +27,7 @@ print(UserstagedListElement.to_json()) # convert the object into a dict userstaged_list_element_dict = userstaged_list_element_instance.to_dict() # create an instance of UserstagedListElement from a dict -userstaged_list_element_form_dict = userstaged_list_element.from_dict(userstaged_list_element_dict) +userstaged_list_element_from_dict = UserstagedListElement.from_dict(userstaged_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedMapV1Request.md b/docs/UserstagedMapV1Request.md index 4d6bd1354..9e7480825 100644 --- a/docs/UserstagedMapV1Request.md +++ b/docs/UserstagedMapV1Request.md @@ -23,7 +23,7 @@ print(UserstagedMapV1Request.to_json()) # convert the object into a dict userstaged_map_v1_request_dict = userstaged_map_v1_request_instance.to_dict() # create an instance of UserstagedMapV1Request from a dict -userstaged_map_v1_request_form_dict = userstaged_map_v1_request.from_dict(userstaged_map_v1_request_dict) +userstaged_map_v1_request_from_dict = UserstagedMapV1Request.from_dict(userstaged_map_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedMapV1Response.md b/docs/UserstagedMapV1Response.md index 7d90402e3..2d98af896 100644 --- a/docs/UserstagedMapV1Response.md +++ b/docs/UserstagedMapV1Response.md @@ -24,7 +24,7 @@ print(UserstagedMapV1Response.to_json()) # convert the object into a dict userstaged_map_v1_response_dict = userstaged_map_v1_response_instance.to_dict() # create an instance of UserstagedMapV1Response from a dict -userstaged_map_v1_response_form_dict = userstaged_map_v1_response.from_dict(userstaged_map_v1_response_dict) +userstaged_map_v1_response_from_dict = UserstagedMapV1Response.from_dict(userstaged_map_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedResponse.md b/docs/UserstagedResponse.md index 0b7a8dbdd..9aee734cc 100644 --- a/docs/UserstagedResponse.md +++ b/docs/UserstagedResponse.md @@ -28,7 +28,7 @@ print(UserstagedResponse.to_json()) # convert the object into a dict userstaged_response_dict = userstaged_response_instance.to_dict() # create an instance of UserstagedResponse from a dict -userstaged_response_form_dict = userstaged_response.from_dict(userstaged_response_dict) +userstaged_response_from_dict = UserstagedResponse.from_dict(userstaged_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserstagedResponseCompound.md b/docs/UserstagedResponseCompound.md index 3ae2b64bb..c7ade1a05 100644 --- a/docs/UserstagedResponseCompound.md +++ b/docs/UserstagedResponseCompound.md @@ -28,7 +28,7 @@ print(UserstagedResponseCompound.to_json()) # convert the object into a dict userstaged_response_compound_dict = userstaged_response_compound_instance.to_dict() # create an instance of UserstagedResponseCompound from a dict -userstaged_response_compound_form_dict = userstaged_response_compound.from_dict(userstaged_response_compound_dict) +userstaged_response_compound_from_dict = UserstagedResponseCompound.from_dict(userstaged_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseAutocompleteElementResponse.md b/docs/VariableexpenseAutocompleteElementResponse.md index 083947a92..a0fd66edf 100644 --- a/docs/VariableexpenseAutocompleteElementResponse.md +++ b/docs/VariableexpenseAutocompleteElementResponse.md @@ -25,7 +25,7 @@ print(VariableexpenseAutocompleteElementResponse.to_json()) # convert the object into a dict variableexpense_autocomplete_element_response_dict = variableexpense_autocomplete_element_response_instance.to_dict() # create an instance of VariableexpenseAutocompleteElementResponse from a dict -variableexpense_autocomplete_element_response_form_dict = variableexpense_autocomplete_element_response.from_dict(variableexpense_autocomplete_element_response_dict) +variableexpense_autocomplete_element_response_from_dict = VariableexpenseAutocompleteElementResponse.from_dict(variableexpense_autocomplete_element_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseCreateObjectV1Request.md b/docs/VariableexpenseCreateObjectV1Request.md index b6e3773c7..890f21e0f 100644 --- a/docs/VariableexpenseCreateObjectV1Request.md +++ b/docs/VariableexpenseCreateObjectV1Request.md @@ -23,7 +23,7 @@ print(VariableexpenseCreateObjectV1Request.to_json()) # convert the object into a dict variableexpense_create_object_v1_request_dict = variableexpense_create_object_v1_request_instance.to_dict() # create an instance of VariableexpenseCreateObjectV1Request from a dict -variableexpense_create_object_v1_request_form_dict = variableexpense_create_object_v1_request.from_dict(variableexpense_create_object_v1_request_dict) +variableexpense_create_object_v1_request_from_dict = VariableexpenseCreateObjectV1Request.from_dict(variableexpense_create_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseCreateObjectV1Response.md b/docs/VariableexpenseCreateObjectV1Response.md index bc619002f..504f43685 100644 --- a/docs/VariableexpenseCreateObjectV1Response.md +++ b/docs/VariableexpenseCreateObjectV1Response.md @@ -25,7 +25,7 @@ print(VariableexpenseCreateObjectV1Response.to_json()) # convert the object into a dict variableexpense_create_object_v1_response_dict = variableexpense_create_object_v1_response_instance.to_dict() # create an instance of VariableexpenseCreateObjectV1Response from a dict -variableexpense_create_object_v1_response_form_dict = variableexpense_create_object_v1_response.from_dict(variableexpense_create_object_v1_response_dict) +variableexpense_create_object_v1_response_from_dict = VariableexpenseCreateObjectV1Response.from_dict(variableexpense_create_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseCreateObjectV1ResponseMPayload.md b/docs/VariableexpenseCreateObjectV1ResponseMPayload.md index 8e8b83b80..b6566cd6b 100644 --- a/docs/VariableexpenseCreateObjectV1ResponseMPayload.md +++ b/docs/VariableexpenseCreateObjectV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(VariableexpenseCreateObjectV1ResponseMPayload.to_json()) # convert the object into a dict variableexpense_create_object_v1_response_m_payload_dict = variableexpense_create_object_v1_response_m_payload_instance.to_dict() # create an instance of VariableexpenseCreateObjectV1ResponseMPayload from a dict -variableexpense_create_object_v1_response_m_payload_form_dict = variableexpense_create_object_v1_response_m_payload.from_dict(variableexpense_create_object_v1_response_m_payload_dict) +variableexpense_create_object_v1_response_m_payload_from_dict = VariableexpenseCreateObjectV1ResponseMPayload.from_dict(variableexpense_create_object_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseEditObjectV1Request.md b/docs/VariableexpenseEditObjectV1Request.md index 62710f108..16bfcce26 100644 --- a/docs/VariableexpenseEditObjectV1Request.md +++ b/docs/VariableexpenseEditObjectV1Request.md @@ -23,7 +23,7 @@ print(VariableexpenseEditObjectV1Request.to_json()) # convert the object into a dict variableexpense_edit_object_v1_request_dict = variableexpense_edit_object_v1_request_instance.to_dict() # create an instance of VariableexpenseEditObjectV1Request from a dict -variableexpense_edit_object_v1_request_form_dict = variableexpense_edit_object_v1_request.from_dict(variableexpense_edit_object_v1_request_dict) +variableexpense_edit_object_v1_request_from_dict = VariableexpenseEditObjectV1Request.from_dict(variableexpense_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseEditObjectV1Response.md b/docs/VariableexpenseEditObjectV1Response.md index 0ed96fcc7..60f21c3e5 100644 --- a/docs/VariableexpenseEditObjectV1Response.md +++ b/docs/VariableexpenseEditObjectV1Response.md @@ -24,7 +24,7 @@ print(VariableexpenseEditObjectV1Response.to_json()) # convert the object into a dict variableexpense_edit_object_v1_response_dict = variableexpense_edit_object_v1_response_instance.to_dict() # create an instance of VariableexpenseEditObjectV1Response from a dict -variableexpense_edit_object_v1_response_form_dict = variableexpense_edit_object_v1_response.from_dict(variableexpense_edit_object_v1_response_dict) +variableexpense_edit_object_v1_response_from_dict = VariableexpenseEditObjectV1Response.from_dict(variableexpense_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseGetAutocompleteV2Response.md b/docs/VariableexpenseGetAutocompleteV2Response.md index 7aab50e52..5e1f678ce 100644 --- a/docs/VariableexpenseGetAutocompleteV2Response.md +++ b/docs/VariableexpenseGetAutocompleteV2Response.md @@ -25,7 +25,7 @@ print(VariableexpenseGetAutocompleteV2Response.to_json()) # convert the object into a dict variableexpense_get_autocomplete_v2_response_dict = variableexpense_get_autocomplete_v2_response_instance.to_dict() # create an instance of VariableexpenseGetAutocompleteV2Response from a dict -variableexpense_get_autocomplete_v2_response_form_dict = variableexpense_get_autocomplete_v2_response.from_dict(variableexpense_get_autocomplete_v2_response_dict) +variableexpense_get_autocomplete_v2_response_from_dict = VariableexpenseGetAutocompleteV2Response.from_dict(variableexpense_get_autocomplete_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseGetAutocompleteV2ResponseMPayload.md b/docs/VariableexpenseGetAutocompleteV2ResponseMPayload.md index 69d972426..593e614f8 100644 --- a/docs/VariableexpenseGetAutocompleteV2ResponseMPayload.md +++ b/docs/VariableexpenseGetAutocompleteV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(VariableexpenseGetAutocompleteV2ResponseMPayload.to_json()) # convert the object into a dict variableexpense_get_autocomplete_v2_response_m_payload_dict = variableexpense_get_autocomplete_v2_response_m_payload_instance.to_dict() # create an instance of VariableexpenseGetAutocompleteV2ResponseMPayload from a dict -variableexpense_get_autocomplete_v2_response_m_payload_form_dict = variableexpense_get_autocomplete_v2_response_m_payload.from_dict(variableexpense_get_autocomplete_v2_response_m_payload_dict) +variableexpense_get_autocomplete_v2_response_m_payload_from_dict = VariableexpenseGetAutocompleteV2ResponseMPayload.from_dict(variableexpense_get_autocomplete_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseGetListV1Response.md b/docs/VariableexpenseGetListV1Response.md index 3e0fe3f9a..9cb821e05 100644 --- a/docs/VariableexpenseGetListV1Response.md +++ b/docs/VariableexpenseGetListV1Response.md @@ -25,7 +25,7 @@ print(VariableexpenseGetListV1Response.to_json()) # convert the object into a dict variableexpense_get_list_v1_response_dict = variableexpense_get_list_v1_response_instance.to_dict() # create an instance of VariableexpenseGetListV1Response from a dict -variableexpense_get_list_v1_response_form_dict = variableexpense_get_list_v1_response.from_dict(variableexpense_get_list_v1_response_dict) +variableexpense_get_list_v1_response_from_dict = VariableexpenseGetListV1Response.from_dict(variableexpense_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseGetListV1ResponseMPayload.md b/docs/VariableexpenseGetListV1ResponseMPayload.md index a09fe3e2b..3b5e0a7ac 100644 --- a/docs/VariableexpenseGetListV1ResponseMPayload.md +++ b/docs/VariableexpenseGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(VariableexpenseGetListV1ResponseMPayload.to_json()) # convert the object into a dict variableexpense_get_list_v1_response_m_payload_dict = variableexpense_get_list_v1_response_m_payload_instance.to_dict() # create an instance of VariableexpenseGetListV1ResponseMPayload from a dict -variableexpense_get_list_v1_response_m_payload_form_dict = variableexpense_get_list_v1_response_m_payload.from_dict(variableexpense_get_list_v1_response_m_payload_dict) +variableexpense_get_list_v1_response_m_payload_from_dict = VariableexpenseGetListV1ResponseMPayload.from_dict(variableexpense_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseGetObjectV2Response.md b/docs/VariableexpenseGetObjectV2Response.md index ae1560a7c..d69c7fb8d 100644 --- a/docs/VariableexpenseGetObjectV2Response.md +++ b/docs/VariableexpenseGetObjectV2Response.md @@ -25,7 +25,7 @@ print(VariableexpenseGetObjectV2Response.to_json()) # convert the object into a dict variableexpense_get_object_v2_response_dict = variableexpense_get_object_v2_response_instance.to_dict() # create an instance of VariableexpenseGetObjectV2Response from a dict -variableexpense_get_object_v2_response_form_dict = variableexpense_get_object_v2_response.from_dict(variableexpense_get_object_v2_response_dict) +variableexpense_get_object_v2_response_from_dict = VariableexpenseGetObjectV2Response.from_dict(variableexpense_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseGetObjectV2ResponseMPayload.md b/docs/VariableexpenseGetObjectV2ResponseMPayload.md index 907d30e63..85f32e03f 100644 --- a/docs/VariableexpenseGetObjectV2ResponseMPayload.md +++ b/docs/VariableexpenseGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(VariableexpenseGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict variableexpense_get_object_v2_response_m_payload_dict = variableexpense_get_object_v2_response_m_payload_instance.to_dict() # create an instance of VariableexpenseGetObjectV2ResponseMPayload from a dict -variableexpense_get_object_v2_response_m_payload_form_dict = variableexpense_get_object_v2_response_m_payload.from_dict(variableexpense_get_object_v2_response_m_payload_dict) +variableexpense_get_object_v2_response_m_payload_from_dict = VariableexpenseGetObjectV2ResponseMPayload.from_dict(variableexpense_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseListElement.md b/docs/VariableexpenseListElement.md index 8cfb11131..a2ef06e2a 100644 --- a/docs/VariableexpenseListElement.md +++ b/docs/VariableexpenseListElement.md @@ -27,7 +27,7 @@ print(VariableexpenseListElement.to_json()) # convert the object into a dict variableexpense_list_element_dict = variableexpense_list_element_instance.to_dict() # create an instance of VariableexpenseListElement from a dict -variableexpense_list_element_form_dict = variableexpense_list_element.from_dict(variableexpense_list_element_dict) +variableexpense_list_element_from_dict = VariableexpenseListElement.from_dict(variableexpense_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseRequest.md b/docs/VariableexpenseRequest.md index 32e9db44e..ad130ae40 100644 --- a/docs/VariableexpenseRequest.md +++ b/docs/VariableexpenseRequest.md @@ -27,7 +27,7 @@ print(VariableexpenseRequest.to_json()) # convert the object into a dict variableexpense_request_dict = variableexpense_request_instance.to_dict() # create an instance of VariableexpenseRequest from a dict -variableexpense_request_form_dict = variableexpense_request.from_dict(variableexpense_request_dict) +variableexpense_request_from_dict = VariableexpenseRequest.from_dict(variableexpense_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseRequestCompound.md b/docs/VariableexpenseRequestCompound.md index 8b8d097a6..8b02d0ff1 100644 --- a/docs/VariableexpenseRequestCompound.md +++ b/docs/VariableexpenseRequestCompound.md @@ -27,7 +27,7 @@ print(VariableexpenseRequestCompound.to_json()) # convert the object into a dict variableexpense_request_compound_dict = variableexpense_request_compound_instance.to_dict() # create an instance of VariableexpenseRequestCompound from a dict -variableexpense_request_compound_form_dict = variableexpense_request_compound.from_dict(variableexpense_request_compound_dict) +variableexpense_request_compound_from_dict = VariableexpenseRequestCompound.from_dict(variableexpense_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseResponse.md b/docs/VariableexpenseResponse.md index 80a103c4b..b3be7be91 100644 --- a/docs/VariableexpenseResponse.md +++ b/docs/VariableexpenseResponse.md @@ -27,7 +27,7 @@ print(VariableexpenseResponse.to_json()) # convert the object into a dict variableexpense_response_dict = variableexpense_response_instance.to_dict() # create an instance of VariableexpenseResponse from a dict -variableexpense_response_form_dict = variableexpense_response.from_dict(variableexpense_response_dict) +variableexpense_response_from_dict = VariableexpenseResponse.from_dict(variableexpense_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VariableexpenseResponseCompound.md b/docs/VariableexpenseResponseCompound.md index 635bb6edc..4fafc909a 100644 --- a/docs/VariableexpenseResponseCompound.md +++ b/docs/VariableexpenseResponseCompound.md @@ -27,7 +27,7 @@ print(VariableexpenseResponseCompound.to_json()) # convert the object into a dict variableexpense_response_compound_dict = variableexpense_response_compound_instance.to_dict() # create an instance of VariableexpenseResponseCompound from a dict -variableexpense_response_compound_form_dict = variableexpense_response_compound.from_dict(variableexpense_response_compound_dict) +variableexpense_response_compound_from_dict = VariableexpenseResponseCompound.from_dict(variableexpense_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VersionhistoryGetObjectV2Response.md b/docs/VersionhistoryGetObjectV2Response.md index 64ea6b5dd..9c2fb9138 100644 --- a/docs/VersionhistoryGetObjectV2Response.md +++ b/docs/VersionhistoryGetObjectV2Response.md @@ -25,7 +25,7 @@ print(VersionhistoryGetObjectV2Response.to_json()) # convert the object into a dict versionhistory_get_object_v2_response_dict = versionhistory_get_object_v2_response_instance.to_dict() # create an instance of VersionhistoryGetObjectV2Response from a dict -versionhistory_get_object_v2_response_form_dict = versionhistory_get_object_v2_response.from_dict(versionhistory_get_object_v2_response_dict) +versionhistory_get_object_v2_response_from_dict = VersionhistoryGetObjectV2Response.from_dict(versionhistory_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VersionhistoryGetObjectV2ResponseMPayload.md b/docs/VersionhistoryGetObjectV2ResponseMPayload.md index b52b437c1..341da12be 100644 --- a/docs/VersionhistoryGetObjectV2ResponseMPayload.md +++ b/docs/VersionhistoryGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(VersionhistoryGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict versionhistory_get_object_v2_response_m_payload_dict = versionhistory_get_object_v2_response_m_payload_instance.to_dict() # create an instance of VersionhistoryGetObjectV2ResponseMPayload from a dict -versionhistory_get_object_v2_response_m_payload_form_dict = versionhistory_get_object_v2_response_m_payload.from_dict(versionhistory_get_object_v2_response_m_payload_dict) +versionhistory_get_object_v2_response_m_payload_from_dict = VersionhistoryGetObjectV2ResponseMPayload.from_dict(versionhistory_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VersionhistoryResponse.md b/docs/VersionhistoryResponse.md index 1f76a5bd2..8fce16562 100644 --- a/docs/VersionhistoryResponse.md +++ b/docs/VersionhistoryResponse.md @@ -33,7 +33,7 @@ print(VersionhistoryResponse.to_json()) # convert the object into a dict versionhistory_response_dict = versionhistory_response_instance.to_dict() # create an instance of VersionhistoryResponse from a dict -versionhistory_response_form_dict = versionhistory_response.from_dict(versionhistory_response_dict) +versionhistory_response_from_dict = VersionhistoryResponse.from_dict(versionhistory_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VersionhistoryResponseCompound.md b/docs/VersionhistoryResponseCompound.md index 78e3a2ec1..206cd83f5 100644 --- a/docs/VersionhistoryResponseCompound.md +++ b/docs/VersionhistoryResponseCompound.md @@ -33,7 +33,7 @@ print(VersionhistoryResponseCompound.to_json()) # convert the object into a dict versionhistory_response_compound_dict = versionhistory_response_compound_instance.to_dict() # create an instance of VersionhistoryResponseCompound from a dict -versionhistory_response_compound_form_dict = versionhistory_response_compound.from_dict(versionhistory_response_compound_dict) +versionhistory_response_compound_from_dict = VersionhistoryResponseCompound.from_dict(versionhistory_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookCreateObjectV2Request.md b/docs/WebhookCreateObjectV2Request.md index 4e3becbfc..dbb1fba98 100644 --- a/docs/WebhookCreateObjectV2Request.md +++ b/docs/WebhookCreateObjectV2Request.md @@ -23,7 +23,7 @@ print(WebhookCreateObjectV2Request.to_json()) # convert the object into a dict webhook_create_object_v2_request_dict = webhook_create_object_v2_request_instance.to_dict() # create an instance of WebhookCreateObjectV2Request from a dict -webhook_create_object_v2_request_form_dict = webhook_create_object_v2_request.from_dict(webhook_create_object_v2_request_dict) +webhook_create_object_v2_request_from_dict = WebhookCreateObjectV2Request.from_dict(webhook_create_object_v2_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookCreateObjectV2Response.md b/docs/WebhookCreateObjectV2Response.md index f41f01f8e..e28ac532e 100644 --- a/docs/WebhookCreateObjectV2Response.md +++ b/docs/WebhookCreateObjectV2Response.md @@ -25,7 +25,7 @@ print(WebhookCreateObjectV2Response.to_json()) # convert the object into a dict webhook_create_object_v2_response_dict = webhook_create_object_v2_response_instance.to_dict() # create an instance of WebhookCreateObjectV2Response from a dict -webhook_create_object_v2_response_form_dict = webhook_create_object_v2_response.from_dict(webhook_create_object_v2_response_dict) +webhook_create_object_v2_response_from_dict = WebhookCreateObjectV2Response.from_dict(webhook_create_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookCreateObjectV2ResponseMPayload.md b/docs/WebhookCreateObjectV2ResponseMPayload.md index 1c13bcdc1..1594c2a7e 100644 --- a/docs/WebhookCreateObjectV2ResponseMPayload.md +++ b/docs/WebhookCreateObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(WebhookCreateObjectV2ResponseMPayload.to_json()) # convert the object into a dict webhook_create_object_v2_response_m_payload_dict = webhook_create_object_v2_response_m_payload_instance.to_dict() # create an instance of WebhookCreateObjectV2ResponseMPayload from a dict -webhook_create_object_v2_response_m_payload_form_dict = webhook_create_object_v2_response_m_payload.from_dict(webhook_create_object_v2_response_m_payload_dict) +webhook_create_object_v2_response_m_payload_from_dict = WebhookCreateObjectV2ResponseMPayload.from_dict(webhook_create_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookDeleteObjectV1Response.md b/docs/WebhookDeleteObjectV1Response.md index 5704d6ad5..fcb2c4559 100644 --- a/docs/WebhookDeleteObjectV1Response.md +++ b/docs/WebhookDeleteObjectV1Response.md @@ -24,7 +24,7 @@ print(WebhookDeleteObjectV1Response.to_json()) # convert the object into a dict webhook_delete_object_v1_response_dict = webhook_delete_object_v1_response_instance.to_dict() # create an instance of WebhookDeleteObjectV1Response from a dict -webhook_delete_object_v1_response_form_dict = webhook_delete_object_v1_response.from_dict(webhook_delete_object_v1_response_dict) +webhook_delete_object_v1_response_from_dict = WebhookDeleteObjectV1Response.from_dict(webhook_delete_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEditObjectV1Request.md b/docs/WebhookEditObjectV1Request.md index abdb55a4e..c0ea2c16a 100644 --- a/docs/WebhookEditObjectV1Request.md +++ b/docs/WebhookEditObjectV1Request.md @@ -23,7 +23,7 @@ print(WebhookEditObjectV1Request.to_json()) # convert the object into a dict webhook_edit_object_v1_request_dict = webhook_edit_object_v1_request_instance.to_dict() # create an instance of WebhookEditObjectV1Request from a dict -webhook_edit_object_v1_request_form_dict = webhook_edit_object_v1_request.from_dict(webhook_edit_object_v1_request_dict) +webhook_edit_object_v1_request_from_dict = WebhookEditObjectV1Request.from_dict(webhook_edit_object_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEditObjectV1Response.md b/docs/WebhookEditObjectV1Response.md index a47863b4e..18b6ce4c3 100644 --- a/docs/WebhookEditObjectV1Response.md +++ b/docs/WebhookEditObjectV1Response.md @@ -24,7 +24,7 @@ print(WebhookEditObjectV1Response.to_json()) # convert the object into a dict webhook_edit_object_v1_response_dict = webhook_edit_object_v1_response_instance.to_dict() # create an instance of WebhookEditObjectV1Response from a dict -webhook_edit_object_v1_response_form_dict = webhook_edit_object_v1_response.from_dict(webhook_edit_object_v1_response_dict) +webhook_edit_object_v1_response_from_dict = WebhookEditObjectV1Response.from_dict(webhook_edit_object_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEzsignDocumentCompleted.md b/docs/WebhookEzsignDocumentCompleted.md index e7198e2e1..d82d1ceb7 100644 --- a/docs/WebhookEzsignDocumentCompleted.md +++ b/docs/WebhookEzsignDocumentCompleted.md @@ -25,7 +25,7 @@ print(WebhookEzsignDocumentCompleted.to_json()) # convert the object into a dict webhook_ezsign_document_completed_dict = webhook_ezsign_document_completed_instance.to_dict() # create an instance of WebhookEzsignDocumentCompleted from a dict -webhook_ezsign_document_completed_form_dict = webhook_ezsign_document_completed.from_dict(webhook_ezsign_document_completed_dict) +webhook_ezsign_document_completed_from_dict = WebhookEzsignDocumentCompleted.from_dict(webhook_ezsign_document_completed_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEzsignDocumentFormCompleted.md b/docs/WebhookEzsignDocumentFormCompleted.md index 6296d2d06..3305f8535 100644 --- a/docs/WebhookEzsignDocumentFormCompleted.md +++ b/docs/WebhookEzsignDocumentFormCompleted.md @@ -25,7 +25,7 @@ print(WebhookEzsignDocumentFormCompleted.to_json()) # convert the object into a dict webhook_ezsign_document_form_completed_dict = webhook_ezsign_document_form_completed_instance.to_dict() # create an instance of WebhookEzsignDocumentFormCompleted from a dict -webhook_ezsign_document_form_completed_form_dict = webhook_ezsign_document_form_completed.from_dict(webhook_ezsign_document_form_completed_dict) +webhook_ezsign_document_form_completed_from_dict = WebhookEzsignDocumentFormCompleted.from_dict(webhook_ezsign_document_form_completed_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEzsignDocumentUnsent.md b/docs/WebhookEzsignDocumentUnsent.md index 3ee328ec9..545fe3baf 100644 --- a/docs/WebhookEzsignDocumentUnsent.md +++ b/docs/WebhookEzsignDocumentUnsent.md @@ -25,7 +25,7 @@ print(WebhookEzsignDocumentUnsent.to_json()) # convert the object into a dict webhook_ezsign_document_unsent_dict = webhook_ezsign_document_unsent_instance.to_dict() # create an instance of WebhookEzsignDocumentUnsent from a dict -webhook_ezsign_document_unsent_form_dict = webhook_ezsign_document_unsent.from_dict(webhook_ezsign_document_unsent_dict) +webhook_ezsign_document_unsent_from_dict = WebhookEzsignDocumentUnsent.from_dict(webhook_ezsign_document_unsent_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEzsignEzsignsignerAcceptclause.md b/docs/WebhookEzsignEzsignsignerAcceptclause.md index d5c9f192c..5395ef6b9 100644 --- a/docs/WebhookEzsignEzsignsignerAcceptclause.md +++ b/docs/WebhookEzsignEzsignsignerAcceptclause.md @@ -26,7 +26,7 @@ print(WebhookEzsignEzsignsignerAcceptclause.to_json()) # convert the object into a dict webhook_ezsign_ezsignsigner_acceptclause_dict = webhook_ezsign_ezsignsigner_acceptclause_instance.to_dict() # create an instance of WebhookEzsignEzsignsignerAcceptclause from a dict -webhook_ezsign_ezsignsigner_acceptclause_form_dict = webhook_ezsign_ezsignsigner_acceptclause.from_dict(webhook_ezsign_ezsignsigner_acceptclause_dict) +webhook_ezsign_ezsignsigner_acceptclause_from_dict = WebhookEzsignEzsignsignerAcceptclause.from_dict(webhook_ezsign_ezsignsigner_acceptclause_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEzsignEzsignsignerConnect.md b/docs/WebhookEzsignEzsignsignerConnect.md index 19ec03524..5b6bb3996 100644 --- a/docs/WebhookEzsignEzsignsignerConnect.md +++ b/docs/WebhookEzsignEzsignsignerConnect.md @@ -26,7 +26,7 @@ print(WebhookEzsignEzsignsignerConnect.to_json()) # convert the object into a dict webhook_ezsign_ezsignsigner_connect_dict = webhook_ezsign_ezsignsigner_connect_instance.to_dict() # create an instance of WebhookEzsignEzsignsignerConnect from a dict -webhook_ezsign_ezsignsigner_connect_form_dict = webhook_ezsign_ezsignsigner_connect.from_dict(webhook_ezsign_ezsignsigner_connect_dict) +webhook_ezsign_ezsignsigner_connect_from_dict = WebhookEzsignEzsignsignerConnect.from_dict(webhook_ezsign_ezsignsigner_connect_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEzsignFolderCompleted.md b/docs/WebhookEzsignFolderCompleted.md index 172476058..efa7dbdc0 100644 --- a/docs/WebhookEzsignFolderCompleted.md +++ b/docs/WebhookEzsignFolderCompleted.md @@ -25,7 +25,7 @@ print(WebhookEzsignFolderCompleted.to_json()) # convert the object into a dict webhook_ezsign_folder_completed_dict = webhook_ezsign_folder_completed_instance.to_dict() # create an instance of WebhookEzsignFolderCompleted from a dict -webhook_ezsign_folder_completed_form_dict = webhook_ezsign_folder_completed.from_dict(webhook_ezsign_folder_completed_dict) +webhook_ezsign_folder_completed_from_dict = WebhookEzsignFolderCompleted.from_dict(webhook_ezsign_folder_completed_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEzsignFolderDisposed.md b/docs/WebhookEzsignFolderDisposed.md index 21d85f89e..2134f12ef 100644 --- a/docs/WebhookEzsignFolderDisposed.md +++ b/docs/WebhookEzsignFolderDisposed.md @@ -25,7 +25,7 @@ print(WebhookEzsignFolderDisposed.to_json()) # convert the object into a dict webhook_ezsign_folder_disposed_dict = webhook_ezsign_folder_disposed_instance.to_dict() # create an instance of WebhookEzsignFolderDisposed from a dict -webhook_ezsign_folder_disposed_form_dict = webhook_ezsign_folder_disposed.from_dict(webhook_ezsign_folder_disposed_dict) +webhook_ezsign_folder_disposed_from_dict = WebhookEzsignFolderDisposed.from_dict(webhook_ezsign_folder_disposed_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEzsignFolderSent.md b/docs/WebhookEzsignFolderSent.md index f542912c5..f04baa473 100644 --- a/docs/WebhookEzsignFolderSent.md +++ b/docs/WebhookEzsignFolderSent.md @@ -25,7 +25,7 @@ print(WebhookEzsignFolderSent.to_json()) # convert the object into a dict webhook_ezsign_folder_sent_dict = webhook_ezsign_folder_sent_instance.to_dict() # create an instance of WebhookEzsignFolderSent from a dict -webhook_ezsign_folder_sent_form_dict = webhook_ezsign_folder_sent.from_dict(webhook_ezsign_folder_sent_dict) +webhook_ezsign_folder_sent_from_dict = WebhookEzsignFolderSent.from_dict(webhook_ezsign_folder_sent_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEzsignFolderUnsent.md b/docs/WebhookEzsignFolderUnsent.md index c4dc1ef62..7e2e704a3 100644 --- a/docs/WebhookEzsignFolderUnsent.md +++ b/docs/WebhookEzsignFolderUnsent.md @@ -25,7 +25,7 @@ print(WebhookEzsignFolderUnsent.to_json()) # convert the object into a dict webhook_ezsign_folder_unsent_dict = webhook_ezsign_folder_unsent_instance.to_dict() # create an instance of WebhookEzsignFolderUnsent from a dict -webhook_ezsign_folder_unsent_form_dict = webhook_ezsign_folder_unsent.from_dict(webhook_ezsign_folder_unsent_dict) +webhook_ezsign_folder_unsent_from_dict = WebhookEzsignFolderUnsent.from_dict(webhook_ezsign_folder_unsent_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookEzsignSignatureSigned.md b/docs/WebhookEzsignSignatureSigned.md index 631a2a36e..912188024 100644 --- a/docs/WebhookEzsignSignatureSigned.md +++ b/docs/WebhookEzsignSignatureSigned.md @@ -25,7 +25,7 @@ print(WebhookEzsignSignatureSigned.to_json()) # convert the object into a dict webhook_ezsign_signature_signed_dict = webhook_ezsign_signature_signed_instance.to_dict() # create an instance of WebhookEzsignSignatureSigned from a dict -webhook_ezsign_signature_signed_form_dict = webhook_ezsign_signature_signed.from_dict(webhook_ezsign_signature_signed_dict) +webhook_ezsign_signature_signed_from_dict = WebhookEzsignSignatureSigned.from_dict(webhook_ezsign_signature_signed_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookGetHistoryV1Response.md b/docs/WebhookGetHistoryV1Response.md index 63e4d6f44..b58ba4f65 100644 --- a/docs/WebhookGetHistoryV1Response.md +++ b/docs/WebhookGetHistoryV1Response.md @@ -25,7 +25,7 @@ print(WebhookGetHistoryV1Response.to_json()) # convert the object into a dict webhook_get_history_v1_response_dict = webhook_get_history_v1_response_instance.to_dict() # create an instance of WebhookGetHistoryV1Response from a dict -webhook_get_history_v1_response_form_dict = webhook_get_history_v1_response.from_dict(webhook_get_history_v1_response_dict) +webhook_get_history_v1_response_from_dict = WebhookGetHistoryV1Response.from_dict(webhook_get_history_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookGetHistoryV1ResponseMPayload.md b/docs/WebhookGetHistoryV1ResponseMPayload.md index ba6b6084c..4b2555763 100644 --- a/docs/WebhookGetHistoryV1ResponseMPayload.md +++ b/docs/WebhookGetHistoryV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(WebhookGetHistoryV1ResponseMPayload.to_json()) # convert the object into a dict webhook_get_history_v1_response_m_payload_dict = webhook_get_history_v1_response_m_payload_instance.to_dict() # create an instance of WebhookGetHistoryV1ResponseMPayload from a dict -webhook_get_history_v1_response_m_payload_form_dict = webhook_get_history_v1_response_m_payload.from_dict(webhook_get_history_v1_response_m_payload_dict) +webhook_get_history_v1_response_m_payload_from_dict = WebhookGetHistoryV1ResponseMPayload.from_dict(webhook_get_history_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookGetListV1Response.md b/docs/WebhookGetListV1Response.md index 73d13dadd..8f7be86a6 100644 --- a/docs/WebhookGetListV1Response.md +++ b/docs/WebhookGetListV1Response.md @@ -25,7 +25,7 @@ print(WebhookGetListV1Response.to_json()) # convert the object into a dict webhook_get_list_v1_response_dict = webhook_get_list_v1_response_instance.to_dict() # create an instance of WebhookGetListV1Response from a dict -webhook_get_list_v1_response_form_dict = webhook_get_list_v1_response.from_dict(webhook_get_list_v1_response_dict) +webhook_get_list_v1_response_from_dict = WebhookGetListV1Response.from_dict(webhook_get_list_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookGetListV1ResponseMPayload.md b/docs/WebhookGetListV1ResponseMPayload.md index 1d877c46d..3144fd4d0 100644 --- a/docs/WebhookGetListV1ResponseMPayload.md +++ b/docs/WebhookGetListV1ResponseMPayload.md @@ -25,7 +25,7 @@ print(WebhookGetListV1ResponseMPayload.to_json()) # convert the object into a dict webhook_get_list_v1_response_m_payload_dict = webhook_get_list_v1_response_m_payload_instance.to_dict() # create an instance of WebhookGetListV1ResponseMPayload from a dict -webhook_get_list_v1_response_m_payload_form_dict = webhook_get_list_v1_response_m_payload.from_dict(webhook_get_list_v1_response_m_payload_dict) +webhook_get_list_v1_response_m_payload_from_dict = WebhookGetListV1ResponseMPayload.from_dict(webhook_get_list_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookGetObjectV2Response.md b/docs/WebhookGetObjectV2Response.md index d495a38e4..ec68ceaf8 100644 --- a/docs/WebhookGetObjectV2Response.md +++ b/docs/WebhookGetObjectV2Response.md @@ -25,7 +25,7 @@ print(WebhookGetObjectV2Response.to_json()) # convert the object into a dict webhook_get_object_v2_response_dict = webhook_get_object_v2_response_instance.to_dict() # create an instance of WebhookGetObjectV2Response from a dict -webhook_get_object_v2_response_form_dict = webhook_get_object_v2_response.from_dict(webhook_get_object_v2_response_dict) +webhook_get_object_v2_response_from_dict = WebhookGetObjectV2Response.from_dict(webhook_get_object_v2_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookGetObjectV2ResponseMPayload.md b/docs/WebhookGetObjectV2ResponseMPayload.md index ed456f3b6..e49b6ea1c 100644 --- a/docs/WebhookGetObjectV2ResponseMPayload.md +++ b/docs/WebhookGetObjectV2ResponseMPayload.md @@ -23,7 +23,7 @@ print(WebhookGetObjectV2ResponseMPayload.to_json()) # convert the object into a dict webhook_get_object_v2_response_m_payload_dict = webhook_get_object_v2_response_m_payload_instance.to_dict() # create an instance of WebhookGetObjectV2ResponseMPayload from a dict -webhook_get_object_v2_response_m_payload_form_dict = webhook_get_object_v2_response_m_payload.from_dict(webhook_get_object_v2_response_m_payload_dict) +webhook_get_object_v2_response_m_payload_from_dict = WebhookGetObjectV2ResponseMPayload.from_dict(webhook_get_object_v2_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookListElement.md b/docs/WebhookListElement.md index f6d1100ee..f8595a969 100644 --- a/docs/WebhookListElement.md +++ b/docs/WebhookListElement.md @@ -32,7 +32,7 @@ print(WebhookListElement.to_json()) # convert the object into a dict webhook_list_element_dict = webhook_list_element_instance.to_dict() # create an instance of WebhookListElement from a dict -webhook_list_element_form_dict = webhook_list_element.from_dict(webhook_list_element_dict) +webhook_list_element_from_dict = WebhookListElement.from_dict(webhook_list_element_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookRegenerateApikeyV1Request.md b/docs/WebhookRegenerateApikeyV1Request.md index bd124837c..31633aaf3 100644 --- a/docs/WebhookRegenerateApikeyV1Request.md +++ b/docs/WebhookRegenerateApikeyV1Request.md @@ -23,7 +23,7 @@ print(WebhookRegenerateApikeyV1Request.to_json()) # convert the object into a dict webhook_regenerate_apikey_v1_request_dict = webhook_regenerate_apikey_v1_request_instance.to_dict() # create an instance of WebhookRegenerateApikeyV1Request from a dict -webhook_regenerate_apikey_v1_request_form_dict = webhook_regenerate_apikey_v1_request.from_dict(webhook_regenerate_apikey_v1_request_dict) +webhook_regenerate_apikey_v1_request_from_dict = WebhookRegenerateApikeyV1Request.from_dict(webhook_regenerate_apikey_v1_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookRegenerateApikeyV1Response.md b/docs/WebhookRegenerateApikeyV1Response.md index fa60f1454..4bd5fd528 100644 --- a/docs/WebhookRegenerateApikeyV1Response.md +++ b/docs/WebhookRegenerateApikeyV1Response.md @@ -25,7 +25,7 @@ print(WebhookRegenerateApikeyV1Response.to_json()) # convert the object into a dict webhook_regenerate_apikey_v1_response_dict = webhook_regenerate_apikey_v1_response_instance.to_dict() # create an instance of WebhookRegenerateApikeyV1Response from a dict -webhook_regenerate_apikey_v1_response_form_dict = webhook_regenerate_apikey_v1_response.from_dict(webhook_regenerate_apikey_v1_response_dict) +webhook_regenerate_apikey_v1_response_from_dict = WebhookRegenerateApikeyV1Response.from_dict(webhook_regenerate_apikey_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookRegenerateApikeyV1ResponseMPayload.md b/docs/WebhookRegenerateApikeyV1ResponseMPayload.md index 4f5fdba6b..b1d487484 100644 --- a/docs/WebhookRegenerateApikeyV1ResponseMPayload.md +++ b/docs/WebhookRegenerateApikeyV1ResponseMPayload.md @@ -23,7 +23,7 @@ print(WebhookRegenerateApikeyV1ResponseMPayload.to_json()) # convert the object into a dict webhook_regenerate_apikey_v1_response_m_payload_dict = webhook_regenerate_apikey_v1_response_m_payload_instance.to_dict() # create an instance of WebhookRegenerateApikeyV1ResponseMPayload from a dict -webhook_regenerate_apikey_v1_response_m_payload_form_dict = webhook_regenerate_apikey_v1_response_m_payload.from_dict(webhook_regenerate_apikey_v1_response_m_payload_dict) +webhook_regenerate_apikey_v1_response_m_payload_from_dict = WebhookRegenerateApikeyV1ResponseMPayload.from_dict(webhook_regenerate_apikey_v1_response_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookRequest.md b/docs/WebhookRequest.md index af5de264c..7c18f3f9a 100644 --- a/docs/WebhookRequest.md +++ b/docs/WebhookRequest.md @@ -7,6 +7,7 @@ A Webhook Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_webhook_id** | **int** | The unique ID of the Webhook | [optional] +**fki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] **s_webhook_description** | **str** | The description of the Webhook | **e_webhook_module** | [**FieldEWebhookModule**](FieldEWebhookModule.md) | | @@ -33,7 +34,7 @@ print(WebhookRequest.to_json()) # convert the object into a dict webhook_request_dict = webhook_request_instance.to_dict() # create an instance of WebhookRequest from a dict -webhook_request_form_dict = webhook_request.from_dict(webhook_request_dict) +webhook_request_from_dict = WebhookRequest.from_dict(webhook_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookRequestCompound.md b/docs/WebhookRequestCompound.md index f5a82bae7..7eed01862 100644 --- a/docs/WebhookRequestCompound.md +++ b/docs/WebhookRequestCompound.md @@ -7,6 +7,7 @@ A Webhook Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_webhook_id** | **int** | The unique ID of the Webhook | [optional] +**fki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] **s_webhook_description** | **str** | The description of the Webhook | **e_webhook_module** | [**FieldEWebhookModule**](FieldEWebhookModule.md) | | @@ -34,7 +35,7 @@ print(WebhookRequestCompound.to_json()) # convert the object into a dict webhook_request_compound_dict = webhook_request_compound_instance.to_dict() # create an instance of WebhookRequestCompound from a dict -webhook_request_compound_form_dict = webhook_request_compound.from_dict(webhook_request_compound_dict) +webhook_request_compound_from_dict = WebhookRequestCompound.from_dict(webhook_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookResponse.md b/docs/WebhookResponse.md index 58665fc64..375819236 100644 --- a/docs/WebhookResponse.md +++ b/docs/WebhookResponse.md @@ -7,6 +7,7 @@ A webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_webhook_id** | **int** | The unique ID of the Webhook | +**fki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] **s_webhook_description** | **str** | The description of the Webhook | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] **s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] @@ -20,6 +21,7 @@ Name | Type | Description | Notes **b_webhook_isactive** | **bool** | Whether the Webhook is active or not | **b_webhook_issigned** | **bool** | Whether the requests will be signed or not | **b_webhook_skipsslvalidation** | **bool** | Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use | +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | [optional] **obj_audit** | [**CommonAudit**](CommonAudit.md) | | ## Example @@ -37,7 +39,7 @@ print(WebhookResponse.to_json()) # convert the object into a dict webhook_response_dict = webhook_response_instance.to_dict() # create an instance of WebhookResponse from a dict -webhook_response_form_dict = webhook_response.from_dict(webhook_response_dict) +webhook_response_from_dict = WebhookResponse.from_dict(webhook_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookResponseCompound.md b/docs/WebhookResponseCompound.md index e0e9a913a..9394cd8ed 100644 --- a/docs/WebhookResponseCompound.md +++ b/docs/WebhookResponseCompound.md @@ -7,6 +7,7 @@ A Webhook Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_webhook_id** | **int** | The unique ID of the Webhook | +**fki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] **s_webhook_description** | **str** | The description of the Webhook | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] **s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] @@ -20,6 +21,7 @@ Name | Type | Description | Notes **b_webhook_isactive** | **bool** | Whether the Webhook is active or not | **b_webhook_issigned** | **bool** | Whether the requests will be signed or not | **b_webhook_skipsslvalidation** | **bool** | Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use | +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | [optional] **obj_audit** | [**CommonAudit**](CommonAudit.md) | | **s_webhook_event** | **str** | The concatenated string to describe the Webhook event | [optional] **a_obj_webhookheader** | [**List[WebhookheaderResponseCompound]**](WebhookheaderResponseCompound.md) | | [optional] @@ -39,7 +41,7 @@ print(WebhookResponseCompound.to_json()) # convert the object into a dict webhook_response_compound_dict = webhook_response_compound_instance.to_dict() # create an instance of WebhookResponseCompound from a dict -webhook_response_compound_form_dict = webhook_response_compound.from_dict(webhook_response_compound_dict) +webhook_response_compound_from_dict = WebhookResponseCompound.from_dict(webhook_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookSendWebhookV1Request.md b/docs/WebhookSendWebhookV1Request.md new file mode 100644 index 000000000..2cd528b21 --- /dev/null +++ b/docs/WebhookSendWebhookV1Request.md @@ -0,0 +1,37 @@ +# WebhookSendWebhookV1Request + +Request for POST /1/object/webhook/sendWebhook + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**e_webhook_module** | [**FieldEWebhookModule**](FieldEWebhookModule.md) | | +**e_webhook_ezsignevent** | [**CustomEWebhookEzsignevent**](CustomEWebhookEzsignevent.md) | | [optional] +**e_webhook_managementevent** | [**FieldEWebhookManagementevent**](FieldEWebhookManagementevent.md) | | [optional] +**fki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | [optional] +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | [optional] +**fki_ezsignsigner_id** | **int** | The unique ID of the Ezsignsigner | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_userstaged_id** | **int** | The unique ID of the Userstaged | [optional] + +## Example + +```python +from eZmaxApi.models.webhook_send_webhook_v1_request import WebhookSendWebhookV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of WebhookSendWebhookV1Request from a JSON string +webhook_send_webhook_v1_request_instance = WebhookSendWebhookV1Request.from_json(json) +# print the JSON string representation of the object +print(WebhookSendWebhookV1Request.to_json()) + +# convert the object into a dict +webhook_send_webhook_v1_request_dict = webhook_send_webhook_v1_request_instance.to_dict() +# create an instance of WebhookSendWebhookV1Request from a dict +webhook_send_webhook_v1_request_from_dict = WebhookSendWebhookV1Request.from_dict(webhook_send_webhook_v1_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/WebhookSendWebhookV1Response.md b/docs/WebhookSendWebhookV1Response.md new file mode 100644 index 000000000..d877f97e8 --- /dev/null +++ b/docs/WebhookSendWebhookV1Response.md @@ -0,0 +1,31 @@ +# WebhookSendWebhookV1Response + +Response for POST /1/object/webhook/sendWebhook + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.webhook_send_webhook_v1_response import WebhookSendWebhookV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of WebhookSendWebhookV1Response from a JSON string +webhook_send_webhook_v1_response_instance = WebhookSendWebhookV1Response.from_json(json) +# print the JSON string representation of the object +print(WebhookSendWebhookV1Response.to_json()) + +# convert the object into a dict +webhook_send_webhook_v1_response_dict = webhook_send_webhook_v1_response_instance.to_dict() +# create an instance of WebhookSendWebhookV1Response from a dict +webhook_send_webhook_v1_response_from_dict = WebhookSendWebhookV1Response.from_dict(webhook_send_webhook_v1_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/WebhookTestV1Response.md b/docs/WebhookTestV1Response.md index 289d5078d..5b5bc95ce 100644 --- a/docs/WebhookTestV1Response.md +++ b/docs/WebhookTestV1Response.md @@ -24,7 +24,7 @@ print(WebhookTestV1Response.to_json()) # convert the object into a dict webhook_test_v1_response_dict = webhook_test_v1_response_instance.to_dict() # create an instance of WebhookTestV1Response from a dict -webhook_test_v1_response_form_dict = webhook_test_v1_response.from_dict(webhook_test_v1_response_dict) +webhook_test_v1_response_from_dict = WebhookTestV1Response.from_dict(webhook_test_v1_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookUserUserCreated.md b/docs/WebhookUserUserCreated.md index 30ba17390..b8c719f57 100644 --- a/docs/WebhookUserUserCreated.md +++ b/docs/WebhookUserUserCreated.md @@ -25,7 +25,7 @@ print(WebhookUserUserCreated.to_json()) # convert the object into a dict webhook_user_user_created_dict = webhook_user_user_created_instance.to_dict() # create an instance of WebhookUserUserCreated from a dict -webhook_user_user_created_form_dict = webhook_user_user_created.from_dict(webhook_user_user_created_dict) +webhook_user_user_created_from_dict = WebhookUserUserCreated.from_dict(webhook_user_user_created_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookUserstagedUserstagedCreated.md b/docs/WebhookUserstagedUserstagedCreated.md index 5de60a5b9..80904f024 100644 --- a/docs/WebhookUserstagedUserstagedCreated.md +++ b/docs/WebhookUserstagedUserstagedCreated.md @@ -25,7 +25,7 @@ print(WebhookUserstagedUserstagedCreated.to_json()) # convert the object into a dict webhook_userstaged_userstaged_created_dict = webhook_userstaged_userstaged_created_instance.to_dict() # create an instance of WebhookUserstagedUserstagedCreated from a dict -webhook_userstaged_userstaged_created_form_dict = webhook_userstaged_userstaged_created.from_dict(webhook_userstaged_userstaged_created_dict) +webhook_userstaged_userstaged_created_from_dict = WebhookUserstagedUserstagedCreated.from_dict(webhook_userstaged_userstaged_created_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookheaderRequest.md b/docs/WebhookheaderRequest.md index f2c278965..846be7275 100644 --- a/docs/WebhookheaderRequest.md +++ b/docs/WebhookheaderRequest.md @@ -25,7 +25,7 @@ print(WebhookheaderRequest.to_json()) # convert the object into a dict webhookheader_request_dict = webhookheader_request_instance.to_dict() # create an instance of WebhookheaderRequest from a dict -webhookheader_request_form_dict = webhookheader_request.from_dict(webhookheader_request_dict) +webhookheader_request_from_dict = WebhookheaderRequest.from_dict(webhookheader_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookheaderRequestCompound.md b/docs/WebhookheaderRequestCompound.md index 802f910a9..f42198cd9 100644 --- a/docs/WebhookheaderRequestCompound.md +++ b/docs/WebhookheaderRequestCompound.md @@ -25,7 +25,7 @@ print(WebhookheaderRequestCompound.to_json()) # convert the object into a dict webhookheader_request_compound_dict = webhookheader_request_compound_instance.to_dict() # create an instance of WebhookheaderRequestCompound from a dict -webhookheader_request_compound_form_dict = webhookheader_request_compound.from_dict(webhookheader_request_compound_dict) +webhookheader_request_compound_from_dict = WebhookheaderRequestCompound.from_dict(webhookheader_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookheaderResponse.md b/docs/WebhookheaderResponse.md index 63f2dd98d..6a836edc3 100644 --- a/docs/WebhookheaderResponse.md +++ b/docs/WebhookheaderResponse.md @@ -26,7 +26,7 @@ print(WebhookheaderResponse.to_json()) # convert the object into a dict webhookheader_response_dict = webhookheader_response_instance.to_dict() # create an instance of WebhookheaderResponse from a dict -webhookheader_response_form_dict = webhookheader_response.from_dict(webhookheader_response_dict) +webhookheader_response_from_dict = WebhookheaderResponse.from_dict(webhookheader_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebhookheaderResponseCompound.md b/docs/WebhookheaderResponseCompound.md index 2193136bc..2ecece647 100644 --- a/docs/WebhookheaderResponseCompound.md +++ b/docs/WebhookheaderResponseCompound.md @@ -26,7 +26,7 @@ print(WebhookheaderResponseCompound.to_json()) # convert the object into a dict webhookheader_response_compound_dict = webhookheader_response_compound_instance.to_dict() # create an instance of WebhookheaderResponseCompound from a dict -webhookheader_response_compound_form_dict = webhookheader_response_compound.from_dict(webhookheader_response_compound_dict) +webhookheader_response_compound_from_dict = WebhookheaderResponseCompound.from_dict(webhookheader_response_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebsiteRequest.md b/docs/WebsiteRequest.md index 47a025907..e6d7adddd 100644 --- a/docs/WebsiteRequest.md +++ b/docs/WebsiteRequest.md @@ -6,6 +6,7 @@ A Website Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_website_id** | **int** | The unique ID of the Website Default | [optional] **fki_websitetype_id** | **int** | The unique ID of the Websitetype. Valid values: |Value|Description| |-|-| |1|Website| |2|Twitter| |3|Facebook| |4|Survey| | **s_website_address** | **str** | The URL of the website. | @@ -24,7 +25,7 @@ print(WebsiteRequest.to_json()) # convert the object into a dict website_request_dict = website_request_instance.to_dict() # create an instance of WebsiteRequest from a dict -website_request_form_dict = website_request.from_dict(website_request_dict) +website_request_from_dict = WebsiteRequest.from_dict(website_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebsiteRequestCompound.md b/docs/WebsiteRequestCompound.md index 9cf8c1fff..13d937d75 100644 --- a/docs/WebsiteRequestCompound.md +++ b/docs/WebsiteRequestCompound.md @@ -6,6 +6,7 @@ A Website Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_website_id** | **int** | The unique ID of the Website Default | [optional] **fki_websitetype_id** | **int** | The unique ID of the Websitetype. Valid values: |Value|Description| |-|-| |1|Website| |2|Twitter| |3|Facebook| |4|Survey| | **s_website_address** | **str** | The URL of the website. | @@ -24,7 +25,7 @@ print(WebsiteRequestCompound.to_json()) # convert the object into a dict website_request_compound_dict = website_request_compound_instance.to_dict() # create an instance of WebsiteRequestCompound from a dict -website_request_compound_form_dict = website_request_compound.from_dict(website_request_compound_dict) +website_request_compound_from_dict = WebsiteRequestCompound.from_dict(website_request_compound_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebsiteResponse.md b/docs/WebsiteResponse.md new file mode 100644 index 000000000..fad28ee75 --- /dev/null +++ b/docs/WebsiteResponse.md @@ -0,0 +1,32 @@ +# WebsiteResponse + +A Website Object + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_website_id** | **int** | The unique ID of the Website Default | +**fki_websitetype_id** | **int** | The unique ID of the Websitetype. Valid values: |Value|Description| |-|-| |1|Website| |2|Twitter| |3|Facebook| |4|Survey| | +**s_website_address** | **str** | The URL of the website. | + +## Example + +```python +from eZmaxApi.models.website_response import WebsiteResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of WebsiteResponse from a JSON string +website_response_instance = WebsiteResponse.from_json(json) +# print the JSON string representation of the object +print(WebsiteResponse.to_json()) + +# convert the object into a dict +website_response_dict = website_response_instance.to_dict() +# create an instance of WebsiteResponse from a dict +website_response_from_dict = WebsiteResponse.from_dict(website_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/WebsiteResponseCompound.md b/docs/WebsiteResponseCompound.md new file mode 100644 index 000000000..7ab18f176 --- /dev/null +++ b/docs/WebsiteResponseCompound.md @@ -0,0 +1,32 @@ +# WebsiteResponseCompound + +A Website Object and children to create a complete structure + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_website_id** | **int** | The unique ID of the Website Default | +**fki_websitetype_id** | **int** | The unique ID of the Websitetype. Valid values: |Value|Description| |-|-| |1|Website| |2|Twitter| |3|Facebook| |4|Survey| | +**s_website_address** | **str** | The URL of the website. | + +## Example + +```python +from eZmaxApi.models.website_response_compound import WebsiteResponseCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of WebsiteResponseCompound from a JSON string +website_response_compound_instance = WebsiteResponseCompound.from_json(json) +# print the JSON string representation of the object +print(WebsiteResponseCompound.to_json()) + +# convert the object into a dict +website_response_compound_dict = website_response_compound_instance.to_dict() +# create an instance of WebsiteResponseCompound from a dict +website_response_compound_from_dict = WebsiteResponseCompound.from_dict(website_response_compound_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/WebsocketRequestServerGetWebsocketIDV1.md b/docs/WebsocketRequestServerGetWebsocketIDV1.md index 521c6081d..e0c3b7536 100644 --- a/docs/WebsocketRequestServerGetWebsocketIDV1.md +++ b/docs/WebsocketRequestServerGetWebsocketIDV1.md @@ -23,7 +23,7 @@ print(WebsocketRequestServerGetWebsocketIDV1.to_json()) # convert the object into a dict websocket_request_server_get_websocket_idv1_dict = websocket_request_server_get_websocket_idv1_instance.to_dict() # create an instance of WebsocketRequestServerGetWebsocketIDV1 from a dict -websocket_request_server_get_websocket_idv1_form_dict = websocket_request_server_get_websocket_idv1.from_dict(websocket_request_server_get_websocket_idv1_dict) +websocket_request_server_get_websocket_idv1_from_dict = WebsocketRequestServerGetWebsocketIDV1.from_dict(websocket_request_server_get_websocket_idv1_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebsocketResponseErrorV1.md b/docs/WebsocketResponseErrorV1.md index 86f61d5e0..dfb990cf7 100644 --- a/docs/WebsocketResponseErrorV1.md +++ b/docs/WebsocketResponseErrorV1.md @@ -25,7 +25,7 @@ print(WebsocketResponseErrorV1.to_json()) # convert the object into a dict websocket_response_error_v1_dict = websocket_response_error_v1_instance.to_dict() # create an instance of WebsocketResponseErrorV1 from a dict -websocket_response_error_v1_form_dict = websocket_response_error_v1.from_dict(websocket_response_error_v1_dict) +websocket_response_error_v1_from_dict = WebsocketResponseErrorV1.from_dict(websocket_response_error_v1_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebsocketResponseErrorV1MPayload.md b/docs/WebsocketResponseErrorV1MPayload.md index cdab2c577..8b14a2f27 100644 --- a/docs/WebsocketResponseErrorV1MPayload.md +++ b/docs/WebsocketResponseErrorV1MPayload.md @@ -24,7 +24,7 @@ print(WebsocketResponseErrorV1MPayload.to_json()) # convert the object into a dict websocket_response_error_v1_m_payload_dict = websocket_response_error_v1_m_payload_instance.to_dict() # create an instance of WebsocketResponseErrorV1MPayload from a dict -websocket_response_error_v1_m_payload_form_dict = websocket_response_error_v1_m_payload.from_dict(websocket_response_error_v1_m_payload_dict) +websocket_response_error_v1_m_payload_from_dict = WebsocketResponseErrorV1MPayload.from_dict(websocket_response_error_v1_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebsocketResponseGetWebsocketIDV1.md b/docs/WebsocketResponseGetWebsocketIDV1.md index 537bb03db..d17e65461 100644 --- a/docs/WebsocketResponseGetWebsocketIDV1.md +++ b/docs/WebsocketResponseGetWebsocketIDV1.md @@ -24,7 +24,7 @@ print(WebsocketResponseGetWebsocketIDV1.to_json()) # convert the object into a dict websocket_response_get_websocket_idv1_dict = websocket_response_get_websocket_idv1_instance.to_dict() # create an instance of WebsocketResponseGetWebsocketIDV1 from a dict -websocket_response_get_websocket_idv1_form_dict = websocket_response_get_websocket_idv1.from_dict(websocket_response_get_websocket_idv1_dict) +websocket_response_get_websocket_idv1_from_dict = WebsocketResponseGetWebsocketIDV1.from_dict(websocket_response_get_websocket_idv1_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebsocketResponseGetWebsocketIDV1MPayload.md b/docs/WebsocketResponseGetWebsocketIDV1MPayload.md index a2cc6a2fb..83e5aa922 100644 --- a/docs/WebsocketResponseGetWebsocketIDV1MPayload.md +++ b/docs/WebsocketResponseGetWebsocketIDV1MPayload.md @@ -23,7 +23,7 @@ print(WebsocketResponseGetWebsocketIDV1MPayload.to_json()) # convert the object into a dict websocket_response_get_websocket_idv1_m_payload_dict = websocket_response_get_websocket_idv1_m_payload_instance.to_dict() # create an instance of WebsocketResponseGetWebsocketIDV1MPayload from a dict -websocket_response_get_websocket_idv1_m_payload_form_dict = websocket_response_get_websocket_idv1_m_payload.from_dict(websocket_response_get_websocket_idv1_m_payload_dict) +websocket_response_get_websocket_idv1_m_payload_from_dict = WebsocketResponseGetWebsocketIDV1MPayload.from_dict(websocket_response_get_websocket_idv1_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebsocketResponseInformationV1.md b/docs/WebsocketResponseInformationV1.md index bddb4e8f9..1009c5bca 100644 --- a/docs/WebsocketResponseInformationV1.md +++ b/docs/WebsocketResponseInformationV1.md @@ -25,7 +25,7 @@ print(WebsocketResponseInformationV1.to_json()) # convert the object into a dict websocket_response_information_v1_dict = websocket_response_information_v1_instance.to_dict() # create an instance of WebsocketResponseInformationV1 from a dict -websocket_response_information_v1_form_dict = websocket_response_information_v1.from_dict(websocket_response_information_v1_dict) +websocket_response_information_v1_from_dict = WebsocketResponseInformationV1.from_dict(websocket_response_information_v1_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WebsocketResponseInformationV1MPayload.md b/docs/WebsocketResponseInformationV1MPayload.md index c385247a9..f79e6bac7 100644 --- a/docs/WebsocketResponseInformationV1MPayload.md +++ b/docs/WebsocketResponseInformationV1MPayload.md @@ -23,7 +23,7 @@ print(WebsocketResponseInformationV1MPayload.to_json()) # convert the object into a dict websocket_response_information_v1_m_payload_dict = websocket_response_information_v1_m_payload_instance.to_dict() # create an instance of WebsocketResponseInformationV1MPayload from a dict -websocket_response_information_v1_m_payload_form_dict = websocket_response_information_v1_m_payload.from_dict(websocket_response_information_v1_m_payload_dict) +websocket_response_information_v1_m_payload_from_dict = WebsocketResponseInformationV1MPayload.from_dict(websocket_response_information_v1_m_payload_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/eZmaxApi/__init__.py b/eZmaxApi/__init__.py index 0afda9d4e..4a9888056 100644 --- a/eZmaxApi/__init__.py +++ b/eZmaxApi/__init__.py @@ -21,12 +21,12 @@ from eZmaxApi.api.global_customer_api import GlobalCustomerApi from eZmaxApi.api.global_ezmaxclient_api import GlobalEzmaxclientApi from eZmaxApi.api.global_ezmaxcustomer_api import GlobalEzmaxcustomerApi -from eZmaxApi.api.module_ezsign_api import ModuleEzsignApi from eZmaxApi.api.module_report_api import ModuleReportApi from eZmaxApi.api.module_user_api import ModuleUserApi from eZmaxApi.api.object_activesession_api import ObjectActivesessionApi from eZmaxApi.api.object_apikey_api import ObjectApikeyApi from eZmaxApi.api.object_attachment_api import ObjectAttachmentApi +from eZmaxApi.api.object_authenticationexternal_api import ObjectAuthenticationexternalApi from eZmaxApi.api.object_billingentityexternal_api import ObjectBillingentityexternalApi from eZmaxApi.api.object_billingentityinternal_api import ObjectBillingentityinternalApi from eZmaxApi.api.object_branding_api import ObjectBrandingApi @@ -34,18 +34,25 @@ from eZmaxApi.api.object_clonehistory_api import ObjectClonehistoryApi from eZmaxApi.api.object_communication_api import ObjectCommunicationApi from eZmaxApi.api.object_company_api import ObjectCompanyApi +from eZmaxApi.api.object_contacttitle_api import ObjectContacttitleApi from eZmaxApi.api.object_cors_api import ObjectCorsApi from eZmaxApi.api.object_country_api import ObjectCountryApi from eZmaxApi.api.object_creditcardclient_api import ObjectCreditcardclientApi from eZmaxApi.api.object_creditcardtype_api import ObjectCreditcardtypeApi +from eZmaxApi.api.object_customer_api import ObjectCustomerApi from eZmaxApi.api.object_department_api import ObjectDepartmentApi from eZmaxApi.api.object_discussion_api import ObjectDiscussionApi from eZmaxApi.api.object_discussionmembership_api import ObjectDiscussionmembershipApi from eZmaxApi.api.object_discussionmessage_api import ObjectDiscussionmessageApi +from eZmaxApi.api.object_domain_api import ObjectDomainApi from eZmaxApi.api.object_electronicfundstransfer_api import ObjectElectronicfundstransferApi from eZmaxApi.api.object_emailtype_api import ObjectEmailtypeApi +from eZmaxApi.api.object_ezdoctemplatedocument_api import ObjectEzdoctemplatedocumentApi +from eZmaxApi.api.object_ezdoctemplatefieldtypecategory_api import ObjectEzdoctemplatefieldtypecategoryApi +from eZmaxApi.api.object_ezdoctemplatetype_api import ObjectEzdoctemplatetypeApi from eZmaxApi.api.object_ezmaxinvoicing_api import ObjectEzmaxinvoicingApi from eZmaxApi.api.object_ezmaxproduct_api import ObjectEzmaxproductApi +from eZmaxApi.api.object_ezsignannotation_api import ObjectEzsignannotationApi from eZmaxApi.api.object_ezsignbulksend_api import ObjectEzsignbulksendApi from eZmaxApi.api.object_ezsignbulksenddocumentmapping_api import ObjectEzsignbulksenddocumentmappingApi from eZmaxApi.api.object_ezsignbulksendsignermapping_api import ObjectEzsignbulksendsignermappingApi @@ -63,19 +70,24 @@ from eZmaxApi.api.object_ezsignsigningreason_api import ObjectEzsignsigningreasonApi from eZmaxApi.api.object_ezsigntemplate_api import ObjectEzsigntemplateApi from eZmaxApi.api.object_ezsigntemplatedocument_api import ObjectEzsigntemplatedocumentApi +from eZmaxApi.api.object_ezsigntemplatedocumentpagerecognition_api import ObjectEzsigntemplatedocumentpagerecognitionApi from eZmaxApi.api.object_ezsigntemplateformfieldgroup_api import ObjectEzsigntemplateformfieldgroupApi from eZmaxApi.api.object_ezsigntemplateglobal_api import ObjectEzsigntemplateglobalApi from eZmaxApi.api.object_ezsigntemplatepackage_api import ObjectEzsigntemplatepackageApi from eZmaxApi.api.object_ezsigntemplatepackagemembership_api import ObjectEzsigntemplatepackagemembershipApi from eZmaxApi.api.object_ezsigntemplatepackagesigner_api import ObjectEzsigntemplatepackagesignerApi from eZmaxApi.api.object_ezsigntemplatepackagesignermembership_api import ObjectEzsigntemplatepackagesignermembershipApi +from eZmaxApi.api.object_ezsigntemplatepublic_api import ObjectEzsigntemplatepublicApi from eZmaxApi.api.object_ezsigntemplatesignature_api import ObjectEzsigntemplatesignatureApi from eZmaxApi.api.object_ezsigntemplatesigner_api import ObjectEzsigntemplatesignerApi from eZmaxApi.api.object_ezsigntsarequirement_api import ObjectEzsigntsarequirementApi +from eZmaxApi.api.object_ezsignuser_api import ObjectEzsignuserApi from eZmaxApi.api.object_font_api import ObjectFontApi from eZmaxApi.api.object_franchisebroker_api import ObjectFranchisebrokerApi from eZmaxApi.api.object_franchiseoffice_api import ObjectFranchiseofficeApi from eZmaxApi.api.object_franchisereferalincome_api import ObjectFranchisereferalincomeApi +from eZmaxApi.api.object_glaccount_api import ObjectGlaccountApi +from eZmaxApi.api.object_glaccountcontainer_api import ObjectGlaccountcontainerApi from eZmaxApi.api.object_inscription_api import ObjectInscriptionApi from eZmaxApi.api.object_inscriptionnotauthenticated_api import ObjectInscriptionnotauthenticatedApi from eZmaxApi.api.object_inscriptiontemp_api import ObjectInscriptiontempApi @@ -87,6 +99,7 @@ from eZmaxApi.api.object_notificationtest_api import ObjectNotificationtestApi from eZmaxApi.api.object_otherincome_api import ObjectOtherincomeApi from eZmaxApi.api.object_paymentterm_api import ObjectPaymenttermApi +from eZmaxApi.api.object_pdfalevel_api import ObjectPdfalevelApi from eZmaxApi.api.object_period_api import ObjectPeriodApi from eZmaxApi.api.object_permission_api import ObjectPermissionApi from eZmaxApi.api.object_phonetype_api import ObjectPhonetypeApi @@ -96,9 +109,11 @@ from eZmaxApi.api.object_sessionhistory_api import ObjectSessionhistoryApi from eZmaxApi.api.object_signature_api import ObjectSignatureApi from eZmaxApi.api.object_subnet_api import ObjectSubnetApi +from eZmaxApi.api.object_supply_api import ObjectSupplyApi from eZmaxApi.api.object_systemconfiguration_api import ObjectSystemconfigurationApi from eZmaxApi.api.object_taxassignment_api import ObjectTaxassignmentApi from eZmaxApi.api.object_timezone_api import ObjectTimezoneApi +from eZmaxApi.api.object_tranqcontract_api import ObjectTranqcontractApi from eZmaxApi.api.object_user_api import ObjectUserApi from eZmaxApi.api.object_usergroup_api import ObjectUsergroupApi from eZmaxApi.api.object_usergroupdelegation_api import ObjectUsergroupdelegationApi @@ -125,6 +140,9 @@ from eZmaxApi.exceptions import ApiException # import models into sdk package +from eZmaxApi.models.activesession_generate_federation_token_v1_request import ActivesessionGenerateFederationTokenV1Request +from eZmaxApi.models.activesession_generate_federation_token_v1_response import ActivesessionGenerateFederationTokenV1Response +from eZmaxApi.models.activesession_generate_federation_token_v1_response_m_payload import ActivesessionGenerateFederationTokenV1ResponseMPayload from eZmaxApi.models.activesession_get_current_v1_response import ActivesessionGetCurrentV1Response from eZmaxApi.models.activesession_get_current_v1_response_m_payload import ActivesessionGetCurrentV1ResponseMPayload from eZmaxApi.models.activesession_get_list_v1_response import ActivesessionGetListV1Response @@ -136,6 +154,8 @@ from eZmaxApi.models.activesession_response_compound_user import ActivesessionResponseCompoundUser from eZmaxApi.models.address_request import AddressRequest from eZmaxApi.models.address_request_compound import AddressRequestCompound +from eZmaxApi.models.address_response import AddressResponse +from eZmaxApi.models.address_response_compound import AddressResponseCompound from eZmaxApi.models.apikey_create_object_v2_request import ApikeyCreateObjectV2Request from eZmaxApi.models.apikey_create_object_v2_response import ApikeyCreateObjectV2Response from eZmaxApi.models.apikey_create_object_v2_response_m_payload import ApikeyCreateObjectV2ResponseMPayload @@ -144,6 +164,9 @@ from eZmaxApi.models.apikey_edit_permissions_v1_request import ApikeyEditPermissionsV1Request from eZmaxApi.models.apikey_edit_permissions_v1_response import ApikeyEditPermissionsV1Response from eZmaxApi.models.apikey_edit_permissions_v1_response_m_payload import ApikeyEditPermissionsV1ResponseMPayload +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_request import ApikeyGenerateDelegatedCredentialsV1Request +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response import ApikeyGenerateDelegatedCredentialsV1Response +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response_m_payload import ApikeyGenerateDelegatedCredentialsV1ResponseMPayload from eZmaxApi.models.apikey_get_cors_v1_response import ApikeyGetCorsV1Response from eZmaxApi.models.apikey_get_cors_v1_response_m_payload import ApikeyGetCorsV1ResponseMPayload from eZmaxApi.models.apikey_get_list_v1_response import ApikeyGetListV1Response @@ -164,15 +187,35 @@ from eZmaxApi.models.apikey_response_compound import ApikeyResponseCompound from eZmaxApi.models.attachment_get_attachmentlogs_v1_response import AttachmentGetAttachmentlogsV1Response from eZmaxApi.models.attachment_get_attachmentlogs_v1_response_m_payload import AttachmentGetAttachmentlogsV1ResponseMPayload -from eZmaxApi.models.attachment_get_download_url_v1_response import AttachmentGetDownloadUrlV1Response -from eZmaxApi.models.attachment_get_download_url_v1_response_m_payload import AttachmentGetDownloadUrlV1ResponseMPayload from eZmaxApi.models.attachment_response import AttachmentResponse from eZmaxApi.models.attachment_response_compound import AttachmentResponseCompound from eZmaxApi.models.attachmentlog_response import AttachmentlogResponse from eZmaxApi.models.attachmentlog_response_compound import AttachmentlogResponseCompound from eZmaxApi.models.attempt_response import AttemptResponse from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound +from eZmaxApi.models.authenticationexternal_autocomplete_element_response import AuthenticationexternalAutocompleteElementResponse +from eZmaxApi.models.authenticationexternal_create_object_v1_request import AuthenticationexternalCreateObjectV1Request +from eZmaxApi.models.authenticationexternal_create_object_v1_response import AuthenticationexternalCreateObjectV1Response +from eZmaxApi.models.authenticationexternal_create_object_v1_response_m_payload import AuthenticationexternalCreateObjectV1ResponseMPayload +from eZmaxApi.models.authenticationexternal_delete_object_v1_response import AuthenticationexternalDeleteObjectV1Response +from eZmaxApi.models.authenticationexternal_edit_object_v1_request import AuthenticationexternalEditObjectV1Request +from eZmaxApi.models.authenticationexternal_edit_object_v1_response import AuthenticationexternalEditObjectV1Response +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response import AuthenticationexternalGetAutocompleteV2Response +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response_m_payload import AuthenticationexternalGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.authenticationexternal_get_list_v1_response import AuthenticationexternalGetListV1Response +from eZmaxApi.models.authenticationexternal_get_list_v1_response_m_payload import AuthenticationexternalGetListV1ResponseMPayload +from eZmaxApi.models.authenticationexternal_get_object_v2_response import AuthenticationexternalGetObjectV2Response +from eZmaxApi.models.authenticationexternal_get_object_v2_response_m_payload import AuthenticationexternalGetObjectV2ResponseMPayload +from eZmaxApi.models.authenticationexternal_list_element import AuthenticationexternalListElement +from eZmaxApi.models.authenticationexternal_request import AuthenticationexternalRequest +from eZmaxApi.models.authenticationexternal_request_compound import AuthenticationexternalRequestCompound +from eZmaxApi.models.authenticationexternal_reset_authorization_v1_response import AuthenticationexternalResetAuthorizationV1Response +from eZmaxApi.models.authenticationexternal_response import AuthenticationexternalResponse +from eZmaxApi.models.authenticationexternal_response_compound import AuthenticationexternalResponseCompound from eZmaxApi.models.billingentityexternal_autocomplete_element_response import BillingentityexternalAutocompleteElementResponse +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_request import BillingentityexternalGenerateFederationTokenV1Request +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response import BillingentityexternalGenerateFederationTokenV1Response +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response_m_payload import BillingentityexternalGenerateFederationTokenV1ResponseMPayload from eZmaxApi.models.billingentityexternal_get_autocomplete_v2_response import BillingentityexternalGetAutocompleteV2Response from eZmaxApi.models.billingentityexternal_get_autocomplete_v2_response_m_payload import BillingentityexternalGetAutocompleteV2ResponseMPayload from eZmaxApi.models.billingentityinternal_autocomplete_element_response import BillingentityinternalAutocompleteElementResponse @@ -197,27 +240,37 @@ from eZmaxApi.models.billingentityinternalproduct_response import BillingentityinternalproductResponse from eZmaxApi.models.billingentityinternalproduct_response_compound import BillingentityinternalproductResponseCompound from eZmaxApi.models.branding_autocomplete_element_response import BrandingAutocompleteElementResponse -from eZmaxApi.models.branding_create_object_v1_request import BrandingCreateObjectV1Request -from eZmaxApi.models.branding_create_object_v1_response import BrandingCreateObjectV1Response -from eZmaxApi.models.branding_create_object_v1_response_m_payload import BrandingCreateObjectV1ResponseMPayload -from eZmaxApi.models.branding_edit_object_v1_request import BrandingEditObjectV1Request -from eZmaxApi.models.branding_edit_object_v1_response import BrandingEditObjectV1Response +from eZmaxApi.models.branding_create_object_v2_request import BrandingCreateObjectV2Request +from eZmaxApi.models.branding_create_object_v2_response import BrandingCreateObjectV2Response +from eZmaxApi.models.branding_create_object_v2_response_m_payload import BrandingCreateObjectV2ResponseMPayload +from eZmaxApi.models.branding_edit_object_v2_request import BrandingEditObjectV2Request +from eZmaxApi.models.branding_edit_object_v2_response import BrandingEditObjectV2Response from eZmaxApi.models.branding_get_autocomplete_v2_response import BrandingGetAutocompleteV2Response from eZmaxApi.models.branding_get_autocomplete_v2_response_m_payload import BrandingGetAutocompleteV2ResponseMPayload from eZmaxApi.models.branding_get_list_v1_response import BrandingGetListV1Response from eZmaxApi.models.branding_get_list_v1_response_m_payload import BrandingGetListV1ResponseMPayload -from eZmaxApi.models.branding_get_object_v2_response import BrandingGetObjectV2Response -from eZmaxApi.models.branding_get_object_v2_response_m_payload import BrandingGetObjectV2ResponseMPayload +from eZmaxApi.models.branding_get_object_v3_response import BrandingGetObjectV3Response +from eZmaxApi.models.branding_get_object_v3_response_m_payload import BrandingGetObjectV3ResponseMPayload from eZmaxApi.models.branding_list_element import BrandingListElement -from eZmaxApi.models.branding_request import BrandingRequest -from eZmaxApi.models.branding_request_compound import BrandingRequestCompound -from eZmaxApi.models.branding_response import BrandingResponse -from eZmaxApi.models.branding_response_compound import BrandingResponseCompound +from eZmaxApi.models.branding_request_compound_v2 import BrandingRequestCompoundV2 +from eZmaxApi.models.branding_request_v2 import BrandingRequestV2 +from eZmaxApi.models.branding_response_compound_v3 import BrandingResponseCompoundV3 +from eZmaxApi.models.branding_response_v3 import BrandingResponseV3 +from eZmaxApi.models.buyercontract_get_communication_count_v1_response import BuyercontractGetCommunicationCountV1Response +from eZmaxApi.models.buyercontract_get_communication_count_v1_response_m_payload import BuyercontractGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.buyercontract_get_communication_list_v1_response import BuyercontractGetCommunicationListV1Response from eZmaxApi.models.buyercontract_get_communication_list_v1_response_m_payload import BuyercontractGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response import BuyercontractGetCommunicationrecipientsV1Response +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response_m_payload import BuyercontractGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response import BuyercontractGetCommunicationsendersV1Response +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response_m_payload import BuyercontractGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.clonehistory_get_list_v1_response import ClonehistoryGetListV1Response from eZmaxApi.models.clonehistory_get_list_v1_response_m_payload import ClonehistoryGetListV1ResponseMPayload from eZmaxApi.models.clonehistory_list_element import ClonehistoryListElement +from eZmaxApi.models.colleague_request_compound_v2 import ColleagueRequestCompoundV2 +from eZmaxApi.models.colleague_request_v2 import ColleagueRequestV2 +from eZmaxApi.models.colleague_response_compound_v2 import ColleagueResponseCompoundV2 +from eZmaxApi.models.colleague_response_v2 import ColleagueResponseV2 from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.common_auditdetail import CommonAuditdetail from eZmaxApi.models.common_file import CommonFile @@ -235,9 +288,11 @@ from eZmaxApi.models.common_reportsubsectionpart import CommonReportsubsectionpart from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_error import CommonResponseError +from eZmaxApi.models.common_response_error_creditcard_validation import CommonResponseErrorCreditcardValidation from eZmaxApi.models.common_response_error_ezsignform_validation import CommonResponseErrorEzsignformValidation from eZmaxApi.models.common_response_error_s_temporary_file_url import CommonResponseErrorSTemporaryFileUrl from eZmaxApi.models.common_response_error_too_many_requests import CommonResponseErrorTooManyRequests +from eZmaxApi.models.common_response_error_wrong_franchiseoffice import CommonResponseErrorWrongFranchiseoffice from eZmaxApi.models.common_response_filter import CommonResponseFilter from eZmaxApi.models.common_response_get_list import CommonResponseGetList from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug @@ -247,11 +302,11 @@ from eZmaxApi.models.common_response_redirect_s_secretquestion_text_x import CommonResponseRedirectSSecretquestionTextX from eZmaxApi.models.common_response_warning import CommonResponseWarning from eZmaxApi.models.common_webhook import CommonWebhook -from eZmaxApi.models.communication_create_object_v1_response_m_payload import CommunicationCreateObjectV1ResponseMPayload from eZmaxApi.models.communication_request import CommunicationRequest from eZmaxApi.models.communication_request_compound import CommunicationRequestCompound from eZmaxApi.models.communication_send_v1_request import CommunicationSendV1Request from eZmaxApi.models.communication_send_v1_response import CommunicationSendV1Response +from eZmaxApi.models.communication_send_v1_response_m_payload import CommunicationSendV1ResponseMPayload from eZmaxApi.models.communicationattachment_request import CommunicationattachmentRequest from eZmaxApi.models.communicationattachment_request_compound import CommunicationattachmentRequestCompound from eZmaxApi.models.communicationexternalrecipient_request import CommunicationexternalrecipientRequest @@ -265,10 +320,22 @@ from eZmaxApi.models.company_get_autocomplete_v2_response_m_payload import CompanyGetAutocompleteV2ResponseMPayload from eZmaxApi.models.computed_e_communication_direction import ComputedECommunicationDirection from eZmaxApi.models.computed_e_ezsigndocument_steptype import ComputedEEzsigndocumentSteptype +from eZmaxApi.models.computed_e_ezsignfolder_access import ComputedEEzsignfolderAccess from eZmaxApi.models.contact_request import ContactRequest from eZmaxApi.models.contact_request_compound import ContactRequestCompound +from eZmaxApi.models.contact_request_compound_v2 import ContactRequestCompoundV2 +from eZmaxApi.models.contact_request_v2 import ContactRequestV2 +from eZmaxApi.models.contact_response import ContactResponse +from eZmaxApi.models.contact_response_compound import ContactResponseCompound from eZmaxApi.models.contactinformations_request import ContactinformationsRequest from eZmaxApi.models.contactinformations_request_compound import ContactinformationsRequestCompound +from eZmaxApi.models.contactinformations_request_compound_v2 import ContactinformationsRequestCompoundV2 +from eZmaxApi.models.contactinformations_request_v2 import ContactinformationsRequestV2 +from eZmaxApi.models.contactinformations_response import ContactinformationsResponse +from eZmaxApi.models.contactinformations_response_compound import ContactinformationsResponseCompound +from eZmaxApi.models.contacttitle_autocomplete_element_response import ContacttitleAutocompleteElementResponse +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response import ContacttitleGetAutocompleteV2Response +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response_m_payload import ContacttitleGetAutocompleteV2ResponseMPayload from eZmaxApi.models.cors_create_object_v1_request import CorsCreateObjectV1Request from eZmaxApi.models.cors_create_object_v1_response import CorsCreateObjectV1Response from eZmaxApi.models.cors_create_object_v1_response_m_payload import CorsCreateObjectV1ResponseMPayload @@ -298,8 +365,11 @@ from eZmaxApi.models.creditcardclient_get_object_v2_response import CreditcardclientGetObjectV2Response from eZmaxApi.models.creditcardclient_get_object_v2_response_m_payload import CreditcardclientGetObjectV2ResponseMPayload from eZmaxApi.models.creditcardclient_list_element import CreditcardclientListElement +from eZmaxApi.models.creditcardclient_patch_object_v1_request import CreditcardclientPatchObjectV1Request +from eZmaxApi.models.creditcardclient_patch_object_v1_response import CreditcardclientPatchObjectV1Response from eZmaxApi.models.creditcardclient_request import CreditcardclientRequest from eZmaxApi.models.creditcardclient_request_compound import CreditcardclientRequestCompound +from eZmaxApi.models.creditcardclient_request_patch import CreditcardclientRequestPatch from eZmaxApi.models.creditcardclient_response import CreditcardclientResponse from eZmaxApi.models.creditcardclient_response_compound import CreditcardclientResponseCompound from eZmaxApi.models.creditcarddetail_request import CreditcarddetailRequest @@ -308,8 +378,11 @@ from eZmaxApi.models.creditcardtype_autocomplete_element_response import CreditcardtypeAutocompleteElementResponse from eZmaxApi.models.creditcardtype_get_autocomplete_v2_response import CreditcardtypeGetAutocompleteV2Response from eZmaxApi.models.creditcardtype_get_autocomplete_v2_response_m_payload import CreditcardtypeGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.custom_apikey import CustomApikey +from eZmaxApi.models.custom_apikeyfederation import CustomApikeyfederation from eZmaxApi.models.custom_attachment_response import CustomAttachmentResponse from eZmaxApi.models.custom_attachmentdocumenttype_response import CustomAttachmentdocumenttypeResponse +from eZmaxApi.models.custom_branding_response import CustomBrandingResponse from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse from eZmaxApi.models.custom_communicationattachment_request import CustomCommunicationattachmentRequest from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse @@ -319,16 +392,22 @@ from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse from eZmaxApi.models.custom_create_ezsignelements_positioned_by_word_request import CustomCreateEzsignelementsPositionedByWordRequest from eZmaxApi.models.custom_creditcardtransaction_response import CustomCreditcardtransactionResponse +from eZmaxApi.models.custom_creditcardtransactionresponse_response import CustomCreditcardtransactionresponseResponse from eZmaxApi.models.custom_discussionconfiguration_response import CustomDiscussionconfigurationResponse +from eZmaxApi.models.custom_dnsrecord_response import CustomDnsrecordResponse from eZmaxApi.models.custom_dropdown_element_request import CustomDropdownElementRequest from eZmaxApi.models.custom_dropdown_element_request_compound import CustomDropdownElementRequestCompound from eZmaxApi.models.custom_dropdown_element_response import CustomDropdownElementResponse from eZmaxApi.models.custom_dropdown_element_response_compound import CustomDropdownElementResponseCompound +from eZmaxApi.models.custom_e_webhook_ezsignevent import CustomEWebhookEzsignevent from eZmaxApi.models.custom_ezmaxinvoicing_ezsigndocument_response import CustomEzmaxinvoicingEzsigndocumentResponse from eZmaxApi.models.custom_ezmaxinvoicing_ezsignfolder_response import CustomEzmaxinvoicingEzsignfolderResponse from eZmaxApi.models.custom_ezmaxpricing_response import CustomEzmaxpricingResponse from eZmaxApi.models.custom_ezsigndocument_ezsignsignatures_automatic_response import CustomEzsigndocumentEzsignsignaturesAutomaticResponse +from eZmaxApi.models.custom_ezsigndocument_request import CustomEzsigndocumentRequest from eZmaxApi.models.custom_ezsignfolder_ezsignsignatures_automatic_response import CustomEzsignfolderEzsignsignaturesAutomaticResponse +from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_response import CustomEzsignfolderezsigntemplatepublicResponse +from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_signer_response import CustomEzsignfolderezsigntemplatepublicSignerResponse from eZmaxApi.models.custom_ezsignfoldersignerassociation_actionable_element_response import CustomEzsignfoldersignerassociationActionableElementResponse from eZmaxApi.models.custom_ezsignfoldersignerassociationstatus_response import CustomEzsignfoldersignerassociationstatusResponse from eZmaxApi.models.custom_ezsignfoldertransmission_response import CustomEzsignfoldertransmissionResponse @@ -350,11 +429,21 @@ from eZmaxApi.models.custom_import_ezsigntemplatepackage_relation_request import CustomImportEzsigntemplatepackageRelationRequest from eZmaxApi.models.custom_notificationsubsectiongetnotificationtests_response import CustomNotificationsubsectiongetnotificationtestsResponse from eZmaxApi.models.custom_notificationtestgetnotificationtests_response import CustomNotificationtestgetnotificationtestsResponse -from eZmaxApi.models.custom_user_response import CustomUserResponse +from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse +from eZmaxApi.models.custom_user_name_response import CustomUserNameResponse from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.custom_webhooklog_response import CustomWebhooklogResponse from eZmaxApi.models.custom_word_position_occurence_response import CustomWordPositionOccurenceResponse from eZmaxApi.models.custom_word_position_word_response import CustomWordPositionWordResponse +from eZmaxApi.models.customer_create_object_v1_request import CustomerCreateObjectV1Request +from eZmaxApi.models.customer_create_object_v1_response import CustomerCreateObjectV1Response +from eZmaxApi.models.customer_create_object_v1_response_m_payload import CustomerCreateObjectV1ResponseMPayload +from eZmaxApi.models.customer_get_object_v2_response import CustomerGetObjectV2Response +from eZmaxApi.models.customer_get_object_v2_response_m_payload import CustomerGetObjectV2ResponseMPayload +from eZmaxApi.models.customer_request import CustomerRequest +from eZmaxApi.models.customer_request_compound import CustomerRequestCompound +from eZmaxApi.models.customer_response import CustomerResponse +from eZmaxApi.models.customer_response_compound import CustomerResponseCompound from eZmaxApi.models.department_autocomplete_element_response import DepartmentAutocompleteElementResponse from eZmaxApi.models.department_get_autocomplete_v2_response import DepartmentGetAutocompleteV2Response from eZmaxApi.models.department_get_autocomplete_v2_response_m_payload import DepartmentGetAutocompleteV2ResponseMPayload @@ -392,8 +481,27 @@ from eZmaxApi.models.discussionmessage_request_patch import DiscussionmessageRequestPatch from eZmaxApi.models.discussionmessage_response import DiscussionmessageResponse from eZmaxApi.models.discussionmessage_response_compound import DiscussionmessageResponseCompound +from eZmaxApi.models.domain_create_object_v1_request import DomainCreateObjectV1Request +from eZmaxApi.models.domain_create_object_v1_response import DomainCreateObjectV1Response +from eZmaxApi.models.domain_create_object_v1_response_m_payload import DomainCreateObjectV1ResponseMPayload +from eZmaxApi.models.domain_delete_object_v1_response import DomainDeleteObjectV1Response +from eZmaxApi.models.domain_get_list_v1_response import DomainGetListV1Response +from eZmaxApi.models.domain_get_list_v1_response_m_payload import DomainGetListV1ResponseMPayload +from eZmaxApi.models.domain_get_object_v2_response import DomainGetObjectV2Response +from eZmaxApi.models.domain_get_object_v2_response_m_payload import DomainGetObjectV2ResponseMPayload +from eZmaxApi.models.domain_list_element import DomainListElement +from eZmaxApi.models.domain_request import DomainRequest +from eZmaxApi.models.domain_request_compound import DomainRequestCompound +from eZmaxApi.models.domain_response import DomainResponse +from eZmaxApi.models.domain_response_compound import DomainResponseCompound +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response import ElectronicfundstransferGetCommunicationCountV1Response +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response_m_payload import ElectronicfundstransferGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response import ElectronicfundstransferGetCommunicationListV1Response from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response_m_payload import ElectronicfundstransferGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response import ElectronicfundstransferGetCommunicationrecipientsV1Response +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload import ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response import ElectronicfundstransferGetCommunicationsendersV1Response +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response_m_payload import ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.email_request import EmailRequest from eZmaxApi.models.email_request_compound import EmailRequestCompound from eZmaxApi.models.email_response import EmailResponse @@ -406,6 +514,32 @@ from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.enum_verticalalignment import EnumVerticalalignment +from eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response import EzdoctemplatedocumentAutocompleteElementResponse +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_request import EzdoctemplatedocumentCreateObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response import EzdoctemplatedocumentCreateObjectV1Response +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response_m_payload import EzdoctemplatedocumentCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_request import EzdoctemplatedocumentEditObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_response import EzdoctemplatedocumentEditObjectV1Response +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response import EzdoctemplatedocumentGetAutocompleteV2Response +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload import EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response import EzdoctemplatedocumentGetListV1Response +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload import EzdoctemplatedocumentGetListV1ResponseMPayload +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response import EzdoctemplatedocumentGetObjectV2Response +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response_m_payload import EzdoctemplatedocumentGetObjectV2ResponseMPayload +from eZmaxApi.models.ezdoctemplatedocument_list_element import EzdoctemplatedocumentListElement +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_request import EzdoctemplatedocumentPatchObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_response import EzdoctemplatedocumentPatchObjectV1Response +from eZmaxApi.models.ezdoctemplatedocument_request import EzdoctemplatedocumentRequest +from eZmaxApi.models.ezdoctemplatedocument_request_compound import EzdoctemplatedocumentRequestCompound +from eZmaxApi.models.ezdoctemplatedocument_request_patch import EzdoctemplatedocumentRequestPatch +from eZmaxApi.models.ezdoctemplatedocument_response import EzdoctemplatedocumentResponse +from eZmaxApi.models.ezdoctemplatedocument_response_compound import EzdoctemplatedocumentResponseCompound +from eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response import EzdoctemplatefieldtypecategoryAutocompleteElementResponse +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response import EzdoctemplatefieldtypecategoryGetAutocompleteV2Response +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload import EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response import EzdoctemplatetypeAutocompleteElementResponse +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response import EzdoctemplatetypeGetAutocompleteV2Response +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response_m_payload import EzdoctemplatetypeGetAutocompleteV2ResponseMPayload from eZmaxApi.models.ezmaxinvoicing_autocomplete_element_response import EzmaxinvoicingAutocompleteElementResponse from eZmaxApi.models.ezmaxinvoicing_get_autocomplete_v2_response import EzmaxinvoicingGetAutocompleteV2Response from eZmaxApi.models.ezmaxinvoicing_get_autocomplete_v2_response_m_payload import EzmaxinvoicingGetAutocompleteV2ResponseMPayload @@ -436,15 +570,21 @@ from eZmaxApi.models.ezmaxproduct_autocomplete_element_response import EzmaxproductAutocompleteElementResponse from eZmaxApi.models.ezmaxproduct_get_autocomplete_v2_response import EzmaxproductGetAutocompleteV2Response from eZmaxApi.models.ezmaxproduct_get_autocomplete_v2_response_m_payload import EzmaxproductGetAutocompleteV2ResponseMPayload -from eZmaxApi.models.ezsign_suggest_signers_v1_response import EzsignSuggestSignersV1Response -from eZmaxApi.models.ezsign_suggest_signers_v1_response_m_payload import EzsignSuggestSignersV1ResponseMPayload -from eZmaxApi.models.ezsign_suggest_templates_v1_response import EzsignSuggestTemplatesV1Response -from eZmaxApi.models.ezsign_suggest_templates_v1_response_m_payload import EzsignSuggestTemplatesV1ResponseMPayload +from eZmaxApi.models.ezsignannotation_create_object_v1_request import EzsignannotationCreateObjectV1Request +from eZmaxApi.models.ezsignannotation_create_object_v1_response import EzsignannotationCreateObjectV1Response +from eZmaxApi.models.ezsignannotation_create_object_v1_response_m_payload import EzsignannotationCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezsignannotation_delete_object_v1_response import EzsignannotationDeleteObjectV1Response +from eZmaxApi.models.ezsignannotation_edit_object_v1_request import EzsignannotationEditObjectV1Request +from eZmaxApi.models.ezsignannotation_edit_object_v1_response import EzsignannotationEditObjectV1Response +from eZmaxApi.models.ezsignannotation_get_object_v2_response import EzsignannotationGetObjectV2Response +from eZmaxApi.models.ezsignannotation_get_object_v2_response_m_payload import EzsignannotationGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsignannotation_request import EzsignannotationRequest +from eZmaxApi.models.ezsignannotation_request_compound import EzsignannotationRequestCompound from eZmaxApi.models.ezsignannotation_response import EzsignannotationResponse from eZmaxApi.models.ezsignannotation_response_compound import EzsignannotationResponseCompound -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_request import EzsignbulksendCreateEzsignbulksendtransmissionV1Request -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response import EzsignbulksendCreateEzsignbulksendtransmissionV1Response -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_request import EzsignbulksendCreateEzsignbulksendtransmissionV2Request +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response import EzsignbulksendCreateEzsignbulksendtransmissionV2Response +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload from eZmaxApi.models.ezsignbulksend_create_object_v1_request import EzsignbulksendCreateObjectV1Request from eZmaxApi.models.ezsignbulksend_create_object_v1_response import EzsignbulksendCreateObjectV1Response from eZmaxApi.models.ezsignbulksend_create_object_v1_response_m_payload import EzsignbulksendCreateObjectV1ResponseMPayload @@ -512,6 +652,7 @@ from eZmaxApi.models.ezsigndocument_apply_ezsigntemplate_v2_response import EzsigndocumentApplyEzsigntemplateV2Response from eZmaxApi.models.ezsigndocument_apply_ezsigntemplateglobal_v1_request import EzsigndocumentApplyEzsigntemplateglobalV1Request from eZmaxApi.models.ezsigndocument_apply_ezsigntemplateglobal_v1_response import EzsigndocumentApplyEzsigntemplateglobalV1Response +from eZmaxApi.models.ezsigndocument_create_element_v3_response import EzsigndocumentCreateElementV3Response from eZmaxApi.models.ezsigndocument_create_ezsignelements_positioned_by_word_v1_request import EzsigndocumentCreateEzsignelementsPositionedByWordV1Request from eZmaxApi.models.ezsigndocument_create_ezsignelements_positioned_by_word_v1_response import EzsigndocumentCreateEzsignelementsPositionedByWordV1Response from eZmaxApi.models.ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload import EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload @@ -521,16 +662,27 @@ from eZmaxApi.models.ezsigndocument_create_object_v2_request import EzsigndocumentCreateObjectV2Request from eZmaxApi.models.ezsigndocument_create_object_v2_response import EzsigndocumentCreateObjectV2Response from eZmaxApi.models.ezsigndocument_create_object_v2_response_m_payload import EzsigndocumentCreateObjectV2ResponseMPayload +from eZmaxApi.models.ezsigndocument_create_object_v3_request import EzsigndocumentCreateObjectV3Request +from eZmaxApi.models.ezsigndocument_create_object_v3_response import EzsigndocumentCreateObjectV3Response +from eZmaxApi.models.ezsigndocument_create_object_v3_response_m_payload import EzsigndocumentCreateObjectV3ResponseMPayload from eZmaxApi.models.ezsigndocument_decline_to_sign_v1_request import EzsigndocumentDeclineToSignV1Request from eZmaxApi.models.ezsigndocument_decline_to_sign_v1_response import EzsigndocumentDeclineToSignV1Response from eZmaxApi.models.ezsigndocument_delete_object_v1_response import EzsigndocumentDeleteObjectV1Response +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_request import EzsigndocumentEditEzsignannotationsV1Request +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response import EzsigndocumentEditEzsignannotationsV1Response +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response_m_payload import EzsigndocumentEditEzsignannotationsV1ResponseMPayload from eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_request import EzsigndocumentEditEzsignformfieldgroupsV1Request from eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_response import EzsigndocumentEditEzsignformfieldgroupsV1Response from eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload import EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload from eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_request import EzsigndocumentEditEzsignsignaturesV1Request from eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_response import EzsigndocumentEditEzsignsignaturesV1Response from eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_response_m_payload import EzsigndocumentEditEzsignsignaturesV1ResponseMPayload +from eZmaxApi.models.ezsigndocument_edit_object_v1_request import EzsigndocumentEditObjectV1Request +from eZmaxApi.models.ezsigndocument_edit_object_v1_response import EzsigndocumentEditObjectV1Response from eZmaxApi.models.ezsigndocument_end_prematurely_v1_response import EzsigndocumentEndPrematurelyV1Response +from eZmaxApi.models.ezsigndocument_extract_text_v1_request import EzsigndocumentExtractTextV1Request +from eZmaxApi.models.ezsigndocument_extract_text_v1_response import EzsigndocumentExtractTextV1Response +from eZmaxApi.models.ezsigndocument_extract_text_v1_response_m_payload import EzsigndocumentExtractTextV1ResponseMPayload from eZmaxApi.models.ezsigndocument_flatten_v1_response import EzsigndocumentFlattenV1Response from eZmaxApi.models.ezsigndocument_get_actionable_elements_v1_response import EzsigndocumentGetActionableElementsV1Response from eZmaxApi.models.ezsigndocument_get_actionable_elements_v1_response_m_payload import EzsigndocumentGetActionableElementsV1ResponseMPayload @@ -562,6 +714,7 @@ from eZmaxApi.models.ezsigndocument_get_temporary_proof_v1_response_m_payload import EzsigndocumentGetTemporaryProofV1ResponseMPayload from eZmaxApi.models.ezsigndocument_get_words_positions_v1_request import EzsigndocumentGetWordsPositionsV1Request from eZmaxApi.models.ezsigndocument_get_words_positions_v1_response import EzsigndocumentGetWordsPositionsV1Response +from eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response import EzsigndocumentMatchingtemplateV3Response from eZmaxApi.models.ezsigndocument_patch_object_v1_request import EzsigndocumentPatchObjectV1Request from eZmaxApi.models.ezsigndocument_patch_object_v1_response import EzsigndocumentPatchObjectV1Response from eZmaxApi.models.ezsigndocument_request import EzsigndocumentRequest @@ -572,6 +725,9 @@ from eZmaxApi.models.ezsigndocument_submit_ezsignform_v1_request import EzsigndocumentSubmitEzsignformV1Request from eZmaxApi.models.ezsigndocument_submit_ezsignform_v1_response import EzsigndocumentSubmitEzsignformV1Response from eZmaxApi.models.ezsigndocument_unsend_v1_response import EzsigndocumentUnsendV1Response +from eZmaxApi.models.ezsigndocumentdependency_request import EzsigndocumentdependencyRequest +from eZmaxApi.models.ezsigndocumentdependency_request_compound import EzsigndocumentdependencyRequestCompound +from eZmaxApi.models.ezsigndocumentdependency_response import EzsigndocumentdependencyResponse from eZmaxApi.models.ezsigndocumentlog_response import EzsigndocumentlogResponse from eZmaxApi.models.ezsigndocumentlog_response_compound import EzsigndocumentlogResponseCompound from eZmaxApi.models.ezsignelementdependency_request import EzsignelementdependencyRequest @@ -586,12 +742,15 @@ from eZmaxApi.models.ezsignfolder_create_object_v2_request import EzsignfolderCreateObjectV2Request from eZmaxApi.models.ezsignfolder_create_object_v2_response import EzsignfolderCreateObjectV2Response from eZmaxApi.models.ezsignfolder_create_object_v2_response_m_payload import EzsignfolderCreateObjectV2ResponseMPayload +from eZmaxApi.models.ezsignfolder_create_object_v3_request import EzsignfolderCreateObjectV3Request +from eZmaxApi.models.ezsignfolder_create_object_v3_response import EzsignfolderCreateObjectV3Response +from eZmaxApi.models.ezsignfolder_create_object_v3_response_m_payload import EzsignfolderCreateObjectV3ResponseMPayload from eZmaxApi.models.ezsignfolder_delete_object_v1_response import EzsignfolderDeleteObjectV1Response from eZmaxApi.models.ezsignfolder_dispose_ezsignfolders_v1_request import EzsignfolderDisposeEzsignfoldersV1Request from eZmaxApi.models.ezsignfolder_dispose_ezsignfolders_v1_response import EzsignfolderDisposeEzsignfoldersV1Response from eZmaxApi.models.ezsignfolder_dispose_v1_response import EzsignfolderDisposeV1Response -from eZmaxApi.models.ezsignfolder_edit_object_v1_request import EzsignfolderEditObjectV1Request -from eZmaxApi.models.ezsignfolder_edit_object_v1_response import EzsignfolderEditObjectV1Response +from eZmaxApi.models.ezsignfolder_edit_object_v3_request import EzsignfolderEditObjectV3Request +from eZmaxApi.models.ezsignfolder_edit_object_v3_response import EzsignfolderEditObjectV3Response from eZmaxApi.models.ezsignfolder_end_prematurely_v1_response import EzsignfolderEndPrematurelyV1Response from eZmaxApi.models.ezsignfolder_get_actionable_elements_v1_response import EzsignfolderGetActionableElementsV1Response from eZmaxApi.models.ezsignfolder_get_actionable_elements_v1_response_m_payload import EzsignfolderGetActionableElementsV1ResponseMPayload @@ -621,6 +780,8 @@ from eZmaxApi.models.ezsignfolder_get_object_v1_response_m_payload import EzsignfolderGetObjectV1ResponseMPayload from eZmaxApi.models.ezsignfolder_get_object_v2_response import EzsignfolderGetObjectV2Response from eZmaxApi.models.ezsignfolder_get_object_v2_response_m_payload import EzsignfolderGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsignfolder_get_object_v3_response import EzsignfolderGetObjectV3Response +from eZmaxApi.models.ezsignfolder_get_object_v3_response_m_payload import EzsignfolderGetObjectV3ResponseMPayload from eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_request import EzsignfolderImportEzsignfoldersignerassociationsV1Request from eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_response import EzsignfolderImportEzsignfoldersignerassociationsV1Response from eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload import EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload @@ -630,10 +791,16 @@ from eZmaxApi.models.ezsignfolder_list_element import EzsignfolderListElement from eZmaxApi.models.ezsignfolder_reorder_v1_request import EzsignfolderReorderV1Request from eZmaxApi.models.ezsignfolder_reorder_v1_response import EzsignfolderReorderV1Response +from eZmaxApi.models.ezsignfolder_reorder_v2_request import EzsignfolderReorderV2Request +from eZmaxApi.models.ezsignfolder_reorder_v2_response import EzsignfolderReorderV2Response from eZmaxApi.models.ezsignfolder_request import EzsignfolderRequest from eZmaxApi.models.ezsignfolder_request_compound import EzsignfolderRequestCompound +from eZmaxApi.models.ezsignfolder_request_compound_v3 import EzsignfolderRequestCompoundV3 +from eZmaxApi.models.ezsignfolder_request_v3 import EzsignfolderRequestV3 from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from eZmaxApi.models.ezsignfolder_response_compound import EzsignfolderResponseCompound +from eZmaxApi.models.ezsignfolder_response_compound_v3 import EzsignfolderResponseCompoundV3 +from eZmaxApi.models.ezsignfolder_response_v3 import EzsignfolderResponseV3 from eZmaxApi.models.ezsignfolder_send_v1_request import EzsignfolderSendV1Request from eZmaxApi.models.ezsignfolder_send_v1_response import EzsignfolderSendV1Response from eZmaxApi.models.ezsignfolder_send_v3_request import EzsignfolderSendV3Request @@ -660,6 +827,8 @@ from eZmaxApi.models.ezsignfoldersignerassociation_get_object_v2_response_m_payload import EzsignfoldersignerassociationGetObjectV2ResponseMPayload from eZmaxApi.models.ezsignfoldersignerassociation_patch_object_v1_request import EzsignfoldersignerassociationPatchObjectV1Request from eZmaxApi.models.ezsignfoldersignerassociation_patch_object_v1_response import EzsignfoldersignerassociationPatchObjectV1Response +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_request import EzsignfoldersignerassociationReassignV1Request +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_response import EzsignfoldersignerassociationReassignV1Response from eZmaxApi.models.ezsignfoldersignerassociation_request import EzsignfoldersignerassociationRequest from eZmaxApi.models.ezsignfoldersignerassociation_request_compound import EzsignfoldersignerassociationRequestCompound from eZmaxApi.models.ezsignfoldersignerassociation_request_patch import EzsignfoldersignerassociationRequestPatch @@ -667,30 +836,26 @@ from eZmaxApi.models.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound from eZmaxApi.models.ezsignfoldersignerassociation_response_compound_user import EzsignfoldersignerassociationResponseCompoundUser from eZmaxApi.models.ezsignfoldertype_autocomplete_element_response import EzsignfoldertypeAutocompleteElementResponse -from eZmaxApi.models.ezsignfoldertype_create_object_v2_request import EzsignfoldertypeCreateObjectV2Request -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response import EzsignfoldertypeCreateObjectV2Response -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response_m_payload import EzsignfoldertypeCreateObjectV2ResponseMPayload -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_request import EzsignfoldertypeEditObjectV1Request -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_response import EzsignfoldertypeEditObjectV1Response -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_request import EzsignfoldertypeEditObjectV2Request -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_response import EzsignfoldertypeEditObjectV2Response +from eZmaxApi.models.ezsignfoldertype_create_object_v3_request import EzsignfoldertypeCreateObjectV3Request +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response import EzsignfoldertypeCreateObjectV3Response +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response_m_payload import EzsignfoldertypeCreateObjectV3ResponseMPayload +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_request import EzsignfoldertypeEditObjectV3Request +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_response import EzsignfoldertypeEditObjectV3Response from eZmaxApi.models.ezsignfoldertype_get_autocomplete_v2_response import EzsignfoldertypeGetAutocompleteV2Response from eZmaxApi.models.ezsignfoldertype_get_autocomplete_v2_response_m_payload import EzsignfoldertypeGetAutocompleteV2ResponseMPayload from eZmaxApi.models.ezsignfoldertype_get_list_v1_response import EzsignfoldertypeGetListV1Response from eZmaxApi.models.ezsignfoldertype_get_list_v1_response_m_payload import EzsignfoldertypeGetListV1ResponseMPayload from eZmaxApi.models.ezsignfoldertype_get_object_v2_response import EzsignfoldertypeGetObjectV2Response from eZmaxApi.models.ezsignfoldertype_get_object_v2_response_m_payload import EzsignfoldertypeGetObjectV2ResponseMPayload -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response import EzsignfoldertypeGetObjectV3Response -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response_m_payload import EzsignfoldertypeGetObjectV3ResponseMPayload +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response import EzsignfoldertypeGetObjectV4Response +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response_m_payload import EzsignfoldertypeGetObjectV4ResponseMPayload from eZmaxApi.models.ezsignfoldertype_list_element import EzsignfoldertypeListElement -from eZmaxApi.models.ezsignfoldertype_request import EzsignfoldertypeRequest -from eZmaxApi.models.ezsignfoldertype_request_compound import EzsignfoldertypeRequestCompound -from eZmaxApi.models.ezsignfoldertype_request_compound_v2 import EzsignfoldertypeRequestCompoundV2 -from eZmaxApi.models.ezsignfoldertype_request_v2 import EzsignfoldertypeRequestV2 +from eZmaxApi.models.ezsignfoldertype_request_compound_v3 import EzsignfoldertypeRequestCompoundV3 +from eZmaxApi.models.ezsignfoldertype_request_v3 import EzsignfoldertypeRequestV3 from eZmaxApi.models.ezsignfoldertype_response import EzsignfoldertypeResponse from eZmaxApi.models.ezsignfoldertype_response_compound import EzsignfoldertypeResponseCompound -from eZmaxApi.models.ezsignfoldertype_response_compound_v3 import EzsignfoldertypeResponseCompoundV3 -from eZmaxApi.models.ezsignfoldertype_response_v3 import EzsignfoldertypeResponseV3 +from eZmaxApi.models.ezsignfoldertype_response_compound_v4 import EzsignfoldertypeResponseCompoundV4 +from eZmaxApi.models.ezsignfoldertype_response_v4 import EzsignfoldertypeResponseV4 from eZmaxApi.models.ezsignformfield_request import EzsignformfieldRequest from eZmaxApi.models.ezsignformfield_request_compound import EzsignformfieldRequestCompound from eZmaxApi.models.ezsignformfield_response import EzsignformfieldResponse @@ -720,26 +885,36 @@ from eZmaxApi.models.ezsignsignature_create_object_v2_request import EzsignsignatureCreateObjectV2Request from eZmaxApi.models.ezsignsignature_create_object_v2_response import EzsignsignatureCreateObjectV2Response from eZmaxApi.models.ezsignsignature_create_object_v2_response_m_payload import EzsignsignatureCreateObjectV2ResponseMPayload +from eZmaxApi.models.ezsignsignature_create_object_v3_request import EzsignsignatureCreateObjectV3Request +from eZmaxApi.models.ezsignsignature_create_object_v3_response import EzsignsignatureCreateObjectV3Response +from eZmaxApi.models.ezsignsignature_create_object_v3_response_m_payload import EzsignsignatureCreateObjectV3ResponseMPayload from eZmaxApi.models.ezsignsignature_delete_object_v1_response import EzsignsignatureDeleteObjectV1Response -from eZmaxApi.models.ezsignsignature_edit_object_v1_request import EzsignsignatureEditObjectV1Request -from eZmaxApi.models.ezsignsignature_edit_object_v1_response import EzsignsignatureEditObjectV1Response +from eZmaxApi.models.ezsignsignature_edit_object_v2_request import EzsignsignatureEditObjectV2Request +from eZmaxApi.models.ezsignsignature_edit_object_v2_response import EzsignsignatureEditObjectV2Response from eZmaxApi.models.ezsignsignature_get_ezsignsignatureattachment_v1_response import EzsignsignatureGetEzsignsignatureattachmentV1Response from eZmaxApi.models.ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload import EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload from eZmaxApi.models.ezsignsignature_get_ezsignsignatures_automatic_v1_response import EzsignsignatureGetEzsignsignaturesAutomaticV1Response from eZmaxApi.models.ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload import EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload -from eZmaxApi.models.ezsignsignature_get_object_v2_response import EzsignsignatureGetObjectV2Response -from eZmaxApi.models.ezsignsignature_get_object_v2_response_m_payload import EzsignsignatureGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsignsignature_get_object_v3_response import EzsignsignatureGetObjectV3Response +from eZmaxApi.models.ezsignsignature_get_object_v3_response_m_payload import EzsignsignatureGetObjectV3ResponseMPayload from eZmaxApi.models.ezsignsignature_request import EzsignsignatureRequest from eZmaxApi.models.ezsignsignature_request_compound import EzsignsignatureRequestCompound +from eZmaxApi.models.ezsignsignature_request_compound_v2 import EzsignsignatureRequestCompoundV2 from eZmaxApi.models.ezsignsignature_response import EzsignsignatureResponse from eZmaxApi.models.ezsignsignature_response_compound import EzsignsignatureResponseCompound +from eZmaxApi.models.ezsignsignature_response_compound_v3 import EzsignsignatureResponseCompoundV3 from eZmaxApi.models.ezsignsignature_sign_v1_request import EzsignsignatureSignV1Request from eZmaxApi.models.ezsignsignature_sign_v1_response import EzsignsignatureSignV1Response +from eZmaxApi.models.ezsignsignature_sign_v1_response_m_payload import EzsignsignatureSignV1ResponseMPayload from eZmaxApi.models.ezsignsignatureattachment_response import EzsignsignatureattachmentResponse from eZmaxApi.models.ezsignsignaturecustomdate_request import EzsignsignaturecustomdateRequest from eZmaxApi.models.ezsignsignaturecustomdate_request_compound import EzsignsignaturecustomdateRequestCompound +from eZmaxApi.models.ezsignsignaturecustomdate_request_compound_v2 import EzsignsignaturecustomdateRequestCompoundV2 +from eZmaxApi.models.ezsignsignaturecustomdate_request_v2 import EzsignsignaturecustomdateRequestV2 from eZmaxApi.models.ezsignsignaturecustomdate_response import EzsignsignaturecustomdateResponse from eZmaxApi.models.ezsignsignaturecustomdate_response_compound import EzsignsignaturecustomdateResponseCompound +from eZmaxApi.models.ezsignsignaturecustomdate_response_compound_v2 import EzsignsignaturecustomdateResponseCompoundV2 +from eZmaxApi.models.ezsignsignaturecustomdate_response_v2 import EzsignsignaturecustomdateResponseV2 from eZmaxApi.models.ezsignsigner_request import EzsignsignerRequest from eZmaxApi.models.ezsignsigner_request_compound import EzsignsignerRequestCompound from eZmaxApi.models.ezsignsigner_request_compound_contact import EzsignsignerRequestCompoundContact @@ -794,35 +969,31 @@ from eZmaxApi.models.ezsigntemplate_copy_v1_request import EzsigntemplateCopyV1Request from eZmaxApi.models.ezsigntemplate_copy_v1_response import EzsigntemplateCopyV1Response from eZmaxApi.models.ezsigntemplate_copy_v1_response_m_payload import EzsigntemplateCopyV1ResponseMPayload -from eZmaxApi.models.ezsigntemplate_create_object_v1_request import EzsigntemplateCreateObjectV1Request -from eZmaxApi.models.ezsigntemplate_create_object_v1_response import EzsigntemplateCreateObjectV1Response -from eZmaxApi.models.ezsigntemplate_create_object_v1_response_m_payload import EzsigntemplateCreateObjectV1ResponseMPayload -from eZmaxApi.models.ezsigntemplate_create_object_v2_request import EzsigntemplateCreateObjectV2Request -from eZmaxApi.models.ezsigntemplate_create_object_v2_response import EzsigntemplateCreateObjectV2Response -from eZmaxApi.models.ezsigntemplate_create_object_v2_response_m_payload import EzsigntemplateCreateObjectV2ResponseMPayload +from eZmaxApi.models.ezsigntemplate_create_object_v3_request import EzsigntemplateCreateObjectV3Request +from eZmaxApi.models.ezsigntemplate_create_object_v3_response import EzsigntemplateCreateObjectV3Response +from eZmaxApi.models.ezsigntemplate_create_object_v3_response_m_payload import EzsigntemplateCreateObjectV3ResponseMPayload from eZmaxApi.models.ezsigntemplate_delete_object_v1_response import EzsigntemplateDeleteObjectV1Response -from eZmaxApi.models.ezsigntemplate_edit_object_v1_request import EzsigntemplateEditObjectV1Request -from eZmaxApi.models.ezsigntemplate_edit_object_v1_response import EzsigntemplateEditObjectV1Response -from eZmaxApi.models.ezsigntemplate_edit_object_v2_request import EzsigntemplateEditObjectV2Request -from eZmaxApi.models.ezsigntemplate_edit_object_v2_response import EzsigntemplateEditObjectV2Response +from eZmaxApi.models.ezsigntemplate_edit_object_v3_request import EzsigntemplateEditObjectV3Request +from eZmaxApi.models.ezsigntemplate_edit_object_v3_response import EzsigntemplateEditObjectV3Response from eZmaxApi.models.ezsigntemplate_get_autocomplete_v2_response import EzsigntemplateGetAutocompleteV2Response from eZmaxApi.models.ezsigntemplate_get_autocomplete_v2_response_m_payload import EzsigntemplateGetAutocompleteV2ResponseMPayload from eZmaxApi.models.ezsigntemplate_get_list_v1_response import EzsigntemplateGetListV1Response from eZmaxApi.models.ezsigntemplate_get_list_v1_response_m_payload import EzsigntemplateGetListV1ResponseMPayload -from eZmaxApi.models.ezsigntemplate_get_object_v1_response import EzsigntemplateGetObjectV1Response -from eZmaxApi.models.ezsigntemplate_get_object_v1_response_m_payload import EzsigntemplateGetObjectV1ResponseMPayload -from eZmaxApi.models.ezsigntemplate_get_object_v2_response import EzsigntemplateGetObjectV2Response -from eZmaxApi.models.ezsigntemplate_get_object_v2_response_m_payload import EzsigntemplateGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsigntemplate_get_object_v3_response import EzsigntemplateGetObjectV3Response +from eZmaxApi.models.ezsigntemplate_get_object_v3_response_m_payload import EzsigntemplateGetObjectV3ResponseMPayload from eZmaxApi.models.ezsigntemplate_list_element import EzsigntemplateListElement -from eZmaxApi.models.ezsigntemplate_request import EzsigntemplateRequest -from eZmaxApi.models.ezsigntemplate_request_compound import EzsigntemplateRequestCompound -from eZmaxApi.models.ezsigntemplate_request_compound_v2 import EzsigntemplateRequestCompoundV2 -from eZmaxApi.models.ezsigntemplate_request_v2 import EzsigntemplateRequestV2 +from eZmaxApi.models.ezsigntemplate_request_compound_v3 import EzsigntemplateRequestCompoundV3 +from eZmaxApi.models.ezsigntemplate_request_v3 import EzsigntemplateRequestV3 from eZmaxApi.models.ezsigntemplate_response import EzsigntemplateResponse from eZmaxApi.models.ezsigntemplate_response_compound import EzsigntemplateResponseCompound +from eZmaxApi.models.ezsigntemplate_response_compound_v3 import EzsigntemplateResponseCompoundV3 +from eZmaxApi.models.ezsigntemplate_response_v3 import EzsigntemplateResponseV3 from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_request import EzsigntemplatedocumentCreateObjectV1Request from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_response import EzsigntemplatedocumentCreateObjectV1Response from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_response_m_payload import EzsigntemplatedocumentCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request import EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response import EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload @@ -831,7 +1002,12 @@ from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload from eZmaxApi.models.ezsigntemplatedocument_edit_object_v1_request import EzsigntemplatedocumentEditObjectV1Request from eZmaxApi.models.ezsigntemplatedocument_edit_object_v1_response import EzsigntemplatedocumentEditObjectV1Response +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_request import EzsigntemplatedocumentExtractTextV1Request +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response import EzsigntemplatedocumentExtractTextV1Response +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response_m_payload import EzsigntemplatedocumentExtractTextV1ResponseMPayload from eZmaxApi.models.ezsigntemplatedocument_flatten_v1_response import EzsigntemplatedocumentFlattenV1Response +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response import EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response @@ -851,6 +1027,18 @@ from eZmaxApi.models.ezsigntemplatedocument_response_compound import EzsigntemplatedocumentResponseCompound from eZmaxApi.models.ezsigntemplatedocumentpage_response import EzsigntemplatedocumentpageResponse from eZmaxApi.models.ezsigntemplatedocumentpage_response_compound import EzsigntemplatedocumentpageResponseCompound +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_request import EzsigntemplatedocumentpagerecognitionCreateObjectV1Request +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response import EzsigntemplatedocumentpagerecognitionCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload import EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_delete_object_v1_response import EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_request import EzsigntemplatedocumentpagerecognitionEditObjectV1Request +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_response import EzsigntemplatedocumentpagerecognitionEditObjectV1Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response import EzsigntemplatedocumentpagerecognitionGetObjectV2Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload import EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request import EzsigntemplatedocumentpagerecognitionRequest +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound import EzsigntemplatedocumentpagerecognitionRequestCompound +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response import EzsigntemplatedocumentpagerecognitionResponse +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound import EzsigntemplatedocumentpagerecognitionResponseCompound from eZmaxApi.models.ezsigntemplateelementdependency_request import EzsigntemplateelementdependencyRequest from eZmaxApi.models.ezsigntemplateelementdependency_request_compound import EzsigntemplateelementdependencyRequestCompound from eZmaxApi.models.ezsigntemplateelementdependency_response import EzsigntemplateelementdependencyResponse @@ -940,22 +1128,54 @@ from eZmaxApi.models.ezsigntemplatepackagesignermembership_request_compound import EzsigntemplatepackagesignermembershipRequestCompound from eZmaxApi.models.ezsigntemplatepackagesignermembership_response import EzsigntemplatepackagesignermembershipResponse from eZmaxApi.models.ezsigntemplatepackagesignermembership_response_compound import EzsigntemplatepackagesignermembershipResponseCompound -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_request import EzsigntemplatesignatureCreateObjectV1Request -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response import EzsigntemplatesignatureCreateObjectV1Response -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response_m_payload import EzsigntemplatesignatureCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_request import EzsigntemplatepublicCreateEzsignfolderV1Request +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response import EzsigntemplatepublicCreateEzsignfolderV1Response +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload import EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_request import EzsigntemplatepublicCreateObjectV1Request +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response import EzsigntemplatepublicCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response_m_payload import EzsigntemplatepublicCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_request import EzsigntemplatepublicEditObjectV1Request +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_response import EzsigntemplatepublicEditObjectV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response import EzsigntemplatepublicGetFormsDataV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response_m_payload import EzsigntemplatepublicGetFormsDataV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response import EzsigntemplatepublicGetListV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload import EzsigntemplatepublicGetListV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response import EzsigntemplatepublicGetObjectV2Response +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response_m_payload import EzsigntemplatepublicGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_list_element import EzsigntemplatepublicListElement +from eZmaxApi.models.ezsigntemplatepublic_request import EzsigntemplatepublicRequest +from eZmaxApi.models.ezsigntemplatepublic_request_compound import EzsigntemplatepublicRequestCompound +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response import EzsigntemplatepublicResetLimitExceededCounterV1Response +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload import EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response import EzsigntemplatepublicResetUrlV1Response +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response_m_payload import EzsigntemplatepublicResetUrlV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_response import EzsigntemplatepublicResponse +from eZmaxApi.models.ezsigntemplatepublic_response_compound import EzsigntemplatepublicResponseCompound +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_request import EzsigntemplatesignatureCreateObjectV2Request +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response import EzsigntemplatesignatureCreateObjectV2Response +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response_m_payload import EzsigntemplatesignatureCreateObjectV2ResponseMPayload from eZmaxApi.models.ezsigntemplatesignature_delete_object_v1_response import EzsigntemplatesignatureDeleteObjectV1Response -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_request import EzsigntemplatesignatureEditObjectV1Request -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_response import EzsigntemplatesignatureEditObjectV1Response -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response import EzsigntemplatesignatureGetObjectV2Response -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response_m_payload import EzsigntemplatesignatureGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_request import EzsigntemplatesignatureEditObjectV2Request +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_response import EzsigntemplatesignatureEditObjectV2Response +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response import EzsigntemplatesignatureGetObjectV3Response +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response_m_payload import EzsigntemplatesignatureGetObjectV3ResponseMPayload from eZmaxApi.models.ezsigntemplatesignature_request import EzsigntemplatesignatureRequest from eZmaxApi.models.ezsigntemplatesignature_request_compound import EzsigntemplatesignatureRequestCompound +from eZmaxApi.models.ezsigntemplatesignature_request_compound_v2 import EzsigntemplatesignatureRequestCompoundV2 from eZmaxApi.models.ezsigntemplatesignature_response import EzsigntemplatesignatureResponse from eZmaxApi.models.ezsigntemplatesignature_response_compound import EzsigntemplatesignatureResponseCompound +from eZmaxApi.models.ezsigntemplatesignature_response_compound_v3 import EzsigntemplatesignatureResponseCompoundV3 from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request import EzsigntemplatesignaturecustomdateRequest from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound import EzsigntemplatesignaturecustomdateRequestCompound +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound_v2 import EzsigntemplatesignaturecustomdateRequestCompoundV2 +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_v2 import EzsigntemplatesignaturecustomdateRequestV2 from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response import EzsigntemplatesignaturecustomdateResponse from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound import EzsigntemplatesignaturecustomdateResponseCompound +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound_v2 import EzsigntemplatesignaturecustomdateResponseCompoundV2 +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_v2 import EzsigntemplatesignaturecustomdateResponseV2 from eZmaxApi.models.ezsigntemplatesigner_create_object_v1_request import EzsigntemplatesignerCreateObjectV1Request from eZmaxApi.models.ezsigntemplatesigner_create_object_v1_response import EzsigntemplatesignerCreateObjectV1Response from eZmaxApi.models.ezsigntemplatesigner_create_object_v1_response_m_payload import EzsigntemplatesignerCreateObjectV1ResponseMPayload @@ -971,7 +1191,19 @@ from eZmaxApi.models.ezsigntsarequirement_autocomplete_element_response import EzsigntsarequirementAutocompleteElementResponse from eZmaxApi.models.ezsigntsarequirement_get_autocomplete_v2_response import EzsigntsarequirementGetAutocompleteV2Response from eZmaxApi.models.ezsigntsarequirement_get_autocomplete_v2_response_m_payload import EzsigntsarequirementGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.ezsignuser_edit_object_v1_request import EzsignuserEditObjectV1Request +from eZmaxApi.models.ezsignuser_edit_object_v1_response import EzsignuserEditObjectV1Response +from eZmaxApi.models.ezsignuser_get_object_v2_response import EzsignuserGetObjectV2Response +from eZmaxApi.models.ezsignuser_get_object_v2_response_m_payload import EzsignuserGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsignuser_request import EzsignuserRequest +from eZmaxApi.models.ezsignuser_request_compound import EzsignuserRequestCompound +from eZmaxApi.models.ezsignuser_response import EzsignuserResponse +from eZmaxApi.models.ezsignuser_response_compound import EzsignuserResponseCompound +from eZmaxApi.models.field_e_activesession_ezsign import FieldEActivesessionEzsign +from eZmaxApi.models.field_e_activesession_ezsignaccess import FieldEActivesessionEzsignaccess +from eZmaxApi.models.field_e_activesession_ezsignprepaid import FieldEActivesessionEzsignprepaid from eZmaxApi.models.field_e_activesession_origin import FieldEActivesessionOrigin +from eZmaxApi.models.field_e_activesession_realestateinprogress import FieldEActivesessionRealestateinprogress from eZmaxApi.models.field_e_activesession_usertype import FieldEActivesessionUsertype from eZmaxApi.models.field_e_activesession_weekdaystart import FieldEActivesessionWeekdaystart from eZmaxApi.models.field_e_attachment_documenttype import FieldEAttachmentDocumenttype @@ -979,15 +1211,25 @@ from eZmaxApi.models.field_e_attachment_type import FieldEAttachmentType from eZmaxApi.models.field_e_attachment_verified import FieldEAttachmentVerified from eZmaxApi.models.field_e_attachmentlog_type import FieldEAttachmentlogType +from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType +from eZmaxApi.models.field_e_branding_alignlogo import FieldEBrandingAlignlogo from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo -from eZmaxApi.models.field_e_branding_logointerface import FieldEBrandingLogointerface +from eZmaxApi.models.field_e_colleague_ezsign import FieldEColleagueEzsign +from eZmaxApi.models.field_e_colleague_realestateinprogess import FieldEColleagueRealestateinprogess from eZmaxApi.models.field_e_communication_importance import FieldECommunicationImportance from eZmaxApi.models.field_e_communication_type import FieldECommunicationType from eZmaxApi.models.field_e_communicationexternalrecipient_type import FieldECommunicationexternalrecipientType from eZmaxApi.models.field_e_communicationrecipient_type import FieldECommunicationrecipientType +from eZmaxApi.models.field_e_contact_type import FieldEContactType +from eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType +from eZmaxApi.models.field_e_creditcardtransaction_avsresult import FieldECreditcardtransactionAvsresult +from eZmaxApi.models.field_e_creditcardtransaction_cvdresult import FieldECreditcardtransactionCvdresult from eZmaxApi.models.field_e_creditcardtype_codename import FieldECreditcardtypeCodename +from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence +from eZmaxApi.models.field_e_customer_type import FieldECustomerType from eZmaxApi.models.field_e_discussionmessage_status import FieldEDiscussionmessageStatus from eZmaxApi.models.field_e_error_code import FieldEErrorCode +from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel from eZmaxApi.models.field_e_ezmaxinvoicing_paymenttype import FieldEEzmaxinvoicingPaymenttype from eZmaxApi.models.field_e_ezmaxinvoicingagent_variationezmax import FieldEEzmaxinvoicingagentVariationezmax from eZmaxApi.models.field_e_ezmaxinvoicingagent_variationezsign import FieldEEzmaxinvoicingagentVariationezsign @@ -999,22 +1241,32 @@ from eZmaxApi.models.field_e_ezsignelementdependency_operator import FieldEEzsignelementdependencyOperator from eZmaxApi.models.field_e_ezsignelementdependency_validation import FieldEEzsignelementdependencyValidation from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion +from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency +from eZmaxApi.models.field_e_ezsignfolder_messageorder import FieldEEzsignfolderMessageorder from eZmaxApi.models.field_e_ezsignfolder_sendreminderfrequency import FieldEEzsignfolderSendreminderfrequency from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal +from eZmaxApi.models.field_e_ezsignfoldertype_documentdependency import FieldEEzsignfoldertypeDocumentdependency +from eZmaxApi.models.field_e_ezsignfoldertype_pdfanoncompliantaction import FieldEEzsignfoldertypePdfanoncompliantaction +from eZmaxApi.models.field_e_ezsignfoldertype_pdfarequirement import FieldEEzsignfoldertypePdfarequirement from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel from eZmaxApi.models.field_e_ezsignfoldertype_sendreminderfrequency import FieldEEzsignfoldertypeSendreminderfrequency +from eZmaxApi.models.field_e_ezsignfoldertype_signeraccess import FieldEEzsignfoldertypeSigneraccess from eZmaxApi.models.field_e_ezsignformfield_dependencyrequirement import FieldEEzsignformfieldDependencyrequirement from eZmaxApi.models.field_e_ezsignformfieldgroup_signerrequirement import FieldEEzsignformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsignformfieldgroup_tooltipposition import FieldEEzsignformfieldgroupTooltipposition from eZmaxApi.models.field_e_ezsignformfieldgroup_type import FieldEEzsignformfieldgroupType from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement from eZmaxApi.models.field_e_ezsignsignature_font import FieldEEzsignsignatureFont from eZmaxApi.models.field_e_ezsignsignature_tooltipposition import FieldEEzsignsignatureTooltipposition from eZmaxApi.models.field_e_ezsignsignature_type import FieldEEzsignsignatureType +from eZmaxApi.models.field_e_ezsigntemplate_recognition import FieldEEzsigntemplateRecognition from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection from eZmaxApi.models.field_e_ezsigntemplateelementdependency_operator import FieldEEzsigntemplateelementdependencyOperator from eZmaxApi.models.field_e_ezsigntemplateelementdependency_validation import FieldEEzsigntemplateelementdependencyValidation from eZmaxApi.models.field_e_ezsigntemplateformfield_dependencyrequirement import FieldEEzsigntemplateformfieldDependencyrequirement @@ -1025,17 +1277,22 @@ from eZmaxApi.models.field_e_ezsigntemplateformfieldgroup_type import FieldEEzsigntemplateformfieldgroupType from eZmaxApi.models.field_e_ezsigntemplateglobal_module import FieldEEzsigntemplateglobalModule from eZmaxApi.models.field_e_ezsigntemplateglobal_supplier import FieldEEzsigntemplateglobalSupplier +from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping +from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplatesignature_font import FieldEEzsigntemplatesignatureFont from eZmaxApi.models.field_e_ezsigntemplatesignature_positioning import FieldEEzsigntemplatesignaturePositioning from eZmaxApi.models.field_e_ezsigntemplatesignature_positioningoccurence import FieldEEzsigntemplatesignaturePositioningoccurence from eZmaxApi.models.field_e_ezsigntemplatesignature_tooltipposition import FieldEEzsigntemplatesignatureTooltipposition from eZmaxApi.models.field_e_ezsigntemplatesignature_type import FieldEEzsigntemplatesignatureType +from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping from eZmaxApi.models.field_e_notificationpreference_status import FieldENotificationpreferenceStatus from eZmaxApi.models.field_e_paymentterm_type import FieldEPaymenttermType from eZmaxApi.models.field_e_phone_type import FieldEPhoneType from eZmaxApi.models.field_e_sessionhistory_endby import FieldESessionhistoryEndby +from eZmaxApi.models.field_e_signature_preference import FieldESignaturePreference from eZmaxApi.models.field_e_systemconfiguration_ezsign import FieldESystemconfigurationEzsign from eZmaxApi.models.field_e_systemconfiguration_ezsignofficeplan import FieldESystemconfigurationEzsignofficeplan from eZmaxApi.models.field_e_systemconfiguration_language1 import FieldESystemconfigurationLanguage1 @@ -1068,24 +1325,52 @@ from eZmaxApi.models.franchisereferalincome_create_object_v2_response_m_payload import FranchisereferalincomeCreateObjectV2ResponseMPayload from eZmaxApi.models.franchisereferalincome_request import FranchisereferalincomeRequest from eZmaxApi.models.franchisereferalincome_request_compound import FranchisereferalincomeRequestCompound +from eZmaxApi.models.glaccount_autocomplete_element_response import GlaccountAutocompleteElementResponse +from eZmaxApi.models.glaccount_get_autocomplete_v2_response import GlaccountGetAutocompleteV2Response +from eZmaxApi.models.glaccount_get_autocomplete_v2_response_m_payload import GlaccountGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.glaccountcontainer_autocomplete_element_response import GlaccountcontainerAutocompleteElementResponse +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response import GlaccountcontainerGetAutocompleteV2Response +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response_m_payload import GlaccountcontainerGetAutocompleteV2ResponseMPayload from eZmaxApi.models.global_customer_get_endpoint_v1_response import GlobalCustomerGetEndpointV1Response from eZmaxApi.models.global_ezmaxclient_version_v1_response import GlobalEzmaxclientVersionV1Response from eZmaxApi.models.global_ezmaxcustomer_get_configuration_v1_response import GlobalEzmaxcustomerGetConfigurationV1Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.models.inscription_get_attachments_v1_response import InscriptionGetAttachmentsV1Response from eZmaxApi.models.inscription_get_attachments_v1_response_m_payload import InscriptionGetAttachmentsV1ResponseMPayload +from eZmaxApi.models.inscription_get_communication_count_v1_response import InscriptionGetCommunicationCountV1Response +from eZmaxApi.models.inscription_get_communication_count_v1_response_m_payload import InscriptionGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.inscription_get_communication_list_v1_response import InscriptionGetCommunicationListV1Response from eZmaxApi.models.inscription_get_communication_list_v1_response_m_payload import InscriptionGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response import InscriptionGetCommunicationrecipientsV1Response +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response_m_payload import InscriptionGetCommunicationrecipientsV1ResponseMPayload from eZmaxApi.models.inscription_get_communicationsenders_v1_response import InscriptionGetCommunicationsendersV1Response from eZmaxApi.models.inscription_get_communicationsenders_v1_response_m_payload import InscriptionGetCommunicationsendersV1ResponseMPayload +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response import InscriptionnotauthenticatedGetCommunicationCountV1Response +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response import InscriptionnotauthenticatedGetCommunicationListV1Response from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response import InscriptionnotauthenticatedGetCommunicationrecipientsV1Response +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response import InscriptionnotauthenticatedGetCommunicationsendersV1Response +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response import InscriptiontempGetCommunicationCountV1Response +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response_m_payload import InscriptiontempGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response import InscriptiontempGetCommunicationListV1Response from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response_m_payload import InscriptiontempGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response import InscriptiontempGetCommunicationrecipientsV1Response +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response_m_payload import InscriptiontempGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response import InscriptiontempGetCommunicationsendersV1Response +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response_m_payload import InscriptiontempGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.invoice_get_attachments_v1_response import InvoiceGetAttachmentsV1Response from eZmaxApi.models.invoice_get_attachments_v1_response_m_payload import InvoiceGetAttachmentsV1ResponseMPayload +from eZmaxApi.models.invoice_get_communication_count_v1_response import InvoiceGetCommunicationCountV1Response +from eZmaxApi.models.invoice_get_communication_count_v1_response_m_payload import InvoiceGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.invoice_get_communication_list_v1_response import InvoiceGetCommunicationListV1Response from eZmaxApi.models.invoice_get_communication_list_v1_response_m_payload import InvoiceGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response import InvoiceGetCommunicationrecipientsV1Response +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response_m_payload import InvoiceGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.invoice_get_communicationsenders_v1_response import InvoiceGetCommunicationsendersV1Response +from eZmaxApi.models.invoice_get_communicationsenders_v1_response_m_payload import InvoiceGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.language_autocomplete_element_response import LanguageAutocompleteElementResponse from eZmaxApi.models.language_get_autocomplete_v2_response import LanguageGetAutocompleteV2Response from eZmaxApi.models.language_get_autocomplete_v2_response_m_payload import LanguageGetAutocompleteV2ResponseMPayload @@ -1103,6 +1388,7 @@ from eZmaxApi.models.multilingual_apikey_description import MultilingualApikeyDescription from eZmaxApi.models.multilingual_billingentityinternal_description import MultilingualBillingentityinternalDescription from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription +from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName from eZmaxApi.models.multilingual_ezmaxinvoicingsummaryinternal_description import MultilingualEzmaxinvoicingsummaryinternalDescription from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName from eZmaxApi.models.multilingual_ezsignsignergroup_description import MultilingualEzsignsignergroupDescription @@ -1111,6 +1397,7 @@ from eZmaxApi.models.multilingual_notificationtest_name import MultilingualNotificationtestName from eZmaxApi.models.multilingual_paymentterm_description import MultilingualPaymenttermDescription from eZmaxApi.models.multilingual_subnet_description import MultilingualSubnetDescription +from eZmaxApi.models.multilingual_supply_description import MultilingualSupplyDescription from eZmaxApi.models.multilingual_usergroup_name import MultilingualUsergroupName from eZmaxApi.models.multilingual_userlogintype_description import MultilingualUserlogintypeDescription from eZmaxApi.models.multilingual_variableexpense_description import MultilingualVariableexpenseDescription @@ -1121,8 +1408,14 @@ from eZmaxApi.models.notificationtest_get_elements_v1_response import NotificationtestGetElementsV1Response from eZmaxApi.models.notificationtest_get_elements_v1_response_m_payload import NotificationtestGetElementsV1ResponseMPayload from eZmaxApi.models.notificationtest_response import NotificationtestResponse +from eZmaxApi.models.otherincome_get_communication_count_v1_response import OtherincomeGetCommunicationCountV1Response +from eZmaxApi.models.otherincome_get_communication_count_v1_response_m_payload import OtherincomeGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.otherincome_get_communication_list_v1_response import OtherincomeGetCommunicationListV1Response from eZmaxApi.models.otherincome_get_communication_list_v1_response_m_payload import OtherincomeGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response import OtherincomeGetCommunicationrecipientsV1Response +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response_m_payload import OtherincomeGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response import OtherincomeGetCommunicationsendersV1Response +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response_m_payload import OtherincomeGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.paymentterm_autocomplete_element_response import PaymenttermAutocompleteElementResponse from eZmaxApi.models.paymentterm_create_object_v1_request import PaymenttermCreateObjectV1Request from eZmaxApi.models.paymentterm_create_object_v1_response import PaymenttermCreateObjectV1Response @@ -1140,6 +1433,9 @@ from eZmaxApi.models.paymentterm_request_compound import PaymenttermRequestCompound from eZmaxApi.models.paymentterm_response import PaymenttermResponse from eZmaxApi.models.paymentterm_response_compound import PaymenttermResponseCompound +from eZmaxApi.models.pdfalevel_autocomplete_element_response import PdfalevelAutocompleteElementResponse +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response import PdfalevelGetAutocompleteV2Response +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response_m_payload import PdfalevelGetAutocompleteV2ResponseMPayload from eZmaxApi.models.period_autocomplete_element_response import PeriodAutocompleteElementResponse from eZmaxApi.models.period_get_autocomplete_v2_response import PeriodGetAutocompleteV2Response from eZmaxApi.models.period_get_autocomplete_v2_response_m_payload import PeriodGetAutocompleteV2ResponseMPayload @@ -1167,8 +1463,14 @@ from eZmaxApi.models.province_autocomplete_element_response import ProvinceAutocompleteElementResponse from eZmaxApi.models.province_get_autocomplete_v2_response import ProvinceGetAutocompleteV2Response from eZmaxApi.models.province_get_autocomplete_v2_response_m_payload import ProvinceGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response import RejectedoffertopurchaseGetCommunicationCountV1Response +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response import RejectedoffertopurchaseGetCommunicationListV1Response from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response import RejectedoffertopurchaseGetCommunicationrecipientsV1Response +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response import RejectedoffertopurchaseGetCommunicationsendersV1Response +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.scim_authentication_scheme import ScimAuthenticationScheme from eZmaxApi.models.scim_email import ScimEmail from eZmaxApi.models.scim_group import ScimGroup @@ -1196,10 +1498,14 @@ from eZmaxApi.models.signature_edit_object_v1_response import SignatureEditObjectV1Response from eZmaxApi.models.signature_get_object_v2_response import SignatureGetObjectV2Response from eZmaxApi.models.signature_get_object_v2_response_m_payload import SignatureGetObjectV2ResponseMPayload +from eZmaxApi.models.signature_get_object_v3_response import SignatureGetObjectV3Response +from eZmaxApi.models.signature_get_object_v3_response_m_payload import SignatureGetObjectV3ResponseMPayload from eZmaxApi.models.signature_request import SignatureRequest from eZmaxApi.models.signature_request_compound import SignatureRequestCompound from eZmaxApi.models.signature_response import SignatureResponse from eZmaxApi.models.signature_response_compound import SignatureResponseCompound +from eZmaxApi.models.signature_response_compound_v3 import SignatureResponseCompoundV3 +from eZmaxApi.models.signature_response_v3 import SignatureResponseV3 from eZmaxApi.models.subnet_create_object_v1_request import SubnetCreateObjectV1Request from eZmaxApi.models.subnet_create_object_v1_response import SubnetCreateObjectV1Response from eZmaxApi.models.subnet_create_object_v1_response_m_payload import SubnetCreateObjectV1ResponseMPayload @@ -1212,6 +1518,24 @@ from eZmaxApi.models.subnet_request_compound import SubnetRequestCompound from eZmaxApi.models.subnet_response import SubnetResponse from eZmaxApi.models.subnet_response_compound import SubnetResponseCompound +from eZmaxApi.models.supply_autocomplete_element_response import SupplyAutocompleteElementResponse +from eZmaxApi.models.supply_create_object_v1_request import SupplyCreateObjectV1Request +from eZmaxApi.models.supply_create_object_v1_response import SupplyCreateObjectV1Response +from eZmaxApi.models.supply_create_object_v1_response_m_payload import SupplyCreateObjectV1ResponseMPayload +from eZmaxApi.models.supply_delete_object_v1_response import SupplyDeleteObjectV1Response +from eZmaxApi.models.supply_edit_object_v1_request import SupplyEditObjectV1Request +from eZmaxApi.models.supply_edit_object_v1_response import SupplyEditObjectV1Response +from eZmaxApi.models.supply_get_autocomplete_v2_response import SupplyGetAutocompleteV2Response +from eZmaxApi.models.supply_get_autocomplete_v2_response_m_payload import SupplyGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.supply_get_list_v1_response import SupplyGetListV1Response +from eZmaxApi.models.supply_get_list_v1_response_m_payload import SupplyGetListV1ResponseMPayload +from eZmaxApi.models.supply_get_object_v2_response import SupplyGetObjectV2Response +from eZmaxApi.models.supply_get_object_v2_response_m_payload import SupplyGetObjectV2ResponseMPayload +from eZmaxApi.models.supply_list_element import SupplyListElement +from eZmaxApi.models.supply_request import SupplyRequest +from eZmaxApi.models.supply_request_compound import SupplyRequestCompound +from eZmaxApi.models.supply_response import SupplyResponse +from eZmaxApi.models.supply_response_compound import SupplyResponseCompound from eZmaxApi.models.systemconfiguration_edit_object_v1_request import SystemconfigurationEditObjectV1Request from eZmaxApi.models.systemconfiguration_edit_object_v1_response import SystemconfigurationEditObjectV1Response from eZmaxApi.models.systemconfiguration_get_object_v2_response import SystemconfigurationGetObjectV2Response @@ -1223,11 +1547,21 @@ from eZmaxApi.models.taxassignment_autocomplete_element_response import TaxassignmentAutocompleteElementResponse from eZmaxApi.models.taxassignment_get_autocomplete_v2_response import TaxassignmentGetAutocompleteV2Response from eZmaxApi.models.taxassignment_get_autocomplete_v2_response_m_payload import TaxassignmentGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.textstylestatic_request import TextstylestaticRequest +from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound from eZmaxApi.models.textstylestatic_response import TextstylestaticResponse from eZmaxApi.models.textstylestatic_response_compound import TextstylestaticResponseCompound from eZmaxApi.models.timezone_autocomplete_element_response import TimezoneAutocompleteElementResponse from eZmaxApi.models.timezone_get_autocomplete_v2_response import TimezoneGetAutocompleteV2Response from eZmaxApi.models.timezone_get_autocomplete_v2_response_m_payload import TimezoneGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response import TranqcontractGetCommunicationCountV1Response +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response_m_payload import TranqcontractGetCommunicationCountV1ResponseMPayload +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response import TranqcontractGetCommunicationListV1Response +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload import TranqcontractGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response import TranqcontractGetCommunicationrecipientsV1Response +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response_m_payload import TranqcontractGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response import TranqcontractGetCommunicationsendersV1Response +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response_m_payload import TranqcontractGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.user_autocomplete_element_response import UserAutocompleteElementResponse from eZmaxApi.models.user_create_ezsignuser_v1_request import UserCreateEzsignuserV1Request from eZmaxApi.models.user_create_ezsignuser_v1_response import UserCreateEzsignuserV1Response @@ -1238,6 +1572,9 @@ from eZmaxApi.models.user_create_object_v2_request import UserCreateObjectV2Request from eZmaxApi.models.user_create_object_v2_response import UserCreateObjectV2Response from eZmaxApi.models.user_create_object_v2_response_m_payload import UserCreateObjectV2ResponseMPayload +from eZmaxApi.models.user_edit_colleagues_v2_request import UserEditColleaguesV2Request +from eZmaxApi.models.user_edit_colleagues_v2_response import UserEditColleaguesV2Response +from eZmaxApi.models.user_edit_colleagues_v2_response_m_payload import UserEditColleaguesV2ResponseMPayload from eZmaxApi.models.user_edit_object_v1_request import UserEditObjectV1Request from eZmaxApi.models.user_edit_object_v1_response import UserEditObjectV1Response from eZmaxApi.models.user_edit_permissions_v1_request import UserEditPermissionsV1Request @@ -1247,6 +1584,8 @@ from eZmaxApi.models.user_get_apikeys_v1_response_m_payload import UserGetApikeysV1ResponseMPayload from eZmaxApi.models.user_get_autocomplete_v2_response import UserGetAutocompleteV2Response from eZmaxApi.models.user_get_autocomplete_v2_response_m_payload import UserGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.user_get_colleagues_v2_response import UserGetColleaguesV2Response +from eZmaxApi.models.user_get_colleagues_v2_response_m_payload import UserGetColleaguesV2ResponseMPayload from eZmaxApi.models.user_get_effective_permissions_v1_response import UserGetEffectivePermissionsV1Response from eZmaxApi.models.user_get_effective_permissions_v1_response_m_payload import UserGetEffectivePermissionsV1ResponseMPayload from eZmaxApi.models.user_get_list_v1_response import UserGetListV1Response @@ -1416,6 +1755,8 @@ from eZmaxApi.models.webhook_request_compound import WebhookRequestCompound from eZmaxApi.models.webhook_response import WebhookResponse from eZmaxApi.models.webhook_response_compound import WebhookResponseCompound +from eZmaxApi.models.webhook_send_webhook_v1_request import WebhookSendWebhookV1Request +from eZmaxApi.models.webhook_send_webhook_v1_response import WebhookSendWebhookV1Response from eZmaxApi.models.webhook_test_v1_response import WebhookTestV1Response from eZmaxApi.models.webhook_user_user_created import WebhookUserUserCreated from eZmaxApi.models.webhook_userstaged_userstaged_created import WebhookUserstagedUserstagedCreated @@ -1425,6 +1766,8 @@ from eZmaxApi.models.webhookheader_response_compound import WebhookheaderResponseCompound from eZmaxApi.models.website_request import WebsiteRequest from eZmaxApi.models.website_request_compound import WebsiteRequestCompound +from eZmaxApi.models.website_response import WebsiteResponse +from eZmaxApi.models.website_response_compound import WebsiteResponseCompound from eZmaxApi.models.websocket_request_server_get_websocket_idv1 import WebsocketRequestServerGetWebsocketIDV1 from eZmaxApi.models.websocket_response_error_v1 import WebsocketResponseErrorV1 from eZmaxApi.models.websocket_response_error_v1_m_payload import WebsocketResponseErrorV1MPayload diff --git a/eZmaxApi/api/__init__.py b/eZmaxApi/api/__init__.py index 5275ec725..4d1059a56 100644 --- a/eZmaxApi/api/__init__.py +++ b/eZmaxApi/api/__init__.py @@ -4,12 +4,12 @@ from eZmaxApi.api.global_customer_api import GlobalCustomerApi from eZmaxApi.api.global_ezmaxclient_api import GlobalEzmaxclientApi from eZmaxApi.api.global_ezmaxcustomer_api import GlobalEzmaxcustomerApi -from eZmaxApi.api.module_ezsign_api import ModuleEzsignApi from eZmaxApi.api.module_report_api import ModuleReportApi from eZmaxApi.api.module_user_api import ModuleUserApi from eZmaxApi.api.object_activesession_api import ObjectActivesessionApi from eZmaxApi.api.object_apikey_api import ObjectApikeyApi from eZmaxApi.api.object_attachment_api import ObjectAttachmentApi +from eZmaxApi.api.object_authenticationexternal_api import ObjectAuthenticationexternalApi from eZmaxApi.api.object_billingentityexternal_api import ObjectBillingentityexternalApi from eZmaxApi.api.object_billingentityinternal_api import ObjectBillingentityinternalApi from eZmaxApi.api.object_branding_api import ObjectBrandingApi @@ -17,18 +17,25 @@ from eZmaxApi.api.object_clonehistory_api import ObjectClonehistoryApi from eZmaxApi.api.object_communication_api import ObjectCommunicationApi from eZmaxApi.api.object_company_api import ObjectCompanyApi +from eZmaxApi.api.object_contacttitle_api import ObjectContacttitleApi from eZmaxApi.api.object_cors_api import ObjectCorsApi from eZmaxApi.api.object_country_api import ObjectCountryApi from eZmaxApi.api.object_creditcardclient_api import ObjectCreditcardclientApi from eZmaxApi.api.object_creditcardtype_api import ObjectCreditcardtypeApi +from eZmaxApi.api.object_customer_api import ObjectCustomerApi from eZmaxApi.api.object_department_api import ObjectDepartmentApi from eZmaxApi.api.object_discussion_api import ObjectDiscussionApi from eZmaxApi.api.object_discussionmembership_api import ObjectDiscussionmembershipApi from eZmaxApi.api.object_discussionmessage_api import ObjectDiscussionmessageApi +from eZmaxApi.api.object_domain_api import ObjectDomainApi from eZmaxApi.api.object_electronicfundstransfer_api import ObjectElectronicfundstransferApi from eZmaxApi.api.object_emailtype_api import ObjectEmailtypeApi +from eZmaxApi.api.object_ezdoctemplatedocument_api import ObjectEzdoctemplatedocumentApi +from eZmaxApi.api.object_ezdoctemplatefieldtypecategory_api import ObjectEzdoctemplatefieldtypecategoryApi +from eZmaxApi.api.object_ezdoctemplatetype_api import ObjectEzdoctemplatetypeApi from eZmaxApi.api.object_ezmaxinvoicing_api import ObjectEzmaxinvoicingApi from eZmaxApi.api.object_ezmaxproduct_api import ObjectEzmaxproductApi +from eZmaxApi.api.object_ezsignannotation_api import ObjectEzsignannotationApi from eZmaxApi.api.object_ezsignbulksend_api import ObjectEzsignbulksendApi from eZmaxApi.api.object_ezsignbulksenddocumentmapping_api import ObjectEzsignbulksenddocumentmappingApi from eZmaxApi.api.object_ezsignbulksendsignermapping_api import ObjectEzsignbulksendsignermappingApi @@ -46,19 +53,24 @@ from eZmaxApi.api.object_ezsignsigningreason_api import ObjectEzsignsigningreasonApi from eZmaxApi.api.object_ezsigntemplate_api import ObjectEzsigntemplateApi from eZmaxApi.api.object_ezsigntemplatedocument_api import ObjectEzsigntemplatedocumentApi +from eZmaxApi.api.object_ezsigntemplatedocumentpagerecognition_api import ObjectEzsigntemplatedocumentpagerecognitionApi from eZmaxApi.api.object_ezsigntemplateformfieldgroup_api import ObjectEzsigntemplateformfieldgroupApi from eZmaxApi.api.object_ezsigntemplateglobal_api import ObjectEzsigntemplateglobalApi from eZmaxApi.api.object_ezsigntemplatepackage_api import ObjectEzsigntemplatepackageApi from eZmaxApi.api.object_ezsigntemplatepackagemembership_api import ObjectEzsigntemplatepackagemembershipApi from eZmaxApi.api.object_ezsigntemplatepackagesigner_api import ObjectEzsigntemplatepackagesignerApi from eZmaxApi.api.object_ezsigntemplatepackagesignermembership_api import ObjectEzsigntemplatepackagesignermembershipApi +from eZmaxApi.api.object_ezsigntemplatepublic_api import ObjectEzsigntemplatepublicApi from eZmaxApi.api.object_ezsigntemplatesignature_api import ObjectEzsigntemplatesignatureApi from eZmaxApi.api.object_ezsigntemplatesigner_api import ObjectEzsigntemplatesignerApi from eZmaxApi.api.object_ezsigntsarequirement_api import ObjectEzsigntsarequirementApi +from eZmaxApi.api.object_ezsignuser_api import ObjectEzsignuserApi from eZmaxApi.api.object_font_api import ObjectFontApi from eZmaxApi.api.object_franchisebroker_api import ObjectFranchisebrokerApi from eZmaxApi.api.object_franchiseoffice_api import ObjectFranchiseofficeApi from eZmaxApi.api.object_franchisereferalincome_api import ObjectFranchisereferalincomeApi +from eZmaxApi.api.object_glaccount_api import ObjectGlaccountApi +from eZmaxApi.api.object_glaccountcontainer_api import ObjectGlaccountcontainerApi from eZmaxApi.api.object_inscription_api import ObjectInscriptionApi from eZmaxApi.api.object_inscriptionnotauthenticated_api import ObjectInscriptionnotauthenticatedApi from eZmaxApi.api.object_inscriptiontemp_api import ObjectInscriptiontempApi @@ -70,6 +82,7 @@ from eZmaxApi.api.object_notificationtest_api import ObjectNotificationtestApi from eZmaxApi.api.object_otherincome_api import ObjectOtherincomeApi from eZmaxApi.api.object_paymentterm_api import ObjectPaymenttermApi +from eZmaxApi.api.object_pdfalevel_api import ObjectPdfalevelApi from eZmaxApi.api.object_period_api import ObjectPeriodApi from eZmaxApi.api.object_permission_api import ObjectPermissionApi from eZmaxApi.api.object_phonetype_api import ObjectPhonetypeApi @@ -79,9 +92,11 @@ from eZmaxApi.api.object_sessionhistory_api import ObjectSessionhistoryApi from eZmaxApi.api.object_signature_api import ObjectSignatureApi from eZmaxApi.api.object_subnet_api import ObjectSubnetApi +from eZmaxApi.api.object_supply_api import ObjectSupplyApi from eZmaxApi.api.object_systemconfiguration_api import ObjectSystemconfigurationApi from eZmaxApi.api.object_taxassignment_api import ObjectTaxassignmentApi from eZmaxApi.api.object_timezone_api import ObjectTimezoneApi +from eZmaxApi.api.object_tranqcontract_api import ObjectTranqcontractApi from eZmaxApi.api.object_user_api import ObjectUserApi from eZmaxApi.api.object_usergroup_api import ObjectUsergroupApi from eZmaxApi.api.object_usergroupdelegation_api import ObjectUsergroupdelegationApi diff --git a/eZmaxApi/api/global_customer_api.py b/eZmaxApi/api/global_customer_api.py index 3f0f68fdd..b9115d0a3 100644 --- a/eZmaxApi/api/global_customer_api.py +++ b/eZmaxApi/api/global_customer_api.py @@ -274,7 +274,9 @@ def _global_customer_get_endpoint_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -291,11 +293,12 @@ def _global_customer_get_endpoint_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/global_ezmaxclient_api.py b/eZmaxApi/api/global_ezmaxclient_api.py index b3f46b73e..b5c90e2f5 100644 --- a/eZmaxApi/api/global_ezmaxclient_api.py +++ b/eZmaxApi/api/global_ezmaxclient_api.py @@ -256,7 +256,9 @@ def _global_ezmaxclient_version_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -269,11 +271,12 @@ def _global_ezmaxclient_version_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/global_ezmaxcustomer_api.py b/eZmaxApi/api/global_ezmaxcustomer_api.py index 1be67bd5d..fb9a4ecb0 100644 --- a/eZmaxApi/api/global_ezmaxcustomer_api.py +++ b/eZmaxApi/api/global_ezmaxcustomer_api.py @@ -257,7 +257,9 @@ def _global_ezmaxcustomer_get_configuration_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +272,12 @@ def _global_ezmaxcustomer_get_configuration_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/module_ezsign_api.py b/eZmaxApi/api/module_ezsign_api.py deleted file mode 100644 index 0b3d15a91..000000000 --- a/eZmaxApi/api/module_ezsign_api.py +++ /dev/null @@ -1,544 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - -import warnings -from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt -from typing import Any, Dict, List, Optional, Tuple, Union -from typing_extensions import Annotated - -from pydantic import Field -from typing import Optional -from typing_extensions import Annotated -from eZmaxApi.models.ezsign_suggest_signers_v1_response import EzsignSuggestSignersV1Response -from eZmaxApi.models.ezsign_suggest_templates_v1_response import EzsignSuggestTemplatesV1Response - -from eZmaxApi.api_client import ApiClient, RequestSerialized -from eZmaxApi.api_response import ApiResponse -from eZmaxApi.rest import RESTResponseType - - -class ModuleEzsignApi: - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None) -> None: - if api_client is None: - api_client = ApiClient.get_default() - self.api_client = api_client - - - @validate_call - def ezsign_suggest_signers_v1( - self, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignSuggestSignersV1Response: - """Suggest signers - - Retrieve previously used Ezsignsigners and all users from the system - - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._ezsign_suggest_signers_v1_serialize( - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignSuggestSignersV1Response", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ).data - - - @validate_call - def ezsign_suggest_signers_v1_with_http_info( - self, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignSuggestSignersV1Response]: - """Suggest signers - - Retrieve previously used Ezsignsigners and all users from the system - - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._ezsign_suggest_signers_v1_serialize( - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignSuggestSignersV1Response", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ) - - - @validate_call - def ezsign_suggest_signers_v1_without_preload_content( - self, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> RESTResponseType: - """Suggest signers - - Retrieve previously used Ezsignsigners and all users from the system - - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._ezsign_suggest_signers_v1_serialize( - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignSuggestSignersV1Response", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _ezsign_suggest_signers_v1_serialize( - self, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - # process the query parameters - # process the header parameters - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - 'Authorization' - ] - - return self.api_client.param_serialize( - method='GET', - resource_path='/1/module/ezsign/suggestSigners', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def ezsign_suggest_templates_v1( - self, - fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = None, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignSuggestTemplatesV1Response: - """Suggest templates - - Retrieve Ezsigntemplates and Ezsigntemplatepackages that can be imported in a Ezsignfolder - - :param fki_ezsignfoldertype_id: - :type fki_ezsignfoldertype_id: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._ezsign_suggest_templates_v1_serialize( - fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignSuggestTemplatesV1Response", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ).data - - - @validate_call - def ezsign_suggest_templates_v1_with_http_info( - self, - fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = None, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignSuggestTemplatesV1Response]: - """Suggest templates - - Retrieve Ezsigntemplates and Ezsigntemplatepackages that can be imported in a Ezsignfolder - - :param fki_ezsignfoldertype_id: - :type fki_ezsignfoldertype_id: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._ezsign_suggest_templates_v1_serialize( - fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignSuggestTemplatesV1Response", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ) - - - @validate_call - def ezsign_suggest_templates_v1_without_preload_content( - self, - fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = None, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> RESTResponseType: - """Suggest templates - - Retrieve Ezsigntemplates and Ezsigntemplatepackages that can be imported in a Ezsignfolder - - :param fki_ezsignfoldertype_id: - :type fki_ezsignfoldertype_id: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._ezsign_suggest_templates_v1_serialize( - fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignSuggestTemplatesV1Response", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _ezsign_suggest_templates_v1_serialize( - self, - fki_ezsignfoldertype_id, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - # process the query parameters - if fki_ezsignfoldertype_id is not None: - - _query_params.append(('fkiEzsignfoldertypeID', fki_ezsignfoldertype_id)) - - # process the header parameters - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - 'Authorization' - ] - - return self.api_client.param_serialize( - method='GET', - resource_path='/1/module/ezsign/suggestTemplates', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - diff --git a/eZmaxApi/api/module_report_api.py b/eZmaxApi/api/module_report_api.py index e32fa787e..0bd82c051 100644 --- a/eZmaxApi/api/module_report_api.py +++ b/eZmaxApi/api/module_report_api.py @@ -257,7 +257,9 @@ def _report_get_report_from_cache_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,15 +272,16 @@ def _report_get_report_from_cache_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/pdf', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', - 'application/zip', - 'text/html' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/pdf', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'application/zip', + 'text/html' + ] + ) # authentication setting diff --git a/eZmaxApi/api/module_user_api.py b/eZmaxApi/api/module_user_api.py index 57f8f6235..06da578f6 100644 --- a/eZmaxApi/api/module_user_api.py +++ b/eZmaxApi/api/module_user_api.py @@ -255,7 +255,9 @@ def _user_create_ezsignuser_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -268,11 +270,12 @@ def _user_create_ezsignuser_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_activesession_api.py b/eZmaxApi/api/object_activesession_api.py index 80bc8edad..dffe0daf8 100644 --- a/eZmaxApi/api/object_activesession_api.py +++ b/eZmaxApi/api/object_activesession_api.py @@ -20,6 +20,8 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated +from eZmaxApi.models.activesession_generate_federation_token_v1_request import ActivesessionGenerateFederationTokenV1Request +from eZmaxApi.models.activesession_generate_federation_token_v1_response import ActivesessionGenerateFederationTokenV1Response from eZmaxApi.models.activesession_get_current_v1_response import ActivesessionGetCurrentV1Response from eZmaxApi.models.activesession_get_list_v1_response import ActivesessionGetListV1Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage @@ -42,6 +44,283 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def activesession_generate_federation_token_v1( + self, + activesession_generate_federation_token_v1_request: ActivesessionGenerateFederationTokenV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ActivesessionGenerateFederationTokenV1Response: + """Generate a federation token + + + + :param activesession_generate_federation_token_v1_request: (required) + :type activesession_generate_federation_token_v1_request: ActivesessionGenerateFederationTokenV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._activesession_generate_federation_token_v1_serialize( + activesession_generate_federation_token_v1_request=activesession_generate_federation_token_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ActivesessionGenerateFederationTokenV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def activesession_generate_federation_token_v1_with_http_info( + self, + activesession_generate_federation_token_v1_request: ActivesessionGenerateFederationTokenV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ActivesessionGenerateFederationTokenV1Response]: + """Generate a federation token + + + + :param activesession_generate_federation_token_v1_request: (required) + :type activesession_generate_federation_token_v1_request: ActivesessionGenerateFederationTokenV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._activesession_generate_federation_token_v1_serialize( + activesession_generate_federation_token_v1_request=activesession_generate_federation_token_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ActivesessionGenerateFederationTokenV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def activesession_generate_federation_token_v1_without_preload_content( + self, + activesession_generate_federation_token_v1_request: ActivesessionGenerateFederationTokenV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Generate a federation token + + + + :param activesession_generate_federation_token_v1_request: (required) + :type activesession_generate_federation_token_v1_request: ActivesessionGenerateFederationTokenV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._activesession_generate_federation_token_v1_serialize( + activesession_generate_federation_token_v1_request=activesession_generate_federation_token_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ActivesessionGenerateFederationTokenV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _activesession_generate_federation_token_v1_serialize( + self, + activesession_generate_federation_token_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if activesession_generate_federation_token_v1_request is not None: + _body_params = activesession_generate_federation_token_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/activesession/generateFederationToken', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def activesession_get_current_v1( self, @@ -265,7 +544,9 @@ def _activesession_get_current_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -276,11 +557,12 @@ def _activesession_get_current_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -573,7 +855,9 @@ def _activesession_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -602,12 +886,13 @@ def _activesession_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_apikey_api.py b/eZmaxApi/api/object_apikey_api.py index debcd335f..4890c3255 100644 --- a/eZmaxApi/api/object_apikey_api.py +++ b/eZmaxApi/api/object_apikey_api.py @@ -26,6 +26,8 @@ from eZmaxApi.models.apikey_edit_object_v1_response import ApikeyEditObjectV1Response from eZmaxApi.models.apikey_edit_permissions_v1_request import ApikeyEditPermissionsV1Request from eZmaxApi.models.apikey_edit_permissions_v1_response import ApikeyEditPermissionsV1Response +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_request import ApikeyGenerateDelegatedCredentialsV1Request +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response import ApikeyGenerateDelegatedCredentialsV1Response from eZmaxApi.models.apikey_get_cors_v1_response import ApikeyGetCorsV1Response from eZmaxApi.models.apikey_get_list_v1_response import ApikeyGetListV1Response from eZmaxApi.models.apikey_get_object_v2_response import ApikeyGetObjectV2Response @@ -268,7 +270,9 @@ def _apikey_create_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -281,11 +285,12 @@ def _apikey_create_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -558,7 +563,9 @@ def _apikey_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -573,11 +580,12 @@ def _apikey_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -850,7 +858,9 @@ def _apikey_edit_permissions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -865,11 +875,12 @@ def _apikey_edit_permissions_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -908,6 +919,283 @@ def _apikey_edit_permissions_v1_serialize( + @validate_call + def apikey_generate_delegated_credentials_v1( + self, + apikey_generate_delegated_credentials_v1_request: ApikeyGenerateDelegatedCredentialsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApikeyGenerateDelegatedCredentialsV1Response: + """Generate a delegated credentials + + + + :param apikey_generate_delegated_credentials_v1_request: (required) + :type apikey_generate_delegated_credentials_v1_request: ApikeyGenerateDelegatedCredentialsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._apikey_generate_delegated_credentials_v1_serialize( + apikey_generate_delegated_credentials_v1_request=apikey_generate_delegated_credentials_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApikeyGenerateDelegatedCredentialsV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def apikey_generate_delegated_credentials_v1_with_http_info( + self, + apikey_generate_delegated_credentials_v1_request: ApikeyGenerateDelegatedCredentialsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ApikeyGenerateDelegatedCredentialsV1Response]: + """Generate a delegated credentials + + + + :param apikey_generate_delegated_credentials_v1_request: (required) + :type apikey_generate_delegated_credentials_v1_request: ApikeyGenerateDelegatedCredentialsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._apikey_generate_delegated_credentials_v1_serialize( + apikey_generate_delegated_credentials_v1_request=apikey_generate_delegated_credentials_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApikeyGenerateDelegatedCredentialsV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def apikey_generate_delegated_credentials_v1_without_preload_content( + self, + apikey_generate_delegated_credentials_v1_request: ApikeyGenerateDelegatedCredentialsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Generate a delegated credentials + + + + :param apikey_generate_delegated_credentials_v1_request: (required) + :type apikey_generate_delegated_credentials_v1_request: ApikeyGenerateDelegatedCredentialsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._apikey_generate_delegated_credentials_v1_serialize( + apikey_generate_delegated_credentials_v1_request=apikey_generate_delegated_credentials_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApikeyGenerateDelegatedCredentialsV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _apikey_generate_delegated_credentials_v1_serialize( + self, + apikey_generate_delegated_credentials_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if apikey_generate_delegated_credentials_v1_request is not None: + _body_params = apikey_generate_delegated_credentials_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/apikey/generateDelegatedCredentials', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def apikey_get_cors_v1( self, @@ -1123,7 +1411,9 @@ def _apikey_get_cors_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1136,11 +1426,12 @@ def _apikey_get_cors_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1436,7 +1727,9 @@ def _apikey_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1465,12 +1758,13 @@ def _apikey_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1714,7 +2008,9 @@ def _apikey_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1727,11 +2023,12 @@ def _apikey_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1972,7 +2269,9 @@ def _apikey_get_permissions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1985,11 +2284,12 @@ def _apikey_get_permissions_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2230,7 +2530,9 @@ def _apikey_get_subnets_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2243,11 +2545,12 @@ def _apikey_get_subnets_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2504,7 +2807,9 @@ def _apikey_regenerate_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2519,11 +2824,12 @@ def _apikey_regenerate_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_attachment_api.py b/eZmaxApi/api/object_attachment_api.py index 8d7219260..bb7d682f9 100644 --- a/eZmaxApi/api/object_attachment_api.py +++ b/eZmaxApi/api/object_attachment_api.py @@ -20,7 +20,6 @@ from pydantic import Field from typing_extensions import Annotated from eZmaxApi.models.attachment_get_attachmentlogs_v1_response import AttachmentGetAttachmentlogsV1Response -from eZmaxApi.models.attachment_get_download_url_v1_response import AttachmentGetDownloadUrlV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -258,7 +257,9 @@ def _attachment_download_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -271,11 +272,12 @@ def _attachment_download_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -520,7 +522,9 @@ def _attachment_get_attachmentlogs_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -533,11 +537,12 @@ def _attachment_get_attachmentlogs_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -561,267 +566,3 @@ def _attachment_get_attachmentlogs_v1_serialize( ) - - - @validate_call - def attachment_get_download_url_v1( - self, - pki_attachment_id: Annotated[int, Field(strict=True, ge=0)], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AttachmentGetDownloadUrlV1Response: - """Retrieve a URL to download attachments. - - This endpoint returns an URL to download the attachment. These links will expire after 5 minutes so the download of the file should be made soon after retrieving the link. - - :param pki_attachment_id: (required) - :type pki_attachment_id: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._attachment_get_download_url_v1_serialize( - pki_attachment_id=pki_attachment_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "AttachmentGetDownloadUrlV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ).data - - - @validate_call - def attachment_get_download_url_v1_with_http_info( - self, - pki_attachment_id: Annotated[int, Field(strict=True, ge=0)], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AttachmentGetDownloadUrlV1Response]: - """Retrieve a URL to download attachments. - - This endpoint returns an URL to download the attachment. These links will expire after 5 minutes so the download of the file should be made soon after retrieving the link. - - :param pki_attachment_id: (required) - :type pki_attachment_id: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._attachment_get_download_url_v1_serialize( - pki_attachment_id=pki_attachment_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "AttachmentGetDownloadUrlV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ) - - - @validate_call - def attachment_get_download_url_v1_without_preload_content( - self, - pki_attachment_id: Annotated[int, Field(strict=True, ge=0)], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> RESTResponseType: - """Retrieve a URL to download attachments. - - This endpoint returns an URL to download the attachment. These links will expire after 5 minutes so the download of the file should be made soon after retrieving the link. - - :param pki_attachment_id: (required) - :type pki_attachment_id: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._attachment_get_download_url_v1_serialize( - pki_attachment_id=pki_attachment_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "AttachmentGetDownloadUrlV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _attachment_get_download_url_v1_serialize( - self, - pki_attachment_id, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - if pki_attachment_id is not None: - _path_params['pkiAttachmentID'] = pki_attachment_id - # process the query parameters - # process the header parameters - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - 'Authorization' - ] - - return self.api_client.param_serialize( - method='GET', - resource_path='/1/object/attachment/{pkiAttachmentID}/getDownloadUrl', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - diff --git a/eZmaxApi/api/object_authenticationexternal_api.py b/eZmaxApi/api/object_authenticationexternal_api.py new file mode 100644 index 000000000..a580317d4 --- /dev/null +++ b/eZmaxApi/api/object_authenticationexternal_api.py @@ -0,0 +1,2081 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Any, Dict, Optional +from typing_extensions import Annotated +from eZmaxApi.models.authenticationexternal_create_object_v1_request import AuthenticationexternalCreateObjectV1Request +from eZmaxApi.models.authenticationexternal_create_object_v1_response import AuthenticationexternalCreateObjectV1Response +from eZmaxApi.models.authenticationexternal_delete_object_v1_response import AuthenticationexternalDeleteObjectV1Response +from eZmaxApi.models.authenticationexternal_edit_object_v1_request import AuthenticationexternalEditObjectV1Request +from eZmaxApi.models.authenticationexternal_edit_object_v1_response import AuthenticationexternalEditObjectV1Response +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response import AuthenticationexternalGetAutocompleteV2Response +from eZmaxApi.models.authenticationexternal_get_list_v1_response import AuthenticationexternalGetListV1Response +from eZmaxApi.models.authenticationexternal_get_object_v2_response import AuthenticationexternalGetObjectV2Response +from eZmaxApi.models.authenticationexternal_reset_authorization_v1_response import AuthenticationexternalResetAuthorizationV1Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectAuthenticationexternalApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def authenticationexternal_create_object_v1( + self, + authenticationexternal_create_object_v1_request: AuthenticationexternalCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> AuthenticationexternalCreateObjectV1Response: + """Create a new Authenticationexternal + + The endpoint allows to create one or many elements at once. + + :param authenticationexternal_create_object_v1_request: (required) + :type authenticationexternal_create_object_v1_request: AuthenticationexternalCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_create_object_v1_serialize( + authenticationexternal_create_object_v1_request=authenticationexternal_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "AuthenticationexternalCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def authenticationexternal_create_object_v1_with_http_info( + self, + authenticationexternal_create_object_v1_request: AuthenticationexternalCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[AuthenticationexternalCreateObjectV1Response]: + """Create a new Authenticationexternal + + The endpoint allows to create one or many elements at once. + + :param authenticationexternal_create_object_v1_request: (required) + :type authenticationexternal_create_object_v1_request: AuthenticationexternalCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_create_object_v1_serialize( + authenticationexternal_create_object_v1_request=authenticationexternal_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "AuthenticationexternalCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def authenticationexternal_create_object_v1_without_preload_content( + self, + authenticationexternal_create_object_v1_request: AuthenticationexternalCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create a new Authenticationexternal + + The endpoint allows to create one or many elements at once. + + :param authenticationexternal_create_object_v1_request: (required) + :type authenticationexternal_create_object_v1_request: AuthenticationexternalCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_create_object_v1_serialize( + authenticationexternal_create_object_v1_request=authenticationexternal_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "AuthenticationexternalCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _authenticationexternal_create_object_v1_serialize( + self, + authenticationexternal_create_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if authenticationexternal_create_object_v1_request is not None: + _body_params = authenticationexternal_create_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/authenticationexternal', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def authenticationexternal_delete_object_v1( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Authenticationexternal")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> AuthenticationexternalDeleteObjectV1Response: + """Delete an existing Authenticationexternal + + + + :param pki_authenticationexternal_id: The unique ID of the Authenticationexternal (required) + :type pki_authenticationexternal_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_delete_object_v1_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def authenticationexternal_delete_object_v1_with_http_info( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Authenticationexternal")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[AuthenticationexternalDeleteObjectV1Response]: + """Delete an existing Authenticationexternal + + + + :param pki_authenticationexternal_id: The unique ID of the Authenticationexternal (required) + :type pki_authenticationexternal_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_delete_object_v1_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def authenticationexternal_delete_object_v1_without_preload_content( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Authenticationexternal")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete an existing Authenticationexternal + + + + :param pki_authenticationexternal_id: The unique ID of the Authenticationexternal (required) + :type pki_authenticationexternal_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_delete_object_v1_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _authenticationexternal_delete_object_v1_serialize( + self, + pki_authenticationexternal_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_authenticationexternal_id is not None: + _path_params['pkiAuthenticationexternalID'] = pki_authenticationexternal_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/1/object/authenticationexternal/{pkiAuthenticationexternalID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def authenticationexternal_edit_object_v1( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Authenticationexternal")], + authenticationexternal_edit_object_v1_request: AuthenticationexternalEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> AuthenticationexternalEditObjectV1Response: + """Edit an existing Authenticationexternal + + + + :param pki_authenticationexternal_id: The unique ID of the Authenticationexternal (required) + :type pki_authenticationexternal_id: int + :param authenticationexternal_edit_object_v1_request: (required) + :type authenticationexternal_edit_object_v1_request: AuthenticationexternalEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_edit_object_v1_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + authenticationexternal_edit_object_v1_request=authenticationexternal_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def authenticationexternal_edit_object_v1_with_http_info( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Authenticationexternal")], + authenticationexternal_edit_object_v1_request: AuthenticationexternalEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[AuthenticationexternalEditObjectV1Response]: + """Edit an existing Authenticationexternal + + + + :param pki_authenticationexternal_id: The unique ID of the Authenticationexternal (required) + :type pki_authenticationexternal_id: int + :param authenticationexternal_edit_object_v1_request: (required) + :type authenticationexternal_edit_object_v1_request: AuthenticationexternalEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_edit_object_v1_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + authenticationexternal_edit_object_v1_request=authenticationexternal_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def authenticationexternal_edit_object_v1_without_preload_content( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Authenticationexternal")], + authenticationexternal_edit_object_v1_request: AuthenticationexternalEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit an existing Authenticationexternal + + + + :param pki_authenticationexternal_id: The unique ID of the Authenticationexternal (required) + :type pki_authenticationexternal_id: int + :param authenticationexternal_edit_object_v1_request: (required) + :type authenticationexternal_edit_object_v1_request: AuthenticationexternalEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_edit_object_v1_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + authenticationexternal_edit_object_v1_request=authenticationexternal_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _authenticationexternal_edit_object_v1_serialize( + self, + pki_authenticationexternal_id, + authenticationexternal_edit_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_authenticationexternal_id is not None: + _path_params['pkiAuthenticationexternalID'] = pki_authenticationexternal_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if authenticationexternal_edit_object_v1_request is not None: + _body_params = authenticationexternal_edit_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/authenticationexternal/{pkiAuthenticationexternalID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def authenticationexternal_get_autocomplete_v2( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Authenticationexternals to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> AuthenticationexternalGetAutocompleteV2Response: + """Retrieve Authenticationexternals and IDs + + Get the list of Authenticationexternal to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Authenticationexternals to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def authenticationexternal_get_autocomplete_v2_with_http_info( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Authenticationexternals to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[AuthenticationexternalGetAutocompleteV2Response]: + """Retrieve Authenticationexternals and IDs + + Get the list of Authenticationexternal to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Authenticationexternals to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def authenticationexternal_get_autocomplete_v2_without_preload_content( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Authenticationexternals to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Authenticationexternals and IDs + + Get the list of Authenticationexternal to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Authenticationexternals to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _authenticationexternal_get_autocomplete_v2_serialize( + self, + s_selector, + e_filter_active, + s_query, + accept_language, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if s_selector is not None: + _path_params['sSelector'] = s_selector + # process the query parameters + if e_filter_active is not None: + + _query_params.append(('eFilterActive', e_filter_active)) + + if s_query is not None: + + _query_params.append(('sQuery', s_query)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/authenticationexternal/getAutocomplete/{sSelector}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def authenticationexternal_get_list_v1( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> AuthenticationexternalGetListV1Response: + """Retrieve Authenticationexternal list + + Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eAuthenticationexternalType | Salesforce
SalesforceSandbox | + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def authenticationexternal_get_list_v1_with_http_info( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[AuthenticationexternalGetListV1Response]: + """Retrieve Authenticationexternal list + + Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eAuthenticationexternalType | Salesforce
SalesforceSandbox | + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def authenticationexternal_get_list_v1_without_preload_content( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Authenticationexternal list + + Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eAuthenticationexternalType | Salesforce
SalesforceSandbox | + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _authenticationexternal_get_list_v1_serialize( + self, + e_order_by, + i_row_max, + i_row_offset, + accept_language, + s_filter, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if e_order_by is not None: + + _query_params.append(('eOrderBy', e_order_by)) + + if i_row_max is not None: + + _query_params.append(('iRowMax', i_row_max)) + + if i_row_offset is not None: + + _query_params.append(('iRowOffset', i_row_offset)) + + if s_filter is not None: + + _query_params.append(('sFilter', s_filter)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/authenticationexternal/getList', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def authenticationexternal_get_object_v2( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Authenticationexternal")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> AuthenticationexternalGetObjectV2Response: + """Retrieve an existing Authenticationexternal + + + + :param pki_authenticationexternal_id: The unique ID of the Authenticationexternal (required) + :type pki_authenticationexternal_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_get_object_v2_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def authenticationexternal_get_object_v2_with_http_info( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Authenticationexternal")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[AuthenticationexternalGetObjectV2Response]: + """Retrieve an existing Authenticationexternal + + + + :param pki_authenticationexternal_id: The unique ID of the Authenticationexternal (required) + :type pki_authenticationexternal_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_get_object_v2_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def authenticationexternal_get_object_v2_without_preload_content( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Authenticationexternal")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Authenticationexternal + + + + :param pki_authenticationexternal_id: The unique ID of the Authenticationexternal (required) + :type pki_authenticationexternal_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_get_object_v2_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _authenticationexternal_get_object_v2_serialize( + self, + pki_authenticationexternal_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_authenticationexternal_id is not None: + _path_params['pkiAuthenticationexternalID'] = pki_authenticationexternal_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/authenticationexternal/{pkiAuthenticationexternalID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def authenticationexternal_reset_authorization_v1( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0)], + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> AuthenticationexternalResetAuthorizationV1Response: + """Reset the Authenticationexternal authorization + + + + :param pki_authenticationexternal_id: (required) + :type pki_authenticationexternal_id: int + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_reset_authorization_v1_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalResetAuthorizationV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def authenticationexternal_reset_authorization_v1_with_http_info( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0)], + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[AuthenticationexternalResetAuthorizationV1Response]: + """Reset the Authenticationexternal authorization + + + + :param pki_authenticationexternal_id: (required) + :type pki_authenticationexternal_id: int + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_reset_authorization_v1_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalResetAuthorizationV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def authenticationexternal_reset_authorization_v1_without_preload_content( + self, + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0)], + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Reset the Authenticationexternal authorization + + + + :param pki_authenticationexternal_id: (required) + :type pki_authenticationexternal_id: int + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._authenticationexternal_reset_authorization_v1_serialize( + pki_authenticationexternal_id=pki_authenticationexternal_id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AuthenticationexternalResetAuthorizationV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _authenticationexternal_reset_authorization_v1_serialize( + self, + pki_authenticationexternal_id, + body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_authenticationexternal_id is not None: + _path_params['pkiAuthenticationexternalID'] = pki_authenticationexternal_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if body is not None: + _body_params = body + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/authenticationexternal/{pkiAuthenticationexternalID}/resetAuthorization', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_billingentityexternal_api.py b/eZmaxApi/api/object_billingentityexternal_api.py index c8d1ac061..f2deeff65 100644 --- a/eZmaxApi/api/object_billingentityexternal_api.py +++ b/eZmaxApi/api/object_billingentityexternal_api.py @@ -20,6 +20,8 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_request import BillingentityexternalGenerateFederationTokenV1Request +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response import BillingentityexternalGenerateFederationTokenV1Response from eZmaxApi.models.billingentityexternal_get_autocomplete_v2_response import BillingentityexternalGetAutocompleteV2Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage @@ -41,6 +43,298 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def billingentityexternal_generate_federation_token_v1( + self, + pki_billingentityexternal_id: Annotated[int, Field(strict=True, ge=1)], + billingentityexternal_generate_federation_token_v1_request: BillingentityexternalGenerateFederationTokenV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BillingentityexternalGenerateFederationTokenV1Response: + """Generate a federation token + + + + :param pki_billingentityexternal_id: (required) + :type pki_billingentityexternal_id: int + :param billingentityexternal_generate_federation_token_v1_request: (required) + :type billingentityexternal_generate_federation_token_v1_request: BillingentityexternalGenerateFederationTokenV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._billingentityexternal_generate_federation_token_v1_serialize( + pki_billingentityexternal_id=pki_billingentityexternal_id, + billingentityexternal_generate_federation_token_v1_request=billingentityexternal_generate_federation_token_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BillingentityexternalGenerateFederationTokenV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def billingentityexternal_generate_federation_token_v1_with_http_info( + self, + pki_billingentityexternal_id: Annotated[int, Field(strict=True, ge=1)], + billingentityexternal_generate_federation_token_v1_request: BillingentityexternalGenerateFederationTokenV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BillingentityexternalGenerateFederationTokenV1Response]: + """Generate a federation token + + + + :param pki_billingentityexternal_id: (required) + :type pki_billingentityexternal_id: int + :param billingentityexternal_generate_federation_token_v1_request: (required) + :type billingentityexternal_generate_federation_token_v1_request: BillingentityexternalGenerateFederationTokenV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._billingentityexternal_generate_federation_token_v1_serialize( + pki_billingentityexternal_id=pki_billingentityexternal_id, + billingentityexternal_generate_federation_token_v1_request=billingentityexternal_generate_federation_token_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BillingentityexternalGenerateFederationTokenV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def billingentityexternal_generate_federation_token_v1_without_preload_content( + self, + pki_billingentityexternal_id: Annotated[int, Field(strict=True, ge=1)], + billingentityexternal_generate_federation_token_v1_request: BillingentityexternalGenerateFederationTokenV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Generate a federation token + + + + :param pki_billingentityexternal_id: (required) + :type pki_billingentityexternal_id: int + :param billingentityexternal_generate_federation_token_v1_request: (required) + :type billingentityexternal_generate_federation_token_v1_request: BillingentityexternalGenerateFederationTokenV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._billingentityexternal_generate_federation_token_v1_serialize( + pki_billingentityexternal_id=pki_billingentityexternal_id, + billingentityexternal_generate_federation_token_v1_request=billingentityexternal_generate_federation_token_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BillingentityexternalGenerateFederationTokenV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _billingentityexternal_generate_federation_token_v1_serialize( + self, + pki_billingentityexternal_id, + billingentityexternal_generate_federation_token_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_billingentityexternal_id is not None: + _path_params['pkiBillingentityexternalID'] = pki_billingentityexternal_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if billingentityexternal_generate_federation_token_v1_request is not None: + _body_params = billingentityexternal_generate_federation_token_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/billingentityexternal/{pkiBillingentityexternalID}/generateFederationToken', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def billingentityexternal_get_autocomplete_v2( self, @@ -295,7 +589,9 @@ def _billingentityexternal_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +614,12 @@ def _billingentityexternal_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_billingentityinternal_api.py b/eZmaxApi/api/object_billingentityinternal_api.py index 5c85ad1ec..8fc068e39 100644 --- a/eZmaxApi/api/object_billingentityinternal_api.py +++ b/eZmaxApi/api/object_billingentityinternal_api.py @@ -262,7 +262,9 @@ def _billingentityinternal_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -275,11 +277,12 @@ def _billingentityinternal_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -552,7 +555,9 @@ def _billingentityinternal_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -567,11 +572,12 @@ def _billingentityinternal_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -864,7 +870,9 @@ def _billingentityinternal_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -887,11 +895,12 @@ def _billingentityinternal_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1187,7 +1196,9 @@ def _billingentityinternal_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1216,12 +1227,13 @@ def _billingentityinternal_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1465,7 +1477,9 @@ def _billingentityinternal_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1478,11 +1492,12 @@ def _billingentityinternal_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_branding_api.py b/eZmaxApi/api/object_branding_api.py index 39ff002cd..f08e32f7d 100644 --- a/eZmaxApi/api/object_branding_api.py +++ b/eZmaxApi/api/object_branding_api.py @@ -20,13 +20,13 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.branding_create_object_v1_request import BrandingCreateObjectV1Request -from eZmaxApi.models.branding_create_object_v1_response import BrandingCreateObjectV1Response -from eZmaxApi.models.branding_edit_object_v1_request import BrandingEditObjectV1Request -from eZmaxApi.models.branding_edit_object_v1_response import BrandingEditObjectV1Response +from eZmaxApi.models.branding_create_object_v2_request import BrandingCreateObjectV2Request +from eZmaxApi.models.branding_create_object_v2_response import BrandingCreateObjectV2Response +from eZmaxApi.models.branding_edit_object_v2_request import BrandingEditObjectV2Request +from eZmaxApi.models.branding_edit_object_v2_response import BrandingEditObjectV2Response from eZmaxApi.models.branding_get_autocomplete_v2_response import BrandingGetAutocompleteV2Response from eZmaxApi.models.branding_get_list_v1_response import BrandingGetListV1Response -from eZmaxApi.models.branding_get_object_v2_response import BrandingGetObjectV2Response +from eZmaxApi.models.branding_get_object_v3_response import BrandingGetObjectV3Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -48,9 +48,9 @@ def __init__(self, api_client=None) -> None: @validate_call - def branding_create_object_v1( + def branding_create_object_v2( self, - branding_create_object_v1_request: BrandingCreateObjectV1Request, + branding_create_object_v2_request: BrandingCreateObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63,13 +63,13 @@ def branding_create_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> BrandingCreateObjectV1Response: + ) -> BrandingCreateObjectV2Response: """Create a new Branding The endpoint allows to create one or many elements at once. - :param branding_create_object_v1_request: (required) - :type branding_create_object_v1_request: BrandingCreateObjectV1Request + :param branding_create_object_v2_request: (required) + :type branding_create_object_v2_request: BrandingCreateObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92,8 +92,8 @@ def branding_create_object_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._branding_create_object_v1_serialize( - branding_create_object_v1_request=branding_create_object_v1_request, + _param = self._branding_create_object_v2_serialize( + branding_create_object_v2_request=branding_create_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101,7 +101,7 @@ def branding_create_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "BrandingCreateObjectV1Response", + '201': "BrandingCreateObjectV2Response", } response_data = self.api_client.call_api( *_param, @@ -115,9 +115,9 @@ def branding_create_object_v1( @validate_call - def branding_create_object_v1_with_http_info( + def branding_create_object_v2_with_http_info( self, - branding_create_object_v1_request: BrandingCreateObjectV1Request, + branding_create_object_v2_request: BrandingCreateObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -130,13 +130,13 @@ def branding_create_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[BrandingCreateObjectV1Response]: + ) -> ApiResponse[BrandingCreateObjectV2Response]: """Create a new Branding The endpoint allows to create one or many elements at once. - :param branding_create_object_v1_request: (required) - :type branding_create_object_v1_request: BrandingCreateObjectV1Request + :param branding_create_object_v2_request: (required) + :type branding_create_object_v2_request: BrandingCreateObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -159,8 +159,8 @@ def branding_create_object_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._branding_create_object_v1_serialize( - branding_create_object_v1_request=branding_create_object_v1_request, + _param = self._branding_create_object_v2_serialize( + branding_create_object_v2_request=branding_create_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -168,7 +168,7 @@ def branding_create_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "BrandingCreateObjectV1Response", + '201': "BrandingCreateObjectV2Response", } response_data = self.api_client.call_api( *_param, @@ -182,9 +182,9 @@ def branding_create_object_v1_with_http_info( @validate_call - def branding_create_object_v1_without_preload_content( + def branding_create_object_v2_without_preload_content( self, - branding_create_object_v1_request: BrandingCreateObjectV1Request, + branding_create_object_v2_request: BrandingCreateObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -202,8 +202,8 @@ def branding_create_object_v1_without_preload_content( The endpoint allows to create one or many elements at once. - :param branding_create_object_v1_request: (required) - :type branding_create_object_v1_request: BrandingCreateObjectV1Request + :param branding_create_object_v2_request: (required) + :type branding_create_object_v2_request: BrandingCreateObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -226,8 +226,8 @@ def branding_create_object_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._branding_create_object_v1_serialize( - branding_create_object_v1_request=branding_create_object_v1_request, + _param = self._branding_create_object_v2_serialize( + branding_create_object_v2_request=branding_create_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -235,7 +235,7 @@ def branding_create_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "BrandingCreateObjectV1Response", + '201': "BrandingCreateObjectV2Response", } response_data = self.api_client.call_api( *_param, @@ -244,9 +244,9 @@ def branding_create_object_v1_without_preload_content( return response_data.response - def _branding_create_object_v1_serialize( + def _branding_create_object_v2_serialize( self, - branding_create_object_v1_request, + branding_create_object_v2_request, _request_auth, _content_type, _headers, @@ -262,7 +262,9 @@ def _branding_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,16 +272,17 @@ def _branding_create_object_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if branding_create_object_v1_request is not None: - _body_params = branding_create_object_v1_request + if branding_create_object_v2_request is not None: + _body_params = branding_create_object_v2_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -302,7 +305,7 @@ def _branding_create_object_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/branding', + resource_path='/2/object/branding', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -319,10 +322,10 @@ def _branding_create_object_v1_serialize( @validate_call - def branding_edit_object_v1( + def branding_edit_object_v2( self, pki_branding_id: Annotated[int, Field(strict=True, ge=0)], - branding_edit_object_v1_request: BrandingEditObjectV1Request, + branding_edit_object_v2_request: BrandingEditObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -335,15 +338,15 @@ def branding_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> BrandingEditObjectV1Response: + ) -> BrandingEditObjectV2Response: """Edit an existing Branding :param pki_branding_id: (required) :type pki_branding_id: int - :param branding_edit_object_v1_request: (required) - :type branding_edit_object_v1_request: BrandingEditObjectV1Request + :param branding_edit_object_v2_request: (required) + :type branding_edit_object_v2_request: BrandingEditObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -366,9 +369,9 @@ def branding_edit_object_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._branding_edit_object_v1_serialize( + _param = self._branding_edit_object_v2_serialize( pki_branding_id=pki_branding_id, - branding_edit_object_v1_request=branding_edit_object_v1_request, + branding_edit_object_v2_request=branding_edit_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -376,7 +379,7 @@ def branding_edit_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "BrandingEditObjectV1Response", + '200': "BrandingEditObjectV2Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -391,10 +394,10 @@ def branding_edit_object_v1( @validate_call - def branding_edit_object_v1_with_http_info( + def branding_edit_object_v2_with_http_info( self, pki_branding_id: Annotated[int, Field(strict=True, ge=0)], - branding_edit_object_v1_request: BrandingEditObjectV1Request, + branding_edit_object_v2_request: BrandingEditObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -407,15 +410,15 @@ def branding_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[BrandingEditObjectV1Response]: + ) -> ApiResponse[BrandingEditObjectV2Response]: """Edit an existing Branding :param pki_branding_id: (required) :type pki_branding_id: int - :param branding_edit_object_v1_request: (required) - :type branding_edit_object_v1_request: BrandingEditObjectV1Request + :param branding_edit_object_v2_request: (required) + :type branding_edit_object_v2_request: BrandingEditObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -438,9 +441,9 @@ def branding_edit_object_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._branding_edit_object_v1_serialize( + _param = self._branding_edit_object_v2_serialize( pki_branding_id=pki_branding_id, - branding_edit_object_v1_request=branding_edit_object_v1_request, + branding_edit_object_v2_request=branding_edit_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -448,7 +451,7 @@ def branding_edit_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "BrandingEditObjectV1Response", + '200': "BrandingEditObjectV2Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -463,10 +466,10 @@ def branding_edit_object_v1_with_http_info( @validate_call - def branding_edit_object_v1_without_preload_content( + def branding_edit_object_v2_without_preload_content( self, pki_branding_id: Annotated[int, Field(strict=True, ge=0)], - branding_edit_object_v1_request: BrandingEditObjectV1Request, + branding_edit_object_v2_request: BrandingEditObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -486,8 +489,8 @@ def branding_edit_object_v1_without_preload_content( :param pki_branding_id: (required) :type pki_branding_id: int - :param branding_edit_object_v1_request: (required) - :type branding_edit_object_v1_request: BrandingEditObjectV1Request + :param branding_edit_object_v2_request: (required) + :type branding_edit_object_v2_request: BrandingEditObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -510,9 +513,9 @@ def branding_edit_object_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._branding_edit_object_v1_serialize( + _param = self._branding_edit_object_v2_serialize( pki_branding_id=pki_branding_id, - branding_edit_object_v1_request=branding_edit_object_v1_request, + branding_edit_object_v2_request=branding_edit_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -520,7 +523,7 @@ def branding_edit_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "BrandingEditObjectV1Response", + '200': "BrandingEditObjectV2Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -530,10 +533,10 @@ def branding_edit_object_v1_without_preload_content( return response_data.response - def _branding_edit_object_v1_serialize( + def _branding_edit_object_v2_serialize( self, pki_branding_id, - branding_edit_object_v1_request, + branding_edit_object_v2_request, _request_auth, _content_type, _headers, @@ -549,7 +552,9 @@ def _branding_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -559,16 +564,17 @@ def _branding_edit_object_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if branding_edit_object_v1_request is not None: - _body_params = branding_edit_object_v1_request + if branding_edit_object_v2_request is not None: + _body_params = branding_edit_object_v2_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -591,7 +597,7 @@ def _branding_edit_object_v1_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/1/object/branding/{pkiBrandingID}', + resource_path='/2/object/branding/{pkiBrandingID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -861,7 +867,9 @@ def _branding_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -884,11 +892,12 @@ def _branding_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1184,7 +1193,9 @@ def _branding_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1213,12 +1224,13 @@ def _branding_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1245,7 +1257,7 @@ def _branding_get_list_v1_serialize( @validate_call - def branding_get_object_v2( + def branding_get_object_v3( self, pki_branding_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -1260,7 +1272,7 @@ def branding_get_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> BrandingGetObjectV2Response: + ) -> BrandingGetObjectV3Response: """Retrieve an existing Branding @@ -1289,7 +1301,7 @@ def branding_get_object_v2( :return: Returns the result object. """ # noqa: E501 - _param = self._branding_get_object_v2_serialize( + _param = self._branding_get_object_v3_serialize( pki_branding_id=pki_branding_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1298,7 +1310,7 @@ def branding_get_object_v2( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "BrandingGetObjectV2Response", + '200': "BrandingGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -1313,7 +1325,7 @@ def branding_get_object_v2( @validate_call - def branding_get_object_v2_with_http_info( + def branding_get_object_v3_with_http_info( self, pki_branding_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -1328,7 +1340,7 @@ def branding_get_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[BrandingGetObjectV2Response]: + ) -> ApiResponse[BrandingGetObjectV3Response]: """Retrieve an existing Branding @@ -1357,7 +1369,7 @@ def branding_get_object_v2_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._branding_get_object_v2_serialize( + _param = self._branding_get_object_v3_serialize( pki_branding_id=pki_branding_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1366,7 +1378,7 @@ def branding_get_object_v2_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "BrandingGetObjectV2Response", + '200': "BrandingGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -1381,7 +1393,7 @@ def branding_get_object_v2_with_http_info( @validate_call - def branding_get_object_v2_without_preload_content( + def branding_get_object_v3_without_preload_content( self, pki_branding_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -1425,7 +1437,7 @@ def branding_get_object_v2_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._branding_get_object_v2_serialize( + _param = self._branding_get_object_v3_serialize( pki_branding_id=pki_branding_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1434,7 +1446,7 @@ def branding_get_object_v2_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "BrandingGetObjectV2Response", + '200': "BrandingGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -1444,7 +1456,7 @@ def branding_get_object_v2_without_preload_content( return response_data.response - def _branding_get_object_v2_serialize( + def _branding_get_object_v3_serialize( self, pki_branding_id, _request_auth, @@ -1462,7 +1474,9 @@ def _branding_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1475,11 +1489,12 @@ def _branding_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1489,7 +1504,7 @@ def _branding_get_object_v2_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/2/object/branding/{pkiBrandingID}', + resource_path='/3/object/branding/{pkiBrandingID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/eZmaxApi/api/object_buyercontract_api.py b/eZmaxApi/api/object_buyercontract_api.py index 52d43aaf3..c0412713f 100644 --- a/eZmaxApi/api/object_buyercontract_api.py +++ b/eZmaxApi/api/object_buyercontract_api.py @@ -19,7 +19,10 @@ from pydantic import Field from typing_extensions import Annotated +from eZmaxApi.models.buyercontract_get_communication_count_v1_response import BuyercontractGetCommunicationCountV1Response from eZmaxApi.models.buyercontract_get_communication_list_v1_response import BuyercontractGetCommunicationListV1Response +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response import BuyercontractGetCommunicationrecipientsV1Response +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response import BuyercontractGetCommunicationsendersV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -39,6 +42,270 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def buyercontract_get_communication_count_v1( + self, + pki_buyercontract_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BuyercontractGetCommunicationCountV1Response: + """Retrieve Communication count + + + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._buyercontract_get_communication_count_v1_serialize( + pki_buyercontract_id=pki_buyercontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BuyercontractGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def buyercontract_get_communication_count_v1_with_http_info( + self, + pki_buyercontract_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BuyercontractGetCommunicationCountV1Response]: + """Retrieve Communication count + + + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._buyercontract_get_communication_count_v1_serialize( + pki_buyercontract_id=pki_buyercontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BuyercontractGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def buyercontract_get_communication_count_v1_without_preload_content( + self, + pki_buyercontract_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Communication count + + + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._buyercontract_get_communication_count_v1_serialize( + pki_buyercontract_id=pki_buyercontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BuyercontractGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _buyercontract_get_communication_count_v1_serialize( + self, + pki_buyercontract_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_buyercontract_id is not None: + _path_params['pkiBuyercontractID'] = pki_buyercontract_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/buyercontract/{pkiBuyercontractID}/getCommunicationCount', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def buyercontract_get_communication_list_v1( self, @@ -257,7 +524,9 @@ def _buyercontract_get_communication_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +539,12 @@ def _buyercontract_get_communication_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -298,3 +568,531 @@ def _buyercontract_get_communication_list_v1_serialize( ) + + + @validate_call + def buyercontract_get_communicationrecipients_v1( + self, + pki_buyercontract_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BuyercontractGetCommunicationrecipientsV1Response: + """Retrieve Buyercontract's Communicationrecipient + + + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._buyercontract_get_communicationrecipients_v1_serialize( + pki_buyercontract_id=pki_buyercontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BuyercontractGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def buyercontract_get_communicationrecipients_v1_with_http_info( + self, + pki_buyercontract_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BuyercontractGetCommunicationrecipientsV1Response]: + """Retrieve Buyercontract's Communicationrecipient + + + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._buyercontract_get_communicationrecipients_v1_serialize( + pki_buyercontract_id=pki_buyercontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BuyercontractGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def buyercontract_get_communicationrecipients_v1_without_preload_content( + self, + pki_buyercontract_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Buyercontract's Communicationrecipient + + + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._buyercontract_get_communicationrecipients_v1_serialize( + pki_buyercontract_id=pki_buyercontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BuyercontractGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _buyercontract_get_communicationrecipients_v1_serialize( + self, + pki_buyercontract_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_buyercontract_id is not None: + _path_params['pkiBuyercontractID'] = pki_buyercontract_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def buyercontract_get_communicationsenders_v1( + self, + pki_buyercontract_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BuyercontractGetCommunicationsendersV1Response: + """Retrieve Buyercontract's Communicationsender + + + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._buyercontract_get_communicationsenders_v1_serialize( + pki_buyercontract_id=pki_buyercontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BuyercontractGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def buyercontract_get_communicationsenders_v1_with_http_info( + self, + pki_buyercontract_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BuyercontractGetCommunicationsendersV1Response]: + """Retrieve Buyercontract's Communicationsender + + + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._buyercontract_get_communicationsenders_v1_serialize( + pki_buyercontract_id=pki_buyercontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BuyercontractGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def buyercontract_get_communicationsenders_v1_without_preload_content( + self, + pki_buyercontract_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Buyercontract's Communicationsender + + + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._buyercontract_get_communicationsenders_v1_serialize( + pki_buyercontract_id=pki_buyercontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BuyercontractGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _buyercontract_get_communicationsenders_v1_serialize( + self, + pki_buyercontract_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_buyercontract_id is not None: + _path_params['pkiBuyercontractID'] = pki_buyercontract_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/buyercontract/{pkiBuyercontractID}/getCommunicationsenders', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_clonehistory_api.py b/eZmaxApi/api/object_clonehistory_api.py index 1bdd21b9f..a94926175 100644 --- a/eZmaxApi/api/object_clonehistory_api.py +++ b/eZmaxApi/api/object_clonehistory_api.py @@ -311,7 +311,9 @@ def _clonehistory_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -340,12 +342,13 @@ def _clonehistory_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_communication_api.py b/eZmaxApi/api/object_communication_api.py index ab609258e..3919455eb 100644 --- a/eZmaxApi/api/object_communication_api.py +++ b/eZmaxApi/api/object_communication_api.py @@ -17,6 +17,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated +from pydantic import Field +from typing_extensions import Annotated from eZmaxApi.models.communication_send_v1_request import CommunicationSendV1Request from eZmaxApi.models.communication_send_v1_response import CommunicationSendV1Response @@ -38,6 +40,270 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def communication_get_communication_body_v1( + self, + pki_communication_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Retrieve the communication body. + + This endpoint returns the communication body. + + :param pki_communication_id: (required) + :type pki_communication_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._communication_get_communication_body_v1_serialize( + pki_communication_id=pki_communication_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def communication_get_communication_body_v1_with_http_info( + self, + pki_communication_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Retrieve the communication body. + + This endpoint returns the communication body. + + :param pki_communication_id: (required) + :type pki_communication_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._communication_get_communication_body_v1_serialize( + pki_communication_id=pki_communication_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def communication_get_communication_body_v1_without_preload_content( + self, + pki_communication_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve the communication body. + + This endpoint returns the communication body. + + :param pki_communication_id: (required) + :type pki_communication_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._communication_get_communication_body_v1_serialize( + pki_communication_id=pki_communication_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _communication_get_communication_body_v1_serialize( + self, + pki_communication_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_communication_id is not None: + _path_params['pkiCommunicationID'] = pki_communication_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/communication/{pkiCommunicationID}/getCommunicationBody', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def communication_send_v1( self, @@ -253,7 +519,9 @@ def _communication_send_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -266,11 +534,12 @@ def _communication_send_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_company_api.py b/eZmaxApi/api/object_company_api.py index 13250ea05..3b71f82a2 100644 --- a/eZmaxApi/api/object_company_api.py +++ b/eZmaxApi/api/object_company_api.py @@ -295,7 +295,9 @@ def _company_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _company_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_contacttitle_api.py b/eZmaxApi/api/object_contacttitle_api.py new file mode 100644 index 000000000..e76793ef4 --- /dev/null +++ b/eZmaxApi/api/object_contacttitle_api.py @@ -0,0 +1,334 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Optional +from typing_extensions import Annotated +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response import ContacttitleGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectContacttitleApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def contacttitle_get_autocomplete_v2( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Contacttitles to return")], + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ContacttitleGetAutocompleteV2Response: + """Retrieve Contacttitles and IDs + + Get the list of Contacttitle to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Contacttitles to return (required) + :type s_selector: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._contacttitle_get_autocomplete_v2_serialize( + s_selector=s_selector, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ContacttitleGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def contacttitle_get_autocomplete_v2_with_http_info( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Contacttitles to return")], + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ContacttitleGetAutocompleteV2Response]: + """Retrieve Contacttitles and IDs + + Get the list of Contacttitle to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Contacttitles to return (required) + :type s_selector: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._contacttitle_get_autocomplete_v2_serialize( + s_selector=s_selector, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ContacttitleGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def contacttitle_get_autocomplete_v2_without_preload_content( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Contacttitles to return")], + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Contacttitles and IDs + + Get the list of Contacttitle to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Contacttitles to return (required) + :type s_selector: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._contacttitle_get_autocomplete_v2_serialize( + s_selector=s_selector, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ContacttitleGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _contacttitle_get_autocomplete_v2_serialize( + self, + s_selector, + s_query, + accept_language, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if s_selector is not None: + _path_params['sSelector'] = s_selector + # process the query parameters + if s_query is not None: + + _query_params.append(('sQuery', s_query)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/contacttitle/getAutocomplete/{sSelector}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_cors_api.py b/eZmaxApi/api/object_cors_api.py index 55129d4a7..20dc5bb3d 100644 --- a/eZmaxApi/api/object_cors_api.py +++ b/eZmaxApi/api/object_cors_api.py @@ -259,7 +259,9 @@ def _cors_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -272,11 +274,12 @@ def _cors_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -533,7 +536,9 @@ def _cors_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -546,11 +551,12 @@ def _cors_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -810,7 +816,9 @@ def _cors_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -825,11 +833,12 @@ def _cors_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1086,7 +1095,9 @@ def _cors_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1099,11 +1110,12 @@ def _cors_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_country_api.py b/eZmaxApi/api/object_country_api.py index 0d896b801..719a36ed7 100644 --- a/eZmaxApi/api/object_country_api.py +++ b/eZmaxApi/api/object_country_api.py @@ -295,7 +295,9 @@ def _country_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _country_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_creditcardclient_api.py b/eZmaxApi/api/object_creditcardclient_api.py index 83c1b1c2d..4a2012114 100644 --- a/eZmaxApi/api/object_creditcardclient_api.py +++ b/eZmaxApi/api/object_creditcardclient_api.py @@ -28,6 +28,8 @@ from eZmaxApi.models.creditcardclient_get_autocomplete_v2_response import CreditcardclientGetAutocompleteV2Response from eZmaxApi.models.creditcardclient_get_list_v1_response import CreditcardclientGetListV1Response from eZmaxApi.models.creditcardclient_get_object_v2_response import CreditcardclientGetObjectV2Response +from eZmaxApi.models.creditcardclient_patch_object_v1_request import CreditcardclientPatchObjectV1Request +from eZmaxApi.models.creditcardclient_patch_object_v1_response import CreditcardclientPatchObjectV1Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -103,6 +105,7 @@ def creditcardclient_create_object_v1( _response_types_map: Dict[str, Optional[str]] = { '201': "CreditcardclientCreateObjectV1Response", + '422': "CommonResponseErrorCreditcardValidation", } response_data = self.api_client.call_api( *_param, @@ -170,6 +173,7 @@ def creditcardclient_create_object_v1_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '201': "CreditcardclientCreateObjectV1Response", + '422': "CommonResponseErrorCreditcardValidation", } response_data = self.api_client.call_api( *_param, @@ -237,6 +241,7 @@ def creditcardclient_create_object_v1_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '201': "CreditcardclientCreateObjectV1Response", + '422': "CommonResponseErrorCreditcardValidation", } response_data = self.api_client.call_api( *_param, @@ -263,7 +268,9 @@ def _creditcardclient_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -276,11 +283,12 @@ def _creditcardclient_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -537,7 +545,9 @@ def _creditcardclient_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -550,11 +560,12 @@ def _creditcardclient_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -640,7 +651,7 @@ def creditcardclient_edit_object_v1( _response_types_map: Dict[str, Optional[str]] = { '200': "CreditcardclientEditObjectV1Response", '404': "CommonResponseError", - '422': "CommonResponseError", + '422': "CommonResponseErrorCreditcardValidation", } response_data = self.api_client.call_api( *_param, @@ -713,7 +724,7 @@ def creditcardclient_edit_object_v1_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "CreditcardclientEditObjectV1Response", '404': "CommonResponseError", - '422': "CommonResponseError", + '422': "CommonResponseErrorCreditcardValidation", } response_data = self.api_client.call_api( *_param, @@ -786,7 +797,7 @@ def creditcardclient_edit_object_v1_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "CreditcardclientEditObjectV1Response", '404': "CommonResponseError", - '422': "CommonResponseError", + '422': "CommonResponseErrorCreditcardValidation", } response_data = self.api_client.call_api( *_param, @@ -814,7 +825,9 @@ def _creditcardclient_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -829,11 +842,12 @@ def _creditcardclient_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1126,7 +1140,9 @@ def _creditcardclient_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1149,11 +1165,12 @@ def _creditcardclient_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1449,7 +1466,9 @@ def _creditcardclient_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1478,12 +1497,13 @@ def _creditcardclient_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1727,7 +1747,9 @@ def _creditcardclient_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1740,11 +1762,12 @@ def _creditcardclient_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1768,3 +1791,298 @@ def _creditcardclient_get_object_v2_serialize( ) + + + @validate_call + def creditcardclient_patch_object_v1( + self, + pki_creditcardclient_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Creditcardclient")], + creditcardclient_patch_object_v1_request: CreditcardclientPatchObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> CreditcardclientPatchObjectV1Response: + """Patch an existing Creditcardclient + + + + :param pki_creditcardclient_id: The unique ID of the Creditcardclient (required) + :type pki_creditcardclient_id: int + :param creditcardclient_patch_object_v1_request: (required) + :type creditcardclient_patch_object_v1_request: CreditcardclientPatchObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._creditcardclient_patch_object_v1_serialize( + pki_creditcardclient_id=pki_creditcardclient_id, + creditcardclient_patch_object_v1_request=creditcardclient_patch_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "CreditcardclientPatchObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def creditcardclient_patch_object_v1_with_http_info( + self, + pki_creditcardclient_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Creditcardclient")], + creditcardclient_patch_object_v1_request: CreditcardclientPatchObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[CreditcardclientPatchObjectV1Response]: + """Patch an existing Creditcardclient + + + + :param pki_creditcardclient_id: The unique ID of the Creditcardclient (required) + :type pki_creditcardclient_id: int + :param creditcardclient_patch_object_v1_request: (required) + :type creditcardclient_patch_object_v1_request: CreditcardclientPatchObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._creditcardclient_patch_object_v1_serialize( + pki_creditcardclient_id=pki_creditcardclient_id, + creditcardclient_patch_object_v1_request=creditcardclient_patch_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "CreditcardclientPatchObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def creditcardclient_patch_object_v1_without_preload_content( + self, + pki_creditcardclient_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Creditcardclient")], + creditcardclient_patch_object_v1_request: CreditcardclientPatchObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Patch an existing Creditcardclient + + + + :param pki_creditcardclient_id: The unique ID of the Creditcardclient (required) + :type pki_creditcardclient_id: int + :param creditcardclient_patch_object_v1_request: (required) + :type creditcardclient_patch_object_v1_request: CreditcardclientPatchObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._creditcardclient_patch_object_v1_serialize( + pki_creditcardclient_id=pki_creditcardclient_id, + creditcardclient_patch_object_v1_request=creditcardclient_patch_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "CreditcardclientPatchObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _creditcardclient_patch_object_v1_serialize( + self, + pki_creditcardclient_id, + creditcardclient_patch_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_creditcardclient_id is not None: + _path_params['pkiCreditcardclientID'] = pki_creditcardclient_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if creditcardclient_patch_object_v1_request is not None: + _body_params = creditcardclient_patch_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PATCH', + resource_path='/1/object/creditcardclient/{pkiCreditcardclientID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_creditcardtype_api.py b/eZmaxApi/api/object_creditcardtype_api.py index 9b2b36705..c2abd843c 100644 --- a/eZmaxApi/api/object_creditcardtype_api.py +++ b/eZmaxApi/api/object_creditcardtype_api.py @@ -295,7 +295,9 @@ def _creditcardtype_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _creditcardtype_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_customer_api.py b/eZmaxApi/api/object_customer_api.py new file mode 100644 index 000000000..41b44f32d --- /dev/null +++ b/eZmaxApi/api/object_customer_api.py @@ -0,0 +1,579 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field +from typing_extensions import Annotated +from eZmaxApi.models.customer_create_object_v1_request import CustomerCreateObjectV1Request +from eZmaxApi.models.customer_create_object_v1_response import CustomerCreateObjectV1Response +from eZmaxApi.models.customer_get_object_v2_response import CustomerGetObjectV2Response + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectCustomerApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def customer_create_object_v1( + self, + customer_create_object_v1_request: CustomerCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> CustomerCreateObjectV1Response: + """Create a new Customer + + The endpoint allows to create one or many elements at once. + + :param customer_create_object_v1_request: (required) + :type customer_create_object_v1_request: CustomerCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._customer_create_object_v1_serialize( + customer_create_object_v1_request=customer_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "CustomerCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def customer_create_object_v1_with_http_info( + self, + customer_create_object_v1_request: CustomerCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[CustomerCreateObjectV1Response]: + """Create a new Customer + + The endpoint allows to create one or many elements at once. + + :param customer_create_object_v1_request: (required) + :type customer_create_object_v1_request: CustomerCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._customer_create_object_v1_serialize( + customer_create_object_v1_request=customer_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "CustomerCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def customer_create_object_v1_without_preload_content( + self, + customer_create_object_v1_request: CustomerCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create a new Customer + + The endpoint allows to create one or many elements at once. + + :param customer_create_object_v1_request: (required) + :type customer_create_object_v1_request: CustomerCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._customer_create_object_v1_serialize( + customer_create_object_v1_request=customer_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "CustomerCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _customer_create_object_v1_serialize( + self, + customer_create_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if customer_create_object_v1_request is not None: + _body_params = customer_create_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/customer', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def customer_get_object_v2( + self, + pki_customer_id: Annotated[int, Field(strict=True, ge=0, description="The unique ID of the Customer")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> CustomerGetObjectV2Response: + """Retrieve an existing Customer + + + + :param pki_customer_id: The unique ID of the Customer (required) + :type pki_customer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._customer_get_object_v2_serialize( + pki_customer_id=pki_customer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "CustomerGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def customer_get_object_v2_with_http_info( + self, + pki_customer_id: Annotated[int, Field(strict=True, ge=0, description="The unique ID of the Customer")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[CustomerGetObjectV2Response]: + """Retrieve an existing Customer + + + + :param pki_customer_id: The unique ID of the Customer (required) + :type pki_customer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._customer_get_object_v2_serialize( + pki_customer_id=pki_customer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "CustomerGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def customer_get_object_v2_without_preload_content( + self, + pki_customer_id: Annotated[int, Field(strict=True, ge=0, description="The unique ID of the Customer")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Customer + + + + :param pki_customer_id: The unique ID of the Customer (required) + :type pki_customer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._customer_get_object_v2_serialize( + pki_customer_id=pki_customer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "CustomerGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _customer_get_object_v2_serialize( + self, + pki_customer_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_customer_id is not None: + _path_params['pkiCustomerID'] = pki_customer_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/customer/{pkiCustomerID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_department_api.py b/eZmaxApi/api/object_department_api.py index 8cf086dd7..3ee3b0afb 100644 --- a/eZmaxApi/api/object_department_api.py +++ b/eZmaxApi/api/object_department_api.py @@ -295,7 +295,9 @@ def _department_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _department_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_discussion_api.py b/eZmaxApi/api/object_discussion_api.py index 6e9b0581e..590528898 100644 --- a/eZmaxApi/api/object_discussion_api.py +++ b/eZmaxApi/api/object_discussion_api.py @@ -261,7 +261,9 @@ def _discussion_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -274,11 +276,12 @@ def _discussion_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -535,7 +538,9 @@ def _discussion_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -548,11 +553,12 @@ def _discussion_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -796,7 +802,9 @@ def _discussion_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -809,11 +817,12 @@ def _discussion_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1073,7 +1082,9 @@ def _discussion_patch_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1088,11 +1099,12 @@ def _discussion_patch_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1362,7 +1374,9 @@ def _discussion_update_discussionreadstatus_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1377,11 +1391,12 @@ def _discussion_update_discussionreadstatus_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_discussionmembership_api.py b/eZmaxApi/api/object_discussionmembership_api.py index 903406ccf..2bbde8e09 100644 --- a/eZmaxApi/api/object_discussionmembership_api.py +++ b/eZmaxApi/api/object_discussionmembership_api.py @@ -256,7 +256,9 @@ def _discussionmembership_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -269,11 +271,12 @@ def _discussionmembership_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -530,7 +533,9 @@ def _discussionmembership_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -543,11 +548,12 @@ def _discussionmembership_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_discussionmessage_api.py b/eZmaxApi/api/object_discussionmessage_api.py index af384e4ef..67daa8540 100644 --- a/eZmaxApi/api/object_discussionmessage_api.py +++ b/eZmaxApi/api/object_discussionmessage_api.py @@ -258,7 +258,9 @@ def _discussionmessage_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -271,11 +273,12 @@ def _discussionmessage_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -535,7 +538,9 @@ def _discussionmessage_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -548,11 +553,12 @@ def _discussionmessage_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -812,7 +818,9 @@ def _discussionmessage_patch_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -827,11 +835,12 @@ def _discussionmessage_patch_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_domain_api.py b/eZmaxApi/api/object_domain_api.py new file mode 100644 index 000000000..5c4f794d5 --- /dev/null +++ b/eZmaxApi/api/object_domain_api.py @@ -0,0 +1,1180 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Optional +from typing_extensions import Annotated +from eZmaxApi.models.domain_create_object_v1_request import DomainCreateObjectV1Request +from eZmaxApi.models.domain_create_object_v1_response import DomainCreateObjectV1Response +from eZmaxApi.models.domain_delete_object_v1_response import DomainDeleteObjectV1Response +from eZmaxApi.models.domain_get_list_v1_response import DomainGetListV1Response +from eZmaxApi.models.domain_get_object_v2_response import DomainGetObjectV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectDomainApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def domain_create_object_v1( + self, + domain_create_object_v1_request: DomainCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> DomainCreateObjectV1Response: + """Create a new Domain + + The endpoint allows to create one or many elements at once. + + :param domain_create_object_v1_request: (required) + :type domain_create_object_v1_request: DomainCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_create_object_v1_serialize( + domain_create_object_v1_request=domain_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "DomainCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def domain_create_object_v1_with_http_info( + self, + domain_create_object_v1_request: DomainCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[DomainCreateObjectV1Response]: + """Create a new Domain + + The endpoint allows to create one or many elements at once. + + :param domain_create_object_v1_request: (required) + :type domain_create_object_v1_request: DomainCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_create_object_v1_serialize( + domain_create_object_v1_request=domain_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "DomainCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def domain_create_object_v1_without_preload_content( + self, + domain_create_object_v1_request: DomainCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create a new Domain + + The endpoint allows to create one or many elements at once. + + :param domain_create_object_v1_request: (required) + :type domain_create_object_v1_request: DomainCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_create_object_v1_serialize( + domain_create_object_v1_request=domain_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "DomainCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _domain_create_object_v1_serialize( + self, + domain_create_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if domain_create_object_v1_request is not None: + _body_params = domain_create_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/domain', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def domain_delete_object_v1( + self, + pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Domain")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> DomainDeleteObjectV1Response: + """Delete an existing Domain + + + + :param pki_domain_id: The unique ID of the Domain (required) + :type pki_domain_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_delete_object_v1_serialize( + pki_domain_id=pki_domain_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DomainDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def domain_delete_object_v1_with_http_info( + self, + pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Domain")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[DomainDeleteObjectV1Response]: + """Delete an existing Domain + + + + :param pki_domain_id: The unique ID of the Domain (required) + :type pki_domain_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_delete_object_v1_serialize( + pki_domain_id=pki_domain_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DomainDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def domain_delete_object_v1_without_preload_content( + self, + pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Domain")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete an existing Domain + + + + :param pki_domain_id: The unique ID of the Domain (required) + :type pki_domain_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_delete_object_v1_serialize( + pki_domain_id=pki_domain_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DomainDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _domain_delete_object_v1_serialize( + self, + pki_domain_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_domain_id is not None: + _path_params['pkiDomainID'] = pki_domain_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/1/object/domain/{pkiDomainID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def domain_get_list_v1( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> DomainGetListV1Response: + """Retrieve Domain list + + + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DomainGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def domain_get_list_v1_with_http_info( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[DomainGetListV1Response]: + """Retrieve Domain list + + + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DomainGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def domain_get_list_v1_without_preload_content( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Domain list + + + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DomainGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _domain_get_list_v1_serialize( + self, + e_order_by, + i_row_max, + i_row_offset, + accept_language, + s_filter, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if e_order_by is not None: + + _query_params.append(('eOrderBy', e_order_by)) + + if i_row_max is not None: + + _query_params.append(('iRowMax', i_row_max)) + + if i_row_offset is not None: + + _query_params.append(('iRowOffset', i_row_offset)) + + if s_filter is not None: + + _query_params.append(('sFilter', s_filter)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/domain/getList', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def domain_get_object_v2( + self, + pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Domain")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> DomainGetObjectV2Response: + """Retrieve an existing Domain + + + + :param pki_domain_id: The unique ID of the Domain (required) + :type pki_domain_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_get_object_v2_serialize( + pki_domain_id=pki_domain_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DomainGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def domain_get_object_v2_with_http_info( + self, + pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Domain")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[DomainGetObjectV2Response]: + """Retrieve an existing Domain + + + + :param pki_domain_id: The unique ID of the Domain (required) + :type pki_domain_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_get_object_v2_serialize( + pki_domain_id=pki_domain_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DomainGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def domain_get_object_v2_without_preload_content( + self, + pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0, description="The unique ID of the Domain")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Domain + + + + :param pki_domain_id: The unique ID of the Domain (required) + :type pki_domain_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._domain_get_object_v2_serialize( + pki_domain_id=pki_domain_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DomainGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _domain_get_object_v2_serialize( + self, + pki_domain_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_domain_id is not None: + _path_params['pkiDomainID'] = pki_domain_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/domain/{pkiDomainID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_electronicfundstransfer_api.py b/eZmaxApi/api/object_electronicfundstransfer_api.py index 40305d0b9..e6dd62d5f 100644 --- a/eZmaxApi/api/object_electronicfundstransfer_api.py +++ b/eZmaxApi/api/object_electronicfundstransfer_api.py @@ -19,7 +19,10 @@ from pydantic import Field from typing_extensions import Annotated +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response import ElectronicfundstransferGetCommunicationCountV1Response from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response import ElectronicfundstransferGetCommunicationListV1Response +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response import ElectronicfundstransferGetCommunicationrecipientsV1Response +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response import ElectronicfundstransferGetCommunicationsendersV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -39,6 +42,270 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def electronicfundstransfer_get_communication_count_v1( + self, + pki_electronicfundstransfer_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ElectronicfundstransferGetCommunicationCountV1Response: + """Retrieve Communication count + + + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._electronicfundstransfer_get_communication_count_v1_serialize( + pki_electronicfundstransfer_id=pki_electronicfundstransfer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ElectronicfundstransferGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def electronicfundstransfer_get_communication_count_v1_with_http_info( + self, + pki_electronicfundstransfer_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ElectronicfundstransferGetCommunicationCountV1Response]: + """Retrieve Communication count + + + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._electronicfundstransfer_get_communication_count_v1_serialize( + pki_electronicfundstransfer_id=pki_electronicfundstransfer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ElectronicfundstransferGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def electronicfundstransfer_get_communication_count_v1_without_preload_content( + self, + pki_electronicfundstransfer_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Communication count + + + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._electronicfundstransfer_get_communication_count_v1_serialize( + pki_electronicfundstransfer_id=pki_electronicfundstransfer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ElectronicfundstransferGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _electronicfundstransfer_get_communication_count_v1_serialize( + self, + pki_electronicfundstransfer_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_electronicfundstransfer_id is not None: + _path_params['pkiElectronicfundstransferID'] = pki_electronicfundstransfer_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationCount', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def electronicfundstransfer_get_communication_list_v1( self, @@ -257,7 +524,9 @@ def _electronicfundstransfer_get_communication_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +539,12 @@ def _electronicfundstransfer_get_communication_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -298,3 +568,531 @@ def _electronicfundstransfer_get_communication_list_v1_serialize( ) + + + @validate_call + def electronicfundstransfer_get_communicationrecipients_v1( + self, + pki_electronicfundstransfer_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ElectronicfundstransferGetCommunicationrecipientsV1Response: + """Retrieve Electronicfundstransfer's Communicationrecipient + + + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._electronicfundstransfer_get_communicationrecipients_v1_serialize( + pki_electronicfundstransfer_id=pki_electronicfundstransfer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ElectronicfundstransferGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def electronicfundstransfer_get_communicationrecipients_v1_with_http_info( + self, + pki_electronicfundstransfer_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ElectronicfundstransferGetCommunicationrecipientsV1Response]: + """Retrieve Electronicfundstransfer's Communicationrecipient + + + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._electronicfundstransfer_get_communicationrecipients_v1_serialize( + pki_electronicfundstransfer_id=pki_electronicfundstransfer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ElectronicfundstransferGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def electronicfundstransfer_get_communicationrecipients_v1_without_preload_content( + self, + pki_electronicfundstransfer_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Electronicfundstransfer's Communicationrecipient + + + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._electronicfundstransfer_get_communicationrecipients_v1_serialize( + pki_electronicfundstransfer_id=pki_electronicfundstransfer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ElectronicfundstransferGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _electronicfundstransfer_get_communicationrecipients_v1_serialize( + self, + pki_electronicfundstransfer_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_electronicfundstransfer_id is not None: + _path_params['pkiElectronicfundstransferID'] = pki_electronicfundstransfer_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def electronicfundstransfer_get_communicationsenders_v1( + self, + pki_electronicfundstransfer_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ElectronicfundstransferGetCommunicationsendersV1Response: + """Retrieve Electronicfundstransfer's Communicationsender + + + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._electronicfundstransfer_get_communicationsenders_v1_serialize( + pki_electronicfundstransfer_id=pki_electronicfundstransfer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ElectronicfundstransferGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def electronicfundstransfer_get_communicationsenders_v1_with_http_info( + self, + pki_electronicfundstransfer_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ElectronicfundstransferGetCommunicationsendersV1Response]: + """Retrieve Electronicfundstransfer's Communicationsender + + + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._electronicfundstransfer_get_communicationsenders_v1_serialize( + pki_electronicfundstransfer_id=pki_electronicfundstransfer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ElectronicfundstransferGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def electronicfundstransfer_get_communicationsenders_v1_without_preload_content( + self, + pki_electronicfundstransfer_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Electronicfundstransfer's Communicationsender + + + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._electronicfundstransfer_get_communicationsenders_v1_serialize( + pki_electronicfundstransfer_id=pki_electronicfundstransfer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ElectronicfundstransferGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _electronicfundstransfer_get_communicationsenders_v1_serialize( + self, + pki_electronicfundstransfer_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_electronicfundstransfer_id is not None: + _path_params['pkiElectronicfundstransferID'] = pki_electronicfundstransfer_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationsenders', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_emailtype_api.py b/eZmaxApi/api/object_emailtype_api.py index babb11e59..bf58d7a0f 100644 --- a/eZmaxApi/api/object_emailtype_api.py +++ b/eZmaxApi/api/object_emailtype_api.py @@ -295,7 +295,9 @@ def _emailtype_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _emailtype_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezdoctemplatedocument_api.py b/eZmaxApi/api/object_ezdoctemplatedocument_api.py new file mode 100644 index 000000000..e8d3046b7 --- /dev/null +++ b/eZmaxApi/api/object_ezdoctemplatedocument_api.py @@ -0,0 +1,2116 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Optional +from typing_extensions import Annotated +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_request import EzdoctemplatedocumentCreateObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response import EzdoctemplatedocumentCreateObjectV1Response +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_request import EzdoctemplatedocumentEditObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_response import EzdoctemplatedocumentEditObjectV1Response +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response import EzdoctemplatedocumentGetAutocompleteV2Response +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response import EzdoctemplatedocumentGetListV1Response +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response import EzdoctemplatedocumentGetObjectV2Response +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_request import EzdoctemplatedocumentPatchObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_response import EzdoctemplatedocumentPatchObjectV1Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectEzdoctemplatedocumentApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def ezdoctemplatedocument_create_object_v1( + self, + ezdoctemplatedocument_create_object_v1_request: EzdoctemplatedocumentCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzdoctemplatedocumentCreateObjectV1Response: + """Create a new Ezdoctemplatedocument + + The endpoint allows to create one or many elements at once. + + :param ezdoctemplatedocument_create_object_v1_request: (required) + :type ezdoctemplatedocument_create_object_v1_request: EzdoctemplatedocumentCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_create_object_v1_serialize( + ezdoctemplatedocument_create_object_v1_request=ezdoctemplatedocument_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzdoctemplatedocumentCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezdoctemplatedocument_create_object_v1_with_http_info( + self, + ezdoctemplatedocument_create_object_v1_request: EzdoctemplatedocumentCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzdoctemplatedocumentCreateObjectV1Response]: + """Create a new Ezdoctemplatedocument + + The endpoint allows to create one or many elements at once. + + :param ezdoctemplatedocument_create_object_v1_request: (required) + :type ezdoctemplatedocument_create_object_v1_request: EzdoctemplatedocumentCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_create_object_v1_serialize( + ezdoctemplatedocument_create_object_v1_request=ezdoctemplatedocument_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzdoctemplatedocumentCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezdoctemplatedocument_create_object_v1_without_preload_content( + self, + ezdoctemplatedocument_create_object_v1_request: EzdoctemplatedocumentCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create a new Ezdoctemplatedocument + + The endpoint allows to create one or many elements at once. + + :param ezdoctemplatedocument_create_object_v1_request: (required) + :type ezdoctemplatedocument_create_object_v1_request: EzdoctemplatedocumentCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_create_object_v1_serialize( + ezdoctemplatedocument_create_object_v1_request=ezdoctemplatedocument_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzdoctemplatedocumentCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezdoctemplatedocument_create_object_v1_serialize( + self, + ezdoctemplatedocument_create_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezdoctemplatedocument_create_object_v1_request is not None: + _body_params = ezdoctemplatedocument_create_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/ezdoctemplatedocument', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezdoctemplatedocument_download_v1( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Retrieve the content + + Using this endpoint, you can retrieve the content of an ezdoctemplatedocument. + + :param pki_ezdoctemplatedocument_id: (required) + :type pki_ezdoctemplatedocument_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_download_v1_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezdoctemplatedocument_download_v1_with_http_info( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Retrieve the content + + Using this endpoint, you can retrieve the content of an ezdoctemplatedocument. + + :param pki_ezdoctemplatedocument_id: (required) + :type pki_ezdoctemplatedocument_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_download_v1_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezdoctemplatedocument_download_v1_without_preload_content( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve the content + + Using this endpoint, you can retrieve the content of an ezdoctemplatedocument. + + :param pki_ezdoctemplatedocument_id: (required) + :type pki_ezdoctemplatedocument_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_download_v1_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezdoctemplatedocument_download_v1_serialize( + self, + pki_ezdoctemplatedocument_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezdoctemplatedocument_id is not None: + _path_params['pkiEzdoctemplatedocumentID'] = pki_ezdoctemplatedocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization', + 'Presigned' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID}/download', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezdoctemplatedocument_edit_object_v1( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezdoctemplatedocument")], + ezdoctemplatedocument_edit_object_v1_request: EzdoctemplatedocumentEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzdoctemplatedocumentEditObjectV1Response: + """Edit an existing Ezdoctemplatedocument + + + + :param pki_ezdoctemplatedocument_id: The unique ID of the Ezdoctemplatedocument (required) + :type pki_ezdoctemplatedocument_id: int + :param ezdoctemplatedocument_edit_object_v1_request: (required) + :type ezdoctemplatedocument_edit_object_v1_request: EzdoctemplatedocumentEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_edit_object_v1_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + ezdoctemplatedocument_edit_object_v1_request=ezdoctemplatedocument_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezdoctemplatedocument_edit_object_v1_with_http_info( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezdoctemplatedocument")], + ezdoctemplatedocument_edit_object_v1_request: EzdoctemplatedocumentEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzdoctemplatedocumentEditObjectV1Response]: + """Edit an existing Ezdoctemplatedocument + + + + :param pki_ezdoctemplatedocument_id: The unique ID of the Ezdoctemplatedocument (required) + :type pki_ezdoctemplatedocument_id: int + :param ezdoctemplatedocument_edit_object_v1_request: (required) + :type ezdoctemplatedocument_edit_object_v1_request: EzdoctemplatedocumentEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_edit_object_v1_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + ezdoctemplatedocument_edit_object_v1_request=ezdoctemplatedocument_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezdoctemplatedocument_edit_object_v1_without_preload_content( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezdoctemplatedocument")], + ezdoctemplatedocument_edit_object_v1_request: EzdoctemplatedocumentEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit an existing Ezdoctemplatedocument + + + + :param pki_ezdoctemplatedocument_id: The unique ID of the Ezdoctemplatedocument (required) + :type pki_ezdoctemplatedocument_id: int + :param ezdoctemplatedocument_edit_object_v1_request: (required) + :type ezdoctemplatedocument_edit_object_v1_request: EzdoctemplatedocumentEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_edit_object_v1_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + ezdoctemplatedocument_edit_object_v1_request=ezdoctemplatedocument_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezdoctemplatedocument_edit_object_v1_serialize( + self, + pki_ezdoctemplatedocument_id, + ezdoctemplatedocument_edit_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezdoctemplatedocument_id is not None: + _path_params['pkiEzdoctemplatedocumentID'] = pki_ezdoctemplatedocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezdoctemplatedocument_edit_object_v1_request is not None: + _body_params = ezdoctemplatedocument_edit_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezdoctemplatedocument_get_autocomplete_v2( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Ezdoctemplatedocuments to return")], + e_type: Annotated[StrictStr, Field(description="The type of Ezdoctemplatedocument")], + fki_ezsignfoldertype_id: Annotated[Optional[StrictStr], Field(description="Specify which fkiEzsignfoldertypeID we want to display. only used when eType = Ezsignfoldertype")] = None, + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzdoctemplatedocumentGetAutocompleteV2Response: + """Retrieve Ezdoctemplatedocuments and IDs + + Get the list of Ezdoctemplatedocument to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Ezdoctemplatedocuments to return (required) + :type s_selector: str + :param e_type: The type of Ezdoctemplatedocument (required) + :type e_type: str + :param fki_ezsignfoldertype_id: Specify which fkiEzsignfoldertypeID we want to display. only used when eType = Ezsignfoldertype + :type fki_ezsignfoldertype_id: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_type=e_type, + fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezdoctemplatedocument_get_autocomplete_v2_with_http_info( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Ezdoctemplatedocuments to return")], + e_type: Annotated[StrictStr, Field(description="The type of Ezdoctemplatedocument")], + fki_ezsignfoldertype_id: Annotated[Optional[StrictStr], Field(description="Specify which fkiEzsignfoldertypeID we want to display. only used when eType = Ezsignfoldertype")] = None, + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzdoctemplatedocumentGetAutocompleteV2Response]: + """Retrieve Ezdoctemplatedocuments and IDs + + Get the list of Ezdoctemplatedocument to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Ezdoctemplatedocuments to return (required) + :type s_selector: str + :param e_type: The type of Ezdoctemplatedocument (required) + :type e_type: str + :param fki_ezsignfoldertype_id: Specify which fkiEzsignfoldertypeID we want to display. only used when eType = Ezsignfoldertype + :type fki_ezsignfoldertype_id: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_type=e_type, + fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezdoctemplatedocument_get_autocomplete_v2_without_preload_content( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Ezdoctemplatedocuments to return")], + e_type: Annotated[StrictStr, Field(description="The type of Ezdoctemplatedocument")], + fki_ezsignfoldertype_id: Annotated[Optional[StrictStr], Field(description="Specify which fkiEzsignfoldertypeID we want to display. only used when eType = Ezsignfoldertype")] = None, + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Ezdoctemplatedocuments and IDs + + Get the list of Ezdoctemplatedocument to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Ezdoctemplatedocuments to return (required) + :type s_selector: str + :param e_type: The type of Ezdoctemplatedocument (required) + :type e_type: str + :param fki_ezsignfoldertype_id: Specify which fkiEzsignfoldertypeID we want to display. only used when eType = Ezsignfoldertype + :type fki_ezsignfoldertype_id: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_type=e_type, + fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezdoctemplatedocument_get_autocomplete_v2_serialize( + self, + s_selector, + e_type, + fki_ezsignfoldertype_id, + e_filter_active, + s_query, + accept_language, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if s_selector is not None: + _path_params['sSelector'] = s_selector + # process the query parameters + if fki_ezsignfoldertype_id is not None: + + _query_params.append(('fkiEzsignfoldertypeID', fki_ezsignfoldertype_id)) + + if e_type is not None: + + _query_params.append(('eType', e_type)) + + if e_filter_active is not None: + + _query_params.append(('eFilterActive', e_filter_active)) + + if s_query is not None: + + _query_params.append(('sQuery', s_query)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/ezdoctemplatedocument/getAutocomplete/{sSelector}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezdoctemplatedocument_get_list_v1( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzdoctemplatedocumentGetListV1Response: + """Retrieve Ezdoctemplatedocument list + + + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezdoctemplatedocument_get_list_v1_with_http_info( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzdoctemplatedocumentGetListV1Response]: + """Retrieve Ezdoctemplatedocument list + + + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezdoctemplatedocument_get_list_v1_without_preload_content( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Ezdoctemplatedocument list + + + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezdoctemplatedocument_get_list_v1_serialize( + self, + e_order_by, + i_row_max, + i_row_offset, + accept_language, + s_filter, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if e_order_by is not None: + + _query_params.append(('eOrderBy', e_order_by)) + + if i_row_max is not None: + + _query_params.append(('iRowMax', i_row_max)) + + if i_row_offset is not None: + + _query_params.append(('iRowOffset', i_row_offset)) + + if s_filter is not None: + + _query_params.append(('sFilter', s_filter)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/ezdoctemplatedocument/getList', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezdoctemplatedocument_get_object_v2( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezdoctemplatedocument")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzdoctemplatedocumentGetObjectV2Response: + """Retrieve an existing Ezdoctemplatedocument + + + + :param pki_ezdoctemplatedocument_id: The unique ID of the Ezdoctemplatedocument (required) + :type pki_ezdoctemplatedocument_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_get_object_v2_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezdoctemplatedocument_get_object_v2_with_http_info( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezdoctemplatedocument")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzdoctemplatedocumentGetObjectV2Response]: + """Retrieve an existing Ezdoctemplatedocument + + + + :param pki_ezdoctemplatedocument_id: The unique ID of the Ezdoctemplatedocument (required) + :type pki_ezdoctemplatedocument_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_get_object_v2_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezdoctemplatedocument_get_object_v2_without_preload_content( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezdoctemplatedocument")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Ezdoctemplatedocument + + + + :param pki_ezdoctemplatedocument_id: The unique ID of the Ezdoctemplatedocument (required) + :type pki_ezdoctemplatedocument_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_get_object_v2_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezdoctemplatedocument_get_object_v2_serialize( + self, + pki_ezdoctemplatedocument_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezdoctemplatedocument_id is not None: + _path_params['pkiEzdoctemplatedocumentID'] = pki_ezdoctemplatedocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezdoctemplatedocument_patch_object_v1( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezdoctemplatedocument")], + ezdoctemplatedocument_patch_object_v1_request: EzdoctemplatedocumentPatchObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzdoctemplatedocumentPatchObjectV1Response: + """Patch an existing Ezdoctemplatedocument + + + + :param pki_ezdoctemplatedocument_id: The unique ID of the Ezdoctemplatedocument (required) + :type pki_ezdoctemplatedocument_id: int + :param ezdoctemplatedocument_patch_object_v1_request: (required) + :type ezdoctemplatedocument_patch_object_v1_request: EzdoctemplatedocumentPatchObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_patch_object_v1_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + ezdoctemplatedocument_patch_object_v1_request=ezdoctemplatedocument_patch_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentPatchObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezdoctemplatedocument_patch_object_v1_with_http_info( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezdoctemplatedocument")], + ezdoctemplatedocument_patch_object_v1_request: EzdoctemplatedocumentPatchObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzdoctemplatedocumentPatchObjectV1Response]: + """Patch an existing Ezdoctemplatedocument + + + + :param pki_ezdoctemplatedocument_id: The unique ID of the Ezdoctemplatedocument (required) + :type pki_ezdoctemplatedocument_id: int + :param ezdoctemplatedocument_patch_object_v1_request: (required) + :type ezdoctemplatedocument_patch_object_v1_request: EzdoctemplatedocumentPatchObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_patch_object_v1_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + ezdoctemplatedocument_patch_object_v1_request=ezdoctemplatedocument_patch_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentPatchObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezdoctemplatedocument_patch_object_v1_without_preload_content( + self, + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezdoctemplatedocument")], + ezdoctemplatedocument_patch_object_v1_request: EzdoctemplatedocumentPatchObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Patch an existing Ezdoctemplatedocument + + + + :param pki_ezdoctemplatedocument_id: The unique ID of the Ezdoctemplatedocument (required) + :type pki_ezdoctemplatedocument_id: int + :param ezdoctemplatedocument_patch_object_v1_request: (required) + :type ezdoctemplatedocument_patch_object_v1_request: EzdoctemplatedocumentPatchObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatedocument_patch_object_v1_serialize( + pki_ezdoctemplatedocument_id=pki_ezdoctemplatedocument_id, + ezdoctemplatedocument_patch_object_v1_request=ezdoctemplatedocument_patch_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatedocumentPatchObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezdoctemplatedocument_patch_object_v1_serialize( + self, + pki_ezdoctemplatedocument_id, + ezdoctemplatedocument_patch_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezdoctemplatedocument_id is not None: + _path_params['pkiEzdoctemplatedocumentID'] = pki_ezdoctemplatedocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezdoctemplatedocument_patch_object_v1_request is not None: + _body_params = ezdoctemplatedocument_patch_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PATCH', + resource_path='/1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_ezdoctemplatefieldtypecategory_api.py b/eZmaxApi/api/object_ezdoctemplatefieldtypecategory_api.py new file mode 100644 index 000000000..2eea23906 --- /dev/null +++ b/eZmaxApi/api/object_ezdoctemplatefieldtypecategory_api.py @@ -0,0 +1,351 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Optional +from typing_extensions import Annotated +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response import EzdoctemplatefieldtypecategoryGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectEzdoctemplatefieldtypecategoryApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def ezdoctemplatefieldtypecategory_get_autocomplete_v2( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Ezdoctemplatefieldtypecategorys to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzdoctemplatefieldtypecategoryGetAutocompleteV2Response: + """Retrieve Ezdoctemplatefieldtypecategorys and IDs + + Get the list of Ezdoctemplatefieldtypecategory to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Ezdoctemplatefieldtypecategorys to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatefieldtypecategory_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatefieldtypecategoryGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezdoctemplatefieldtypecategory_get_autocomplete_v2_with_http_info( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Ezdoctemplatefieldtypecategorys to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzdoctemplatefieldtypecategoryGetAutocompleteV2Response]: + """Retrieve Ezdoctemplatefieldtypecategorys and IDs + + Get the list of Ezdoctemplatefieldtypecategory to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Ezdoctemplatefieldtypecategorys to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatefieldtypecategory_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatefieldtypecategoryGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezdoctemplatefieldtypecategory_get_autocomplete_v2_without_preload_content( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Ezdoctemplatefieldtypecategorys to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Ezdoctemplatefieldtypecategorys and IDs + + Get the list of Ezdoctemplatefieldtypecategory to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Ezdoctemplatefieldtypecategorys to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatefieldtypecategory_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatefieldtypecategoryGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezdoctemplatefieldtypecategory_get_autocomplete_v2_serialize( + self, + s_selector, + e_filter_active, + s_query, + accept_language, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if s_selector is not None: + _path_params['sSelector'] = s_selector + # process the query parameters + if e_filter_active is not None: + + _query_params.append(('eFilterActive', e_filter_active)) + + if s_query is not None: + + _query_params.append(('sQuery', s_query)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/ezdoctemplatefieldtypecategory/getAutocomplete/{sSelector}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_ezdoctemplatetype_api.py b/eZmaxApi/api/object_ezdoctemplatetype_api.py new file mode 100644 index 000000000..37089f389 --- /dev/null +++ b/eZmaxApi/api/object_ezdoctemplatetype_api.py @@ -0,0 +1,351 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Optional +from typing_extensions import Annotated +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response import EzdoctemplatetypeGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectEzdoctemplatetypeApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def ezdoctemplatetype_get_autocomplete_v2( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Ezdoctemplatetypes to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzdoctemplatetypeGetAutocompleteV2Response: + """Retrieve Ezdoctemplatetypes and IDs + + Get the list of Ezdoctemplatetype to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Ezdoctemplatetypes to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatetype_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatetypeGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezdoctemplatetype_get_autocomplete_v2_with_http_info( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Ezdoctemplatetypes to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzdoctemplatetypeGetAutocompleteV2Response]: + """Retrieve Ezdoctemplatetypes and IDs + + Get the list of Ezdoctemplatetype to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Ezdoctemplatetypes to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatetype_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatetypeGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezdoctemplatetype_get_autocomplete_v2_without_preload_content( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Ezdoctemplatetypes to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Ezdoctemplatetypes and IDs + + Get the list of Ezdoctemplatetype to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Ezdoctemplatetypes to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezdoctemplatetype_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzdoctemplatetypeGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezdoctemplatetype_get_autocomplete_v2_serialize( + self, + s_selector, + e_filter_active, + s_query, + accept_language, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if s_selector is not None: + _path_params['sSelector'] = s_selector + # process the query parameters + if e_filter_active is not None: + + _query_params.append(('eFilterActive', e_filter_active)) + + if s_query is not None: + + _query_params.append(('sQuery', s_query)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/ezdoctemplatetype/getAutocomplete/{sSelector}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_ezmaxinvoicing_api.py b/eZmaxApi/api/object_ezmaxinvoicing_api.py index c0ff7b009..925c6a80e 100644 --- a/eZmaxApi/api/object_ezmaxinvoicing_api.py +++ b/eZmaxApi/api/object_ezmaxinvoicing_api.py @@ -297,7 +297,9 @@ def _ezmaxinvoicing_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -320,11 +322,12 @@ def _ezmaxinvoicing_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -568,7 +571,9 @@ def _ezmaxinvoicing_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -581,11 +586,12 @@ def _ezmaxinvoicing_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -816,7 +822,9 @@ def _ezmaxinvoicing_get_provisional_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -827,11 +835,12 @@ def _ezmaxinvoicing_get_provisional_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezmaxproduct_api.py b/eZmaxApi/api/object_ezmaxproduct_api.py index 2a95bbcb6..4fa12ed2b 100644 --- a/eZmaxApi/api/object_ezmaxproduct_api.py +++ b/eZmaxApi/api/object_ezmaxproduct_api.py @@ -295,7 +295,9 @@ def _ezmaxproduct_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _ezmaxproduct_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsignannotation_api.py b/eZmaxApi/api/object_ezsignannotation_api.py new file mode 100644 index 000000000..a16f6bdef --- /dev/null +++ b/eZmaxApi/api/object_ezsignannotation_api.py @@ -0,0 +1,1140 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import StrictInt +from eZmaxApi.models.ezsignannotation_create_object_v1_request import EzsignannotationCreateObjectV1Request +from eZmaxApi.models.ezsignannotation_create_object_v1_response import EzsignannotationCreateObjectV1Response +from eZmaxApi.models.ezsignannotation_delete_object_v1_response import EzsignannotationDeleteObjectV1Response +from eZmaxApi.models.ezsignannotation_edit_object_v1_request import EzsignannotationEditObjectV1Request +from eZmaxApi.models.ezsignannotation_edit_object_v1_response import EzsignannotationEditObjectV1Response +from eZmaxApi.models.ezsignannotation_get_object_v2_response import EzsignannotationGetObjectV2Response + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectEzsignannotationApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def ezsignannotation_create_object_v1( + self, + ezsignannotation_create_object_v1_request: EzsignannotationCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignannotationCreateObjectV1Response: + """Create a new Ezsignannotation + + The endpoint allows to create one or many elements at once. + + :param ezsignannotation_create_object_v1_request: (required) + :type ezsignannotation_create_object_v1_request: EzsignannotationCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_create_object_v1_serialize( + ezsignannotation_create_object_v1_request=ezsignannotation_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsignannotationCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignannotation_create_object_v1_with_http_info( + self, + ezsignannotation_create_object_v1_request: EzsignannotationCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignannotationCreateObjectV1Response]: + """Create a new Ezsignannotation + + The endpoint allows to create one or many elements at once. + + :param ezsignannotation_create_object_v1_request: (required) + :type ezsignannotation_create_object_v1_request: EzsignannotationCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_create_object_v1_serialize( + ezsignannotation_create_object_v1_request=ezsignannotation_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsignannotationCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignannotation_create_object_v1_without_preload_content( + self, + ezsignannotation_create_object_v1_request: EzsignannotationCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create a new Ezsignannotation + + The endpoint allows to create one or many elements at once. + + :param ezsignannotation_create_object_v1_request: (required) + :type ezsignannotation_create_object_v1_request: EzsignannotationCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_create_object_v1_serialize( + ezsignannotation_create_object_v1_request=ezsignannotation_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsignannotationCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignannotation_create_object_v1_serialize( + self, + ezsignannotation_create_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsignannotation_create_object_v1_request is not None: + _body_params = ezsignannotation_create_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/ezsignannotation', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsignannotation_delete_object_v1( + self, + pki_ezsignannotation_id: StrictInt, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignannotationDeleteObjectV1Response: + """Delete an existing Ezsignannotation + + + + :param pki_ezsignannotation_id: (required) + :type pki_ezsignannotation_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_delete_object_v1_serialize( + pki_ezsignannotation_id=pki_ezsignannotation_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignannotationDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignannotation_delete_object_v1_with_http_info( + self, + pki_ezsignannotation_id: StrictInt, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignannotationDeleteObjectV1Response]: + """Delete an existing Ezsignannotation + + + + :param pki_ezsignannotation_id: (required) + :type pki_ezsignannotation_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_delete_object_v1_serialize( + pki_ezsignannotation_id=pki_ezsignannotation_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignannotationDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignannotation_delete_object_v1_without_preload_content( + self, + pki_ezsignannotation_id: StrictInt, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete an existing Ezsignannotation + + + + :param pki_ezsignannotation_id: (required) + :type pki_ezsignannotation_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_delete_object_v1_serialize( + pki_ezsignannotation_id=pki_ezsignannotation_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignannotationDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignannotation_delete_object_v1_serialize( + self, + pki_ezsignannotation_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsignannotation_id is not None: + _path_params['pkiEzsignannotationID'] = pki_ezsignannotation_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/1/object/ezsignannotation/{pkiEzsignannotationID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsignannotation_edit_object_v1( + self, + pki_ezsignannotation_id: StrictInt, + ezsignannotation_edit_object_v1_request: EzsignannotationEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignannotationEditObjectV1Response: + """Edit an existing Ezsignannotation + + + + :param pki_ezsignannotation_id: (required) + :type pki_ezsignannotation_id: int + :param ezsignannotation_edit_object_v1_request: (required) + :type ezsignannotation_edit_object_v1_request: EzsignannotationEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_edit_object_v1_serialize( + pki_ezsignannotation_id=pki_ezsignannotation_id, + ezsignannotation_edit_object_v1_request=ezsignannotation_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignannotationEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignannotation_edit_object_v1_with_http_info( + self, + pki_ezsignannotation_id: StrictInt, + ezsignannotation_edit_object_v1_request: EzsignannotationEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignannotationEditObjectV1Response]: + """Edit an existing Ezsignannotation + + + + :param pki_ezsignannotation_id: (required) + :type pki_ezsignannotation_id: int + :param ezsignannotation_edit_object_v1_request: (required) + :type ezsignannotation_edit_object_v1_request: EzsignannotationEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_edit_object_v1_serialize( + pki_ezsignannotation_id=pki_ezsignannotation_id, + ezsignannotation_edit_object_v1_request=ezsignannotation_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignannotationEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignannotation_edit_object_v1_without_preload_content( + self, + pki_ezsignannotation_id: StrictInt, + ezsignannotation_edit_object_v1_request: EzsignannotationEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit an existing Ezsignannotation + + + + :param pki_ezsignannotation_id: (required) + :type pki_ezsignannotation_id: int + :param ezsignannotation_edit_object_v1_request: (required) + :type ezsignannotation_edit_object_v1_request: EzsignannotationEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_edit_object_v1_serialize( + pki_ezsignannotation_id=pki_ezsignannotation_id, + ezsignannotation_edit_object_v1_request=ezsignannotation_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignannotationEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignannotation_edit_object_v1_serialize( + self, + pki_ezsignannotation_id, + ezsignannotation_edit_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsignannotation_id is not None: + _path_params['pkiEzsignannotationID'] = pki_ezsignannotation_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsignannotation_edit_object_v1_request is not None: + _body_params = ezsignannotation_edit_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/ezsignannotation/{pkiEzsignannotationID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsignannotation_get_object_v2( + self, + pki_ezsignannotation_id: StrictInt, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignannotationGetObjectV2Response: + """Retrieve an existing Ezsignannotation + + + + :param pki_ezsignannotation_id: (required) + :type pki_ezsignannotation_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_get_object_v2_serialize( + pki_ezsignannotation_id=pki_ezsignannotation_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignannotationGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignannotation_get_object_v2_with_http_info( + self, + pki_ezsignannotation_id: StrictInt, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignannotationGetObjectV2Response]: + """Retrieve an existing Ezsignannotation + + + + :param pki_ezsignannotation_id: (required) + :type pki_ezsignannotation_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_get_object_v2_serialize( + pki_ezsignannotation_id=pki_ezsignannotation_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignannotationGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignannotation_get_object_v2_without_preload_content( + self, + pki_ezsignannotation_id: StrictInt, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Ezsignannotation + + + + :param pki_ezsignannotation_id: (required) + :type pki_ezsignannotation_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignannotation_get_object_v2_serialize( + pki_ezsignannotation_id=pki_ezsignannotation_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignannotationGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignannotation_get_object_v2_serialize( + self, + pki_ezsignannotation_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsignannotation_id is not None: + _path_params['pkiEzsignannotationID'] = pki_ezsignannotation_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/ezsignannotation/{pkiEzsignannotationID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_ezsignbulksend_api.py b/eZmaxApi/api/object_ezsignbulksend_api.py index b715ac815..0fdff68e5 100644 --- a/eZmaxApi/api/object_ezsignbulksend_api.py +++ b/eZmaxApi/api/object_ezsignbulksend_api.py @@ -20,8 +20,8 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_request import EzsignbulksendCreateEzsignbulksendtransmissionV1Request -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response import EzsignbulksendCreateEzsignbulksendtransmissionV1Response +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_request import EzsignbulksendCreateEzsignbulksendtransmissionV2Request +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response import EzsignbulksendCreateEzsignbulksendtransmissionV2Response from eZmaxApi.models.ezsignbulksend_create_object_v1_request import EzsignbulksendCreateObjectV1Request from eZmaxApi.models.ezsignbulksend_create_object_v1_response import EzsignbulksendCreateObjectV1Response from eZmaxApi.models.ezsignbulksend_delete_object_v1_response import EzsignbulksendDeleteObjectV1Response @@ -55,10 +55,10 @@ def __init__(self, api_client=None) -> None: @validate_call - def ezsignbulksend_create_ezsignbulksendtransmission_v1( + def ezsignbulksend_create_ezsignbulksendtransmission_v2( self, pki_ezsignbulksend_id: Annotated[int, Field(strict=True, ge=0)], - ezsignbulksend_create_ezsignbulksendtransmission_v1_request: EzsignbulksendCreateEzsignbulksendtransmissionV1Request, + ezsignbulksend_create_ezsignbulksendtransmission_v2_request: EzsignbulksendCreateEzsignbulksendtransmissionV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71,14 +71,14 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignbulksendCreateEzsignbulksendtransmissionV1Response: + ) -> EzsignbulksendCreateEzsignbulksendtransmissionV2Response: """Create a new Ezsignbulksendtransmission in the Ezsignbulksend :param pki_ezsignbulksend_id: (required) :type pki_ezsignbulksend_id: int - :param ezsignbulksend_create_ezsignbulksendtransmission_v1_request: (required) - :type ezsignbulksend_create_ezsignbulksendtransmission_v1_request: EzsignbulksendCreateEzsignbulksendtransmissionV1Request + :param ezsignbulksend_create_ezsignbulksendtransmission_v2_request: (required) + :type ezsignbulksend_create_ezsignbulksendtransmission_v2_request: EzsignbulksendCreateEzsignbulksendtransmissionV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101,9 +101,9 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignbulksend_create_ezsignbulksendtransmission_v1_serialize( + _param = self._ezsignbulksend_create_ezsignbulksendtransmission_v2_serialize( pki_ezsignbulksend_id=pki_ezsignbulksend_id, - ezsignbulksend_create_ezsignbulksendtransmission_v1_request=ezsignbulksend_create_ezsignbulksendtransmission_v1_request, + ezsignbulksend_create_ezsignbulksendtransmission_v2_request=ezsignbulksend_create_ezsignbulksendtransmission_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111,7 +111,7 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignbulksendCreateEzsignbulksendtransmissionV1Response", + '200': "EzsignbulksendCreateEzsignbulksendtransmissionV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -127,10 +127,10 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1( @validate_call - def ezsignbulksend_create_ezsignbulksendtransmission_v1_with_http_info( + def ezsignbulksend_create_ezsignbulksendtransmission_v2_with_http_info( self, pki_ezsignbulksend_id: Annotated[int, Field(strict=True, ge=0)], - ezsignbulksend_create_ezsignbulksendtransmission_v1_request: EzsignbulksendCreateEzsignbulksendtransmissionV1Request, + ezsignbulksend_create_ezsignbulksendtransmission_v2_request: EzsignbulksendCreateEzsignbulksendtransmissionV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -143,14 +143,14 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignbulksendCreateEzsignbulksendtransmissionV1Response]: + ) -> ApiResponse[EzsignbulksendCreateEzsignbulksendtransmissionV2Response]: """Create a new Ezsignbulksendtransmission in the Ezsignbulksend :param pki_ezsignbulksend_id: (required) :type pki_ezsignbulksend_id: int - :param ezsignbulksend_create_ezsignbulksendtransmission_v1_request: (required) - :type ezsignbulksend_create_ezsignbulksendtransmission_v1_request: EzsignbulksendCreateEzsignbulksendtransmissionV1Request + :param ezsignbulksend_create_ezsignbulksendtransmission_v2_request: (required) + :type ezsignbulksend_create_ezsignbulksendtransmission_v2_request: EzsignbulksendCreateEzsignbulksendtransmissionV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -173,9 +173,9 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignbulksend_create_ezsignbulksendtransmission_v1_serialize( + _param = self._ezsignbulksend_create_ezsignbulksendtransmission_v2_serialize( pki_ezsignbulksend_id=pki_ezsignbulksend_id, - ezsignbulksend_create_ezsignbulksendtransmission_v1_request=ezsignbulksend_create_ezsignbulksendtransmission_v1_request, + ezsignbulksend_create_ezsignbulksendtransmission_v2_request=ezsignbulksend_create_ezsignbulksendtransmission_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -183,7 +183,7 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignbulksendCreateEzsignbulksendtransmissionV1Response", + '200': "EzsignbulksendCreateEzsignbulksendtransmissionV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -199,10 +199,10 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1_with_http_info( @validate_call - def ezsignbulksend_create_ezsignbulksendtransmission_v1_without_preload_content( + def ezsignbulksend_create_ezsignbulksendtransmission_v2_without_preload_content( self, pki_ezsignbulksend_id: Annotated[int, Field(strict=True, ge=0)], - ezsignbulksend_create_ezsignbulksendtransmission_v1_request: EzsignbulksendCreateEzsignbulksendtransmissionV1Request, + ezsignbulksend_create_ezsignbulksendtransmission_v2_request: EzsignbulksendCreateEzsignbulksendtransmissionV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -221,8 +221,8 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1_without_preload_content( :param pki_ezsignbulksend_id: (required) :type pki_ezsignbulksend_id: int - :param ezsignbulksend_create_ezsignbulksendtransmission_v1_request: (required) - :type ezsignbulksend_create_ezsignbulksendtransmission_v1_request: EzsignbulksendCreateEzsignbulksendtransmissionV1Request + :param ezsignbulksend_create_ezsignbulksendtransmission_v2_request: (required) + :type ezsignbulksend_create_ezsignbulksendtransmission_v2_request: EzsignbulksendCreateEzsignbulksendtransmissionV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -245,9 +245,9 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignbulksend_create_ezsignbulksendtransmission_v1_serialize( + _param = self._ezsignbulksend_create_ezsignbulksendtransmission_v2_serialize( pki_ezsignbulksend_id=pki_ezsignbulksend_id, - ezsignbulksend_create_ezsignbulksendtransmission_v1_request=ezsignbulksend_create_ezsignbulksendtransmission_v1_request, + ezsignbulksend_create_ezsignbulksendtransmission_v2_request=ezsignbulksend_create_ezsignbulksendtransmission_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -255,7 +255,7 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignbulksendCreateEzsignbulksendtransmissionV1Response", + '200': "EzsignbulksendCreateEzsignbulksendtransmissionV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -266,10 +266,10 @@ def ezsignbulksend_create_ezsignbulksendtransmission_v1_without_preload_content( return response_data.response - def _ezsignbulksend_create_ezsignbulksendtransmission_v1_serialize( + def _ezsignbulksend_create_ezsignbulksendtransmission_v2_serialize( self, pki_ezsignbulksend_id, - ezsignbulksend_create_ezsignbulksendtransmission_v1_request, + ezsignbulksend_create_ezsignbulksendtransmission_v2_request, _request_auth, _content_type, _headers, @@ -285,7 +285,9 @@ def _ezsignbulksend_create_ezsignbulksendtransmission_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -295,16 +297,17 @@ def _ezsignbulksend_create_ezsignbulksendtransmission_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsignbulksend_create_ezsignbulksendtransmission_v1_request is not None: - _body_params = ezsignbulksend_create_ezsignbulksendtransmission_v1_request + if ezsignbulksend_create_ezsignbulksendtransmission_v2_request is not None: + _body_params = ezsignbulksend_create_ezsignbulksendtransmission_v2_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -327,7 +330,7 @@ def _ezsignbulksend_create_ezsignbulksendtransmission_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission', + resource_path='/2/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -558,7 +561,9 @@ def _ezsignbulksend_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -571,11 +576,12 @@ def _ezsignbulksend_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -835,7 +841,9 @@ def _ezsignbulksend_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -848,11 +856,12 @@ def _ezsignbulksend_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1112,7 +1121,9 @@ def _ezsignbulksend_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1127,11 +1138,12 @@ def _ezsignbulksend_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1407,7 +1419,9 @@ def _ezsignbulksend_get_csv_template_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1424,12 +1438,13 @@ def _ezsignbulksend_get_csv_template_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'text/csv', - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'text/csv', + 'application/json' + ] + ) # authentication setting @@ -1673,7 +1688,9 @@ def _ezsignbulksend_get_ezsignbulksendtransmissions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1686,11 +1703,12 @@ def _ezsignbulksend_get_ezsignbulksendtransmissions_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1934,7 +1952,9 @@ def _ezsignbulksend_get_ezsignsignatures_automatic_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1947,11 +1967,12 @@ def _ezsignbulksend_get_ezsignsignatures_automatic_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2201,7 +2222,9 @@ def _ezsignbulksend_get_forms_data_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2214,12 +2237,13 @@ def _ezsignbulksend_get_forms_data_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/zip' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/zip' + ] + ) # authentication setting @@ -2515,7 +2539,9 @@ def _ezsignbulksend_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2544,12 +2570,13 @@ def _ezsignbulksend_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -2793,7 +2820,9 @@ def _ezsignbulksend_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2806,11 +2835,12 @@ def _ezsignbulksend_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -3067,7 +3097,9 @@ def _ezsignbulksend_reorder_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3082,11 +3114,12 @@ def _ezsignbulksend_reorder_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_ezsignbulksenddocumentmapping_api.py b/eZmaxApi/api/object_ezsignbulksenddocumentmapping_api.py index 1ca883149..e0148fd71 100644 --- a/eZmaxApi/api/object_ezsignbulksenddocumentmapping_api.py +++ b/eZmaxApi/api/object_ezsignbulksenddocumentmapping_api.py @@ -260,7 +260,9 @@ def _ezsignbulksenddocumentmapping_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -273,11 +275,12 @@ def _ezsignbulksenddocumentmapping_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -534,7 +537,9 @@ def _ezsignbulksenddocumentmapping_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -547,11 +552,12 @@ def _ezsignbulksenddocumentmapping_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -795,7 +801,9 @@ def _ezsignbulksenddocumentmapping_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -808,11 +816,12 @@ def _ezsignbulksenddocumentmapping_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsignbulksendsignermapping_api.py b/eZmaxApi/api/object_ezsignbulksendsignermapping_api.py index c7e681768..5a90627b3 100644 --- a/eZmaxApi/api/object_ezsignbulksendsignermapping_api.py +++ b/eZmaxApi/api/object_ezsignbulksendsignermapping_api.py @@ -257,7 +257,9 @@ def _ezsignbulksendsignermapping_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +272,12 @@ def _ezsignbulksendsignermapping_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -531,7 +534,9 @@ def _ezsignbulksendsignermapping_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -544,11 +549,12 @@ def _ezsignbulksendsignermapping_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -792,7 +798,9 @@ def _ezsignbulksendsignermapping_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -805,11 +813,12 @@ def _ezsignbulksendsignermapping_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsignbulksendtransmission_api.py b/eZmaxApi/api/object_ezsignbulksendtransmission_api.py index 492ac5511..fdd656a34 100644 --- a/eZmaxApi/api/object_ezsignbulksendtransmission_api.py +++ b/eZmaxApi/api/object_ezsignbulksendtransmission_api.py @@ -17,7 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field +from pydantic import Field, StrictStr from typing_extensions import Annotated from eZmaxApi.models.ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response import EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response from eZmaxApi.models.ezsignbulksendtransmission_get_forms_data_v1_response import EzsignbulksendtransmissionGetFormsDataV1Response @@ -265,7 +265,9 @@ def _ezsignbulksendtransmission_get_csv_errors_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -278,12 +280,13 @@ def _ezsignbulksendtransmission_get_csv_errors_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'text/csv', - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'text/csv', + 'application/json' + ] + ) # authentication setting @@ -527,7 +530,9 @@ def _ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -540,11 +545,12 @@ def _ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -794,7 +800,9 @@ def _ezsignbulksendtransmission_get_forms_data_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -807,12 +815,13 @@ def _ezsignbulksendtransmission_get_forms_data_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/zip' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/zip' + ] + ) # authentication setting @@ -1056,7 +1065,9 @@ def _ezsignbulksendtransmission_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1069,11 +1080,12 @@ def _ezsignbulksendtransmission_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsigndiscussion_api.py b/eZmaxApi/api/object_ezsigndiscussion_api.py index 18d63e323..c2cf5ae37 100644 --- a/eZmaxApi/api/object_ezsigndiscussion_api.py +++ b/eZmaxApi/api/object_ezsigndiscussion_api.py @@ -257,7 +257,9 @@ def _ezsigndiscussion_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +272,12 @@ def _ezsigndiscussion_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -531,7 +534,9 @@ def _ezsigndiscussion_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -544,11 +549,12 @@ def _ezsigndiscussion_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -792,7 +798,9 @@ def _ezsigndiscussion_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -805,11 +813,12 @@ def _ezsigndiscussion_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsigndocument_api.py b/eZmaxApi/api/object_ezsigndocument_api.py index c58e98710..d3b7ec329 100644 --- a/eZmaxApi/api/object_ezsigndocument_api.py +++ b/eZmaxApi/api/object_ezsigndocument_api.py @@ -32,14 +32,22 @@ from eZmaxApi.models.ezsigndocument_create_object_v1_response import EzsigndocumentCreateObjectV1Response from eZmaxApi.models.ezsigndocument_create_object_v2_request import EzsigndocumentCreateObjectV2Request from eZmaxApi.models.ezsigndocument_create_object_v2_response import EzsigndocumentCreateObjectV2Response +from eZmaxApi.models.ezsigndocument_create_object_v3_request import EzsigndocumentCreateObjectV3Request +from eZmaxApi.models.ezsigndocument_create_object_v3_response import EzsigndocumentCreateObjectV3Response from eZmaxApi.models.ezsigndocument_decline_to_sign_v1_request import EzsigndocumentDeclineToSignV1Request from eZmaxApi.models.ezsigndocument_decline_to_sign_v1_response import EzsigndocumentDeclineToSignV1Response from eZmaxApi.models.ezsigndocument_delete_object_v1_response import EzsigndocumentDeleteObjectV1Response +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_request import EzsigndocumentEditEzsignannotationsV1Request +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response import EzsigndocumentEditEzsignannotationsV1Response from eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_request import EzsigndocumentEditEzsignformfieldgroupsV1Request from eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_response import EzsigndocumentEditEzsignformfieldgroupsV1Response from eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_request import EzsigndocumentEditEzsignsignaturesV1Request from eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_response import EzsigndocumentEditEzsignsignaturesV1Response +from eZmaxApi.models.ezsigndocument_edit_object_v1_request import EzsigndocumentEditObjectV1Request +from eZmaxApi.models.ezsigndocument_edit_object_v1_response import EzsigndocumentEditObjectV1Response from eZmaxApi.models.ezsigndocument_end_prematurely_v1_response import EzsigndocumentEndPrematurelyV1Response +from eZmaxApi.models.ezsigndocument_extract_text_v1_request import EzsigndocumentExtractTextV1Request +from eZmaxApi.models.ezsigndocument_extract_text_v1_response import EzsigndocumentExtractTextV1Response from eZmaxApi.models.ezsigndocument_flatten_v1_response import EzsigndocumentFlattenV1Response from eZmaxApi.models.ezsigndocument_get_actionable_elements_v1_response import EzsigndocumentGetActionableElementsV1Response from eZmaxApi.models.ezsigndocument_get_attachments_v1_response import EzsigndocumentGetAttachmentsV1Response @@ -318,7 +326,9 @@ def _ezsigndocument_apply_ezsigntemplate_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -333,11 +343,12 @@ def _ezsigndocument_apply_ezsigntemplate_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -610,7 +621,9 @@ def _ezsigndocument_apply_ezsigntemplate_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -625,11 +638,12 @@ def _ezsigndocument_apply_ezsigntemplate_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -902,7 +916,9 @@ def _ezsigndocument_apply_ezsigntemplateglobal_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -917,11 +933,12 @@ def _ezsigndocument_apply_ezsigntemplateglobal_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1194,7 +1211,9 @@ def _ezsigndocument_create_ezsignelements_positioned_by_word_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1209,11 +1228,12 @@ def _ezsigndocument_create_ezsignelements_positioned_by_word_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1477,7 +1497,9 @@ def _ezsigndocument_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1490,11 +1512,12 @@ def _ezsigndocument_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1550,7 +1573,7 @@ def ezsigndocument_create_object_v2( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> EzsigndocumentCreateObjectV2Response: - """Create a new Ezsigndocument + """(Deprecated) Create a new Ezsigndocument The endpoint allows to create one or many elements at once. @@ -1577,6 +1600,7 @@ def ezsigndocument_create_object_v2( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /2/object/ezsigndocument is deprecated.", DeprecationWarning) _param = self._ezsigndocument_create_object_v2_serialize( ezsigndocument_create_object_v2_request=ezsigndocument_create_object_v2_request, @@ -1618,7 +1642,7 @@ def ezsigndocument_create_object_v2_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[EzsigndocumentCreateObjectV2Response]: - """Create a new Ezsigndocument + """(Deprecated) Create a new Ezsigndocument The endpoint allows to create one or many elements at once. @@ -1645,6 +1669,7 @@ def ezsigndocument_create_object_v2_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /2/object/ezsigndocument is deprecated.", DeprecationWarning) _param = self._ezsigndocument_create_object_v2_serialize( ezsigndocument_create_object_v2_request=ezsigndocument_create_object_v2_request, @@ -1686,7 +1711,7 @@ def ezsigndocument_create_object_v2_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create a new Ezsigndocument + """(Deprecated) Create a new Ezsigndocument The endpoint allows to create one or many elements at once. @@ -1713,6 +1738,7 @@ def ezsigndocument_create_object_v2_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /2/object/ezsigndocument is deprecated.", DeprecationWarning) _param = self._ezsigndocument_create_object_v2_serialize( ezsigndocument_create_object_v2_request=ezsigndocument_create_object_v2_request, @@ -1751,7 +1777,9 @@ def _ezsigndocument_create_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1764,11 +1792,12 @@ def _ezsigndocument_create_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1808,10 +1837,9 @@ def _ezsigndocument_create_object_v2_serialize( @validate_call - def ezsigndocument_decline_to_sign_v1( + def ezsigndocument_create_object_v3( self, - pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request, + ezsigndocument_create_object_v3_request: EzsigndocumentCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1824,15 +1852,13 @@ def ezsigndocument_decline_to_sign_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigndocumentDeclineToSignV1Response: - """Decline to sign + ) -> EzsigndocumentCreateObjectV3Response: + """Create a new Ezsigndocument - Decline to sign + The endpoint allows to create one or many elements at once. - :param pki_ezsigndocument_id: (required) - :type pki_ezsigndocument_id: int - :param ezsigndocument_decline_to_sign_v1_request: (required) - :type ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request + :param ezsigndocument_create_object_v3_request: (required) + :type ezsigndocument_create_object_v3_request: EzsigndocumentCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1855,9 +1881,8 @@ def ezsigndocument_decline_to_sign_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_decline_to_sign_v1_serialize( - pki_ezsigndocument_id=pki_ezsigndocument_id, - ezsigndocument_decline_to_sign_v1_request=ezsigndocument_decline_to_sign_v1_request, + _param = self._ezsigndocument_create_object_v3_serialize( + ezsigndocument_create_object_v3_request=ezsigndocument_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1865,9 +1890,8 @@ def ezsigndocument_decline_to_sign_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentDeclineToSignV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", + '201': "EzsigndocumentCreateObjectV3Response", + '422': "CommonResponseErrorSTemporaryFileUrl", } response_data = self.api_client.call_api( *_param, @@ -1881,10 +1905,9 @@ def ezsigndocument_decline_to_sign_v1( @validate_call - def ezsigndocument_decline_to_sign_v1_with_http_info( + def ezsigndocument_create_object_v3_with_http_info( self, - pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request, + ezsigndocument_create_object_v3_request: EzsigndocumentCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1897,15 +1920,13 @@ def ezsigndocument_decline_to_sign_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigndocumentDeclineToSignV1Response]: - """Decline to sign + ) -> ApiResponse[EzsigndocumentCreateObjectV3Response]: + """Create a new Ezsigndocument - Decline to sign + The endpoint allows to create one or many elements at once. - :param pki_ezsigndocument_id: (required) - :type pki_ezsigndocument_id: int - :param ezsigndocument_decline_to_sign_v1_request: (required) - :type ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request + :param ezsigndocument_create_object_v3_request: (required) + :type ezsigndocument_create_object_v3_request: EzsigndocumentCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1928,9 +1949,8 @@ def ezsigndocument_decline_to_sign_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_decline_to_sign_v1_serialize( - pki_ezsigndocument_id=pki_ezsigndocument_id, - ezsigndocument_decline_to_sign_v1_request=ezsigndocument_decline_to_sign_v1_request, + _param = self._ezsigndocument_create_object_v3_serialize( + ezsigndocument_create_object_v3_request=ezsigndocument_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1938,9 +1958,8 @@ def ezsigndocument_decline_to_sign_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentDeclineToSignV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", + '201': "EzsigndocumentCreateObjectV3Response", + '422': "CommonResponseErrorSTemporaryFileUrl", } response_data = self.api_client.call_api( *_param, @@ -1954,10 +1973,9 @@ def ezsigndocument_decline_to_sign_v1_with_http_info( @validate_call - def ezsigndocument_decline_to_sign_v1_without_preload_content( + def ezsigndocument_create_object_v3_without_preload_content( self, - pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request, + ezsigndocument_create_object_v3_request: EzsigndocumentCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1971,14 +1989,12 @@ def ezsigndocument_decline_to_sign_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Decline to sign + """Create a new Ezsigndocument - Decline to sign + The endpoint allows to create one or many elements at once. - :param pki_ezsigndocument_id: (required) - :type pki_ezsigndocument_id: int - :param ezsigndocument_decline_to_sign_v1_request: (required) - :type ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request + :param ezsigndocument_create_object_v3_request: (required) + :type ezsigndocument_create_object_v3_request: EzsigndocumentCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2001,9 +2017,8 @@ def ezsigndocument_decline_to_sign_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_decline_to_sign_v1_serialize( - pki_ezsigndocument_id=pki_ezsigndocument_id, - ezsigndocument_decline_to_sign_v1_request=ezsigndocument_decline_to_sign_v1_request, + _param = self._ezsigndocument_create_object_v3_serialize( + ezsigndocument_create_object_v3_request=ezsigndocument_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2011,9 +2026,8 @@ def ezsigndocument_decline_to_sign_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentDeclineToSignV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", + '201': "EzsigndocumentCreateObjectV3Response", + '422': "CommonResponseErrorSTemporaryFileUrl", } response_data = self.api_client.call_api( *_param, @@ -2022,10 +2036,9 @@ def ezsigndocument_decline_to_sign_v1_without_preload_content( return response_data.response - def _ezsigndocument_decline_to_sign_v1_serialize( + def _ezsigndocument_create_object_v3_serialize( self, - pki_ezsigndocument_id, - ezsigndocument_decline_to_sign_v1_request, + ezsigndocument_create_object_v3_request, _request_auth, _content_type, _headers, @@ -2041,26 +2054,27 @@ def _ezsigndocument_decline_to_sign_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters - if pki_ezsigndocument_id is not None: - _path_params['pkiEzsigndocumentID'] = pki_ezsigndocument_id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if ezsigndocument_decline_to_sign_v1_request is not None: - _body_params = ezsigndocument_decline_to_sign_v1_request + if ezsigndocument_create_object_v3_request is not None: + _body_params = ezsigndocument_create_object_v3_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -2083,7 +2097,7 @@ def _ezsigndocument_decline_to_sign_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}/declineToSign', + resource_path='/3/object/ezsigndocument', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2100,9 +2114,10 @@ def _ezsigndocument_decline_to_sign_v1_serialize( @validate_call - def ezsigndocument_delete_object_v1( + def ezsigndocument_decline_to_sign_v1( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2115,13 +2130,15 @@ def ezsigndocument_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigndocumentDeleteObjectV1Response: - """Delete an existing Ezsigndocument + ) -> EzsigndocumentDeclineToSignV1Response: + """Decline to sign - + Decline to sign :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int + :param ezsigndocument_decline_to_sign_v1_request: (required) + :type ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2144,8 +2161,9 @@ def ezsigndocument_delete_object_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_delete_object_v1_serialize( + _param = self._ezsigndocument_decline_to_sign_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_decline_to_sign_v1_request=ezsigndocument_decline_to_sign_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2153,7 +2171,7 @@ def ezsigndocument_delete_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentDeleteObjectV1Response", + '200': "EzsigndocumentDeclineToSignV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2169,9 +2187,10 @@ def ezsigndocument_delete_object_v1( @validate_call - def ezsigndocument_delete_object_v1_with_http_info( + def ezsigndocument_decline_to_sign_v1_with_http_info( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2184,13 +2203,15 @@ def ezsigndocument_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigndocumentDeleteObjectV1Response]: - """Delete an existing Ezsigndocument + ) -> ApiResponse[EzsigndocumentDeclineToSignV1Response]: + """Decline to sign - + Decline to sign :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int + :param ezsigndocument_decline_to_sign_v1_request: (required) + :type ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2213,8 +2234,1161 @@ def ezsigndocument_delete_object_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_delete_object_v1_serialize( + _param = self._ezsigndocument_decline_to_sign_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_decline_to_sign_v1_request=ezsigndocument_decline_to_sign_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentDeclineToSignV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigndocument_decline_to_sign_v1_without_preload_content( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Decline to sign + + Decline to sign + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param ezsigndocument_decline_to_sign_v1_request: (required) + :type ezsigndocument_decline_to_sign_v1_request: EzsigndocumentDeclineToSignV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_decline_to_sign_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_decline_to_sign_v1_request=ezsigndocument_decline_to_sign_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentDeclineToSignV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigndocument_decline_to_sign_v1_serialize( + self, + pki_ezsigndocument_id, + ezsigndocument_decline_to_sign_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigndocument_id is not None: + _path_params['pkiEzsigndocumentID'] = pki_ezsigndocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigndocument_decline_to_sign_v1_request is not None: + _body_params = ezsigndocument_decline_to_sign_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}/declineToSign', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigndocument_delete_object_v1( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigndocumentDeleteObjectV1Response: + """Delete an existing Ezsigndocument + + + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_delete_object_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentDeleteObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigndocument_delete_object_v1_with_http_info( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigndocumentDeleteObjectV1Response]: + """Delete an existing Ezsigndocument + + + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_delete_object_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentDeleteObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigndocument_delete_object_v1_without_preload_content( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete an existing Ezsigndocument + + + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_delete_object_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentDeleteObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigndocument_delete_object_v1_serialize( + self, + pki_ezsigndocument_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigndocument_id is not None: + _path_params['pkiEzsigndocumentID'] = pki_ezsigndocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigndocument_edit_ezsignannotations_v1( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_edit_ezsignannotations_v1_request: EzsigndocumentEditEzsignannotationsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigndocumentEditEzsignannotationsV1Response: + """Edit multiple Ezsignannotations + + Using this endpoint, you can edit multiple Ezsignannotations at the same time. + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param ezsigndocument_edit_ezsignannotations_v1_request: (required) + :type ezsigndocument_edit_ezsignannotations_v1_request: EzsigndocumentEditEzsignannotationsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_edit_ezsignannotations_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_edit_ezsignannotations_v1_request=ezsigndocument_edit_ezsignannotations_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentEditEzsignannotationsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigndocument_edit_ezsignannotations_v1_with_http_info( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_edit_ezsignannotations_v1_request: EzsigndocumentEditEzsignannotationsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigndocumentEditEzsignannotationsV1Response]: + """Edit multiple Ezsignannotations + + Using this endpoint, you can edit multiple Ezsignannotations at the same time. + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param ezsigndocument_edit_ezsignannotations_v1_request: (required) + :type ezsigndocument_edit_ezsignannotations_v1_request: EzsigndocumentEditEzsignannotationsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_edit_ezsignannotations_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_edit_ezsignannotations_v1_request=ezsigndocument_edit_ezsignannotations_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentEditEzsignannotationsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigndocument_edit_ezsignannotations_v1_without_preload_content( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_edit_ezsignannotations_v1_request: EzsigndocumentEditEzsignannotationsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit multiple Ezsignannotations + + Using this endpoint, you can edit multiple Ezsignannotations at the same time. + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param ezsigndocument_edit_ezsignannotations_v1_request: (required) + :type ezsigndocument_edit_ezsignannotations_v1_request: EzsigndocumentEditEzsignannotationsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_edit_ezsignannotations_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_edit_ezsignannotations_v1_request=ezsigndocument_edit_ezsignannotations_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentEditEzsignannotationsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigndocument_edit_ezsignannotations_v1_serialize( + self, + pki_ezsigndocument_id, + ezsigndocument_edit_ezsignannotations_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigndocument_id is not None: + _path_params['pkiEzsigndocumentID'] = pki_ezsigndocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigndocument_edit_ezsignannotations_v1_request is not None: + _body_params = ezsigndocument_edit_ezsignannotations_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannotations', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigndocument_edit_ezsignformfieldgroups_v1( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigndocumentEditEzsignformfieldgroupsV1Response: + """Edit multiple Ezsignformfieldgroups + + Using this endpoint, you can edit multiple Ezsignformfieldgroups at the same time. + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param ezsigndocument_edit_ezsignformfieldgroups_v1_request: (required) + :type ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_edit_ezsignformfieldgroups_v1_request=ezsigndocument_edit_ezsignformfieldgroups_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentEditEzsignformfieldgroupsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigndocument_edit_ezsignformfieldgroups_v1_with_http_info( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigndocumentEditEzsignformfieldgroupsV1Response]: + """Edit multiple Ezsignformfieldgroups + + Using this endpoint, you can edit multiple Ezsignformfieldgroups at the same time. + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param ezsigndocument_edit_ezsignformfieldgroups_v1_request: (required) + :type ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_edit_ezsignformfieldgroups_v1_request=ezsigndocument_edit_ezsignformfieldgroups_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentEditEzsignformfieldgroupsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigndocument_edit_ezsignformfieldgroups_v1_without_preload_content( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit multiple Ezsignformfieldgroups + + Using this endpoint, you can edit multiple Ezsignformfieldgroups at the same time. + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param ezsigndocument_edit_ezsignformfieldgroups_v1_request: (required) + :type ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_edit_ezsignformfieldgroups_v1_request=ezsigndocument_edit_ezsignformfieldgroups_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentEditEzsignformfieldgroupsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( + self, + pki_ezsigndocument_id, + ezsigndocument_edit_ezsignformfieldgroups_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigndocument_id is not None: + _path_params['pkiEzsigndocumentID'] = pki_ezsigndocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigndocument_edit_ezsignformfieldgroups_v1_request is not None: + _body_params = ezsigndocument_edit_ezsignformfieldgroups_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignformfieldgroups', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigndocument_edit_ezsignsignatures_v1( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigndocumentEditEzsignsignaturesV1Response: + """Edit multiple Ezsignsignatures + + Using this endpoint, you can edit multiple Ezsignsignatures at the same time. + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param ezsigndocument_edit_ezsignsignatures_v1_request: (required) + :type ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_edit_ezsignsignatures_v1_serialize( + pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_edit_ezsignsignatures_v1_request=ezsigndocument_edit_ezsignsignatures_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigndocumentEditEzsignsignaturesV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigndocument_edit_ezsignsignatures_v1_with_http_info( + self, + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigndocumentEditEzsignsignaturesV1Response]: + """Edit multiple Ezsignsignatures + + Using this endpoint, you can edit multiple Ezsignsignatures at the same time. + + :param pki_ezsigndocument_id: (required) + :type pki_ezsigndocument_id: int + :param ezsigndocument_edit_ezsignsignatures_v1_request: (required) + :type ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigndocument_edit_ezsignsignatures_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_edit_ezsignsignatures_v1_request=ezsigndocument_edit_ezsignsignatures_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2222,7 +3396,7 @@ def ezsigndocument_delete_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentDeleteObjectV1Response", + '200': "EzsigndocumentEditEzsignsignaturesV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2238,9 +3412,10 @@ def ezsigndocument_delete_object_v1_with_http_info( @validate_call - def ezsigndocument_delete_object_v1_without_preload_content( + def ezsigndocument_edit_ezsignsignatures_v1_without_preload_content( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2254,12 +3429,14 @@ def ezsigndocument_delete_object_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete an existing Ezsigndocument + """Edit multiple Ezsignsignatures - + Using this endpoint, you can edit multiple Ezsignsignatures at the same time. :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int + :param ezsigndocument_edit_ezsignsignatures_v1_request: (required) + :type ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2282,8 +3459,9 @@ def ezsigndocument_delete_object_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_delete_object_v1_serialize( + _param = self._ezsigndocument_edit_ezsignsignatures_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, + ezsigndocument_edit_ezsignsignatures_v1_request=ezsigndocument_edit_ezsignsignatures_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2291,7 +3469,7 @@ def ezsigndocument_delete_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentDeleteObjectV1Response", + '200': "EzsigndocumentEditEzsignsignaturesV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2302,9 +3480,10 @@ def ezsigndocument_delete_object_v1_without_preload_content( return response_data.response - def _ezsigndocument_delete_object_v1_serialize( + def _ezsigndocument_edit_ezsignsignatures_v1_serialize( self, pki_ezsigndocument_id, + ezsigndocument_edit_ezsignsignatures_v1_request, _request_auth, _content_type, _headers, @@ -2320,7 +3499,9 @@ def _ezsigndocument_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2330,15 +3511,31 @@ def _ezsigndocument_delete_object_v1_serialize( # process the header parameters # process the form parameters # process the body parameter + if ezsigndocument_edit_ezsignsignatures_v1_request is not None: + _body_params = ezsigndocument_edit_ezsignsignatures_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -2346,8 +3543,8 @@ def _ezsigndocument_delete_object_v1_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}', + method='PUT', + resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignsignatures', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2364,10 +3561,10 @@ def _ezsigndocument_delete_object_v1_serialize( @validate_call - def ezsigndocument_edit_ezsignformfieldgroups_v1( + def ezsigndocument_edit_object_v1( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request, + ezsigndocument_edit_object_v1_request: EzsigndocumentEditObjectV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2380,15 +3577,15 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigndocumentEditEzsignformfieldgroupsV1Response: - """Edit multiple Ezsignformfieldgroups + ) -> EzsigndocumentEditObjectV1Response: + """Edit an existing Ezsigndocument - Using this endpoint, you can edit multiple Ezsignformfieldgroups at the same time. + :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int - :param ezsigndocument_edit_ezsignformfieldgroups_v1_request: (required) - :type ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request + :param ezsigndocument_edit_object_v1_request: (required) + :type ezsigndocument_edit_object_v1_request: EzsigndocumentEditObjectV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2411,9 +3608,9 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( + _param = self._ezsigndocument_edit_object_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, - ezsigndocument_edit_ezsignformfieldgroups_v1_request=ezsigndocument_edit_ezsignformfieldgroups_v1_request, + ezsigndocument_edit_object_v1_request=ezsigndocument_edit_object_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2421,9 +3618,9 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentEditEzsignformfieldgroupsV1Response", + '200': "EzsigndocumentEditObjectV1Response", '404': "CommonResponseError", - '422': "CommonResponseError", + '422': "CommonResponseErrorSTemporaryFileUrl", } response_data = self.api_client.call_api( *_param, @@ -2437,10 +3634,10 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1( @validate_call - def ezsigndocument_edit_ezsignformfieldgroups_v1_with_http_info( + def ezsigndocument_edit_object_v1_with_http_info( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request, + ezsigndocument_edit_object_v1_request: EzsigndocumentEditObjectV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2453,15 +3650,15 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigndocumentEditEzsignformfieldgroupsV1Response]: - """Edit multiple Ezsignformfieldgroups + ) -> ApiResponse[EzsigndocumentEditObjectV1Response]: + """Edit an existing Ezsigndocument - Using this endpoint, you can edit multiple Ezsignformfieldgroups at the same time. + :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int - :param ezsigndocument_edit_ezsignformfieldgroups_v1_request: (required) - :type ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request + :param ezsigndocument_edit_object_v1_request: (required) + :type ezsigndocument_edit_object_v1_request: EzsigndocumentEditObjectV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2484,9 +3681,9 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( + _param = self._ezsigndocument_edit_object_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, - ezsigndocument_edit_ezsignformfieldgroups_v1_request=ezsigndocument_edit_ezsignformfieldgroups_v1_request, + ezsigndocument_edit_object_v1_request=ezsigndocument_edit_object_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2494,9 +3691,9 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentEditEzsignformfieldgroupsV1Response", + '200': "EzsigndocumentEditObjectV1Response", '404': "CommonResponseError", - '422': "CommonResponseError", + '422': "CommonResponseErrorSTemporaryFileUrl", } response_data = self.api_client.call_api( *_param, @@ -2510,10 +3707,10 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1_with_http_info( @validate_call - def ezsigndocument_edit_ezsignformfieldgroups_v1_without_preload_content( + def ezsigndocument_edit_object_v1_without_preload_content( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request, + ezsigndocument_edit_object_v1_request: EzsigndocumentEditObjectV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2527,14 +3724,14 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Edit multiple Ezsignformfieldgroups + """Edit an existing Ezsigndocument - Using this endpoint, you can edit multiple Ezsignformfieldgroups at the same time. + :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int - :param ezsigndocument_edit_ezsignformfieldgroups_v1_request: (required) - :type ezsigndocument_edit_ezsignformfieldgroups_v1_request: EzsigndocumentEditEzsignformfieldgroupsV1Request + :param ezsigndocument_edit_object_v1_request: (required) + :type ezsigndocument_edit_object_v1_request: EzsigndocumentEditObjectV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2557,9 +3754,9 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( + _param = self._ezsigndocument_edit_object_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, - ezsigndocument_edit_ezsignformfieldgroups_v1_request=ezsigndocument_edit_ezsignformfieldgroups_v1_request, + ezsigndocument_edit_object_v1_request=ezsigndocument_edit_object_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2567,9 +3764,9 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentEditEzsignformfieldgroupsV1Response", + '200': "EzsigndocumentEditObjectV1Response", '404': "CommonResponseError", - '422': "CommonResponseError", + '422': "CommonResponseErrorSTemporaryFileUrl", } response_data = self.api_client.call_api( *_param, @@ -2578,10 +3775,10 @@ def ezsigndocument_edit_ezsignformfieldgroups_v1_without_preload_content( return response_data.response - def _ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( + def _ezsigndocument_edit_object_v1_serialize( self, pki_ezsigndocument_id, - ezsigndocument_edit_ezsignformfieldgroups_v1_request, + ezsigndocument_edit_object_v1_request, _request_auth, _content_type, _headers, @@ -2597,7 +3794,9 @@ def _ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2607,16 +3806,17 @@ def _ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsigndocument_edit_ezsignformfieldgroups_v1_request is not None: - _body_params = ezsigndocument_edit_ezsignformfieldgroups_v1_request + if ezsigndocument_edit_object_v1_request is not None: + _body_params = ezsigndocument_edit_object_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -2639,7 +3839,7 @@ def _ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignformfieldgroups', + resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2656,10 +3856,10 @@ def _ezsigndocument_edit_ezsignformfieldgroups_v1_serialize( @validate_call - def ezsigndocument_edit_ezsignsignatures_v1( + def ezsigndocument_end_prematurely_v1( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2672,15 +3872,15 @@ def ezsigndocument_edit_ezsignsignatures_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigndocumentEditEzsignsignaturesV1Response: - """Edit multiple Ezsignsignatures + ) -> EzsigndocumentEndPrematurelyV1Response: + """End prematurely - Using this endpoint, you can edit multiple Ezsignsignatures at the same time. + End prematurely an Ezsigndocument when some signatures are still required :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int - :param ezsigndocument_edit_ezsignsignatures_v1_request: (required) - :type ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2703,9 +3903,9 @@ def ezsigndocument_edit_ezsignsignatures_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_edit_ezsignsignatures_v1_serialize( + _param = self._ezsigndocument_end_prematurely_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, - ezsigndocument_edit_ezsignsignatures_v1_request=ezsigndocument_edit_ezsignsignatures_v1_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2713,7 +3913,7 @@ def ezsigndocument_edit_ezsignsignatures_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentEditEzsignsignaturesV1Response", + '200': "EzsigndocumentEndPrematurelyV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2729,10 +3929,10 @@ def ezsigndocument_edit_ezsignsignatures_v1( @validate_call - def ezsigndocument_edit_ezsignsignatures_v1_with_http_info( + def ezsigndocument_end_prematurely_v1_with_http_info( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2745,15 +3945,15 @@ def ezsigndocument_edit_ezsignsignatures_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigndocumentEditEzsignsignaturesV1Response]: - """Edit multiple Ezsignsignatures + ) -> ApiResponse[EzsigndocumentEndPrematurelyV1Response]: + """End prematurely - Using this endpoint, you can edit multiple Ezsignsignatures at the same time. + End prematurely an Ezsigndocument when some signatures are still required :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int - :param ezsigndocument_edit_ezsignsignatures_v1_request: (required) - :type ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2776,9 +3976,9 @@ def ezsigndocument_edit_ezsignsignatures_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_edit_ezsignsignatures_v1_serialize( + _param = self._ezsigndocument_end_prematurely_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, - ezsigndocument_edit_ezsignsignatures_v1_request=ezsigndocument_edit_ezsignsignatures_v1_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2786,7 +3986,7 @@ def ezsigndocument_edit_ezsignsignatures_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentEditEzsignsignaturesV1Response", + '200': "EzsigndocumentEndPrematurelyV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2802,10 +4002,10 @@ def ezsigndocument_edit_ezsignsignatures_v1_with_http_info( @validate_call - def ezsigndocument_edit_ezsignsignatures_v1_without_preload_content( + def ezsigndocument_end_prematurely_v1_without_preload_content( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2819,14 +4019,14 @@ def ezsigndocument_edit_ezsignsignatures_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Edit multiple Ezsignsignatures + """End prematurely - Using this endpoint, you can edit multiple Ezsignsignatures at the same time. + End prematurely an Ezsigndocument when some signatures are still required :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int - :param ezsigndocument_edit_ezsignsignatures_v1_request: (required) - :type ezsigndocument_edit_ezsignsignatures_v1_request: EzsigndocumentEditEzsignsignaturesV1Request + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2849,9 +4049,9 @@ def ezsigndocument_edit_ezsignsignatures_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_edit_ezsignsignatures_v1_serialize( + _param = self._ezsigndocument_end_prematurely_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, - ezsigndocument_edit_ezsignsignatures_v1_request=ezsigndocument_edit_ezsignsignatures_v1_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2859,7 +4059,7 @@ def ezsigndocument_edit_ezsignsignatures_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentEditEzsignsignaturesV1Response", + '200': "EzsigndocumentEndPrematurelyV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2870,10 +4070,10 @@ def ezsigndocument_edit_ezsignsignatures_v1_without_preload_content( return response_data.response - def _ezsigndocument_edit_ezsignsignatures_v1_serialize( + def _ezsigndocument_end_prematurely_v1_serialize( self, pki_ezsigndocument_id, - ezsigndocument_edit_ezsignsignatures_v1_request, + body, _request_auth, _content_type, _headers, @@ -2889,7 +4089,9 @@ def _ezsigndocument_edit_ezsignsignatures_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2899,16 +4101,17 @@ def _ezsigndocument_edit_ezsignsignatures_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsigndocument_edit_ezsignsignatures_v1_request is not None: - _body_params = ezsigndocument_edit_ezsignsignatures_v1_request + if body is not None: + _body_params = body # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -2930,8 +4133,8 @@ def _ezsigndocument_edit_ezsignsignatures_v1_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignsignatures', + method='POST', + resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}/endPrematurely', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2948,10 +4151,10 @@ def _ezsigndocument_edit_ezsignsignatures_v1_serialize( @validate_call - def ezsigndocument_end_prematurely_v1( + def ezsigndocument_extract_text_v1( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], + ezsigndocument_extract_text_v1_request: EzsigndocumentExtractTextV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2964,15 +4167,15 @@ def ezsigndocument_end_prematurely_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigndocumentEndPrematurelyV1Response: - """End prematurely + ) -> EzsigndocumentExtractTextV1Response: + """Extract text from Ezsigndocument area - End prematurely an Ezsigndocument when some signatures are still required + Extract text from Ezsigndocument area :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int - :param body: (required) - :type body: object + :param ezsigndocument_extract_text_v1_request: (required) + :type ezsigndocument_extract_text_v1_request: EzsigndocumentExtractTextV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2995,9 +4198,9 @@ def ezsigndocument_end_prematurely_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_end_prematurely_v1_serialize( + _param = self._ezsigndocument_extract_text_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, - body=body, + ezsigndocument_extract_text_v1_request=ezsigndocument_extract_text_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3005,7 +4208,7 @@ def ezsigndocument_end_prematurely_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentEndPrematurelyV1Response", + '200': "EzsigndocumentExtractTextV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -3021,10 +4224,10 @@ def ezsigndocument_end_prematurely_v1( @validate_call - def ezsigndocument_end_prematurely_v1_with_http_info( + def ezsigndocument_extract_text_v1_with_http_info( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], + ezsigndocument_extract_text_v1_request: EzsigndocumentExtractTextV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3037,15 +4240,15 @@ def ezsigndocument_end_prematurely_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigndocumentEndPrematurelyV1Response]: - """End prematurely + ) -> ApiResponse[EzsigndocumentExtractTextV1Response]: + """Extract text from Ezsigndocument area - End prematurely an Ezsigndocument when some signatures are still required + Extract text from Ezsigndocument area :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int - :param body: (required) - :type body: object + :param ezsigndocument_extract_text_v1_request: (required) + :type ezsigndocument_extract_text_v1_request: EzsigndocumentExtractTextV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3068,9 +4271,9 @@ def ezsigndocument_end_prematurely_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_end_prematurely_v1_serialize( + _param = self._ezsigndocument_extract_text_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, - body=body, + ezsigndocument_extract_text_v1_request=ezsigndocument_extract_text_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3078,7 +4281,7 @@ def ezsigndocument_end_prematurely_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentEndPrematurelyV1Response", + '200': "EzsigndocumentExtractTextV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -3094,10 +4297,10 @@ def ezsigndocument_end_prematurely_v1_with_http_info( @validate_call - def ezsigndocument_end_prematurely_v1_without_preload_content( + def ezsigndocument_extract_text_v1_without_preload_content( self, pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], + ezsigndocument_extract_text_v1_request: EzsigndocumentExtractTextV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3111,14 +4314,14 @@ def ezsigndocument_end_prematurely_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """End prematurely + """Extract text from Ezsigndocument area - End prematurely an Ezsigndocument when some signatures are still required + Extract text from Ezsigndocument area :param pki_ezsigndocument_id: (required) :type pki_ezsigndocument_id: int - :param body: (required) - :type body: object + :param ezsigndocument_extract_text_v1_request: (required) + :type ezsigndocument_extract_text_v1_request: EzsigndocumentExtractTextV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3141,9 +4344,9 @@ def ezsigndocument_end_prematurely_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigndocument_end_prematurely_v1_serialize( + _param = self._ezsigndocument_extract_text_v1_serialize( pki_ezsigndocument_id=pki_ezsigndocument_id, - body=body, + ezsigndocument_extract_text_v1_request=ezsigndocument_extract_text_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3151,7 +4354,7 @@ def ezsigndocument_end_prematurely_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigndocumentEndPrematurelyV1Response", + '200': "EzsigndocumentExtractTextV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -3162,10 +4365,10 @@ def ezsigndocument_end_prematurely_v1_without_preload_content( return response_data.response - def _ezsigndocument_end_prematurely_v1_serialize( + def _ezsigndocument_extract_text_v1_serialize( self, pki_ezsigndocument_id, - body, + ezsigndocument_extract_text_v1_request, _request_auth, _content_type, _headers, @@ -3181,7 +4384,9 @@ def _ezsigndocument_end_prematurely_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3191,16 +4396,17 @@ def _ezsigndocument_end_prematurely_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if body is not None: - _body_params = body + if ezsigndocument_extract_text_v1_request is not None: + _body_params = ezsigndocument_extract_text_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -3223,7 +4429,7 @@ def _ezsigndocument_end_prematurely_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}/endPrematurely', + resource_path='/1/object/ezsigndocument/{pkiEzsigndocumentID}/extractText', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3473,7 +4679,9 @@ def _ezsigndocument_flatten_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3488,11 +4696,12 @@ def _ezsigndocument_flatten_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -3752,7 +4961,9 @@ def _ezsigndocument_get_actionable_elements_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3765,11 +4976,12 @@ def _ezsigndocument_get_actionable_elements_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -4013,7 +5225,9 @@ def _ezsigndocument_get_attachments_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4026,11 +5240,12 @@ def _ezsigndocument_get_attachments_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -4277,7 +5492,9 @@ def _ezsigndocument_get_completed_elements_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4290,11 +5507,12 @@ def _ezsigndocument_get_completed_elements_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -4554,7 +5772,9 @@ def _ezsigndocument_get_download_url_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4569,11 +5789,12 @@ def _ezsigndocument_get_download_url_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -4820,7 +6041,9 @@ def _ezsigndocument_get_ezsignannotations_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4833,11 +6056,12 @@ def _ezsigndocument_get_ezsignannotations_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -5084,7 +6308,9 @@ def _ezsigndocument_get_ezsigndiscussions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5097,11 +6323,12 @@ def _ezsigndocument_get_ezsigndiscussions_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -5348,7 +6575,9 @@ def _ezsigndocument_get_ezsignformfieldgroups_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5361,11 +6590,12 @@ def _ezsigndocument_get_ezsignformfieldgroups_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -5612,7 +6842,9 @@ def _ezsigndocument_get_ezsignpages_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5625,11 +6857,12 @@ def _ezsigndocument_get_ezsignpages_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -5873,7 +7106,9 @@ def _ezsigndocument_get_ezsignsignatures_automatic_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5886,11 +7121,12 @@ def _ezsigndocument_get_ezsignsignatures_automatic_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -6137,7 +7373,9 @@ def _ezsigndocument_get_ezsignsignatures_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6150,11 +7388,12 @@ def _ezsigndocument_get_ezsignsignatures_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -6404,7 +7643,9 @@ def _ezsigndocument_get_form_data_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6417,13 +7658,14 @@ def _ezsigndocument_get_form_data_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/zip', - 'text/csv' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/zip', + 'text/csv' + ] + ) # authentication setting @@ -6667,7 +7909,9 @@ def _ezsigndocument_get_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6680,11 +7924,12 @@ def _ezsigndocument_get_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -6928,7 +8173,9 @@ def _ezsigndocument_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6941,11 +8188,12 @@ def _ezsigndocument_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -7192,7 +8440,9 @@ def _ezsigndocument_get_temporary_proof_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7205,11 +8455,12 @@ def _ezsigndocument_get_temporary_proof_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -7469,7 +8720,9 @@ def _ezsigndocument_get_words_positions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7484,11 +8737,12 @@ def _ezsigndocument_get_words_positions_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -7761,7 +9015,9 @@ def _ezsigndocument_patch_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7776,11 +9032,12 @@ def _ezsigndocument_patch_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -8053,7 +9310,9 @@ def _ezsigndocument_submit_ezsignform_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -8068,11 +9327,12 @@ def _ezsigndocument_submit_ezsignform_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -8345,7 +9605,9 @@ def _ezsigndocument_unsend_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -8360,11 +9622,12 @@ def _ezsigndocument_unsend_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_ezsignfolder_api.py b/eZmaxApi/api/object_ezsignfolder_api.py index 982ed0cdd..07b9be3df 100644 --- a/eZmaxApi/api/object_ezsignfolder_api.py +++ b/eZmaxApi/api/object_ezsignfolder_api.py @@ -17,8 +17,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr, field_validator -from typing import Any, Dict, List, Optional +from pydantic import Field, StrictBytes, StrictStr, field_validator +from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated from eZmaxApi.models.ezsignfolder_archive_v1_response import EzsignfolderArchiveV1Response from eZmaxApi.models.ezsignfolder_batch_download_v1_request import EzsignfolderBatchDownloadV1Request @@ -26,12 +26,14 @@ from eZmaxApi.models.ezsignfolder_create_object_v1_response import EzsignfolderCreateObjectV1Response from eZmaxApi.models.ezsignfolder_create_object_v2_request import EzsignfolderCreateObjectV2Request from eZmaxApi.models.ezsignfolder_create_object_v2_response import EzsignfolderCreateObjectV2Response +from eZmaxApi.models.ezsignfolder_create_object_v3_request import EzsignfolderCreateObjectV3Request +from eZmaxApi.models.ezsignfolder_create_object_v3_response import EzsignfolderCreateObjectV3Response from eZmaxApi.models.ezsignfolder_delete_object_v1_response import EzsignfolderDeleteObjectV1Response from eZmaxApi.models.ezsignfolder_dispose_ezsignfolders_v1_request import EzsignfolderDisposeEzsignfoldersV1Request from eZmaxApi.models.ezsignfolder_dispose_ezsignfolders_v1_response import EzsignfolderDisposeEzsignfoldersV1Response from eZmaxApi.models.ezsignfolder_dispose_v1_response import EzsignfolderDisposeV1Response -from eZmaxApi.models.ezsignfolder_edit_object_v1_request import EzsignfolderEditObjectV1Request -from eZmaxApi.models.ezsignfolder_edit_object_v1_response import EzsignfolderEditObjectV1Response +from eZmaxApi.models.ezsignfolder_edit_object_v3_request import EzsignfolderEditObjectV3Request +from eZmaxApi.models.ezsignfolder_edit_object_v3_response import EzsignfolderEditObjectV3Response from eZmaxApi.models.ezsignfolder_end_prematurely_v1_response import EzsignfolderEndPrematurelyV1Response from eZmaxApi.models.ezsignfolder_get_actionable_elements_v1_response import EzsignfolderGetActionableElementsV1Response from eZmaxApi.models.ezsignfolder_get_attachment_count_v1_response import EzsignfolderGetAttachmentCountV1Response @@ -47,12 +49,15 @@ from eZmaxApi.models.ezsignfolder_get_list_v1_response import EzsignfolderGetListV1Response from eZmaxApi.models.ezsignfolder_get_object_v1_response import EzsignfolderGetObjectV1Response from eZmaxApi.models.ezsignfolder_get_object_v2_response import EzsignfolderGetObjectV2Response +from eZmaxApi.models.ezsignfolder_get_object_v3_response import EzsignfolderGetObjectV3Response from eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_request import EzsignfolderImportEzsignfoldersignerassociationsV1Request from eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_response import EzsignfolderImportEzsignfoldersignerassociationsV1Response from eZmaxApi.models.ezsignfolder_import_ezsigntemplatepackage_v1_request import EzsignfolderImportEzsigntemplatepackageV1Request from eZmaxApi.models.ezsignfolder_import_ezsigntemplatepackage_v1_response import EzsignfolderImportEzsigntemplatepackageV1Response from eZmaxApi.models.ezsignfolder_reorder_v1_request import EzsignfolderReorderV1Request from eZmaxApi.models.ezsignfolder_reorder_v1_response import EzsignfolderReorderV1Response +from eZmaxApi.models.ezsignfolder_reorder_v2_request import EzsignfolderReorderV2Request +from eZmaxApi.models.ezsignfolder_reorder_v2_response import EzsignfolderReorderV2Response from eZmaxApi.models.ezsignfolder_send_v1_request import EzsignfolderSendV1Request from eZmaxApi.models.ezsignfolder_send_v1_response import EzsignfolderSendV1Response from eZmaxApi.models.ezsignfolder_send_v3_request import EzsignfolderSendV3Request @@ -312,7 +317,9 @@ def _ezsignfolder_archive_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -327,11 +334,12 @@ def _ezsignfolder_archive_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -604,7 +612,9 @@ def _ezsignfolder_batch_download_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -619,12 +629,13 @@ def _ezsignfolder_batch_download_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/zip', - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/zip', + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -882,7 +893,9 @@ def _ezsignfolder_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -895,11 +908,12 @@ def _ezsignfolder_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -955,7 +969,7 @@ def ezsignfolder_create_object_v2( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> EzsignfolderCreateObjectV2Response: - """Create a new Ezsignfolder + """(Deprecated) Create a new Ezsignfolder The endpoint allows to create one or many elements at once. @@ -982,6 +996,7 @@ def ezsignfolder_create_object_v2( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /2/object/ezsignfolder is deprecated.", DeprecationWarning) _param = self._ezsignfolder_create_object_v2_serialize( ezsignfolder_create_object_v2_request=ezsignfolder_create_object_v2_request, @@ -1022,7 +1037,7 @@ def ezsignfolder_create_object_v2_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[EzsignfolderCreateObjectV2Response]: - """Create a new Ezsignfolder + """(Deprecated) Create a new Ezsignfolder The endpoint allows to create one or many elements at once. @@ -1049,6 +1064,7 @@ def ezsignfolder_create_object_v2_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /2/object/ezsignfolder is deprecated.", DeprecationWarning) _param = self._ezsignfolder_create_object_v2_serialize( ezsignfolder_create_object_v2_request=ezsignfolder_create_object_v2_request, @@ -1089,7 +1105,7 @@ def ezsignfolder_create_object_v2_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create a new Ezsignfolder + """(Deprecated) Create a new Ezsignfolder The endpoint allows to create one or many elements at once. @@ -1116,6 +1132,7 @@ def ezsignfolder_create_object_v2_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /2/object/ezsignfolder is deprecated.", DeprecationWarning) _param = self._ezsignfolder_create_object_v2_serialize( ezsignfolder_create_object_v2_request=ezsignfolder_create_object_v2_request, @@ -1153,7 +1170,9 @@ def _ezsignfolder_create_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1166,11 +1185,12 @@ def _ezsignfolder_create_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1210,9 +1230,9 @@ def _ezsignfolder_create_object_v2_serialize( @validate_call - def ezsignfolder_delete_object_v1( + def ezsignfolder_create_object_v3( self, - pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + ezsignfolder_create_object_v3_request: EzsignfolderCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1225,12 +1245,13 @@ def ezsignfolder_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderDeleteObjectV1Response: - """Delete an existing Ezsignfolder + ) -> EzsignfolderCreateObjectV3Response: + """Create a new Ezsignfolder + The endpoint allows to create one or many elements at once. - :param pki_ezsignfolder_id: (required) - :type pki_ezsignfolder_id: int + :param ezsignfolder_create_object_v3_request: (required) + :type ezsignfolder_create_object_v3_request: EzsignfolderCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1253,8 +1274,8 @@ def ezsignfolder_delete_object_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_delete_object_v1_serialize( - pki_ezsignfolder_id=pki_ezsignfolder_id, + _param = self._ezsignfolder_create_object_v3_serialize( + ezsignfolder_create_object_v3_request=ezsignfolder_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1262,9 +1283,7 @@ def ezsignfolder_delete_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderDeleteObjectV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", + '201': "EzsignfolderCreateObjectV3Response", } response_data = self.api_client.call_api( *_param, @@ -1278,9 +1297,9 @@ def ezsignfolder_delete_object_v1( @validate_call - def ezsignfolder_delete_object_v1_with_http_info( + def ezsignfolder_create_object_v3_with_http_info( self, - pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + ezsignfolder_create_object_v3_request: EzsignfolderCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1293,12 +1312,13 @@ def ezsignfolder_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderDeleteObjectV1Response]: - """Delete an existing Ezsignfolder + ) -> ApiResponse[EzsignfolderCreateObjectV3Response]: + """Create a new Ezsignfolder + The endpoint allows to create one or many elements at once. - :param pki_ezsignfolder_id: (required) - :type pki_ezsignfolder_id: int + :param ezsignfolder_create_object_v3_request: (required) + :type ezsignfolder_create_object_v3_request: EzsignfolderCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1321,8 +1341,8 @@ def ezsignfolder_delete_object_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_delete_object_v1_serialize( - pki_ezsignfolder_id=pki_ezsignfolder_id, + _param = self._ezsignfolder_create_object_v3_serialize( + ezsignfolder_create_object_v3_request=ezsignfolder_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1330,9 +1350,7 @@ def ezsignfolder_delete_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderDeleteObjectV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", + '201': "EzsignfolderCreateObjectV3Response", } response_data = self.api_client.call_api( *_param, @@ -1346,9 +1364,9 @@ def ezsignfolder_delete_object_v1_with_http_info( @validate_call - def ezsignfolder_delete_object_v1_without_preload_content( + def ezsignfolder_create_object_v3_without_preload_content( self, - pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + ezsignfolder_create_object_v3_request: EzsignfolderCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1362,11 +1380,12 @@ def ezsignfolder_delete_object_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete an existing Ezsignfolder + """Create a new Ezsignfolder + The endpoint allows to create one or many elements at once. - :param pki_ezsignfolder_id: (required) - :type pki_ezsignfolder_id: int + :param ezsignfolder_create_object_v3_request: (required) + :type ezsignfolder_create_object_v3_request: EzsignfolderCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1389,8 +1408,8 @@ def ezsignfolder_delete_object_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_delete_object_v1_serialize( - pki_ezsignfolder_id=pki_ezsignfolder_id, + _param = self._ezsignfolder_create_object_v3_serialize( + ezsignfolder_create_object_v3_request=ezsignfolder_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1398,9 +1417,7 @@ def ezsignfolder_delete_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderDeleteObjectV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", + '201': "EzsignfolderCreateObjectV3Response", } response_data = self.api_client.call_api( *_param, @@ -1409,9 +1426,9 @@ def ezsignfolder_delete_object_v1_without_preload_content( return response_data.response - def _ezsignfolder_delete_object_v1_serialize( + def _ezsignfolder_create_object_v3_serialize( self, - pki_ezsignfolder_id, + ezsignfolder_create_object_v3_request, _request_auth, _content_type, _headers, @@ -1427,25 +1444,41 @@ def _ezsignfolder_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters - if pki_ezsignfolder_id is not None: - _path_params['pkiEzsignfolderID'] = pki_ezsignfolder_id # process the query parameters # process the header parameters # process the form parameters # process the body parameter + if ezsignfolder_create_object_v3_request is not None: + _body_params = ezsignfolder_create_object_v3_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1453,8 +1486,8 @@ def _ezsignfolder_delete_object_v1_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}', + method='POST', + resource_path='/3/object/ezsignfolder', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1471,9 +1504,9 @@ def _ezsignfolder_delete_object_v1_serialize( @validate_call - def ezsignfolder_dispose_ezsignfolders_v1( + def ezsignfolder_delete_object_v1( self, - ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1486,13 +1519,12 @@ def ezsignfolder_dispose_ezsignfolders_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderDisposeEzsignfoldersV1Response: - """Dispose Ezsignfolders + ) -> EzsignfolderDeleteObjectV1Response: + """Delete an existing Ezsignfolder - - :param ezsignfolder_dispose_ezsignfolders_v1_request: (required) - :type ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1515,8 +1547,8 @@ def ezsignfolder_dispose_ezsignfolders_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_dispose_ezsignfolders_v1_serialize( - ezsignfolder_dispose_ezsignfolders_v1_request=ezsignfolder_dispose_ezsignfolders_v1_request, + _param = self._ezsignfolder_delete_object_v1_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1524,7 +1556,7 @@ def ezsignfolder_dispose_ezsignfolders_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderDisposeEzsignfoldersV1Response", + '200': "EzsignfolderDeleteObjectV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1540,9 +1572,9 @@ def ezsignfolder_dispose_ezsignfolders_v1( @validate_call - def ezsignfolder_dispose_ezsignfolders_v1_with_http_info( + def ezsignfolder_delete_object_v1_with_http_info( self, - ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1555,13 +1587,12 @@ def ezsignfolder_dispose_ezsignfolders_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderDisposeEzsignfoldersV1Response]: - """Dispose Ezsignfolders + ) -> ApiResponse[EzsignfolderDeleteObjectV1Response]: + """Delete an existing Ezsignfolder - - :param ezsignfolder_dispose_ezsignfolders_v1_request: (required) - :type ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1584,8 +1615,8 @@ def ezsignfolder_dispose_ezsignfolders_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_dispose_ezsignfolders_v1_serialize( - ezsignfolder_dispose_ezsignfolders_v1_request=ezsignfolder_dispose_ezsignfolders_v1_request, + _param = self._ezsignfolder_delete_object_v1_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1593,7 +1624,7 @@ def ezsignfolder_dispose_ezsignfolders_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderDisposeEzsignfoldersV1Response", + '200': "EzsignfolderDeleteObjectV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1609,9 +1640,9 @@ def ezsignfolder_dispose_ezsignfolders_v1_with_http_info( @validate_call - def ezsignfolder_dispose_ezsignfolders_v1_without_preload_content( + def ezsignfolder_delete_object_v1_without_preload_content( self, - ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1625,12 +1656,11 @@ def ezsignfolder_dispose_ezsignfolders_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Dispose Ezsignfolders + """Delete an existing Ezsignfolder - - :param ezsignfolder_dispose_ezsignfolders_v1_request: (required) - :type ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1653,8 +1683,8 @@ def ezsignfolder_dispose_ezsignfolders_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_dispose_ezsignfolders_v1_serialize( - ezsignfolder_dispose_ezsignfolders_v1_request=ezsignfolder_dispose_ezsignfolders_v1_request, + _param = self._ezsignfolder_delete_object_v1_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1662,7 +1692,7 @@ def ezsignfolder_dispose_ezsignfolders_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderDisposeEzsignfoldersV1Response", + '200': "EzsignfolderDeleteObjectV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1673,9 +1703,9 @@ def ezsignfolder_dispose_ezsignfolders_v1_without_preload_content( return response_data.response - def _ezsignfolder_dispose_ezsignfolders_v1_serialize( + def _ezsignfolder_delete_object_v1_serialize( self, - ezsignfolder_dispose_ezsignfolders_v1_request, + pki_ezsignfolder_id, _request_auth, _content_type, _headers, @@ -1691,38 +1721,28 @@ def _ezsignfolder_dispose_ezsignfolders_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters + if pki_ezsignfolder_id is not None: + _path_params['pkiEzsignfolderID'] = pki_ezsignfolder_id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if ezsignfolder_dispose_ezsignfolders_v1_request is not None: - _body_params = ezsignfolder_dispose_ezsignfolders_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + # authentication setting _auth_settings: List[str] = [ @@ -1730,8 +1750,8 @@ def _ezsignfolder_dispose_ezsignfolders_v1_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/1/object/ezsignfolder/disposeEzsignfolders', + method='DELETE', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1748,10 +1768,9 @@ def _ezsignfolder_dispose_ezsignfolders_v1_serialize( @validate_call - def ezsignfolder_dispose_v1( + def ezsignfolder_dispose_ezsignfolders_v1( self, - pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], + ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1764,15 +1783,13 @@ def ezsignfolder_dispose_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderDisposeV1Response: - """Dispose the Ezsignfolder + ) -> EzsignfolderDisposeEzsignfoldersV1Response: + """Dispose Ezsignfolders - :param pki_ezsignfolder_id: (required) - :type pki_ezsignfolder_id: int - :param body: (required) - :type body: object + :param ezsignfolder_dispose_ezsignfolders_v1_request: (required) + :type ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1795,9 +1812,8 @@ def ezsignfolder_dispose_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_dispose_v1_serialize( - pki_ezsignfolder_id=pki_ezsignfolder_id, - body=body, + _param = self._ezsignfolder_dispose_ezsignfolders_v1_serialize( + ezsignfolder_dispose_ezsignfolders_v1_request=ezsignfolder_dispose_ezsignfolders_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1805,7 +1821,7 @@ def ezsignfolder_dispose_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderDisposeV1Response", + '200': "EzsignfolderDisposeEzsignfoldersV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1821,10 +1837,9 @@ def ezsignfolder_dispose_v1( @validate_call - def ezsignfolder_dispose_v1_with_http_info( + def ezsignfolder_dispose_ezsignfolders_v1_with_http_info( self, - pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], + ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1837,15 +1852,13 @@ def ezsignfolder_dispose_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderDisposeV1Response]: - """Dispose the Ezsignfolder + ) -> ApiResponse[EzsignfolderDisposeEzsignfoldersV1Response]: + """Dispose Ezsignfolders - :param pki_ezsignfolder_id: (required) - :type pki_ezsignfolder_id: int - :param body: (required) - :type body: object + :param ezsignfolder_dispose_ezsignfolders_v1_request: (required) + :type ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1868,9 +1881,8 @@ def ezsignfolder_dispose_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_dispose_v1_serialize( - pki_ezsignfolder_id=pki_ezsignfolder_id, - body=body, + _param = self._ezsignfolder_dispose_ezsignfolders_v1_serialize( + ezsignfolder_dispose_ezsignfolders_v1_request=ezsignfolder_dispose_ezsignfolders_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1878,7 +1890,7 @@ def ezsignfolder_dispose_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderDisposeV1Response", + '200': "EzsignfolderDisposeEzsignfoldersV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1894,10 +1906,9 @@ def ezsignfolder_dispose_v1_with_http_info( @validate_call - def ezsignfolder_dispose_v1_without_preload_content( + def ezsignfolder_dispose_ezsignfolders_v1_without_preload_content( self, - pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], + ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1911,14 +1922,12 @@ def ezsignfolder_dispose_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Dispose the Ezsignfolder + """Dispose Ezsignfolders - :param pki_ezsignfolder_id: (required) - :type pki_ezsignfolder_id: int - :param body: (required) - :type body: object + :param ezsignfolder_dispose_ezsignfolders_v1_request: (required) + :type ezsignfolder_dispose_ezsignfolders_v1_request: EzsignfolderDisposeEzsignfoldersV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1941,9 +1950,8 @@ def ezsignfolder_dispose_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_dispose_v1_serialize( - pki_ezsignfolder_id=pki_ezsignfolder_id, - body=body, + _param = self._ezsignfolder_dispose_ezsignfolders_v1_serialize( + ezsignfolder_dispose_ezsignfolders_v1_request=ezsignfolder_dispose_ezsignfolders_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1951,7 +1959,7 @@ def ezsignfolder_dispose_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderDisposeV1Response", + '200': "EzsignfolderDisposeEzsignfoldersV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1962,10 +1970,9 @@ def ezsignfolder_dispose_v1_without_preload_content( return response_data.response - def _ezsignfolder_dispose_v1_serialize( + def _ezsignfolder_dispose_ezsignfolders_v1_serialize( self, - pki_ezsignfolder_id, - body, + ezsignfolder_dispose_ezsignfolders_v1_request, _request_auth, _content_type, _headers, @@ -1981,26 +1988,27 @@ def _ezsignfolder_dispose_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters - if pki_ezsignfolder_id is not None: - _path_params['pkiEzsignfolderID'] = pki_ezsignfolder_id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if body is not None: - _body_params = body + if ezsignfolder_dispose_ezsignfolders_v1_request is not None: + _body_params = ezsignfolder_dispose_ezsignfolders_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -2023,7 +2031,7 @@ def _ezsignfolder_dispose_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/dispose', + resource_path='/1/object/ezsignfolder/disposeEzsignfolders', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2040,10 +2048,10 @@ def _ezsignfolder_dispose_v1_serialize( @validate_call - def ezsignfolder_edit_object_v1( + def ezsignfolder_dispose_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_edit_object_v1_request: EzsignfolderEditObjectV1Request, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2056,15 +2064,15 @@ def ezsignfolder_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderEditObjectV1Response: - """Edit an existing Ezsignfolder + ) -> EzsignfolderDisposeV1Response: + """Dispose the Ezsignfolder :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_edit_object_v1_request: (required) - :type ezsignfolder_edit_object_v1_request: EzsignfolderEditObjectV1Request + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2087,9 +2095,9 @@ def ezsignfolder_edit_object_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_edit_object_v1_serialize( + _param = self._ezsignfolder_dispose_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_edit_object_v1_request=ezsignfolder_edit_object_v1_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2097,7 +2105,7 @@ def ezsignfolder_edit_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderEditObjectV1Response", + '200': "EzsignfolderDisposeV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2113,10 +2121,10 @@ def ezsignfolder_edit_object_v1( @validate_call - def ezsignfolder_edit_object_v1_with_http_info( + def ezsignfolder_dispose_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_edit_object_v1_request: EzsignfolderEditObjectV1Request, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2129,15 +2137,15 @@ def ezsignfolder_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderEditObjectV1Response]: - """Edit an existing Ezsignfolder + ) -> ApiResponse[EzsignfolderDisposeV1Response]: + """Dispose the Ezsignfolder :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_edit_object_v1_request: (required) - :type ezsignfolder_edit_object_v1_request: EzsignfolderEditObjectV1Request + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2160,9 +2168,9 @@ def ezsignfolder_edit_object_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_edit_object_v1_serialize( + _param = self._ezsignfolder_dispose_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_edit_object_v1_request=ezsignfolder_edit_object_v1_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2170,7 +2178,7 @@ def ezsignfolder_edit_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderEditObjectV1Response", + '200': "EzsignfolderDisposeV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2186,10 +2194,10 @@ def ezsignfolder_edit_object_v1_with_http_info( @validate_call - def ezsignfolder_edit_object_v1_without_preload_content( + def ezsignfolder_dispose_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_edit_object_v1_request: EzsignfolderEditObjectV1Request, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2203,14 +2211,14 @@ def ezsignfolder_edit_object_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Edit an existing Ezsignfolder + """Dispose the Ezsignfolder :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_edit_object_v1_request: (required) - :type ezsignfolder_edit_object_v1_request: EzsignfolderEditObjectV1Request + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2233,9 +2241,9 @@ def ezsignfolder_edit_object_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_edit_object_v1_serialize( + _param = self._ezsignfolder_dispose_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_edit_object_v1_request=ezsignfolder_edit_object_v1_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2243,7 +2251,7 @@ def ezsignfolder_edit_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderEditObjectV1Response", + '200': "EzsignfolderDisposeV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2254,10 +2262,10 @@ def ezsignfolder_edit_object_v1_without_preload_content( return response_data.response - def _ezsignfolder_edit_object_v1_serialize( + def _ezsignfolder_dispose_v1_serialize( self, pki_ezsignfolder_id, - ezsignfolder_edit_object_v1_request, + body, _request_auth, _content_type, _headers, @@ -2273,7 +2281,9 @@ def _ezsignfolder_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2283,16 +2293,17 @@ def _ezsignfolder_edit_object_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsignfolder_edit_object_v1_request is not None: - _body_params = ezsignfolder_edit_object_v1_request + if body is not None: + _body_params = body # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -2314,8 +2325,8 @@ def _ezsignfolder_edit_object_v1_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}', + method='POST', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/dispose', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2332,10 +2343,10 @@ def _ezsignfolder_edit_object_v1_serialize( @validate_call - def ezsignfolder_end_prematurely_v1( + def ezsignfolder_edit_object_v3( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], + ezsignfolder_edit_object_v3_request: EzsignfolderEditObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2348,15 +2359,15 @@ def ezsignfolder_end_prematurely_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderEndPrematurelyV1Response: - """End prematurely + ) -> EzsignfolderEditObjectV3Response: + """Edit an existing Ezsignfolder - End prematurely all Ezsigndocument of Ezsignfolder when some signatures are still required + :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param body: (required) - :type body: object + :param ezsignfolder_edit_object_v3_request: (required) + :type ezsignfolder_edit_object_v3_request: EzsignfolderEditObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2379,9 +2390,9 @@ def ezsignfolder_end_prematurely_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_end_prematurely_v1_serialize( + _param = self._ezsignfolder_edit_object_v3_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - body=body, + ezsignfolder_edit_object_v3_request=ezsignfolder_edit_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2389,7 +2400,7 @@ def ezsignfolder_end_prematurely_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderEndPrematurelyV1Response", + '200': "EzsignfolderEditObjectV3Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2405,10 +2416,10 @@ def ezsignfolder_end_prematurely_v1( @validate_call - def ezsignfolder_end_prematurely_v1_with_http_info( + def ezsignfolder_edit_object_v3_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], + ezsignfolder_edit_object_v3_request: EzsignfolderEditObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2421,15 +2432,15 @@ def ezsignfolder_end_prematurely_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderEndPrematurelyV1Response]: - """End prematurely + ) -> ApiResponse[EzsignfolderEditObjectV3Response]: + """Edit an existing Ezsignfolder - End prematurely all Ezsigndocument of Ezsignfolder when some signatures are still required + :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param body: (required) - :type body: object + :param ezsignfolder_edit_object_v3_request: (required) + :type ezsignfolder_edit_object_v3_request: EzsignfolderEditObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2452,9 +2463,9 @@ def ezsignfolder_end_prematurely_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_end_prematurely_v1_serialize( + _param = self._ezsignfolder_edit_object_v3_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - body=body, + ezsignfolder_edit_object_v3_request=ezsignfolder_edit_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2462,7 +2473,7 @@ def ezsignfolder_end_prematurely_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderEndPrematurelyV1Response", + '200': "EzsignfolderEditObjectV3Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2478,10 +2489,10 @@ def ezsignfolder_end_prematurely_v1_with_http_info( @validate_call - def ezsignfolder_end_prematurely_v1_without_preload_content( + def ezsignfolder_edit_object_v3_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], + ezsignfolder_edit_object_v3_request: EzsignfolderEditObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2495,14 +2506,14 @@ def ezsignfolder_end_prematurely_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """End prematurely + """Edit an existing Ezsignfolder - End prematurely all Ezsigndocument of Ezsignfolder when some signatures are still required + :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param body: (required) - :type body: object + :param ezsignfolder_edit_object_v3_request: (required) + :type ezsignfolder_edit_object_v3_request: EzsignfolderEditObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2525,9 +2536,9 @@ def ezsignfolder_end_prematurely_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_end_prematurely_v1_serialize( + _param = self._ezsignfolder_edit_object_v3_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - body=body, + ezsignfolder_edit_object_v3_request=ezsignfolder_edit_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2535,7 +2546,7 @@ def ezsignfolder_end_prematurely_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderEndPrematurelyV1Response", + '200': "EzsignfolderEditObjectV3Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2546,10 +2557,10 @@ def ezsignfolder_end_prematurely_v1_without_preload_content( return response_data.response - def _ezsignfolder_end_prematurely_v1_serialize( + def _ezsignfolder_edit_object_v3_serialize( self, pki_ezsignfolder_id, - body, + ezsignfolder_edit_object_v3_request, _request_auth, _content_type, _headers, @@ -2565,7 +2576,9 @@ def _ezsignfolder_end_prematurely_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2575,16 +2588,17 @@ def _ezsignfolder_end_prematurely_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if body is not None: - _body_params = body + if ezsignfolder_edit_object_v3_request is not None: + _body_params = ezsignfolder_edit_object_v3_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -2606,8 +2620,8 @@ def _ezsignfolder_end_prematurely_v1_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/endPrematurely', + method='PUT', + resource_path='/3/object/ezsignfolder/{pkiEzsignfolderID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2624,9 +2638,10 @@ def _ezsignfolder_end_prematurely_v1_serialize( @validate_call - def ezsignfolder_get_actionable_elements_v1( + def ezsignfolder_end_prematurely_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2639,13 +2654,15 @@ def ezsignfolder_get_actionable_elements_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetActionableElementsV1Response: - """Retrieve actionable elements for the Ezsignfolder + ) -> EzsignfolderEndPrematurelyV1Response: + """End prematurely - Return the Ezsignsignatures that can be signed and Ezsignformfieldgroups that can be filled by the current user at the current step in the process + End prematurely all Ezsigndocument of Ezsignfolder when some signatures are still required :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2668,8 +2685,9 @@ def ezsignfolder_get_actionable_elements_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_actionable_elements_v1_serialize( + _param = self._ezsignfolder_end_prematurely_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2677,7 +2695,7 @@ def ezsignfolder_get_actionable_elements_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetActionableElementsV1Response", + '200': "EzsignfolderEndPrematurelyV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2693,9 +2711,10 @@ def ezsignfolder_get_actionable_elements_v1( @validate_call - def ezsignfolder_get_actionable_elements_v1_with_http_info( + def ezsignfolder_end_prematurely_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2708,13 +2727,15 @@ def ezsignfolder_get_actionable_elements_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetActionableElementsV1Response]: - """Retrieve actionable elements for the Ezsignfolder + ) -> ApiResponse[EzsignfolderEndPrematurelyV1Response]: + """End prematurely - Return the Ezsignsignatures that can be signed and Ezsignformfieldgroups that can be filled by the current user at the current step in the process + End prematurely all Ezsigndocument of Ezsignfolder when some signatures are still required :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2737,8 +2758,9 @@ def ezsignfolder_get_actionable_elements_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_actionable_elements_v1_serialize( + _param = self._ezsignfolder_end_prematurely_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2746,7 +2768,7 @@ def ezsignfolder_get_actionable_elements_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetActionableElementsV1Response", + '200': "EzsignfolderEndPrematurelyV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2762,9 +2784,10 @@ def ezsignfolder_get_actionable_elements_v1_with_http_info( @validate_call - def ezsignfolder_get_actionable_elements_v1_without_preload_content( + def ezsignfolder_end_prematurely_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2778,12 +2801,14 @@ def ezsignfolder_get_actionable_elements_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve actionable elements for the Ezsignfolder + """End prematurely - Return the Ezsignsignatures that can be signed and Ezsignformfieldgroups that can be filled by the current user at the current step in the process + End prematurely all Ezsigndocument of Ezsignfolder when some signatures are still required :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2806,8 +2831,9 @@ def ezsignfolder_get_actionable_elements_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_actionable_elements_v1_serialize( + _param = self._ezsignfolder_end_prematurely_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2815,7 +2841,7 @@ def ezsignfolder_get_actionable_elements_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetActionableElementsV1Response", + '200': "EzsignfolderEndPrematurelyV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -2826,9 +2852,10 @@ def ezsignfolder_get_actionable_elements_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_actionable_elements_v1_serialize( + def _ezsignfolder_end_prematurely_v1_serialize( self, pki_ezsignfolder_id, + body, _request_auth, _content_type, _headers, @@ -2844,7 +2871,9 @@ def _ezsignfolder_get_actionable_elements_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2854,15 +2883,31 @@ def _ezsignfolder_get_actionable_elements_v1_serialize( # process the header parameters # process the form parameters # process the body parameter + if body is not None: + _body_params = body # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -2870,8 +2915,8 @@ def _ezsignfolder_get_actionable_elements_v1_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getActionableElements', + method='POST', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/endPrematurely', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2888,7 +2933,7 @@ def _ezsignfolder_get_actionable_elements_v1_serialize( @validate_call - def ezsignfolder_get_attachment_count_v1( + def ezsignfolder_get_actionable_elements_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -2903,10 +2948,10 @@ def ezsignfolder_get_attachment_count_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetAttachmentCountV1Response: - """Retrieve Attachment count + ) -> EzsignfolderGetActionableElementsV1Response: + """Retrieve actionable elements for the Ezsignfolder - + Return the Ezsignsignatures that can be signed and Ezsignformfieldgroups that can be filled by the current user at the current step in the process :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -2932,7 +2977,7 @@ def ezsignfolder_get_attachment_count_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_attachment_count_v1_serialize( + _param = self._ezsignfolder_get_actionable_elements_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2941,8 +2986,9 @@ def ezsignfolder_get_attachment_count_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetAttachmentCountV1Response", + '200': "EzsignfolderGetActionableElementsV1Response", '404': "CommonResponseError", + '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -2956,7 +3002,7 @@ def ezsignfolder_get_attachment_count_v1( @validate_call - def ezsignfolder_get_attachment_count_v1_with_http_info( + def ezsignfolder_get_actionable_elements_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -2971,10 +3017,10 @@ def ezsignfolder_get_attachment_count_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetAttachmentCountV1Response]: - """Retrieve Attachment count + ) -> ApiResponse[EzsignfolderGetActionableElementsV1Response]: + """Retrieve actionable elements for the Ezsignfolder - + Return the Ezsignsignatures that can be signed and Ezsignformfieldgroups that can be filled by the current user at the current step in the process :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -3000,7 +3046,7 @@ def ezsignfolder_get_attachment_count_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_attachment_count_v1_serialize( + _param = self._ezsignfolder_get_actionable_elements_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3009,8 +3055,9 @@ def ezsignfolder_get_attachment_count_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetAttachmentCountV1Response", + '200': "EzsignfolderGetActionableElementsV1Response", '404': "CommonResponseError", + '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -3024,7 +3071,7 @@ def ezsignfolder_get_attachment_count_v1_with_http_info( @validate_call - def ezsignfolder_get_attachment_count_v1_without_preload_content( + def ezsignfolder_get_actionable_elements_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3040,9 +3087,9 @@ def ezsignfolder_get_attachment_count_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve Attachment count + """Retrieve actionable elements for the Ezsignfolder - + Return the Ezsignsignatures that can be signed and Ezsignformfieldgroups that can be filled by the current user at the current step in the process :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -3068,7 +3115,7 @@ def ezsignfolder_get_attachment_count_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_attachment_count_v1_serialize( + _param = self._ezsignfolder_get_actionable_elements_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3077,8 +3124,9 @@ def ezsignfolder_get_attachment_count_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetAttachmentCountV1Response", + '200': "EzsignfolderGetActionableElementsV1Response", '404': "CommonResponseError", + '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -3087,7 +3135,7 @@ def ezsignfolder_get_attachment_count_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_attachment_count_v1_serialize( + def _ezsignfolder_get_actionable_elements_v1_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -3105,7 +3153,9 @@ def _ezsignfolder_get_attachment_count_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3118,11 +3168,12 @@ def _ezsignfolder_get_attachment_count_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -3132,7 +3183,7 @@ def _ezsignfolder_get_attachment_count_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getAttachmentCount', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getActionableElements', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3149,7 +3200,7 @@ def _ezsignfolder_get_attachment_count_v1_serialize( @validate_call - def ezsignfolder_get_attachments_v1( + def ezsignfolder_get_attachment_count_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3164,8 +3215,8 @@ def ezsignfolder_get_attachments_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetAttachmentsV1Response: - """Retrieve Ezsignfolder's Attachments + ) -> EzsignfolderGetAttachmentCountV1Response: + """Retrieve Attachment count @@ -3193,7 +3244,7 @@ def ezsignfolder_get_attachments_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_attachments_v1_serialize( + _param = self._ezsignfolder_get_attachment_count_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3202,7 +3253,7 @@ def ezsignfolder_get_attachments_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetAttachmentsV1Response", + '200': "EzsignfolderGetAttachmentCountV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -3217,7 +3268,7 @@ def ezsignfolder_get_attachments_v1( @validate_call - def ezsignfolder_get_attachments_v1_with_http_info( + def ezsignfolder_get_attachment_count_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3232,8 +3283,8 @@ def ezsignfolder_get_attachments_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetAttachmentsV1Response]: - """Retrieve Ezsignfolder's Attachments + ) -> ApiResponse[EzsignfolderGetAttachmentCountV1Response]: + """Retrieve Attachment count @@ -3261,7 +3312,7 @@ def ezsignfolder_get_attachments_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_attachments_v1_serialize( + _param = self._ezsignfolder_get_attachment_count_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3270,7 +3321,7 @@ def ezsignfolder_get_attachments_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetAttachmentsV1Response", + '200': "EzsignfolderGetAttachmentCountV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -3285,7 +3336,7 @@ def ezsignfolder_get_attachments_v1_with_http_info( @validate_call - def ezsignfolder_get_attachments_v1_without_preload_content( + def ezsignfolder_get_attachment_count_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3301,7 +3352,7 @@ def ezsignfolder_get_attachments_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve Ezsignfolder's Attachments + """Retrieve Attachment count @@ -3329,7 +3380,7 @@ def ezsignfolder_get_attachments_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_attachments_v1_serialize( + _param = self._ezsignfolder_get_attachment_count_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3338,7 +3389,7 @@ def ezsignfolder_get_attachments_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetAttachmentsV1Response", + '200': "EzsignfolderGetAttachmentCountV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -3348,7 +3399,7 @@ def ezsignfolder_get_attachments_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_attachments_v1_serialize( + def _ezsignfolder_get_attachment_count_v1_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -3366,7 +3417,9 @@ def _ezsignfolder_get_attachments_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3379,11 +3432,12 @@ def _ezsignfolder_get_attachments_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -3393,7 +3447,7 @@ def _ezsignfolder_get_attachments_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getAttachments', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getAttachmentCount', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3410,7 +3464,7 @@ def _ezsignfolder_get_attachments_v1_serialize( @validate_call - def ezsignfolder_get_communication_count_v1( + def ezsignfolder_get_attachments_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3425,8 +3479,8 @@ def ezsignfolder_get_communication_count_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetCommunicationCountV1Response: - """Retrieve Communication count + ) -> EzsignfolderGetAttachmentsV1Response: + """Retrieve Ezsignfolder's Attachments @@ -3454,7 +3508,7 @@ def ezsignfolder_get_communication_count_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communication_count_v1_serialize( + _param = self._ezsignfolder_get_attachments_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3463,7 +3517,7 @@ def ezsignfolder_get_communication_count_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationCountV1Response", + '200': "EzsignfolderGetAttachmentsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -3478,7 +3532,7 @@ def ezsignfolder_get_communication_count_v1( @validate_call - def ezsignfolder_get_communication_count_v1_with_http_info( + def ezsignfolder_get_attachments_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3493,8 +3547,8 @@ def ezsignfolder_get_communication_count_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetCommunicationCountV1Response]: - """Retrieve Communication count + ) -> ApiResponse[EzsignfolderGetAttachmentsV1Response]: + """Retrieve Ezsignfolder's Attachments @@ -3522,7 +3576,7 @@ def ezsignfolder_get_communication_count_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communication_count_v1_serialize( + _param = self._ezsignfolder_get_attachments_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3531,7 +3585,7 @@ def ezsignfolder_get_communication_count_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationCountV1Response", + '200': "EzsignfolderGetAttachmentsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -3546,7 +3600,7 @@ def ezsignfolder_get_communication_count_v1_with_http_info( @validate_call - def ezsignfolder_get_communication_count_v1_without_preload_content( + def ezsignfolder_get_attachments_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3562,7 +3616,7 @@ def ezsignfolder_get_communication_count_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve Communication count + """Retrieve Ezsignfolder's Attachments @@ -3590,7 +3644,7 @@ def ezsignfolder_get_communication_count_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communication_count_v1_serialize( + _param = self._ezsignfolder_get_attachments_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3599,7 +3653,7 @@ def ezsignfolder_get_communication_count_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationCountV1Response", + '200': "EzsignfolderGetAttachmentsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -3609,7 +3663,7 @@ def ezsignfolder_get_communication_count_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_communication_count_v1_serialize( + def _ezsignfolder_get_attachments_v1_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -3627,7 +3681,9 @@ def _ezsignfolder_get_communication_count_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3640,11 +3696,12 @@ def _ezsignfolder_get_communication_count_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -3654,7 +3711,7 @@ def _ezsignfolder_get_communication_count_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationCount', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getAttachments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3671,7 +3728,7 @@ def _ezsignfolder_get_communication_count_v1_serialize( @validate_call - def ezsignfolder_get_communication_list_v1( + def ezsignfolder_get_communication_count_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3686,8 +3743,8 @@ def ezsignfolder_get_communication_list_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetCommunicationListV1Response: - """Retrieve Communication list + ) -> EzsignfolderGetCommunicationCountV1Response: + """Retrieve Communication count @@ -3715,7 +3772,7 @@ def ezsignfolder_get_communication_list_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communication_list_v1_serialize( + _param = self._ezsignfolder_get_communication_count_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3724,7 +3781,7 @@ def ezsignfolder_get_communication_list_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationListV1Response", + '200': "EzsignfolderGetCommunicationCountV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -3739,7 +3796,7 @@ def ezsignfolder_get_communication_list_v1( @validate_call - def ezsignfolder_get_communication_list_v1_with_http_info( + def ezsignfolder_get_communication_count_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3754,8 +3811,8 @@ def ezsignfolder_get_communication_list_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetCommunicationListV1Response]: - """Retrieve Communication list + ) -> ApiResponse[EzsignfolderGetCommunicationCountV1Response]: + """Retrieve Communication count @@ -3783,7 +3840,7 @@ def ezsignfolder_get_communication_list_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communication_list_v1_serialize( + _param = self._ezsignfolder_get_communication_count_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3792,7 +3849,7 @@ def ezsignfolder_get_communication_list_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationListV1Response", + '200': "EzsignfolderGetCommunicationCountV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -3807,7 +3864,7 @@ def ezsignfolder_get_communication_list_v1_with_http_info( @validate_call - def ezsignfolder_get_communication_list_v1_without_preload_content( + def ezsignfolder_get_communication_count_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3823,7 +3880,7 @@ def ezsignfolder_get_communication_list_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve Communication list + """Retrieve Communication count @@ -3851,7 +3908,7 @@ def ezsignfolder_get_communication_list_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communication_list_v1_serialize( + _param = self._ezsignfolder_get_communication_count_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3860,7 +3917,7 @@ def ezsignfolder_get_communication_list_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationListV1Response", + '200': "EzsignfolderGetCommunicationCountV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -3870,7 +3927,7 @@ def ezsignfolder_get_communication_list_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_communication_list_v1_serialize( + def _ezsignfolder_get_communication_count_v1_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -3888,7 +3945,9 @@ def _ezsignfolder_get_communication_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3901,11 +3960,12 @@ def _ezsignfolder_get_communication_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -3915,7 +3975,7 @@ def _ezsignfolder_get_communication_list_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationList', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationCount', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3932,7 +3992,7 @@ def _ezsignfolder_get_communication_list_v1_serialize( @validate_call - def ezsignfolder_get_communicationrecipients_v1( + def ezsignfolder_get_communication_list_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -3947,8 +4007,8 @@ def ezsignfolder_get_communicationrecipients_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetCommunicationrecipientsV1Response: - """Retrieve Ezsignfolder's Communicationrecipient + ) -> EzsignfolderGetCommunicationListV1Response: + """Retrieve Communication list @@ -3976,7 +4036,7 @@ def ezsignfolder_get_communicationrecipients_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communicationrecipients_v1_serialize( + _param = self._ezsignfolder_get_communication_list_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3985,7 +4045,7 @@ def ezsignfolder_get_communicationrecipients_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationrecipientsV1Response", + '200': "EzsignfolderGetCommunicationListV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4000,7 +4060,7 @@ def ezsignfolder_get_communicationrecipients_v1( @validate_call - def ezsignfolder_get_communicationrecipients_v1_with_http_info( + def ezsignfolder_get_communication_list_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4015,8 +4075,8 @@ def ezsignfolder_get_communicationrecipients_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetCommunicationrecipientsV1Response]: - """Retrieve Ezsignfolder's Communicationrecipient + ) -> ApiResponse[EzsignfolderGetCommunicationListV1Response]: + """Retrieve Communication list @@ -4044,7 +4104,7 @@ def ezsignfolder_get_communicationrecipients_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communicationrecipients_v1_serialize( + _param = self._ezsignfolder_get_communication_list_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4053,7 +4113,7 @@ def ezsignfolder_get_communicationrecipients_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationrecipientsV1Response", + '200': "EzsignfolderGetCommunicationListV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4068,7 +4128,7 @@ def ezsignfolder_get_communicationrecipients_v1_with_http_info( @validate_call - def ezsignfolder_get_communicationrecipients_v1_without_preload_content( + def ezsignfolder_get_communication_list_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4084,7 +4144,7 @@ def ezsignfolder_get_communicationrecipients_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve Ezsignfolder's Communicationrecipient + """Retrieve Communication list @@ -4112,7 +4172,7 @@ def ezsignfolder_get_communicationrecipients_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communicationrecipients_v1_serialize( + _param = self._ezsignfolder_get_communication_list_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4121,7 +4181,7 @@ def ezsignfolder_get_communicationrecipients_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationrecipientsV1Response", + '200': "EzsignfolderGetCommunicationListV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4131,7 +4191,7 @@ def ezsignfolder_get_communicationrecipients_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_communicationrecipients_v1_serialize( + def _ezsignfolder_get_communication_list_v1_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -4149,7 +4209,9 @@ def _ezsignfolder_get_communicationrecipients_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4162,11 +4224,12 @@ def _ezsignfolder_get_communicationrecipients_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -4176,7 +4239,7 @@ def _ezsignfolder_get_communicationrecipients_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationList', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4193,7 +4256,7 @@ def _ezsignfolder_get_communicationrecipients_v1_serialize( @validate_call - def ezsignfolder_get_communicationsenders_v1( + def ezsignfolder_get_communicationrecipients_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4208,8 +4271,8 @@ def ezsignfolder_get_communicationsenders_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetCommunicationsendersV1Response: - """Retrieve Ezsignfolder's Communicationsender + ) -> EzsignfolderGetCommunicationrecipientsV1Response: + """Retrieve Ezsignfolder's Communicationrecipient @@ -4237,7 +4300,7 @@ def ezsignfolder_get_communicationsenders_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communicationsenders_v1_serialize( + _param = self._ezsignfolder_get_communicationrecipients_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4246,7 +4309,7 @@ def ezsignfolder_get_communicationsenders_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationsendersV1Response", + '200': "EzsignfolderGetCommunicationrecipientsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4261,7 +4324,7 @@ def ezsignfolder_get_communicationsenders_v1( @validate_call - def ezsignfolder_get_communicationsenders_v1_with_http_info( + def ezsignfolder_get_communicationrecipients_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4276,8 +4339,8 @@ def ezsignfolder_get_communicationsenders_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetCommunicationsendersV1Response]: - """Retrieve Ezsignfolder's Communicationsender + ) -> ApiResponse[EzsignfolderGetCommunicationrecipientsV1Response]: + """Retrieve Ezsignfolder's Communicationrecipient @@ -4305,7 +4368,7 @@ def ezsignfolder_get_communicationsenders_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communicationsenders_v1_serialize( + _param = self._ezsignfolder_get_communicationrecipients_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4314,7 +4377,7 @@ def ezsignfolder_get_communicationsenders_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationsendersV1Response", + '200': "EzsignfolderGetCommunicationrecipientsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4329,7 +4392,7 @@ def ezsignfolder_get_communicationsenders_v1_with_http_info( @validate_call - def ezsignfolder_get_communicationsenders_v1_without_preload_content( + def ezsignfolder_get_communicationrecipients_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4345,7 +4408,7 @@ def ezsignfolder_get_communicationsenders_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve Ezsignfolder's Communicationsender + """Retrieve Ezsignfolder's Communicationrecipient @@ -4373,7 +4436,7 @@ def ezsignfolder_get_communicationsenders_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_communicationsenders_v1_serialize( + _param = self._ezsignfolder_get_communicationrecipients_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4382,7 +4445,7 @@ def ezsignfolder_get_communicationsenders_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetCommunicationsendersV1Response", + '200': "EzsignfolderGetCommunicationrecipientsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4392,7 +4455,7 @@ def ezsignfolder_get_communicationsenders_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_communicationsenders_v1_serialize( + def _ezsignfolder_get_communicationrecipients_v1_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -4410,7 +4473,9 @@ def _ezsignfolder_get_communicationsenders_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4423,11 +4488,12 @@ def _ezsignfolder_get_communicationsenders_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -4437,7 +4503,7 @@ def _ezsignfolder_get_communicationsenders_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationsenders', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4454,7 +4520,7 @@ def _ezsignfolder_get_communicationsenders_v1_serialize( @validate_call - def ezsignfolder_get_ezsigndocuments_v1( + def ezsignfolder_get_communicationsenders_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4469,8 +4535,8 @@ def ezsignfolder_get_ezsigndocuments_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetEzsigndocumentsV1Response: - """Retrieve an existing Ezsignfolder's Ezsigndocuments + ) -> EzsignfolderGetCommunicationsendersV1Response: + """Retrieve Ezsignfolder's Communicationsender @@ -4498,7 +4564,7 @@ def ezsignfolder_get_ezsigndocuments_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_ezsigndocuments_v1_serialize( + _param = self._ezsignfolder_get_communicationsenders_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4507,7 +4573,7 @@ def ezsignfolder_get_ezsigndocuments_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetEzsigndocumentsV1Response", + '200': "EzsignfolderGetCommunicationsendersV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4522,7 +4588,7 @@ def ezsignfolder_get_ezsigndocuments_v1( @validate_call - def ezsignfolder_get_ezsigndocuments_v1_with_http_info( + def ezsignfolder_get_communicationsenders_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4537,8 +4603,8 @@ def ezsignfolder_get_ezsigndocuments_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetEzsigndocumentsV1Response]: - """Retrieve an existing Ezsignfolder's Ezsigndocuments + ) -> ApiResponse[EzsignfolderGetCommunicationsendersV1Response]: + """Retrieve Ezsignfolder's Communicationsender @@ -4566,7 +4632,7 @@ def ezsignfolder_get_ezsigndocuments_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_ezsigndocuments_v1_serialize( + _param = self._ezsignfolder_get_communicationsenders_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4575,7 +4641,7 @@ def ezsignfolder_get_ezsigndocuments_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetEzsigndocumentsV1Response", + '200': "EzsignfolderGetCommunicationsendersV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4590,7 +4656,7 @@ def ezsignfolder_get_ezsigndocuments_v1_with_http_info( @validate_call - def ezsignfolder_get_ezsigndocuments_v1_without_preload_content( + def ezsignfolder_get_communicationsenders_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4606,7 +4672,7 @@ def ezsignfolder_get_ezsigndocuments_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve an existing Ezsignfolder's Ezsigndocuments + """Retrieve Ezsignfolder's Communicationsender @@ -4634,7 +4700,7 @@ def ezsignfolder_get_ezsigndocuments_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_ezsigndocuments_v1_serialize( + _param = self._ezsignfolder_get_communicationsenders_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4643,7 +4709,7 @@ def ezsignfolder_get_ezsigndocuments_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetEzsigndocumentsV1Response", + '200': "EzsignfolderGetCommunicationsendersV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4653,7 +4719,7 @@ def ezsignfolder_get_ezsigndocuments_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_ezsigndocuments_v1_serialize( + def _ezsignfolder_get_communicationsenders_v1_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -4671,7 +4737,9 @@ def _ezsignfolder_get_ezsigndocuments_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4684,11 +4752,12 @@ def _ezsignfolder_get_ezsigndocuments_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -4698,7 +4767,7 @@ def _ezsignfolder_get_ezsigndocuments_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsigndocuments', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationsenders', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4715,7 +4784,7 @@ def _ezsignfolder_get_ezsigndocuments_v1_serialize( @validate_call - def ezsignfolder_get_ezsignfoldersignerassociations_v1( + def ezsignfolder_get_ezsigndocuments_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4730,8 +4799,8 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetEzsignfoldersignerassociationsV1Response: - """Retrieve an existing Ezsignfolder's Ezsignfoldersignerassociations + ) -> EzsignfolderGetEzsigndocumentsV1Response: + """Retrieve an existing Ezsignfolder's Ezsigndocuments @@ -4759,7 +4828,7 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( + _param = self._ezsignfolder_get_ezsigndocuments_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4768,7 +4837,7 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetEzsignfoldersignerassociationsV1Response", + '200': "EzsignfolderGetEzsigndocumentsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4783,7 +4852,7 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1( @validate_call - def ezsignfolder_get_ezsignfoldersignerassociations_v1_with_http_info( + def ezsignfolder_get_ezsigndocuments_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4798,8 +4867,8 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetEzsignfoldersignerassociationsV1Response]: - """Retrieve an existing Ezsignfolder's Ezsignfoldersignerassociations + ) -> ApiResponse[EzsignfolderGetEzsigndocumentsV1Response]: + """Retrieve an existing Ezsignfolder's Ezsigndocuments @@ -4827,7 +4896,7 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( + _param = self._ezsignfolder_get_ezsigndocuments_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4836,7 +4905,7 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetEzsignfoldersignerassociationsV1Response", + '200': "EzsignfolderGetEzsigndocumentsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4851,7 +4920,7 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1_with_http_info( @validate_call - def ezsignfolder_get_ezsignfoldersignerassociations_v1_without_preload_content( + def ezsignfolder_get_ezsigndocuments_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4867,7 +4936,7 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve an existing Ezsignfolder's Ezsignfoldersignerassociations + """Retrieve an existing Ezsignfolder's Ezsigndocuments @@ -4895,7 +4964,7 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( + _param = self._ezsignfolder_get_ezsigndocuments_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4904,7 +4973,7 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetEzsignfoldersignerassociationsV1Response", + '200': "EzsignfolderGetEzsigndocumentsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -4914,7 +4983,7 @@ def ezsignfolder_get_ezsignfoldersignerassociations_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( + def _ezsignfolder_get_ezsigndocuments_v1_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -4932,7 +5001,9 @@ def _ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4945,11 +5016,12 @@ def _ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -4959,7 +5031,7 @@ def _ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsignfoldersignerassociations', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsigndocuments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4976,7 +5048,7 @@ def _ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( @validate_call - def ezsignfolder_get_ezsignsignatures_automatic_v1( + def ezsignfolder_get_ezsignfoldersignerassociations_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -4991,10 +5063,10 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetEzsignsignaturesAutomaticV1Response: - """Retrieve an existing Ezsignfolder's automatic Ezsignsignatures + ) -> EzsignfolderGetEzsignfoldersignerassociationsV1Response: + """Retrieve an existing Ezsignfolder's Ezsignfoldersignerassociations - Return the Ezsignsignatures that can be signed by the current user at the current step in the process + :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -5020,7 +5092,7 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( + _param = self._ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5029,7 +5101,7 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetEzsignsignaturesAutomaticV1Response", + '200': "EzsignfolderGetEzsignfoldersignerassociationsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -5044,7 +5116,7 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1( @validate_call - def ezsignfolder_get_ezsignsignatures_automatic_v1_with_http_info( + def ezsignfolder_get_ezsignfoldersignerassociations_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -5059,10 +5131,10 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetEzsignsignaturesAutomaticV1Response]: - """Retrieve an existing Ezsignfolder's automatic Ezsignsignatures + ) -> ApiResponse[EzsignfolderGetEzsignfoldersignerassociationsV1Response]: + """Retrieve an existing Ezsignfolder's Ezsignfoldersignerassociations - Return the Ezsignsignatures that can be signed by the current user at the current step in the process + :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -5088,7 +5160,7 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( + _param = self._ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5097,7 +5169,7 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetEzsignsignaturesAutomaticV1Response", + '200': "EzsignfolderGetEzsignfoldersignerassociationsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -5112,7 +5184,7 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1_with_http_info( @validate_call - def ezsignfolder_get_ezsignsignatures_automatic_v1_without_preload_content( + def ezsignfolder_get_ezsignfoldersignerassociations_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -5128,9 +5200,9 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve an existing Ezsignfolder's automatic Ezsignsignatures + """Retrieve an existing Ezsignfolder's Ezsignfoldersignerassociations - Return the Ezsignsignatures that can be signed by the current user at the current step in the process + :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -5156,7 +5228,7 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( + _param = self._ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5165,7 +5237,7 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetEzsignsignaturesAutomaticV1Response", + '200': "EzsignfolderGetEzsignfoldersignerassociationsV1Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -5175,7 +5247,7 @@ def ezsignfolder_get_ezsignsignatures_automatic_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( + def _ezsignfolder_get_ezsignfoldersignerassociations_v1_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -5193,7 +5265,9 @@ def _ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5206,11 +5280,12 @@ def _ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -5220,7 +5295,7 @@ def _ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsignsignaturesAutomatic', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsignfoldersignerassociations', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -5237,7 +5312,7 @@ def _ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( @validate_call - def ezsignfolder_get_forms_data_v1( + def ezsignfolder_get_ezsignsignatures_automatic_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -5252,10 +5327,10 @@ def ezsignfolder_get_forms_data_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetFormsDataV1Response: - """Retrieve an existing Ezsignfolder's forms data + ) -> EzsignfolderGetEzsignsignaturesAutomaticV1Response: + """Retrieve an existing Ezsignfolder's automatic Ezsignsignatures - + Return the Ezsignsignatures that can be signed by the current user at the current step in the process :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -5281,7 +5356,7 @@ def ezsignfolder_get_forms_data_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_forms_data_v1_serialize( + _param = self._ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5290,10 +5365,8 @@ def ezsignfolder_get_forms_data_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetFormsDataV1Response", + '200': "EzsignfolderGetEzsignsignaturesAutomaticV1Response", '404': "CommonResponseError", - '406': "CommonResponseError", - '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -5307,7 +5380,7 @@ def ezsignfolder_get_forms_data_v1( @validate_call - def ezsignfolder_get_forms_data_v1_with_http_info( + def ezsignfolder_get_ezsignsignatures_automatic_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -5322,10 +5395,10 @@ def ezsignfolder_get_forms_data_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetFormsDataV1Response]: - """Retrieve an existing Ezsignfolder's forms data + ) -> ApiResponse[EzsignfolderGetEzsignsignaturesAutomaticV1Response]: + """Retrieve an existing Ezsignfolder's automatic Ezsignsignatures - + Return the Ezsignsignatures that can be signed by the current user at the current step in the process :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -5351,7 +5424,7 @@ def ezsignfolder_get_forms_data_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_forms_data_v1_serialize( + _param = self._ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5360,10 +5433,8 @@ def ezsignfolder_get_forms_data_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetFormsDataV1Response", + '200': "EzsignfolderGetEzsignsignaturesAutomaticV1Response", '404': "CommonResponseError", - '406': "CommonResponseError", - '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -5377,7 +5448,7 @@ def ezsignfolder_get_forms_data_v1_with_http_info( @validate_call - def ezsignfolder_get_forms_data_v1_without_preload_content( + def ezsignfolder_get_ezsignsignatures_automatic_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -5393,9 +5464,9 @@ def ezsignfolder_get_forms_data_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve an existing Ezsignfolder's forms data + """Retrieve an existing Ezsignfolder's automatic Ezsignsignatures - + Return the Ezsignsignatures that can be signed by the current user at the current step in the process :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -5421,7 +5492,7 @@ def ezsignfolder_get_forms_data_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_forms_data_v1_serialize( + _param = self._ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5430,19 +5501,885 @@ def ezsignfolder_get_forms_data_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetFormsDataV1Response", + '200': "EzsignfolderGetEzsignsignaturesAutomaticV1Response", '404': "CommonResponseError", - '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignfolder_get_ezsignsignatures_automatic_v1_serialize( + self, + pki_ezsignfolder_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsignfolder_id is not None: + _path_params['pkiEzsignfolderID'] = pki_ezsignfolder_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsignsignaturesAutomatic', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsignfolder_get_forms_data_v1( + self, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignfolderGetFormsDataV1Response: + """Retrieve an existing Ezsignfolder's forms data + + + + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignfolder_get_forms_data_v1_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfolderGetFormsDataV1Response", + '404': "CommonResponseError", + '406': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignfolder_get_forms_data_v1_with_http_info( + self, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignfolderGetFormsDataV1Response]: + """Retrieve an existing Ezsignfolder's forms data + + + + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignfolder_get_forms_data_v1_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfolderGetFormsDataV1Response", + '404': "CommonResponseError", + '406': "CommonResponseError", '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignfolder_get_forms_data_v1_without_preload_content( + self, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Ezsignfolder's forms data + + + + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignfolder_get_forms_data_v1_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfolderGetFormsDataV1Response", + '404': "CommonResponseError", + '406': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignfolder_get_forms_data_v1_serialize( + self, + pki_ezsignfolder_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsignfolder_id is not None: + _path_params['pkiEzsignfolderID'] = pki_ezsignfolder_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/zip' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getFormsData', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsignfolder_get_list_v1( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignfolderGetListV1Response: + """Retrieve Ezsignfolder list + + Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsignfolderStep | Unsent
Sent
PartiallySigned
Expired
Completed
Archived
Disposed| | eEzsignfoldertypePrivacylevel | User
Usergroup | Advanced filters that can be used in query parameter *sFilter*: | Variable | |---| | fkiUserID | | sContactFirstname | | sContactLastname | | sUserFirstname | | sUserLastname | | sEzsigndocumentName | + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignfolder_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfolderGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignfolder_get_list_v1_with_http_info( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignfolderGetListV1Response]: + """Retrieve Ezsignfolder list + + Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsignfolderStep | Unsent
Sent
PartiallySigned
Expired
Completed
Archived
Disposed| | eEzsignfoldertypePrivacylevel | User
Usergroup | Advanced filters that can be used in query parameter *sFilter*: | Variable | |---| | fkiUserID | | sContactFirstname | | sContactLastname | | sUserFirstname | | sUserLastname | | sEzsigndocumentName | + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignfolder_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfolderGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignfolder_get_list_v1_without_preload_content( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Ezsignfolder list + + Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsignfolderStep | Unsent
Sent
PartiallySigned
Expired
Completed
Archived
Disposed| | eEzsignfoldertypePrivacylevel | User
Usergroup | Advanced filters that can be used in query parameter *sFilter*: | Variable | |---| | fkiUserID | | sContactFirstname | | sContactLastname | | sUserFirstname | | sUserLastname | | sEzsigndocumentName | + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignfolder_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfolderGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignfolder_get_list_v1_serialize( + self, + e_order_by, + i_row_max, + i_row_offset, + accept_language, + s_filter, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if e_order_by is not None: + + _query_params.append(('eOrderBy', e_order_by)) + + if i_row_max is not None: + + _query_params.append(('iRowMax', i_row_max)) + + if i_row_offset is not None: + + _query_params.append(('iRowOffset', i_row_offset)) + + if s_filter is not None: + + _query_params.append(('sFilter', s_filter)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/ezsignfolder/getList', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsignfolder_get_object_v1( + self, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignfolderGetObjectV1Response: + """(Deprecated) Retrieve an existing Ezsignfolder + + + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + warnings.warn("GET /1/object/ezsignfolder/{pkiEzsignfolderID} is deprecated.", DeprecationWarning) + + _param = self._ezsignfolder_get_object_v1_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfolderGetObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignfolder_get_object_v1_with_http_info( + self, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignfolderGetObjectV1Response]: + """(Deprecated) Retrieve an existing Ezsignfolder + + + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + warnings.warn("GET /1/object/ezsignfolder/{pkiEzsignfolderID} is deprecated.", DeprecationWarning) + + _param = self._ezsignfolder_get_object_v1_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfolderGetObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignfolder_get_object_v1_without_preload_content( + self, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """(Deprecated) Retrieve an existing Ezsignfolder + + + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + warnings.warn("GET /1/object/ezsignfolder/{pkiEzsignfolderID} is deprecated.", DeprecationWarning) + + _param = self._ezsignfolder_get_object_v1_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfolderGetObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) return response_data.response - def _ezsignfolder_get_forms_data_v1_serialize( + def _ezsignfolder_get_object_v1_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -5460,7 +6397,9 @@ def _ezsignfolder_get_forms_data_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5473,12 +6412,12 @@ def _ezsignfolder_get_forms_data_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/zip' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -5488,7 +6427,7 @@ def _ezsignfolder_get_forms_data_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/getFormsData', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -5505,13 +6444,9 @@ def _ezsignfolder_get_forms_data_v1_serialize( @validate_call - def ezsignfolder_get_list_v1( + def ezsignfolder_get_object_v2( self, - e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, - i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, - i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, - accept_language: Optional[HeaderAcceptLanguage] = None, - s_filter: Optional[StrictStr] = None, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5524,21 +6459,13 @@ def ezsignfolder_get_list_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetListV1Response: - """Retrieve Ezsignfolder list + ) -> EzsignfolderGetObjectV2Response: + """(Deprecated) Retrieve an existing Ezsignfolder - Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsignfolderStep | Unsent
Sent
PartiallySigned
Expired
Completed
Archived
Disposed| | eEzsignfoldertypePrivacylevel | User
Usergroup | Advanced filters that can be used in query parameter *sFilter*: | Variable | |---| | fkiUserID | | sContactFirstname | | sContactLastname | | sEzsigndocumentName | + - :param e_order_by: Specify how you want the results to be sorted - :type e_order_by: str - :param i_row_max: - :type i_row_max: int - :param i_row_offset: - :type i_row_offset: int - :param accept_language: - :type accept_language: HeaderAcceptLanguage - :param s_filter: - :type s_filter: str + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5560,13 +6487,10 @@ def ezsignfolder_get_list_v1( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /2/object/ezsignfolder/{pkiEzsignfolderID} is deprecated.", DeprecationWarning) - _param = self._ezsignfolder_get_list_v1_serialize( - e_order_by=e_order_by, - i_row_max=i_row_max, - i_row_offset=i_row_offset, - accept_language=accept_language, - s_filter=s_filter, + _param = self._ezsignfolder_get_object_v2_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5574,8 +6498,8 @@ def ezsignfolder_get_list_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetListV1Response", - '406': "CommonResponseError", + '200': "EzsignfolderGetObjectV2Response", + '404': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -5589,13 +6513,9 @@ def ezsignfolder_get_list_v1( @validate_call - def ezsignfolder_get_list_v1_with_http_info( + def ezsignfolder_get_object_v2_with_http_info( self, - e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, - i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, - i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, - accept_language: Optional[HeaderAcceptLanguage] = None, - s_filter: Optional[StrictStr] = None, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5608,21 +6528,13 @@ def ezsignfolder_get_list_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetListV1Response]: - """Retrieve Ezsignfolder list + ) -> ApiResponse[EzsignfolderGetObjectV2Response]: + """(Deprecated) Retrieve an existing Ezsignfolder - Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsignfolderStep | Unsent
Sent
PartiallySigned
Expired
Completed
Archived
Disposed| | eEzsignfoldertypePrivacylevel | User
Usergroup | Advanced filters that can be used in query parameter *sFilter*: | Variable | |---| | fkiUserID | | sContactFirstname | | sContactLastname | | sEzsigndocumentName | + - :param e_order_by: Specify how you want the results to be sorted - :type e_order_by: str - :param i_row_max: - :type i_row_max: int - :param i_row_offset: - :type i_row_offset: int - :param accept_language: - :type accept_language: HeaderAcceptLanguage - :param s_filter: - :type s_filter: str + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5644,13 +6556,10 @@ def ezsignfolder_get_list_v1_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /2/object/ezsignfolder/{pkiEzsignfolderID} is deprecated.", DeprecationWarning) - _param = self._ezsignfolder_get_list_v1_serialize( - e_order_by=e_order_by, - i_row_max=i_row_max, - i_row_offset=i_row_offset, - accept_language=accept_language, - s_filter=s_filter, + _param = self._ezsignfolder_get_object_v2_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5658,8 +6567,8 @@ def ezsignfolder_get_list_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetListV1Response", - '406': "CommonResponseError", + '200': "EzsignfolderGetObjectV2Response", + '404': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -5673,13 +6582,9 @@ def ezsignfolder_get_list_v1_with_http_info( @validate_call - def ezsignfolder_get_list_v1_without_preload_content( + def ezsignfolder_get_object_v2_without_preload_content( self, - e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, - i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, - i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, - accept_language: Optional[HeaderAcceptLanguage] = None, - s_filter: Optional[StrictStr] = None, + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5693,20 +6598,12 @@ def ezsignfolder_get_list_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve Ezsignfolder list + """(Deprecated) Retrieve an existing Ezsignfolder - Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsignfolderStep | Unsent
Sent
PartiallySigned
Expired
Completed
Archived
Disposed| | eEzsignfoldertypePrivacylevel | User
Usergroup | Advanced filters that can be used in query parameter *sFilter*: | Variable | |---| | fkiUserID | | sContactFirstname | | sContactLastname | | sEzsigndocumentName | + - :param e_order_by: Specify how you want the results to be sorted - :type e_order_by: str - :param i_row_max: - :type i_row_max: int - :param i_row_offset: - :type i_row_offset: int - :param accept_language: - :type accept_language: HeaderAcceptLanguage - :param s_filter: - :type s_filter: str + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5728,13 +6625,10 @@ def ezsignfolder_get_list_v1_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /2/object/ezsignfolder/{pkiEzsignfolderID} is deprecated.", DeprecationWarning) - _param = self._ezsignfolder_get_list_v1_serialize( - e_order_by=e_order_by, - i_row_max=i_row_max, - i_row_offset=i_row_offset, - accept_language=accept_language, - s_filter=s_filter, + _param = self._ezsignfolder_get_object_v2_serialize( + pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5742,8 +6636,8 @@ def ezsignfolder_get_list_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetListV1Response", - '406': "CommonResponseError", + '200': "EzsignfolderGetObjectV2Response", + '404': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -5752,13 +6646,9 @@ def ezsignfolder_get_list_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_list_v1_serialize( + def _ezsignfolder_get_object_v2_serialize( self, - e_order_by, - i_row_max, - i_row_offset, - accept_language, - s_filter, + pki_ezsignfolder_id, _request_auth, _content_type, _headers, @@ -5774,41 +6664,27 @@ def _ezsignfolder_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters + if pki_ezsignfolder_id is not None: + _path_params['pkiEzsignfolderID'] = pki_ezsignfolder_id # process the query parameters - if e_order_by is not None: - - _query_params.append(('eOrderBy', e_order_by)) - - if i_row_max is not None: - - _query_params.append(('iRowMax', i_row_max)) - - if i_row_offset is not None: - - _query_params.append(('iRowOffset', i_row_offset)) - - if s_filter is not None: - - _query_params.append(('sFilter', s_filter)) - # process the header parameters - if accept_language is not None: - _header_params['Accept-Language'] = accept_language # process the form parameters # process the body parameter # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -5818,7 +6694,7 @@ def _ezsignfolder_get_list_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/getList', + resource_path='/2/object/ezsignfolder/{pkiEzsignfolderID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -5835,7 +6711,7 @@ def _ezsignfolder_get_list_v1_serialize( @validate_call - def ezsignfolder_get_object_v1( + def ezsignfolder_get_object_v3( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -5850,9 +6726,10 @@ def ezsignfolder_get_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetObjectV1Response: - """(Deprecated) Retrieve an existing Ezsignfolder + ) -> EzsignfolderGetObjectV3Response: + """Retrieve an existing Ezsignfolder + :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -5877,9 +6754,8 @@ def ezsignfolder_get_object_v1( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 - warnings.warn("GET /1/object/ezsignfolder/{pkiEzsignfolderID} is deprecated.", DeprecationWarning) - _param = self._ezsignfolder_get_object_v1_serialize( + _param = self._ezsignfolder_get_object_v3_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5888,7 +6764,7 @@ def ezsignfolder_get_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetObjectV1Response", + '200': "EzsignfolderGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -5903,7 +6779,7 @@ def ezsignfolder_get_object_v1( @validate_call - def ezsignfolder_get_object_v1_with_http_info( + def ezsignfolder_get_object_v3_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -5918,9 +6794,10 @@ def ezsignfolder_get_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetObjectV1Response]: - """(Deprecated) Retrieve an existing Ezsignfolder + ) -> ApiResponse[EzsignfolderGetObjectV3Response]: + """Retrieve an existing Ezsignfolder + :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -5945,9 +6822,8 @@ def ezsignfolder_get_object_v1_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 - warnings.warn("GET /1/object/ezsignfolder/{pkiEzsignfolderID} is deprecated.", DeprecationWarning) - _param = self._ezsignfolder_get_object_v1_serialize( + _param = self._ezsignfolder_get_object_v3_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5956,7 +6832,7 @@ def ezsignfolder_get_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetObjectV1Response", + '200': "EzsignfolderGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -5971,7 +6847,7 @@ def ezsignfolder_get_object_v1_with_http_info( @validate_call - def ezsignfolder_get_object_v1_without_preload_content( + def ezsignfolder_get_object_v3_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -5987,8 +6863,9 @@ def ezsignfolder_get_object_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """(Deprecated) Retrieve an existing Ezsignfolder + """Retrieve an existing Ezsignfolder + :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int @@ -6013,9 +6890,8 @@ def ezsignfolder_get_object_v1_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 - warnings.warn("GET /1/object/ezsignfolder/{pkiEzsignfolderID} is deprecated.", DeprecationWarning) - _param = self._ezsignfolder_get_object_v1_serialize( + _param = self._ezsignfolder_get_object_v3_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, _request_auth=_request_auth, _content_type=_content_type, @@ -6024,7 +6900,7 @@ def ezsignfolder_get_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetObjectV1Response", + '200': "EzsignfolderGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -6034,7 +6910,7 @@ def ezsignfolder_get_object_v1_without_preload_content( return response_data.response - def _ezsignfolder_get_object_v1_serialize( + def _ezsignfolder_get_object_v3_serialize( self, pki_ezsignfolder_id, _request_auth, @@ -6052,7 +6928,9 @@ def _ezsignfolder_get_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6065,11 +6943,12 @@ def _ezsignfolder_get_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -6079,7 +6958,7 @@ def _ezsignfolder_get_object_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}', + resource_path='/3/object/ezsignfolder/{pkiEzsignfolderID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -6096,9 +6975,10 @@ def _ezsignfolder_get_object_v1_serialize( @validate_call - def ezsignfolder_get_object_v2( + def ezsignfolder_import_ezsignfoldersignerassociations_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6111,13 +6991,15 @@ def ezsignfolder_get_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderGetObjectV2Response: - """Retrieve an existing Ezsignfolder + ) -> EzsignfolderImportEzsignfoldersignerassociationsV1Response: + """Import an existing Ezsignfoldersignerassociation into this Ezsignfolder :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int + :param ezsignfolder_import_ezsignfoldersignerassociations_v1_request: (required) + :type ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6140,8 +7022,9 @@ def ezsignfolder_get_object_v2( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_object_v2_serialize( + _param = self._ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, + ezsignfolder_import_ezsignfoldersignerassociations_v1_request=ezsignfolder_import_ezsignfoldersignerassociations_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6149,8 +7032,10 @@ def ezsignfolder_get_object_v2( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetObjectV2Response", + '200': "EzsignfolderImportEzsignfoldersignerassociationsV1Response", + '403': "CommonResponseError", '404': "CommonResponseError", + '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -6164,9 +7049,10 @@ def ezsignfolder_get_object_v2( @validate_call - def ezsignfolder_get_object_v2_with_http_info( + def ezsignfolder_import_ezsignfoldersignerassociations_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6179,13 +7065,15 @@ def ezsignfolder_get_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderGetObjectV2Response]: - """Retrieve an existing Ezsignfolder + ) -> ApiResponse[EzsignfolderImportEzsignfoldersignerassociationsV1Response]: + """Import an existing Ezsignfoldersignerassociation into this Ezsignfolder :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int + :param ezsignfolder_import_ezsignfoldersignerassociations_v1_request: (required) + :type ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6208,8 +7096,9 @@ def ezsignfolder_get_object_v2_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_object_v2_serialize( + _param = self._ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, + ezsignfolder_import_ezsignfoldersignerassociations_v1_request=ezsignfolder_import_ezsignfoldersignerassociations_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6217,8 +7106,10 @@ def ezsignfolder_get_object_v2_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetObjectV2Response", + '200': "EzsignfolderImportEzsignfoldersignerassociationsV1Response", + '403': "CommonResponseError", '404': "CommonResponseError", + '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -6232,9 +7123,10 @@ def ezsignfolder_get_object_v2_with_http_info( @validate_call - def ezsignfolder_get_object_v2_without_preload_content( + def ezsignfolder_import_ezsignfoldersignerassociations_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], + ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6248,12 +7140,14 @@ def ezsignfolder_get_object_v2_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve an existing Ezsignfolder + """Import an existing Ezsignfoldersignerassociation into this Ezsignfolder :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int + :param ezsignfolder_import_ezsignfoldersignerassociations_v1_request: (required) + :type ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6276,8 +7170,9 @@ def ezsignfolder_get_object_v2_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_get_object_v2_serialize( + _param = self._ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, + ezsignfolder_import_ezsignfoldersignerassociations_v1_request=ezsignfolder_import_ezsignfoldersignerassociations_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6285,8 +7180,10 @@ def ezsignfolder_get_object_v2_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderGetObjectV2Response", + '200': "EzsignfolderImportEzsignfoldersignerassociationsV1Response", + '403': "CommonResponseError", '404': "CommonResponseError", + '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -6295,9 +7192,10 @@ def ezsignfolder_get_object_v2_without_preload_content( return response_data.response - def _ezsignfolder_get_object_v2_serialize( + def _ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( self, pki_ezsignfolder_id, + ezsignfolder_import_ezsignfoldersignerassociations_v1_request, _request_auth, _content_type, _headers, @@ -6313,7 +7211,9 @@ def _ezsignfolder_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6323,15 +7223,31 @@ def _ezsignfolder_get_object_v2_serialize( # process the header parameters # process the form parameters # process the body parameter + if ezsignfolder_import_ezsignfoldersignerassociations_v1_request is not None: + _body_params = ezsignfolder_import_ezsignfoldersignerassociations_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -6339,8 +7255,8 @@ def _ezsignfolder_get_object_v2_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/2/object/ezsignfolder/{pkiEzsignfolderID}', + method='POST', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/importEzsignfoldersignerassociations', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -6357,10 +7273,10 @@ def _ezsignfolder_get_object_v2_serialize( @validate_call - def ezsignfolder_import_ezsignfoldersignerassociations_v1( + def ezsignfolder_import_ezsigntemplatepackage_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request, + ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6373,15 +7289,15 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderImportEzsignfoldersignerassociationsV1Response: - """Import an existing Ezsignfoldersignerassociation into this Ezsignfolder + ) -> EzsignfolderImportEzsigntemplatepackageV1Response: + """Import an Ezsigntemplatepackage in the Ezsignfolder. - + This endpoint imports all of the Ezsigntemplates from the Ezsigntemplatepackage into the Ezsignfolder as Ezsigndocuments. This allows to automatically apply all the Ezsigntemplateformfieldgroups and Ezsigntemplatesignatures on the newly created Ezsigndocuments in a single step. :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_import_ezsignfoldersignerassociations_v1_request: (required) - :type ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request + :param ezsignfolder_import_ezsigntemplatepackage_v1_request: (required) + :type ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6404,9 +7320,9 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( + _param = self._ezsignfolder_import_ezsigntemplatepackage_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_import_ezsignfoldersignerassociations_v1_request=ezsignfolder_import_ezsignfoldersignerassociations_v1_request, + ezsignfolder_import_ezsigntemplatepackage_v1_request=ezsignfolder_import_ezsigntemplatepackage_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6414,8 +7330,7 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderImportEzsignfoldersignerassociationsV1Response", - '403': "CommonResponseError", + '200': "EzsignfolderImportEzsigntemplatepackageV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -6431,10 +7346,10 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1( @validate_call - def ezsignfolder_import_ezsignfoldersignerassociations_v1_with_http_info( + def ezsignfolder_import_ezsigntemplatepackage_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request, + ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6447,15 +7362,15 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderImportEzsignfoldersignerassociationsV1Response]: - """Import an existing Ezsignfoldersignerassociation into this Ezsignfolder + ) -> ApiResponse[EzsignfolderImportEzsigntemplatepackageV1Response]: + """Import an Ezsigntemplatepackage in the Ezsignfolder. - + This endpoint imports all of the Ezsigntemplates from the Ezsigntemplatepackage into the Ezsignfolder as Ezsigndocuments. This allows to automatically apply all the Ezsigntemplateformfieldgroups and Ezsigntemplatesignatures on the newly created Ezsigndocuments in a single step. :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_import_ezsignfoldersignerassociations_v1_request: (required) - :type ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request + :param ezsignfolder_import_ezsigntemplatepackage_v1_request: (required) + :type ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6478,9 +7393,9 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( + _param = self._ezsignfolder_import_ezsigntemplatepackage_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_import_ezsignfoldersignerassociations_v1_request=ezsignfolder_import_ezsignfoldersignerassociations_v1_request, + ezsignfolder_import_ezsigntemplatepackage_v1_request=ezsignfolder_import_ezsigntemplatepackage_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6488,8 +7403,7 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderImportEzsignfoldersignerassociationsV1Response", - '403': "CommonResponseError", + '200': "EzsignfolderImportEzsigntemplatepackageV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -6505,10 +7419,10 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1_with_http_info( @validate_call - def ezsignfolder_import_ezsignfoldersignerassociations_v1_without_preload_content( + def ezsignfolder_import_ezsigntemplatepackage_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request, + ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6522,14 +7436,14 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1_without_preload_conten _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Import an existing Ezsignfoldersignerassociation into this Ezsignfolder + """Import an Ezsigntemplatepackage in the Ezsignfolder. - + This endpoint imports all of the Ezsigntemplates from the Ezsigntemplatepackage into the Ezsignfolder as Ezsigndocuments. This allows to automatically apply all the Ezsigntemplateformfieldgroups and Ezsigntemplatesignatures on the newly created Ezsigndocuments in a single step. :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_import_ezsignfoldersignerassociations_v1_request: (required) - :type ezsignfolder_import_ezsignfoldersignerassociations_v1_request: EzsignfolderImportEzsignfoldersignerassociationsV1Request + :param ezsignfolder_import_ezsigntemplatepackage_v1_request: (required) + :type ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6552,9 +7466,9 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1_without_preload_conten :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( + _param = self._ezsignfolder_import_ezsigntemplatepackage_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_import_ezsignfoldersignerassociations_v1_request=ezsignfolder_import_ezsignfoldersignerassociations_v1_request, + ezsignfolder_import_ezsigntemplatepackage_v1_request=ezsignfolder_import_ezsigntemplatepackage_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6562,8 +7476,7 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1_without_preload_conten ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderImportEzsignfoldersignerassociationsV1Response", - '403': "CommonResponseError", + '200': "EzsignfolderImportEzsigntemplatepackageV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -6574,10 +7487,10 @@ def ezsignfolder_import_ezsignfoldersignerassociations_v1_without_preload_conten return response_data.response - def _ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( + def _ezsignfolder_import_ezsigntemplatepackage_v1_serialize( self, pki_ezsignfolder_id, - ezsignfolder_import_ezsignfoldersignerassociations_v1_request, + ezsignfolder_import_ezsigntemplatepackage_v1_request, _request_auth, _content_type, _headers, @@ -6593,7 +7506,9 @@ def _ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6603,16 +7518,17 @@ def _ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsignfolder_import_ezsignfoldersignerassociations_v1_request is not None: - _body_params = ezsignfolder_import_ezsignfoldersignerassociations_v1_request + if ezsignfolder_import_ezsigntemplatepackage_v1_request is not None: + _body_params = ezsignfolder_import_ezsigntemplatepackage_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -6635,7 +7551,7 @@ def _ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/importEzsignfoldersignerassociations', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/importEzsigntemplatepackage', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -6652,10 +7568,10 @@ def _ezsignfolder_import_ezsignfoldersignerassociations_v1_serialize( @validate_call - def ezsignfolder_import_ezsigntemplatepackage_v1( + def ezsignfolder_reorder_v1( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request, + ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6668,15 +7584,14 @@ def ezsignfolder_import_ezsigntemplatepackage_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderImportEzsigntemplatepackageV1Response: - """Import an Ezsigntemplatepackage in the Ezsignfolder. + ) -> EzsignfolderReorderV1Response: + """(Deprecated) Reorder Ezsigndocuments in the Ezsignfolder - This endpoint imports all of the Ezsigntemplates from the Ezsigntemplatepackage into the Ezsignfolder as Ezsigndocuments. This allows to automatically apply all the Ezsigntemplateformfieldgroups and Ezsigntemplatesignatures on the newly created Ezsigndocuments in a single step. :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_import_ezsigntemplatepackage_v1_request: (required) - :type ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request + :param ezsignfolder_reorder_v1_request: (required) + :type ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6698,10 +7613,11 @@ def ezsignfolder_import_ezsigntemplatepackage_v1( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /1/object/ezsignfolder/{pkiEzsignfolderID}/reorder is deprecated.", DeprecationWarning) - _param = self._ezsignfolder_import_ezsigntemplatepackage_v1_serialize( + _param = self._ezsignfolder_reorder_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_import_ezsigntemplatepackage_v1_request=ezsignfolder_import_ezsigntemplatepackage_v1_request, + ezsignfolder_reorder_v1_request=ezsignfolder_reorder_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6709,7 +7625,7 @@ def ezsignfolder_import_ezsigntemplatepackage_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderImportEzsigntemplatepackageV1Response", + '200': "EzsignfolderReorderV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -6725,10 +7641,10 @@ def ezsignfolder_import_ezsigntemplatepackage_v1( @validate_call - def ezsignfolder_import_ezsigntemplatepackage_v1_with_http_info( + def ezsignfolder_reorder_v1_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request, + ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6741,15 +7657,14 @@ def ezsignfolder_import_ezsigntemplatepackage_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderImportEzsigntemplatepackageV1Response]: - """Import an Ezsigntemplatepackage in the Ezsignfolder. + ) -> ApiResponse[EzsignfolderReorderV1Response]: + """(Deprecated) Reorder Ezsigndocuments in the Ezsignfolder - This endpoint imports all of the Ezsigntemplates from the Ezsigntemplatepackage into the Ezsignfolder as Ezsigndocuments. This allows to automatically apply all the Ezsigntemplateformfieldgroups and Ezsigntemplatesignatures on the newly created Ezsigndocuments in a single step. :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_import_ezsigntemplatepackage_v1_request: (required) - :type ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request + :param ezsignfolder_reorder_v1_request: (required) + :type ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6771,10 +7686,11 @@ def ezsignfolder_import_ezsigntemplatepackage_v1_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /1/object/ezsignfolder/{pkiEzsignfolderID}/reorder is deprecated.", DeprecationWarning) - _param = self._ezsignfolder_import_ezsigntemplatepackage_v1_serialize( + _param = self._ezsignfolder_reorder_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_import_ezsigntemplatepackage_v1_request=ezsignfolder_import_ezsigntemplatepackage_v1_request, + ezsignfolder_reorder_v1_request=ezsignfolder_reorder_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6782,7 +7698,7 @@ def ezsignfolder_import_ezsigntemplatepackage_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderImportEzsigntemplatepackageV1Response", + '200': "EzsignfolderReorderV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -6798,10 +7714,10 @@ def ezsignfolder_import_ezsigntemplatepackage_v1_with_http_info( @validate_call - def ezsignfolder_import_ezsigntemplatepackage_v1_without_preload_content( + def ezsignfolder_reorder_v1_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request, + ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6815,14 +7731,13 @@ def ezsignfolder_import_ezsigntemplatepackage_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Import an Ezsigntemplatepackage in the Ezsignfolder. + """(Deprecated) Reorder Ezsigndocuments in the Ezsignfolder - This endpoint imports all of the Ezsigntemplates from the Ezsigntemplatepackage into the Ezsignfolder as Ezsigndocuments. This allows to automatically apply all the Ezsigntemplateformfieldgroups and Ezsigntemplatesignatures on the newly created Ezsigndocuments in a single step. :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_import_ezsigntemplatepackage_v1_request: (required) - :type ezsignfolder_import_ezsigntemplatepackage_v1_request: EzsignfolderImportEzsigntemplatepackageV1Request + :param ezsignfolder_reorder_v1_request: (required) + :type ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6844,10 +7759,11 @@ def ezsignfolder_import_ezsigntemplatepackage_v1_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /1/object/ezsignfolder/{pkiEzsignfolderID}/reorder is deprecated.", DeprecationWarning) - _param = self._ezsignfolder_import_ezsigntemplatepackage_v1_serialize( + _param = self._ezsignfolder_reorder_v1_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_import_ezsigntemplatepackage_v1_request=ezsignfolder_import_ezsigntemplatepackage_v1_request, + ezsignfolder_reorder_v1_request=ezsignfolder_reorder_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6855,7 +7771,7 @@ def ezsignfolder_import_ezsigntemplatepackage_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderImportEzsigntemplatepackageV1Response", + '200': "EzsignfolderReorderV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -6866,10 +7782,10 @@ def ezsignfolder_import_ezsigntemplatepackage_v1_without_preload_content( return response_data.response - def _ezsignfolder_import_ezsigntemplatepackage_v1_serialize( + def _ezsignfolder_reorder_v1_serialize( self, pki_ezsignfolder_id, - ezsignfolder_import_ezsigntemplatepackage_v1_request, + ezsignfolder_reorder_v1_request, _request_auth, _content_type, _headers, @@ -6885,7 +7801,9 @@ def _ezsignfolder_import_ezsigntemplatepackage_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6895,16 +7813,17 @@ def _ezsignfolder_import_ezsigntemplatepackage_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsignfolder_import_ezsigntemplatepackage_v1_request is not None: - _body_params = ezsignfolder_import_ezsigntemplatepackage_v1_request + if ezsignfolder_reorder_v1_request is not None: + _body_params = ezsignfolder_reorder_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -6927,7 +7846,7 @@ def _ezsignfolder_import_ezsigntemplatepackage_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/importEzsigntemplatepackage', + resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/reorder', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -6944,10 +7863,10 @@ def _ezsignfolder_import_ezsigntemplatepackage_v1_serialize( @validate_call - def ezsignfolder_reorder_v1( + def ezsignfolder_reorder_v2( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request, + ezsignfolder_reorder_v2_request: EzsignfolderReorderV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6960,14 +7879,14 @@ def ezsignfolder_reorder_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfolderReorderV1Response: + ) -> EzsignfolderReorderV2Response: """Reorder Ezsigndocuments in the Ezsignfolder :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_reorder_v1_request: (required) - :type ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request + :param ezsignfolder_reorder_v2_request: (required) + :type ezsignfolder_reorder_v2_request: EzsignfolderReorderV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6990,9 +7909,9 @@ def ezsignfolder_reorder_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_reorder_v1_serialize( + _param = self._ezsignfolder_reorder_v2_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_reorder_v1_request=ezsignfolder_reorder_v1_request, + ezsignfolder_reorder_v2_request=ezsignfolder_reorder_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -7000,7 +7919,7 @@ def ezsignfolder_reorder_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderReorderV1Response", + '200': "EzsignfolderReorderV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -7016,10 +7935,10 @@ def ezsignfolder_reorder_v1( @validate_call - def ezsignfolder_reorder_v1_with_http_info( + def ezsignfolder_reorder_v2_with_http_info( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request, + ezsignfolder_reorder_v2_request: EzsignfolderReorderV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -7032,14 +7951,14 @@ def ezsignfolder_reorder_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfolderReorderV1Response]: + ) -> ApiResponse[EzsignfolderReorderV2Response]: """Reorder Ezsigndocuments in the Ezsignfolder :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_reorder_v1_request: (required) - :type ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request + :param ezsignfolder_reorder_v2_request: (required) + :type ezsignfolder_reorder_v2_request: EzsignfolderReorderV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -7062,9 +7981,9 @@ def ezsignfolder_reorder_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_reorder_v1_serialize( + _param = self._ezsignfolder_reorder_v2_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_reorder_v1_request=ezsignfolder_reorder_v1_request, + ezsignfolder_reorder_v2_request=ezsignfolder_reorder_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -7072,7 +7991,7 @@ def ezsignfolder_reorder_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderReorderV1Response", + '200': "EzsignfolderReorderV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -7088,10 +8007,10 @@ def ezsignfolder_reorder_v1_with_http_info( @validate_call - def ezsignfolder_reorder_v1_without_preload_content( + def ezsignfolder_reorder_v2_without_preload_content( self, pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)], - ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request, + ezsignfolder_reorder_v2_request: EzsignfolderReorderV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -7110,8 +8029,8 @@ def ezsignfolder_reorder_v1_without_preload_content( :param pki_ezsignfolder_id: (required) :type pki_ezsignfolder_id: int - :param ezsignfolder_reorder_v1_request: (required) - :type ezsignfolder_reorder_v1_request: EzsignfolderReorderV1Request + :param ezsignfolder_reorder_v2_request: (required) + :type ezsignfolder_reorder_v2_request: EzsignfolderReorderV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -7134,9 +8053,9 @@ def ezsignfolder_reorder_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfolder_reorder_v1_serialize( + _param = self._ezsignfolder_reorder_v2_serialize( pki_ezsignfolder_id=pki_ezsignfolder_id, - ezsignfolder_reorder_v1_request=ezsignfolder_reorder_v1_request, + ezsignfolder_reorder_v2_request=ezsignfolder_reorder_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -7144,7 +8063,7 @@ def ezsignfolder_reorder_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfolderReorderV1Response", + '200': "EzsignfolderReorderV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -7155,10 +8074,10 @@ def ezsignfolder_reorder_v1_without_preload_content( return response_data.response - def _ezsignfolder_reorder_v1_serialize( + def _ezsignfolder_reorder_v2_serialize( self, pki_ezsignfolder_id, - ezsignfolder_reorder_v1_request, + ezsignfolder_reorder_v2_request, _request_auth, _content_type, _headers, @@ -7174,7 +8093,9 @@ def _ezsignfolder_reorder_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7184,16 +8105,17 @@ def _ezsignfolder_reorder_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsignfolder_reorder_v1_request is not None: - _body_params = ezsignfolder_reorder_v1_request + if ezsignfolder_reorder_v2_request is not None: + _body_params = ezsignfolder_reorder_v2_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -7216,7 +8138,7 @@ def _ezsignfolder_reorder_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/ezsignfolder/{pkiEzsignfolderID}/reorder', + resource_path='/2/object/ezsignfolder/{pkiEzsignfolderID}/reorder', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -7469,7 +8391,9 @@ def _ezsignfolder_send_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7484,11 +8408,12 @@ def _ezsignfolder_send_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -7761,7 +8686,9 @@ def _ezsignfolder_send_v3_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7776,11 +8703,12 @@ def _ezsignfolder_send_v3_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -8053,7 +8981,9 @@ def _ezsignfolder_unsend_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -8068,11 +8998,12 @@ def _ezsignfolder_unsend_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_ezsignfoldersignerassociation_api.py b/eZmaxApi/api/object_ezsignfoldersignerassociation_api.py index 5a6368976..cd7e3d775 100644 --- a/eZmaxApi/api/object_ezsignfoldersignerassociation_api.py +++ b/eZmaxApi/api/object_ezsignfoldersignerassociation_api.py @@ -35,6 +35,8 @@ from eZmaxApi.models.ezsignfoldersignerassociation_get_object_v2_response import EzsignfoldersignerassociationGetObjectV2Response from eZmaxApi.models.ezsignfoldersignerassociation_patch_object_v1_request import EzsignfoldersignerassociationPatchObjectV1Request from eZmaxApi.models.ezsignfoldersignerassociation_patch_object_v1_response import EzsignfoldersignerassociationPatchObjectV1Response +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_request import EzsignfoldersignerassociationReassignV1Request +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_response import EzsignfoldersignerassociationReassignV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -74,7 +76,7 @@ def ezsignfoldersignerassociation_create_embedded_url_v1( ) -> EzsignfoldersignerassociationCreateEmbeddedUrlV1Response: """Creates an Url to allow embedded signing - This endpoint creates an Url that can be used in a browser or embedded in an I-Frame to allow signing. The signer Login type must be configured as Embedded. There will be a list to retrieve informations after the signing happens in the embedded version. To do so, there is a list of parameter to add to your sReturnUrl. In example: https://www.example.com/sReturl?sParameter1&sParameter2. The sParameter1 et sParameter2 will be replace when we will redirect on the url. + This endpoint creates an Url that can be used in a browser or embedded in an I-Frame to allow signing. The signer Login type must be configured as Embedded. :param pki_ezsignfoldersignerassociation_id: (required) :type pki_ezsignfoldersignerassociation_id: int @@ -147,7 +149,7 @@ def ezsignfoldersignerassociation_create_embedded_url_v1_with_http_info( ) -> ApiResponse[EzsignfoldersignerassociationCreateEmbeddedUrlV1Response]: """Creates an Url to allow embedded signing - This endpoint creates an Url that can be used in a browser or embedded in an I-Frame to allow signing. The signer Login type must be configured as Embedded. There will be a list to retrieve informations after the signing happens in the embedded version. To do so, there is a list of parameter to add to your sReturnUrl. In example: https://www.example.com/sReturl?sParameter1&sParameter2. The sParameter1 et sParameter2 will be replace when we will redirect on the url. + This endpoint creates an Url that can be used in a browser or embedded in an I-Frame to allow signing. The signer Login type must be configured as Embedded. :param pki_ezsignfoldersignerassociation_id: (required) :type pki_ezsignfoldersignerassociation_id: int @@ -220,7 +222,7 @@ def ezsignfoldersignerassociation_create_embedded_url_v1_without_preload_content ) -> RESTResponseType: """Creates an Url to allow embedded signing - This endpoint creates an Url that can be used in a browser or embedded in an I-Frame to allow signing. The signer Login type must be configured as Embedded. There will be a list to retrieve informations after the signing happens in the embedded version. To do so, there is a list of parameter to add to your sReturnUrl. In example: https://www.example.com/sReturl?sParameter1&sParameter2. The sParameter1 et sParameter2 will be replace when we will redirect on the url. + This endpoint creates an Url that can be used in a browser or embedded in an I-Frame to allow signing. The signer Login type must be configured as Embedded. :param pki_ezsignfoldersignerassociation_id: (required) :type pki_ezsignfoldersignerassociation_id: int @@ -288,7 +290,9 @@ def _ezsignfoldersignerassociation_create_embedded_url_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -303,11 +307,12 @@ def _ezsignfoldersignerassociation_create_embedded_url_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -565,7 +570,9 @@ def _ezsignfoldersignerassociation_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -578,11 +585,12 @@ def _ezsignfoldersignerassociation_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -836,7 +844,9 @@ def _ezsignfoldersignerassociation_create_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -849,11 +859,12 @@ def _ezsignfoldersignerassociation_create_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1113,7 +1124,9 @@ def _ezsignfoldersignerassociation_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1126,11 +1139,12 @@ def _ezsignfoldersignerassociation_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1390,7 +1404,9 @@ def _ezsignfoldersignerassociation_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1405,11 +1421,12 @@ def _ezsignfoldersignerassociation_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1682,7 +1699,9 @@ def _ezsignfoldersignerassociation_force_disconnect_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1697,11 +1716,12 @@ def _ezsignfoldersignerassociation_force_disconnect_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1961,7 +1981,9 @@ def _ezsignfoldersignerassociation_get_in_person_login_url_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1974,11 +1996,12 @@ def _ezsignfoldersignerassociation_get_in_person_login_url_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2225,7 +2248,9 @@ def _ezsignfoldersignerassociation_get_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2238,11 +2263,12 @@ def _ezsignfoldersignerassociation_get_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2486,7 +2512,9 @@ def _ezsignfoldersignerassociation_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2499,11 +2527,12 @@ def _ezsignfoldersignerassociation_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2760,7 +2789,9 @@ def _ezsignfoldersignerassociation_patch_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2775,11 +2806,12 @@ def _ezsignfoldersignerassociation_patch_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -2816,3 +2848,298 @@ def _ezsignfoldersignerassociation_patch_object_v1_serialize( ) + + + @validate_call + def ezsignfoldersignerassociation_reassign_v1( + self, + pki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)], + ezsignfoldersignerassociation_reassign_v1_request: EzsignfoldersignerassociationReassignV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignfoldersignerassociationReassignV1Response: + """Reassign remaining unsigned signatures and forms + + Reassign remaining unsigned signatures and forms + + :param pki_ezsignfoldersignerassociation_id: (required) + :type pki_ezsignfoldersignerassociation_id: int + :param ezsignfoldersignerassociation_reassign_v1_request: (required) + :type ezsignfoldersignerassociation_reassign_v1_request: EzsignfoldersignerassociationReassignV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignfoldersignerassociation_reassign_v1_serialize( + pki_ezsignfoldersignerassociation_id=pki_ezsignfoldersignerassociation_id, + ezsignfoldersignerassociation_reassign_v1_request=ezsignfoldersignerassociation_reassign_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfoldersignerassociationReassignV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignfoldersignerassociation_reassign_v1_with_http_info( + self, + pki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)], + ezsignfoldersignerassociation_reassign_v1_request: EzsignfoldersignerassociationReassignV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignfoldersignerassociationReassignV1Response]: + """Reassign remaining unsigned signatures and forms + + Reassign remaining unsigned signatures and forms + + :param pki_ezsignfoldersignerassociation_id: (required) + :type pki_ezsignfoldersignerassociation_id: int + :param ezsignfoldersignerassociation_reassign_v1_request: (required) + :type ezsignfoldersignerassociation_reassign_v1_request: EzsignfoldersignerassociationReassignV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignfoldersignerassociation_reassign_v1_serialize( + pki_ezsignfoldersignerassociation_id=pki_ezsignfoldersignerassociation_id, + ezsignfoldersignerassociation_reassign_v1_request=ezsignfoldersignerassociation_reassign_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfoldersignerassociationReassignV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignfoldersignerassociation_reassign_v1_without_preload_content( + self, + pki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)], + ezsignfoldersignerassociation_reassign_v1_request: EzsignfoldersignerassociationReassignV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Reassign remaining unsigned signatures and forms + + Reassign remaining unsigned signatures and forms + + :param pki_ezsignfoldersignerassociation_id: (required) + :type pki_ezsignfoldersignerassociation_id: int + :param ezsignfoldersignerassociation_reassign_v1_request: (required) + :type ezsignfoldersignerassociation_reassign_v1_request: EzsignfoldersignerassociationReassignV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignfoldersignerassociation_reassign_v1_serialize( + pki_ezsignfoldersignerassociation_id=pki_ezsignfoldersignerassociation_id, + ezsignfoldersignerassociation_reassign_v1_request=ezsignfoldersignerassociation_reassign_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignfoldersignerassociationReassignV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignfoldersignerassociation_reassign_v1_serialize( + self, + pki_ezsignfoldersignerassociation_id, + ezsignfoldersignerassociation_reassign_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsignfoldersignerassociation_id is not None: + _path_params['pkiEzsignfoldersignerassociationID'] = pki_ezsignfoldersignerassociation_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsignfoldersignerassociation_reassign_v1_request is not None: + _body_params = ezsignfoldersignerassociation_reassign_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}/reassign', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_ezsignfoldertype_api.py b/eZmaxApi/api/object_ezsignfoldertype_api.py index b2ebc209d..8856b3588 100644 --- a/eZmaxApi/api/object_ezsignfoldertype_api.py +++ b/eZmaxApi/api/object_ezsignfoldertype_api.py @@ -20,16 +20,14 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.ezsignfoldertype_create_object_v2_request import EzsignfoldertypeCreateObjectV2Request -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response import EzsignfoldertypeCreateObjectV2Response -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_request import EzsignfoldertypeEditObjectV1Request -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_response import EzsignfoldertypeEditObjectV1Response -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_request import EzsignfoldertypeEditObjectV2Request -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_response import EzsignfoldertypeEditObjectV2Response +from eZmaxApi.models.ezsignfoldertype_create_object_v3_request import EzsignfoldertypeCreateObjectV3Request +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response import EzsignfoldertypeCreateObjectV3Response +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_request import EzsignfoldertypeEditObjectV3Request +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_response import EzsignfoldertypeEditObjectV3Response from eZmaxApi.models.ezsignfoldertype_get_autocomplete_v2_response import EzsignfoldertypeGetAutocompleteV2Response from eZmaxApi.models.ezsignfoldertype_get_list_v1_response import EzsignfoldertypeGetListV1Response from eZmaxApi.models.ezsignfoldertype_get_object_v2_response import EzsignfoldertypeGetObjectV2Response -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response import EzsignfoldertypeGetObjectV3Response +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response import EzsignfoldertypeGetObjectV4Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -51,9 +49,9 @@ def __init__(self, api_client=None) -> None: @validate_call - def ezsignfoldertype_create_object_v2( + def ezsignfoldertype_create_object_v3( self, - ezsignfoldertype_create_object_v2_request: EzsignfoldertypeCreateObjectV2Request, + ezsignfoldertype_create_object_v3_request: EzsignfoldertypeCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66,13 +64,13 @@ def ezsignfoldertype_create_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfoldertypeCreateObjectV2Response: + ) -> EzsignfoldertypeCreateObjectV3Response: """Create a new Ezsignfoldertype The endpoint allows to create one or many elements at once. - :param ezsignfoldertype_create_object_v2_request: (required) - :type ezsignfoldertype_create_object_v2_request: EzsignfoldertypeCreateObjectV2Request + :param ezsignfoldertype_create_object_v3_request: (required) + :type ezsignfoldertype_create_object_v3_request: EzsignfoldertypeCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -95,8 +93,8 @@ def ezsignfoldertype_create_object_v2( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfoldertype_create_object_v2_serialize( - ezsignfoldertype_create_object_v2_request=ezsignfoldertype_create_object_v2_request, + _param = self._ezsignfoldertype_create_object_v3_serialize( + ezsignfoldertype_create_object_v3_request=ezsignfoldertype_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104,7 +102,7 @@ def ezsignfoldertype_create_object_v2( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsignfoldertypeCreateObjectV2Response", + '201': "EzsignfoldertypeCreateObjectV3Response", } response_data = self.api_client.call_api( *_param, @@ -118,9 +116,9 @@ def ezsignfoldertype_create_object_v2( @validate_call - def ezsignfoldertype_create_object_v2_with_http_info( + def ezsignfoldertype_create_object_v3_with_http_info( self, - ezsignfoldertype_create_object_v2_request: EzsignfoldertypeCreateObjectV2Request, + ezsignfoldertype_create_object_v3_request: EzsignfoldertypeCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133,13 +131,13 @@ def ezsignfoldertype_create_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfoldertypeCreateObjectV2Response]: + ) -> ApiResponse[EzsignfoldertypeCreateObjectV3Response]: """Create a new Ezsignfoldertype The endpoint allows to create one or many elements at once. - :param ezsignfoldertype_create_object_v2_request: (required) - :type ezsignfoldertype_create_object_v2_request: EzsignfoldertypeCreateObjectV2Request + :param ezsignfoldertype_create_object_v3_request: (required) + :type ezsignfoldertype_create_object_v3_request: EzsignfoldertypeCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -162,8 +160,8 @@ def ezsignfoldertype_create_object_v2_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfoldertype_create_object_v2_serialize( - ezsignfoldertype_create_object_v2_request=ezsignfoldertype_create_object_v2_request, + _param = self._ezsignfoldertype_create_object_v3_serialize( + ezsignfoldertype_create_object_v3_request=ezsignfoldertype_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -171,7 +169,7 @@ def ezsignfoldertype_create_object_v2_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsignfoldertypeCreateObjectV2Response", + '201': "EzsignfoldertypeCreateObjectV3Response", } response_data = self.api_client.call_api( *_param, @@ -185,9 +183,9 @@ def ezsignfoldertype_create_object_v2_with_http_info( @validate_call - def ezsignfoldertype_create_object_v2_without_preload_content( + def ezsignfoldertype_create_object_v3_without_preload_content( self, - ezsignfoldertype_create_object_v2_request: EzsignfoldertypeCreateObjectV2Request, + ezsignfoldertype_create_object_v3_request: EzsignfoldertypeCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -205,8 +203,8 @@ def ezsignfoldertype_create_object_v2_without_preload_content( The endpoint allows to create one or many elements at once. - :param ezsignfoldertype_create_object_v2_request: (required) - :type ezsignfoldertype_create_object_v2_request: EzsignfoldertypeCreateObjectV2Request + :param ezsignfoldertype_create_object_v3_request: (required) + :type ezsignfoldertype_create_object_v3_request: EzsignfoldertypeCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -229,8 +227,8 @@ def ezsignfoldertype_create_object_v2_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfoldertype_create_object_v2_serialize( - ezsignfoldertype_create_object_v2_request=ezsignfoldertype_create_object_v2_request, + _param = self._ezsignfoldertype_create_object_v3_serialize( + ezsignfoldertype_create_object_v3_request=ezsignfoldertype_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -238,7 +236,7 @@ def ezsignfoldertype_create_object_v2_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsignfoldertypeCreateObjectV2Response", + '201': "EzsignfoldertypeCreateObjectV3Response", } response_data = self.api_client.call_api( *_param, @@ -247,9 +245,9 @@ def ezsignfoldertype_create_object_v2_without_preload_content( return response_data.response - def _ezsignfoldertype_create_object_v2_serialize( + def _ezsignfoldertype_create_object_v3_serialize( self, - ezsignfoldertype_create_object_v2_request, + ezsignfoldertype_create_object_v3_request, _request_auth, _content_type, _headers, @@ -265,7 +263,9 @@ def _ezsignfoldertype_create_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -273,311 +273,17 @@ def _ezsignfoldertype_create_object_v2_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsignfoldertype_create_object_v2_request is not None: - _body_params = ezsignfoldertype_create_object_v2_request + if ezsignfoldertype_create_object_v3_request is not None: + _body_params = ezsignfoldertype_create_object_v3_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type - - # authentication setting - _auth_settings: List[str] = [ - 'Authorization' - ] - - return self.api_client.param_serialize( - method='POST', - resource_path='/2/object/ezsignfoldertype', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def ezsignfoldertype_edit_object_v1( - self, - pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)], - ezsignfoldertype_edit_object_v1_request: EzsignfoldertypeEditObjectV1Request, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfoldertypeEditObjectV1Response: - """(Deprecated) Edit an existing Ezsignfoldertype - - - - :param pki_ezsignfoldertype_id: (required) - :type pki_ezsignfoldertype_id: int - :param ezsignfoldertype_edit_object_v1_request: (required) - :type ezsignfoldertype_edit_object_v1_request: EzsignfoldertypeEditObjectV1Request - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("PUT /1/object/ezsignfoldertype/{pkiEzsignfoldertypeID} is deprecated.", DeprecationWarning) - - _param = self._ezsignfoldertype_edit_object_v1_serialize( - pki_ezsignfoldertype_id=pki_ezsignfoldertype_id, - ezsignfoldertype_edit_object_v1_request=ezsignfoldertype_edit_object_v1_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfoldertypeEditObjectV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ).data - - - @validate_call - def ezsignfoldertype_edit_object_v1_with_http_info( - self, - pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)], - ezsignfoldertype_edit_object_v1_request: EzsignfoldertypeEditObjectV1Request, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfoldertypeEditObjectV1Response]: - """(Deprecated) Edit an existing Ezsignfoldertype - - - - :param pki_ezsignfoldertype_id: (required) - :type pki_ezsignfoldertype_id: int - :param ezsignfoldertype_edit_object_v1_request: (required) - :type ezsignfoldertype_edit_object_v1_request: EzsignfoldertypeEditObjectV1Request - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("PUT /1/object/ezsignfoldertype/{pkiEzsignfoldertypeID} is deprecated.", DeprecationWarning) - - _param = self._ezsignfoldertype_edit_object_v1_serialize( - pki_ezsignfoldertype_id=pki_ezsignfoldertype_id, - ezsignfoldertype_edit_object_v1_request=ezsignfoldertype_edit_object_v1_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfoldertypeEditObjectV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ) - - - @validate_call - def ezsignfoldertype_edit_object_v1_without_preload_content( - self, - pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)], - ezsignfoldertype_edit_object_v1_request: EzsignfoldertypeEditObjectV1Request, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> RESTResponseType: - """(Deprecated) Edit an existing Ezsignfoldertype - - - - :param pki_ezsignfoldertype_id: (required) - :type pki_ezsignfoldertype_id: int - :param ezsignfoldertype_edit_object_v1_request: (required) - :type ezsignfoldertype_edit_object_v1_request: EzsignfoldertypeEditObjectV1Request - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("PUT /1/object/ezsignfoldertype/{pkiEzsignfoldertypeID} is deprecated.", DeprecationWarning) - - _param = self._ezsignfoldertype_edit_object_v1_serialize( - pki_ezsignfoldertype_id=pki_ezsignfoldertype_id, - ezsignfoldertype_edit_object_v1_request=ezsignfoldertype_edit_object_v1_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfoldertypeEditObjectV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _ezsignfoldertype_edit_object_v1_serialize( - self, - pki_ezsignfoldertype_id, - ezsignfoldertype_edit_object_v1_request, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - if pki_ezsignfoldertype_id is not None: - _path_params['pkiEzsignfoldertypeID'] = pki_ezsignfoldertype_id - # process the query parameters - # process the header parameters - # process the form parameters - # process the body parameter - if ezsignfoldertype_edit_object_v1_request is not None: - _body_params = ezsignfoldertype_edit_object_v1_request - - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -599,8 +305,8 @@ def _ezsignfoldertype_edit_object_v1_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/1/object/ezsignfoldertype/{pkiEzsignfoldertypeID}', + method='POST', + resource_path='/3/object/ezsignfoldertype', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -617,10 +323,10 @@ def _ezsignfoldertype_edit_object_v1_serialize( @validate_call - def ezsignfoldertype_edit_object_v2( + def ezsignfoldertype_edit_object_v3( self, pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)], - ezsignfoldertype_edit_object_v2_request: EzsignfoldertypeEditObjectV2Request, + ezsignfoldertype_edit_object_v3_request: EzsignfoldertypeEditObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -633,15 +339,15 @@ def ezsignfoldertype_edit_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfoldertypeEditObjectV2Response: + ) -> EzsignfoldertypeEditObjectV3Response: """Edit an existing Ezsignfoldertype :param pki_ezsignfoldertype_id: (required) :type pki_ezsignfoldertype_id: int - :param ezsignfoldertype_edit_object_v2_request: (required) - :type ezsignfoldertype_edit_object_v2_request: EzsignfoldertypeEditObjectV2Request + :param ezsignfoldertype_edit_object_v3_request: (required) + :type ezsignfoldertype_edit_object_v3_request: EzsignfoldertypeEditObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -664,9 +370,9 @@ def ezsignfoldertype_edit_object_v2( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfoldertype_edit_object_v2_serialize( + _param = self._ezsignfoldertype_edit_object_v3_serialize( pki_ezsignfoldertype_id=pki_ezsignfoldertype_id, - ezsignfoldertype_edit_object_v2_request=ezsignfoldertype_edit_object_v2_request, + ezsignfoldertype_edit_object_v3_request=ezsignfoldertype_edit_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -674,7 +380,7 @@ def ezsignfoldertype_edit_object_v2( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfoldertypeEditObjectV2Response", + '200': "EzsignfoldertypeEditObjectV3Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -690,10 +396,10 @@ def ezsignfoldertype_edit_object_v2( @validate_call - def ezsignfoldertype_edit_object_v2_with_http_info( + def ezsignfoldertype_edit_object_v3_with_http_info( self, pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)], - ezsignfoldertype_edit_object_v2_request: EzsignfoldertypeEditObjectV2Request, + ezsignfoldertype_edit_object_v3_request: EzsignfoldertypeEditObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -706,15 +412,15 @@ def ezsignfoldertype_edit_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfoldertypeEditObjectV2Response]: + ) -> ApiResponse[EzsignfoldertypeEditObjectV3Response]: """Edit an existing Ezsignfoldertype :param pki_ezsignfoldertype_id: (required) :type pki_ezsignfoldertype_id: int - :param ezsignfoldertype_edit_object_v2_request: (required) - :type ezsignfoldertype_edit_object_v2_request: EzsignfoldertypeEditObjectV2Request + :param ezsignfoldertype_edit_object_v3_request: (required) + :type ezsignfoldertype_edit_object_v3_request: EzsignfoldertypeEditObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -737,9 +443,9 @@ def ezsignfoldertype_edit_object_v2_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfoldertype_edit_object_v2_serialize( + _param = self._ezsignfoldertype_edit_object_v3_serialize( pki_ezsignfoldertype_id=pki_ezsignfoldertype_id, - ezsignfoldertype_edit_object_v2_request=ezsignfoldertype_edit_object_v2_request, + ezsignfoldertype_edit_object_v3_request=ezsignfoldertype_edit_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -747,7 +453,7 @@ def ezsignfoldertype_edit_object_v2_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfoldertypeEditObjectV2Response", + '200': "EzsignfoldertypeEditObjectV3Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -763,10 +469,10 @@ def ezsignfoldertype_edit_object_v2_with_http_info( @validate_call - def ezsignfoldertype_edit_object_v2_without_preload_content( + def ezsignfoldertype_edit_object_v3_without_preload_content( self, pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)], - ezsignfoldertype_edit_object_v2_request: EzsignfoldertypeEditObjectV2Request, + ezsignfoldertype_edit_object_v3_request: EzsignfoldertypeEditObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -786,8 +492,8 @@ def ezsignfoldertype_edit_object_v2_without_preload_content( :param pki_ezsignfoldertype_id: (required) :type pki_ezsignfoldertype_id: int - :param ezsignfoldertype_edit_object_v2_request: (required) - :type ezsignfoldertype_edit_object_v2_request: EzsignfoldertypeEditObjectV2Request + :param ezsignfoldertype_edit_object_v3_request: (required) + :type ezsignfoldertype_edit_object_v3_request: EzsignfoldertypeEditObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -810,9 +516,9 @@ def ezsignfoldertype_edit_object_v2_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfoldertype_edit_object_v2_serialize( + _param = self._ezsignfoldertype_edit_object_v3_serialize( pki_ezsignfoldertype_id=pki_ezsignfoldertype_id, - ezsignfoldertype_edit_object_v2_request=ezsignfoldertype_edit_object_v2_request, + ezsignfoldertype_edit_object_v3_request=ezsignfoldertype_edit_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -820,7 +526,7 @@ def ezsignfoldertype_edit_object_v2_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfoldertypeEditObjectV2Response", + '200': "EzsignfoldertypeEditObjectV3Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -831,10 +537,10 @@ def ezsignfoldertype_edit_object_v2_without_preload_content( return response_data.response - def _ezsignfoldertype_edit_object_v2_serialize( + def _ezsignfoldertype_edit_object_v3_serialize( self, pki_ezsignfoldertype_id, - ezsignfoldertype_edit_object_v2_request, + ezsignfoldertype_edit_object_v3_request, _request_auth, _content_type, _headers, @@ -850,7 +556,9 @@ def _ezsignfoldertype_edit_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -860,16 +568,17 @@ def _ezsignfoldertype_edit_object_v2_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsignfoldertype_edit_object_v2_request is not None: - _body_params = ezsignfoldertype_edit_object_v2_request + if ezsignfoldertype_edit_object_v3_request is not None: + _body_params = ezsignfoldertype_edit_object_v3_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -892,7 +601,7 @@ def _ezsignfoldertype_edit_object_v2_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/2/object/ezsignfoldertype/{pkiEzsignfoldertypeID}', + resource_path='/3/object/ezsignfoldertype/{pkiEzsignfoldertypeID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1162,7 +871,9 @@ def _ezsignfoldertype_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1185,11 +896,12 @@ def _ezsignfoldertype_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1485,7 +1197,9 @@ def _ezsignfoldertype_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1514,12 +1228,13 @@ def _ezsignfoldertype_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1766,7 +1481,9 @@ def _ezsignfoldertype_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1779,11 +1496,12 @@ def _ezsignfoldertype_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1810,7 +1528,7 @@ def _ezsignfoldertype_get_object_v2_serialize( @validate_call - def ezsignfoldertype_get_object_v3( + def ezsignfoldertype_get_object_v4( self, pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)], _request_timeout: Union[ @@ -1825,7 +1543,7 @@ def ezsignfoldertype_get_object_v3( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignfoldertypeGetObjectV3Response: + ) -> EzsignfoldertypeGetObjectV4Response: """Retrieve an existing Ezsignfoldertype @@ -1854,7 +1572,7 @@ def ezsignfoldertype_get_object_v3( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfoldertype_get_object_v3_serialize( + _param = self._ezsignfoldertype_get_object_v4_serialize( pki_ezsignfoldertype_id=pki_ezsignfoldertype_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1863,7 +1581,7 @@ def ezsignfoldertype_get_object_v3( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfoldertypeGetObjectV3Response", + '200': "EzsignfoldertypeGetObjectV4Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -1878,7 +1596,7 @@ def ezsignfoldertype_get_object_v3( @validate_call - def ezsignfoldertype_get_object_v3_with_http_info( + def ezsignfoldertype_get_object_v4_with_http_info( self, pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)], _request_timeout: Union[ @@ -1893,7 +1611,7 @@ def ezsignfoldertype_get_object_v3_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignfoldertypeGetObjectV3Response]: + ) -> ApiResponse[EzsignfoldertypeGetObjectV4Response]: """Retrieve an existing Ezsignfoldertype @@ -1922,7 +1640,7 @@ def ezsignfoldertype_get_object_v3_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfoldertype_get_object_v3_serialize( + _param = self._ezsignfoldertype_get_object_v4_serialize( pki_ezsignfoldertype_id=pki_ezsignfoldertype_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1931,7 +1649,7 @@ def ezsignfoldertype_get_object_v3_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfoldertypeGetObjectV3Response", + '200': "EzsignfoldertypeGetObjectV4Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -1946,7 +1664,7 @@ def ezsignfoldertype_get_object_v3_with_http_info( @validate_call - def ezsignfoldertype_get_object_v3_without_preload_content( + def ezsignfoldertype_get_object_v4_without_preload_content( self, pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)], _request_timeout: Union[ @@ -1990,7 +1708,7 @@ def ezsignfoldertype_get_object_v3_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignfoldertype_get_object_v3_serialize( + _param = self._ezsignfoldertype_get_object_v4_serialize( pki_ezsignfoldertype_id=pki_ezsignfoldertype_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1999,7 +1717,7 @@ def ezsignfoldertype_get_object_v3_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignfoldertypeGetObjectV3Response", + '200': "EzsignfoldertypeGetObjectV4Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -2009,7 +1727,7 @@ def ezsignfoldertype_get_object_v3_without_preload_content( return response_data.response - def _ezsignfoldertype_get_object_v3_serialize( + def _ezsignfoldertype_get_object_v4_serialize( self, pki_ezsignfoldertype_id, _request_auth, @@ -2027,7 +1745,9 @@ def _ezsignfoldertype_get_object_v3_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2040,11 +1760,12 @@ def _ezsignfoldertype_get_object_v3_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2054,7 +1775,7 @@ def _ezsignfoldertype_get_object_v3_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/3/object/ezsignfoldertype/{pkiEzsignfoldertypeID}', + resource_path='/4/object/ezsignfoldertype/{pkiEzsignfoldertypeID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/eZmaxApi/api/object_ezsignformfieldgroup_api.py b/eZmaxApi/api/object_ezsignformfieldgroup_api.py index 11fea3547..2eb0af6f7 100644 --- a/eZmaxApi/api/object_ezsignformfieldgroup_api.py +++ b/eZmaxApi/api/object_ezsignformfieldgroup_api.py @@ -259,7 +259,9 @@ def _ezsignformfieldgroup_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -272,11 +274,12 @@ def _ezsignformfieldgroup_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -536,7 +539,9 @@ def _ezsignformfieldgroup_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -549,11 +554,12 @@ def _ezsignformfieldgroup_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -813,7 +819,9 @@ def _ezsignformfieldgroup_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -828,11 +836,12 @@ def _ezsignformfieldgroup_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1089,7 +1098,9 @@ def _ezsignformfieldgroup_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1102,11 +1113,12 @@ def _ezsignformfieldgroup_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsignpage_api.py b/eZmaxApi/api/object_ezsignpage_api.py index 7623b7006..8cb499547 100644 --- a/eZmaxApi/api/object_ezsignpage_api.py +++ b/eZmaxApi/api/object_ezsignpage_api.py @@ -271,7 +271,9 @@ def _ezsignpage_consult_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -286,11 +288,12 @@ def _ezsignpage_consult_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_ezsignsignature_api.py b/eZmaxApi/api/object_ezsignsignature_api.py index 39ecd289a..0c5353326 100644 --- a/eZmaxApi/api/object_ezsignsignature_api.py +++ b/eZmaxApi/api/object_ezsignsignature_api.py @@ -24,12 +24,14 @@ from eZmaxApi.models.ezsignsignature_create_object_v1_response import EzsignsignatureCreateObjectV1Response from eZmaxApi.models.ezsignsignature_create_object_v2_request import EzsignsignatureCreateObjectV2Request from eZmaxApi.models.ezsignsignature_create_object_v2_response import EzsignsignatureCreateObjectV2Response +from eZmaxApi.models.ezsignsignature_create_object_v3_request import EzsignsignatureCreateObjectV3Request +from eZmaxApi.models.ezsignsignature_create_object_v3_response import EzsignsignatureCreateObjectV3Response from eZmaxApi.models.ezsignsignature_delete_object_v1_response import EzsignsignatureDeleteObjectV1Response -from eZmaxApi.models.ezsignsignature_edit_object_v1_request import EzsignsignatureEditObjectV1Request -from eZmaxApi.models.ezsignsignature_edit_object_v1_response import EzsignsignatureEditObjectV1Response +from eZmaxApi.models.ezsignsignature_edit_object_v2_request import EzsignsignatureEditObjectV2Request +from eZmaxApi.models.ezsignsignature_edit_object_v2_response import EzsignsignatureEditObjectV2Response from eZmaxApi.models.ezsignsignature_get_ezsignsignatureattachment_v1_response import EzsignsignatureGetEzsignsignatureattachmentV1Response from eZmaxApi.models.ezsignsignature_get_ezsignsignatures_automatic_v1_response import EzsignsignatureGetEzsignsignaturesAutomaticV1Response -from eZmaxApi.models.ezsignsignature_get_object_v2_response import EzsignsignatureGetObjectV2Response +from eZmaxApi.models.ezsignsignature_get_object_v3_response import EzsignsignatureGetObjectV3Response from eZmaxApi.models.ezsignsignature_sign_v1_request import EzsignsignatureSignV1Request from eZmaxApi.models.ezsignsignature_sign_v1_response import EzsignsignatureSignV1Response @@ -270,7 +272,9 @@ def _ezsignsignature_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -283,11 +287,12 @@ def _ezsignsignature_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -343,7 +348,7 @@ def ezsignsignature_create_object_v2( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> EzsignsignatureCreateObjectV2Response: - """Create a new Ezsignsignature + """(Deprecated) Create a new Ezsignsignature The endpoint allows to create one or many elements at once. @@ -370,6 +375,7 @@ def ezsignsignature_create_object_v2( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /2/object/ezsignsignature is deprecated.", DeprecationWarning) _param = self._ezsignsignature_create_object_v2_serialize( ezsignsignature_create_object_v2_request=ezsignsignature_create_object_v2_request, @@ -410,7 +416,7 @@ def ezsignsignature_create_object_v2_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[EzsignsignatureCreateObjectV2Response]: - """Create a new Ezsignsignature + """(Deprecated) Create a new Ezsignsignature The endpoint allows to create one or many elements at once. @@ -437,6 +443,7 @@ def ezsignsignature_create_object_v2_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /2/object/ezsignsignature is deprecated.", DeprecationWarning) _param = self._ezsignsignature_create_object_v2_serialize( ezsignsignature_create_object_v2_request=ezsignsignature_create_object_v2_request, @@ -477,7 +484,7 @@ def ezsignsignature_create_object_v2_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create a new Ezsignsignature + """(Deprecated) Create a new Ezsignsignature The endpoint allows to create one or many elements at once. @@ -504,6 +511,7 @@ def ezsignsignature_create_object_v2_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("POST /2/object/ezsignsignature is deprecated.", DeprecationWarning) _param = self._ezsignsignature_create_object_v2_serialize( ezsignsignature_create_object_v2_request=ezsignsignature_create_object_v2_request, @@ -541,7 +549,9 @@ def _ezsignsignature_create_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -554,12 +564,287 @@ def _ezsignsignature_create_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/2/object/ezsignsignature', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsignsignature_create_object_v3( + self, + ezsignsignature_create_object_v3_request: EzsignsignatureCreateObjectV3Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignsignatureCreateObjectV3Response: + """Create a new Ezsignsignature + + The endpoint allows to create one or many elements at once. + + :param ezsignsignature_create_object_v3_request: (required) + :type ezsignsignature_create_object_v3_request: EzsignsignatureCreateObjectV3Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignsignature_create_object_v3_serialize( + ezsignsignature_create_object_v3_request=ezsignsignature_create_object_v3_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index ) + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsignsignatureCreateObjectV3Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignsignature_create_object_v3_with_http_info( + self, + ezsignsignature_create_object_v3_request: EzsignsignatureCreateObjectV3Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignsignatureCreateObjectV3Response]: + """Create a new Ezsignsignature + + The endpoint allows to create one or many elements at once. + + :param ezsignsignature_create_object_v3_request: (required) + :type ezsignsignature_create_object_v3_request: EzsignsignatureCreateObjectV3Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignsignature_create_object_v3_serialize( + ezsignsignature_create_object_v3_request=ezsignsignature_create_object_v3_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsignsignatureCreateObjectV3Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignsignature_create_object_v3_without_preload_content( + self, + ezsignsignature_create_object_v3_request: EzsignsignatureCreateObjectV3Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create a new Ezsignsignature + + The endpoint allows to create one or many elements at once. + + :param ezsignsignature_create_object_v3_request: (required) + :type ezsignsignature_create_object_v3_request: EzsignsignatureCreateObjectV3Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignsignature_create_object_v3_serialize( + ezsignsignature_create_object_v3_request=ezsignsignature_create_object_v3_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsignsignatureCreateObjectV3Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignsignature_create_object_v3_serialize( + self, + ezsignsignature_create_object_v3_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsignsignature_create_object_v3_request is not None: + _body_params = ezsignsignature_create_object_v3_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` if _content_type: _header_params['Content-Type'] = _content_type @@ -581,7 +866,7 @@ def _ezsignsignature_create_object_v2_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/2/object/ezsignsignature', + resource_path='/3/object/ezsignsignature', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -818,7 +1103,9 @@ def _ezsignsignature_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -831,11 +1118,12 @@ def _ezsignsignature_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -862,10 +1150,10 @@ def _ezsignsignature_delete_object_v1_serialize( @validate_call - def ezsignsignature_edit_object_v1( + def ezsignsignature_edit_object_v2( self, pki_ezsignsignature_id: Annotated[int, Field(strict=True, ge=0)], - ezsignsignature_edit_object_v1_request: EzsignsignatureEditObjectV1Request, + ezsignsignature_edit_object_v2_request: EzsignsignatureEditObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -878,15 +1166,15 @@ def ezsignsignature_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignsignatureEditObjectV1Response: + ) -> EzsignsignatureEditObjectV2Response: """Edit an existing Ezsignsignature :param pki_ezsignsignature_id: (required) :type pki_ezsignsignature_id: int - :param ezsignsignature_edit_object_v1_request: (required) - :type ezsignsignature_edit_object_v1_request: EzsignsignatureEditObjectV1Request + :param ezsignsignature_edit_object_v2_request: (required) + :type ezsignsignature_edit_object_v2_request: EzsignsignatureEditObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -909,9 +1197,9 @@ def ezsignsignature_edit_object_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignsignature_edit_object_v1_serialize( + _param = self._ezsignsignature_edit_object_v2_serialize( pki_ezsignsignature_id=pki_ezsignsignature_id, - ezsignsignature_edit_object_v1_request=ezsignsignature_edit_object_v1_request, + ezsignsignature_edit_object_v2_request=ezsignsignature_edit_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -919,7 +1207,7 @@ def ezsignsignature_edit_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignsignatureEditObjectV1Response", + '200': "EzsignsignatureEditObjectV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -935,10 +1223,10 @@ def ezsignsignature_edit_object_v1( @validate_call - def ezsignsignature_edit_object_v1_with_http_info( + def ezsignsignature_edit_object_v2_with_http_info( self, pki_ezsignsignature_id: Annotated[int, Field(strict=True, ge=0)], - ezsignsignature_edit_object_v1_request: EzsignsignatureEditObjectV1Request, + ezsignsignature_edit_object_v2_request: EzsignsignatureEditObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -951,15 +1239,15 @@ def ezsignsignature_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignsignatureEditObjectV1Response]: + ) -> ApiResponse[EzsignsignatureEditObjectV2Response]: """Edit an existing Ezsignsignature :param pki_ezsignsignature_id: (required) :type pki_ezsignsignature_id: int - :param ezsignsignature_edit_object_v1_request: (required) - :type ezsignsignature_edit_object_v1_request: EzsignsignatureEditObjectV1Request + :param ezsignsignature_edit_object_v2_request: (required) + :type ezsignsignature_edit_object_v2_request: EzsignsignatureEditObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -982,9 +1270,9 @@ def ezsignsignature_edit_object_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignsignature_edit_object_v1_serialize( + _param = self._ezsignsignature_edit_object_v2_serialize( pki_ezsignsignature_id=pki_ezsignsignature_id, - ezsignsignature_edit_object_v1_request=ezsignsignature_edit_object_v1_request, + ezsignsignature_edit_object_v2_request=ezsignsignature_edit_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -992,7 +1280,7 @@ def ezsignsignature_edit_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignsignatureEditObjectV1Response", + '200': "EzsignsignatureEditObjectV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1008,10 +1296,10 @@ def ezsignsignature_edit_object_v1_with_http_info( @validate_call - def ezsignsignature_edit_object_v1_without_preload_content( + def ezsignsignature_edit_object_v2_without_preload_content( self, pki_ezsignsignature_id: Annotated[int, Field(strict=True, ge=0)], - ezsignsignature_edit_object_v1_request: EzsignsignatureEditObjectV1Request, + ezsignsignature_edit_object_v2_request: EzsignsignatureEditObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1031,8 +1319,8 @@ def ezsignsignature_edit_object_v1_without_preload_content( :param pki_ezsignsignature_id: (required) :type pki_ezsignsignature_id: int - :param ezsignsignature_edit_object_v1_request: (required) - :type ezsignsignature_edit_object_v1_request: EzsignsignatureEditObjectV1Request + :param ezsignsignature_edit_object_v2_request: (required) + :type ezsignsignature_edit_object_v2_request: EzsignsignatureEditObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1055,9 +1343,9 @@ def ezsignsignature_edit_object_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignsignature_edit_object_v1_serialize( + _param = self._ezsignsignature_edit_object_v2_serialize( pki_ezsignsignature_id=pki_ezsignsignature_id, - ezsignsignature_edit_object_v1_request=ezsignsignature_edit_object_v1_request, + ezsignsignature_edit_object_v2_request=ezsignsignature_edit_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1065,7 +1353,7 @@ def ezsignsignature_edit_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignsignatureEditObjectV1Response", + '200': "EzsignsignatureEditObjectV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1076,10 +1364,10 @@ def ezsignsignature_edit_object_v1_without_preload_content( return response_data.response - def _ezsignsignature_edit_object_v1_serialize( + def _ezsignsignature_edit_object_v2_serialize( self, pki_ezsignsignature_id, - ezsignsignature_edit_object_v1_request, + ezsignsignature_edit_object_v2_request, _request_auth, _content_type, _headers, @@ -1095,7 +1383,9 @@ def _ezsignsignature_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1105,16 +1395,17 @@ def _ezsignsignature_edit_object_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsignsignature_edit_object_v1_request is not None: - _body_params = ezsignsignature_edit_object_v1_request + if ezsignsignature_edit_object_v2_request is not None: + _body_params = ezsignsignature_edit_object_v2_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1137,7 +1428,7 @@ def _ezsignsignature_edit_object_v1_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/1/object/ezsignsignature/{pkiEzsignsignatureID}', + resource_path='/2/object/ezsignsignature/{pkiEzsignsignatureID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1371,7 +1662,9 @@ def _ezsignsignature_get_ezsignsignatureattachment_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1384,11 +1677,12 @@ def _ezsignsignature_get_ezsignsignatureattachment_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1616,7 +1910,9 @@ def _ezsignsignature_get_ezsignsignatures_automatic_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1627,11 +1923,12 @@ def _ezsignsignature_get_ezsignsignatures_automatic_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1658,7 +1955,7 @@ def _ezsignsignature_get_ezsignsignatures_automatic_v1_serialize( @validate_call - def ezsignsignature_get_object_v2( + def ezsignsignature_get_object_v3( self, pki_ezsignsignature_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -1673,7 +1970,7 @@ def ezsignsignature_get_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsignsignatureGetObjectV2Response: + ) -> EzsignsignatureGetObjectV3Response: """Retrieve an existing Ezsignsignature @@ -1702,7 +1999,7 @@ def ezsignsignature_get_object_v2( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignsignature_get_object_v2_serialize( + _param = self._ezsignsignature_get_object_v3_serialize( pki_ezsignsignature_id=pki_ezsignsignature_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1711,7 +2008,7 @@ def ezsignsignature_get_object_v2( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignsignatureGetObjectV2Response", + '200': "EzsignsignatureGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -1726,7 +2023,7 @@ def ezsignsignature_get_object_v2( @validate_call - def ezsignsignature_get_object_v2_with_http_info( + def ezsignsignature_get_object_v3_with_http_info( self, pki_ezsignsignature_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -1741,7 +2038,7 @@ def ezsignsignature_get_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsignsignatureGetObjectV2Response]: + ) -> ApiResponse[EzsignsignatureGetObjectV3Response]: """Retrieve an existing Ezsignsignature @@ -1770,7 +2067,7 @@ def ezsignsignature_get_object_v2_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignsignature_get_object_v2_serialize( + _param = self._ezsignsignature_get_object_v3_serialize( pki_ezsignsignature_id=pki_ezsignsignature_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1779,7 +2076,7 @@ def ezsignsignature_get_object_v2_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignsignatureGetObjectV2Response", + '200': "EzsignsignatureGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -1794,7 +2091,7 @@ def ezsignsignature_get_object_v2_with_http_info( @validate_call - def ezsignsignature_get_object_v2_without_preload_content( + def ezsignsignature_get_object_v3_without_preload_content( self, pki_ezsignsignature_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -1838,7 +2135,7 @@ def ezsignsignature_get_object_v2_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsignsignature_get_object_v2_serialize( + _param = self._ezsignsignature_get_object_v3_serialize( pki_ezsignsignature_id=pki_ezsignsignature_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1847,7 +2144,7 @@ def ezsignsignature_get_object_v2_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsignsignatureGetObjectV2Response", + '200': "EzsignsignatureGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -1857,7 +2154,7 @@ def ezsignsignature_get_object_v2_without_preload_content( return response_data.response - def _ezsignsignature_get_object_v2_serialize( + def _ezsignsignature_get_object_v3_serialize( self, pki_ezsignsignature_id, _request_auth, @@ -1875,7 +2172,9 @@ def _ezsignsignature_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1888,11 +2187,12 @@ def _ezsignsignature_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1902,7 +2202,7 @@ def _ezsignsignature_get_object_v2_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/2/object/ezsignsignature/{pkiEzsignsignatureID}', + resource_path='/3/object/ezsignsignature/{pkiEzsignsignatureID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2152,7 +2452,9 @@ def _ezsignsignature_sign_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2167,11 +2469,12 @@ def _ezsignsignature_sign_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_ezsignsignergroup_api.py b/eZmaxApi/api/object_ezsignsignergroup_api.py index 477bf5555..35baf7ad5 100644 --- a/eZmaxApi/api/object_ezsignsignergroup_api.py +++ b/eZmaxApi/api/object_ezsignsignergroup_api.py @@ -262,7 +262,9 @@ def _ezsignsignergroup_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -275,11 +277,12 @@ def _ezsignsignergroup_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -536,7 +539,9 @@ def _ezsignsignergroup_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -549,11 +554,12 @@ def _ezsignsignergroup_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -813,7 +819,9 @@ def _ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -828,11 +836,12 @@ def _ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1102,7 +1111,9 @@ def _ezsignsignergroup_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1117,11 +1128,12 @@ def _ezsignsignergroup_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1375,7 +1387,9 @@ def _ezsignsignergroup_get_ezsignsignergroupmemberships_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1388,11 +1402,12 @@ def _ezsignsignergroup_get_ezsignsignergroupmemberships_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1636,7 +1651,9 @@ def _ezsignsignergroup_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1649,11 +1666,12 @@ def _ezsignsignergroup_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsignsignergroupmembership_api.py b/eZmaxApi/api/object_ezsignsignergroupmembership_api.py index f6bb62cb0..73fbf2d73 100644 --- a/eZmaxApi/api/object_ezsignsignergroupmembership_api.py +++ b/eZmaxApi/api/object_ezsignsignergroupmembership_api.py @@ -257,7 +257,9 @@ def _ezsignsignergroupmembership_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +272,12 @@ def _ezsignsignergroupmembership_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -531,7 +534,9 @@ def _ezsignsignergroupmembership_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -544,11 +549,12 @@ def _ezsignsignergroupmembership_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -792,7 +798,9 @@ def _ezsignsignergroupmembership_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -805,11 +813,12 @@ def _ezsignsignergroupmembership_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsignsigningreason_api.py b/eZmaxApi/api/object_ezsignsigningreason_api.py index 78c5299e9..897840433 100644 --- a/eZmaxApi/api/object_ezsignsigningreason_api.py +++ b/eZmaxApi/api/object_ezsignsigningreason_api.py @@ -262,7 +262,9 @@ def _ezsignsigningreason_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -275,11 +277,12 @@ def _ezsignsigningreason_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -552,7 +555,9 @@ def _ezsignsigningreason_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -567,11 +572,12 @@ def _ezsignsigningreason_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -864,7 +870,9 @@ def _ezsignsigningreason_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -887,11 +895,12 @@ def _ezsignsigningreason_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1187,7 +1196,9 @@ def _ezsignsigningreason_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1216,12 +1227,13 @@ def _ezsignsigningreason_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1465,7 +1477,9 @@ def _ezsignsigningreason_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1478,11 +1492,12 @@ def _ezsignsigningreason_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsigntemplate_api.py b/eZmaxApi/api/object_ezsigntemplate_api.py index 60f149924..70adf9bc8 100644 --- a/eZmaxApi/api/object_ezsigntemplate_api.py +++ b/eZmaxApi/api/object_ezsigntemplate_api.py @@ -17,24 +17,19 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr, field_validator +from pydantic import Field, StrictInt, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated from eZmaxApi.models.ezsigntemplate_copy_v1_request import EzsigntemplateCopyV1Request from eZmaxApi.models.ezsigntemplate_copy_v1_response import EzsigntemplateCopyV1Response -from eZmaxApi.models.ezsigntemplate_create_object_v1_request import EzsigntemplateCreateObjectV1Request -from eZmaxApi.models.ezsigntemplate_create_object_v1_response import EzsigntemplateCreateObjectV1Response -from eZmaxApi.models.ezsigntemplate_create_object_v2_request import EzsigntemplateCreateObjectV2Request -from eZmaxApi.models.ezsigntemplate_create_object_v2_response import EzsigntemplateCreateObjectV2Response +from eZmaxApi.models.ezsigntemplate_create_object_v3_request import EzsigntemplateCreateObjectV3Request +from eZmaxApi.models.ezsigntemplate_create_object_v3_response import EzsigntemplateCreateObjectV3Response from eZmaxApi.models.ezsigntemplate_delete_object_v1_response import EzsigntemplateDeleteObjectV1Response -from eZmaxApi.models.ezsigntemplate_edit_object_v1_request import EzsigntemplateEditObjectV1Request -from eZmaxApi.models.ezsigntemplate_edit_object_v1_response import EzsigntemplateEditObjectV1Response -from eZmaxApi.models.ezsigntemplate_edit_object_v2_request import EzsigntemplateEditObjectV2Request -from eZmaxApi.models.ezsigntemplate_edit_object_v2_response import EzsigntemplateEditObjectV2Response +from eZmaxApi.models.ezsigntemplate_edit_object_v3_request import EzsigntemplateEditObjectV3Request +from eZmaxApi.models.ezsigntemplate_edit_object_v3_response import EzsigntemplateEditObjectV3Response from eZmaxApi.models.ezsigntemplate_get_autocomplete_v2_response import EzsigntemplateGetAutocompleteV2Response from eZmaxApi.models.ezsigntemplate_get_list_v1_response import EzsigntemplateGetListV1Response -from eZmaxApi.models.ezsigntemplate_get_object_v1_response import EzsigntemplateGetObjectV1Response -from eZmaxApi.models.ezsigntemplate_get_object_v2_response import EzsigntemplateGetObjectV2Response +from eZmaxApi.models.ezsigntemplate_get_object_v3_response import EzsigntemplateGetObjectV3Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -286,7 +281,9 @@ def _ezsigntemplate_copy_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -301,285 +298,12 @@ def _ezsigntemplate_copy_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type - - # authentication setting - _auth_settings: List[str] = [ - 'Authorization' - ] - - return self.api_client.param_serialize( - method='POST', - resource_path='/1/object/ezsigntemplate/{pkiEzsigntemplateID}/copy', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def ezsigntemplate_create_object_v1( - self, - ezsigntemplate_create_object_v1_request: EzsigntemplateCreateObjectV1Request, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplateCreateObjectV1Response: - """(Deprecated) Create a new Ezsigntemplate - - The endpoint allows to create one or many elements at once. - - :param ezsigntemplate_create_object_v1_request: (required) - :type ezsigntemplate_create_object_v1_request: EzsigntemplateCreateObjectV1Request - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("POST /1/object/ezsigntemplate is deprecated.", DeprecationWarning) - - _param = self._ezsigntemplate_create_object_v1_serialize( - ezsigntemplate_create_object_v1_request=ezsigntemplate_create_object_v1_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsigntemplateCreateObjectV1Response", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ).data - - - @validate_call - def ezsigntemplate_create_object_v1_with_http_info( - self, - ezsigntemplate_create_object_v1_request: EzsigntemplateCreateObjectV1Request, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplateCreateObjectV1Response]: - """(Deprecated) Create a new Ezsigntemplate - - The endpoint allows to create one or many elements at once. - - :param ezsigntemplate_create_object_v1_request: (required) - :type ezsigntemplate_create_object_v1_request: EzsigntemplateCreateObjectV1Request - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("POST /1/object/ezsigntemplate is deprecated.", DeprecationWarning) - - _param = self._ezsigntemplate_create_object_v1_serialize( - ezsigntemplate_create_object_v1_request=ezsigntemplate_create_object_v1_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsigntemplateCreateObjectV1Response", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ) - - - @validate_call - def ezsigntemplate_create_object_v1_without_preload_content( - self, - ezsigntemplate_create_object_v1_request: EzsigntemplateCreateObjectV1Request, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> RESTResponseType: - """(Deprecated) Create a new Ezsigntemplate - - The endpoint allows to create one or many elements at once. - - :param ezsigntemplate_create_object_v1_request: (required) - :type ezsigntemplate_create_object_v1_request: EzsigntemplateCreateObjectV1Request - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("POST /1/object/ezsigntemplate is deprecated.", DeprecationWarning) - - _param = self._ezsigntemplate_create_object_v1_serialize( - ezsigntemplate_create_object_v1_request=ezsigntemplate_create_object_v1_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsigntemplateCreateObjectV1Response", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _ezsigntemplate_create_object_v1_serialize( - self, - ezsigntemplate_create_object_v1_request, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - # process the query parameters - # process the header parameters - # process the form parameters - # process the body parameter - if ezsigntemplate_create_object_v1_request is not None: - _body_params = ezsigntemplate_create_object_v1_request - - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -602,7 +326,7 @@ def _ezsigntemplate_create_object_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/ezsigntemplate', + resource_path='/1/object/ezsigntemplate/{pkiEzsigntemplateID}/copy', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -619,9 +343,9 @@ def _ezsigntemplate_create_object_v1_serialize( @validate_call - def ezsigntemplate_create_object_v2( + def ezsigntemplate_create_object_v3( self, - ezsigntemplate_create_object_v2_request: EzsigntemplateCreateObjectV2Request, + ezsigntemplate_create_object_v3_request: EzsigntemplateCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -634,13 +358,13 @@ def ezsigntemplate_create_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplateCreateObjectV2Response: + ) -> EzsigntemplateCreateObjectV3Response: """Create a new Ezsigntemplate The endpoint allows to create one or many elements at once. - :param ezsigntemplate_create_object_v2_request: (required) - :type ezsigntemplate_create_object_v2_request: EzsigntemplateCreateObjectV2Request + :param ezsigntemplate_create_object_v3_request: (required) + :type ezsigntemplate_create_object_v3_request: EzsigntemplateCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -663,8 +387,8 @@ def ezsigntemplate_create_object_v2( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplate_create_object_v2_serialize( - ezsigntemplate_create_object_v2_request=ezsigntemplate_create_object_v2_request, + _param = self._ezsigntemplate_create_object_v3_serialize( + ezsigntemplate_create_object_v3_request=ezsigntemplate_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -672,7 +396,7 @@ def ezsigntemplate_create_object_v2( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsigntemplateCreateObjectV2Response", + '201': "EzsigntemplateCreateObjectV3Response", } response_data = self.api_client.call_api( *_param, @@ -686,9 +410,9 @@ def ezsigntemplate_create_object_v2( @validate_call - def ezsigntemplate_create_object_v2_with_http_info( + def ezsigntemplate_create_object_v3_with_http_info( self, - ezsigntemplate_create_object_v2_request: EzsigntemplateCreateObjectV2Request, + ezsigntemplate_create_object_v3_request: EzsigntemplateCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -701,13 +425,13 @@ def ezsigntemplate_create_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplateCreateObjectV2Response]: + ) -> ApiResponse[EzsigntemplateCreateObjectV3Response]: """Create a new Ezsigntemplate The endpoint allows to create one or many elements at once. - :param ezsigntemplate_create_object_v2_request: (required) - :type ezsigntemplate_create_object_v2_request: EzsigntemplateCreateObjectV2Request + :param ezsigntemplate_create_object_v3_request: (required) + :type ezsigntemplate_create_object_v3_request: EzsigntemplateCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -730,8 +454,8 @@ def ezsigntemplate_create_object_v2_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplate_create_object_v2_serialize( - ezsigntemplate_create_object_v2_request=ezsigntemplate_create_object_v2_request, + _param = self._ezsigntemplate_create_object_v3_serialize( + ezsigntemplate_create_object_v3_request=ezsigntemplate_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -739,7 +463,7 @@ def ezsigntemplate_create_object_v2_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsigntemplateCreateObjectV2Response", + '201': "EzsigntemplateCreateObjectV3Response", } response_data = self.api_client.call_api( *_param, @@ -753,9 +477,9 @@ def ezsigntemplate_create_object_v2_with_http_info( @validate_call - def ezsigntemplate_create_object_v2_without_preload_content( + def ezsigntemplate_create_object_v3_without_preload_content( self, - ezsigntemplate_create_object_v2_request: EzsigntemplateCreateObjectV2Request, + ezsigntemplate_create_object_v3_request: EzsigntemplateCreateObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -773,8 +497,8 @@ def ezsigntemplate_create_object_v2_without_preload_content( The endpoint allows to create one or many elements at once. - :param ezsigntemplate_create_object_v2_request: (required) - :type ezsigntemplate_create_object_v2_request: EzsigntemplateCreateObjectV2Request + :param ezsigntemplate_create_object_v3_request: (required) + :type ezsigntemplate_create_object_v3_request: EzsigntemplateCreateObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -797,8 +521,8 @@ def ezsigntemplate_create_object_v2_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplate_create_object_v2_serialize( - ezsigntemplate_create_object_v2_request=ezsigntemplate_create_object_v2_request, + _param = self._ezsigntemplate_create_object_v3_serialize( + ezsigntemplate_create_object_v3_request=ezsigntemplate_create_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -806,7 +530,7 @@ def ezsigntemplate_create_object_v2_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsigntemplateCreateObjectV2Response", + '201': "EzsigntemplateCreateObjectV3Response", } response_data = self.api_client.call_api( *_param, @@ -815,9 +539,9 @@ def ezsigntemplate_create_object_v2_without_preload_content( return response_data.response - def _ezsigntemplate_create_object_v2_serialize( + def _ezsigntemplate_create_object_v3_serialize( self, - ezsigntemplate_create_object_v2_request, + ezsigntemplate_create_object_v3_request, _request_auth, _content_type, _headers, @@ -833,7 +557,9 @@ def _ezsigntemplate_create_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -841,16 +567,17 @@ def _ezsigntemplate_create_object_v2_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsigntemplate_create_object_v2_request is not None: - _body_params = ezsigntemplate_create_object_v2_request + if ezsigntemplate_create_object_v3_request is not None: + _body_params = ezsigntemplate_create_object_v3_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -873,7 +600,7 @@ def _ezsigntemplate_create_object_v2_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/2/object/ezsigntemplate', + resource_path='/3/object/ezsigntemplate', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1107,7 +834,9 @@ def _ezsigntemplate_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1120,11 +849,12 @@ def _ezsigntemplate_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1151,305 +881,10 @@ def _ezsigntemplate_delete_object_v1_serialize( @validate_call - def ezsigntemplate_edit_object_v1( - self, - pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplate_edit_object_v1_request: EzsigntemplateEditObjectV1Request, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplateEditObjectV1Response: - """(Deprecated) Edit an existing Ezsigntemplate - - - - :param pki_ezsigntemplate_id: (required) - :type pki_ezsigntemplate_id: int - :param ezsigntemplate_edit_object_v1_request: (required) - :type ezsigntemplate_edit_object_v1_request: EzsigntemplateEditObjectV1Request - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("PUT /1/object/ezsigntemplate/{pkiEzsigntemplateID} is deprecated.", DeprecationWarning) - - _param = self._ezsigntemplate_edit_object_v1_serialize( - pki_ezsigntemplate_id=pki_ezsigntemplate_id, - ezsigntemplate_edit_object_v1_request=ezsigntemplate_edit_object_v1_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateEditObjectV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ).data - - - @validate_call - def ezsigntemplate_edit_object_v1_with_http_info( - self, - pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplate_edit_object_v1_request: EzsigntemplateEditObjectV1Request, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplateEditObjectV1Response]: - """(Deprecated) Edit an existing Ezsigntemplate - - - - :param pki_ezsigntemplate_id: (required) - :type pki_ezsigntemplate_id: int - :param ezsigntemplate_edit_object_v1_request: (required) - :type ezsigntemplate_edit_object_v1_request: EzsigntemplateEditObjectV1Request - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("PUT /1/object/ezsigntemplate/{pkiEzsigntemplateID} is deprecated.", DeprecationWarning) - - _param = self._ezsigntemplate_edit_object_v1_serialize( - pki_ezsigntemplate_id=pki_ezsigntemplate_id, - ezsigntemplate_edit_object_v1_request=ezsigntemplate_edit_object_v1_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateEditObjectV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ) - - - @validate_call - def ezsigntemplate_edit_object_v1_without_preload_content( - self, - pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplate_edit_object_v1_request: EzsigntemplateEditObjectV1Request, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> RESTResponseType: - """(Deprecated) Edit an existing Ezsigntemplate - - - - :param pki_ezsigntemplate_id: (required) - :type pki_ezsigntemplate_id: int - :param ezsigntemplate_edit_object_v1_request: (required) - :type ezsigntemplate_edit_object_v1_request: EzsigntemplateEditObjectV1Request - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("PUT /1/object/ezsigntemplate/{pkiEzsigntemplateID} is deprecated.", DeprecationWarning) - - _param = self._ezsigntemplate_edit_object_v1_serialize( - pki_ezsigntemplate_id=pki_ezsigntemplate_id, - ezsigntemplate_edit_object_v1_request=ezsigntemplate_edit_object_v1_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateEditObjectV1Response", - '404': "CommonResponseError", - '422': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _ezsigntemplate_edit_object_v1_serialize( - self, - pki_ezsigntemplate_id, - ezsigntemplate_edit_object_v1_request, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - if pki_ezsigntemplate_id is not None: - _path_params['pkiEzsigntemplateID'] = pki_ezsigntemplate_id - # process the query parameters - # process the header parameters - # process the form parameters - # process the body parameter - if ezsigntemplate_edit_object_v1_request is not None: - _body_params = ezsigntemplate_edit_object_v1_request - - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type - - # authentication setting - _auth_settings: List[str] = [ - 'Authorization' - ] - - return self.api_client.param_serialize( - method='PUT', - resource_path='/1/object/ezsigntemplate/{pkiEzsigntemplateID}', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def ezsigntemplate_edit_object_v2( + def ezsigntemplate_edit_object_v3( self, pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplate_edit_object_v2_request: EzsigntemplateEditObjectV2Request, + ezsigntemplate_edit_object_v3_request: EzsigntemplateEditObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1462,15 +897,15 @@ def ezsigntemplate_edit_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplateEditObjectV2Response: + ) -> EzsigntemplateEditObjectV3Response: """Edit an existing Ezsigntemplate :param pki_ezsigntemplate_id: (required) :type pki_ezsigntemplate_id: int - :param ezsigntemplate_edit_object_v2_request: (required) - :type ezsigntemplate_edit_object_v2_request: EzsigntemplateEditObjectV2Request + :param ezsigntemplate_edit_object_v3_request: (required) + :type ezsigntemplate_edit_object_v3_request: EzsigntemplateEditObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1493,9 +928,9 @@ def ezsigntemplate_edit_object_v2( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplate_edit_object_v2_serialize( + _param = self._ezsigntemplate_edit_object_v3_serialize( pki_ezsigntemplate_id=pki_ezsigntemplate_id, - ezsigntemplate_edit_object_v2_request=ezsigntemplate_edit_object_v2_request, + ezsigntemplate_edit_object_v3_request=ezsigntemplate_edit_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1503,7 +938,7 @@ def ezsigntemplate_edit_object_v2( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateEditObjectV2Response", + '200': "EzsigntemplateEditObjectV3Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1519,10 +954,10 @@ def ezsigntemplate_edit_object_v2( @validate_call - def ezsigntemplate_edit_object_v2_with_http_info( + def ezsigntemplate_edit_object_v3_with_http_info( self, pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplate_edit_object_v2_request: EzsigntemplateEditObjectV2Request, + ezsigntemplate_edit_object_v3_request: EzsigntemplateEditObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1535,15 +970,15 @@ def ezsigntemplate_edit_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplateEditObjectV2Response]: + ) -> ApiResponse[EzsigntemplateEditObjectV3Response]: """Edit an existing Ezsigntemplate :param pki_ezsigntemplate_id: (required) :type pki_ezsigntemplate_id: int - :param ezsigntemplate_edit_object_v2_request: (required) - :type ezsigntemplate_edit_object_v2_request: EzsigntemplateEditObjectV2Request + :param ezsigntemplate_edit_object_v3_request: (required) + :type ezsigntemplate_edit_object_v3_request: EzsigntemplateEditObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1566,9 +1001,9 @@ def ezsigntemplate_edit_object_v2_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplate_edit_object_v2_serialize( + _param = self._ezsigntemplate_edit_object_v3_serialize( pki_ezsigntemplate_id=pki_ezsigntemplate_id, - ezsigntemplate_edit_object_v2_request=ezsigntemplate_edit_object_v2_request, + ezsigntemplate_edit_object_v3_request=ezsigntemplate_edit_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1576,7 +1011,7 @@ def ezsigntemplate_edit_object_v2_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateEditObjectV2Response", + '200': "EzsigntemplateEditObjectV3Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1592,10 +1027,10 @@ def ezsigntemplate_edit_object_v2_with_http_info( @validate_call - def ezsigntemplate_edit_object_v2_without_preload_content( + def ezsigntemplate_edit_object_v3_without_preload_content( self, pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplate_edit_object_v2_request: EzsigntemplateEditObjectV2Request, + ezsigntemplate_edit_object_v3_request: EzsigntemplateEditObjectV3Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1615,8 +1050,8 @@ def ezsigntemplate_edit_object_v2_without_preload_content( :param pki_ezsigntemplate_id: (required) :type pki_ezsigntemplate_id: int - :param ezsigntemplate_edit_object_v2_request: (required) - :type ezsigntemplate_edit_object_v2_request: EzsigntemplateEditObjectV2Request + :param ezsigntemplate_edit_object_v3_request: (required) + :type ezsigntemplate_edit_object_v3_request: EzsigntemplateEditObjectV3Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1639,9 +1074,9 @@ def ezsigntemplate_edit_object_v2_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplate_edit_object_v2_serialize( + _param = self._ezsigntemplate_edit_object_v3_serialize( pki_ezsigntemplate_id=pki_ezsigntemplate_id, - ezsigntemplate_edit_object_v2_request=ezsigntemplate_edit_object_v2_request, + ezsigntemplate_edit_object_v3_request=ezsigntemplate_edit_object_v3_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1649,7 +1084,7 @@ def ezsigntemplate_edit_object_v2_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateEditObjectV2Response", + '200': "EzsigntemplateEditObjectV3Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1660,10 +1095,10 @@ def ezsigntemplate_edit_object_v2_without_preload_content( return response_data.response - def _ezsigntemplate_edit_object_v2_serialize( + def _ezsigntemplate_edit_object_v3_serialize( self, pki_ezsigntemplate_id, - ezsigntemplate_edit_object_v2_request, + ezsigntemplate_edit_object_v3_request, _request_auth, _content_type, _headers, @@ -1679,7 +1114,9 @@ def _ezsigntemplate_edit_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1689,16 +1126,17 @@ def _ezsigntemplate_edit_object_v2_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsigntemplate_edit_object_v2_request is not None: - _body_params = ezsigntemplate_edit_object_v2_request + if ezsigntemplate_edit_object_v3_request is not None: + _body_params = ezsigntemplate_edit_object_v3_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1721,7 +1159,7 @@ def _ezsigntemplate_edit_object_v2_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/2/object/ezsigntemplate/{pkiEzsigntemplateID}', + resource_path='/3/object/ezsigntemplate/{pkiEzsigntemplateID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1744,6 +1182,7 @@ def ezsigntemplate_get_autocomplete_v2( e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, accept_language: Optional[HeaderAcceptLanguage] = None, + fki_ezsignfoldertype_id: Annotated[Optional[StrictInt], Field(description="The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1769,6 +1208,8 @@ def ezsigntemplate_get_autocomplete_v2( :type s_query: str :param accept_language: :type accept_language: HeaderAcceptLanguage + :param fki_ezsignfoldertype_id: The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic + :type fki_ezsignfoldertype_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1796,6 +1237,7 @@ def ezsigntemplate_get_autocomplete_v2( e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language, + fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1823,6 +1265,7 @@ def ezsigntemplate_get_autocomplete_v2_with_http_info( e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, accept_language: Optional[HeaderAcceptLanguage] = None, + fki_ezsignfoldertype_id: Annotated[Optional[StrictInt], Field(description="The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1848,6 +1291,8 @@ def ezsigntemplate_get_autocomplete_v2_with_http_info( :type s_query: str :param accept_language: :type accept_language: HeaderAcceptLanguage + :param fki_ezsignfoldertype_id: The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic + :type fki_ezsignfoldertype_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1875,6 +1320,7 @@ def ezsigntemplate_get_autocomplete_v2_with_http_info( e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language, + fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1902,6 +1348,7 @@ def ezsigntemplate_get_autocomplete_v2_without_preload_content( e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, accept_language: Optional[HeaderAcceptLanguage] = None, + fki_ezsignfoldertype_id: Annotated[Optional[StrictInt], Field(description="The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1927,6 +1374,8 @@ def ezsigntemplate_get_autocomplete_v2_without_preload_content( :type s_query: str :param accept_language: :type accept_language: HeaderAcceptLanguage + :param fki_ezsignfoldertype_id: The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic + :type fki_ezsignfoldertype_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1954,6 +1403,7 @@ def ezsigntemplate_get_autocomplete_v2_without_preload_content( e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language, + fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1976,6 +1426,7 @@ def _ezsigntemplate_get_autocomplete_v2_serialize( e_filter_active, s_query, accept_language, + fki_ezsignfoldertype_id, _request_auth, _content_type, _headers, @@ -1991,7 +1442,9 @@ def _ezsigntemplate_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2006,6 +1459,10 @@ def _ezsigntemplate_get_autocomplete_v2_serialize( _query_params.append(('sQuery', s_query)) + if fki_ezsignfoldertype_id is not None: + + _query_params.append(('fkiEzsignfoldertypeID', fki_ezsignfoldertype_id)) + # process the header parameters if accept_language is not None: _header_params['Accept-Language'] = accept_language @@ -2014,11 +1471,12 @@ def _ezsigntemplate_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2314,7 +1772,9 @@ def _ezsigntemplate_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2343,12 +1803,13 @@ def _ezsigntemplate_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -2375,271 +1836,7 @@ def _ezsigntemplate_get_list_v1_serialize( @validate_call - def ezsigntemplate_get_object_v1( - self, - pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplateGetObjectV1Response: - """(Deprecated) Retrieve an existing Ezsigntemplate - - - - :param pki_ezsigntemplate_id: (required) - :type pki_ezsigntemplate_id: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("GET /1/object/ezsigntemplate/{pkiEzsigntemplateID} is deprecated.", DeprecationWarning) - - _param = self._ezsigntemplate_get_object_v1_serialize( - pki_ezsigntemplate_id=pki_ezsigntemplate_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateGetObjectV1Response", - '404': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ).data - - - @validate_call - def ezsigntemplate_get_object_v1_with_http_info( - self, - pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplateGetObjectV1Response]: - """(Deprecated) Retrieve an existing Ezsigntemplate - - - - :param pki_ezsigntemplate_id: (required) - :type pki_ezsigntemplate_id: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("GET /1/object/ezsigntemplate/{pkiEzsigntemplateID} is deprecated.", DeprecationWarning) - - _param = self._ezsigntemplate_get_object_v1_serialize( - pki_ezsigntemplate_id=pki_ezsigntemplate_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateGetObjectV1Response", - '404': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ) - - - @validate_call - def ezsigntemplate_get_object_v1_without_preload_content( - self, - pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> RESTResponseType: - """(Deprecated) Retrieve an existing Ezsigntemplate - - - - :param pki_ezsigntemplate_id: (required) - :type pki_ezsigntemplate_id: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - warnings.warn("GET /1/object/ezsigntemplate/{pkiEzsigntemplateID} is deprecated.", DeprecationWarning) - - _param = self._ezsigntemplate_get_object_v1_serialize( - pki_ezsigntemplate_id=pki_ezsigntemplate_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateGetObjectV1Response", - '404': "CommonResponseError", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _ezsigntemplate_get_object_v1_serialize( - self, - pki_ezsigntemplate_id, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - if pki_ezsigntemplate_id is not None: - _path_params['pkiEzsigntemplateID'] = pki_ezsigntemplate_id - # process the query parameters - # process the header parameters - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - 'Authorization' - ] - - return self.api_client.param_serialize( - method='GET', - resource_path='/1/object/ezsigntemplate/{pkiEzsigntemplateID}', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def ezsigntemplate_get_object_v2( + def ezsigntemplate_get_object_v3( self, pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -2654,7 +1851,7 @@ def ezsigntemplate_get_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplateGetObjectV2Response: + ) -> EzsigntemplateGetObjectV3Response: """Retrieve an existing Ezsigntemplate @@ -2683,7 +1880,7 @@ def ezsigntemplate_get_object_v2( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplate_get_object_v2_serialize( + _param = self._ezsigntemplate_get_object_v3_serialize( pki_ezsigntemplate_id=pki_ezsigntemplate_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2692,7 +1889,7 @@ def ezsigntemplate_get_object_v2( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateGetObjectV2Response", + '200': "EzsigntemplateGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -2707,7 +1904,7 @@ def ezsigntemplate_get_object_v2( @validate_call - def ezsigntemplate_get_object_v2_with_http_info( + def ezsigntemplate_get_object_v3_with_http_info( self, pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -2722,7 +1919,7 @@ def ezsigntemplate_get_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplateGetObjectV2Response]: + ) -> ApiResponse[EzsigntemplateGetObjectV3Response]: """Retrieve an existing Ezsigntemplate @@ -2751,7 +1948,7 @@ def ezsigntemplate_get_object_v2_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplate_get_object_v2_serialize( + _param = self._ezsigntemplate_get_object_v3_serialize( pki_ezsigntemplate_id=pki_ezsigntemplate_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2760,7 +1957,7 @@ def ezsigntemplate_get_object_v2_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateGetObjectV2Response", + '200': "EzsigntemplateGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -2775,7 +1972,7 @@ def ezsigntemplate_get_object_v2_with_http_info( @validate_call - def ezsigntemplate_get_object_v2_without_preload_content( + def ezsigntemplate_get_object_v3_without_preload_content( self, pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -2819,7 +2016,7 @@ def ezsigntemplate_get_object_v2_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplate_get_object_v2_serialize( + _param = self._ezsigntemplate_get_object_v3_serialize( pki_ezsigntemplate_id=pki_ezsigntemplate_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2828,7 +2025,7 @@ def ezsigntemplate_get_object_v2_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplateGetObjectV2Response", + '200': "EzsigntemplateGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -2838,7 +2035,7 @@ def ezsigntemplate_get_object_v2_without_preload_content( return response_data.response - def _ezsigntemplate_get_object_v2_serialize( + def _ezsigntemplate_get_object_v3_serialize( self, pki_ezsigntemplate_id, _request_auth, @@ -2856,7 +2053,9 @@ def _ezsigntemplate_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2869,11 +2068,12 @@ def _ezsigntemplate_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2883,7 +2083,7 @@ def _ezsigntemplate_get_object_v2_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/2/object/ezsigntemplate/{pkiEzsigntemplateID}', + resource_path='/3/object/ezsigntemplate/{pkiEzsigntemplateID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/eZmaxApi/api/object_ezsigntemplatedocument_api.py b/eZmaxApi/api/object_ezsigntemplatedocument_api.py index d4e8875c7..423ae8686 100644 --- a/eZmaxApi/api/object_ezsigntemplatedocument_api.py +++ b/eZmaxApi/api/object_ezsigntemplatedocument_api.py @@ -22,13 +22,18 @@ from typing_extensions import Annotated from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_request import EzsigntemplatedocumentCreateObjectV1Request from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_response import EzsigntemplatedocumentCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request import EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response import EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request import EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response import EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response from eZmaxApi.models.ezsigntemplatedocument_edit_object_v1_request import EzsigntemplatedocumentEditObjectV1Request from eZmaxApi.models.ezsigntemplatedocument_edit_object_v1_response import EzsigntemplatedocumentEditObjectV1Response +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_request import EzsigntemplatedocumentExtractTextV1Request +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response import EzsigntemplatedocumentExtractTextV1Response from eZmaxApi.models.ezsigntemplatedocument_flatten_v1_response import EzsigntemplatedocumentFlattenV1Response +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response import EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response import EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response @@ -277,7 +282,9 @@ def _ezsigntemplatedocument_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -290,11 +297,12 @@ def _ezsigntemplatedocument_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -333,6 +341,301 @@ def _ezsigntemplatedocument_create_object_v1_serialize( + @validate_call + def ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1( + self, + pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request: EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response: + """Edit multiple Ezsigntemplatedocumentpagerecognitions + + Edit multiple Ezsigntemplatedocumentpagerecognitions + + :param pki_ezsigntemplatedocument_id: (required) + :type pki_ezsigntemplatedocument_id: int + :param ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request: (required) + :type ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request: EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_serialize( + pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request=ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_with_http_info( + self, + pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request: EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response]: + """Edit multiple Ezsigntemplatedocumentpagerecognitions + + Edit multiple Ezsigntemplatedocumentpagerecognitions + + :param pki_ezsigntemplatedocument_id: (required) + :type pki_ezsigntemplatedocument_id: int + :param ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request: (required) + :type ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request: EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_serialize( + pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request=ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_without_preload_content( + self, + pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request: EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit multiple Ezsigntemplatedocumentpagerecognitions + + Edit multiple Ezsigntemplatedocumentpagerecognitions + + :param pki_ezsigntemplatedocument_id: (required) + :type pki_ezsigntemplatedocument_id: int + :param ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request: (required) + :type ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request: EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_serialize( + pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request=ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_serialize( + self, + pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatedocument_id is not None: + _path_params['pkiEzsigntemplatedocumentID'] = pki_ezsigntemplatedocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request is not None: + _body_params = ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatedocumentpagerecognitions', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1( self, @@ -381,9 +684,599 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( + _param = self._ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( + pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request=ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_with_http_info( + self, + pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response]: + """Edit multiple Ezsigntemplateformfieldgroups + + Using this endpoint, you can edit multiple Ezsigntemplateformfieldgroups at the same time. + + :param pki_ezsigntemplatedocument_id: (required) + :type pki_ezsigntemplatedocument_id: int + :param ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: (required) + :type ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( + pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request=ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_without_preload_content( + self, + pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit multiple Ezsigntemplateformfieldgroups + + Using this endpoint, you can edit multiple Ezsigntemplateformfieldgroups at the same time. + + :param pki_ezsigntemplatedocument_id: (required) + :type pki_ezsigntemplatedocument_id: int + :param ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: (required) + :type ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( + pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request=ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( + self, + pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatedocument_id is not None: + _path_params['pkiEzsigntemplatedocumentID'] = pki_ezsigntemplatedocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request is not None: + _body_params = ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplateformfieldgroups', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1( + self, + pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response: + """Edit multiple Ezsigntemplatesignatures + + Using this endpoint, you can edit multiple Ezsigntemplatesignatures at the same time. + + :param pki_ezsigntemplatedocument_id: (required) + :type pki_ezsigntemplatedocument_id: int + :param ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: (required) + :type ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( + pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request=ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_with_http_info( + self, + pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response]: + """Edit multiple Ezsigntemplatesignatures + + Using this endpoint, you can edit multiple Ezsigntemplatesignatures at the same time. + + :param pki_ezsigntemplatedocument_id: (required) + :type pki_ezsigntemplatedocument_id: int + :param ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: (required) + :type ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( + pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request=ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_without_preload_content( + self, + pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit multiple Ezsigntemplatesignatures + + Using this endpoint, you can edit multiple Ezsigntemplatesignatures at the same time. + + :param pki_ezsigntemplatedocument_id: (required) + :type pki_ezsigntemplatedocument_id: int + :param ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: (required) + :type ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( + pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request=ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( + self, + pki_ezsigntemplatedocument_id, + ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatedocument_id is not None: + _path_params['pkiEzsigntemplatedocumentID'] = pki_ezsigntemplatedocument_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request is not None: + _body_params = ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatesignatures', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatedocument_edit_object_v1( + self, + pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], + ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatedocumentEditObjectV1Response: + """Edit an existing Ezsigntemplatedocument + + + + :param pki_ezsigntemplatedocument_id: (required) + :type pki_ezsigntemplatedocument_id: int + :param ezsigntemplatedocument_edit_object_v1_request: (required) + :type ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocument_edit_object_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request=ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request, + ezsigntemplatedocument_edit_object_v1_request=ezsigntemplatedocument_edit_object_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -391,9 +1284,9 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response", + '200': "EzsigntemplatedocumentEditObjectV1Response", '404': "CommonResponseError", - '422': "CommonResponseError", + '422': "CommonResponseErrorSTemporaryFileUrl", } response_data = self.api_client.call_api( *_param, @@ -407,10 +1300,10 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1( @validate_call - def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_with_http_info( + def ezsigntemplatedocument_edit_object_v1_with_http_info( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request, + ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -423,15 +1316,15 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response]: - """Edit multiple Ezsigntemplateformfieldgroups + ) -> ApiResponse[EzsigntemplatedocumentEditObjectV1Response]: + """Edit an existing Ezsigntemplatedocument - Using this endpoint, you can edit multiple Ezsigntemplateformfieldgroups at the same time. + :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: (required) - :type ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request + :param ezsigntemplatedocument_edit_object_v1_request: (required) + :type ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -454,9 +1347,9 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( + _param = self._ezsigntemplatedocument_edit_object_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request=ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request, + ezsigntemplatedocument_edit_object_v1_request=ezsigntemplatedocument_edit_object_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -464,9 +1357,9 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response", + '200': "EzsigntemplatedocumentEditObjectV1Response", '404': "CommonResponseError", - '422': "CommonResponseError", + '422': "CommonResponseErrorSTemporaryFileUrl", } response_data = self.api_client.call_api( *_param, @@ -480,10 +1373,10 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_with_http_info( @validate_call - def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_without_preload_content( + def ezsigntemplatedocument_edit_object_v1_without_preload_content( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request, + ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -497,14 +1390,14 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_without_preload _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Edit multiple Ezsigntemplateformfieldgroups + """Edit an existing Ezsigntemplatedocument - Using this endpoint, you can edit multiple Ezsigntemplateformfieldgroups at the same time. + :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: (required) - :type ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request: EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request + :param ezsigntemplatedocument_edit_object_v1_request: (required) + :type ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -527,9 +1420,9 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_without_preload :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( + _param = self._ezsigntemplatedocument_edit_object_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request=ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request, + ezsigntemplatedocument_edit_object_v1_request=ezsigntemplatedocument_edit_object_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -537,9 +1430,9 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_without_preload ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response", + '200': "EzsigntemplatedocumentEditObjectV1Response", '404': "CommonResponseError", - '422': "CommonResponseError", + '422': "CommonResponseErrorSTemporaryFileUrl", } response_data = self.api_client.call_api( *_param, @@ -548,10 +1441,10 @@ def ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_without_preload return response_data.response - def _ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( + def _ezsigntemplatedocument_edit_object_v1_serialize( self, pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request, + ezsigntemplatedocument_edit_object_v1_request, _request_auth, _content_type, _headers, @@ -567,7 +1460,9 @@ def _ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -577,16 +1472,17 @@ def _ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request is not None: - _body_params = ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request + if ezsigntemplatedocument_edit_object_v1_request is not None: + _body_params = ezsigntemplatedocument_edit_object_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -609,7 +1505,7 @@ def _ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplateformfieldgroups', + resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -626,10 +1522,10 @@ def _ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_serialize( @validate_call - def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1( + def ezsigntemplatedocument_extract_text_v1( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request, + ezsigntemplatedocument_extract_text_v1_request: EzsigntemplatedocumentExtractTextV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -642,15 +1538,15 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response: - """Edit multiple Ezsigntemplatesignatures + ) -> EzsigntemplatedocumentExtractTextV1Response: + """Extract text from Ezsigntemplatedocument area - Using this endpoint, you can edit multiple Ezsigntemplatesignatures at the same time. + Extract text from Ezsigntemplatedocument area :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: (required) - :type ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request + :param ezsigntemplatedocument_extract_text_v1_request: (required) + :type ezsigntemplatedocument_extract_text_v1_request: EzsigntemplatedocumentExtractTextV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -673,9 +1569,9 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( + _param = self._ezsigntemplatedocument_extract_text_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request=ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request, + ezsigntemplatedocument_extract_text_v1_request=ezsigntemplatedocument_extract_text_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -683,7 +1579,7 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response", + '200': "EzsigntemplatedocumentExtractTextV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -699,10 +1595,10 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1( @validate_call - def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_with_http_info( + def ezsigntemplatedocument_extract_text_v1_with_http_info( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request, + ezsigntemplatedocument_extract_text_v1_request: EzsigntemplatedocumentExtractTextV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -715,15 +1611,15 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response]: - """Edit multiple Ezsigntemplatesignatures + ) -> ApiResponse[EzsigntemplatedocumentExtractTextV1Response]: + """Extract text from Ezsigntemplatedocument area - Using this endpoint, you can edit multiple Ezsigntemplatesignatures at the same time. + Extract text from Ezsigntemplatedocument area :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: (required) - :type ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request + :param ezsigntemplatedocument_extract_text_v1_request: (required) + :type ezsigntemplatedocument_extract_text_v1_request: EzsigntemplatedocumentExtractTextV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -746,9 +1642,9 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( + _param = self._ezsigntemplatedocument_extract_text_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request=ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request, + ezsigntemplatedocument_extract_text_v1_request=ezsigntemplatedocument_extract_text_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -756,7 +1652,7 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response", + '200': "EzsigntemplatedocumentExtractTextV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -772,10 +1668,10 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_with_http_info( @validate_call - def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_without_preload_content( + def ezsigntemplatedocument_extract_text_v1_without_preload_content( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request, + ezsigntemplatedocument_extract_text_v1_request: EzsigntemplatedocumentExtractTextV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -789,14 +1685,14 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_without_preload_cont _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Edit multiple Ezsigntemplatesignatures + """Extract text from Ezsigntemplatedocument area - Using this endpoint, you can edit multiple Ezsigntemplatesignatures at the same time. + Extract text from Ezsigntemplatedocument area :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: (required) - :type ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request + :param ezsigntemplatedocument_extract_text_v1_request: (required) + :type ezsigntemplatedocument_extract_text_v1_request: EzsigntemplatedocumentExtractTextV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -819,9 +1715,9 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( + _param = self._ezsigntemplatedocument_extract_text_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request=ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request, + ezsigntemplatedocument_extract_text_v1_request=ezsigntemplatedocument_extract_text_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -829,7 +1725,7 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_without_preload_cont ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response", + '200': "EzsigntemplatedocumentExtractTextV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -840,10 +1736,10 @@ def ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_without_preload_cont return response_data.response - def _ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( + def _ezsigntemplatedocument_extract_text_v1_serialize( self, pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request, + ezsigntemplatedocument_extract_text_v1_request, _request_auth, _content_type, _headers, @@ -859,7 +1755,9 @@ def _ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -869,16 +1767,17 @@ def _ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request is not None: - _body_params = ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request + if ezsigntemplatedocument_extract_text_v1_request is not None: + _body_params = ezsigntemplatedocument_extract_text_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -900,8 +1799,8 @@ def _ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatesignatures', + method='POST', + resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/extractText', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -918,10 +1817,10 @@ def _ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_serialize( @validate_call - def ezsigntemplatedocument_edit_object_v1( + def ezsigntemplatedocument_flatten_v1( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -934,15 +1833,15 @@ def ezsigntemplatedocument_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplatedocumentEditObjectV1Response: - """Edit an existing Ezsigntemplatedocument + ) -> EzsigntemplatedocumentFlattenV1Response: + """Flatten - + Flatten an Ezsigntemplatedocument signatures, forms and annotations. This process finalizes the PDF so that the forms and annotations become part of the document content and cannot be edited. :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param ezsigntemplatedocument_edit_object_v1_request: (required) - :type ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -965,9 +1864,9 @@ def ezsigntemplatedocument_edit_object_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_edit_object_v1_serialize( + _param = self._ezsigntemplatedocument_flatten_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_object_v1_request=ezsigntemplatedocument_edit_object_v1_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -975,9 +1874,9 @@ def ezsigntemplatedocument_edit_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentEditObjectV1Response", + '200': "EzsigntemplatedocumentFlattenV1Response", '404': "CommonResponseError", - '422': "CommonResponseErrorSTemporaryFileUrl", + '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -991,10 +1890,10 @@ def ezsigntemplatedocument_edit_object_v1( @validate_call - def ezsigntemplatedocument_edit_object_v1_with_http_info( + def ezsigntemplatedocument_flatten_v1_with_http_info( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1007,15 +1906,15 @@ def ezsigntemplatedocument_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplatedocumentEditObjectV1Response]: - """Edit an existing Ezsigntemplatedocument + ) -> ApiResponse[EzsigntemplatedocumentFlattenV1Response]: + """Flatten - + Flatten an Ezsigntemplatedocument signatures, forms and annotations. This process finalizes the PDF so that the forms and annotations become part of the document content and cannot be edited. :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param ezsigntemplatedocument_edit_object_v1_request: (required) - :type ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1038,9 +1937,9 @@ def ezsigntemplatedocument_edit_object_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_edit_object_v1_serialize( + _param = self._ezsigntemplatedocument_flatten_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_object_v1_request=ezsigntemplatedocument_edit_object_v1_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1048,9 +1947,9 @@ def ezsigntemplatedocument_edit_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentEditObjectV1Response", + '200': "EzsigntemplatedocumentFlattenV1Response", '404': "CommonResponseError", - '422': "CommonResponseErrorSTemporaryFileUrl", + '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -1064,10 +1963,10 @@ def ezsigntemplatedocument_edit_object_v1_with_http_info( @validate_call - def ezsigntemplatedocument_edit_object_v1_without_preload_content( + def ezsigntemplatedocument_flatten_v1_without_preload_content( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1081,14 +1980,14 @@ def ezsigntemplatedocument_edit_object_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Edit an existing Ezsigntemplatedocument + """Flatten - + Flatten an Ezsigntemplatedocument signatures, forms and annotations. This process finalizes the PDF so that the forms and annotations become part of the document content and cannot be edited. :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param ezsigntemplatedocument_edit_object_v1_request: (required) - :type ezsigntemplatedocument_edit_object_v1_request: EzsigntemplatedocumentEditObjectV1Request + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1111,9 +2010,9 @@ def ezsigntemplatedocument_edit_object_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_edit_object_v1_serialize( + _param = self._ezsigntemplatedocument_flatten_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_object_v1_request=ezsigntemplatedocument_edit_object_v1_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1121,9 +2020,9 @@ def ezsigntemplatedocument_edit_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentEditObjectV1Response", + '200': "EzsigntemplatedocumentFlattenV1Response", '404': "CommonResponseError", - '422': "CommonResponseErrorSTemporaryFileUrl", + '422': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -1132,10 +2031,10 @@ def ezsigntemplatedocument_edit_object_v1_without_preload_content( return response_data.response - def _ezsigntemplatedocument_edit_object_v1_serialize( + def _ezsigntemplatedocument_flatten_v1_serialize( self, pki_ezsigntemplatedocument_id, - ezsigntemplatedocument_edit_object_v1_request, + body, _request_auth, _content_type, _headers, @@ -1151,7 +2050,9 @@ def _ezsigntemplatedocument_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1161,16 +2062,17 @@ def _ezsigntemplatedocument_edit_object_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsigntemplatedocument_edit_object_v1_request is not None: - _body_params = ezsigntemplatedocument_edit_object_v1_request + if body is not None: + _body_params = body # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1192,8 +2094,8 @@ def _ezsigntemplatedocument_edit_object_v1_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}', + method='POST', + resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/flatten', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1210,10 +2112,9 @@ def _ezsigntemplatedocument_edit_object_v1_serialize( @validate_call - def ezsigntemplatedocument_flatten_v1( + def ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1226,15 +2127,13 @@ def ezsigntemplatedocument_flatten_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplatedocumentFlattenV1Response: - """Flatten + ) -> EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response: + """Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatedocumentpagerecognitions - Flatten an Ezsigntemplatedocument signatures, forms and annotations. This process finalizes the PDF so that the forms and annotations become part of the document content and cannot be edited. + :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param body: (required) - :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1257,9 +2156,8 @@ def ezsigntemplatedocument_flatten_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_flatten_v1_serialize( + _param = self._ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1267,7 +2165,7 @@ def ezsigntemplatedocument_flatten_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentFlattenV1Response", + '200': "EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1283,10 +2181,9 @@ def ezsigntemplatedocument_flatten_v1( @validate_call - def ezsigntemplatedocument_flatten_v1_with_http_info( + def ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_with_http_info( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1299,15 +2196,13 @@ def ezsigntemplatedocument_flatten_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplatedocumentFlattenV1Response]: - """Flatten + ) -> ApiResponse[EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response]: + """Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatedocumentpagerecognitions - Flatten an Ezsigntemplatedocument signatures, forms and annotations. This process finalizes the PDF so that the forms and annotations become part of the document content and cannot be edited. + :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param body: (required) - :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1330,9 +2225,8 @@ def ezsigntemplatedocument_flatten_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_flatten_v1_serialize( + _param = self._ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1340,7 +2234,7 @@ def ezsigntemplatedocument_flatten_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentFlattenV1Response", + '200': "EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1356,10 +2250,9 @@ def ezsigntemplatedocument_flatten_v1_with_http_info( @validate_call - def ezsigntemplatedocument_flatten_v1_without_preload_content( + def ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_without_preload_content( self, pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)], - body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1373,14 +2266,12 @@ def ezsigntemplatedocument_flatten_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Flatten + """Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatedocumentpagerecognitions - Flatten an Ezsigntemplatedocument signatures, forms and annotations. This process finalizes the PDF so that the forms and annotations become part of the document content and cannot be edited. + :param pki_ezsigntemplatedocument_id: (required) :type pki_ezsigntemplatedocument_id: int - :param body: (required) - :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1403,9 +2294,8 @@ def ezsigntemplatedocument_flatten_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatedocument_flatten_v1_serialize( + _param = self._ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_serialize( pki_ezsigntemplatedocument_id=pki_ezsigntemplatedocument_id, - body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1413,7 +2303,7 @@ def ezsigntemplatedocument_flatten_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatedocumentFlattenV1Response", + '200': "EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1424,10 +2314,9 @@ def ezsigntemplatedocument_flatten_v1_without_preload_content( return response_data.response - def _ezsigntemplatedocument_flatten_v1_serialize( + def _ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_serialize( self, pki_ezsigntemplatedocument_id, - body, _request_auth, _content_type, _headers, @@ -1443,7 +2332,9 @@ def _ezsigntemplatedocument_flatten_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1453,30 +2344,16 @@ def _ezsigntemplatedocument_flatten_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if body is not None: - _body_params = body # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + # authentication setting _auth_settings: List[str] = [ @@ -1484,8 +2361,8 @@ def _ezsigntemplatedocument_flatten_v1_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/flatten', + method='GET', + resource_path='/1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplatedocumentpagerecognitions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1719,7 +2596,9 @@ def _ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1732,11 +2611,12 @@ def _ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1983,7 +2863,9 @@ def _ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1996,11 +2878,12 @@ def _ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2247,7 +3130,9 @@ def _ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2260,11 +3145,12 @@ def _ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2508,7 +3394,9 @@ def _ezsigntemplatedocument_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2521,11 +3409,12 @@ def _ezsigntemplatedocument_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2782,7 +3671,9 @@ def _ezsigntemplatedocument_get_words_positions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2797,11 +3688,12 @@ def _ezsigntemplatedocument_get_words_positions_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -3071,7 +3963,9 @@ def _ezsigntemplatedocument_patch_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3086,11 +3980,12 @@ def _ezsigntemplatedocument_patch_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_ezsigntemplatedocumentpagerecognition_api.py b/eZmaxApi/api/object_ezsigntemplatedocumentpagerecognition_api.py new file mode 100644 index 000000000..0df78ac37 --- /dev/null +++ b/eZmaxApi/api/object_ezsigntemplatedocumentpagerecognition_api.py @@ -0,0 +1,1141 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field +from typing_extensions import Annotated +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_request import EzsigntemplatedocumentpagerecognitionCreateObjectV1Request +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response import EzsigntemplatedocumentpagerecognitionCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_delete_object_v1_response import EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_request import EzsigntemplatedocumentpagerecognitionEditObjectV1Request +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_response import EzsigntemplatedocumentpagerecognitionEditObjectV1Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response import EzsigntemplatedocumentpagerecognitionGetObjectV2Response + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectEzsigntemplatedocumentpagerecognitionApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def ezsigntemplatedocumentpagerecognition_create_object_v1( + self, + ezsigntemplatedocumentpagerecognition_create_object_v1_request: EzsigntemplatedocumentpagerecognitionCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatedocumentpagerecognitionCreateObjectV1Response: + """Create a new Ezsigntemplatedocumentpagerecognition + + The endpoint allows to create one or many elements at once. + + :param ezsigntemplatedocumentpagerecognition_create_object_v1_request: (required) + :type ezsigntemplatedocumentpagerecognition_create_object_v1_request: EzsigntemplatedocumentpagerecognitionCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_create_object_v1_serialize( + ezsigntemplatedocumentpagerecognition_create_object_v1_request=ezsigntemplatedocumentpagerecognition_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsigntemplatedocumentpagerecognitionCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatedocumentpagerecognition_create_object_v1_with_http_info( + self, + ezsigntemplatedocumentpagerecognition_create_object_v1_request: EzsigntemplatedocumentpagerecognitionCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatedocumentpagerecognitionCreateObjectV1Response]: + """Create a new Ezsigntemplatedocumentpagerecognition + + The endpoint allows to create one or many elements at once. + + :param ezsigntemplatedocumentpagerecognition_create_object_v1_request: (required) + :type ezsigntemplatedocumentpagerecognition_create_object_v1_request: EzsigntemplatedocumentpagerecognitionCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_create_object_v1_serialize( + ezsigntemplatedocumentpagerecognition_create_object_v1_request=ezsigntemplatedocumentpagerecognition_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsigntemplatedocumentpagerecognitionCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatedocumentpagerecognition_create_object_v1_without_preload_content( + self, + ezsigntemplatedocumentpagerecognition_create_object_v1_request: EzsigntemplatedocumentpagerecognitionCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create a new Ezsigntemplatedocumentpagerecognition + + The endpoint allows to create one or many elements at once. + + :param ezsigntemplatedocumentpagerecognition_create_object_v1_request: (required) + :type ezsigntemplatedocumentpagerecognition_create_object_v1_request: EzsigntemplatedocumentpagerecognitionCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_create_object_v1_serialize( + ezsigntemplatedocumentpagerecognition_create_object_v1_request=ezsigntemplatedocumentpagerecognition_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsigntemplatedocumentpagerecognitionCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatedocumentpagerecognition_create_object_v1_serialize( + self, + ezsigntemplatedocumentpagerecognition_create_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigntemplatedocumentpagerecognition_create_object_v1_request is not None: + _body_params = ezsigntemplatedocumentpagerecognition_create_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/ezsigntemplatedocumentpagerecognition', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatedocumentpagerecognition_delete_object_v1( + self, + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatedocumentpagerecognition")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response: + """Delete an existing Ezsigntemplatedocumentpagerecognition + + + + :param pki_ezsigntemplatedocumentpagerecognition_id: The unique ID of the Ezsigntemplatedocumentpagerecognition (required) + :type pki_ezsigntemplatedocumentpagerecognition_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_delete_object_v1_serialize( + pki_ezsigntemplatedocumentpagerecognition_id=pki_ezsigntemplatedocumentpagerecognition_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatedocumentpagerecognition_delete_object_v1_with_http_info( + self, + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatedocumentpagerecognition")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response]: + """Delete an existing Ezsigntemplatedocumentpagerecognition + + + + :param pki_ezsigntemplatedocumentpagerecognition_id: The unique ID of the Ezsigntemplatedocumentpagerecognition (required) + :type pki_ezsigntemplatedocumentpagerecognition_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_delete_object_v1_serialize( + pki_ezsigntemplatedocumentpagerecognition_id=pki_ezsigntemplatedocumentpagerecognition_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatedocumentpagerecognition_delete_object_v1_without_preload_content( + self, + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatedocumentpagerecognition")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete an existing Ezsigntemplatedocumentpagerecognition + + + + :param pki_ezsigntemplatedocumentpagerecognition_id: The unique ID of the Ezsigntemplatedocumentpagerecognition (required) + :type pki_ezsigntemplatedocumentpagerecognition_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_delete_object_v1_serialize( + pki_ezsigntemplatedocumentpagerecognition_id=pki_ezsigntemplatedocumentpagerecognition_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatedocumentpagerecognition_delete_object_v1_serialize( + self, + pki_ezsigntemplatedocumentpagerecognition_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatedocumentpagerecognition_id is not None: + _path_params['pkiEzsigntemplatedocumentpagerecognitionID'] = pki_ezsigntemplatedocumentpagerecognition_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatedocumentpagerecognition_edit_object_v1( + self, + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatedocumentpagerecognition")], + ezsigntemplatedocumentpagerecognition_edit_object_v1_request: EzsigntemplatedocumentpagerecognitionEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatedocumentpagerecognitionEditObjectV1Response: + """Edit an existing Ezsigntemplatedocumentpagerecognition + + + + :param pki_ezsigntemplatedocumentpagerecognition_id: The unique ID of the Ezsigntemplatedocumentpagerecognition (required) + :type pki_ezsigntemplatedocumentpagerecognition_id: int + :param ezsigntemplatedocumentpagerecognition_edit_object_v1_request: (required) + :type ezsigntemplatedocumentpagerecognition_edit_object_v1_request: EzsigntemplatedocumentpagerecognitionEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_edit_object_v1_serialize( + pki_ezsigntemplatedocumentpagerecognition_id=pki_ezsigntemplatedocumentpagerecognition_id, + ezsigntemplatedocumentpagerecognition_edit_object_v1_request=ezsigntemplatedocumentpagerecognition_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentpagerecognitionEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatedocumentpagerecognition_edit_object_v1_with_http_info( + self, + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatedocumentpagerecognition")], + ezsigntemplatedocumentpagerecognition_edit_object_v1_request: EzsigntemplatedocumentpagerecognitionEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatedocumentpagerecognitionEditObjectV1Response]: + """Edit an existing Ezsigntemplatedocumentpagerecognition + + + + :param pki_ezsigntemplatedocumentpagerecognition_id: The unique ID of the Ezsigntemplatedocumentpagerecognition (required) + :type pki_ezsigntemplatedocumentpagerecognition_id: int + :param ezsigntemplatedocumentpagerecognition_edit_object_v1_request: (required) + :type ezsigntemplatedocumentpagerecognition_edit_object_v1_request: EzsigntemplatedocumentpagerecognitionEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_edit_object_v1_serialize( + pki_ezsigntemplatedocumentpagerecognition_id=pki_ezsigntemplatedocumentpagerecognition_id, + ezsigntemplatedocumentpagerecognition_edit_object_v1_request=ezsigntemplatedocumentpagerecognition_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentpagerecognitionEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatedocumentpagerecognition_edit_object_v1_without_preload_content( + self, + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatedocumentpagerecognition")], + ezsigntemplatedocumentpagerecognition_edit_object_v1_request: EzsigntemplatedocumentpagerecognitionEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit an existing Ezsigntemplatedocumentpagerecognition + + + + :param pki_ezsigntemplatedocumentpagerecognition_id: The unique ID of the Ezsigntemplatedocumentpagerecognition (required) + :type pki_ezsigntemplatedocumentpagerecognition_id: int + :param ezsigntemplatedocumentpagerecognition_edit_object_v1_request: (required) + :type ezsigntemplatedocumentpagerecognition_edit_object_v1_request: EzsigntemplatedocumentpagerecognitionEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_edit_object_v1_serialize( + pki_ezsigntemplatedocumentpagerecognition_id=pki_ezsigntemplatedocumentpagerecognition_id, + ezsigntemplatedocumentpagerecognition_edit_object_v1_request=ezsigntemplatedocumentpagerecognition_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentpagerecognitionEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatedocumentpagerecognition_edit_object_v1_serialize( + self, + pki_ezsigntemplatedocumentpagerecognition_id, + ezsigntemplatedocumentpagerecognition_edit_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatedocumentpagerecognition_id is not None: + _path_params['pkiEzsigntemplatedocumentpagerecognitionID'] = pki_ezsigntemplatedocumentpagerecognition_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigntemplatedocumentpagerecognition_edit_object_v1_request is not None: + _body_params = ezsigntemplatedocumentpagerecognition_edit_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatedocumentpagerecognition_get_object_v2( + self, + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatedocumentpagerecognition")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatedocumentpagerecognitionGetObjectV2Response: + """Retrieve an existing Ezsigntemplatedocumentpagerecognition + + + + :param pki_ezsigntemplatedocumentpagerecognition_id: The unique ID of the Ezsigntemplatedocumentpagerecognition (required) + :type pki_ezsigntemplatedocumentpagerecognition_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_get_object_v2_serialize( + pki_ezsigntemplatedocumentpagerecognition_id=pki_ezsigntemplatedocumentpagerecognition_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentpagerecognitionGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatedocumentpagerecognition_get_object_v2_with_http_info( + self, + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatedocumentpagerecognition")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatedocumentpagerecognitionGetObjectV2Response]: + """Retrieve an existing Ezsigntemplatedocumentpagerecognition + + + + :param pki_ezsigntemplatedocumentpagerecognition_id: The unique ID of the Ezsigntemplatedocumentpagerecognition (required) + :type pki_ezsigntemplatedocumentpagerecognition_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_get_object_v2_serialize( + pki_ezsigntemplatedocumentpagerecognition_id=pki_ezsigntemplatedocumentpagerecognition_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentpagerecognitionGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatedocumentpagerecognition_get_object_v2_without_preload_content( + self, + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatedocumentpagerecognition")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Ezsigntemplatedocumentpagerecognition + + + + :param pki_ezsigntemplatedocumentpagerecognition_id: The unique ID of the Ezsigntemplatedocumentpagerecognition (required) + :type pki_ezsigntemplatedocumentpagerecognition_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatedocumentpagerecognition_get_object_v2_serialize( + pki_ezsigntemplatedocumentpagerecognition_id=pki_ezsigntemplatedocumentpagerecognition_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatedocumentpagerecognitionGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatedocumentpagerecognition_get_object_v2_serialize( + self, + pki_ezsigntemplatedocumentpagerecognition_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatedocumentpagerecognition_id is not None: + _path_params['pkiEzsigntemplatedocumentpagerecognitionID'] = pki_ezsigntemplatedocumentpagerecognition_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_ezsigntemplateformfieldgroup_api.py b/eZmaxApi/api/object_ezsigntemplateformfieldgroup_api.py index bb29a9699..d03cccfb1 100644 --- a/eZmaxApi/api/object_ezsigntemplateformfieldgroup_api.py +++ b/eZmaxApi/api/object_ezsigntemplateformfieldgroup_api.py @@ -259,7 +259,9 @@ def _ezsigntemplateformfieldgroup_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -272,11 +274,12 @@ def _ezsigntemplateformfieldgroup_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -533,7 +536,9 @@ def _ezsigntemplateformfieldgroup_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -546,11 +551,12 @@ def _ezsigntemplateformfieldgroup_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -810,7 +816,9 @@ def _ezsigntemplateformfieldgroup_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -825,11 +833,12 @@ def _ezsigntemplateformfieldgroup_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1086,7 +1095,9 @@ def _ezsigntemplateformfieldgroup_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1099,11 +1110,12 @@ def _ezsigntemplateformfieldgroup_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsigntemplateglobal_api.py b/eZmaxApi/api/object_ezsigntemplateglobal_api.py index f2336bdec..755e2601b 100644 --- a/eZmaxApi/api/object_ezsigntemplateglobal_api.py +++ b/eZmaxApi/api/object_ezsigntemplateglobal_api.py @@ -296,7 +296,9 @@ def _ezsigntemplateglobal_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -319,11 +321,12 @@ def _ezsigntemplateglobal_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -567,7 +570,9 @@ def _ezsigntemplateglobal_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -580,11 +585,12 @@ def _ezsigntemplateglobal_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsigntemplatepackage_api.py b/eZmaxApi/api/object_ezsigntemplatepackage_api.py index cb328b928..b92a99b5d 100644 --- a/eZmaxApi/api/object_ezsigntemplatepackage_api.py +++ b/eZmaxApi/api/object_ezsigntemplatepackage_api.py @@ -17,7 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr, field_validator +from pydantic import Field, StrictInt, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated from eZmaxApi.models.ezsigntemplatepackage_create_object_v1_request import EzsigntemplatepackageCreateObjectV1Request @@ -265,7 +265,9 @@ def _ezsigntemplatepackage_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -278,11 +280,12 @@ def _ezsigntemplatepackage_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -539,7 +542,9 @@ def _ezsigntemplatepackage_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -552,11 +557,12 @@ def _ezsigntemplatepackage_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -816,7 +822,9 @@ def _ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -831,11 +839,12 @@ def _ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1108,7 +1117,9 @@ def _ezsigntemplatepackage_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1123,11 +1134,12 @@ def _ezsigntemplatepackage_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1173,6 +1185,7 @@ def ezsigntemplatepackage_get_autocomplete_v2( e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, accept_language: Optional[HeaderAcceptLanguage] = None, + fki_ezsignfoldertype_id: Annotated[Optional[StrictInt], Field(description="The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1198,6 +1211,8 @@ def ezsigntemplatepackage_get_autocomplete_v2( :type s_query: str :param accept_language: :type accept_language: HeaderAcceptLanguage + :param fki_ezsignfoldertype_id: The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic + :type fki_ezsignfoldertype_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1225,6 +1240,7 @@ def ezsigntemplatepackage_get_autocomplete_v2( e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language, + fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1252,6 +1268,7 @@ def ezsigntemplatepackage_get_autocomplete_v2_with_http_info( e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, accept_language: Optional[HeaderAcceptLanguage] = None, + fki_ezsignfoldertype_id: Annotated[Optional[StrictInt], Field(description="The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1277,6 +1294,8 @@ def ezsigntemplatepackage_get_autocomplete_v2_with_http_info( :type s_query: str :param accept_language: :type accept_language: HeaderAcceptLanguage + :param fki_ezsignfoldertype_id: The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic + :type fki_ezsignfoldertype_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1304,6 +1323,7 @@ def ezsigntemplatepackage_get_autocomplete_v2_with_http_info( e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language, + fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1331,6 +1351,7 @@ def ezsigntemplatepackage_get_autocomplete_v2_without_preload_content( e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, accept_language: Optional[HeaderAcceptLanguage] = None, + fki_ezsignfoldertype_id: Annotated[Optional[StrictInt], Field(description="The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1356,6 +1377,8 @@ def ezsigntemplatepackage_get_autocomplete_v2_without_preload_content( :type s_query: str :param accept_language: :type accept_language: HeaderAcceptLanguage + :param fki_ezsignfoldertype_id: The fkiEzsignfoldertypeID to use with the selector Ezsigntemplatepublic + :type fki_ezsignfoldertype_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1383,6 +1406,7 @@ def ezsigntemplatepackage_get_autocomplete_v2_without_preload_content( e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language, + fki_ezsignfoldertype_id=fki_ezsignfoldertype_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1405,6 +1429,7 @@ def _ezsigntemplatepackage_get_autocomplete_v2_serialize( e_filter_active, s_query, accept_language, + fki_ezsignfoldertype_id, _request_auth, _content_type, _headers, @@ -1420,7 +1445,9 @@ def _ezsigntemplatepackage_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1435,6 +1462,10 @@ def _ezsigntemplatepackage_get_autocomplete_v2_serialize( _query_params.append(('sQuery', s_query)) + if fki_ezsignfoldertype_id is not None: + + _query_params.append(('fkiEzsignfoldertypeID', fki_ezsignfoldertype_id)) + # process the header parameters if accept_language is not None: _header_params['Accept-Language'] = accept_language @@ -1443,11 +1474,12 @@ def _ezsigntemplatepackage_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1743,7 +1775,9 @@ def _ezsigntemplatepackage_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1772,12 +1806,13 @@ def _ezsigntemplatepackage_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -2021,7 +2056,9 @@ def _ezsigntemplatepackage_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2034,11 +2071,12 @@ def _ezsigntemplatepackage_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsigntemplatepackagemembership_api.py b/eZmaxApi/api/object_ezsigntemplatepackagemembership_api.py index b5d5ef4db..bb4b36885 100644 --- a/eZmaxApi/api/object_ezsigntemplatepackagemembership_api.py +++ b/eZmaxApi/api/object_ezsigntemplatepackagemembership_api.py @@ -260,7 +260,9 @@ def _ezsigntemplatepackagemembership_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -273,11 +275,12 @@ def _ezsigntemplatepackagemembership_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -534,7 +537,9 @@ def _ezsigntemplatepackagemembership_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -547,11 +552,12 @@ def _ezsigntemplatepackagemembership_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -795,7 +801,9 @@ def _ezsigntemplatepackagemembership_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -808,11 +816,12 @@ def _ezsigntemplatepackagemembership_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsigntemplatepackagesigner_api.py b/eZmaxApi/api/object_ezsigntemplatepackagesigner_api.py index 624d0a1af..1842efeea 100644 --- a/eZmaxApi/api/object_ezsigntemplatepackagesigner_api.py +++ b/eZmaxApi/api/object_ezsigntemplatepackagesigner_api.py @@ -259,7 +259,9 @@ def _ezsigntemplatepackagesigner_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -272,11 +274,12 @@ def _ezsigntemplatepackagesigner_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -533,7 +536,9 @@ def _ezsigntemplatepackagesigner_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -546,11 +551,12 @@ def _ezsigntemplatepackagesigner_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -810,7 +816,9 @@ def _ezsigntemplatepackagesigner_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -825,11 +833,12 @@ def _ezsigntemplatepackagesigner_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1086,7 +1095,9 @@ def _ezsigntemplatepackagesigner_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1099,11 +1110,12 @@ def _ezsigntemplatepackagesigner_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsigntemplatepackagesignermembership_api.py b/eZmaxApi/api/object_ezsigntemplatepackagesignermembership_api.py index a4b81e327..4f2297b59 100644 --- a/eZmaxApi/api/object_ezsigntemplatepackagesignermembership_api.py +++ b/eZmaxApi/api/object_ezsigntemplatepackagesignermembership_api.py @@ -260,7 +260,9 @@ def _ezsigntemplatepackagesignermembership_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -273,11 +275,12 @@ def _ezsigntemplatepackagesignermembership_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -534,7 +537,9 @@ def _ezsigntemplatepackagesignermembership_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -547,11 +552,12 @@ def _ezsigntemplatepackagesignermembership_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -795,7 +801,9 @@ def _ezsigntemplatepackagesignermembership_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -808,11 +816,12 @@ def _ezsigntemplatepackagesignermembership_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsigntemplatepublic_api.py b/eZmaxApi/api/object_ezsigntemplatepublic_api.py new file mode 100644 index 000000000..68de76f80 --- /dev/null +++ b/eZmaxApi/api/object_ezsigntemplatepublic_api.py @@ -0,0 +1,2622 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Any, Dict, Optional +from typing_extensions import Annotated +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_request import EzsigntemplatepublicCreateEzsignfolderV1Request +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response import EzsigntemplatepublicCreateEzsignfolderV1Response +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_request import EzsigntemplatepublicCreateObjectV1Request +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response import EzsigntemplatepublicCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_request import EzsigntemplatepublicEditObjectV1Request +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_response import EzsigntemplatepublicEditObjectV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response import EzsigntemplatepublicGetFormsDataV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response import EzsigntemplatepublicGetListV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response import EzsigntemplatepublicGetObjectV2Response +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response import EzsigntemplatepublicResetLimitExceededCounterV1Response +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response import EzsigntemplatepublicResetUrlV1Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectEzsigntemplatepublicApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def ezsigntemplatepublic_create_ezsignfolder_v1( + self, + ezsigntemplatepublic_create_ezsignfolder_v1_request: EzsigntemplatepublicCreateEzsignfolderV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatepublicCreateEzsignfolderV1Response: + """Create an Ezsignfolder + + Create an Ezsignfolder + + :param ezsigntemplatepublic_create_ezsignfolder_v1_request: (required) + :type ezsigntemplatepublic_create_ezsignfolder_v1_request: EzsigntemplatepublicCreateEzsignfolderV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_create_ezsignfolder_v1_serialize( + ezsigntemplatepublic_create_ezsignfolder_v1_request=ezsigntemplatepublic_create_ezsignfolder_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicCreateEzsignfolderV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatepublic_create_ezsignfolder_v1_with_http_info( + self, + ezsigntemplatepublic_create_ezsignfolder_v1_request: EzsigntemplatepublicCreateEzsignfolderV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatepublicCreateEzsignfolderV1Response]: + """Create an Ezsignfolder + + Create an Ezsignfolder + + :param ezsigntemplatepublic_create_ezsignfolder_v1_request: (required) + :type ezsigntemplatepublic_create_ezsignfolder_v1_request: EzsigntemplatepublicCreateEzsignfolderV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_create_ezsignfolder_v1_serialize( + ezsigntemplatepublic_create_ezsignfolder_v1_request=ezsigntemplatepublic_create_ezsignfolder_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicCreateEzsignfolderV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatepublic_create_ezsignfolder_v1_without_preload_content( + self, + ezsigntemplatepublic_create_ezsignfolder_v1_request: EzsigntemplatepublicCreateEzsignfolderV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create an Ezsignfolder + + Create an Ezsignfolder + + :param ezsigntemplatepublic_create_ezsignfolder_v1_request: (required) + :type ezsigntemplatepublic_create_ezsignfolder_v1_request: EzsigntemplatepublicCreateEzsignfolderV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_create_ezsignfolder_v1_serialize( + ezsigntemplatepublic_create_ezsignfolder_v1_request=ezsigntemplatepublic_create_ezsignfolder_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicCreateEzsignfolderV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatepublic_create_ezsignfolder_v1_serialize( + self, + ezsigntemplatepublic_create_ezsignfolder_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigntemplatepublic_create_ezsignfolder_v1_request is not None: + _body_params = ezsigntemplatepublic_create_ezsignfolder_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/ezsigntemplatepublic/createEzsignfolder', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatepublic_create_object_v1( + self, + ezsigntemplatepublic_create_object_v1_request: EzsigntemplatepublicCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatepublicCreateObjectV1Response: + """Create a new Ezsigntemplatepublic + + The endpoint allows to create one or many elements at once. + + :param ezsigntemplatepublic_create_object_v1_request: (required) + :type ezsigntemplatepublic_create_object_v1_request: EzsigntemplatepublicCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_create_object_v1_serialize( + ezsigntemplatepublic_create_object_v1_request=ezsigntemplatepublic_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsigntemplatepublicCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatepublic_create_object_v1_with_http_info( + self, + ezsigntemplatepublic_create_object_v1_request: EzsigntemplatepublicCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatepublicCreateObjectV1Response]: + """Create a new Ezsigntemplatepublic + + The endpoint allows to create one or many elements at once. + + :param ezsigntemplatepublic_create_object_v1_request: (required) + :type ezsigntemplatepublic_create_object_v1_request: EzsigntemplatepublicCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_create_object_v1_serialize( + ezsigntemplatepublic_create_object_v1_request=ezsigntemplatepublic_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsigntemplatepublicCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatepublic_create_object_v1_without_preload_content( + self, + ezsigntemplatepublic_create_object_v1_request: EzsigntemplatepublicCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create a new Ezsigntemplatepublic + + The endpoint allows to create one or many elements at once. + + :param ezsigntemplatepublic_create_object_v1_request: (required) + :type ezsigntemplatepublic_create_object_v1_request: EzsigntemplatepublicCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_create_object_v1_serialize( + ezsigntemplatepublic_create_object_v1_request=ezsigntemplatepublic_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EzsigntemplatepublicCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatepublic_create_object_v1_serialize( + self, + ezsigntemplatepublic_create_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigntemplatepublic_create_object_v1_request is not None: + _body_params = ezsigntemplatepublic_create_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/ezsigntemplatepublic', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatepublic_edit_object_v1( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatepublic")], + ezsigntemplatepublic_edit_object_v1_request: EzsigntemplatepublicEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatepublicEditObjectV1Response: + """Edit an existing Ezsigntemplatepublic + + + + :param pki_ezsigntemplatepublic_id: The unique ID of the Ezsigntemplatepublic (required) + :type pki_ezsigntemplatepublic_id: int + :param ezsigntemplatepublic_edit_object_v1_request: (required) + :type ezsigntemplatepublic_edit_object_v1_request: EzsigntemplatepublicEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_edit_object_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + ezsigntemplatepublic_edit_object_v1_request=ezsigntemplatepublic_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatepublic_edit_object_v1_with_http_info( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatepublic")], + ezsigntemplatepublic_edit_object_v1_request: EzsigntemplatepublicEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatepublicEditObjectV1Response]: + """Edit an existing Ezsigntemplatepublic + + + + :param pki_ezsigntemplatepublic_id: The unique ID of the Ezsigntemplatepublic (required) + :type pki_ezsigntemplatepublic_id: int + :param ezsigntemplatepublic_edit_object_v1_request: (required) + :type ezsigntemplatepublic_edit_object_v1_request: EzsigntemplatepublicEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_edit_object_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + ezsigntemplatepublic_edit_object_v1_request=ezsigntemplatepublic_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatepublic_edit_object_v1_without_preload_content( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatepublic")], + ezsigntemplatepublic_edit_object_v1_request: EzsigntemplatepublicEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit an existing Ezsigntemplatepublic + + + + :param pki_ezsigntemplatepublic_id: The unique ID of the Ezsigntemplatepublic (required) + :type pki_ezsigntemplatepublic_id: int + :param ezsigntemplatepublic_edit_object_v1_request: (required) + :type ezsigntemplatepublic_edit_object_v1_request: EzsigntemplatepublicEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_edit_object_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + ezsigntemplatepublic_edit_object_v1_request=ezsigntemplatepublic_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatepublic_edit_object_v1_serialize( + self, + pki_ezsigntemplatepublic_id, + ezsigntemplatepublic_edit_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatepublic_id is not None: + _path_params['pkiEzsigntemplatepublicID'] = pki_ezsigntemplatepublic_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigntemplatepublic_edit_object_v1_request is not None: + _body_params = ezsigntemplatepublic_edit_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1( + self, + ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request: EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response: + """Retrieve the Ezsigntemplatepublic details + + Retrieve the Ezsigntemplatepublic details + + :param ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request: (required) + :type ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request: EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_serialize( + ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request=ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_with_http_info( + self, + ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request: EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response]: + """Retrieve the Ezsigntemplatepublic details + + Retrieve the Ezsigntemplatepublic details + + :param ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request: (required) + :type ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request: EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_serialize( + ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request=ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_without_preload_content( + self, + ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request: EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve the Ezsigntemplatepublic details + + Retrieve the Ezsigntemplatepublic details + + :param ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request: (required) + :type ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request: EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_serialize( + ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request=ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_serialize( + self, + ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request is not None: + _body_params = ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatepublic_get_forms_data_v1( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatepublicGetFormsDataV1Response: + """Retrieve an existing Ezsigntemplatepublic's forms data + + + + :param pki_ezsigntemplatepublic_id: (required) + :type pki_ezsigntemplatepublic_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_forms_data_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetFormsDataV1Response", + '404': "CommonResponseError", + '406': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatepublic_get_forms_data_v1_with_http_info( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatepublicGetFormsDataV1Response]: + """Retrieve an existing Ezsigntemplatepublic's forms data + + + + :param pki_ezsigntemplatepublic_id: (required) + :type pki_ezsigntemplatepublic_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_forms_data_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetFormsDataV1Response", + '404': "CommonResponseError", + '406': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatepublic_get_forms_data_v1_without_preload_content( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Ezsigntemplatepublic's forms data + + + + :param pki_ezsigntemplatepublic_id: (required) + :type pki_ezsigntemplatepublic_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_forms_data_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetFormsDataV1Response", + '404': "CommonResponseError", + '406': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatepublic_get_forms_data_v1_serialize( + self, + pki_ezsigntemplatepublic_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatepublic_id is not None: + _path_params['pkiEzsigntemplatepublicID'] = pki_ezsigntemplatepublic_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/zip' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/getFormsData', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatepublic_get_list_v1( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatepublicGetListV1Response: + """Retrieve Ezsigntemplatepublic list + + Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsigntemplatepublicLimittype | Hour
Day
Month
Total | + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatepublic_get_list_v1_with_http_info( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatepublicGetListV1Response]: + """Retrieve Ezsigntemplatepublic list + + Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsigntemplatepublicLimittype | Hour
Day
Month
Total | + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatepublic_get_list_v1_without_preload_content( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Ezsigntemplatepublic list + + Enum values that can be filtered in query parameter *sFilter*: | Variable | Valid values | |---|---| | eEzsigntemplatepublicLimittype | Hour
Day
Month
Total | + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatepublic_get_list_v1_serialize( + self, + e_order_by, + i_row_max, + i_row_offset, + accept_language, + s_filter, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if e_order_by is not None: + + _query_params.append(('eOrderBy', e_order_by)) + + if i_row_max is not None: + + _query_params.append(('iRowMax', i_row_max)) + + if i_row_offset is not None: + + _query_params.append(('iRowOffset', i_row_offset)) + + if s_filter is not None: + + _query_params.append(('sFilter', s_filter)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/ezsigntemplatepublic/getList', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatepublic_get_object_v2( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatepublic")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatepublicGetObjectV2Response: + """Retrieve an existing Ezsigntemplatepublic + + + + :param pki_ezsigntemplatepublic_id: The unique ID of the Ezsigntemplatepublic (required) + :type pki_ezsigntemplatepublic_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_object_v2_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatepublic_get_object_v2_with_http_info( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatepublic")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatepublicGetObjectV2Response]: + """Retrieve an existing Ezsigntemplatepublic + + + + :param pki_ezsigntemplatepublic_id: The unique ID of the Ezsigntemplatepublic (required) + :type pki_ezsigntemplatepublic_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_object_v2_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatepublic_get_object_v2_without_preload_content( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsigntemplatepublic")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Ezsigntemplatepublic + + + + :param pki_ezsigntemplatepublic_id: The unique ID of the Ezsigntemplatepublic (required) + :type pki_ezsigntemplatepublic_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_get_object_v2_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatepublic_get_object_v2_serialize( + self, + pki_ezsigntemplatepublic_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatepublic_id is not None: + _path_params['pkiEzsigntemplatepublicID'] = pki_ezsigntemplatepublic_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatepublic_reset_limit_exceeded_counter_v1( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatepublicResetLimitExceededCounterV1Response: + """Reset the limit exceeded counter + + + + :param pki_ezsigntemplatepublic_id: (required) + :type pki_ezsigntemplatepublic_id: int + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_reset_limit_exceeded_counter_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicResetLimitExceededCounterV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatepublic_reset_limit_exceeded_counter_v1_with_http_info( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatepublicResetLimitExceededCounterV1Response]: + """Reset the limit exceeded counter + + + + :param pki_ezsigntemplatepublic_id: (required) + :type pki_ezsigntemplatepublic_id: int + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_reset_limit_exceeded_counter_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicResetLimitExceededCounterV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatepublic_reset_limit_exceeded_counter_v1_without_preload_content( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Reset the limit exceeded counter + + + + :param pki_ezsigntemplatepublic_id: (required) + :type pki_ezsigntemplatepublic_id: int + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_reset_limit_exceeded_counter_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicResetLimitExceededCounterV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatepublic_reset_limit_exceeded_counter_v1_serialize( + self, + pki_ezsigntemplatepublic_id, + body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatepublic_id is not None: + _path_params['pkiEzsigntemplatepublicID'] = pki_ezsigntemplatepublic_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if body is not None: + _body_params = body + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetLimitExceededCounter', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsigntemplatepublic_reset_url_v1( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsigntemplatepublicResetUrlV1Response: + """Reset the Ezsigntemplatepublic url + + + + :param pki_ezsigntemplatepublic_id: (required) + :type pki_ezsigntemplatepublic_id: int + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_reset_url_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicResetUrlV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsigntemplatepublic_reset_url_v1_with_http_info( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsigntemplatepublicResetUrlV1Response]: + """Reset the Ezsigntemplatepublic url + + + + :param pki_ezsigntemplatepublic_id: (required) + :type pki_ezsigntemplatepublic_id: int + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_reset_url_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicResetUrlV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsigntemplatepublic_reset_url_v1_without_preload_content( + self, + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)], + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Reset the Ezsigntemplatepublic url + + + + :param pki_ezsigntemplatepublic_id: (required) + :type pki_ezsigntemplatepublic_id: int + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsigntemplatepublic_reset_url_v1_serialize( + pki_ezsigntemplatepublic_id=pki_ezsigntemplatepublic_id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsigntemplatepublicResetUrlV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsigntemplatepublic_reset_url_v1_serialize( + self, + pki_ezsigntemplatepublic_id, + body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsigntemplatepublic_id is not None: + _path_params['pkiEzsigntemplatepublicID'] = pki_ezsigntemplatepublic_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if body is not None: + _body_params = body + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetUrl', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_ezsigntemplatesignature_api.py b/eZmaxApi/api/object_ezsigntemplatesignature_api.py index 80e5814b3..b1e9ecbf0 100644 --- a/eZmaxApi/api/object_ezsigntemplatesignature_api.py +++ b/eZmaxApi/api/object_ezsigntemplatesignature_api.py @@ -19,12 +19,12 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_request import EzsigntemplatesignatureCreateObjectV1Request -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response import EzsigntemplatesignatureCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_request import EzsigntemplatesignatureCreateObjectV2Request +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response import EzsigntemplatesignatureCreateObjectV2Response from eZmaxApi.models.ezsigntemplatesignature_delete_object_v1_response import EzsigntemplatesignatureDeleteObjectV1Response -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_request import EzsigntemplatesignatureEditObjectV1Request -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_response import EzsigntemplatesignatureEditObjectV1Response -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response import EzsigntemplatesignatureGetObjectV2Response +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_request import EzsigntemplatesignatureEditObjectV2Request +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_response import EzsigntemplatesignatureEditObjectV2Response +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response import EzsigntemplatesignatureGetObjectV3Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -45,9 +45,9 @@ def __init__(self, api_client=None) -> None: @validate_call - def ezsigntemplatesignature_create_object_v1( + def ezsigntemplatesignature_create_object_v2( self, - ezsigntemplatesignature_create_object_v1_request: EzsigntemplatesignatureCreateObjectV1Request, + ezsigntemplatesignature_create_object_v2_request: EzsigntemplatesignatureCreateObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60,13 +60,13 @@ def ezsigntemplatesignature_create_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplatesignatureCreateObjectV1Response: + ) -> EzsigntemplatesignatureCreateObjectV2Response: """Create a new Ezsigntemplatesignature The endpoint allows to create one or many elements at once. - :param ezsigntemplatesignature_create_object_v1_request: (required) - :type ezsigntemplatesignature_create_object_v1_request: EzsigntemplatesignatureCreateObjectV1Request + :param ezsigntemplatesignature_create_object_v2_request: (required) + :type ezsigntemplatesignature_create_object_v2_request: EzsigntemplatesignatureCreateObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89,8 +89,8 @@ def ezsigntemplatesignature_create_object_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatesignature_create_object_v1_serialize( - ezsigntemplatesignature_create_object_v1_request=ezsigntemplatesignature_create_object_v1_request, + _param = self._ezsigntemplatesignature_create_object_v2_serialize( + ezsigntemplatesignature_create_object_v2_request=ezsigntemplatesignature_create_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98,7 +98,7 @@ def ezsigntemplatesignature_create_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsigntemplatesignatureCreateObjectV1Response", + '201': "EzsigntemplatesignatureCreateObjectV2Response", } response_data = self.api_client.call_api( *_param, @@ -112,9 +112,9 @@ def ezsigntemplatesignature_create_object_v1( @validate_call - def ezsigntemplatesignature_create_object_v1_with_http_info( + def ezsigntemplatesignature_create_object_v2_with_http_info( self, - ezsigntemplatesignature_create_object_v1_request: EzsigntemplatesignatureCreateObjectV1Request, + ezsigntemplatesignature_create_object_v2_request: EzsigntemplatesignatureCreateObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127,13 +127,13 @@ def ezsigntemplatesignature_create_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplatesignatureCreateObjectV1Response]: + ) -> ApiResponse[EzsigntemplatesignatureCreateObjectV2Response]: """Create a new Ezsigntemplatesignature The endpoint allows to create one or many elements at once. - :param ezsigntemplatesignature_create_object_v1_request: (required) - :type ezsigntemplatesignature_create_object_v1_request: EzsigntemplatesignatureCreateObjectV1Request + :param ezsigntemplatesignature_create_object_v2_request: (required) + :type ezsigntemplatesignature_create_object_v2_request: EzsigntemplatesignatureCreateObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -156,8 +156,8 @@ def ezsigntemplatesignature_create_object_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatesignature_create_object_v1_serialize( - ezsigntemplatesignature_create_object_v1_request=ezsigntemplatesignature_create_object_v1_request, + _param = self._ezsigntemplatesignature_create_object_v2_serialize( + ezsigntemplatesignature_create_object_v2_request=ezsigntemplatesignature_create_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -165,7 +165,7 @@ def ezsigntemplatesignature_create_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsigntemplatesignatureCreateObjectV1Response", + '201': "EzsigntemplatesignatureCreateObjectV2Response", } response_data = self.api_client.call_api( *_param, @@ -179,9 +179,9 @@ def ezsigntemplatesignature_create_object_v1_with_http_info( @validate_call - def ezsigntemplatesignature_create_object_v1_without_preload_content( + def ezsigntemplatesignature_create_object_v2_without_preload_content( self, - ezsigntemplatesignature_create_object_v1_request: EzsigntemplatesignatureCreateObjectV1Request, + ezsigntemplatesignature_create_object_v2_request: EzsigntemplatesignatureCreateObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -199,8 +199,8 @@ def ezsigntemplatesignature_create_object_v1_without_preload_content( The endpoint allows to create one or many elements at once. - :param ezsigntemplatesignature_create_object_v1_request: (required) - :type ezsigntemplatesignature_create_object_v1_request: EzsigntemplatesignatureCreateObjectV1Request + :param ezsigntemplatesignature_create_object_v2_request: (required) + :type ezsigntemplatesignature_create_object_v2_request: EzsigntemplatesignatureCreateObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -223,8 +223,8 @@ def ezsigntemplatesignature_create_object_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatesignature_create_object_v1_serialize( - ezsigntemplatesignature_create_object_v1_request=ezsigntemplatesignature_create_object_v1_request, + _param = self._ezsigntemplatesignature_create_object_v2_serialize( + ezsigntemplatesignature_create_object_v2_request=ezsigntemplatesignature_create_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -232,7 +232,7 @@ def ezsigntemplatesignature_create_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "EzsigntemplatesignatureCreateObjectV1Response", + '201': "EzsigntemplatesignatureCreateObjectV2Response", } response_data = self.api_client.call_api( *_param, @@ -241,9 +241,9 @@ def ezsigntemplatesignature_create_object_v1_without_preload_content( return response_data.response - def _ezsigntemplatesignature_create_object_v1_serialize( + def _ezsigntemplatesignature_create_object_v2_serialize( self, - ezsigntemplatesignature_create_object_v1_request, + ezsigntemplatesignature_create_object_v2_request, _request_auth, _content_type, _headers, @@ -259,7 +259,9 @@ def _ezsigntemplatesignature_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -267,16 +269,17 @@ def _ezsigntemplatesignature_create_object_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsigntemplatesignature_create_object_v1_request is not None: - _body_params = ezsigntemplatesignature_create_object_v1_request + if ezsigntemplatesignature_create_object_v2_request is not None: + _body_params = ezsigntemplatesignature_create_object_v2_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -299,7 +302,7 @@ def _ezsigntemplatesignature_create_object_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/ezsigntemplatesignature', + resource_path='/2/object/ezsigntemplatesignature', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -533,7 +536,9 @@ def _ezsigntemplatesignature_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -546,11 +551,12 @@ def _ezsigntemplatesignature_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -577,10 +583,10 @@ def _ezsigntemplatesignature_delete_object_v1_serialize( @validate_call - def ezsigntemplatesignature_edit_object_v1( + def ezsigntemplatesignature_edit_object_v2( self, pki_ezsigntemplatesignature_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatesignature_edit_object_v1_request: EzsigntemplatesignatureEditObjectV1Request, + ezsigntemplatesignature_edit_object_v2_request: EzsigntemplatesignatureEditObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -593,15 +599,15 @@ def ezsigntemplatesignature_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplatesignatureEditObjectV1Response: + ) -> EzsigntemplatesignatureEditObjectV2Response: """Edit an existing Ezsigntemplatesignature :param pki_ezsigntemplatesignature_id: (required) :type pki_ezsigntemplatesignature_id: int - :param ezsigntemplatesignature_edit_object_v1_request: (required) - :type ezsigntemplatesignature_edit_object_v1_request: EzsigntemplatesignatureEditObjectV1Request + :param ezsigntemplatesignature_edit_object_v2_request: (required) + :type ezsigntemplatesignature_edit_object_v2_request: EzsigntemplatesignatureEditObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -624,9 +630,9 @@ def ezsigntemplatesignature_edit_object_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatesignature_edit_object_v1_serialize( + _param = self._ezsigntemplatesignature_edit_object_v2_serialize( pki_ezsigntemplatesignature_id=pki_ezsigntemplatesignature_id, - ezsigntemplatesignature_edit_object_v1_request=ezsigntemplatesignature_edit_object_v1_request, + ezsigntemplatesignature_edit_object_v2_request=ezsigntemplatesignature_edit_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -634,7 +640,7 @@ def ezsigntemplatesignature_edit_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatesignatureEditObjectV1Response", + '200': "EzsigntemplatesignatureEditObjectV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -650,10 +656,10 @@ def ezsigntemplatesignature_edit_object_v1( @validate_call - def ezsigntemplatesignature_edit_object_v1_with_http_info( + def ezsigntemplatesignature_edit_object_v2_with_http_info( self, pki_ezsigntemplatesignature_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatesignature_edit_object_v1_request: EzsigntemplatesignatureEditObjectV1Request, + ezsigntemplatesignature_edit_object_v2_request: EzsigntemplatesignatureEditObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -666,15 +672,15 @@ def ezsigntemplatesignature_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplatesignatureEditObjectV1Response]: + ) -> ApiResponse[EzsigntemplatesignatureEditObjectV2Response]: """Edit an existing Ezsigntemplatesignature :param pki_ezsigntemplatesignature_id: (required) :type pki_ezsigntemplatesignature_id: int - :param ezsigntemplatesignature_edit_object_v1_request: (required) - :type ezsigntemplatesignature_edit_object_v1_request: EzsigntemplatesignatureEditObjectV1Request + :param ezsigntemplatesignature_edit_object_v2_request: (required) + :type ezsigntemplatesignature_edit_object_v2_request: EzsigntemplatesignatureEditObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -697,9 +703,9 @@ def ezsigntemplatesignature_edit_object_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatesignature_edit_object_v1_serialize( + _param = self._ezsigntemplatesignature_edit_object_v2_serialize( pki_ezsigntemplatesignature_id=pki_ezsigntemplatesignature_id, - ezsigntemplatesignature_edit_object_v1_request=ezsigntemplatesignature_edit_object_v1_request, + ezsigntemplatesignature_edit_object_v2_request=ezsigntemplatesignature_edit_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -707,7 +713,7 @@ def ezsigntemplatesignature_edit_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatesignatureEditObjectV1Response", + '200': "EzsigntemplatesignatureEditObjectV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -723,10 +729,10 @@ def ezsigntemplatesignature_edit_object_v1_with_http_info( @validate_call - def ezsigntemplatesignature_edit_object_v1_without_preload_content( + def ezsigntemplatesignature_edit_object_v2_without_preload_content( self, pki_ezsigntemplatesignature_id: Annotated[int, Field(strict=True, ge=0)], - ezsigntemplatesignature_edit_object_v1_request: EzsigntemplatesignatureEditObjectV1Request, + ezsigntemplatesignature_edit_object_v2_request: EzsigntemplatesignatureEditObjectV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -746,8 +752,8 @@ def ezsigntemplatesignature_edit_object_v1_without_preload_content( :param pki_ezsigntemplatesignature_id: (required) :type pki_ezsigntemplatesignature_id: int - :param ezsigntemplatesignature_edit_object_v1_request: (required) - :type ezsigntemplatesignature_edit_object_v1_request: EzsigntemplatesignatureEditObjectV1Request + :param ezsigntemplatesignature_edit_object_v2_request: (required) + :type ezsigntemplatesignature_edit_object_v2_request: EzsigntemplatesignatureEditObjectV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -770,9 +776,9 @@ def ezsigntemplatesignature_edit_object_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatesignature_edit_object_v1_serialize( + _param = self._ezsigntemplatesignature_edit_object_v2_serialize( pki_ezsigntemplatesignature_id=pki_ezsigntemplatesignature_id, - ezsigntemplatesignature_edit_object_v1_request=ezsigntemplatesignature_edit_object_v1_request, + ezsigntemplatesignature_edit_object_v2_request=ezsigntemplatesignature_edit_object_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -780,7 +786,7 @@ def ezsigntemplatesignature_edit_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatesignatureEditObjectV1Response", + '200': "EzsigntemplatesignatureEditObjectV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -791,10 +797,10 @@ def ezsigntemplatesignature_edit_object_v1_without_preload_content( return response_data.response - def _ezsigntemplatesignature_edit_object_v1_serialize( + def _ezsigntemplatesignature_edit_object_v2_serialize( self, pki_ezsigntemplatesignature_id, - ezsigntemplatesignature_edit_object_v1_request, + ezsigntemplatesignature_edit_object_v2_request, _request_auth, _content_type, _headers, @@ -810,7 +816,9 @@ def _ezsigntemplatesignature_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -820,16 +828,17 @@ def _ezsigntemplatesignature_edit_object_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if ezsigntemplatesignature_edit_object_v1_request is not None: - _body_params = ezsigntemplatesignature_edit_object_v1_request + if ezsigntemplatesignature_edit_object_v2_request is not None: + _body_params = ezsigntemplatesignature_edit_object_v2_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -852,7 +861,7 @@ def _ezsigntemplatesignature_edit_object_v1_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID}', + resource_path='/2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -869,7 +878,7 @@ def _ezsigntemplatesignature_edit_object_v1_serialize( @validate_call - def ezsigntemplatesignature_get_object_v2( + def ezsigntemplatesignature_get_object_v3( self, pki_ezsigntemplatesignature_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -884,7 +893,7 @@ def ezsigntemplatesignature_get_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EzsigntemplatesignatureGetObjectV2Response: + ) -> EzsigntemplatesignatureGetObjectV3Response: """Retrieve an existing Ezsigntemplatesignature @@ -913,7 +922,7 @@ def ezsigntemplatesignature_get_object_v2( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatesignature_get_object_v2_serialize( + _param = self._ezsigntemplatesignature_get_object_v3_serialize( pki_ezsigntemplatesignature_id=pki_ezsigntemplatesignature_id, _request_auth=_request_auth, _content_type=_content_type, @@ -922,7 +931,7 @@ def ezsigntemplatesignature_get_object_v2( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatesignatureGetObjectV2Response", + '200': "EzsigntemplatesignatureGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -937,7 +946,7 @@ def ezsigntemplatesignature_get_object_v2( @validate_call - def ezsigntemplatesignature_get_object_v2_with_http_info( + def ezsigntemplatesignature_get_object_v3_with_http_info( self, pki_ezsigntemplatesignature_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -952,7 +961,7 @@ def ezsigntemplatesignature_get_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EzsigntemplatesignatureGetObjectV2Response]: + ) -> ApiResponse[EzsigntemplatesignatureGetObjectV3Response]: """Retrieve an existing Ezsigntemplatesignature @@ -981,7 +990,7 @@ def ezsigntemplatesignature_get_object_v2_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatesignature_get_object_v2_serialize( + _param = self._ezsigntemplatesignature_get_object_v3_serialize( pki_ezsigntemplatesignature_id=pki_ezsigntemplatesignature_id, _request_auth=_request_auth, _content_type=_content_type, @@ -990,7 +999,7 @@ def ezsigntemplatesignature_get_object_v2_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatesignatureGetObjectV2Response", + '200': "EzsigntemplatesignatureGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -1005,7 +1014,7 @@ def ezsigntemplatesignature_get_object_v2_with_http_info( @validate_call - def ezsigntemplatesignature_get_object_v2_without_preload_content( + def ezsigntemplatesignature_get_object_v3_without_preload_content( self, pki_ezsigntemplatesignature_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ @@ -1049,7 +1058,7 @@ def ezsigntemplatesignature_get_object_v2_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._ezsigntemplatesignature_get_object_v2_serialize( + _param = self._ezsigntemplatesignature_get_object_v3_serialize( pki_ezsigntemplatesignature_id=pki_ezsigntemplatesignature_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1058,7 +1067,7 @@ def ezsigntemplatesignature_get_object_v2_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EzsigntemplatesignatureGetObjectV2Response", + '200': "EzsigntemplatesignatureGetObjectV3Response", '404': "CommonResponseError", } response_data = self.api_client.call_api( @@ -1068,7 +1077,7 @@ def ezsigntemplatesignature_get_object_v2_without_preload_content( return response_data.response - def _ezsigntemplatesignature_get_object_v2_serialize( + def _ezsigntemplatesignature_get_object_v3_serialize( self, pki_ezsigntemplatesignature_id, _request_auth, @@ -1086,7 +1095,9 @@ def _ezsigntemplatesignature_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1099,11 +1110,12 @@ def _ezsigntemplatesignature_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1113,7 +1125,7 @@ def _ezsigntemplatesignature_get_object_v2_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID}', + resource_path='/3/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/eZmaxApi/api/object_ezsigntemplatesigner_api.py b/eZmaxApi/api/object_ezsigntemplatesigner_api.py index 8da6ace06..ccf6b48da 100644 --- a/eZmaxApi/api/object_ezsigntemplatesigner_api.py +++ b/eZmaxApi/api/object_ezsigntemplatesigner_api.py @@ -259,7 +259,9 @@ def _ezsigntemplatesigner_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -272,11 +274,12 @@ def _ezsigntemplatesigner_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -533,7 +536,9 @@ def _ezsigntemplatesigner_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -546,11 +551,12 @@ def _ezsigntemplatesigner_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -810,7 +816,9 @@ def _ezsigntemplatesigner_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -825,11 +833,12 @@ def _ezsigntemplatesigner_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1086,7 +1095,9 @@ def _ezsigntemplatesigner_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1099,11 +1110,12 @@ def _ezsigntemplatesigner_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsigntsarequirement_api.py b/eZmaxApi/api/object_ezsigntsarequirement_api.py index f895cb4d1..8298f7470 100644 --- a/eZmaxApi/api/object_ezsigntsarequirement_api.py +++ b/eZmaxApi/api/object_ezsigntsarequirement_api.py @@ -308,7 +308,9 @@ def _ezsigntsarequirement_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -335,11 +337,12 @@ def _ezsigntsarequirement_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_ezsignuser_api.py b/eZmaxApi/api/object_ezsignuser_api.py new file mode 100644 index 000000000..8d5235aa2 --- /dev/null +++ b/eZmaxApi/api/object_ezsignuser_api.py @@ -0,0 +1,600 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field +from typing_extensions import Annotated +from eZmaxApi.models.ezsignuser_edit_object_v1_request import EzsignuserEditObjectV1Request +from eZmaxApi.models.ezsignuser_edit_object_v1_response import EzsignuserEditObjectV1Response +from eZmaxApi.models.ezsignuser_get_object_v2_response import EzsignuserGetObjectV2Response + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectEzsignuserApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def ezsignuser_edit_object_v1( + self, + pki_ezsignuser_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsignuser")], + ezsignuser_edit_object_v1_request: EzsignuserEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignuserEditObjectV1Response: + """Edit an existing Ezsignuser + + + + :param pki_ezsignuser_id: The unique ID of the Ezsignuser (required) + :type pki_ezsignuser_id: int + :param ezsignuser_edit_object_v1_request: (required) + :type ezsignuser_edit_object_v1_request: EzsignuserEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignuser_edit_object_v1_serialize( + pki_ezsignuser_id=pki_ezsignuser_id, + ezsignuser_edit_object_v1_request=ezsignuser_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignuserEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignuser_edit_object_v1_with_http_info( + self, + pki_ezsignuser_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsignuser")], + ezsignuser_edit_object_v1_request: EzsignuserEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignuserEditObjectV1Response]: + """Edit an existing Ezsignuser + + + + :param pki_ezsignuser_id: The unique ID of the Ezsignuser (required) + :type pki_ezsignuser_id: int + :param ezsignuser_edit_object_v1_request: (required) + :type ezsignuser_edit_object_v1_request: EzsignuserEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignuser_edit_object_v1_serialize( + pki_ezsignuser_id=pki_ezsignuser_id, + ezsignuser_edit_object_v1_request=ezsignuser_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignuserEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignuser_edit_object_v1_without_preload_content( + self, + pki_ezsignuser_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsignuser")], + ezsignuser_edit_object_v1_request: EzsignuserEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit an existing Ezsignuser + + + + :param pki_ezsignuser_id: The unique ID of the Ezsignuser (required) + :type pki_ezsignuser_id: int + :param ezsignuser_edit_object_v1_request: (required) + :type ezsignuser_edit_object_v1_request: EzsignuserEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignuser_edit_object_v1_serialize( + pki_ezsignuser_id=pki_ezsignuser_id, + ezsignuser_edit_object_v1_request=ezsignuser_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignuserEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignuser_edit_object_v1_serialize( + self, + pki_ezsignuser_id, + ezsignuser_edit_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsignuser_id is not None: + _path_params['pkiEzsignuserID'] = pki_ezsignuser_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if ezsignuser_edit_object_v1_request is not None: + _body_params = ezsignuser_edit_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/ezsignuser/{pkiEzsignuserID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def ezsignuser_get_object_v2( + self, + pki_ezsignuser_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsignuser")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EzsignuserGetObjectV2Response: + """Retrieve an existing Ezsignuser + + + + :param pki_ezsignuser_id: The unique ID of the Ezsignuser (required) + :type pki_ezsignuser_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignuser_get_object_v2_serialize( + pki_ezsignuser_id=pki_ezsignuser_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignuserGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def ezsignuser_get_object_v2_with_http_info( + self, + pki_ezsignuser_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsignuser")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EzsignuserGetObjectV2Response]: + """Retrieve an existing Ezsignuser + + + + :param pki_ezsignuser_id: The unique ID of the Ezsignuser (required) + :type pki_ezsignuser_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignuser_get_object_v2_serialize( + pki_ezsignuser_id=pki_ezsignuser_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignuserGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def ezsignuser_get_object_v2_without_preload_content( + self, + pki_ezsignuser_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Ezsignuser")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Ezsignuser + + + + :param pki_ezsignuser_id: The unique ID of the Ezsignuser (required) + :type pki_ezsignuser_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._ezsignuser_get_object_v2_serialize( + pki_ezsignuser_id=pki_ezsignuser_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EzsignuserGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _ezsignuser_get_object_v2_serialize( + self, + pki_ezsignuser_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_ezsignuser_id is not None: + _path_params['pkiEzsignuserID'] = pki_ezsignuser_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/ezsignuser/{pkiEzsignuserID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_font_api.py b/eZmaxApi/api/object_font_api.py index 5fc71a58a..724d46a35 100644 --- a/eZmaxApi/api/object_font_api.py +++ b/eZmaxApi/api/object_font_api.py @@ -295,7 +295,9 @@ def _font_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _font_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_franchisebroker_api.py b/eZmaxApi/api/object_franchisebroker_api.py index 6ea4bd191..34aa02164 100644 --- a/eZmaxApi/api/object_franchisebroker_api.py +++ b/eZmaxApi/api/object_franchisebroker_api.py @@ -295,7 +295,9 @@ def _franchisebroker_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _franchisebroker_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_franchiseoffice_api.py b/eZmaxApi/api/object_franchiseoffice_api.py index 120908ec4..1b9fa75ef 100644 --- a/eZmaxApi/api/object_franchiseoffice_api.py +++ b/eZmaxApi/api/object_franchiseoffice_api.py @@ -295,7 +295,9 @@ def _franchiseoffice_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _franchiseoffice_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_franchisereferalincome_api.py b/eZmaxApi/api/object_franchisereferalincome_api.py index 83d3491ff..1fb8d2a99 100644 --- a/eZmaxApi/api/object_franchisereferalincome_api.py +++ b/eZmaxApi/api/object_franchisereferalincome_api.py @@ -93,6 +93,7 @@ def franchisereferalincome_create_object_v2( _response_types_map: Dict[str, Optional[str]] = { '201': "FranchisereferalincomeCreateObjectV2Response", + '422': "CommonResponseErrorWrongFranchiseoffice", } response_data = self.api_client.call_api( *_param, @@ -160,6 +161,7 @@ def franchisereferalincome_create_object_v2_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '201': "FranchisereferalincomeCreateObjectV2Response", + '422': "CommonResponseErrorWrongFranchiseoffice", } response_data = self.api_client.call_api( *_param, @@ -227,6 +229,7 @@ def franchisereferalincome_create_object_v2_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '201': "FranchisereferalincomeCreateObjectV2Response", + '422': "CommonResponseErrorWrongFranchiseoffice", } response_data = self.api_client.call_api( *_param, @@ -253,7 +256,9 @@ def _franchisereferalincome_create_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -266,11 +271,12 @@ def _franchisereferalincome_create_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_glaccount_api.py b/eZmaxApi/api/object_glaccount_api.py new file mode 100644 index 000000000..18c3628df --- /dev/null +++ b/eZmaxApi/api/object_glaccount_api.py @@ -0,0 +1,351 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Optional +from typing_extensions import Annotated +from eZmaxApi.models.glaccount_get_autocomplete_v2_response import GlaccountGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectGlaccountApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def glaccount_get_autocomplete_v2( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Glaccounts to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> GlaccountGetAutocompleteV2Response: + """Retrieve Glaccounts and IDs + + Get the list of Glaccount to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Glaccounts to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._glaccount_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GlaccountGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def glaccount_get_autocomplete_v2_with_http_info( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Glaccounts to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[GlaccountGetAutocompleteV2Response]: + """Retrieve Glaccounts and IDs + + Get the list of Glaccount to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Glaccounts to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._glaccount_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GlaccountGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def glaccount_get_autocomplete_v2_without_preload_content( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Glaccounts to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Glaccounts and IDs + + Get the list of Glaccount to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Glaccounts to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._glaccount_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GlaccountGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _glaccount_get_autocomplete_v2_serialize( + self, + s_selector, + e_filter_active, + s_query, + accept_language, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if s_selector is not None: + _path_params['sSelector'] = s_selector + # process the query parameters + if e_filter_active is not None: + + _query_params.append(('eFilterActive', e_filter_active)) + + if s_query is not None: + + _query_params.append(('sQuery', s_query)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/glaccount/getAutocomplete/{sSelector}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_glaccountcontainer_api.py b/eZmaxApi/api/object_glaccountcontainer_api.py new file mode 100644 index 000000000..06fef64d6 --- /dev/null +++ b/eZmaxApi/api/object_glaccountcontainer_api.py @@ -0,0 +1,351 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Optional +from typing_extensions import Annotated +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response import GlaccountcontainerGetAutocompleteV2Response +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectGlaccountcontainerApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def glaccountcontainer_get_autocomplete_v2( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Glaccountcontainers to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> GlaccountcontainerGetAutocompleteV2Response: + """Retrieve Glaccountcontainers and IDs + + Get the list of Glaccountcontainer to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Glaccountcontainers to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._glaccountcontainer_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GlaccountcontainerGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def glaccountcontainer_get_autocomplete_v2_with_http_info( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Glaccountcontainers to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[GlaccountcontainerGetAutocompleteV2Response]: + """Retrieve Glaccountcontainers and IDs + + Get the list of Glaccountcontainer to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Glaccountcontainers to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._glaccountcontainer_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GlaccountcontainerGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def glaccountcontainer_get_autocomplete_v2_without_preload_content( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Glaccountcontainers to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Glaccountcontainers and IDs + + Get the list of Glaccountcontainer to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Glaccountcontainers to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._glaccountcontainer_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GlaccountcontainerGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _glaccountcontainer_get_autocomplete_v2_serialize( + self, + s_selector, + e_filter_active, + s_query, + accept_language, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if s_selector is not None: + _path_params['sSelector'] = s_selector + # process the query parameters + if e_filter_active is not None: + + _query_params.append(('eFilterActive', e_filter_active)) + + if s_query is not None: + + _query_params.append(('sQuery', s_query)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/glaccountcontainer/getAutocomplete/{sSelector}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_inscription_api.py b/eZmaxApi/api/object_inscription_api.py index 99864b162..19dda0df2 100644 --- a/eZmaxApi/api/object_inscription_api.py +++ b/eZmaxApi/api/object_inscription_api.py @@ -20,7 +20,9 @@ from pydantic import Field from typing_extensions import Annotated from eZmaxApi.models.inscription_get_attachments_v1_response import InscriptionGetAttachmentsV1Response +from eZmaxApi.models.inscription_get_communication_count_v1_response import InscriptionGetCommunicationCountV1Response from eZmaxApi.models.inscription_get_communication_list_v1_response import InscriptionGetCommunicationListV1Response +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response import InscriptionGetCommunicationrecipientsV1Response from eZmaxApi.models.inscription_get_communicationsenders_v1_response import InscriptionGetCommunicationsendersV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -259,7 +261,9 @@ def _inscription_get_attachments_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -272,12 +276,277 @@ def _inscription_get_attachments_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/inscription/{pkiInscriptionID}/getAttachments', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def inscription_get_communication_count_v1( + self, + pki_inscription_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InscriptionGetCommunicationCountV1Response: + """Retrieve Communication count + + + + :param pki_inscription_id: (required) + :type pki_inscription_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscription_get_communication_count_v1_serialize( + pki_inscription_id=pki_inscription_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def inscription_get_communication_count_v1_with_http_info( + self, + pki_inscription_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InscriptionGetCommunicationCountV1Response]: + """Retrieve Communication count + + + + :param pki_inscription_id: (required) + :type pki_inscription_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscription_get_communication_count_v1_serialize( + pki_inscription_id=pki_inscription_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def inscription_get_communication_count_v1_without_preload_content( + self, + pki_inscription_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Communication count + + + + :param pki_inscription_id: (required) + :type pki_inscription_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscription_get_communication_count_v1_serialize( + pki_inscription_id=pki_inscription_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index ) + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _inscription_get_communication_count_v1_serialize( + self, + pki_inscription_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_inscription_id is not None: + _path_params['pkiInscriptionID'] = pki_inscription_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # authentication setting _auth_settings: List[str] = [ @@ -286,7 +555,7 @@ def _inscription_get_attachments_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/inscription/{pkiInscriptionID}/getAttachments', + resource_path='/1/object/inscription/{pkiInscriptionID}/getCommunicationCount', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -520,7 +789,9 @@ def _inscription_get_communication_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -533,12 +804,277 @@ def _inscription_get_communication_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/inscription/{pkiInscriptionID}/getCommunicationList', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def inscription_get_communicationrecipients_v1( + self, + pki_inscription_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InscriptionGetCommunicationrecipientsV1Response: + """Retrieve Inscription's Communicationrecipient + + + + :param pki_inscription_id: (required) + :type pki_inscription_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscription_get_communicationrecipients_v1_serialize( + pki_inscription_id=pki_inscription_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def inscription_get_communicationrecipients_v1_with_http_info( + self, + pki_inscription_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InscriptionGetCommunicationrecipientsV1Response]: + """Retrieve Inscription's Communicationrecipient + + + + :param pki_inscription_id: (required) + :type pki_inscription_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscription_get_communicationrecipients_v1_serialize( + pki_inscription_id=pki_inscription_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def inscription_get_communicationrecipients_v1_without_preload_content( + self, + pki_inscription_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Inscription's Communicationrecipient + + + + :param pki_inscription_id: (required) + :type pki_inscription_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscription_get_communicationrecipients_v1_serialize( + pki_inscription_id=pki_inscription_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index ) + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _inscription_get_communicationrecipients_v1_serialize( + self, + pki_inscription_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_inscription_id is not None: + _path_params['pkiInscriptionID'] = pki_inscription_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # authentication setting _auth_settings: List[str] = [ @@ -547,7 +1083,7 @@ def _inscription_get_communication_list_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/inscription/{pkiInscriptionID}/getCommunicationList', + resource_path='/1/object/inscription/{pkiInscriptionID}/getCommunicationrecipients', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -781,7 +1317,9 @@ def _inscription_get_communicationsenders_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -794,11 +1332,12 @@ def _inscription_get_communicationsenders_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_inscriptionnotauthenticated_api.py b/eZmaxApi/api/object_inscriptionnotauthenticated_api.py index 534debbe8..0085ff078 100644 --- a/eZmaxApi/api/object_inscriptionnotauthenticated_api.py +++ b/eZmaxApi/api/object_inscriptionnotauthenticated_api.py @@ -19,7 +19,10 @@ from pydantic import Field from typing_extensions import Annotated +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response import InscriptionnotauthenticatedGetCommunicationCountV1Response from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response import InscriptionnotauthenticatedGetCommunicationListV1Response +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response import InscriptionnotauthenticatedGetCommunicationrecipientsV1Response +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response import InscriptionnotauthenticatedGetCommunicationsendersV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -39,6 +42,270 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def inscriptionnotauthenticated_get_communication_count_v1( + self, + pki_inscriptionnotauthenticated_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InscriptionnotauthenticatedGetCommunicationCountV1Response: + """Retrieve Communication count + + + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptionnotauthenticated_get_communication_count_v1_serialize( + pki_inscriptionnotauthenticated_id=pki_inscriptionnotauthenticated_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionnotauthenticatedGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def inscriptionnotauthenticated_get_communication_count_v1_with_http_info( + self, + pki_inscriptionnotauthenticated_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InscriptionnotauthenticatedGetCommunicationCountV1Response]: + """Retrieve Communication count + + + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptionnotauthenticated_get_communication_count_v1_serialize( + pki_inscriptionnotauthenticated_id=pki_inscriptionnotauthenticated_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionnotauthenticatedGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def inscriptionnotauthenticated_get_communication_count_v1_without_preload_content( + self, + pki_inscriptionnotauthenticated_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Communication count + + + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptionnotauthenticated_get_communication_count_v1_serialize( + pki_inscriptionnotauthenticated_id=pki_inscriptionnotauthenticated_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionnotauthenticatedGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _inscriptionnotauthenticated_get_communication_count_v1_serialize( + self, + pki_inscriptionnotauthenticated_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_inscriptionnotauthenticated_id is not None: + _path_params['pkiInscriptionnotauthenticatedID'] = pki_inscriptionnotauthenticated_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationCount', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def inscriptionnotauthenticated_get_communication_list_v1( self, @@ -257,7 +524,9 @@ def _inscriptionnotauthenticated_get_communication_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +539,12 @@ def _inscriptionnotauthenticated_get_communication_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -298,3 +568,531 @@ def _inscriptionnotauthenticated_get_communication_list_v1_serialize( ) + + + @validate_call + def inscriptionnotauthenticated_get_communicationrecipients_v1( + self, + pki_inscriptionnotauthenticated_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InscriptionnotauthenticatedGetCommunicationrecipientsV1Response: + """Retrieve Inscriptionnotauthenticated's Communicationrecipient + + + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptionnotauthenticated_get_communicationrecipients_v1_serialize( + pki_inscriptionnotauthenticated_id=pki_inscriptionnotauthenticated_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionnotauthenticatedGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def inscriptionnotauthenticated_get_communicationrecipients_v1_with_http_info( + self, + pki_inscriptionnotauthenticated_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InscriptionnotauthenticatedGetCommunicationrecipientsV1Response]: + """Retrieve Inscriptionnotauthenticated's Communicationrecipient + + + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptionnotauthenticated_get_communicationrecipients_v1_serialize( + pki_inscriptionnotauthenticated_id=pki_inscriptionnotauthenticated_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionnotauthenticatedGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def inscriptionnotauthenticated_get_communicationrecipients_v1_without_preload_content( + self, + pki_inscriptionnotauthenticated_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Inscriptionnotauthenticated's Communicationrecipient + + + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptionnotauthenticated_get_communicationrecipients_v1_serialize( + pki_inscriptionnotauthenticated_id=pki_inscriptionnotauthenticated_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionnotauthenticatedGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _inscriptionnotauthenticated_get_communicationrecipients_v1_serialize( + self, + pki_inscriptionnotauthenticated_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_inscriptionnotauthenticated_id is not None: + _path_params['pkiInscriptionnotauthenticatedID'] = pki_inscriptionnotauthenticated_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def inscriptionnotauthenticated_get_communicationsenders_v1( + self, + pki_inscriptionnotauthenticated_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InscriptionnotauthenticatedGetCommunicationsendersV1Response: + """Retrieve Inscriptionnotauthenticated's Communicationsender + + + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptionnotauthenticated_get_communicationsenders_v1_serialize( + pki_inscriptionnotauthenticated_id=pki_inscriptionnotauthenticated_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionnotauthenticatedGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def inscriptionnotauthenticated_get_communicationsenders_v1_with_http_info( + self, + pki_inscriptionnotauthenticated_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InscriptionnotauthenticatedGetCommunicationsendersV1Response]: + """Retrieve Inscriptionnotauthenticated's Communicationsender + + + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptionnotauthenticated_get_communicationsenders_v1_serialize( + pki_inscriptionnotauthenticated_id=pki_inscriptionnotauthenticated_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionnotauthenticatedGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def inscriptionnotauthenticated_get_communicationsenders_v1_without_preload_content( + self, + pki_inscriptionnotauthenticated_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Inscriptionnotauthenticated's Communicationsender + + + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptionnotauthenticated_get_communicationsenders_v1_serialize( + pki_inscriptionnotauthenticated_id=pki_inscriptionnotauthenticated_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptionnotauthenticatedGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _inscriptionnotauthenticated_get_communicationsenders_v1_serialize( + self, + pki_inscriptionnotauthenticated_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_inscriptionnotauthenticated_id is not None: + _path_params['pkiInscriptionnotauthenticatedID'] = pki_inscriptionnotauthenticated_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationsenders', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_inscriptiontemp_api.py b/eZmaxApi/api/object_inscriptiontemp_api.py index 1456929b0..c153c9ca8 100644 --- a/eZmaxApi/api/object_inscriptiontemp_api.py +++ b/eZmaxApi/api/object_inscriptiontemp_api.py @@ -19,7 +19,10 @@ from pydantic import Field from typing_extensions import Annotated +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response import InscriptiontempGetCommunicationCountV1Response from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response import InscriptiontempGetCommunicationListV1Response +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response import InscriptiontempGetCommunicationrecipientsV1Response +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response import InscriptiontempGetCommunicationsendersV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -39,6 +42,270 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def inscriptiontemp_get_communication_count_v1( + self, + pki_inscriptiontemp_id: Annotated[int, Field(le=16777215, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InscriptiontempGetCommunicationCountV1Response: + """Retrieve Communication count + + + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptiontemp_get_communication_count_v1_serialize( + pki_inscriptiontemp_id=pki_inscriptiontemp_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptiontempGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def inscriptiontemp_get_communication_count_v1_with_http_info( + self, + pki_inscriptiontemp_id: Annotated[int, Field(le=16777215, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InscriptiontempGetCommunicationCountV1Response]: + """Retrieve Communication count + + + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptiontemp_get_communication_count_v1_serialize( + pki_inscriptiontemp_id=pki_inscriptiontemp_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptiontempGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def inscriptiontemp_get_communication_count_v1_without_preload_content( + self, + pki_inscriptiontemp_id: Annotated[int, Field(le=16777215, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Communication count + + + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptiontemp_get_communication_count_v1_serialize( + pki_inscriptiontemp_id=pki_inscriptiontemp_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptiontempGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _inscriptiontemp_get_communication_count_v1_serialize( + self, + pki_inscriptiontemp_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_inscriptiontemp_id is not None: + _path_params['pkiInscriptiontempID'] = pki_inscriptiontemp_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationCount', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def inscriptiontemp_get_communication_list_v1( self, @@ -257,7 +524,9 @@ def _inscriptiontemp_get_communication_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +539,12 @@ def _inscriptiontemp_get_communication_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -298,3 +568,531 @@ def _inscriptiontemp_get_communication_list_v1_serialize( ) + + + @validate_call + def inscriptiontemp_get_communicationrecipients_v1( + self, + pki_inscriptiontemp_id: Annotated[int, Field(le=16777215, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InscriptiontempGetCommunicationrecipientsV1Response: + """Retrieve Inscriptiontemp's Communicationrecipient + + + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptiontemp_get_communicationrecipients_v1_serialize( + pki_inscriptiontemp_id=pki_inscriptiontemp_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptiontempGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def inscriptiontemp_get_communicationrecipients_v1_with_http_info( + self, + pki_inscriptiontemp_id: Annotated[int, Field(le=16777215, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InscriptiontempGetCommunicationrecipientsV1Response]: + """Retrieve Inscriptiontemp's Communicationrecipient + + + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptiontemp_get_communicationrecipients_v1_serialize( + pki_inscriptiontemp_id=pki_inscriptiontemp_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptiontempGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def inscriptiontemp_get_communicationrecipients_v1_without_preload_content( + self, + pki_inscriptiontemp_id: Annotated[int, Field(le=16777215, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Inscriptiontemp's Communicationrecipient + + + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptiontemp_get_communicationrecipients_v1_serialize( + pki_inscriptiontemp_id=pki_inscriptiontemp_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptiontempGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _inscriptiontemp_get_communicationrecipients_v1_serialize( + self, + pki_inscriptiontemp_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_inscriptiontemp_id is not None: + _path_params['pkiInscriptiontempID'] = pki_inscriptiontemp_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def inscriptiontemp_get_communicationsenders_v1( + self, + pki_inscriptiontemp_id: Annotated[int, Field(le=16777215, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InscriptiontempGetCommunicationsendersV1Response: + """Retrieve Inscriptiontemp's Communicationsender + + + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptiontemp_get_communicationsenders_v1_serialize( + pki_inscriptiontemp_id=pki_inscriptiontemp_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptiontempGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def inscriptiontemp_get_communicationsenders_v1_with_http_info( + self, + pki_inscriptiontemp_id: Annotated[int, Field(le=16777215, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InscriptiontempGetCommunicationsendersV1Response]: + """Retrieve Inscriptiontemp's Communicationsender + + + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptiontemp_get_communicationsenders_v1_serialize( + pki_inscriptiontemp_id=pki_inscriptiontemp_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptiontempGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def inscriptiontemp_get_communicationsenders_v1_without_preload_content( + self, + pki_inscriptiontemp_id: Annotated[int, Field(le=16777215, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Inscriptiontemp's Communicationsender + + + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._inscriptiontemp_get_communicationsenders_v1_serialize( + pki_inscriptiontemp_id=pki_inscriptiontemp_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InscriptiontempGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _inscriptiontemp_get_communicationsenders_v1_serialize( + self, + pki_inscriptiontemp_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_inscriptiontemp_id is not None: + _path_params['pkiInscriptiontempID'] = pki_inscriptiontemp_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationsenders', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_invoice_api.py b/eZmaxApi/api/object_invoice_api.py index 3e80eb078..b6c9cf535 100644 --- a/eZmaxApi/api/object_invoice_api.py +++ b/eZmaxApi/api/object_invoice_api.py @@ -20,7 +20,10 @@ from pydantic import Field from typing_extensions import Annotated from eZmaxApi.models.invoice_get_attachments_v1_response import InvoiceGetAttachmentsV1Response +from eZmaxApi.models.invoice_get_communication_count_v1_response import InvoiceGetCommunicationCountV1Response from eZmaxApi.models.invoice_get_communication_list_v1_response import InvoiceGetCommunicationListV1Response +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response import InvoiceGetCommunicationrecipientsV1Response +from eZmaxApi.models.invoice_get_communicationsenders_v1_response import InvoiceGetCommunicationsendersV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -258,7 +261,9 @@ def _invoice_get_attachments_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -271,11 +276,276 @@ def _invoice_get_attachments_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/invoice/{pkiInvoiceID}/getAttachments', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def invoice_get_communication_count_v1( + self, + pki_invoice_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InvoiceGetCommunicationCountV1Response: + """Retrieve Communication count + + + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._invoice_get_communication_count_v1_serialize( + pki_invoice_id=pki_invoice_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InvoiceGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def invoice_get_communication_count_v1_with_http_info( + self, + pki_invoice_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InvoiceGetCommunicationCountV1Response]: + """Retrieve Communication count + + + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._invoice_get_communication_count_v1_serialize( + pki_invoice_id=pki_invoice_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InvoiceGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def invoice_get_communication_count_v1_without_preload_content( + self, + pki_invoice_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Communication count + + + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._invoice_get_communication_count_v1_serialize( + pki_invoice_id=pki_invoice_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InvoiceGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout ) + return response_data.response + + + def _invoice_get_communication_count_v1_serialize( + self, + pki_invoice_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_invoice_id is not None: + _path_params['pkiInvoiceID'] = pki_invoice_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -285,7 +555,7 @@ def _invoice_get_attachments_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/invoice/{pkiInvoiceID}/getAttachments', + resource_path='/1/object/invoice/{pkiInvoiceID}/getCommunicationCount', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -519,7 +789,9 @@ def _invoice_get_communication_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -532,11 +804,12 @@ def _invoice_get_communication_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -560,3 +833,531 @@ def _invoice_get_communication_list_v1_serialize( ) + + + @validate_call + def invoice_get_communicationrecipients_v1( + self, + pki_invoice_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InvoiceGetCommunicationrecipientsV1Response: + """Retrieve Invoice's Communicationrecipient + + + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._invoice_get_communicationrecipients_v1_serialize( + pki_invoice_id=pki_invoice_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InvoiceGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def invoice_get_communicationrecipients_v1_with_http_info( + self, + pki_invoice_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InvoiceGetCommunicationrecipientsV1Response]: + """Retrieve Invoice's Communicationrecipient + + + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._invoice_get_communicationrecipients_v1_serialize( + pki_invoice_id=pki_invoice_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InvoiceGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def invoice_get_communicationrecipients_v1_without_preload_content( + self, + pki_invoice_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Invoice's Communicationrecipient + + + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._invoice_get_communicationrecipients_v1_serialize( + pki_invoice_id=pki_invoice_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InvoiceGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _invoice_get_communicationrecipients_v1_serialize( + self, + pki_invoice_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_invoice_id is not None: + _path_params['pkiInvoiceID'] = pki_invoice_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def invoice_get_communicationsenders_v1( + self, + pki_invoice_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> InvoiceGetCommunicationsendersV1Response: + """Retrieve Invoice's Communicationsender + + + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._invoice_get_communicationsenders_v1_serialize( + pki_invoice_id=pki_invoice_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InvoiceGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def invoice_get_communicationsenders_v1_with_http_info( + self, + pki_invoice_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[InvoiceGetCommunicationsendersV1Response]: + """Retrieve Invoice's Communicationsender + + + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._invoice_get_communicationsenders_v1_serialize( + pki_invoice_id=pki_invoice_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InvoiceGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def invoice_get_communicationsenders_v1_without_preload_content( + self, + pki_invoice_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Invoice's Communicationsender + + + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._invoice_get_communicationsenders_v1_serialize( + pki_invoice_id=pki_invoice_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "InvoiceGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _invoice_get_communicationsenders_v1_serialize( + self, + pki_invoice_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_invoice_id is not None: + _path_params['pkiInvoiceID'] = pki_invoice_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/invoice/{pkiInvoiceID}/getCommunicationsenders', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_language_api.py b/eZmaxApi/api/object_language_api.py index e4f7296a8..a62da0d66 100644 --- a/eZmaxApi/api/object_language_api.py +++ b/eZmaxApi/api/object_language_api.py @@ -295,7 +295,9 @@ def _language_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _language_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_module_api.py b/eZmaxApi/api/object_module_api.py index 05f02c3d9..75f31aab4 100644 --- a/eZmaxApi/api/object_module_api.py +++ b/eZmaxApi/api/object_module_api.py @@ -295,7 +295,9 @@ def _module_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _module_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_modulegroup_api.py b/eZmaxApi/api/object_modulegroup_api.py index 9ee77b957..35bcae316 100644 --- a/eZmaxApi/api/object_modulegroup_api.py +++ b/eZmaxApi/api/object_modulegroup_api.py @@ -251,7 +251,9 @@ def _modulegroup_get_all_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -264,11 +266,12 @@ def _modulegroup_get_all_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_notificationsection_api.py b/eZmaxApi/api/object_notificationsection_api.py index a688b7a7a..24dad2de0 100644 --- a/eZmaxApi/api/object_notificationsection_api.py +++ b/eZmaxApi/api/object_notificationsection_api.py @@ -270,7 +270,9 @@ def _notificationsection_get_notificationtests_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -287,11 +289,12 @@ def _notificationsection_get_notificationtests_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_notificationtest_api.py b/eZmaxApi/api/object_notificationtest_api.py index a313ddb21..10bdad3a2 100644 --- a/eZmaxApi/api/object_notificationtest_api.py +++ b/eZmaxApi/api/object_notificationtest_api.py @@ -257,7 +257,9 @@ def _notificationtest_get_elements_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +272,12 @@ def _notificationtest_get_elements_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_otherincome_api.py b/eZmaxApi/api/object_otherincome_api.py index ba05579f3..e3d28e0be 100644 --- a/eZmaxApi/api/object_otherincome_api.py +++ b/eZmaxApi/api/object_otherincome_api.py @@ -19,7 +19,10 @@ from pydantic import Field from typing_extensions import Annotated +from eZmaxApi.models.otherincome_get_communication_count_v1_response import OtherincomeGetCommunicationCountV1Response from eZmaxApi.models.otherincome_get_communication_list_v1_response import OtherincomeGetCommunicationListV1Response +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response import OtherincomeGetCommunicationrecipientsV1Response +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response import OtherincomeGetCommunicationsendersV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -39,6 +42,270 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def otherincome_get_communication_count_v1( + self, + pki_otherincome_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> OtherincomeGetCommunicationCountV1Response: + """Retrieve Communication count + + + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._otherincome_get_communication_count_v1_serialize( + pki_otherincome_id=pki_otherincome_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OtherincomeGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def otherincome_get_communication_count_v1_with_http_info( + self, + pki_otherincome_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[OtherincomeGetCommunicationCountV1Response]: + """Retrieve Communication count + + + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._otherincome_get_communication_count_v1_serialize( + pki_otherincome_id=pki_otherincome_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OtherincomeGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def otherincome_get_communication_count_v1_without_preload_content( + self, + pki_otherincome_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Communication count + + + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._otherincome_get_communication_count_v1_serialize( + pki_otherincome_id=pki_otherincome_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OtherincomeGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _otherincome_get_communication_count_v1_serialize( + self, + pki_otherincome_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_otherincome_id is not None: + _path_params['pkiOtherincomeID'] = pki_otherincome_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/otherincome/{pkiOtherincomeID}/getCommunicationCount', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def otherincome_get_communication_list_v1( self, @@ -257,7 +524,9 @@ def _otherincome_get_communication_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +539,12 @@ def _otherincome_get_communication_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -298,3 +568,531 @@ def _otherincome_get_communication_list_v1_serialize( ) + + + @validate_call + def otherincome_get_communicationrecipients_v1( + self, + pki_otherincome_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> OtherincomeGetCommunicationrecipientsV1Response: + """Retrieve Otherincome's Communicationrecipient + + + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._otherincome_get_communicationrecipients_v1_serialize( + pki_otherincome_id=pki_otherincome_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OtherincomeGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def otherincome_get_communicationrecipients_v1_with_http_info( + self, + pki_otherincome_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[OtherincomeGetCommunicationrecipientsV1Response]: + """Retrieve Otherincome's Communicationrecipient + + + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._otherincome_get_communicationrecipients_v1_serialize( + pki_otherincome_id=pki_otherincome_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OtherincomeGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def otherincome_get_communicationrecipients_v1_without_preload_content( + self, + pki_otherincome_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Otherincome's Communicationrecipient + + + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._otherincome_get_communicationrecipients_v1_serialize( + pki_otherincome_id=pki_otherincome_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OtherincomeGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _otherincome_get_communicationrecipients_v1_serialize( + self, + pki_otherincome_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_otherincome_id is not None: + _path_params['pkiOtherincomeID'] = pki_otherincome_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def otherincome_get_communicationsenders_v1( + self, + pki_otherincome_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> OtherincomeGetCommunicationsendersV1Response: + """Retrieve Otherincome's Communicationsender + + + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._otherincome_get_communicationsenders_v1_serialize( + pki_otherincome_id=pki_otherincome_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OtherincomeGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def otherincome_get_communicationsenders_v1_with_http_info( + self, + pki_otherincome_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[OtherincomeGetCommunicationsendersV1Response]: + """Retrieve Otherincome's Communicationsender + + + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._otherincome_get_communicationsenders_v1_serialize( + pki_otherincome_id=pki_otherincome_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OtherincomeGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def otherincome_get_communicationsenders_v1_without_preload_content( + self, + pki_otherincome_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Otherincome's Communicationsender + + + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._otherincome_get_communicationsenders_v1_serialize( + pki_otherincome_id=pki_otherincome_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OtherincomeGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _otherincome_get_communicationsenders_v1_serialize( + self, + pki_otherincome_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_otherincome_id is not None: + _path_params['pkiOtherincomeID'] = pki_otherincome_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/otherincome/{pkiOtherincomeID}/getCommunicationsenders', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_paymentterm_api.py b/eZmaxApi/api/object_paymentterm_api.py index cf39e9a05..9a9d7075a 100644 --- a/eZmaxApi/api/object_paymentterm_api.py +++ b/eZmaxApi/api/object_paymentterm_api.py @@ -265,7 +265,9 @@ def _paymentterm_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -278,11 +280,12 @@ def _paymentterm_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -555,7 +558,9 @@ def _paymentterm_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -570,11 +575,12 @@ def _paymentterm_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -867,7 +873,9 @@ def _paymentterm_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -890,11 +898,12 @@ def _paymentterm_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1187,7 +1196,9 @@ def _paymentterm_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1216,12 +1227,13 @@ def _paymentterm_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1465,7 +1477,9 @@ def _paymentterm_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1478,11 +1492,12 @@ def _paymentterm_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_pdfalevel_api.py b/eZmaxApi/api/object_pdfalevel_api.py new file mode 100644 index 000000000..68dd93f2f --- /dev/null +++ b/eZmaxApi/api/object_pdfalevel_api.py @@ -0,0 +1,351 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Optional +from typing_extensions import Annotated +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response import PdfalevelGetAutocompleteV2Response + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectPdfalevelApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def pdfalevel_get_autocomplete_v2( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Pdfalevels to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> PdfalevelGetAutocompleteV2Response: + """Retrieve Pdfalevels and IDs + + Get the list of Pdfalevel to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Pdfalevels to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._pdfalevel_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "PdfalevelGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def pdfalevel_get_autocomplete_v2_with_http_info( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Pdfalevels to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[PdfalevelGetAutocompleteV2Response]: + """Retrieve Pdfalevels and IDs + + Get the list of Pdfalevel to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Pdfalevels to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._pdfalevel_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "PdfalevelGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def pdfalevel_get_autocomplete_v2_without_preload_content( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Pdfalevels to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Pdfalevels and IDs + + Get the list of Pdfalevel to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Pdfalevels to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._pdfalevel_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "PdfalevelGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _pdfalevel_get_autocomplete_v2_serialize( + self, + s_selector, + e_filter_active, + s_query, + accept_language, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if s_selector is not None: + _path_params['sSelector'] = s_selector + # process the query parameters + if e_filter_active is not None: + + _query_params.append(('eFilterActive', e_filter_active)) + + if s_query is not None: + + _query_params.append(('sQuery', s_query)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/pdfalevel/getAutocomplete/{sSelector}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_period_api.py b/eZmaxApi/api/object_period_api.py index 07ad4e728..b3faa9b2a 100644 --- a/eZmaxApi/api/object_period_api.py +++ b/eZmaxApi/api/object_period_api.py @@ -295,7 +295,9 @@ def _period_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _period_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_permission_api.py b/eZmaxApi/api/object_permission_api.py index 49d99659f..e11c002b6 100644 --- a/eZmaxApi/api/object_permission_api.py +++ b/eZmaxApi/api/object_permission_api.py @@ -262,7 +262,9 @@ def _permission_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -275,11 +277,12 @@ def _permission_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -536,7 +539,9 @@ def _permission_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -549,11 +554,12 @@ def _permission_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -813,7 +819,9 @@ def _permission_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -828,11 +836,12 @@ def _permission_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1089,7 +1098,9 @@ def _permission_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1102,11 +1113,12 @@ def _permission_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_phonetype_api.py b/eZmaxApi/api/object_phonetype_api.py index 57ccdc614..e9d53b4a7 100644 --- a/eZmaxApi/api/object_phonetype_api.py +++ b/eZmaxApi/api/object_phonetype_api.py @@ -295,7 +295,9 @@ def _phonetype_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _phonetype_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_province_api.py b/eZmaxApi/api/object_province_api.py index 4b6a7dad1..b0b9401d2 100644 --- a/eZmaxApi/api/object_province_api.py +++ b/eZmaxApi/api/object_province_api.py @@ -295,7 +295,9 @@ def _province_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _province_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_rejectedoffertopurchase_api.py b/eZmaxApi/api/object_rejectedoffertopurchase_api.py index 6e281dd19..b50844ef1 100644 --- a/eZmaxApi/api/object_rejectedoffertopurchase_api.py +++ b/eZmaxApi/api/object_rejectedoffertopurchase_api.py @@ -19,7 +19,10 @@ from pydantic import Field from typing_extensions import Annotated +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response import RejectedoffertopurchaseGetCommunicationCountV1Response from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response import RejectedoffertopurchaseGetCommunicationListV1Response +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response import RejectedoffertopurchaseGetCommunicationrecipientsV1Response +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response import RejectedoffertopurchaseGetCommunicationsendersV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -39,6 +42,270 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def rejectedoffertopurchase_get_communication_count_v1( + self, + pki_rejectedoffertopurchase_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RejectedoffertopurchaseGetCommunicationCountV1Response: + """Retrieve Communication count + + + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._rejectedoffertopurchase_get_communication_count_v1_serialize( + pki_rejectedoffertopurchase_id=pki_rejectedoffertopurchase_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "RejectedoffertopurchaseGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def rejectedoffertopurchase_get_communication_count_v1_with_http_info( + self, + pki_rejectedoffertopurchase_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[RejectedoffertopurchaseGetCommunicationCountV1Response]: + """Retrieve Communication count + + + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._rejectedoffertopurchase_get_communication_count_v1_serialize( + pki_rejectedoffertopurchase_id=pki_rejectedoffertopurchase_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "RejectedoffertopurchaseGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def rejectedoffertopurchase_get_communication_count_v1_without_preload_content( + self, + pki_rejectedoffertopurchase_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Communication count + + + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._rejectedoffertopurchase_get_communication_count_v1_serialize( + pki_rejectedoffertopurchase_id=pki_rejectedoffertopurchase_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "RejectedoffertopurchaseGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _rejectedoffertopurchase_get_communication_count_v1_serialize( + self, + pki_rejectedoffertopurchase_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_rejectedoffertopurchase_id is not None: + _path_params['pkiRejectedoffertopurchaseID'] = pki_rejectedoffertopurchase_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationCount', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def rejectedoffertopurchase_get_communication_list_v1( self, @@ -257,7 +524,9 @@ def _rejectedoffertopurchase_get_communication_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +539,12 @@ def _rejectedoffertopurchase_get_communication_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -298,3 +568,531 @@ def _rejectedoffertopurchase_get_communication_list_v1_serialize( ) + + + @validate_call + def rejectedoffertopurchase_get_communicationrecipients_v1( + self, + pki_rejectedoffertopurchase_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RejectedoffertopurchaseGetCommunicationrecipientsV1Response: + """Retrieve Rejectedoffertopurchase's Communicationrecipient + + + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._rejectedoffertopurchase_get_communicationrecipients_v1_serialize( + pki_rejectedoffertopurchase_id=pki_rejectedoffertopurchase_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "RejectedoffertopurchaseGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def rejectedoffertopurchase_get_communicationrecipients_v1_with_http_info( + self, + pki_rejectedoffertopurchase_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[RejectedoffertopurchaseGetCommunicationrecipientsV1Response]: + """Retrieve Rejectedoffertopurchase's Communicationrecipient + + + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._rejectedoffertopurchase_get_communicationrecipients_v1_serialize( + pki_rejectedoffertopurchase_id=pki_rejectedoffertopurchase_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "RejectedoffertopurchaseGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def rejectedoffertopurchase_get_communicationrecipients_v1_without_preload_content( + self, + pki_rejectedoffertopurchase_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Rejectedoffertopurchase's Communicationrecipient + + + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._rejectedoffertopurchase_get_communicationrecipients_v1_serialize( + pki_rejectedoffertopurchase_id=pki_rejectedoffertopurchase_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "RejectedoffertopurchaseGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _rejectedoffertopurchase_get_communicationrecipients_v1_serialize( + self, + pki_rejectedoffertopurchase_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_rejectedoffertopurchase_id is not None: + _path_params['pkiRejectedoffertopurchaseID'] = pki_rejectedoffertopurchase_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def rejectedoffertopurchase_get_communicationsenders_v1( + self, + pki_rejectedoffertopurchase_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RejectedoffertopurchaseGetCommunicationsendersV1Response: + """Retrieve Rejectedoffertopurchase's Communicationsender + + + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._rejectedoffertopurchase_get_communicationsenders_v1_serialize( + pki_rejectedoffertopurchase_id=pki_rejectedoffertopurchase_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "RejectedoffertopurchaseGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def rejectedoffertopurchase_get_communicationsenders_v1_with_http_info( + self, + pki_rejectedoffertopurchase_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[RejectedoffertopurchaseGetCommunicationsendersV1Response]: + """Retrieve Rejectedoffertopurchase's Communicationsender + + + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._rejectedoffertopurchase_get_communicationsenders_v1_serialize( + pki_rejectedoffertopurchase_id=pki_rejectedoffertopurchase_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "RejectedoffertopurchaseGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def rejectedoffertopurchase_get_communicationsenders_v1_without_preload_content( + self, + pki_rejectedoffertopurchase_id: Annotated[int, Field(le=65535, strict=True, ge=1)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Rejectedoffertopurchase's Communicationsender + + + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._rejectedoffertopurchase_get_communicationsenders_v1_serialize( + pki_rejectedoffertopurchase_id=pki_rejectedoffertopurchase_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "RejectedoffertopurchaseGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _rejectedoffertopurchase_get_communicationsenders_v1_serialize( + self, + pki_rejectedoffertopurchase_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_rejectedoffertopurchase_id is not None: + _path_params['pkiRejectedoffertopurchaseID'] = pki_rejectedoffertopurchase_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationsenders', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_secretquestion_api.py b/eZmaxApi/api/object_secretquestion_api.py index b8374579a..c65bd09aa 100644 --- a/eZmaxApi/api/object_secretquestion_api.py +++ b/eZmaxApi/api/object_secretquestion_api.py @@ -295,7 +295,9 @@ def _secretquestion_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _secretquestion_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_sessionhistory_api.py b/eZmaxApi/api/object_sessionhistory_api.py index 470483d51..2db055203 100644 --- a/eZmaxApi/api/object_sessionhistory_api.py +++ b/eZmaxApi/api/object_sessionhistory_api.py @@ -308,7 +308,9 @@ def _sessionhistory_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -337,12 +339,13 @@ def _sessionhistory_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_signature_api.py b/eZmaxApi/api/object_signature_api.py index 664a11457..3209a8102 100644 --- a/eZmaxApi/api/object_signature_api.py +++ b/eZmaxApi/api/object_signature_api.py @@ -25,6 +25,7 @@ from eZmaxApi.models.signature_edit_object_v1_request import SignatureEditObjectV1Request from eZmaxApi.models.signature_edit_object_v1_response import SignatureEditObjectV1Response from eZmaxApi.models.signature_get_object_v2_response import SignatureGetObjectV2Response +from eZmaxApi.models.signature_get_object_v3_response import SignatureGetObjectV3Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -259,7 +260,9 @@ def _signature_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -272,11 +275,12 @@ def _signature_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -533,7 +537,9 @@ def _signature_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -546,11 +552,12 @@ def _signature_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -810,7 +817,9 @@ def _signature_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -825,11 +834,12 @@ def _signature_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -885,7 +895,7 @@ def signature_get_object_v2( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> SignatureGetObjectV2Response: - """Retrieve an existing Signature + """(Deprecated) Retrieve an existing Signature @@ -912,6 +922,7 @@ def signature_get_object_v2( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /2/object/signature/{pkiSignatureID} is deprecated.", DeprecationWarning) _param = self._signature_get_object_v2_serialize( pki_signature_id=pki_signature_id, @@ -953,7 +964,7 @@ def signature_get_object_v2_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[SignatureGetObjectV2Response]: - """Retrieve an existing Signature + """(Deprecated) Retrieve an existing Signature @@ -980,6 +991,7 @@ def signature_get_object_v2_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /2/object/signature/{pkiSignatureID} is deprecated.", DeprecationWarning) _param = self._signature_get_object_v2_serialize( pki_signature_id=pki_signature_id, @@ -1021,7 +1033,7 @@ def signature_get_object_v2_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve an existing Signature + """(Deprecated) Retrieve an existing Signature @@ -1048,6 +1060,7 @@ def signature_get_object_v2_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /2/object/signature/{pkiSignatureID} is deprecated.", DeprecationWarning) _param = self._signature_get_object_v2_serialize( pki_signature_id=pki_signature_id, @@ -1086,7 +1099,9 @@ def _signature_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1099,11 +1114,276 @@ def _signature_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/signature/{pkiSignatureID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def signature_get_object_v3( + self, + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0, description="The unique ID of the Signature")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SignatureGetObjectV3Response: + """Retrieve an existing Signature + + + + :param pki_signature_id: The unique ID of the Signature (required) + :type pki_signature_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._signature_get_object_v3_serialize( + pki_signature_id=pki_signature_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SignatureGetObjectV3Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def signature_get_object_v3_with_http_info( + self, + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0, description="The unique ID of the Signature")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SignatureGetObjectV3Response]: + """Retrieve an existing Signature + + + + :param pki_signature_id: The unique ID of the Signature (required) + :type pki_signature_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._signature_get_object_v3_serialize( + pki_signature_id=pki_signature_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SignatureGetObjectV3Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def signature_get_object_v3_without_preload_content( + self, + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0, description="The unique ID of the Signature")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Signature + + + + :param pki_signature_id: The unique ID of the Signature (required) + :type pki_signature_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._signature_get_object_v3_serialize( + pki_signature_id=pki_signature_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SignatureGetObjectV3Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout ) + return response_data.response + + + def _signature_get_object_v3_serialize( + self, + pki_signature_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_signature_id is not None: + _path_params['pkiSignatureID'] = pki_signature_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1113,7 +1393,535 @@ def _signature_get_object_v2_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/2/object/signature/{pkiSignatureID}', + resource_path='/3/object/signature/{pkiSignatureID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def signature_get_svg_initials_v1( + self, + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0, description="The unique ID of the Signature")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Retrieve an existing Signature initial SVG + + + + :param pki_signature_id: The unique ID of the Signature (required) + :type pki_signature_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._signature_get_svg_initials_v1_serialize( + pki_signature_id=pki_signature_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def signature_get_svg_initials_v1_with_http_info( + self, + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0, description="The unique ID of the Signature")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Retrieve an existing Signature initial SVG + + + + :param pki_signature_id: The unique ID of the Signature (required) + :type pki_signature_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._signature_get_svg_initials_v1_serialize( + pki_signature_id=pki_signature_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def signature_get_svg_initials_v1_without_preload_content( + self, + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0, description="The unique ID of the Signature")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Signature initial SVG + + + + :param pki_signature_id: The unique ID of the Signature (required) + :type pki_signature_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._signature_get_svg_initials_v1_serialize( + pki_signature_id=pki_signature_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _signature_get_svg_initials_v1_serialize( + self, + pki_signature_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_signature_id is not None: + _path_params['pkiSignatureID'] = pki_signature_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/signature/{pkiSignatureID}/getSVGInitials', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def signature_get_svg_signature_v1( + self, + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0, description="The unique ID of the Signature")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Retrieve an existing Signature SVG + + + + :param pki_signature_id: The unique ID of the Signature (required) + :type pki_signature_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._signature_get_svg_signature_v1_serialize( + pki_signature_id=pki_signature_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def signature_get_svg_signature_v1_with_http_info( + self, + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0, description="The unique ID of the Signature")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Retrieve an existing Signature SVG + + + + :param pki_signature_id: The unique ID of the Signature (required) + :type pki_signature_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._signature_get_svg_signature_v1_serialize( + pki_signature_id=pki_signature_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def signature_get_svg_signature_v1_without_preload_content( + self, + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0, description="The unique ID of the Signature")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Signature SVG + + + + :param pki_signature_id: The unique ID of the Signature (required) + :type pki_signature_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._signature_get_svg_signature_v1_serialize( + pki_signature_id=pki_signature_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '302': None, + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _signature_get_svg_signature_v1_serialize( + self, + pki_signature_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_signature_id is not None: + _path_params['pkiSignatureID'] = pki_signature_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/signature/{pkiSignatureID}/getSVGSignature', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/eZmaxApi/api/object_subnet_api.py b/eZmaxApi/api/object_subnet_api.py index ecc3cbeb1..7f6ad1de2 100644 --- a/eZmaxApi/api/object_subnet_api.py +++ b/eZmaxApi/api/object_subnet_api.py @@ -262,7 +262,9 @@ def _subnet_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -275,11 +277,12 @@ def _subnet_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -539,7 +542,9 @@ def _subnet_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -552,11 +557,12 @@ def _subnet_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -816,7 +822,9 @@ def _subnet_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -831,11 +839,12 @@ def _subnet_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1092,7 +1101,9 @@ def _subnet_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1105,11 +1116,12 @@ def _subnet_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_supply_api.py b/eZmaxApi/api/object_supply_api.py new file mode 100644 index 000000000..3d9ce6d94 --- /dev/null +++ b/eZmaxApi/api/object_supply_api.py @@ -0,0 +1,1788 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Optional +from typing_extensions import Annotated +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.models.supply_create_object_v1_request import SupplyCreateObjectV1Request +from eZmaxApi.models.supply_create_object_v1_response import SupplyCreateObjectV1Response +from eZmaxApi.models.supply_delete_object_v1_response import SupplyDeleteObjectV1Response +from eZmaxApi.models.supply_edit_object_v1_request import SupplyEditObjectV1Request +from eZmaxApi.models.supply_edit_object_v1_response import SupplyEditObjectV1Response +from eZmaxApi.models.supply_get_autocomplete_v2_response import SupplyGetAutocompleteV2Response +from eZmaxApi.models.supply_get_list_v1_response import SupplyGetListV1Response +from eZmaxApi.models.supply_get_object_v2_response import SupplyGetObjectV2Response + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectSupplyApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def supply_create_object_v1( + self, + supply_create_object_v1_request: SupplyCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SupplyCreateObjectV1Response: + """Create a new Supply + + The endpoint allows to create one or many elements at once. + + :param supply_create_object_v1_request: (required) + :type supply_create_object_v1_request: SupplyCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_create_object_v1_serialize( + supply_create_object_v1_request=supply_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "SupplyCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def supply_create_object_v1_with_http_info( + self, + supply_create_object_v1_request: SupplyCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SupplyCreateObjectV1Response]: + """Create a new Supply + + The endpoint allows to create one or many elements at once. + + :param supply_create_object_v1_request: (required) + :type supply_create_object_v1_request: SupplyCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_create_object_v1_serialize( + supply_create_object_v1_request=supply_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "SupplyCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def supply_create_object_v1_without_preload_content( + self, + supply_create_object_v1_request: SupplyCreateObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create a new Supply + + The endpoint allows to create one or many elements at once. + + :param supply_create_object_v1_request: (required) + :type supply_create_object_v1_request: SupplyCreateObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_create_object_v1_serialize( + supply_create_object_v1_request=supply_create_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "SupplyCreateObjectV1Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _supply_create_object_v1_serialize( + self, + supply_create_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if supply_create_object_v1_request is not None: + _body_params = supply_create_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/supply', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def supply_delete_object_v1( + self, + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Supply")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SupplyDeleteObjectV1Response: + """Delete an existing Supply + + + + :param pki_supply_id: The unique ID of the Supply (required) + :type pki_supply_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_delete_object_v1_serialize( + pki_supply_id=pki_supply_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def supply_delete_object_v1_with_http_info( + self, + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Supply")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SupplyDeleteObjectV1Response]: + """Delete an existing Supply + + + + :param pki_supply_id: The unique ID of the Supply (required) + :type pki_supply_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_delete_object_v1_serialize( + pki_supply_id=pki_supply_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def supply_delete_object_v1_without_preload_content( + self, + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Supply")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete an existing Supply + + + + :param pki_supply_id: The unique ID of the Supply (required) + :type pki_supply_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_delete_object_v1_serialize( + pki_supply_id=pki_supply_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyDeleteObjectV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _supply_delete_object_v1_serialize( + self, + pki_supply_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_supply_id is not None: + _path_params['pkiSupplyID'] = pki_supply_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/1/object/supply/{pkiSupplyID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def supply_edit_object_v1( + self, + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Supply")], + supply_edit_object_v1_request: SupplyEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SupplyEditObjectV1Response: + """Edit an existing Supply + + + + :param pki_supply_id: The unique ID of the Supply (required) + :type pki_supply_id: int + :param supply_edit_object_v1_request: (required) + :type supply_edit_object_v1_request: SupplyEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_edit_object_v1_serialize( + pki_supply_id=pki_supply_id, + supply_edit_object_v1_request=supply_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def supply_edit_object_v1_with_http_info( + self, + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Supply")], + supply_edit_object_v1_request: SupplyEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SupplyEditObjectV1Response]: + """Edit an existing Supply + + + + :param pki_supply_id: The unique ID of the Supply (required) + :type pki_supply_id: int + :param supply_edit_object_v1_request: (required) + :type supply_edit_object_v1_request: SupplyEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_edit_object_v1_serialize( + pki_supply_id=pki_supply_id, + supply_edit_object_v1_request=supply_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def supply_edit_object_v1_without_preload_content( + self, + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Supply")], + supply_edit_object_v1_request: SupplyEditObjectV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit an existing Supply + + + + :param pki_supply_id: The unique ID of the Supply (required) + :type pki_supply_id: int + :param supply_edit_object_v1_request: (required) + :type supply_edit_object_v1_request: SupplyEditObjectV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_edit_object_v1_serialize( + pki_supply_id=pki_supply_id, + supply_edit_object_v1_request=supply_edit_object_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyEditObjectV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _supply_edit_object_v1_serialize( + self, + pki_supply_id, + supply_edit_object_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_supply_id is not None: + _path_params['pkiSupplyID'] = pki_supply_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if supply_edit_object_v1_request is not None: + _body_params = supply_edit_object_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/supply/{pkiSupplyID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def supply_get_autocomplete_v2( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Supplys to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SupplyGetAutocompleteV2Response: + """Retrieve Supplys and IDs + + Get the list of Supply to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Supplys to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def supply_get_autocomplete_v2_with_http_info( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Supplys to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SupplyGetAutocompleteV2Response]: + """Retrieve Supplys and IDs + + Get the list of Supply to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Supplys to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def supply_get_autocomplete_v2_without_preload_content( + self, + s_selector: Annotated[StrictStr, Field(description="The type of Supplys to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Supplys and IDs + + Get the list of Supply to be used in a dropdown or autocomplete control. + + :param s_selector: The type of Supplys to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyGetAutocompleteV2Response", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _supply_get_autocomplete_v2_serialize( + self, + s_selector, + e_filter_active, + s_query, + accept_language, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if s_selector is not None: + _path_params['sSelector'] = s_selector + # process the query parameters + if e_filter_active is not None: + + _query_params.append(('eFilterActive', e_filter_active)) + + if s_query is not None: + + _query_params.append(('sQuery', s_query)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/supply/getAutocomplete/{sSelector}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def supply_get_list_v1( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SupplyGetListV1Response: + """Retrieve Supply list + + + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def supply_get_list_v1_with_http_info( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SupplyGetListV1Response]: + """Retrieve Supply list + + + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def supply_get_list_v1_without_preload_content( + self, + e_order_by: Annotated[Optional[StrictStr], Field(description="Specify how you want the results to be sorted")] = None, + i_row_max: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = None, + i_row_offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, + s_filter: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Supply list + + + + :param e_order_by: Specify how you want the results to be sorted + :type e_order_by: str + :param i_row_max: + :type i_row_max: int + :param i_row_offset: + :type i_row_offset: int + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param s_filter: + :type s_filter: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_get_list_v1_serialize( + e_order_by=e_order_by, + i_row_max=i_row_max, + i_row_offset=i_row_offset, + accept_language=accept_language, + s_filter=s_filter, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyGetListV1Response", + '406': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _supply_get_list_v1_serialize( + self, + e_order_by, + i_row_max, + i_row_offset, + accept_language, + s_filter, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if e_order_by is not None: + + _query_params.append(('eOrderBy', e_order_by)) + + if i_row_max is not None: + + _query_params.append(('iRowMax', i_row_max)) + + if i_row_offset is not None: + + _query_params.append(('iRowOffset', i_row_offset)) + + if s_filter is not None: + + _query_params.append(('sFilter', s_filter)) + + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/supply/getList', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def supply_get_object_v2( + self, + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Supply")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SupplyGetObjectV2Response: + """Retrieve an existing Supply + + + + :param pki_supply_id: The unique ID of the Supply (required) + :type pki_supply_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_get_object_v2_serialize( + pki_supply_id=pki_supply_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def supply_get_object_v2_with_http_info( + self, + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Supply")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SupplyGetObjectV2Response]: + """Retrieve an existing Supply + + + + :param pki_supply_id: The unique ID of the Supply (required) + :type pki_supply_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_get_object_v2_serialize( + pki_supply_id=pki_supply_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def supply_get_object_v2_without_preload_content( + self, + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0, description="The unique ID of the Supply")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing Supply + + + + :param pki_supply_id: The unique ID of the Supply (required) + :type pki_supply_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._supply_get_object_v2_serialize( + pki_supply_id=pki_supply_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupplyGetObjectV2Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _supply_get_object_v2_serialize( + self, + pki_supply_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_supply_id is not None: + _path_params['pkiSupplyID'] = pki_supply_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/2/object/supply/{pkiSupplyID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_systemconfiguration_api.py b/eZmaxApi/api/object_systemconfiguration_api.py index e51c9a37b..0f1262414 100644 --- a/eZmaxApi/api/object_systemconfiguration_api.py +++ b/eZmaxApi/api/object_systemconfiguration_api.py @@ -275,7 +275,9 @@ def _systemconfiguration_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -290,11 +292,12 @@ def _systemconfiguration_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -551,7 +554,9 @@ def _systemconfiguration_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -564,11 +569,12 @@ def _systemconfiguration_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_taxassignment_api.py b/eZmaxApi/api/object_taxassignment_api.py index dd3539745..9a2eae3e8 100644 --- a/eZmaxApi/api/object_taxassignment_api.py +++ b/eZmaxApi/api/object_taxassignment_api.py @@ -295,7 +295,9 @@ def _taxassignment_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _taxassignment_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_timezone_api.py b/eZmaxApi/api/object_timezone_api.py index 600147f1c..162f357d2 100644 --- a/eZmaxApi/api/object_timezone_api.py +++ b/eZmaxApi/api/object_timezone_api.py @@ -295,7 +295,9 @@ def _timezone_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -318,11 +320,12 @@ def _timezone_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_tranqcontract_api.py b/eZmaxApi/api/object_tranqcontract_api.py new file mode 100644 index 000000000..e25250b81 --- /dev/null +++ b/eZmaxApi/api/object_tranqcontract_api.py @@ -0,0 +1,1098 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field +from typing_extensions import Annotated +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response import TranqcontractGetCommunicationCountV1Response +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response import TranqcontractGetCommunicationListV1Response +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response import TranqcontractGetCommunicationrecipientsV1Response +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response import TranqcontractGetCommunicationsendersV1Response + +from eZmaxApi.api_client import ApiClient, RequestSerialized +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.rest import RESTResponseType + + +class ObjectTranqcontractApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def tranqcontract_get_communication_count_v1( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> TranqcontractGetCommunicationCountV1Response: + """Retrieve Communication count + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communication_count_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def tranqcontract_get_communication_count_v1_with_http_info( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[TranqcontractGetCommunicationCountV1Response]: + """Retrieve Communication count + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communication_count_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def tranqcontract_get_communication_count_v1_without_preload_content( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Communication count + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communication_count_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationCountV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _tranqcontract_get_communication_count_v1_serialize( + self, + pki_tranqcontract_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_tranqcontract_id is not None: + _path_params['pkiTranqcontractID'] = pki_tranqcontract_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCount', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def tranqcontract_get_communication_list_v1( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> TranqcontractGetCommunicationListV1Response: + """Retrieve Communication list + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communication_list_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationListV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def tranqcontract_get_communication_list_v1_with_http_info( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[TranqcontractGetCommunicationListV1Response]: + """Retrieve Communication list + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communication_list_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationListV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def tranqcontract_get_communication_list_v1_without_preload_content( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Communication list + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communication_list_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationListV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _tranqcontract_get_communication_list_v1_serialize( + self, + pki_tranqcontract_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_tranqcontract_id is not None: + _path_params['pkiTranqcontractID'] = pki_tranqcontract_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationList', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def tranqcontract_get_communicationrecipients_v1( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> TranqcontractGetCommunicationrecipientsV1Response: + """Retrieve Tranqcontract's Communicationrecipient + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communicationrecipients_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def tranqcontract_get_communicationrecipients_v1_with_http_info( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[TranqcontractGetCommunicationrecipientsV1Response]: + """Retrieve Tranqcontract's Communicationrecipient + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communicationrecipients_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def tranqcontract_get_communicationrecipients_v1_without_preload_content( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Tranqcontract's Communicationrecipient + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communicationrecipients_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _tranqcontract_get_communicationrecipients_v1_serialize( + self, + pki_tranqcontract_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_tranqcontract_id is not None: + _path_params['pkiTranqcontractID'] = pki_tranqcontract_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def tranqcontract_get_communicationsenders_v1( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> TranqcontractGetCommunicationsendersV1Response: + """Retrieve Tranqcontract's Communicationsender + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communicationsenders_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def tranqcontract_get_communicationsenders_v1_with_http_info( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[TranqcontractGetCommunicationsendersV1Response]: + """Retrieve Tranqcontract's Communicationsender + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communicationsenders_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def tranqcontract_get_communicationsenders_v1_without_preload_content( + self, + pki_tranqcontract_id: Annotated[int, Field(le=16777215, strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve Tranqcontract's Communicationsender + + + + :param pki_tranqcontract_id: (required) + :type pki_tranqcontract_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._tranqcontract_get_communicationsenders_v1_serialize( + pki_tranqcontract_id=pki_tranqcontract_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TranqcontractGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _tranqcontract_get_communicationsenders_v1_serialize( + self, + pki_tranqcontract_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_tranqcontract_id is not None: + _path_params['pkiTranqcontractID'] = pki_tranqcontract_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationsenders', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/eZmaxApi/api/object_user_api.py b/eZmaxApi/api/object_user_api.py index 9bb877267..76bb8e324 100644 --- a/eZmaxApi/api/object_user_api.py +++ b/eZmaxApi/api/object_user_api.py @@ -25,12 +25,15 @@ from eZmaxApi.models.user_create_object_v1_response import UserCreateObjectV1Response from eZmaxApi.models.user_create_object_v2_request import UserCreateObjectV2Request from eZmaxApi.models.user_create_object_v2_response import UserCreateObjectV2Response +from eZmaxApi.models.user_edit_colleagues_v2_request import UserEditColleaguesV2Request +from eZmaxApi.models.user_edit_colleagues_v2_response import UserEditColleaguesV2Response from eZmaxApi.models.user_edit_object_v1_request import UserEditObjectV1Request from eZmaxApi.models.user_edit_object_v1_response import UserEditObjectV1Response from eZmaxApi.models.user_edit_permissions_v1_request import UserEditPermissionsV1Request from eZmaxApi.models.user_edit_permissions_v1_response import UserEditPermissionsV1Response from eZmaxApi.models.user_get_apikeys_v1_response import UserGetApikeysV1Response from eZmaxApi.models.user_get_autocomplete_v2_response import UserGetAutocompleteV2Response +from eZmaxApi.models.user_get_colleagues_v2_response import UserGetColleaguesV2Response from eZmaxApi.models.user_get_effective_permissions_v1_response import UserGetEffectivePermissionsV1Response from eZmaxApi.models.user_get_list_v1_response import UserGetListV1Response from eZmaxApi.models.user_get_object_v2_response import UserGetObjectV2Response @@ -273,7 +276,9 @@ def _user_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -286,11 +291,12 @@ def _user_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -544,7 +550,9 @@ def _user_create_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -557,11 +565,12 @@ def _user_create_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -601,10 +610,10 @@ def _user_create_object_v2_serialize( @validate_call - def user_edit_object_v1( + def user_edit_colleagues_v2( self, - pki_user_id: Annotated[int, Field(strict=True, ge=0, description="The unique ID of the User")], - user_edit_object_v1_request: UserEditObjectV1Request, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], + user_edit_colleagues_v2_request: UserEditColleaguesV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -617,15 +626,15 @@ def user_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> UserEditObjectV1Response: - """Edit an existing User + ) -> UserEditColleaguesV2Response: + """Edit multiple Colleagues - + Using this endpoint, you can edit multiple Colleagues at the same time. - :param pki_user_id: The unique ID of the User (required) + :param pki_user_id: (required) :type pki_user_id: int - :param user_edit_object_v1_request: (required) - :type user_edit_object_v1_request: UserEditObjectV1Request + :param user_edit_colleagues_v2_request: (required) + :type user_edit_colleagues_v2_request: UserEditColleaguesV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -648,9 +657,9 @@ def user_edit_object_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._user_edit_object_v1_serialize( + _param = self._user_edit_colleagues_v2_serialize( pki_user_id=pki_user_id, - user_edit_object_v1_request=user_edit_object_v1_request, + user_edit_colleagues_v2_request=user_edit_colleagues_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -658,7 +667,7 @@ def user_edit_object_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserEditObjectV1Response", + '200': "UserEditColleaguesV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -674,10 +683,10 @@ def user_edit_object_v1( @validate_call - def user_edit_object_v1_with_http_info( + def user_edit_colleagues_v2_with_http_info( self, - pki_user_id: Annotated[int, Field(strict=True, ge=0, description="The unique ID of the User")], - user_edit_object_v1_request: UserEditObjectV1Request, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], + user_edit_colleagues_v2_request: UserEditColleaguesV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -690,15 +699,15 @@ def user_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[UserEditObjectV1Response]: - """Edit an existing User + ) -> ApiResponse[UserEditColleaguesV2Response]: + """Edit multiple Colleagues - + Using this endpoint, you can edit multiple Colleagues at the same time. - :param pki_user_id: The unique ID of the User (required) + :param pki_user_id: (required) :type pki_user_id: int - :param user_edit_object_v1_request: (required) - :type user_edit_object_v1_request: UserEditObjectV1Request + :param user_edit_colleagues_v2_request: (required) + :type user_edit_colleagues_v2_request: UserEditColleaguesV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -721,9 +730,9 @@ def user_edit_object_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._user_edit_object_v1_serialize( + _param = self._user_edit_colleagues_v2_serialize( pki_user_id=pki_user_id, - user_edit_object_v1_request=user_edit_object_v1_request, + user_edit_colleagues_v2_request=user_edit_colleagues_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -731,7 +740,7 @@ def user_edit_object_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserEditObjectV1Response", + '200': "UserEditColleaguesV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -747,10 +756,10 @@ def user_edit_object_v1_with_http_info( @validate_call - def user_edit_object_v1_without_preload_content( + def user_edit_colleagues_v2_without_preload_content( self, - pki_user_id: Annotated[int, Field(strict=True, ge=0, description="The unique ID of the User")], - user_edit_object_v1_request: UserEditObjectV1Request, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], + user_edit_colleagues_v2_request: UserEditColleaguesV2Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -764,14 +773,14 @@ def user_edit_object_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Edit an existing User + """Edit multiple Colleagues - + Using this endpoint, you can edit multiple Colleagues at the same time. - :param pki_user_id: The unique ID of the User (required) + :param pki_user_id: (required) :type pki_user_id: int - :param user_edit_object_v1_request: (required) - :type user_edit_object_v1_request: UserEditObjectV1Request + :param user_edit_colleagues_v2_request: (required) + :type user_edit_colleagues_v2_request: UserEditColleaguesV2Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -794,9 +803,9 @@ def user_edit_object_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._user_edit_object_v1_serialize( + _param = self._user_edit_colleagues_v2_serialize( pki_user_id=pki_user_id, - user_edit_object_v1_request=user_edit_object_v1_request, + user_edit_colleagues_v2_request=user_edit_colleagues_v2_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -804,7 +813,7 @@ def user_edit_object_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserEditObjectV1Response", + '200': "UserEditColleaguesV2Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -815,10 +824,10 @@ def user_edit_object_v1_without_preload_content( return response_data.response - def _user_edit_object_v1_serialize( + def _user_edit_colleagues_v2_serialize( self, pki_user_id, - user_edit_object_v1_request, + user_edit_colleagues_v2_request, _request_auth, _content_type, _headers, @@ -834,7 +843,9 @@ def _user_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -844,16 +855,17 @@ def _user_edit_object_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if user_edit_object_v1_request is not None: - _body_params = user_edit_object_v1_request + if user_edit_colleagues_v2_request is not None: + _body_params = user_edit_colleagues_v2_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -876,7 +888,7 @@ def _user_edit_object_v1_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/1/object/user/{pkiUserID}', + resource_path='/2/object/user/{pkiUserID}/editColleagues', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -893,10 +905,10 @@ def _user_edit_object_v1_serialize( @validate_call - def user_edit_permissions_v1( + def user_edit_object_v1( self, - pki_user_id: Annotated[int, Field(strict=True, ge=0)], - user_edit_permissions_v1_request: UserEditPermissionsV1Request, + pki_user_id: Annotated[int, Field(strict=True, ge=0, description="The unique ID of the User")], + user_edit_object_v1_request: UserEditObjectV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -909,15 +921,15 @@ def user_edit_permissions_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> UserEditPermissionsV1Response: - """Edit multiple Permissions + ) -> UserEditObjectV1Response: + """Edit an existing User - Using this endpoint, you can edit multiple Permissions at the same time. + - :param pki_user_id: (required) + :param pki_user_id: The unique ID of the User (required) :type pki_user_id: int - :param user_edit_permissions_v1_request: (required) - :type user_edit_permissions_v1_request: UserEditPermissionsV1Request + :param user_edit_object_v1_request: (required) + :type user_edit_object_v1_request: UserEditObjectV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -940,9 +952,9 @@ def user_edit_permissions_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._user_edit_permissions_v1_serialize( + _param = self._user_edit_object_v1_serialize( pki_user_id=pki_user_id, - user_edit_permissions_v1_request=user_edit_permissions_v1_request, + user_edit_object_v1_request=user_edit_object_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -950,7 +962,7 @@ def user_edit_permissions_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserEditPermissionsV1Response", + '200': "UserEditObjectV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -966,10 +978,10 @@ def user_edit_permissions_v1( @validate_call - def user_edit_permissions_v1_with_http_info( + def user_edit_object_v1_with_http_info( self, - pki_user_id: Annotated[int, Field(strict=True, ge=0)], - user_edit_permissions_v1_request: UserEditPermissionsV1Request, + pki_user_id: Annotated[int, Field(strict=True, ge=0, description="The unique ID of the User")], + user_edit_object_v1_request: UserEditObjectV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -982,15 +994,15 @@ def user_edit_permissions_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[UserEditPermissionsV1Response]: - """Edit multiple Permissions + ) -> ApiResponse[UserEditObjectV1Response]: + """Edit an existing User - Using this endpoint, you can edit multiple Permissions at the same time. + - :param pki_user_id: (required) + :param pki_user_id: The unique ID of the User (required) :type pki_user_id: int - :param user_edit_permissions_v1_request: (required) - :type user_edit_permissions_v1_request: UserEditPermissionsV1Request + :param user_edit_object_v1_request: (required) + :type user_edit_object_v1_request: UserEditObjectV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1013,9 +1025,9 @@ def user_edit_permissions_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._user_edit_permissions_v1_serialize( + _param = self._user_edit_object_v1_serialize( pki_user_id=pki_user_id, - user_edit_permissions_v1_request=user_edit_permissions_v1_request, + user_edit_object_v1_request=user_edit_object_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1023,7 +1035,7 @@ def user_edit_permissions_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserEditPermissionsV1Response", + '200': "UserEditObjectV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1039,10 +1051,10 @@ def user_edit_permissions_v1_with_http_info( @validate_call - def user_edit_permissions_v1_without_preload_content( + def user_edit_object_v1_without_preload_content( self, - pki_user_id: Annotated[int, Field(strict=True, ge=0)], - user_edit_permissions_v1_request: UserEditPermissionsV1Request, + pki_user_id: Annotated[int, Field(strict=True, ge=0, description="The unique ID of the User")], + user_edit_object_v1_request: UserEditObjectV1Request, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1056,14 +1068,14 @@ def user_edit_permissions_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Edit multiple Permissions + """Edit an existing User - Using this endpoint, you can edit multiple Permissions at the same time. + - :param pki_user_id: (required) + :param pki_user_id: The unique ID of the User (required) :type pki_user_id: int - :param user_edit_permissions_v1_request: (required) - :type user_edit_permissions_v1_request: UserEditPermissionsV1Request + :param user_edit_object_v1_request: (required) + :type user_edit_object_v1_request: UserEditObjectV1Request :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1086,9 +1098,9 @@ def user_edit_permissions_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._user_edit_permissions_v1_serialize( + _param = self._user_edit_object_v1_serialize( pki_user_id=pki_user_id, - user_edit_permissions_v1_request=user_edit_permissions_v1_request, + user_edit_object_v1_request=user_edit_object_v1_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1096,7 +1108,7 @@ def user_edit_permissions_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserEditPermissionsV1Response", + '200': "UserEditObjectV1Response", '404': "CommonResponseError", '422': "CommonResponseError", } @@ -1107,10 +1119,10 @@ def user_edit_permissions_v1_without_preload_content( return response_data.response - def _user_edit_permissions_v1_serialize( + def _user_edit_object_v1_serialize( self, pki_user_id, - user_edit_permissions_v1_request, + user_edit_object_v1_request, _request_auth, _content_type, _headers, @@ -1126,7 +1138,9 @@ def _user_edit_permissions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1136,16 +1150,17 @@ def _user_edit_permissions_v1_serialize( # process the header parameters # process the form parameters # process the body parameter - if user_edit_permissions_v1_request is not None: - _body_params = user_edit_permissions_v1_request + if user_edit_object_v1_request is not None: + _body_params = user_edit_object_v1_request # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1158,8 +1173,564 @@ def _user_edit_permissions_v1_serialize( ] ) ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/user/{pkiUserID}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def user_edit_permissions_v1( + self, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], + user_edit_permissions_v1_request: UserEditPermissionsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> UserEditPermissionsV1Response: + """Edit multiple Permissions + + Using this endpoint, you can edit multiple Permissions at the same time. + + :param pki_user_id: (required) + :type pki_user_id: int + :param user_edit_permissions_v1_request: (required) + :type user_edit_permissions_v1_request: UserEditPermissionsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._user_edit_permissions_v1_serialize( + pki_user_id=pki_user_id, + user_edit_permissions_v1_request=user_edit_permissions_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "UserEditPermissionsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def user_edit_permissions_v1_with_http_info( + self, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], + user_edit_permissions_v1_request: UserEditPermissionsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[UserEditPermissionsV1Response]: + """Edit multiple Permissions + + Using this endpoint, you can edit multiple Permissions at the same time. + + :param pki_user_id: (required) + :type pki_user_id: int + :param user_edit_permissions_v1_request: (required) + :type user_edit_permissions_v1_request: UserEditPermissionsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._user_edit_permissions_v1_serialize( + pki_user_id=pki_user_id, + user_edit_permissions_v1_request=user_edit_permissions_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "UserEditPermissionsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def user_edit_permissions_v1_without_preload_content( + self, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], + user_edit_permissions_v1_request: UserEditPermissionsV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Edit multiple Permissions + + Using this endpoint, you can edit multiple Permissions at the same time. + + :param pki_user_id: (required) + :type pki_user_id: int + :param user_edit_permissions_v1_request: (required) + :type user_edit_permissions_v1_request: UserEditPermissionsV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._user_edit_permissions_v1_serialize( + pki_user_id=pki_user_id, + user_edit_permissions_v1_request=user_edit_permissions_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "UserEditPermissionsV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _user_edit_permissions_v1_serialize( + self, + pki_user_id, + user_edit_permissions_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_user_id is not None: + _path_params['pkiUserID'] = pki_user_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if user_edit_permissions_v1_request is not None: + _body_params = user_edit_permissions_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/1/object/user/{pkiUserID}/editPermissions', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def user_get_apikeys_v1( + self, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> UserGetApikeysV1Response: + """Retrieve an existing User's Apikeys + + + :param pki_user_id: (required) + :type pki_user_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._user_get_apikeys_v1_serialize( + pki_user_id=pki_user_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "UserGetApikeysV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def user_get_apikeys_v1_with_http_info( + self, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[UserGetApikeysV1Response]: + """Retrieve an existing User's Apikeys + + + :param pki_user_id: (required) + :type pki_user_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._user_get_apikeys_v1_serialize( + pki_user_id=pki_user_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "UserGetApikeysV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def user_get_apikeys_v1_without_preload_content( + self, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an existing User's Apikeys + + + :param pki_user_id: (required) + :type pki_user_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._user_get_apikeys_v1_serialize( + pki_user_id=pki_user_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "UserGetApikeysV1Response", + '404': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _user_get_apikeys_v1_serialize( + self, + pki_user_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if pki_user_id is not None: + _path_params['pkiUserID'] = pki_user_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # authentication setting _auth_settings: List[str] = [ @@ -1167,8 +1738,8 @@ def _user_edit_permissions_v1_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/1/object/user/{pkiUserID}/editPermissions', + method='GET', + resource_path='/1/object/user/{pkiUserID}/getApikeys', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1185,9 +1756,12 @@ def _user_edit_permissions_v1_serialize( @validate_call - def user_get_apikeys_v1( + def user_get_autocomplete_v2( self, - pki_user_id: Annotated[int, Field(strict=True, ge=0)], + s_selector: Annotated[StrictStr, Field(description="The type of Users to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1200,12 +1774,19 @@ def user_get_apikeys_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> UserGetApikeysV1Response: - """Retrieve an existing User's Apikeys + ) -> UserGetAutocompleteV2Response: + """Retrieve Users and IDs + Get the list of User to be used in a dropdown or autocomplete control. - :param pki_user_id: (required) - :type pki_user_id: int + :param s_selector: The type of Users to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1228,8 +1809,11 @@ def user_get_apikeys_v1( :return: Returns the result object. """ # noqa: E501 - _param = self._user_get_apikeys_v1_serialize( - pki_user_id=pki_user_id, + _param = self._user_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1237,8 +1821,7 @@ def user_get_apikeys_v1( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserGetApikeysV1Response", - '404': "CommonResponseError", + '200': "UserGetAutocompleteV2Response", } response_data = self.api_client.call_api( *_param, @@ -1252,9 +1835,12 @@ def user_get_apikeys_v1( @validate_call - def user_get_apikeys_v1_with_http_info( + def user_get_autocomplete_v2_with_http_info( self, - pki_user_id: Annotated[int, Field(strict=True, ge=0)], + s_selector: Annotated[StrictStr, Field(description="The type of Users to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1267,12 +1853,19 @@ def user_get_apikeys_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[UserGetApikeysV1Response]: - """Retrieve an existing User's Apikeys + ) -> ApiResponse[UserGetAutocompleteV2Response]: + """Retrieve Users and IDs + Get the list of User to be used in a dropdown or autocomplete control. - :param pki_user_id: (required) - :type pki_user_id: int + :param s_selector: The type of Users to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1295,8 +1888,11 @@ def user_get_apikeys_v1_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._user_get_apikeys_v1_serialize( - pki_user_id=pki_user_id, + _param = self._user_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1304,8 +1900,7 @@ def user_get_apikeys_v1_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserGetApikeysV1Response", - '404': "CommonResponseError", + '200': "UserGetAutocompleteV2Response", } response_data = self.api_client.call_api( *_param, @@ -1319,9 +1914,12 @@ def user_get_apikeys_v1_with_http_info( @validate_call - def user_get_apikeys_v1_without_preload_content( + def user_get_autocomplete_v2_without_preload_content( self, - pki_user_id: Annotated[int, Field(strict=True, ge=0)], + s_selector: Annotated[StrictStr, Field(description="The type of Users to return")], + e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, + s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, + accept_language: Optional[HeaderAcceptLanguage] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1335,11 +1933,18 @@ def user_get_apikeys_v1_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve an existing User's Apikeys + """Retrieve Users and IDs + Get the list of User to be used in a dropdown or autocomplete control. - :param pki_user_id: (required) - :type pki_user_id: int + :param s_selector: The type of Users to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1362,8 +1967,11 @@ def user_get_apikeys_v1_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._user_get_apikeys_v1_serialize( - pki_user_id=pki_user_id, + _param = self._user_get_autocomplete_v2_serialize( + s_selector=s_selector, + e_filter_active=e_filter_active, + s_query=s_query, + accept_language=accept_language, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1371,8 +1979,7 @@ def user_get_apikeys_v1_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserGetApikeysV1Response", - '404': "CommonResponseError", + '200': "UserGetAutocompleteV2Response", } response_data = self.api_client.call_api( *_param, @@ -1381,9 +1988,12 @@ def user_get_apikeys_v1_without_preload_content( return response_data.response - def _user_get_apikeys_v1_serialize( + def _user_get_autocomplete_v2_serialize( self, - pki_user_id, + s_selector, + e_filter_active, + s_query, + accept_language, _request_auth, _content_type, _headers, @@ -1399,24 +2009,37 @@ def _user_get_apikeys_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters - if pki_user_id is not None: - _path_params['pkiUserID'] = pki_user_id + if s_selector is not None: + _path_params['sSelector'] = s_selector # process the query parameters + if e_filter_active is not None: + + _query_params.append(('eFilterActive', e_filter_active)) + + if s_query is not None: + + _query_params.append(('sQuery', s_query)) + # process the header parameters + if accept_language is not None: + _header_params['Accept-Language'] = accept_language # process the form parameters # process the body parameter # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1426,7 +2049,7 @@ def _user_get_apikeys_v1_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/1/object/user/{pkiUserID}/getApikeys', + resource_path='/2/object/user/getAutocomplete/{sSelector}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1443,12 +2066,9 @@ def _user_get_apikeys_v1_serialize( @validate_call - def user_get_autocomplete_v2( + def user_get_colleagues_v2( self, - s_selector: Annotated[StrictStr, Field(description="The type of Users to return")], - e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, - s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, - accept_language: Optional[HeaderAcceptLanguage] = None, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1461,19 +2081,12 @@ def user_get_autocomplete_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> UserGetAutocompleteV2Response: - """Retrieve Users and IDs + ) -> UserGetColleaguesV2Response: + """Retrieve an existing User's Colleagues - Get the list of User to be used in a dropdown or autocomplete control. - :param s_selector: The type of Users to return (required) - :type s_selector: str - :param e_filter_active: Specify which results we want to display. - :type e_filter_active: str - :param s_query: Allow to filter the returned results - :type s_query: str - :param accept_language: - :type accept_language: HeaderAcceptLanguage + :param pki_user_id: (required) + :type pki_user_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1496,11 +2109,8 @@ def user_get_autocomplete_v2( :return: Returns the result object. """ # noqa: E501 - _param = self._user_get_autocomplete_v2_serialize( - s_selector=s_selector, - e_filter_active=e_filter_active, - s_query=s_query, - accept_language=accept_language, + _param = self._user_get_colleagues_v2_serialize( + pki_user_id=pki_user_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1508,7 +2118,8 @@ def user_get_autocomplete_v2( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserGetAutocompleteV2Response", + '200': "UserGetColleaguesV2Response", + '404': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -1522,12 +2133,9 @@ def user_get_autocomplete_v2( @validate_call - def user_get_autocomplete_v2_with_http_info( + def user_get_colleagues_v2_with_http_info( self, - s_selector: Annotated[StrictStr, Field(description="The type of Users to return")], - e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, - s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, - accept_language: Optional[HeaderAcceptLanguage] = None, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1540,19 +2148,12 @@ def user_get_autocomplete_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[UserGetAutocompleteV2Response]: - """Retrieve Users and IDs + ) -> ApiResponse[UserGetColleaguesV2Response]: + """Retrieve an existing User's Colleagues - Get the list of User to be used in a dropdown or autocomplete control. - :param s_selector: The type of Users to return (required) - :type s_selector: str - :param e_filter_active: Specify which results we want to display. - :type e_filter_active: str - :param s_query: Allow to filter the returned results - :type s_query: str - :param accept_language: - :type accept_language: HeaderAcceptLanguage + :param pki_user_id: (required) + :type pki_user_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1575,11 +2176,8 @@ def user_get_autocomplete_v2_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._user_get_autocomplete_v2_serialize( - s_selector=s_selector, - e_filter_active=e_filter_active, - s_query=s_query, - accept_language=accept_language, + _param = self._user_get_colleagues_v2_serialize( + pki_user_id=pki_user_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1587,7 +2185,8 @@ def user_get_autocomplete_v2_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserGetAutocompleteV2Response", + '200': "UserGetColleaguesV2Response", + '404': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -1601,12 +2200,9 @@ def user_get_autocomplete_v2_with_http_info( @validate_call - def user_get_autocomplete_v2_without_preload_content( + def user_get_colleagues_v2_without_preload_content( self, - s_selector: Annotated[StrictStr, Field(description="The type of Users to return")], - e_filter_active: Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, - s_query: Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, - accept_language: Optional[HeaderAcceptLanguage] = None, + pki_user_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1620,18 +2216,11 @@ def user_get_autocomplete_v2_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve Users and IDs + """Retrieve an existing User's Colleagues - Get the list of User to be used in a dropdown or autocomplete control. - :param s_selector: The type of Users to return (required) - :type s_selector: str - :param e_filter_active: Specify which results we want to display. - :type e_filter_active: str - :param s_query: Allow to filter the returned results - :type s_query: str - :param accept_language: - :type accept_language: HeaderAcceptLanguage + :param pki_user_id: (required) + :type pki_user_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1654,11 +2243,8 @@ def user_get_autocomplete_v2_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._user_get_autocomplete_v2_serialize( - s_selector=s_selector, - e_filter_active=e_filter_active, - s_query=s_query, - accept_language=accept_language, + _param = self._user_get_colleagues_v2_serialize( + pki_user_id=pki_user_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1666,7 +2252,8 @@ def user_get_autocomplete_v2_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "UserGetAutocompleteV2Response", + '200': "UserGetColleaguesV2Response", + '404': "CommonResponseError", } response_data = self.api_client.call_api( *_param, @@ -1675,12 +2262,9 @@ def user_get_autocomplete_v2_without_preload_content( return response_data.response - def _user_get_autocomplete_v2_serialize( + def _user_get_colleagues_v2_serialize( self, - s_selector, - e_filter_active, - s_query, - accept_language, + pki_user_id, _request_auth, _content_type, _headers, @@ -1696,34 +2280,27 @@ def _user_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters - if s_selector is not None: - _path_params['sSelector'] = s_selector + if pki_user_id is not None: + _path_params['pkiUserID'] = pki_user_id # process the query parameters - if e_filter_active is not None: - - _query_params.append(('eFilterActive', e_filter_active)) - - if s_query is not None: - - _query_params.append(('sQuery', s_query)) - # process the header parameters - if accept_language is not None: - _header_params['Accept-Language'] = accept_language # process the form parameters # process the body parameter # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1733,7 +2310,7 @@ def _user_get_autocomplete_v2_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/2/object/user/getAutocomplete/{sSelector}', + resource_path='/2/object/user/{pkiUserID}/getColleagues', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1967,7 +2544,9 @@ def _user_get_effective_permissions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1980,11 +2559,12 @@ def _user_get_effective_permissions_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2280,7 +2860,9 @@ def _user_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2309,12 +2891,13 @@ def _user_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -2558,7 +3141,9 @@ def _user_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2571,11 +3156,12 @@ def _user_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2816,7 +3402,9 @@ def _user_get_permissions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2829,11 +3417,12 @@ def _user_get_permissions_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -3074,7 +3663,9 @@ def _user_get_subnets_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3087,11 +3678,12 @@ def _user_get_subnets_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -3332,7 +3924,9 @@ def _user_get_usergroupexternals_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3345,11 +3939,12 @@ def _user_get_usergroupexternals_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -3590,7 +4185,9 @@ def _user_get_usergroups_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3603,11 +4200,12 @@ def _user_get_usergroups_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -3867,7 +4465,9 @@ def _user_send_password_reset_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3882,11 +4482,12 @@ def _user_send_password_reset_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_usergroup_api.py b/eZmaxApi/api/object_usergroup_api.py index 2b5fcf728..a34c6440b 100644 --- a/eZmaxApi/api/object_usergroup_api.py +++ b/eZmaxApi/api/object_usergroup_api.py @@ -271,7 +271,9 @@ def _usergroup_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -284,11 +286,12 @@ def _usergroup_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -561,7 +564,9 @@ def _usergroup_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -576,11 +581,12 @@ def _usergroup_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -853,7 +859,9 @@ def _usergroup_edit_permissions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -868,11 +876,12 @@ def _usergroup_edit_permissions_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1145,7 +1154,9 @@ def _usergroup_edit_usergroupdelegations_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1160,11 +1171,12 @@ def _usergroup_edit_usergroupdelegations_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1437,7 +1449,9 @@ def _usergroup_edit_usergroupmemberships_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1452,11 +1466,12 @@ def _usergroup_edit_usergroupmemberships_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1749,7 +1764,9 @@ def _usergroup_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1772,11 +1789,12 @@ def _usergroup_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2072,7 +2090,9 @@ def _usergroup_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2101,12 +2121,13 @@ def _usergroup_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -2350,7 +2371,9 @@ def _usergroup_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2363,11 +2386,12 @@ def _usergroup_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2608,7 +2632,9 @@ def _usergroup_get_permissions_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2621,11 +2647,12 @@ def _usergroup_get_permissions_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2866,7 +2893,9 @@ def _usergroup_get_usergroupdelegations_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2879,11 +2908,12 @@ def _usergroup_get_usergroupdelegations_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -3124,7 +3154,9 @@ def _usergroup_get_usergroupmemberships_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3137,11 +3169,12 @@ def _usergroup_get_usergroupmemberships_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_usergroupdelegation_api.py b/eZmaxApi/api/object_usergroupdelegation_api.py index f57c708ed..8cd2f4d83 100644 --- a/eZmaxApi/api/object_usergroupdelegation_api.py +++ b/eZmaxApi/api/object_usergroupdelegation_api.py @@ -259,7 +259,9 @@ def _usergroupdelegation_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -272,11 +274,12 @@ def _usergroupdelegation_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -533,7 +536,9 @@ def _usergroupdelegation_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -546,11 +551,12 @@ def _usergroupdelegation_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -810,7 +816,9 @@ def _usergroupdelegation_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -825,11 +833,12 @@ def _usergroupdelegation_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1086,7 +1095,9 @@ def _usergroupdelegation_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1099,11 +1110,12 @@ def _usergroupdelegation_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_usergroupexternal_api.py b/eZmaxApi/api/object_usergroupexternal_api.py index ae6f9dad5..d1133c77c 100644 --- a/eZmaxApi/api/object_usergroupexternal_api.py +++ b/eZmaxApi/api/object_usergroupexternal_api.py @@ -265,7 +265,9 @@ def _usergroupexternal_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -278,11 +280,12 @@ def _usergroupexternal_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -542,7 +545,9 @@ def _usergroupexternal_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -555,11 +560,12 @@ def _usergroupexternal_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -819,7 +825,9 @@ def _usergroupexternal_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -834,11 +842,12 @@ def _usergroupexternal_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1131,7 +1140,9 @@ def _usergroupexternal_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1154,11 +1165,12 @@ def _usergroupexternal_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1454,7 +1466,9 @@ def _usergroupexternal_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1483,12 +1497,13 @@ def _usergroupexternal_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1732,7 +1747,9 @@ def _usergroupexternal_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1745,11 +1762,12 @@ def _usergroupexternal_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1990,7 +2008,9 @@ def _usergroupexternal_get_usergroupexternalmemberships_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2003,11 +2023,12 @@ def _usergroupexternal_get_usergroupexternalmemberships_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -2248,7 +2269,9 @@ def _usergroupexternal_get_usergroups_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2261,11 +2284,12 @@ def _usergroupexternal_get_usergroups_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_usergroupmembership_api.py b/eZmaxApi/api/object_usergroupmembership_api.py index d839f18dd..6eef20f21 100644 --- a/eZmaxApi/api/object_usergroupmembership_api.py +++ b/eZmaxApi/api/object_usergroupmembership_api.py @@ -259,7 +259,9 @@ def _usergroupmembership_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -272,11 +274,12 @@ def _usergroupmembership_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -533,7 +536,9 @@ def _usergroupmembership_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -546,11 +551,12 @@ def _usergroupmembership_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -810,7 +816,9 @@ def _usergroupmembership_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -825,11 +833,12 @@ def _usergroupmembership_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1086,7 +1095,9 @@ def _usergroupmembership_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1099,11 +1110,12 @@ def _usergroupmembership_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_userlogintype_api.py b/eZmaxApi/api/object_userlogintype_api.py index 4fd81491d..32958ed93 100644 --- a/eZmaxApi/api/object_userlogintype_api.py +++ b/eZmaxApi/api/object_userlogintype_api.py @@ -308,7 +308,9 @@ def _userlogintype_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -335,11 +337,12 @@ def _userlogintype_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_userstaged_api.py b/eZmaxApi/api/object_userstaged_api.py index 1e8824b53..6886b7d39 100644 --- a/eZmaxApi/api/object_userstaged_api.py +++ b/eZmaxApi/api/object_userstaged_api.py @@ -277,7 +277,9 @@ def _userstaged_create_user_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -292,11 +294,12 @@ def _userstaged_create_user_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -553,7 +556,9 @@ def _userstaged_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -566,11 +571,12 @@ def _userstaged_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -866,7 +872,9 @@ def _userstaged_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -895,12 +903,13 @@ def _userstaged_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1144,7 +1153,9 @@ def _userstaged_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1157,11 +1168,12 @@ def _userstaged_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1421,7 +1433,9 @@ def _userstaged_map_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1436,11 +1450,12 @@ def _userstaged_map_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/object_variableexpense_api.py b/eZmaxApi/api/object_variableexpense_api.py index 37f4e228e..edd4d319e 100644 --- a/eZmaxApi/api/object_variableexpense_api.py +++ b/eZmaxApi/api/object_variableexpense_api.py @@ -262,7 +262,9 @@ def _variableexpense_create_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -275,11 +277,12 @@ def _variableexpense_create_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -552,7 +555,9 @@ def _variableexpense_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -567,11 +572,12 @@ def _variableexpense_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -864,7 +870,9 @@ def _variableexpense_get_autocomplete_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -887,11 +895,12 @@ def _variableexpense_get_autocomplete_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1187,7 +1196,9 @@ def _variableexpense_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1216,12 +1227,13 @@ def _variableexpense_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1465,7 +1477,9 @@ def _variableexpense_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1478,11 +1492,12 @@ def _variableexpense_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_versionhistory_api.py b/eZmaxApi/api/object_versionhistory_api.py index e3ac8d445..598430d83 100644 --- a/eZmaxApi/api/object_versionhistory_api.py +++ b/eZmaxApi/api/object_versionhistory_api.py @@ -257,7 +257,9 @@ def _versionhistory_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -270,11 +272,12 @@ def _versionhistory_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/object_webhook_api.py b/eZmaxApi/api/object_webhook_api.py index f0d6cf31f..d52e04e4b 100644 --- a/eZmaxApi/api/object_webhook_api.py +++ b/eZmaxApi/api/object_webhook_api.py @@ -31,6 +31,8 @@ from eZmaxApi.models.webhook_get_object_v2_response import WebhookGetObjectV2Response from eZmaxApi.models.webhook_regenerate_apikey_v1_request import WebhookRegenerateApikeyV1Request from eZmaxApi.models.webhook_regenerate_apikey_v1_response import WebhookRegenerateApikeyV1Response +from eZmaxApi.models.webhook_send_webhook_v1_request import WebhookSendWebhookV1Request +from eZmaxApi.models.webhook_send_webhook_v1_response import WebhookSendWebhookV1Response from eZmaxApi.models.webhook_test_v1_response import WebhookTestV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -266,7 +268,9 @@ def _webhook_create_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -279,11 +283,12 @@ def _webhook_create_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -540,7 +545,9 @@ def _webhook_delete_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -553,11 +560,12 @@ def _webhook_delete_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -814,7 +822,9 @@ def _webhook_edit_object_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -829,11 +839,12 @@ def _webhook_edit_object_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1106,7 +1117,9 @@ def _webhook_get_history_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1123,11 +1136,12 @@ def _webhook_get_history_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1423,7 +1437,9 @@ def _webhook_get_list_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1452,12 +1468,13 @@ def _webhook_get_list_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + ] + ) # authentication setting @@ -1701,7 +1718,9 @@ def _webhook_get_object_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1714,11 +1733,12 @@ def _webhook_get_object_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1975,7 +1995,9 @@ def _webhook_regenerate_apikey_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1990,11 +2012,286 @@ def _webhook_regenerate_apikey_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'Authorization' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/1/object/webhook/{pkiWebhookID}/regenerateApikey', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def webhook_send_webhook_v1( + self, + webhook_send_webhook_v1_request: WebhookSendWebhookV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> WebhookSendWebhookV1Response: + """Emit a Webhook event + + + :param webhook_send_webhook_v1_request: (required) + :type webhook_send_webhook_v1_request: WebhookSendWebhookV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._webhook_send_webhook_v1_serialize( + webhook_send_webhook_v1_request=webhook_send_webhook_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "WebhookSendWebhookV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def webhook_send_webhook_v1_with_http_info( + self, + webhook_send_webhook_v1_request: WebhookSendWebhookV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[WebhookSendWebhookV1Response]: + """Emit a Webhook event + + + :param webhook_send_webhook_v1_request: (required) + :type webhook_send_webhook_v1_request: WebhookSendWebhookV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._webhook_send_webhook_v1_serialize( + webhook_send_webhook_v1_request=webhook_send_webhook_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "WebhookSendWebhookV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def webhook_send_webhook_v1_without_preload_content( + self, + webhook_send_webhook_v1_request: WebhookSendWebhookV1Request, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Emit a Webhook event + + + :param webhook_send_webhook_v1_request: (required) + :type webhook_send_webhook_v1_request: WebhookSendWebhookV1Request + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._webhook_send_webhook_v1_serialize( + webhook_send_webhook_v1_request=webhook_send_webhook_v1_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "WebhookSendWebhookV1Response", + '422': "CommonResponseError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout ) + return response_data.response + + + def _webhook_send_webhook_v1_serialize( + self, + webhook_send_webhook_v1_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if webhook_send_webhook_v1_request is not None: + _body_params = webhook_send_webhook_v1_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -2017,7 +2314,7 @@ def _webhook_regenerate_apikey_v1_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/1/object/webhook/{pkiWebhookID}/regenerateApikey', + resource_path='/1/object/webhook/sendWebhook', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2264,7 +2561,9 @@ def _webhook_test_v1_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2279,11 +2578,12 @@ def _webhook_test_v1_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: diff --git a/eZmaxApi/api/scim_groups_api.py b/eZmaxApi/api/scim_groups_api.py index 10f299e04..d7b01da75 100644 --- a/eZmaxApi/api/scim_groups_api.py +++ b/eZmaxApi/api/scim_groups_api.py @@ -252,7 +252,9 @@ def _groups_create_object_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -265,11 +267,12 @@ def _groups_create_object_scim_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -520,7 +523,9 @@ def _groups_delete_object_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -782,7 +787,9 @@ def _groups_edit_object_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -797,11 +804,12 @@ def _groups_edit_object_scim_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1052,7 +1060,9 @@ def _groups_get_list_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1067,11 +1077,12 @@ def _groups_get_list_scim_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1309,7 +1320,9 @@ def _groups_get_object_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1322,11 +1335,12 @@ def _groups_get_object_scim_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/scim_service_provider_config_api.py b/eZmaxApi/api/scim_service_provider_config_api.py index f02abe7c6..d2fdbc4cf 100644 --- a/eZmaxApi/api/scim_service_provider_config_api.py +++ b/eZmaxApi/api/scim_service_provider_config_api.py @@ -236,7 +236,9 @@ def _service_provider_config_get_object_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -247,11 +249,12 @@ def _service_provider_config_get_object_scim_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api/scim_users_api.py b/eZmaxApi/api/scim_users_api.py index 6a7359668..35bf46131 100644 --- a/eZmaxApi/api/scim_users_api.py +++ b/eZmaxApi/api/scim_users_api.py @@ -253,7 +253,9 @@ def _users_create_object_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -266,11 +268,12 @@ def _users_create_object_scim_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -521,7 +524,9 @@ def _users_delete_object_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -783,7 +788,9 @@ def _users_edit_object_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -798,11 +805,12 @@ def _users_edit_object_scim_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -1053,7 +1061,9 @@ def _users_get_list_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1068,11 +1078,12 @@ def _users_get_list_scim_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -1310,7 +1321,9 @@ def _users_get_object_scim_v2_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1323,11 +1336,12 @@ def _users_get_object_scim_v2_serialize( # set the HTTP header `Accept` - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting diff --git a/eZmaxApi/api_client.py b/eZmaxApi/api_client.py index 7179b2731..b50141ef7 100644 --- a/eZmaxApi/api_client.py +++ b/eZmaxApi/api_client.py @@ -16,6 +16,7 @@ import datetime from dateutil.parser import parse from enum import Enum +import decimal import json import mimetypes import os @@ -23,7 +24,8 @@ import tempfile from urllib.parse import quote -from typing import Tuple, Optional, List, Dict +from typing import Tuple, Optional, List, Dict, Union +from pydantic import SecretStr from eZmaxApi.configuration import Configuration from eZmaxApi.api_response import ApiResponse, T as ApiResponseT @@ -66,6 +68,7 @@ class ApiClient: 'bool': bool, 'date': datetime.date, 'datetime': datetime.datetime, + 'decimal': decimal.Decimal, 'object': object, } _pool = None @@ -208,7 +211,8 @@ def param_serialize( post_params, collection_formats ) - post_params.extend(self.files_parameters(files)) + if files: + post_params.extend(self.files_parameters(files)) # auth setting self.update_params_for_auth( @@ -226,7 +230,7 @@ def param_serialize( body = self.sanitize_for_serialization(body) # request url - if _host is None: + if _host is None or self.configuration.ignore_operation_servers: url = self.configuration.host + resource_path else: # use server/host defined in path or operation instead @@ -313,7 +317,7 @@ def response_deserialize( match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type) encoding = match.group(1) if match else "utf-8" response_text = response_data.data.decode(encoding) - return_data = self.deserialize(response_text, response_type) + return_data = self.deserialize(response_text, response_type, content_type) finally: if not 200 <= response_data.status <= 299: raise ApiException.from_response( @@ -333,9 +337,11 @@ def sanitize_for_serialization(self, obj): """Builds a JSON POST object. If obj is None, return None. + If obj is SecretStr, return obj.get_secret_value() If obj is str, int, long, float, bool, return directly. If obj is datetime.datetime, datetime.date convert to string in iso8601 format. + If obj is decimal.Decimal return string representation. If obj is list, sanitize each element in the list. If obj is dict, return the dict. If obj is OpenAPI model, return the properties dict. @@ -345,6 +351,10 @@ def sanitize_for_serialization(self, obj): """ if obj is None: return None + elif isinstance(obj, Enum): + return obj.value + elif isinstance(obj, SecretStr): + return obj.get_secret_value() elif isinstance(obj, self.PRIMITIVE_TYPES): return obj elif isinstance(obj, list): @@ -357,6 +367,8 @@ def sanitize_for_serialization(self, obj): ) elif isinstance(obj, (datetime.datetime, datetime.date)): return obj.isoformat() + elif isinstance(obj, decimal.Decimal): + return str(obj) elif isinstance(obj, dict): obj_dict = obj @@ -366,28 +378,45 @@ def sanitize_for_serialization(self, obj): # and attributes which value is not None. # Convert attribute name to json key in # model definition for request. - obj_dict = obj.to_dict() + if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')): + obj_dict = obj.to_dict() + else: + obj_dict = obj.__dict__ return { key: self.sanitize_for_serialization(val) for key, val in obj_dict.items() } - def deserialize(self, response_text, response_type): + def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]): """Deserializes response into an object. :param response: RESTResponse object to be deserialized. :param response_type: class literal for deserialized object, or string of class name. + :param content_type: content type of response. :return: deserialized object. """ # fetch data from response object - try: - data = json.loads(response_text) - except ValueError: + if content_type is None: + try: + data = json.loads(response_text) + except ValueError: + data = response_text + elif re.match(r'^application/(json|[\w!#$&.+-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE): + if response_text == "": + data = "" + else: + data = json.loads(response_text) + elif re.match(r'^text\/[a-z.+-]+\s*(;|$)', content_type, re.IGNORECASE): data = response_text + else: + raise ApiException( + status=0, + reason="Unsupported content type: {0}".format(content_type) + ) return self.__deserialize(data, response_type) @@ -431,6 +460,8 @@ def __deserialize(self, data, klass): return self.__deserialize_date(data) elif klass == datetime.datetime: return self.__deserialize_datetime(data) + elif klass == decimal.Decimal: + return decimal.Decimal(data) elif issubclass(klass, Enum): return self.__deserialize_enum(data, klass) else: @@ -505,31 +536,39 @@ def parameters_to_url_query(self, params, collection_formats): return "&".join(["=".join(map(str, item)) for item in new_params]) - def files_parameters(self, files=None): + def files_parameters( + self, + files: Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]], + ): """Builds form parameters. :param files: File parameters. :return: Form parameters with files. """ params = [] - - if files: - for k, v in files.items(): - if not v: - continue - file_names = v if type(v) is list else [v] - for n in file_names: - with open(n, 'rb') as f: - filename = os.path.basename(f.name) - filedata = f.read() - mimetype = ( - mimetypes.guess_type(filename)[0] - or 'application/octet-stream' - ) - params.append( - tuple([k, tuple([filename, filedata, mimetype])]) - ) - + for k, v in files.items(): + if isinstance(v, str): + with open(v, 'rb') as f: + filename = os.path.basename(f.name) + filedata = f.read() + elif isinstance(v, bytes): + filename = k + filedata = v + elif isinstance(v, tuple): + filename, filedata = v + elif isinstance(v, list): + for file_param in v: + params.extend(self.files_parameters({k: file_param})) + continue + else: + raise ValueError("Unsupported file value") + mimetype = ( + mimetypes.guess_type(filename)[0] + or 'application/octet-stream' + ) + params.append( + tuple([k, tuple([filename, filedata, mimetype])]) + ) return params def select_header_accept(self, accepts: List[str]) -> Optional[str]: diff --git a/eZmaxApi/configuration.py b/eZmaxApi/configuration.py index 3534277ea..2f81e48f9 100644 --- a/eZmaxApi/configuration.py +++ b/eZmaxApi/configuration.py @@ -33,6 +33,9 @@ class Configuration: """This class contains various settings of the API client. :param host: Base url. + :param ignore_operation_servers + Boolean to ignore operation servers for the API client. + Config will use `host` as the base url regardless of the operation servers. :param api_key: Dict to store API key(s). Each entry in the dict specifies an API key. The dict key is the name of the security scheme in the OAS specification. @@ -55,6 +58,7 @@ class Configuration: values before. :param ssl_ca_cert: str - the path to a file of concatenated CA certificates in PEM format. + :param retries: Number of retries for API requests. :Example: @@ -86,7 +90,11 @@ def __init__(self, host=None, access_token=None, server_index=None, server_variables=None, server_operation_index=None, server_operation_variables=None, + ignore_operation_servers=False, ssl_ca_cert=None, + retries=None, + *, + debug: Optional[bool] = None ) -> None: """Constructor """ @@ -101,6 +109,9 @@ def __init__(self, host=None, self.server_operation_variables = server_operation_variables or {} """Default server variables """ + self.ignore_operation_servers = ignore_operation_servers + """Ignore operation servers + """ self.temp_folder_path = None """Temp file folder for downloading files """ @@ -144,7 +155,10 @@ def __init__(self, host=None, self.logger_file = None """Debug file location """ - self.debug = False + if debug is not None: + self.debug = debug + else: + self.__debug = False """Debug switch """ @@ -187,7 +201,7 @@ def __init__(self, host=None, self.safe_chars_for_path_param = '' """Safe chars for path_param """ - self.retries = None + self.retries = retries """Adding retries to override urllib3 default value 3 """ # Enable client side validation diff --git a/eZmaxApi/models/__init__.py b/eZmaxApi/models/__init__.py index 79d71f8d1..135852696 100644 --- a/eZmaxApi/models/__init__.py +++ b/eZmaxApi/models/__init__.py @@ -15,6 +15,9 @@ # import models into model package +from eZmaxApi.models.activesession_generate_federation_token_v1_request import ActivesessionGenerateFederationTokenV1Request +from eZmaxApi.models.activesession_generate_federation_token_v1_response import ActivesessionGenerateFederationTokenV1Response +from eZmaxApi.models.activesession_generate_federation_token_v1_response_m_payload import ActivesessionGenerateFederationTokenV1ResponseMPayload from eZmaxApi.models.activesession_get_current_v1_response import ActivesessionGetCurrentV1Response from eZmaxApi.models.activesession_get_current_v1_response_m_payload import ActivesessionGetCurrentV1ResponseMPayload from eZmaxApi.models.activesession_get_list_v1_response import ActivesessionGetListV1Response @@ -26,6 +29,8 @@ from eZmaxApi.models.activesession_response_compound_user import ActivesessionResponseCompoundUser from eZmaxApi.models.address_request import AddressRequest from eZmaxApi.models.address_request_compound import AddressRequestCompound +from eZmaxApi.models.address_response import AddressResponse +from eZmaxApi.models.address_response_compound import AddressResponseCompound from eZmaxApi.models.apikey_create_object_v2_request import ApikeyCreateObjectV2Request from eZmaxApi.models.apikey_create_object_v2_response import ApikeyCreateObjectV2Response from eZmaxApi.models.apikey_create_object_v2_response_m_payload import ApikeyCreateObjectV2ResponseMPayload @@ -34,6 +39,9 @@ from eZmaxApi.models.apikey_edit_permissions_v1_request import ApikeyEditPermissionsV1Request from eZmaxApi.models.apikey_edit_permissions_v1_response import ApikeyEditPermissionsV1Response from eZmaxApi.models.apikey_edit_permissions_v1_response_m_payload import ApikeyEditPermissionsV1ResponseMPayload +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_request import ApikeyGenerateDelegatedCredentialsV1Request +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response import ApikeyGenerateDelegatedCredentialsV1Response +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response_m_payload import ApikeyGenerateDelegatedCredentialsV1ResponseMPayload from eZmaxApi.models.apikey_get_cors_v1_response import ApikeyGetCorsV1Response from eZmaxApi.models.apikey_get_cors_v1_response_m_payload import ApikeyGetCorsV1ResponseMPayload from eZmaxApi.models.apikey_get_list_v1_response import ApikeyGetListV1Response @@ -54,15 +62,35 @@ from eZmaxApi.models.apikey_response_compound import ApikeyResponseCompound from eZmaxApi.models.attachment_get_attachmentlogs_v1_response import AttachmentGetAttachmentlogsV1Response from eZmaxApi.models.attachment_get_attachmentlogs_v1_response_m_payload import AttachmentGetAttachmentlogsV1ResponseMPayload -from eZmaxApi.models.attachment_get_download_url_v1_response import AttachmentGetDownloadUrlV1Response -from eZmaxApi.models.attachment_get_download_url_v1_response_m_payload import AttachmentGetDownloadUrlV1ResponseMPayload from eZmaxApi.models.attachment_response import AttachmentResponse from eZmaxApi.models.attachment_response_compound import AttachmentResponseCompound from eZmaxApi.models.attachmentlog_response import AttachmentlogResponse from eZmaxApi.models.attachmentlog_response_compound import AttachmentlogResponseCompound from eZmaxApi.models.attempt_response import AttemptResponse from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound +from eZmaxApi.models.authenticationexternal_autocomplete_element_response import AuthenticationexternalAutocompleteElementResponse +from eZmaxApi.models.authenticationexternal_create_object_v1_request import AuthenticationexternalCreateObjectV1Request +from eZmaxApi.models.authenticationexternal_create_object_v1_response import AuthenticationexternalCreateObjectV1Response +from eZmaxApi.models.authenticationexternal_create_object_v1_response_m_payload import AuthenticationexternalCreateObjectV1ResponseMPayload +from eZmaxApi.models.authenticationexternal_delete_object_v1_response import AuthenticationexternalDeleteObjectV1Response +from eZmaxApi.models.authenticationexternal_edit_object_v1_request import AuthenticationexternalEditObjectV1Request +from eZmaxApi.models.authenticationexternal_edit_object_v1_response import AuthenticationexternalEditObjectV1Response +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response import AuthenticationexternalGetAutocompleteV2Response +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response_m_payload import AuthenticationexternalGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.authenticationexternal_get_list_v1_response import AuthenticationexternalGetListV1Response +from eZmaxApi.models.authenticationexternal_get_list_v1_response_m_payload import AuthenticationexternalGetListV1ResponseMPayload +from eZmaxApi.models.authenticationexternal_get_object_v2_response import AuthenticationexternalGetObjectV2Response +from eZmaxApi.models.authenticationexternal_get_object_v2_response_m_payload import AuthenticationexternalGetObjectV2ResponseMPayload +from eZmaxApi.models.authenticationexternal_list_element import AuthenticationexternalListElement +from eZmaxApi.models.authenticationexternal_request import AuthenticationexternalRequest +from eZmaxApi.models.authenticationexternal_request_compound import AuthenticationexternalRequestCompound +from eZmaxApi.models.authenticationexternal_reset_authorization_v1_response import AuthenticationexternalResetAuthorizationV1Response +from eZmaxApi.models.authenticationexternal_response import AuthenticationexternalResponse +from eZmaxApi.models.authenticationexternal_response_compound import AuthenticationexternalResponseCompound from eZmaxApi.models.billingentityexternal_autocomplete_element_response import BillingentityexternalAutocompleteElementResponse +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_request import BillingentityexternalGenerateFederationTokenV1Request +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response import BillingentityexternalGenerateFederationTokenV1Response +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response_m_payload import BillingentityexternalGenerateFederationTokenV1ResponseMPayload from eZmaxApi.models.billingentityexternal_get_autocomplete_v2_response import BillingentityexternalGetAutocompleteV2Response from eZmaxApi.models.billingentityexternal_get_autocomplete_v2_response_m_payload import BillingentityexternalGetAutocompleteV2ResponseMPayload from eZmaxApi.models.billingentityinternal_autocomplete_element_response import BillingentityinternalAutocompleteElementResponse @@ -87,27 +115,37 @@ from eZmaxApi.models.billingentityinternalproduct_response import BillingentityinternalproductResponse from eZmaxApi.models.billingentityinternalproduct_response_compound import BillingentityinternalproductResponseCompound from eZmaxApi.models.branding_autocomplete_element_response import BrandingAutocompleteElementResponse -from eZmaxApi.models.branding_create_object_v1_request import BrandingCreateObjectV1Request -from eZmaxApi.models.branding_create_object_v1_response import BrandingCreateObjectV1Response -from eZmaxApi.models.branding_create_object_v1_response_m_payload import BrandingCreateObjectV1ResponseMPayload -from eZmaxApi.models.branding_edit_object_v1_request import BrandingEditObjectV1Request -from eZmaxApi.models.branding_edit_object_v1_response import BrandingEditObjectV1Response +from eZmaxApi.models.branding_create_object_v2_request import BrandingCreateObjectV2Request +from eZmaxApi.models.branding_create_object_v2_response import BrandingCreateObjectV2Response +from eZmaxApi.models.branding_create_object_v2_response_m_payload import BrandingCreateObjectV2ResponseMPayload +from eZmaxApi.models.branding_edit_object_v2_request import BrandingEditObjectV2Request +from eZmaxApi.models.branding_edit_object_v2_response import BrandingEditObjectV2Response from eZmaxApi.models.branding_get_autocomplete_v2_response import BrandingGetAutocompleteV2Response from eZmaxApi.models.branding_get_autocomplete_v2_response_m_payload import BrandingGetAutocompleteV2ResponseMPayload from eZmaxApi.models.branding_get_list_v1_response import BrandingGetListV1Response from eZmaxApi.models.branding_get_list_v1_response_m_payload import BrandingGetListV1ResponseMPayload -from eZmaxApi.models.branding_get_object_v2_response import BrandingGetObjectV2Response -from eZmaxApi.models.branding_get_object_v2_response_m_payload import BrandingGetObjectV2ResponseMPayload +from eZmaxApi.models.branding_get_object_v3_response import BrandingGetObjectV3Response +from eZmaxApi.models.branding_get_object_v3_response_m_payload import BrandingGetObjectV3ResponseMPayload from eZmaxApi.models.branding_list_element import BrandingListElement -from eZmaxApi.models.branding_request import BrandingRequest -from eZmaxApi.models.branding_request_compound import BrandingRequestCompound -from eZmaxApi.models.branding_response import BrandingResponse -from eZmaxApi.models.branding_response_compound import BrandingResponseCompound +from eZmaxApi.models.branding_request_compound_v2 import BrandingRequestCompoundV2 +from eZmaxApi.models.branding_request_v2 import BrandingRequestV2 +from eZmaxApi.models.branding_response_compound_v3 import BrandingResponseCompoundV3 +from eZmaxApi.models.branding_response_v3 import BrandingResponseV3 +from eZmaxApi.models.buyercontract_get_communication_count_v1_response import BuyercontractGetCommunicationCountV1Response +from eZmaxApi.models.buyercontract_get_communication_count_v1_response_m_payload import BuyercontractGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.buyercontract_get_communication_list_v1_response import BuyercontractGetCommunicationListV1Response from eZmaxApi.models.buyercontract_get_communication_list_v1_response_m_payload import BuyercontractGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response import BuyercontractGetCommunicationrecipientsV1Response +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response_m_payload import BuyercontractGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response import BuyercontractGetCommunicationsendersV1Response +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response_m_payload import BuyercontractGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.clonehistory_get_list_v1_response import ClonehistoryGetListV1Response from eZmaxApi.models.clonehistory_get_list_v1_response_m_payload import ClonehistoryGetListV1ResponseMPayload from eZmaxApi.models.clonehistory_list_element import ClonehistoryListElement +from eZmaxApi.models.colleague_request_compound_v2 import ColleagueRequestCompoundV2 +from eZmaxApi.models.colleague_request_v2 import ColleagueRequestV2 +from eZmaxApi.models.colleague_response_compound_v2 import ColleagueResponseCompoundV2 +from eZmaxApi.models.colleague_response_v2 import ColleagueResponseV2 from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.common_auditdetail import CommonAuditdetail from eZmaxApi.models.common_file import CommonFile @@ -125,9 +163,11 @@ from eZmaxApi.models.common_reportsubsectionpart import CommonReportsubsectionpart from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_error import CommonResponseError +from eZmaxApi.models.common_response_error_creditcard_validation import CommonResponseErrorCreditcardValidation from eZmaxApi.models.common_response_error_ezsignform_validation import CommonResponseErrorEzsignformValidation from eZmaxApi.models.common_response_error_s_temporary_file_url import CommonResponseErrorSTemporaryFileUrl from eZmaxApi.models.common_response_error_too_many_requests import CommonResponseErrorTooManyRequests +from eZmaxApi.models.common_response_error_wrong_franchiseoffice import CommonResponseErrorWrongFranchiseoffice from eZmaxApi.models.common_response_filter import CommonResponseFilter from eZmaxApi.models.common_response_get_list import CommonResponseGetList from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug @@ -137,11 +177,11 @@ from eZmaxApi.models.common_response_redirect_s_secretquestion_text_x import CommonResponseRedirectSSecretquestionTextX from eZmaxApi.models.common_response_warning import CommonResponseWarning from eZmaxApi.models.common_webhook import CommonWebhook -from eZmaxApi.models.communication_create_object_v1_response_m_payload import CommunicationCreateObjectV1ResponseMPayload from eZmaxApi.models.communication_request import CommunicationRequest from eZmaxApi.models.communication_request_compound import CommunicationRequestCompound from eZmaxApi.models.communication_send_v1_request import CommunicationSendV1Request from eZmaxApi.models.communication_send_v1_response import CommunicationSendV1Response +from eZmaxApi.models.communication_send_v1_response_m_payload import CommunicationSendV1ResponseMPayload from eZmaxApi.models.communicationattachment_request import CommunicationattachmentRequest from eZmaxApi.models.communicationattachment_request_compound import CommunicationattachmentRequestCompound from eZmaxApi.models.communicationexternalrecipient_request import CommunicationexternalrecipientRequest @@ -155,10 +195,22 @@ from eZmaxApi.models.company_get_autocomplete_v2_response_m_payload import CompanyGetAutocompleteV2ResponseMPayload from eZmaxApi.models.computed_e_communication_direction import ComputedECommunicationDirection from eZmaxApi.models.computed_e_ezsigndocument_steptype import ComputedEEzsigndocumentSteptype +from eZmaxApi.models.computed_e_ezsignfolder_access import ComputedEEzsignfolderAccess from eZmaxApi.models.contact_request import ContactRequest from eZmaxApi.models.contact_request_compound import ContactRequestCompound +from eZmaxApi.models.contact_request_compound_v2 import ContactRequestCompoundV2 +from eZmaxApi.models.contact_request_v2 import ContactRequestV2 +from eZmaxApi.models.contact_response import ContactResponse +from eZmaxApi.models.contact_response_compound import ContactResponseCompound from eZmaxApi.models.contactinformations_request import ContactinformationsRequest from eZmaxApi.models.contactinformations_request_compound import ContactinformationsRequestCompound +from eZmaxApi.models.contactinformations_request_compound_v2 import ContactinformationsRequestCompoundV2 +from eZmaxApi.models.contactinformations_request_v2 import ContactinformationsRequestV2 +from eZmaxApi.models.contactinformations_response import ContactinformationsResponse +from eZmaxApi.models.contactinformations_response_compound import ContactinformationsResponseCompound +from eZmaxApi.models.contacttitle_autocomplete_element_response import ContacttitleAutocompleteElementResponse +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response import ContacttitleGetAutocompleteV2Response +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response_m_payload import ContacttitleGetAutocompleteV2ResponseMPayload from eZmaxApi.models.cors_create_object_v1_request import CorsCreateObjectV1Request from eZmaxApi.models.cors_create_object_v1_response import CorsCreateObjectV1Response from eZmaxApi.models.cors_create_object_v1_response_m_payload import CorsCreateObjectV1ResponseMPayload @@ -188,8 +240,11 @@ from eZmaxApi.models.creditcardclient_get_object_v2_response import CreditcardclientGetObjectV2Response from eZmaxApi.models.creditcardclient_get_object_v2_response_m_payload import CreditcardclientGetObjectV2ResponseMPayload from eZmaxApi.models.creditcardclient_list_element import CreditcardclientListElement +from eZmaxApi.models.creditcardclient_patch_object_v1_request import CreditcardclientPatchObjectV1Request +from eZmaxApi.models.creditcardclient_patch_object_v1_response import CreditcardclientPatchObjectV1Response from eZmaxApi.models.creditcardclient_request import CreditcardclientRequest from eZmaxApi.models.creditcardclient_request_compound import CreditcardclientRequestCompound +from eZmaxApi.models.creditcardclient_request_patch import CreditcardclientRequestPatch from eZmaxApi.models.creditcardclient_response import CreditcardclientResponse from eZmaxApi.models.creditcardclient_response_compound import CreditcardclientResponseCompound from eZmaxApi.models.creditcarddetail_request import CreditcarddetailRequest @@ -198,8 +253,11 @@ from eZmaxApi.models.creditcardtype_autocomplete_element_response import CreditcardtypeAutocompleteElementResponse from eZmaxApi.models.creditcardtype_get_autocomplete_v2_response import CreditcardtypeGetAutocompleteV2Response from eZmaxApi.models.creditcardtype_get_autocomplete_v2_response_m_payload import CreditcardtypeGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.custom_apikey import CustomApikey +from eZmaxApi.models.custom_apikeyfederation import CustomApikeyfederation from eZmaxApi.models.custom_attachment_response import CustomAttachmentResponse from eZmaxApi.models.custom_attachmentdocumenttype_response import CustomAttachmentdocumenttypeResponse +from eZmaxApi.models.custom_branding_response import CustomBrandingResponse from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse from eZmaxApi.models.custom_communicationattachment_request import CustomCommunicationattachmentRequest from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse @@ -209,16 +267,22 @@ from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse from eZmaxApi.models.custom_create_ezsignelements_positioned_by_word_request import CustomCreateEzsignelementsPositionedByWordRequest from eZmaxApi.models.custom_creditcardtransaction_response import CustomCreditcardtransactionResponse +from eZmaxApi.models.custom_creditcardtransactionresponse_response import CustomCreditcardtransactionresponseResponse from eZmaxApi.models.custom_discussionconfiguration_response import CustomDiscussionconfigurationResponse +from eZmaxApi.models.custom_dnsrecord_response import CustomDnsrecordResponse from eZmaxApi.models.custom_dropdown_element_request import CustomDropdownElementRequest from eZmaxApi.models.custom_dropdown_element_request_compound import CustomDropdownElementRequestCompound from eZmaxApi.models.custom_dropdown_element_response import CustomDropdownElementResponse from eZmaxApi.models.custom_dropdown_element_response_compound import CustomDropdownElementResponseCompound +from eZmaxApi.models.custom_e_webhook_ezsignevent import CustomEWebhookEzsignevent from eZmaxApi.models.custom_ezmaxinvoicing_ezsigndocument_response import CustomEzmaxinvoicingEzsigndocumentResponse from eZmaxApi.models.custom_ezmaxinvoicing_ezsignfolder_response import CustomEzmaxinvoicingEzsignfolderResponse from eZmaxApi.models.custom_ezmaxpricing_response import CustomEzmaxpricingResponse from eZmaxApi.models.custom_ezsigndocument_ezsignsignatures_automatic_response import CustomEzsigndocumentEzsignsignaturesAutomaticResponse +from eZmaxApi.models.custom_ezsigndocument_request import CustomEzsigndocumentRequest from eZmaxApi.models.custom_ezsignfolder_ezsignsignatures_automatic_response import CustomEzsignfolderEzsignsignaturesAutomaticResponse +from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_response import CustomEzsignfolderezsigntemplatepublicResponse +from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_signer_response import CustomEzsignfolderezsigntemplatepublicSignerResponse from eZmaxApi.models.custom_ezsignfoldersignerassociation_actionable_element_response import CustomEzsignfoldersignerassociationActionableElementResponse from eZmaxApi.models.custom_ezsignfoldersignerassociationstatus_response import CustomEzsignfoldersignerassociationstatusResponse from eZmaxApi.models.custom_ezsignfoldertransmission_response import CustomEzsignfoldertransmissionResponse @@ -240,11 +304,21 @@ from eZmaxApi.models.custom_import_ezsigntemplatepackage_relation_request import CustomImportEzsigntemplatepackageRelationRequest from eZmaxApi.models.custom_notificationsubsectiongetnotificationtests_response import CustomNotificationsubsectiongetnotificationtestsResponse from eZmaxApi.models.custom_notificationtestgetnotificationtests_response import CustomNotificationtestgetnotificationtestsResponse -from eZmaxApi.models.custom_user_response import CustomUserResponse +from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse +from eZmaxApi.models.custom_user_name_response import CustomUserNameResponse from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.custom_webhooklog_response import CustomWebhooklogResponse from eZmaxApi.models.custom_word_position_occurence_response import CustomWordPositionOccurenceResponse from eZmaxApi.models.custom_word_position_word_response import CustomWordPositionWordResponse +from eZmaxApi.models.customer_create_object_v1_request import CustomerCreateObjectV1Request +from eZmaxApi.models.customer_create_object_v1_response import CustomerCreateObjectV1Response +from eZmaxApi.models.customer_create_object_v1_response_m_payload import CustomerCreateObjectV1ResponseMPayload +from eZmaxApi.models.customer_get_object_v2_response import CustomerGetObjectV2Response +from eZmaxApi.models.customer_get_object_v2_response_m_payload import CustomerGetObjectV2ResponseMPayload +from eZmaxApi.models.customer_request import CustomerRequest +from eZmaxApi.models.customer_request_compound import CustomerRequestCompound +from eZmaxApi.models.customer_response import CustomerResponse +from eZmaxApi.models.customer_response_compound import CustomerResponseCompound from eZmaxApi.models.department_autocomplete_element_response import DepartmentAutocompleteElementResponse from eZmaxApi.models.department_get_autocomplete_v2_response import DepartmentGetAutocompleteV2Response from eZmaxApi.models.department_get_autocomplete_v2_response_m_payload import DepartmentGetAutocompleteV2ResponseMPayload @@ -282,8 +356,27 @@ from eZmaxApi.models.discussionmessage_request_patch import DiscussionmessageRequestPatch from eZmaxApi.models.discussionmessage_response import DiscussionmessageResponse from eZmaxApi.models.discussionmessage_response_compound import DiscussionmessageResponseCompound +from eZmaxApi.models.domain_create_object_v1_request import DomainCreateObjectV1Request +from eZmaxApi.models.domain_create_object_v1_response import DomainCreateObjectV1Response +from eZmaxApi.models.domain_create_object_v1_response_m_payload import DomainCreateObjectV1ResponseMPayload +from eZmaxApi.models.domain_delete_object_v1_response import DomainDeleteObjectV1Response +from eZmaxApi.models.domain_get_list_v1_response import DomainGetListV1Response +from eZmaxApi.models.domain_get_list_v1_response_m_payload import DomainGetListV1ResponseMPayload +from eZmaxApi.models.domain_get_object_v2_response import DomainGetObjectV2Response +from eZmaxApi.models.domain_get_object_v2_response_m_payload import DomainGetObjectV2ResponseMPayload +from eZmaxApi.models.domain_list_element import DomainListElement +from eZmaxApi.models.domain_request import DomainRequest +from eZmaxApi.models.domain_request_compound import DomainRequestCompound +from eZmaxApi.models.domain_response import DomainResponse +from eZmaxApi.models.domain_response_compound import DomainResponseCompound +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response import ElectronicfundstransferGetCommunicationCountV1Response +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response_m_payload import ElectronicfundstransferGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response import ElectronicfundstransferGetCommunicationListV1Response from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response_m_payload import ElectronicfundstransferGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response import ElectronicfundstransferGetCommunicationrecipientsV1Response +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload import ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response import ElectronicfundstransferGetCommunicationsendersV1Response +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response_m_payload import ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.email_request import EmailRequest from eZmaxApi.models.email_request_compound import EmailRequestCompound from eZmaxApi.models.email_response import EmailResponse @@ -296,6 +389,32 @@ from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.enum_verticalalignment import EnumVerticalalignment +from eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response import EzdoctemplatedocumentAutocompleteElementResponse +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_request import EzdoctemplatedocumentCreateObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response import EzdoctemplatedocumentCreateObjectV1Response +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response_m_payload import EzdoctemplatedocumentCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_request import EzdoctemplatedocumentEditObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_response import EzdoctemplatedocumentEditObjectV1Response +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response import EzdoctemplatedocumentGetAutocompleteV2Response +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload import EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response import EzdoctemplatedocumentGetListV1Response +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload import EzdoctemplatedocumentGetListV1ResponseMPayload +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response import EzdoctemplatedocumentGetObjectV2Response +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response_m_payload import EzdoctemplatedocumentGetObjectV2ResponseMPayload +from eZmaxApi.models.ezdoctemplatedocument_list_element import EzdoctemplatedocumentListElement +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_request import EzdoctemplatedocumentPatchObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_response import EzdoctemplatedocumentPatchObjectV1Response +from eZmaxApi.models.ezdoctemplatedocument_request import EzdoctemplatedocumentRequest +from eZmaxApi.models.ezdoctemplatedocument_request_compound import EzdoctemplatedocumentRequestCompound +from eZmaxApi.models.ezdoctemplatedocument_request_patch import EzdoctemplatedocumentRequestPatch +from eZmaxApi.models.ezdoctemplatedocument_response import EzdoctemplatedocumentResponse +from eZmaxApi.models.ezdoctemplatedocument_response_compound import EzdoctemplatedocumentResponseCompound +from eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response import EzdoctemplatefieldtypecategoryAutocompleteElementResponse +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response import EzdoctemplatefieldtypecategoryGetAutocompleteV2Response +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload import EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response import EzdoctemplatetypeAutocompleteElementResponse +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response import EzdoctemplatetypeGetAutocompleteV2Response +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response_m_payload import EzdoctemplatetypeGetAutocompleteV2ResponseMPayload from eZmaxApi.models.ezmaxinvoicing_autocomplete_element_response import EzmaxinvoicingAutocompleteElementResponse from eZmaxApi.models.ezmaxinvoicing_get_autocomplete_v2_response import EzmaxinvoicingGetAutocompleteV2Response from eZmaxApi.models.ezmaxinvoicing_get_autocomplete_v2_response_m_payload import EzmaxinvoicingGetAutocompleteV2ResponseMPayload @@ -326,15 +445,21 @@ from eZmaxApi.models.ezmaxproduct_autocomplete_element_response import EzmaxproductAutocompleteElementResponse from eZmaxApi.models.ezmaxproduct_get_autocomplete_v2_response import EzmaxproductGetAutocompleteV2Response from eZmaxApi.models.ezmaxproduct_get_autocomplete_v2_response_m_payload import EzmaxproductGetAutocompleteV2ResponseMPayload -from eZmaxApi.models.ezsign_suggest_signers_v1_response import EzsignSuggestSignersV1Response -from eZmaxApi.models.ezsign_suggest_signers_v1_response_m_payload import EzsignSuggestSignersV1ResponseMPayload -from eZmaxApi.models.ezsign_suggest_templates_v1_response import EzsignSuggestTemplatesV1Response -from eZmaxApi.models.ezsign_suggest_templates_v1_response_m_payload import EzsignSuggestTemplatesV1ResponseMPayload +from eZmaxApi.models.ezsignannotation_create_object_v1_request import EzsignannotationCreateObjectV1Request +from eZmaxApi.models.ezsignannotation_create_object_v1_response import EzsignannotationCreateObjectV1Response +from eZmaxApi.models.ezsignannotation_create_object_v1_response_m_payload import EzsignannotationCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezsignannotation_delete_object_v1_response import EzsignannotationDeleteObjectV1Response +from eZmaxApi.models.ezsignannotation_edit_object_v1_request import EzsignannotationEditObjectV1Request +from eZmaxApi.models.ezsignannotation_edit_object_v1_response import EzsignannotationEditObjectV1Response +from eZmaxApi.models.ezsignannotation_get_object_v2_response import EzsignannotationGetObjectV2Response +from eZmaxApi.models.ezsignannotation_get_object_v2_response_m_payload import EzsignannotationGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsignannotation_request import EzsignannotationRequest +from eZmaxApi.models.ezsignannotation_request_compound import EzsignannotationRequestCompound from eZmaxApi.models.ezsignannotation_response import EzsignannotationResponse from eZmaxApi.models.ezsignannotation_response_compound import EzsignannotationResponseCompound -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_request import EzsignbulksendCreateEzsignbulksendtransmissionV1Request -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response import EzsignbulksendCreateEzsignbulksendtransmissionV1Response -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_request import EzsignbulksendCreateEzsignbulksendtransmissionV2Request +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response import EzsignbulksendCreateEzsignbulksendtransmissionV2Response +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload from eZmaxApi.models.ezsignbulksend_create_object_v1_request import EzsignbulksendCreateObjectV1Request from eZmaxApi.models.ezsignbulksend_create_object_v1_response import EzsignbulksendCreateObjectV1Response from eZmaxApi.models.ezsignbulksend_create_object_v1_response_m_payload import EzsignbulksendCreateObjectV1ResponseMPayload @@ -402,6 +527,7 @@ from eZmaxApi.models.ezsigndocument_apply_ezsigntemplate_v2_response import EzsigndocumentApplyEzsigntemplateV2Response from eZmaxApi.models.ezsigndocument_apply_ezsigntemplateglobal_v1_request import EzsigndocumentApplyEzsigntemplateglobalV1Request from eZmaxApi.models.ezsigndocument_apply_ezsigntemplateglobal_v1_response import EzsigndocumentApplyEzsigntemplateglobalV1Response +from eZmaxApi.models.ezsigndocument_create_element_v3_response import EzsigndocumentCreateElementV3Response from eZmaxApi.models.ezsigndocument_create_ezsignelements_positioned_by_word_v1_request import EzsigndocumentCreateEzsignelementsPositionedByWordV1Request from eZmaxApi.models.ezsigndocument_create_ezsignelements_positioned_by_word_v1_response import EzsigndocumentCreateEzsignelementsPositionedByWordV1Response from eZmaxApi.models.ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload import EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload @@ -411,16 +537,27 @@ from eZmaxApi.models.ezsigndocument_create_object_v2_request import EzsigndocumentCreateObjectV2Request from eZmaxApi.models.ezsigndocument_create_object_v2_response import EzsigndocumentCreateObjectV2Response from eZmaxApi.models.ezsigndocument_create_object_v2_response_m_payload import EzsigndocumentCreateObjectV2ResponseMPayload +from eZmaxApi.models.ezsigndocument_create_object_v3_request import EzsigndocumentCreateObjectV3Request +from eZmaxApi.models.ezsigndocument_create_object_v3_response import EzsigndocumentCreateObjectV3Response +from eZmaxApi.models.ezsigndocument_create_object_v3_response_m_payload import EzsigndocumentCreateObjectV3ResponseMPayload from eZmaxApi.models.ezsigndocument_decline_to_sign_v1_request import EzsigndocumentDeclineToSignV1Request from eZmaxApi.models.ezsigndocument_decline_to_sign_v1_response import EzsigndocumentDeclineToSignV1Response from eZmaxApi.models.ezsigndocument_delete_object_v1_response import EzsigndocumentDeleteObjectV1Response +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_request import EzsigndocumentEditEzsignannotationsV1Request +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response import EzsigndocumentEditEzsignannotationsV1Response +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response_m_payload import EzsigndocumentEditEzsignannotationsV1ResponseMPayload from eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_request import EzsigndocumentEditEzsignformfieldgroupsV1Request from eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_response import EzsigndocumentEditEzsignformfieldgroupsV1Response from eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload import EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload from eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_request import EzsigndocumentEditEzsignsignaturesV1Request from eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_response import EzsigndocumentEditEzsignsignaturesV1Response from eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_response_m_payload import EzsigndocumentEditEzsignsignaturesV1ResponseMPayload +from eZmaxApi.models.ezsigndocument_edit_object_v1_request import EzsigndocumentEditObjectV1Request +from eZmaxApi.models.ezsigndocument_edit_object_v1_response import EzsigndocumentEditObjectV1Response from eZmaxApi.models.ezsigndocument_end_prematurely_v1_response import EzsigndocumentEndPrematurelyV1Response +from eZmaxApi.models.ezsigndocument_extract_text_v1_request import EzsigndocumentExtractTextV1Request +from eZmaxApi.models.ezsigndocument_extract_text_v1_response import EzsigndocumentExtractTextV1Response +from eZmaxApi.models.ezsigndocument_extract_text_v1_response_m_payload import EzsigndocumentExtractTextV1ResponseMPayload from eZmaxApi.models.ezsigndocument_flatten_v1_response import EzsigndocumentFlattenV1Response from eZmaxApi.models.ezsigndocument_get_actionable_elements_v1_response import EzsigndocumentGetActionableElementsV1Response from eZmaxApi.models.ezsigndocument_get_actionable_elements_v1_response_m_payload import EzsigndocumentGetActionableElementsV1ResponseMPayload @@ -452,6 +589,7 @@ from eZmaxApi.models.ezsigndocument_get_temporary_proof_v1_response_m_payload import EzsigndocumentGetTemporaryProofV1ResponseMPayload from eZmaxApi.models.ezsigndocument_get_words_positions_v1_request import EzsigndocumentGetWordsPositionsV1Request from eZmaxApi.models.ezsigndocument_get_words_positions_v1_response import EzsigndocumentGetWordsPositionsV1Response +from eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response import EzsigndocumentMatchingtemplateV3Response from eZmaxApi.models.ezsigndocument_patch_object_v1_request import EzsigndocumentPatchObjectV1Request from eZmaxApi.models.ezsigndocument_patch_object_v1_response import EzsigndocumentPatchObjectV1Response from eZmaxApi.models.ezsigndocument_request import EzsigndocumentRequest @@ -462,6 +600,9 @@ from eZmaxApi.models.ezsigndocument_submit_ezsignform_v1_request import EzsigndocumentSubmitEzsignformV1Request from eZmaxApi.models.ezsigndocument_submit_ezsignform_v1_response import EzsigndocumentSubmitEzsignformV1Response from eZmaxApi.models.ezsigndocument_unsend_v1_response import EzsigndocumentUnsendV1Response +from eZmaxApi.models.ezsigndocumentdependency_request import EzsigndocumentdependencyRequest +from eZmaxApi.models.ezsigndocumentdependency_request_compound import EzsigndocumentdependencyRequestCompound +from eZmaxApi.models.ezsigndocumentdependency_response import EzsigndocumentdependencyResponse from eZmaxApi.models.ezsigndocumentlog_response import EzsigndocumentlogResponse from eZmaxApi.models.ezsigndocumentlog_response_compound import EzsigndocumentlogResponseCompound from eZmaxApi.models.ezsignelementdependency_request import EzsignelementdependencyRequest @@ -476,12 +617,15 @@ from eZmaxApi.models.ezsignfolder_create_object_v2_request import EzsignfolderCreateObjectV2Request from eZmaxApi.models.ezsignfolder_create_object_v2_response import EzsignfolderCreateObjectV2Response from eZmaxApi.models.ezsignfolder_create_object_v2_response_m_payload import EzsignfolderCreateObjectV2ResponseMPayload +from eZmaxApi.models.ezsignfolder_create_object_v3_request import EzsignfolderCreateObjectV3Request +from eZmaxApi.models.ezsignfolder_create_object_v3_response import EzsignfolderCreateObjectV3Response +from eZmaxApi.models.ezsignfolder_create_object_v3_response_m_payload import EzsignfolderCreateObjectV3ResponseMPayload from eZmaxApi.models.ezsignfolder_delete_object_v1_response import EzsignfolderDeleteObjectV1Response from eZmaxApi.models.ezsignfolder_dispose_ezsignfolders_v1_request import EzsignfolderDisposeEzsignfoldersV1Request from eZmaxApi.models.ezsignfolder_dispose_ezsignfolders_v1_response import EzsignfolderDisposeEzsignfoldersV1Response from eZmaxApi.models.ezsignfolder_dispose_v1_response import EzsignfolderDisposeV1Response -from eZmaxApi.models.ezsignfolder_edit_object_v1_request import EzsignfolderEditObjectV1Request -from eZmaxApi.models.ezsignfolder_edit_object_v1_response import EzsignfolderEditObjectV1Response +from eZmaxApi.models.ezsignfolder_edit_object_v3_request import EzsignfolderEditObjectV3Request +from eZmaxApi.models.ezsignfolder_edit_object_v3_response import EzsignfolderEditObjectV3Response from eZmaxApi.models.ezsignfolder_end_prematurely_v1_response import EzsignfolderEndPrematurelyV1Response from eZmaxApi.models.ezsignfolder_get_actionable_elements_v1_response import EzsignfolderGetActionableElementsV1Response from eZmaxApi.models.ezsignfolder_get_actionable_elements_v1_response_m_payload import EzsignfolderGetActionableElementsV1ResponseMPayload @@ -511,6 +655,8 @@ from eZmaxApi.models.ezsignfolder_get_object_v1_response_m_payload import EzsignfolderGetObjectV1ResponseMPayload from eZmaxApi.models.ezsignfolder_get_object_v2_response import EzsignfolderGetObjectV2Response from eZmaxApi.models.ezsignfolder_get_object_v2_response_m_payload import EzsignfolderGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsignfolder_get_object_v3_response import EzsignfolderGetObjectV3Response +from eZmaxApi.models.ezsignfolder_get_object_v3_response_m_payload import EzsignfolderGetObjectV3ResponseMPayload from eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_request import EzsignfolderImportEzsignfoldersignerassociationsV1Request from eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_response import EzsignfolderImportEzsignfoldersignerassociationsV1Response from eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload import EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload @@ -520,10 +666,16 @@ from eZmaxApi.models.ezsignfolder_list_element import EzsignfolderListElement from eZmaxApi.models.ezsignfolder_reorder_v1_request import EzsignfolderReorderV1Request from eZmaxApi.models.ezsignfolder_reorder_v1_response import EzsignfolderReorderV1Response +from eZmaxApi.models.ezsignfolder_reorder_v2_request import EzsignfolderReorderV2Request +from eZmaxApi.models.ezsignfolder_reorder_v2_response import EzsignfolderReorderV2Response from eZmaxApi.models.ezsignfolder_request import EzsignfolderRequest from eZmaxApi.models.ezsignfolder_request_compound import EzsignfolderRequestCompound +from eZmaxApi.models.ezsignfolder_request_compound_v3 import EzsignfolderRequestCompoundV3 +from eZmaxApi.models.ezsignfolder_request_v3 import EzsignfolderRequestV3 from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from eZmaxApi.models.ezsignfolder_response_compound import EzsignfolderResponseCompound +from eZmaxApi.models.ezsignfolder_response_compound_v3 import EzsignfolderResponseCompoundV3 +from eZmaxApi.models.ezsignfolder_response_v3 import EzsignfolderResponseV3 from eZmaxApi.models.ezsignfolder_send_v1_request import EzsignfolderSendV1Request from eZmaxApi.models.ezsignfolder_send_v1_response import EzsignfolderSendV1Response from eZmaxApi.models.ezsignfolder_send_v3_request import EzsignfolderSendV3Request @@ -550,6 +702,8 @@ from eZmaxApi.models.ezsignfoldersignerassociation_get_object_v2_response_m_payload import EzsignfoldersignerassociationGetObjectV2ResponseMPayload from eZmaxApi.models.ezsignfoldersignerassociation_patch_object_v1_request import EzsignfoldersignerassociationPatchObjectV1Request from eZmaxApi.models.ezsignfoldersignerassociation_patch_object_v1_response import EzsignfoldersignerassociationPatchObjectV1Response +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_request import EzsignfoldersignerassociationReassignV1Request +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_response import EzsignfoldersignerassociationReassignV1Response from eZmaxApi.models.ezsignfoldersignerassociation_request import EzsignfoldersignerassociationRequest from eZmaxApi.models.ezsignfoldersignerassociation_request_compound import EzsignfoldersignerassociationRequestCompound from eZmaxApi.models.ezsignfoldersignerassociation_request_patch import EzsignfoldersignerassociationRequestPatch @@ -557,30 +711,26 @@ from eZmaxApi.models.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound from eZmaxApi.models.ezsignfoldersignerassociation_response_compound_user import EzsignfoldersignerassociationResponseCompoundUser from eZmaxApi.models.ezsignfoldertype_autocomplete_element_response import EzsignfoldertypeAutocompleteElementResponse -from eZmaxApi.models.ezsignfoldertype_create_object_v2_request import EzsignfoldertypeCreateObjectV2Request -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response import EzsignfoldertypeCreateObjectV2Response -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response_m_payload import EzsignfoldertypeCreateObjectV2ResponseMPayload -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_request import EzsignfoldertypeEditObjectV1Request -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_response import EzsignfoldertypeEditObjectV1Response -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_request import EzsignfoldertypeEditObjectV2Request -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_response import EzsignfoldertypeEditObjectV2Response +from eZmaxApi.models.ezsignfoldertype_create_object_v3_request import EzsignfoldertypeCreateObjectV3Request +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response import EzsignfoldertypeCreateObjectV3Response +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response_m_payload import EzsignfoldertypeCreateObjectV3ResponseMPayload +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_request import EzsignfoldertypeEditObjectV3Request +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_response import EzsignfoldertypeEditObjectV3Response from eZmaxApi.models.ezsignfoldertype_get_autocomplete_v2_response import EzsignfoldertypeGetAutocompleteV2Response from eZmaxApi.models.ezsignfoldertype_get_autocomplete_v2_response_m_payload import EzsignfoldertypeGetAutocompleteV2ResponseMPayload from eZmaxApi.models.ezsignfoldertype_get_list_v1_response import EzsignfoldertypeGetListV1Response from eZmaxApi.models.ezsignfoldertype_get_list_v1_response_m_payload import EzsignfoldertypeGetListV1ResponseMPayload from eZmaxApi.models.ezsignfoldertype_get_object_v2_response import EzsignfoldertypeGetObjectV2Response from eZmaxApi.models.ezsignfoldertype_get_object_v2_response_m_payload import EzsignfoldertypeGetObjectV2ResponseMPayload -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response import EzsignfoldertypeGetObjectV3Response -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response_m_payload import EzsignfoldertypeGetObjectV3ResponseMPayload +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response import EzsignfoldertypeGetObjectV4Response +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response_m_payload import EzsignfoldertypeGetObjectV4ResponseMPayload from eZmaxApi.models.ezsignfoldertype_list_element import EzsignfoldertypeListElement -from eZmaxApi.models.ezsignfoldertype_request import EzsignfoldertypeRequest -from eZmaxApi.models.ezsignfoldertype_request_compound import EzsignfoldertypeRequestCompound -from eZmaxApi.models.ezsignfoldertype_request_compound_v2 import EzsignfoldertypeRequestCompoundV2 -from eZmaxApi.models.ezsignfoldertype_request_v2 import EzsignfoldertypeRequestV2 +from eZmaxApi.models.ezsignfoldertype_request_compound_v3 import EzsignfoldertypeRequestCompoundV3 +from eZmaxApi.models.ezsignfoldertype_request_v3 import EzsignfoldertypeRequestV3 from eZmaxApi.models.ezsignfoldertype_response import EzsignfoldertypeResponse from eZmaxApi.models.ezsignfoldertype_response_compound import EzsignfoldertypeResponseCompound -from eZmaxApi.models.ezsignfoldertype_response_compound_v3 import EzsignfoldertypeResponseCompoundV3 -from eZmaxApi.models.ezsignfoldertype_response_v3 import EzsignfoldertypeResponseV3 +from eZmaxApi.models.ezsignfoldertype_response_compound_v4 import EzsignfoldertypeResponseCompoundV4 +from eZmaxApi.models.ezsignfoldertype_response_v4 import EzsignfoldertypeResponseV4 from eZmaxApi.models.ezsignformfield_request import EzsignformfieldRequest from eZmaxApi.models.ezsignformfield_request_compound import EzsignformfieldRequestCompound from eZmaxApi.models.ezsignformfield_response import EzsignformfieldResponse @@ -610,26 +760,36 @@ from eZmaxApi.models.ezsignsignature_create_object_v2_request import EzsignsignatureCreateObjectV2Request from eZmaxApi.models.ezsignsignature_create_object_v2_response import EzsignsignatureCreateObjectV2Response from eZmaxApi.models.ezsignsignature_create_object_v2_response_m_payload import EzsignsignatureCreateObjectV2ResponseMPayload +from eZmaxApi.models.ezsignsignature_create_object_v3_request import EzsignsignatureCreateObjectV3Request +from eZmaxApi.models.ezsignsignature_create_object_v3_response import EzsignsignatureCreateObjectV3Response +from eZmaxApi.models.ezsignsignature_create_object_v3_response_m_payload import EzsignsignatureCreateObjectV3ResponseMPayload from eZmaxApi.models.ezsignsignature_delete_object_v1_response import EzsignsignatureDeleteObjectV1Response -from eZmaxApi.models.ezsignsignature_edit_object_v1_request import EzsignsignatureEditObjectV1Request -from eZmaxApi.models.ezsignsignature_edit_object_v1_response import EzsignsignatureEditObjectV1Response +from eZmaxApi.models.ezsignsignature_edit_object_v2_request import EzsignsignatureEditObjectV2Request +from eZmaxApi.models.ezsignsignature_edit_object_v2_response import EzsignsignatureEditObjectV2Response from eZmaxApi.models.ezsignsignature_get_ezsignsignatureattachment_v1_response import EzsignsignatureGetEzsignsignatureattachmentV1Response from eZmaxApi.models.ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload import EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload from eZmaxApi.models.ezsignsignature_get_ezsignsignatures_automatic_v1_response import EzsignsignatureGetEzsignsignaturesAutomaticV1Response from eZmaxApi.models.ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload import EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload -from eZmaxApi.models.ezsignsignature_get_object_v2_response import EzsignsignatureGetObjectV2Response -from eZmaxApi.models.ezsignsignature_get_object_v2_response_m_payload import EzsignsignatureGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsignsignature_get_object_v3_response import EzsignsignatureGetObjectV3Response +from eZmaxApi.models.ezsignsignature_get_object_v3_response_m_payload import EzsignsignatureGetObjectV3ResponseMPayload from eZmaxApi.models.ezsignsignature_request import EzsignsignatureRequest from eZmaxApi.models.ezsignsignature_request_compound import EzsignsignatureRequestCompound +from eZmaxApi.models.ezsignsignature_request_compound_v2 import EzsignsignatureRequestCompoundV2 from eZmaxApi.models.ezsignsignature_response import EzsignsignatureResponse from eZmaxApi.models.ezsignsignature_response_compound import EzsignsignatureResponseCompound +from eZmaxApi.models.ezsignsignature_response_compound_v3 import EzsignsignatureResponseCompoundV3 from eZmaxApi.models.ezsignsignature_sign_v1_request import EzsignsignatureSignV1Request from eZmaxApi.models.ezsignsignature_sign_v1_response import EzsignsignatureSignV1Response +from eZmaxApi.models.ezsignsignature_sign_v1_response_m_payload import EzsignsignatureSignV1ResponseMPayload from eZmaxApi.models.ezsignsignatureattachment_response import EzsignsignatureattachmentResponse from eZmaxApi.models.ezsignsignaturecustomdate_request import EzsignsignaturecustomdateRequest from eZmaxApi.models.ezsignsignaturecustomdate_request_compound import EzsignsignaturecustomdateRequestCompound +from eZmaxApi.models.ezsignsignaturecustomdate_request_compound_v2 import EzsignsignaturecustomdateRequestCompoundV2 +from eZmaxApi.models.ezsignsignaturecustomdate_request_v2 import EzsignsignaturecustomdateRequestV2 from eZmaxApi.models.ezsignsignaturecustomdate_response import EzsignsignaturecustomdateResponse from eZmaxApi.models.ezsignsignaturecustomdate_response_compound import EzsignsignaturecustomdateResponseCompound +from eZmaxApi.models.ezsignsignaturecustomdate_response_compound_v2 import EzsignsignaturecustomdateResponseCompoundV2 +from eZmaxApi.models.ezsignsignaturecustomdate_response_v2 import EzsignsignaturecustomdateResponseV2 from eZmaxApi.models.ezsignsigner_request import EzsignsignerRequest from eZmaxApi.models.ezsignsigner_request_compound import EzsignsignerRequestCompound from eZmaxApi.models.ezsignsigner_request_compound_contact import EzsignsignerRequestCompoundContact @@ -684,35 +844,31 @@ from eZmaxApi.models.ezsigntemplate_copy_v1_request import EzsigntemplateCopyV1Request from eZmaxApi.models.ezsigntemplate_copy_v1_response import EzsigntemplateCopyV1Response from eZmaxApi.models.ezsigntemplate_copy_v1_response_m_payload import EzsigntemplateCopyV1ResponseMPayload -from eZmaxApi.models.ezsigntemplate_create_object_v1_request import EzsigntemplateCreateObjectV1Request -from eZmaxApi.models.ezsigntemplate_create_object_v1_response import EzsigntemplateCreateObjectV1Response -from eZmaxApi.models.ezsigntemplate_create_object_v1_response_m_payload import EzsigntemplateCreateObjectV1ResponseMPayload -from eZmaxApi.models.ezsigntemplate_create_object_v2_request import EzsigntemplateCreateObjectV2Request -from eZmaxApi.models.ezsigntemplate_create_object_v2_response import EzsigntemplateCreateObjectV2Response -from eZmaxApi.models.ezsigntemplate_create_object_v2_response_m_payload import EzsigntemplateCreateObjectV2ResponseMPayload +from eZmaxApi.models.ezsigntemplate_create_object_v3_request import EzsigntemplateCreateObjectV3Request +from eZmaxApi.models.ezsigntemplate_create_object_v3_response import EzsigntemplateCreateObjectV3Response +from eZmaxApi.models.ezsigntemplate_create_object_v3_response_m_payload import EzsigntemplateCreateObjectV3ResponseMPayload from eZmaxApi.models.ezsigntemplate_delete_object_v1_response import EzsigntemplateDeleteObjectV1Response -from eZmaxApi.models.ezsigntemplate_edit_object_v1_request import EzsigntemplateEditObjectV1Request -from eZmaxApi.models.ezsigntemplate_edit_object_v1_response import EzsigntemplateEditObjectV1Response -from eZmaxApi.models.ezsigntemplate_edit_object_v2_request import EzsigntemplateEditObjectV2Request -from eZmaxApi.models.ezsigntemplate_edit_object_v2_response import EzsigntemplateEditObjectV2Response +from eZmaxApi.models.ezsigntemplate_edit_object_v3_request import EzsigntemplateEditObjectV3Request +from eZmaxApi.models.ezsigntemplate_edit_object_v3_response import EzsigntemplateEditObjectV3Response from eZmaxApi.models.ezsigntemplate_get_autocomplete_v2_response import EzsigntemplateGetAutocompleteV2Response from eZmaxApi.models.ezsigntemplate_get_autocomplete_v2_response_m_payload import EzsigntemplateGetAutocompleteV2ResponseMPayload from eZmaxApi.models.ezsigntemplate_get_list_v1_response import EzsigntemplateGetListV1Response from eZmaxApi.models.ezsigntemplate_get_list_v1_response_m_payload import EzsigntemplateGetListV1ResponseMPayload -from eZmaxApi.models.ezsigntemplate_get_object_v1_response import EzsigntemplateGetObjectV1Response -from eZmaxApi.models.ezsigntemplate_get_object_v1_response_m_payload import EzsigntemplateGetObjectV1ResponseMPayload -from eZmaxApi.models.ezsigntemplate_get_object_v2_response import EzsigntemplateGetObjectV2Response -from eZmaxApi.models.ezsigntemplate_get_object_v2_response_m_payload import EzsigntemplateGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsigntemplate_get_object_v3_response import EzsigntemplateGetObjectV3Response +from eZmaxApi.models.ezsigntemplate_get_object_v3_response_m_payload import EzsigntemplateGetObjectV3ResponseMPayload from eZmaxApi.models.ezsigntemplate_list_element import EzsigntemplateListElement -from eZmaxApi.models.ezsigntemplate_request import EzsigntemplateRequest -from eZmaxApi.models.ezsigntemplate_request_compound import EzsigntemplateRequestCompound -from eZmaxApi.models.ezsigntemplate_request_compound_v2 import EzsigntemplateRequestCompoundV2 -from eZmaxApi.models.ezsigntemplate_request_v2 import EzsigntemplateRequestV2 +from eZmaxApi.models.ezsigntemplate_request_compound_v3 import EzsigntemplateRequestCompoundV3 +from eZmaxApi.models.ezsigntemplate_request_v3 import EzsigntemplateRequestV3 from eZmaxApi.models.ezsigntemplate_response import EzsigntemplateResponse from eZmaxApi.models.ezsigntemplate_response_compound import EzsigntemplateResponseCompound +from eZmaxApi.models.ezsigntemplate_response_compound_v3 import EzsigntemplateResponseCompoundV3 +from eZmaxApi.models.ezsigntemplate_response_v3 import EzsigntemplateResponseV3 from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_request import EzsigntemplatedocumentCreateObjectV1Request from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_response import EzsigntemplatedocumentCreateObjectV1Response from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_response_m_payload import EzsigntemplatedocumentCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request import EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response import EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload @@ -721,7 +877,12 @@ from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload from eZmaxApi.models.ezsigntemplatedocument_edit_object_v1_request import EzsigntemplatedocumentEditObjectV1Request from eZmaxApi.models.ezsigntemplatedocument_edit_object_v1_response import EzsigntemplatedocumentEditObjectV1Response +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_request import EzsigntemplatedocumentExtractTextV1Request +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response import EzsigntemplatedocumentExtractTextV1Response +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response_m_payload import EzsigntemplatedocumentExtractTextV1ResponseMPayload from eZmaxApi.models.ezsigntemplatedocument_flatten_v1_response import EzsigntemplatedocumentFlattenV1Response +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response import EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response @@ -741,6 +902,18 @@ from eZmaxApi.models.ezsigntemplatedocument_response_compound import EzsigntemplatedocumentResponseCompound from eZmaxApi.models.ezsigntemplatedocumentpage_response import EzsigntemplatedocumentpageResponse from eZmaxApi.models.ezsigntemplatedocumentpage_response_compound import EzsigntemplatedocumentpageResponseCompound +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_request import EzsigntemplatedocumentpagerecognitionCreateObjectV1Request +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response import EzsigntemplatedocumentpagerecognitionCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload import EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_delete_object_v1_response import EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_request import EzsigntemplatedocumentpagerecognitionEditObjectV1Request +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_response import EzsigntemplatedocumentpagerecognitionEditObjectV1Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response import EzsigntemplatedocumentpagerecognitionGetObjectV2Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload import EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request import EzsigntemplatedocumentpagerecognitionRequest +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound import EzsigntemplatedocumentpagerecognitionRequestCompound +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response import EzsigntemplatedocumentpagerecognitionResponse +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound import EzsigntemplatedocumentpagerecognitionResponseCompound from eZmaxApi.models.ezsigntemplateelementdependency_request import EzsigntemplateelementdependencyRequest from eZmaxApi.models.ezsigntemplateelementdependency_request_compound import EzsigntemplateelementdependencyRequestCompound from eZmaxApi.models.ezsigntemplateelementdependency_response import EzsigntemplateelementdependencyResponse @@ -830,22 +1003,54 @@ from eZmaxApi.models.ezsigntemplatepackagesignermembership_request_compound import EzsigntemplatepackagesignermembershipRequestCompound from eZmaxApi.models.ezsigntemplatepackagesignermembership_response import EzsigntemplatepackagesignermembershipResponse from eZmaxApi.models.ezsigntemplatepackagesignermembership_response_compound import EzsigntemplatepackagesignermembershipResponseCompound -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_request import EzsigntemplatesignatureCreateObjectV1Request -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response import EzsigntemplatesignatureCreateObjectV1Response -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response_m_payload import EzsigntemplatesignatureCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_request import EzsigntemplatepublicCreateEzsignfolderV1Request +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response import EzsigntemplatepublicCreateEzsignfolderV1Response +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload import EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_request import EzsigntemplatepublicCreateObjectV1Request +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response import EzsigntemplatepublicCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response_m_payload import EzsigntemplatepublicCreateObjectV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_request import EzsigntemplatepublicEditObjectV1Request +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_response import EzsigntemplatepublicEditObjectV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response import EzsigntemplatepublicGetFormsDataV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response_m_payload import EzsigntemplatepublicGetFormsDataV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response import EzsigntemplatepublicGetListV1Response +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload import EzsigntemplatepublicGetListV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response import EzsigntemplatepublicGetObjectV2Response +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response_m_payload import EzsigntemplatepublicGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_list_element import EzsigntemplatepublicListElement +from eZmaxApi.models.ezsigntemplatepublic_request import EzsigntemplatepublicRequest +from eZmaxApi.models.ezsigntemplatepublic_request_compound import EzsigntemplatepublicRequestCompound +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response import EzsigntemplatepublicResetLimitExceededCounterV1Response +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload import EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response import EzsigntemplatepublicResetUrlV1Response +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response_m_payload import EzsigntemplatepublicResetUrlV1ResponseMPayload +from eZmaxApi.models.ezsigntemplatepublic_response import EzsigntemplatepublicResponse +from eZmaxApi.models.ezsigntemplatepublic_response_compound import EzsigntemplatepublicResponseCompound +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_request import EzsigntemplatesignatureCreateObjectV2Request +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response import EzsigntemplatesignatureCreateObjectV2Response +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response_m_payload import EzsigntemplatesignatureCreateObjectV2ResponseMPayload from eZmaxApi.models.ezsigntemplatesignature_delete_object_v1_response import EzsigntemplatesignatureDeleteObjectV1Response -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_request import EzsigntemplatesignatureEditObjectV1Request -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_response import EzsigntemplatesignatureEditObjectV1Response -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response import EzsigntemplatesignatureGetObjectV2Response -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response_m_payload import EzsigntemplatesignatureGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_request import EzsigntemplatesignatureEditObjectV2Request +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_response import EzsigntemplatesignatureEditObjectV2Response +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response import EzsigntemplatesignatureGetObjectV3Response +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response_m_payload import EzsigntemplatesignatureGetObjectV3ResponseMPayload from eZmaxApi.models.ezsigntemplatesignature_request import EzsigntemplatesignatureRequest from eZmaxApi.models.ezsigntemplatesignature_request_compound import EzsigntemplatesignatureRequestCompound +from eZmaxApi.models.ezsigntemplatesignature_request_compound_v2 import EzsigntemplatesignatureRequestCompoundV2 from eZmaxApi.models.ezsigntemplatesignature_response import EzsigntemplatesignatureResponse from eZmaxApi.models.ezsigntemplatesignature_response_compound import EzsigntemplatesignatureResponseCompound +from eZmaxApi.models.ezsigntemplatesignature_response_compound_v3 import EzsigntemplatesignatureResponseCompoundV3 from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request import EzsigntemplatesignaturecustomdateRequest from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound import EzsigntemplatesignaturecustomdateRequestCompound +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound_v2 import EzsigntemplatesignaturecustomdateRequestCompoundV2 +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_v2 import EzsigntemplatesignaturecustomdateRequestV2 from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response import EzsigntemplatesignaturecustomdateResponse from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound import EzsigntemplatesignaturecustomdateResponseCompound +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound_v2 import EzsigntemplatesignaturecustomdateResponseCompoundV2 +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_v2 import EzsigntemplatesignaturecustomdateResponseV2 from eZmaxApi.models.ezsigntemplatesigner_create_object_v1_request import EzsigntemplatesignerCreateObjectV1Request from eZmaxApi.models.ezsigntemplatesigner_create_object_v1_response import EzsigntemplatesignerCreateObjectV1Response from eZmaxApi.models.ezsigntemplatesigner_create_object_v1_response_m_payload import EzsigntemplatesignerCreateObjectV1ResponseMPayload @@ -861,7 +1066,19 @@ from eZmaxApi.models.ezsigntsarequirement_autocomplete_element_response import EzsigntsarequirementAutocompleteElementResponse from eZmaxApi.models.ezsigntsarequirement_get_autocomplete_v2_response import EzsigntsarequirementGetAutocompleteV2Response from eZmaxApi.models.ezsigntsarequirement_get_autocomplete_v2_response_m_payload import EzsigntsarequirementGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.ezsignuser_edit_object_v1_request import EzsignuserEditObjectV1Request +from eZmaxApi.models.ezsignuser_edit_object_v1_response import EzsignuserEditObjectV1Response +from eZmaxApi.models.ezsignuser_get_object_v2_response import EzsignuserGetObjectV2Response +from eZmaxApi.models.ezsignuser_get_object_v2_response_m_payload import EzsignuserGetObjectV2ResponseMPayload +from eZmaxApi.models.ezsignuser_request import EzsignuserRequest +from eZmaxApi.models.ezsignuser_request_compound import EzsignuserRequestCompound +from eZmaxApi.models.ezsignuser_response import EzsignuserResponse +from eZmaxApi.models.ezsignuser_response_compound import EzsignuserResponseCompound +from eZmaxApi.models.field_e_activesession_ezsign import FieldEActivesessionEzsign +from eZmaxApi.models.field_e_activesession_ezsignaccess import FieldEActivesessionEzsignaccess +from eZmaxApi.models.field_e_activesession_ezsignprepaid import FieldEActivesessionEzsignprepaid from eZmaxApi.models.field_e_activesession_origin import FieldEActivesessionOrigin +from eZmaxApi.models.field_e_activesession_realestateinprogress import FieldEActivesessionRealestateinprogress from eZmaxApi.models.field_e_activesession_usertype import FieldEActivesessionUsertype from eZmaxApi.models.field_e_activesession_weekdaystart import FieldEActivesessionWeekdaystart from eZmaxApi.models.field_e_attachment_documenttype import FieldEAttachmentDocumenttype @@ -869,15 +1086,25 @@ from eZmaxApi.models.field_e_attachment_type import FieldEAttachmentType from eZmaxApi.models.field_e_attachment_verified import FieldEAttachmentVerified from eZmaxApi.models.field_e_attachmentlog_type import FieldEAttachmentlogType +from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType +from eZmaxApi.models.field_e_branding_alignlogo import FieldEBrandingAlignlogo from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo -from eZmaxApi.models.field_e_branding_logointerface import FieldEBrandingLogointerface +from eZmaxApi.models.field_e_colleague_ezsign import FieldEColleagueEzsign +from eZmaxApi.models.field_e_colleague_realestateinprogess import FieldEColleagueRealestateinprogess from eZmaxApi.models.field_e_communication_importance import FieldECommunicationImportance from eZmaxApi.models.field_e_communication_type import FieldECommunicationType from eZmaxApi.models.field_e_communicationexternalrecipient_type import FieldECommunicationexternalrecipientType from eZmaxApi.models.field_e_communicationrecipient_type import FieldECommunicationrecipientType +from eZmaxApi.models.field_e_contact_type import FieldEContactType +from eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType +from eZmaxApi.models.field_e_creditcardtransaction_avsresult import FieldECreditcardtransactionAvsresult +from eZmaxApi.models.field_e_creditcardtransaction_cvdresult import FieldECreditcardtransactionCvdresult from eZmaxApi.models.field_e_creditcardtype_codename import FieldECreditcardtypeCodename +from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence +from eZmaxApi.models.field_e_customer_type import FieldECustomerType from eZmaxApi.models.field_e_discussionmessage_status import FieldEDiscussionmessageStatus from eZmaxApi.models.field_e_error_code import FieldEErrorCode +from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel from eZmaxApi.models.field_e_ezmaxinvoicing_paymenttype import FieldEEzmaxinvoicingPaymenttype from eZmaxApi.models.field_e_ezmaxinvoicingagent_variationezmax import FieldEEzmaxinvoicingagentVariationezmax from eZmaxApi.models.field_e_ezmaxinvoicingagent_variationezsign import FieldEEzmaxinvoicingagentVariationezsign @@ -889,22 +1116,32 @@ from eZmaxApi.models.field_e_ezsignelementdependency_operator import FieldEEzsignelementdependencyOperator from eZmaxApi.models.field_e_ezsignelementdependency_validation import FieldEEzsignelementdependencyValidation from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion +from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency +from eZmaxApi.models.field_e_ezsignfolder_messageorder import FieldEEzsignfolderMessageorder from eZmaxApi.models.field_e_ezsignfolder_sendreminderfrequency import FieldEEzsignfolderSendreminderfrequency from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal +from eZmaxApi.models.field_e_ezsignfoldertype_documentdependency import FieldEEzsignfoldertypeDocumentdependency +from eZmaxApi.models.field_e_ezsignfoldertype_pdfanoncompliantaction import FieldEEzsignfoldertypePdfanoncompliantaction +from eZmaxApi.models.field_e_ezsignfoldertype_pdfarequirement import FieldEEzsignfoldertypePdfarequirement from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel from eZmaxApi.models.field_e_ezsignfoldertype_sendreminderfrequency import FieldEEzsignfoldertypeSendreminderfrequency +from eZmaxApi.models.field_e_ezsignfoldertype_signeraccess import FieldEEzsignfoldertypeSigneraccess from eZmaxApi.models.field_e_ezsignformfield_dependencyrequirement import FieldEEzsignformfieldDependencyrequirement from eZmaxApi.models.field_e_ezsignformfieldgroup_signerrequirement import FieldEEzsignformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsignformfieldgroup_tooltipposition import FieldEEzsignformfieldgroupTooltipposition from eZmaxApi.models.field_e_ezsignformfieldgroup_type import FieldEEzsignformfieldgroupType from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement from eZmaxApi.models.field_e_ezsignsignature_font import FieldEEzsignsignatureFont from eZmaxApi.models.field_e_ezsignsignature_tooltipposition import FieldEEzsignsignatureTooltipposition from eZmaxApi.models.field_e_ezsignsignature_type import FieldEEzsignsignatureType +from eZmaxApi.models.field_e_ezsigntemplate_recognition import FieldEEzsigntemplateRecognition from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection from eZmaxApi.models.field_e_ezsigntemplateelementdependency_operator import FieldEEzsigntemplateelementdependencyOperator from eZmaxApi.models.field_e_ezsigntemplateelementdependency_validation import FieldEEzsigntemplateelementdependencyValidation from eZmaxApi.models.field_e_ezsigntemplateformfield_dependencyrequirement import FieldEEzsigntemplateformfieldDependencyrequirement @@ -915,17 +1152,22 @@ from eZmaxApi.models.field_e_ezsigntemplateformfieldgroup_type import FieldEEzsigntemplateformfieldgroupType from eZmaxApi.models.field_e_ezsigntemplateglobal_module import FieldEEzsigntemplateglobalModule from eZmaxApi.models.field_e_ezsigntemplateglobal_supplier import FieldEEzsigntemplateglobalSupplier +from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping +from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplatesignature_font import FieldEEzsigntemplatesignatureFont from eZmaxApi.models.field_e_ezsigntemplatesignature_positioning import FieldEEzsigntemplatesignaturePositioning from eZmaxApi.models.field_e_ezsigntemplatesignature_positioningoccurence import FieldEEzsigntemplatesignaturePositioningoccurence from eZmaxApi.models.field_e_ezsigntemplatesignature_tooltipposition import FieldEEzsigntemplatesignatureTooltipposition from eZmaxApi.models.field_e_ezsigntemplatesignature_type import FieldEEzsigntemplatesignatureType +from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping from eZmaxApi.models.field_e_notificationpreference_status import FieldENotificationpreferenceStatus from eZmaxApi.models.field_e_paymentterm_type import FieldEPaymenttermType from eZmaxApi.models.field_e_phone_type import FieldEPhoneType from eZmaxApi.models.field_e_sessionhistory_endby import FieldESessionhistoryEndby +from eZmaxApi.models.field_e_signature_preference import FieldESignaturePreference from eZmaxApi.models.field_e_systemconfiguration_ezsign import FieldESystemconfigurationEzsign from eZmaxApi.models.field_e_systemconfiguration_ezsignofficeplan import FieldESystemconfigurationEzsignofficeplan from eZmaxApi.models.field_e_systemconfiguration_language1 import FieldESystemconfigurationLanguage1 @@ -958,24 +1200,52 @@ from eZmaxApi.models.franchisereferalincome_create_object_v2_response_m_payload import FranchisereferalincomeCreateObjectV2ResponseMPayload from eZmaxApi.models.franchisereferalincome_request import FranchisereferalincomeRequest from eZmaxApi.models.franchisereferalincome_request_compound import FranchisereferalincomeRequestCompound +from eZmaxApi.models.glaccount_autocomplete_element_response import GlaccountAutocompleteElementResponse +from eZmaxApi.models.glaccount_get_autocomplete_v2_response import GlaccountGetAutocompleteV2Response +from eZmaxApi.models.glaccount_get_autocomplete_v2_response_m_payload import GlaccountGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.glaccountcontainer_autocomplete_element_response import GlaccountcontainerAutocompleteElementResponse +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response import GlaccountcontainerGetAutocompleteV2Response +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response_m_payload import GlaccountcontainerGetAutocompleteV2ResponseMPayload from eZmaxApi.models.global_customer_get_endpoint_v1_response import GlobalCustomerGetEndpointV1Response from eZmaxApi.models.global_ezmaxclient_version_v1_response import GlobalEzmaxclientVersionV1Response from eZmaxApi.models.global_ezmaxcustomer_get_configuration_v1_response import GlobalEzmaxcustomerGetConfigurationV1Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.models.inscription_get_attachments_v1_response import InscriptionGetAttachmentsV1Response from eZmaxApi.models.inscription_get_attachments_v1_response_m_payload import InscriptionGetAttachmentsV1ResponseMPayload +from eZmaxApi.models.inscription_get_communication_count_v1_response import InscriptionGetCommunicationCountV1Response +from eZmaxApi.models.inscription_get_communication_count_v1_response_m_payload import InscriptionGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.inscription_get_communication_list_v1_response import InscriptionGetCommunicationListV1Response from eZmaxApi.models.inscription_get_communication_list_v1_response_m_payload import InscriptionGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response import InscriptionGetCommunicationrecipientsV1Response +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response_m_payload import InscriptionGetCommunicationrecipientsV1ResponseMPayload from eZmaxApi.models.inscription_get_communicationsenders_v1_response import InscriptionGetCommunicationsendersV1Response from eZmaxApi.models.inscription_get_communicationsenders_v1_response_m_payload import InscriptionGetCommunicationsendersV1ResponseMPayload +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response import InscriptionnotauthenticatedGetCommunicationCountV1Response +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response import InscriptionnotauthenticatedGetCommunicationListV1Response from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response import InscriptionnotauthenticatedGetCommunicationrecipientsV1Response +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response import InscriptionnotauthenticatedGetCommunicationsendersV1Response +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response import InscriptiontempGetCommunicationCountV1Response +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response_m_payload import InscriptiontempGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response import InscriptiontempGetCommunicationListV1Response from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response_m_payload import InscriptiontempGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response import InscriptiontempGetCommunicationrecipientsV1Response +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response_m_payload import InscriptiontempGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response import InscriptiontempGetCommunicationsendersV1Response +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response_m_payload import InscriptiontempGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.invoice_get_attachments_v1_response import InvoiceGetAttachmentsV1Response from eZmaxApi.models.invoice_get_attachments_v1_response_m_payload import InvoiceGetAttachmentsV1ResponseMPayload +from eZmaxApi.models.invoice_get_communication_count_v1_response import InvoiceGetCommunicationCountV1Response +from eZmaxApi.models.invoice_get_communication_count_v1_response_m_payload import InvoiceGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.invoice_get_communication_list_v1_response import InvoiceGetCommunicationListV1Response from eZmaxApi.models.invoice_get_communication_list_v1_response_m_payload import InvoiceGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response import InvoiceGetCommunicationrecipientsV1Response +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response_m_payload import InvoiceGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.invoice_get_communicationsenders_v1_response import InvoiceGetCommunicationsendersV1Response +from eZmaxApi.models.invoice_get_communicationsenders_v1_response_m_payload import InvoiceGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.language_autocomplete_element_response import LanguageAutocompleteElementResponse from eZmaxApi.models.language_get_autocomplete_v2_response import LanguageGetAutocompleteV2Response from eZmaxApi.models.language_get_autocomplete_v2_response_m_payload import LanguageGetAutocompleteV2ResponseMPayload @@ -993,6 +1263,7 @@ from eZmaxApi.models.multilingual_apikey_description import MultilingualApikeyDescription from eZmaxApi.models.multilingual_billingentityinternal_description import MultilingualBillingentityinternalDescription from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription +from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName from eZmaxApi.models.multilingual_ezmaxinvoicingsummaryinternal_description import MultilingualEzmaxinvoicingsummaryinternalDescription from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName from eZmaxApi.models.multilingual_ezsignsignergroup_description import MultilingualEzsignsignergroupDescription @@ -1001,6 +1272,7 @@ from eZmaxApi.models.multilingual_notificationtest_name import MultilingualNotificationtestName from eZmaxApi.models.multilingual_paymentterm_description import MultilingualPaymenttermDescription from eZmaxApi.models.multilingual_subnet_description import MultilingualSubnetDescription +from eZmaxApi.models.multilingual_supply_description import MultilingualSupplyDescription from eZmaxApi.models.multilingual_usergroup_name import MultilingualUsergroupName from eZmaxApi.models.multilingual_userlogintype_description import MultilingualUserlogintypeDescription from eZmaxApi.models.multilingual_variableexpense_description import MultilingualVariableexpenseDescription @@ -1011,8 +1283,14 @@ from eZmaxApi.models.notificationtest_get_elements_v1_response import NotificationtestGetElementsV1Response from eZmaxApi.models.notificationtest_get_elements_v1_response_m_payload import NotificationtestGetElementsV1ResponseMPayload from eZmaxApi.models.notificationtest_response import NotificationtestResponse +from eZmaxApi.models.otherincome_get_communication_count_v1_response import OtherincomeGetCommunicationCountV1Response +from eZmaxApi.models.otherincome_get_communication_count_v1_response_m_payload import OtherincomeGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.otherincome_get_communication_list_v1_response import OtherincomeGetCommunicationListV1Response from eZmaxApi.models.otherincome_get_communication_list_v1_response_m_payload import OtherincomeGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response import OtherincomeGetCommunicationrecipientsV1Response +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response_m_payload import OtherincomeGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response import OtherincomeGetCommunicationsendersV1Response +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response_m_payload import OtherincomeGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.paymentterm_autocomplete_element_response import PaymenttermAutocompleteElementResponse from eZmaxApi.models.paymentterm_create_object_v1_request import PaymenttermCreateObjectV1Request from eZmaxApi.models.paymentterm_create_object_v1_response import PaymenttermCreateObjectV1Response @@ -1030,6 +1308,9 @@ from eZmaxApi.models.paymentterm_request_compound import PaymenttermRequestCompound from eZmaxApi.models.paymentterm_response import PaymenttermResponse from eZmaxApi.models.paymentterm_response_compound import PaymenttermResponseCompound +from eZmaxApi.models.pdfalevel_autocomplete_element_response import PdfalevelAutocompleteElementResponse +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response import PdfalevelGetAutocompleteV2Response +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response_m_payload import PdfalevelGetAutocompleteV2ResponseMPayload from eZmaxApi.models.period_autocomplete_element_response import PeriodAutocompleteElementResponse from eZmaxApi.models.period_get_autocomplete_v2_response import PeriodGetAutocompleteV2Response from eZmaxApi.models.period_get_autocomplete_v2_response_m_payload import PeriodGetAutocompleteV2ResponseMPayload @@ -1057,8 +1338,14 @@ from eZmaxApi.models.province_autocomplete_element_response import ProvinceAutocompleteElementResponse from eZmaxApi.models.province_get_autocomplete_v2_response import ProvinceGetAutocompleteV2Response from eZmaxApi.models.province_get_autocomplete_v2_response_m_payload import ProvinceGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response import RejectedoffertopurchaseGetCommunicationCountV1Response +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response import RejectedoffertopurchaseGetCommunicationListV1Response from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response import RejectedoffertopurchaseGetCommunicationrecipientsV1Response +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response import RejectedoffertopurchaseGetCommunicationsendersV1Response +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.scim_authentication_scheme import ScimAuthenticationScheme from eZmaxApi.models.scim_email import ScimEmail from eZmaxApi.models.scim_group import ScimGroup @@ -1086,10 +1373,14 @@ from eZmaxApi.models.signature_edit_object_v1_response import SignatureEditObjectV1Response from eZmaxApi.models.signature_get_object_v2_response import SignatureGetObjectV2Response from eZmaxApi.models.signature_get_object_v2_response_m_payload import SignatureGetObjectV2ResponseMPayload +from eZmaxApi.models.signature_get_object_v3_response import SignatureGetObjectV3Response +from eZmaxApi.models.signature_get_object_v3_response_m_payload import SignatureGetObjectV3ResponseMPayload from eZmaxApi.models.signature_request import SignatureRequest from eZmaxApi.models.signature_request_compound import SignatureRequestCompound from eZmaxApi.models.signature_response import SignatureResponse from eZmaxApi.models.signature_response_compound import SignatureResponseCompound +from eZmaxApi.models.signature_response_compound_v3 import SignatureResponseCompoundV3 +from eZmaxApi.models.signature_response_v3 import SignatureResponseV3 from eZmaxApi.models.subnet_create_object_v1_request import SubnetCreateObjectV1Request from eZmaxApi.models.subnet_create_object_v1_response import SubnetCreateObjectV1Response from eZmaxApi.models.subnet_create_object_v1_response_m_payload import SubnetCreateObjectV1ResponseMPayload @@ -1102,6 +1393,24 @@ from eZmaxApi.models.subnet_request_compound import SubnetRequestCompound from eZmaxApi.models.subnet_response import SubnetResponse from eZmaxApi.models.subnet_response_compound import SubnetResponseCompound +from eZmaxApi.models.supply_autocomplete_element_response import SupplyAutocompleteElementResponse +from eZmaxApi.models.supply_create_object_v1_request import SupplyCreateObjectV1Request +from eZmaxApi.models.supply_create_object_v1_response import SupplyCreateObjectV1Response +from eZmaxApi.models.supply_create_object_v1_response_m_payload import SupplyCreateObjectV1ResponseMPayload +from eZmaxApi.models.supply_delete_object_v1_response import SupplyDeleteObjectV1Response +from eZmaxApi.models.supply_edit_object_v1_request import SupplyEditObjectV1Request +from eZmaxApi.models.supply_edit_object_v1_response import SupplyEditObjectV1Response +from eZmaxApi.models.supply_get_autocomplete_v2_response import SupplyGetAutocompleteV2Response +from eZmaxApi.models.supply_get_autocomplete_v2_response_m_payload import SupplyGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.supply_get_list_v1_response import SupplyGetListV1Response +from eZmaxApi.models.supply_get_list_v1_response_m_payload import SupplyGetListV1ResponseMPayload +from eZmaxApi.models.supply_get_object_v2_response import SupplyGetObjectV2Response +from eZmaxApi.models.supply_get_object_v2_response_m_payload import SupplyGetObjectV2ResponseMPayload +from eZmaxApi.models.supply_list_element import SupplyListElement +from eZmaxApi.models.supply_request import SupplyRequest +from eZmaxApi.models.supply_request_compound import SupplyRequestCompound +from eZmaxApi.models.supply_response import SupplyResponse +from eZmaxApi.models.supply_response_compound import SupplyResponseCompound from eZmaxApi.models.systemconfiguration_edit_object_v1_request import SystemconfigurationEditObjectV1Request from eZmaxApi.models.systemconfiguration_edit_object_v1_response import SystemconfigurationEditObjectV1Response from eZmaxApi.models.systemconfiguration_get_object_v2_response import SystemconfigurationGetObjectV2Response @@ -1113,11 +1422,21 @@ from eZmaxApi.models.taxassignment_autocomplete_element_response import TaxassignmentAutocompleteElementResponse from eZmaxApi.models.taxassignment_get_autocomplete_v2_response import TaxassignmentGetAutocompleteV2Response from eZmaxApi.models.taxassignment_get_autocomplete_v2_response_m_payload import TaxassignmentGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.textstylestatic_request import TextstylestaticRequest +from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound from eZmaxApi.models.textstylestatic_response import TextstylestaticResponse from eZmaxApi.models.textstylestatic_response_compound import TextstylestaticResponseCompound from eZmaxApi.models.timezone_autocomplete_element_response import TimezoneAutocompleteElementResponse from eZmaxApi.models.timezone_get_autocomplete_v2_response import TimezoneGetAutocompleteV2Response from eZmaxApi.models.timezone_get_autocomplete_v2_response_m_payload import TimezoneGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response import TranqcontractGetCommunicationCountV1Response +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response_m_payload import TranqcontractGetCommunicationCountV1ResponseMPayload +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response import TranqcontractGetCommunicationListV1Response +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload import TranqcontractGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response import TranqcontractGetCommunicationrecipientsV1Response +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response_m_payload import TranqcontractGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response import TranqcontractGetCommunicationsendersV1Response +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response_m_payload import TranqcontractGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.user_autocomplete_element_response import UserAutocompleteElementResponse from eZmaxApi.models.user_create_ezsignuser_v1_request import UserCreateEzsignuserV1Request from eZmaxApi.models.user_create_ezsignuser_v1_response import UserCreateEzsignuserV1Response @@ -1128,6 +1447,9 @@ from eZmaxApi.models.user_create_object_v2_request import UserCreateObjectV2Request from eZmaxApi.models.user_create_object_v2_response import UserCreateObjectV2Response from eZmaxApi.models.user_create_object_v2_response_m_payload import UserCreateObjectV2ResponseMPayload +from eZmaxApi.models.user_edit_colleagues_v2_request import UserEditColleaguesV2Request +from eZmaxApi.models.user_edit_colleagues_v2_response import UserEditColleaguesV2Response +from eZmaxApi.models.user_edit_colleagues_v2_response_m_payload import UserEditColleaguesV2ResponseMPayload from eZmaxApi.models.user_edit_object_v1_request import UserEditObjectV1Request from eZmaxApi.models.user_edit_object_v1_response import UserEditObjectV1Response from eZmaxApi.models.user_edit_permissions_v1_request import UserEditPermissionsV1Request @@ -1137,6 +1459,8 @@ from eZmaxApi.models.user_get_apikeys_v1_response_m_payload import UserGetApikeysV1ResponseMPayload from eZmaxApi.models.user_get_autocomplete_v2_response import UserGetAutocompleteV2Response from eZmaxApi.models.user_get_autocomplete_v2_response_m_payload import UserGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.user_get_colleagues_v2_response import UserGetColleaguesV2Response +from eZmaxApi.models.user_get_colleagues_v2_response_m_payload import UserGetColleaguesV2ResponseMPayload from eZmaxApi.models.user_get_effective_permissions_v1_response import UserGetEffectivePermissionsV1Response from eZmaxApi.models.user_get_effective_permissions_v1_response_m_payload import UserGetEffectivePermissionsV1ResponseMPayload from eZmaxApi.models.user_get_list_v1_response import UserGetListV1Response @@ -1306,6 +1630,8 @@ from eZmaxApi.models.webhook_request_compound import WebhookRequestCompound from eZmaxApi.models.webhook_response import WebhookResponse from eZmaxApi.models.webhook_response_compound import WebhookResponseCompound +from eZmaxApi.models.webhook_send_webhook_v1_request import WebhookSendWebhookV1Request +from eZmaxApi.models.webhook_send_webhook_v1_response import WebhookSendWebhookV1Response from eZmaxApi.models.webhook_test_v1_response import WebhookTestV1Response from eZmaxApi.models.webhook_user_user_created import WebhookUserUserCreated from eZmaxApi.models.webhook_userstaged_userstaged_created import WebhookUserstagedUserstagedCreated @@ -1315,6 +1641,8 @@ from eZmaxApi.models.webhookheader_response_compound import WebhookheaderResponseCompound from eZmaxApi.models.website_request import WebsiteRequest from eZmaxApi.models.website_request_compound import WebsiteRequestCompound +from eZmaxApi.models.website_response import WebsiteResponse +from eZmaxApi.models.website_response_compound import WebsiteResponseCompound from eZmaxApi.models.websocket_request_server_get_websocket_idv1 import WebsocketRequestServerGetWebsocketIDV1 from eZmaxApi.models.websocket_response_error_v1 import WebsocketResponseErrorV1 from eZmaxApi.models.websocket_response_error_v1_m_payload import WebsocketResponseErrorV1MPayload diff --git a/eZmaxApi/models/activesession_generate_federation_token_v1_request.py b/eZmaxApi/models/activesession_generate_federation_token_v1_request.py new file mode 100644 index 000000000..88319d595 --- /dev/null +++ b/eZmaxApi/models/activesession_generate_federation_token_v1_request.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class ActivesessionGenerateFederationTokenV1Request(BaseModel): + """ + Request for POST /1/object/activesession/generateFederationToken + """ # noqa: E501 + fks_ezmaxcustomer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The Ezmaxcustomer code", alias="fksEzmaxcustomerCode") + __properties: ClassVar[List[str]] = ["fksEzmaxcustomerCode"] + + @field_validator('fks_ezmaxcustomer_code') + def fks_ezmaxcustomer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[a-z\d]{2,6}$", value): + raise ValueError(r"must validate the regular expression /^[a-z\d]{2,6}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ActivesessionGenerateFederationTokenV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ActivesessionGenerateFederationTokenV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fksEzmaxcustomerCode": obj.get("fksEzmaxcustomerCode") + }) + return _obj + + diff --git a/eZmaxApi/models/activesession_generate_federation_token_v1_response.py b/eZmaxApi/models/activesession_generate_federation_token_v1_response.py new file mode 100644 index 000000000..adbe4ec88 --- /dev/null +++ b/eZmaxApi/models/activesession_generate_federation_token_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.activesession_generate_federation_token_v1_response_m_payload import ActivesessionGenerateFederationTokenV1ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class ActivesessionGenerateFederationTokenV1Response(BaseModel): + """ + Response for POST /1/object/activesession/generateFederationToken + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: ActivesessionGenerateFederationTokenV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ActivesessionGenerateFederationTokenV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ActivesessionGenerateFederationTokenV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": ActivesessionGenerateFederationTokenV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/activesession_generate_federation_token_v1_response_m_payload.py b/eZmaxApi/models/activesession_generate_federation_token_v1_response_m_payload.py new file mode 100644 index 000000000..1a515b4a3 --- /dev/null +++ b/eZmaxApi/models/activesession_generate_federation_token_v1_response_m_payload.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.custom_apikeyfederation import CustomApikeyfederation +from typing import Optional, Set +from typing_extensions import Self + +class ActivesessionGenerateFederationTokenV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/activesession/generateFederationToken + """ # noqa: E501 + obj_apikeyfederation: CustomApikeyfederation = Field(alias="objApikeyfederation") + s_ezmaxcustomercode_url: Annotated[str, Field(strict=True)] = Field(description="The url of the server the Ezmaxcustomer is located", alias="sEzmaxcustomercodeUrl") + __properties: ClassVar[List[str]] = ["objApikeyfederation", "sEzmaxcustomercodeUrl"] + + @field_validator('s_ezmaxcustomercode_url') + def s_ezmaxcustomercode_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ActivesessionGenerateFederationTokenV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_apikeyfederation + if self.obj_apikeyfederation: + _dict['objApikeyfederation'] = self.obj_apikeyfederation.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ActivesessionGenerateFederationTokenV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objApikeyfederation": CustomApikeyfederation.from_dict(obj["objApikeyfederation"]) if obj.get("objApikeyfederation") is not None else None, + "sEzmaxcustomercodeUrl": obj.get("sEzmaxcustomercodeUrl") + }) + return _obj + + diff --git a/eZmaxApi/models/activesession_get_current_v1_response_m_payload.py b/eZmaxApi/models/activesession_get_current_v1_response_m_payload.py index 1689f9780..617013b4a 100644 --- a/eZmaxApi/models/activesession_get_current_v1_response_m_payload.py +++ b/eZmaxApi/models/activesession_get_current_v1_response_m_payload.py @@ -23,7 +23,11 @@ from typing_extensions import Annotated from eZmaxApi.models.activesession_response_compound_apikey import ActivesessionResponseCompoundApikey from eZmaxApi.models.activesession_response_compound_user import ActivesessionResponseCompoundUser +from eZmaxApi.models.field_e_activesession_ezsign import FieldEActivesessionEzsign +from eZmaxApi.models.field_e_activesession_ezsignaccess import FieldEActivesessionEzsignaccess +from eZmaxApi.models.field_e_activesession_ezsignprepaid import FieldEActivesessionEzsignprepaid from eZmaxApi.models.field_e_activesession_origin import FieldEActivesessionOrigin +from eZmaxApi.models.field_e_activesession_realestateinprogress import FieldEActivesessionRealestateinprogress from eZmaxApi.models.field_e_activesession_usertype import FieldEActivesessionUsertype from eZmaxApi.models.field_e_activesession_weekdaystart import FieldEActivesessionWeekdaystart from eZmaxApi.models.field_e_systemconfiguration_ezsignofficeplan import FieldESystemconfigurationEzsignofficeplan @@ -44,20 +48,30 @@ class ActivesessionGetCurrentV1ResponseMPayload(BaseModel): s_department_name_x: StrictStr = Field(description="The Name of the Department in the language of the requester", alias="sDepartmentNameX") b_activesession_debug: StrictBool = Field(description="Whether the active session is in debug or not", alias="bActivesessionDebug") b_activesession_issuperadmin: StrictBool = Field(description="Whether the active session is superadmin or not", alias="bActivesessionIssuperadmin") + b_activesession_attachment: Optional[StrictBool] = Field(default=None, description="Can access attachment when we clone a user", alias="bActivesessionAttachment") + b_activesession_canafe: Optional[StrictBool] = Field(default=None, description="Can access canafe when we clone a user", alias="bActivesessionCanafe") + b_activesession_financial: Optional[StrictBool] = Field(default=None, description="Can access financial element when we clone a user", alias="bActivesessionFinancial") + b_activesession_realestatecompleted: Optional[StrictBool] = Field(default=None, description="Can access closed realestate folders when we clone a user", alias="bActivesessionRealestatecompleted") + e_activesession_ezsign: Optional[FieldEActivesessionEzsign] = Field(default=None, alias="eActivesessionEzsign") + e_activesession_ezsignaccess: FieldEActivesessionEzsignaccess = Field(alias="eActivesessionEzsignaccess") + e_activesession_ezsignprepaid: Optional[FieldEActivesessionEzsignprepaid] = Field(default=None, alias="eActivesessionEzsignprepaid") + e_activesession_realestateinprogress: Optional[FieldEActivesessionRealestateinprogress] = Field(default=None, alias="eActivesessionRealestateinprogress") pks_customer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The customer code assigned to your account", alias="pksCustomerCode") fki_systemconfigurationtype_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Systemconfigurationtype", alias="fkiSystemconfigurationtypeID") fki_signature_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Signature", alias="fkiSignatureID") + fki_ezsignuser_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignuser", alias="fkiEzsignuserID") b_systemconfiguration_ezsignpaidbyoffice: Optional[StrictBool] = Field(default=None, description="Whether if Ezsign is paid by the company or not", alias="bSystemconfigurationEzsignpaidbyoffice") e_systemconfiguration_ezsignofficeplan: Optional[FieldESystemconfigurationEzsignofficeplan] = Field(default=None, alias="eSystemconfigurationEzsignofficeplan") e_user_ezsignaccess: FieldEUserEzsignaccess = Field(alias="eUserEzsignaccess") e_user_ezsignprepaid: Optional[FieldEUserEzsignprepaid] = Field(default=None, alias="eUserEzsignprepaid") + b_user_ezsigntrial: Optional[StrictBool] = Field(default=None, description="Whether the User's eZsign subscription is a trial", alias="bUserEzsigntrial") dt_user_ezsignprepaidexpiration: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The eZsign prepaid expiration date", alias="dtUserEzsignprepaidexpiration") a_pki_permission_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(description="An array of permissions granted to the user or api key", alias="a_pkiPermissionID") obj_user_real: ActivesessionResponseCompoundUser = Field(alias="objUserReal") obj_user_cloned: Optional[ActivesessionResponseCompoundUser] = Field(default=None, alias="objUserCloned") obj_apikey: Optional[ActivesessionResponseCompoundApikey] = Field(default=None, alias="objApikey") a_e_module_internalname: List[StrictStr] = Field(description="An Array of Registered modules. These are the modules that are Licensed to be used by the User or the API Key.", alias="a_eModuleInternalname") - __properties: ClassVar[List[str]] = ["eActivesessionUsertype", "eActivesessionOrigin", "eActivesessionWeekdaystart", "fkiLanguageID", "sCompanyNameX", "sDepartmentNameX", "bActivesessionDebug", "bActivesessionIssuperadmin", "pksCustomerCode", "fkiSystemconfigurationtypeID", "fkiSignatureID", "bSystemconfigurationEzsignpaidbyoffice", "eSystemconfigurationEzsignofficeplan", "eUserEzsignaccess", "eUserEzsignprepaid", "dtUserEzsignprepaidexpiration", "a_pkiPermissionID", "objUserReal", "objUserCloned", "objApikey", "a_eModuleInternalname"] + __properties: ClassVar[List[str]] = ["eActivesessionUsertype", "eActivesessionOrigin", "eActivesessionWeekdaystart", "fkiLanguageID", "sCompanyNameX", "sDepartmentNameX", "bActivesessionDebug", "bActivesessionIssuperadmin", "bActivesessionAttachment", "bActivesessionCanafe", "bActivesessionFinancial", "bActivesessionRealestatecompleted", "eActivesessionEzsign", "eActivesessionEzsignaccess", "eActivesessionEzsignprepaid", "eActivesessionRealestateinprogress", "pksCustomerCode", "fkiSystemconfigurationtypeID", "fkiSignatureID", "fkiEzsignuserID", "bSystemconfigurationEzsignpaidbyoffice", "eSystemconfigurationEzsignofficeplan", "eUserEzsignaccess", "eUserEzsignprepaid", "bUserEzsigntrial", "dtUserEzsignprepaidexpiration", "a_pkiPermissionID", "objUserReal", "objUserCloned", "objApikey", "a_eModuleInternalname"] @field_validator('dt_user_ezsignprepaidexpiration') def dt_user_ezsignprepaidexpiration_validate_regular_expression(cls, value): @@ -137,13 +151,23 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sDepartmentNameX": obj.get("sDepartmentNameX"), "bActivesessionDebug": obj.get("bActivesessionDebug"), "bActivesessionIssuperadmin": obj.get("bActivesessionIssuperadmin"), + "bActivesessionAttachment": obj.get("bActivesessionAttachment"), + "bActivesessionCanafe": obj.get("bActivesessionCanafe"), + "bActivesessionFinancial": obj.get("bActivesessionFinancial"), + "bActivesessionRealestatecompleted": obj.get("bActivesessionRealestatecompleted"), + "eActivesessionEzsign": obj.get("eActivesessionEzsign"), + "eActivesessionEzsignaccess": obj.get("eActivesessionEzsignaccess"), + "eActivesessionEzsignprepaid": obj.get("eActivesessionEzsignprepaid"), + "eActivesessionRealestateinprogress": obj.get("eActivesessionRealestateinprogress"), "pksCustomerCode": obj.get("pksCustomerCode"), "fkiSystemconfigurationtypeID": obj.get("fkiSystemconfigurationtypeID"), "fkiSignatureID": obj.get("fkiSignatureID"), + "fkiEzsignuserID": obj.get("fkiEzsignuserID"), "bSystemconfigurationEzsignpaidbyoffice": obj.get("bSystemconfigurationEzsignpaidbyoffice"), "eSystemconfigurationEzsignofficeplan": obj.get("eSystemconfigurationEzsignofficeplan"), "eUserEzsignaccess": obj.get("eUserEzsignaccess"), "eUserEzsignprepaid": obj.get("eUserEzsignprepaid"), + "bUserEzsigntrial": obj.get("bUserEzsigntrial"), "dtUserEzsignprepaidexpiration": obj.get("dtUserEzsignprepaidexpiration"), "a_pkiPermissionID": obj.get("a_pkiPermissionID"), "objUserReal": ActivesessionResponseCompoundUser.from_dict(obj["objUserReal"]) if obj.get("objUserReal") is not None else None, diff --git a/eZmaxApi/models/activesession_get_list_v1_response_m_payload.py b/eZmaxApi/models/activesession_get_list_v1_response_m_payload.py index bd17cc980..13d9d8fcb 100644 --- a/eZmaxApi/models/activesession_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/activesession_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_activesession (list) _items = [] if self.a_obj_activesession: - for _item in self.a_obj_activesession: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_activesession in self.a_obj_activesession: + if _item_a_obj_activesession: + _items.append(_item_a_obj_activesession.to_dict()) _dict['a_objActivesession'] = _items return _dict diff --git a/eZmaxApi/models/activesession_response.py b/eZmaxApi/models/activesession_response.py index 42ad571ff..c0053beca 100644 --- a/eZmaxApi/models/activesession_response.py +++ b/eZmaxApi/models/activesession_response.py @@ -21,7 +21,11 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_activesession_ezsign import FieldEActivesessionEzsign +from eZmaxApi.models.field_e_activesession_ezsignaccess import FieldEActivesessionEzsignaccess +from eZmaxApi.models.field_e_activesession_ezsignprepaid import FieldEActivesessionEzsignprepaid from eZmaxApi.models.field_e_activesession_origin import FieldEActivesessionOrigin +from eZmaxApi.models.field_e_activesession_realestateinprogress import FieldEActivesessionRealestateinprogress from eZmaxApi.models.field_e_activesession_usertype import FieldEActivesessionUsertype from eZmaxApi.models.field_e_activesession_weekdaystart import FieldEActivesessionWeekdaystart from typing import Optional, Set @@ -39,10 +43,18 @@ class ActivesessionResponse(BaseModel): s_department_name_x: StrictStr = Field(description="The Name of the Department in the language of the requester", alias="sDepartmentNameX") b_activesession_debug: StrictBool = Field(description="Whether the active session is in debug or not", alias="bActivesessionDebug") b_activesession_issuperadmin: StrictBool = Field(description="Whether the active session is superadmin or not", alias="bActivesessionIssuperadmin") + b_activesession_attachment: Optional[StrictBool] = Field(default=None, description="Can access attachment when we clone a user", alias="bActivesessionAttachment") + b_activesession_canafe: Optional[StrictBool] = Field(default=None, description="Can access canafe when we clone a user", alias="bActivesessionCanafe") + b_activesession_financial: Optional[StrictBool] = Field(default=None, description="Can access financial element when we clone a user", alias="bActivesessionFinancial") + b_activesession_realestatecompleted: Optional[StrictBool] = Field(default=None, description="Can access closed realestate folders when we clone a user", alias="bActivesessionRealestatecompleted") + e_activesession_ezsign: Optional[FieldEActivesessionEzsign] = Field(default=None, alias="eActivesessionEzsign") + e_activesession_ezsignaccess: FieldEActivesessionEzsignaccess = Field(alias="eActivesessionEzsignaccess") + e_activesession_ezsignprepaid: Optional[FieldEActivesessionEzsignprepaid] = Field(default=None, alias="eActivesessionEzsignprepaid") + e_activesession_realestateinprogress: Optional[FieldEActivesessionRealestateinprogress] = Field(default=None, alias="eActivesessionRealestateinprogress") pks_customer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The customer code assigned to your account", alias="pksCustomerCode") fki_systemconfigurationtype_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Systemconfigurationtype", alias="fkiSystemconfigurationtypeID") fki_signature_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Signature", alias="fkiSignatureID") - __properties: ClassVar[List[str]] = ["eActivesessionUsertype", "eActivesessionOrigin", "eActivesessionWeekdaystart", "fkiLanguageID", "sCompanyNameX", "sDepartmentNameX", "bActivesessionDebug", "bActivesessionIssuperadmin", "pksCustomerCode", "fkiSystemconfigurationtypeID", "fkiSignatureID"] + __properties: ClassVar[List[str]] = ["eActivesessionUsertype", "eActivesessionOrigin", "eActivesessionWeekdaystart", "fkiLanguageID", "sCompanyNameX", "sDepartmentNameX", "bActivesessionDebug", "bActivesessionIssuperadmin", "bActivesessionAttachment", "bActivesessionCanafe", "bActivesessionFinancial", "bActivesessionRealestatecompleted", "eActivesessionEzsign", "eActivesessionEzsignaccess", "eActivesessionEzsignprepaid", "eActivesessionRealestateinprogress", "pksCustomerCode", "fkiSystemconfigurationtypeID", "fkiSignatureID"] model_config = ConfigDict( populate_by_name=True, @@ -103,6 +115,14 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sDepartmentNameX": obj.get("sDepartmentNameX"), "bActivesessionDebug": obj.get("bActivesessionDebug"), "bActivesessionIssuperadmin": obj.get("bActivesessionIssuperadmin"), + "bActivesessionAttachment": obj.get("bActivesessionAttachment"), + "bActivesessionCanafe": obj.get("bActivesessionCanafe"), + "bActivesessionFinancial": obj.get("bActivesessionFinancial"), + "bActivesessionRealestatecompleted": obj.get("bActivesessionRealestatecompleted"), + "eActivesessionEzsign": obj.get("eActivesessionEzsign"), + "eActivesessionEzsignaccess": obj.get("eActivesessionEzsignaccess"), + "eActivesessionEzsignprepaid": obj.get("eActivesessionEzsignprepaid"), + "eActivesessionRealestateinprogress": obj.get("eActivesessionRealestateinprogress"), "pksCustomerCode": obj.get("pksCustomerCode"), "fkiSystemconfigurationtypeID": obj.get("fkiSystemconfigurationtypeID"), "fkiSignatureID": obj.get("fkiSignatureID") diff --git a/eZmaxApi/models/activesession_response_compound.py b/eZmaxApi/models/activesession_response_compound.py index 93a0e1bc6..d5666ee7f 100644 --- a/eZmaxApi/models/activesession_response_compound.py +++ b/eZmaxApi/models/activesession_response_compound.py @@ -23,7 +23,11 @@ from typing_extensions import Annotated from eZmaxApi.models.activesession_response_compound_apikey import ActivesessionResponseCompoundApikey from eZmaxApi.models.activesession_response_compound_user import ActivesessionResponseCompoundUser +from eZmaxApi.models.field_e_activesession_ezsign import FieldEActivesessionEzsign +from eZmaxApi.models.field_e_activesession_ezsignaccess import FieldEActivesessionEzsignaccess +from eZmaxApi.models.field_e_activesession_ezsignprepaid import FieldEActivesessionEzsignprepaid from eZmaxApi.models.field_e_activesession_origin import FieldEActivesessionOrigin +from eZmaxApi.models.field_e_activesession_realestateinprogress import FieldEActivesessionRealestateinprogress from eZmaxApi.models.field_e_activesession_usertype import FieldEActivesessionUsertype from eZmaxApi.models.field_e_activesession_weekdaystart import FieldEActivesessionWeekdaystart from eZmaxApi.models.field_e_systemconfiguration_ezsignofficeplan import FieldESystemconfigurationEzsignofficeplan @@ -44,20 +48,30 @@ class ActivesessionResponseCompound(BaseModel): s_department_name_x: StrictStr = Field(description="The Name of the Department in the language of the requester", alias="sDepartmentNameX") b_activesession_debug: StrictBool = Field(description="Whether the active session is in debug or not", alias="bActivesessionDebug") b_activesession_issuperadmin: StrictBool = Field(description="Whether the active session is superadmin or not", alias="bActivesessionIssuperadmin") + b_activesession_attachment: Optional[StrictBool] = Field(default=None, description="Can access attachment when we clone a user", alias="bActivesessionAttachment") + b_activesession_canafe: Optional[StrictBool] = Field(default=None, description="Can access canafe when we clone a user", alias="bActivesessionCanafe") + b_activesession_financial: Optional[StrictBool] = Field(default=None, description="Can access financial element when we clone a user", alias="bActivesessionFinancial") + b_activesession_realestatecompleted: Optional[StrictBool] = Field(default=None, description="Can access closed realestate folders when we clone a user", alias="bActivesessionRealestatecompleted") + e_activesession_ezsign: Optional[FieldEActivesessionEzsign] = Field(default=None, alias="eActivesessionEzsign") + e_activesession_ezsignaccess: FieldEActivesessionEzsignaccess = Field(alias="eActivesessionEzsignaccess") + e_activesession_ezsignprepaid: Optional[FieldEActivesessionEzsignprepaid] = Field(default=None, alias="eActivesessionEzsignprepaid") + e_activesession_realestateinprogress: Optional[FieldEActivesessionRealestateinprogress] = Field(default=None, alias="eActivesessionRealestateinprogress") pks_customer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The customer code assigned to your account", alias="pksCustomerCode") fki_systemconfigurationtype_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Systemconfigurationtype", alias="fkiSystemconfigurationtypeID") fki_signature_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Signature", alias="fkiSignatureID") + fki_ezsignuser_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignuser", alias="fkiEzsignuserID") b_systemconfiguration_ezsignpaidbyoffice: Optional[StrictBool] = Field(default=None, description="Whether if Ezsign is paid by the company or not", alias="bSystemconfigurationEzsignpaidbyoffice") e_systemconfiguration_ezsignofficeplan: Optional[FieldESystemconfigurationEzsignofficeplan] = Field(default=None, alias="eSystemconfigurationEzsignofficeplan") e_user_ezsignaccess: FieldEUserEzsignaccess = Field(alias="eUserEzsignaccess") e_user_ezsignprepaid: Optional[FieldEUserEzsignprepaid] = Field(default=None, alias="eUserEzsignprepaid") + b_user_ezsigntrial: Optional[StrictBool] = Field(default=None, description="Whether the User's eZsign subscription is a trial", alias="bUserEzsigntrial") dt_user_ezsignprepaidexpiration: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The eZsign prepaid expiration date", alias="dtUserEzsignprepaidexpiration") a_pki_permission_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(description="An array of permissions granted to the user or api key", alias="a_pkiPermissionID") obj_user_real: ActivesessionResponseCompoundUser = Field(alias="objUserReal") obj_user_cloned: Optional[ActivesessionResponseCompoundUser] = Field(default=None, alias="objUserCloned") obj_apikey: Optional[ActivesessionResponseCompoundApikey] = Field(default=None, alias="objApikey") a_e_module_internalname: List[StrictStr] = Field(description="An Array of Registered modules. These are the modules that are Licensed to be used by the User or the API Key.", alias="a_eModuleInternalname") - __properties: ClassVar[List[str]] = ["eActivesessionUsertype", "eActivesessionOrigin", "eActivesessionWeekdaystart", "fkiLanguageID", "sCompanyNameX", "sDepartmentNameX", "bActivesessionDebug", "bActivesessionIssuperadmin", "pksCustomerCode", "fkiSystemconfigurationtypeID", "fkiSignatureID", "bSystemconfigurationEzsignpaidbyoffice", "eSystemconfigurationEzsignofficeplan", "eUserEzsignaccess", "eUserEzsignprepaid", "dtUserEzsignprepaidexpiration", "a_pkiPermissionID", "objUserReal", "objUserCloned", "objApikey", "a_eModuleInternalname"] + __properties: ClassVar[List[str]] = ["eActivesessionUsertype", "eActivesessionOrigin", "eActivesessionWeekdaystart", "fkiLanguageID", "sCompanyNameX", "sDepartmentNameX", "bActivesessionDebug", "bActivesessionIssuperadmin", "bActivesessionAttachment", "bActivesessionCanafe", "bActivesessionFinancial", "bActivesessionRealestatecompleted", "eActivesessionEzsign", "eActivesessionEzsignaccess", "eActivesessionEzsignprepaid", "eActivesessionRealestateinprogress", "pksCustomerCode", "fkiSystemconfigurationtypeID", "fkiSignatureID", "fkiEzsignuserID", "bSystemconfigurationEzsignpaidbyoffice", "eSystemconfigurationEzsignofficeplan", "eUserEzsignaccess", "eUserEzsignprepaid", "bUserEzsigntrial", "dtUserEzsignprepaidexpiration", "a_pkiPermissionID", "objUserReal", "objUserCloned", "objApikey", "a_eModuleInternalname"] @field_validator('dt_user_ezsignprepaidexpiration') def dt_user_ezsignprepaidexpiration_validate_regular_expression(cls, value): @@ -137,13 +151,23 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sDepartmentNameX": obj.get("sDepartmentNameX"), "bActivesessionDebug": obj.get("bActivesessionDebug"), "bActivesessionIssuperadmin": obj.get("bActivesessionIssuperadmin"), + "bActivesessionAttachment": obj.get("bActivesessionAttachment"), + "bActivesessionCanafe": obj.get("bActivesessionCanafe"), + "bActivesessionFinancial": obj.get("bActivesessionFinancial"), + "bActivesessionRealestatecompleted": obj.get("bActivesessionRealestatecompleted"), + "eActivesessionEzsign": obj.get("eActivesessionEzsign"), + "eActivesessionEzsignaccess": obj.get("eActivesessionEzsignaccess"), + "eActivesessionEzsignprepaid": obj.get("eActivesessionEzsignprepaid"), + "eActivesessionRealestateinprogress": obj.get("eActivesessionRealestateinprogress"), "pksCustomerCode": obj.get("pksCustomerCode"), "fkiSystemconfigurationtypeID": obj.get("fkiSystemconfigurationtypeID"), "fkiSignatureID": obj.get("fkiSignatureID"), + "fkiEzsignuserID": obj.get("fkiEzsignuserID"), "bSystemconfigurationEzsignpaidbyoffice": obj.get("bSystemconfigurationEzsignpaidbyoffice"), "eSystemconfigurationEzsignofficeplan": obj.get("eSystemconfigurationEzsignofficeplan"), "eUserEzsignaccess": obj.get("eUserEzsignaccess"), "eUserEzsignprepaid": obj.get("eUserEzsignprepaid"), + "bUserEzsigntrial": obj.get("bUserEzsigntrial"), "dtUserEzsignprepaidexpiration": obj.get("dtUserEzsignprepaidexpiration"), "a_pkiPermissionID": obj.get("a_pkiPermissionID"), "objUserReal": ActivesessionResponseCompoundUser.from_dict(obj["objUserReal"]) if obj.get("objUserReal") is not None else None, diff --git a/eZmaxApi/models/address_request.py b/eZmaxApi/models/address_request.py index 24ccbd8fe..1e9224b3d 100644 --- a/eZmaxApi/models/address_request.py +++ b/eZmaxApi/models/address_request.py @@ -28,17 +28,18 @@ class AddressRequest(BaseModel): """ An Address Object """ # noqa: E501 + pki_address_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Address", alias="pkiAddressID") fki_addresstype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Addresstype. Valid values: |Value|Description| |-|-| |1|Office| |2|Home| |3|Real Estate Invoice| |4|Invoicing| |5|Shipping|", alias="fkiAddresstypeID") s_address_civic: StrictStr = Field(description="The Civic number.", alias="sAddressCivic") s_address_street: StrictStr = Field(description="The Street Name", alias="sAddressStreet") - s_address_suite: StrictStr = Field(description="The Suite or appartment number", alias="sAddressSuite") + s_address_suite: Optional[StrictStr] = Field(default=None, description="The Suite or appartment number", alias="sAddressSuite") s_address_city: StrictStr = Field(description="The City name", alias="sAddressCity") fki_province_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Province. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|(Canada) Alberta |2|(Canada) British Columbia| |3|(Canada) Manitoba| |3|(Canada) Manitoba| |4|(Canada) New Brunswick| |5|(Canada) Newfoundland| |6|(Canada) Northwest Territories| |7|(Canada) Nova Scotia| |8|(Canada) Nunavut| |9|(Canada) Ontario| |10|(Canada) Prince Edward Island| |11|(Canada) Quebec| |12|(Canada) Saskatchewan| |13|(Canada) Yukon| |14|(United-States) Alabama| |15|(United-States) Alaska| |16|(United-States) Arizona| |17|(United-States) Arkansas| |18|(United-States) California| |19|(United-States) Colorado| |20|(United-States) Connecticut| |21|(United-States) Delaware| |22|(United-States) District of Columbia| |23|(United-States) Florida| |24|(United-States) Georgia| |25|(United-States) Hawaii| |26|(United-States) Idaho| |27|(United-States) Illinois| |28|(United-States) Indiana| |29|(United-States) Iowa| |30|(United-States) Kansas| |31|(United-States) Kentucky| |32|(United-States) Louisiane| |33|(United-States) Maine| |34|(United-States) Maryland| |35|(United-States) Massachusetts| |36|(United-States) Michigan| |37|(United-States) Minnesota| |38|(United-States) Mississippi| |39|(United-States) Missouri| |40|(United-States) Montana| |41|(United-States) Nebraska| |42|(United-States) Nevada| |43|(United-States) New Hampshire| |44|(United-States) New Jersey| |45|(United-States) New Mexico| |46|(United-States) New York| |47|(United-States) North Carolina| |48|(United-States) North Dakota| |49|(United-States) Ohio| |50|(United-States) Oklahoma| |51|(United-States) Oregon| |52|(United-States) Pennsylvania| |53|(United-States) Rhode Island| |54|(United-States) South Carolina| |55|(United-States) South Dakota| |56|(United-States) Tennessee| |57|(United-States) Texas| |58|(United-States) Utah| |60|(United-States) Vermont| |59|(United-States) Virginia| |61|(United-States) Washington| |62|(United-States) West Virginia| |63|(United-States) Wisconsin| |64|(United-States) Wyoming|", alias="fkiProvinceID") fki_country_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Country. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|Canada| |2|United-States|", alias="fkiCountryID") s_address_zip: StrictStr = Field(description="The Postal/Zip Code The value must be entered without spaces", alias="sAddressZip") f_address_longitude: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Longitude of the Address", alias="fAddressLongitude") f_address_latitude: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Latitude of the Address", alias="fAddressLatitude") - __properties: ClassVar[List[str]] = ["fkiAddresstypeID", "sAddressCivic", "sAddressStreet", "sAddressSuite", "sAddressCity", "fkiProvinceID", "fkiCountryID", "sAddressZip", "fAddressLongitude", "fAddressLatitude"] + __properties: ClassVar[List[str]] = ["pkiAddressID", "fkiAddresstypeID", "sAddressCivic", "sAddressStreet", "sAddressSuite", "sAddressCity", "fkiProvinceID", "fkiCountryID", "sAddressZip", "fAddressLongitude", "fAddressLatitude"] @field_validator('f_address_longitude') def f_address_longitude_validate_regular_expression(cls, value): @@ -111,6 +112,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "pkiAddressID": obj.get("pkiAddressID"), "fkiAddresstypeID": obj.get("fkiAddresstypeID"), "sAddressCivic": obj.get("sAddressCivic"), "sAddressStreet": obj.get("sAddressStreet"), diff --git a/eZmaxApi/models/address_request_compound.py b/eZmaxApi/models/address_request_compound.py index 80ac63cd5..da60a41f8 100644 --- a/eZmaxApi/models/address_request_compound.py +++ b/eZmaxApi/models/address_request_compound.py @@ -28,17 +28,18 @@ class AddressRequestCompound(BaseModel): """ An Address Object and children to create a complete structure """ # noqa: E501 + pki_address_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Address", alias="pkiAddressID") fki_addresstype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Addresstype. Valid values: |Value|Description| |-|-| |1|Office| |2|Home| |3|Real Estate Invoice| |4|Invoicing| |5|Shipping|", alias="fkiAddresstypeID") s_address_civic: StrictStr = Field(description="The Civic number.", alias="sAddressCivic") s_address_street: StrictStr = Field(description="The Street Name", alias="sAddressStreet") - s_address_suite: StrictStr = Field(description="The Suite or appartment number", alias="sAddressSuite") + s_address_suite: Optional[StrictStr] = Field(default=None, description="The Suite or appartment number", alias="sAddressSuite") s_address_city: StrictStr = Field(description="The City name", alias="sAddressCity") fki_province_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Province. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|(Canada) Alberta |2|(Canada) British Columbia| |3|(Canada) Manitoba| |3|(Canada) Manitoba| |4|(Canada) New Brunswick| |5|(Canada) Newfoundland| |6|(Canada) Northwest Territories| |7|(Canada) Nova Scotia| |8|(Canada) Nunavut| |9|(Canada) Ontario| |10|(Canada) Prince Edward Island| |11|(Canada) Quebec| |12|(Canada) Saskatchewan| |13|(Canada) Yukon| |14|(United-States) Alabama| |15|(United-States) Alaska| |16|(United-States) Arizona| |17|(United-States) Arkansas| |18|(United-States) California| |19|(United-States) Colorado| |20|(United-States) Connecticut| |21|(United-States) Delaware| |22|(United-States) District of Columbia| |23|(United-States) Florida| |24|(United-States) Georgia| |25|(United-States) Hawaii| |26|(United-States) Idaho| |27|(United-States) Illinois| |28|(United-States) Indiana| |29|(United-States) Iowa| |30|(United-States) Kansas| |31|(United-States) Kentucky| |32|(United-States) Louisiane| |33|(United-States) Maine| |34|(United-States) Maryland| |35|(United-States) Massachusetts| |36|(United-States) Michigan| |37|(United-States) Minnesota| |38|(United-States) Mississippi| |39|(United-States) Missouri| |40|(United-States) Montana| |41|(United-States) Nebraska| |42|(United-States) Nevada| |43|(United-States) New Hampshire| |44|(United-States) New Jersey| |45|(United-States) New Mexico| |46|(United-States) New York| |47|(United-States) North Carolina| |48|(United-States) North Dakota| |49|(United-States) Ohio| |50|(United-States) Oklahoma| |51|(United-States) Oregon| |52|(United-States) Pennsylvania| |53|(United-States) Rhode Island| |54|(United-States) South Carolina| |55|(United-States) South Dakota| |56|(United-States) Tennessee| |57|(United-States) Texas| |58|(United-States) Utah| |60|(United-States) Vermont| |59|(United-States) Virginia| |61|(United-States) Washington| |62|(United-States) West Virginia| |63|(United-States) Wisconsin| |64|(United-States) Wyoming|", alias="fkiProvinceID") fki_country_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Country. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|Canada| |2|United-States|", alias="fkiCountryID") s_address_zip: StrictStr = Field(description="The Postal/Zip Code The value must be entered without spaces", alias="sAddressZip") f_address_longitude: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Longitude of the Address", alias="fAddressLongitude") f_address_latitude: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Latitude of the Address", alias="fAddressLatitude") - __properties: ClassVar[List[str]] = ["fkiAddresstypeID", "sAddressCivic", "sAddressStreet", "sAddressSuite", "sAddressCity", "fkiProvinceID", "fkiCountryID", "sAddressZip", "fAddressLongitude", "fAddressLatitude"] + __properties: ClassVar[List[str]] = ["pkiAddressID", "fkiAddresstypeID", "sAddressCivic", "sAddressStreet", "sAddressSuite", "sAddressCity", "fkiProvinceID", "fkiCountryID", "sAddressZip", "fAddressLongitude", "fAddressLatitude"] @field_validator('f_address_longitude') def f_address_longitude_validate_regular_expression(cls, value): @@ -111,6 +112,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "pkiAddressID": obj.get("pkiAddressID"), "fkiAddresstypeID": obj.get("fkiAddresstypeID"), "sAddressCivic": obj.get("sAddressCivic"), "sAddressStreet": obj.get("sAddressStreet"), diff --git a/eZmaxApi/models/address_response.py b/eZmaxApi/models/address_response.py new file mode 100644 index 000000000..4fdce9d0e --- /dev/null +++ b/eZmaxApi/models/address_response.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class AddressResponse(BaseModel): + """ + An Address Object + """ # noqa: E501 + pki_address_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Address", alias="pkiAddressID") + fki_addresstype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Addresstype. Valid values: |Value|Description| |-|-| |1|Office| |2|Home| |3|Real Estate Invoice| |4|Invoicing| |5|Shipping|", alias="fkiAddresstypeID") + s_address_civic: StrictStr = Field(description="The Civic number.", alias="sAddressCivic") + s_address_street: StrictStr = Field(description="The Street Name", alias="sAddressStreet") + s_address_suite: Optional[StrictStr] = Field(default=None, description="The Suite or appartment number", alias="sAddressSuite") + s_address_city: StrictStr = Field(description="The City name", alias="sAddressCity") + fki_province_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Province. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|(Canada) Alberta |2|(Canada) British Columbia| |3|(Canada) Manitoba| |3|(Canada) Manitoba| |4|(Canada) New Brunswick| |5|(Canada) Newfoundland| |6|(Canada) Northwest Territories| |7|(Canada) Nova Scotia| |8|(Canada) Nunavut| |9|(Canada) Ontario| |10|(Canada) Prince Edward Island| |11|(Canada) Quebec| |12|(Canada) Saskatchewan| |13|(Canada) Yukon| |14|(United-States) Alabama| |15|(United-States) Alaska| |16|(United-States) Arizona| |17|(United-States) Arkansas| |18|(United-States) California| |19|(United-States) Colorado| |20|(United-States) Connecticut| |21|(United-States) Delaware| |22|(United-States) District of Columbia| |23|(United-States) Florida| |24|(United-States) Georgia| |25|(United-States) Hawaii| |26|(United-States) Idaho| |27|(United-States) Illinois| |28|(United-States) Indiana| |29|(United-States) Iowa| |30|(United-States) Kansas| |31|(United-States) Kentucky| |32|(United-States) Louisiane| |33|(United-States) Maine| |34|(United-States) Maryland| |35|(United-States) Massachusetts| |36|(United-States) Michigan| |37|(United-States) Minnesota| |38|(United-States) Mississippi| |39|(United-States) Missouri| |40|(United-States) Montana| |41|(United-States) Nebraska| |42|(United-States) Nevada| |43|(United-States) New Hampshire| |44|(United-States) New Jersey| |45|(United-States) New Mexico| |46|(United-States) New York| |47|(United-States) North Carolina| |48|(United-States) North Dakota| |49|(United-States) Ohio| |50|(United-States) Oklahoma| |51|(United-States) Oregon| |52|(United-States) Pennsylvania| |53|(United-States) Rhode Island| |54|(United-States) South Carolina| |55|(United-States) South Dakota| |56|(United-States) Tennessee| |57|(United-States) Texas| |58|(United-States) Utah| |60|(United-States) Vermont| |59|(United-States) Virginia| |61|(United-States) Washington| |62|(United-States) West Virginia| |63|(United-States) Wisconsin| |64|(United-States) Wyoming|", alias="fkiProvinceID") + s_province_name_x: Annotated[str, Field(strict=True)] = Field(description="The name of the Province in the language of the requester", alias="sProvinceNameX") + fki_country_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Country. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|Canada| |2|United-States|", alias="fkiCountryID") + s_country_name_x: Annotated[str, Field(strict=True)] = Field(description="The name of the Country in the language of the requester", alias="sCountryNameX") + s_address_zip: StrictStr = Field(description="The Postal/Zip Code The value must be entered without spaces", alias="sAddressZip") + f_address_longitude: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Longitude of the Address", alias="fAddressLongitude") + f_address_latitude: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Latitude of the Address", alias="fAddressLatitude") + __properties: ClassVar[List[str]] = ["pkiAddressID", "fkiAddresstypeID", "sAddressCivic", "sAddressStreet", "sAddressSuite", "sAddressCity", "fkiProvinceID", "sProvinceNameX", "fkiCountryID", "sCountryNameX", "sAddressZip", "fAddressLongitude", "fAddressLatitude"] + + @field_validator('s_province_name_x') + def s_province_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_country_name_x') + def s_country_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,40}$", value): + raise ValueError(r"must validate the regular expression /^.{0,40}$/") + return value + + @field_validator('f_address_longitude') + def f_address_longitude_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(-?)(180(\.0{1,15})?|((1[0-7]\d)|(\d{1,2}))(\.\d{1,15})?)$", value): + raise ValueError(r"must validate the regular expression /^(-?)(180(\.0{1,15})?|((1[0-7]\d)|(\d{1,2}))(\.\d{1,15})?)$/") + return value + + @field_validator('f_address_latitude') + def f_address_latitude_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(-?)(90(\.0{1,15})?|([1-8]?\d(\.\d{1,15})?))$", value): + raise ValueError(r"must validate the regular expression /^(-?)(90(\.0{1,15})?|([1-8]?\d(\.\d{1,15})?))$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AddressResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AddressResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAddressID": obj.get("pkiAddressID"), + "fkiAddresstypeID": obj.get("fkiAddresstypeID"), + "sAddressCivic": obj.get("sAddressCivic"), + "sAddressStreet": obj.get("sAddressStreet"), + "sAddressSuite": obj.get("sAddressSuite"), + "sAddressCity": obj.get("sAddressCity"), + "fkiProvinceID": obj.get("fkiProvinceID"), + "sProvinceNameX": obj.get("sProvinceNameX"), + "fkiCountryID": obj.get("fkiCountryID"), + "sCountryNameX": obj.get("sCountryNameX"), + "sAddressZip": obj.get("sAddressZip"), + "fAddressLongitude": obj.get("fAddressLongitude"), + "fAddressLatitude": obj.get("fAddressLatitude") + }) + return _obj + + diff --git a/eZmaxApi/models/address_response_compound.py b/eZmaxApi/models/address_response_compound.py new file mode 100644 index 000000000..3c2c127e3 --- /dev/null +++ b/eZmaxApi/models/address_response_compound.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class AddressResponseCompound(BaseModel): + """ + An Address Object and children to create a complete structure + """ # noqa: E501 + pki_address_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Address", alias="pkiAddressID") + fki_addresstype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Addresstype. Valid values: |Value|Description| |-|-| |1|Office| |2|Home| |3|Real Estate Invoice| |4|Invoicing| |5|Shipping|", alias="fkiAddresstypeID") + s_address_civic: StrictStr = Field(description="The Civic number.", alias="sAddressCivic") + s_address_street: StrictStr = Field(description="The Street Name", alias="sAddressStreet") + s_address_suite: Optional[StrictStr] = Field(default=None, description="The Suite or appartment number", alias="sAddressSuite") + s_address_city: StrictStr = Field(description="The City name", alias="sAddressCity") + fki_province_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Province. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|(Canada) Alberta |2|(Canada) British Columbia| |3|(Canada) Manitoba| |3|(Canada) Manitoba| |4|(Canada) New Brunswick| |5|(Canada) Newfoundland| |6|(Canada) Northwest Territories| |7|(Canada) Nova Scotia| |8|(Canada) Nunavut| |9|(Canada) Ontario| |10|(Canada) Prince Edward Island| |11|(Canada) Quebec| |12|(Canada) Saskatchewan| |13|(Canada) Yukon| |14|(United-States) Alabama| |15|(United-States) Alaska| |16|(United-States) Arizona| |17|(United-States) Arkansas| |18|(United-States) California| |19|(United-States) Colorado| |20|(United-States) Connecticut| |21|(United-States) Delaware| |22|(United-States) District of Columbia| |23|(United-States) Florida| |24|(United-States) Georgia| |25|(United-States) Hawaii| |26|(United-States) Idaho| |27|(United-States) Illinois| |28|(United-States) Indiana| |29|(United-States) Iowa| |30|(United-States) Kansas| |31|(United-States) Kentucky| |32|(United-States) Louisiane| |33|(United-States) Maine| |34|(United-States) Maryland| |35|(United-States) Massachusetts| |36|(United-States) Michigan| |37|(United-States) Minnesota| |38|(United-States) Mississippi| |39|(United-States) Missouri| |40|(United-States) Montana| |41|(United-States) Nebraska| |42|(United-States) Nevada| |43|(United-States) New Hampshire| |44|(United-States) New Jersey| |45|(United-States) New Mexico| |46|(United-States) New York| |47|(United-States) North Carolina| |48|(United-States) North Dakota| |49|(United-States) Ohio| |50|(United-States) Oklahoma| |51|(United-States) Oregon| |52|(United-States) Pennsylvania| |53|(United-States) Rhode Island| |54|(United-States) South Carolina| |55|(United-States) South Dakota| |56|(United-States) Tennessee| |57|(United-States) Texas| |58|(United-States) Utah| |60|(United-States) Vermont| |59|(United-States) Virginia| |61|(United-States) Washington| |62|(United-States) West Virginia| |63|(United-States) Wisconsin| |64|(United-States) Wyoming|", alias="fkiProvinceID") + s_province_name_x: Annotated[str, Field(strict=True)] = Field(description="The name of the Province in the language of the requester", alias="sProvinceNameX") + fki_country_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Country. Here are some common values (Complete list must be retrieved from API): |Value|Description| |-|-| |1|Canada| |2|United-States|", alias="fkiCountryID") + s_country_name_x: Annotated[str, Field(strict=True)] = Field(description="The name of the Country in the language of the requester", alias="sCountryNameX") + s_address_zip: StrictStr = Field(description="The Postal/Zip Code The value must be entered without spaces", alias="sAddressZip") + f_address_longitude: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Longitude of the Address", alias="fAddressLongitude") + f_address_latitude: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Latitude of the Address", alias="fAddressLatitude") + __properties: ClassVar[List[str]] = ["pkiAddressID", "fkiAddresstypeID", "sAddressCivic", "sAddressStreet", "sAddressSuite", "sAddressCity", "fkiProvinceID", "sProvinceNameX", "fkiCountryID", "sCountryNameX", "sAddressZip", "fAddressLongitude", "fAddressLatitude"] + + @field_validator('s_province_name_x') + def s_province_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_country_name_x') + def s_country_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,40}$", value): + raise ValueError(r"must validate the regular expression /^.{0,40}$/") + return value + + @field_validator('f_address_longitude') + def f_address_longitude_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(-?)(180(\.0{1,15})?|((1[0-7]\d)|(\d{1,2}))(\.\d{1,15})?)$", value): + raise ValueError(r"must validate the regular expression /^(-?)(180(\.0{1,15})?|((1[0-7]\d)|(\d{1,2}))(\.\d{1,15})?)$/") + return value + + @field_validator('f_address_latitude') + def f_address_latitude_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(-?)(90(\.0{1,15})?|([1-8]?\d(\.\d{1,15})?))$", value): + raise ValueError(r"must validate the regular expression /^(-?)(90(\.0{1,15})?|([1-8]?\d(\.\d{1,15})?))$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AddressResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AddressResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAddressID": obj.get("pkiAddressID"), + "fkiAddresstypeID": obj.get("fkiAddresstypeID"), + "sAddressCivic": obj.get("sAddressCivic"), + "sAddressStreet": obj.get("sAddressStreet"), + "sAddressSuite": obj.get("sAddressSuite"), + "sAddressCity": obj.get("sAddressCity"), + "fkiProvinceID": obj.get("fkiProvinceID"), + "sProvinceNameX": obj.get("sProvinceNameX"), + "fkiCountryID": obj.get("fkiCountryID"), + "sCountryNameX": obj.get("sCountryNameX"), + "sAddressZip": obj.get("sAddressZip"), + "fAddressLongitude": obj.get("fAddressLongitude"), + "fAddressLatitude": obj.get("fAddressLatitude") + }) + return _obj + + diff --git a/eZmaxApi/models/apikey_create_object_v2_request.py b/eZmaxApi/models/apikey_create_object_v2_request.py index 056403ac5..3d5ee84f0 100644 --- a/eZmaxApi/models/apikey_create_object_v2_request.py +++ b/eZmaxApi/models/apikey_create_object_v2_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_apikey (list) _items = [] if self.a_obj_apikey: - for _item in self.a_obj_apikey: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_apikey in self.a_obj_apikey: + if _item_a_obj_apikey: + _items.append(_item_a_obj_apikey.to_dict()) _dict['a_objApikey'] = _items return _dict diff --git a/eZmaxApi/models/apikey_create_object_v2_response_m_payload.py b/eZmaxApi/models/apikey_create_object_v2_response_m_payload.py index 87b0e5aa0..e40834d84 100644 --- a/eZmaxApi/models/apikey_create_object_v2_response_m_payload.py +++ b/eZmaxApi/models/apikey_create_object_v2_response_m_payload.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_apikey (list) _items = [] if self.a_obj_apikey: - for _item in self.a_obj_apikey: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_apikey in self.a_obj_apikey: + if _item_a_obj_apikey: + _items.append(_item_a_obj_apikey.to_dict()) _dict['a_objApikey'] = _items return _dict diff --git a/eZmaxApi/models/apikey_edit_permissions_v1_request.py b/eZmaxApi/models/apikey_edit_permissions_v1_request.py index f4b16b746..d14dce826 100644 --- a/eZmaxApi/models/apikey_edit_permissions_v1_request.py +++ b/eZmaxApi/models/apikey_edit_permissions_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_permission (list) _items = [] if self.a_obj_permission: - for _item in self.a_obj_permission: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_permission in self.a_obj_permission: + if _item_a_obj_permission: + _items.append(_item_a_obj_permission.to_dict()) _dict['a_objPermission'] = _items return _dict diff --git a/eZmaxApi/models/apikey_generate_delegated_credentials_v1_request.py b/eZmaxApi/models/apikey_generate_delegated_credentials_v1_request.py new file mode 100644 index 000000000..0fc8186de --- /dev/null +++ b/eZmaxApi/models/apikey_generate_delegated_credentials_v1_request.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class ApikeyGenerateDelegatedCredentialsV1Request(BaseModel): + """ + Request for POST /1/object/apikey/generateDelegatedCredentials + """ # noqa: E501 + i_expiration_minutes: Annotated[int, Field(le=180, strict=True, ge=1)] = Field(description="The number of minute before key is no longer active", alias="iExpirationMinutes") + __properties: ClassVar[List[str]] = ["iExpirationMinutes"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ApikeyGenerateDelegatedCredentialsV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ApikeyGenerateDelegatedCredentialsV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iExpirationMinutes": obj.get("iExpirationMinutes") + }) + return _obj + + diff --git a/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response.py b/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response.py new file mode 100644 index 000000000..ee2cd2992 --- /dev/null +++ b/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response_m_payload import ApikeyGenerateDelegatedCredentialsV1ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class ApikeyGenerateDelegatedCredentialsV1Response(BaseModel): + """ + Response for POST /1/object/apikey/generateDelegatedCredentials + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: ApikeyGenerateDelegatedCredentialsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ApikeyGenerateDelegatedCredentialsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ApikeyGenerateDelegatedCredentialsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response_m_payload.py b/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response_m_payload.py new file mode 100644 index 000000000..cab1de872 --- /dev/null +++ b/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_apikey import CustomApikey +from typing import Optional, Set +from typing_extensions import Self + +class ApikeyGenerateDelegatedCredentialsV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/apikey/generateDelegatedCredentials + """ # noqa: E501 + obj_apikey: CustomApikey = Field(alias="objApikey") + __properties: ClassVar[List[str]] = ["objApikey"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ApikeyGenerateDelegatedCredentialsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_apikey + if self.obj_apikey: + _dict['objApikey'] = self.obj_apikey.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ApikeyGenerateDelegatedCredentialsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objApikey": CustomApikey.from_dict(obj["objApikey"]) if obj.get("objApikey") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/apikey_get_cors_v1_response_m_payload.py b/eZmaxApi/models/apikey_get_cors_v1_response_m_payload.py index 4f2b9635f..81731e58b 100644 --- a/eZmaxApi/models/apikey_get_cors_v1_response_m_payload.py +++ b/eZmaxApi/models/apikey_get_cors_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_cors (list) _items = [] if self.a_obj_cors: - for _item in self.a_obj_cors: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_cors in self.a_obj_cors: + if _item_a_obj_cors: + _items.append(_item_a_obj_cors.to_dict()) _dict['a_objCors'] = _items return _dict diff --git a/eZmaxApi/models/apikey_get_list_v1_response_m_payload.py b/eZmaxApi/models/apikey_get_list_v1_response_m_payload.py index 106e02e31..377a8c4c8 100644 --- a/eZmaxApi/models/apikey_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/apikey_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_apikey (list) _items = [] if self.a_obj_apikey: - for _item in self.a_obj_apikey: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_apikey in self.a_obj_apikey: + if _item_a_obj_apikey: + _items.append(_item_a_obj_apikey.to_dict()) _dict['a_objApikey'] = _items return _dict diff --git a/eZmaxApi/models/apikey_get_permissions_v1_response_m_payload.py b/eZmaxApi/models/apikey_get_permissions_v1_response_m_payload.py index 7a2e23292..9fb75b342 100644 --- a/eZmaxApi/models/apikey_get_permissions_v1_response_m_payload.py +++ b/eZmaxApi/models/apikey_get_permissions_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_modulegroup (list) _items = [] if self.a_obj_modulegroup: - for _item in self.a_obj_modulegroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_modulegroup in self.a_obj_modulegroup: + if _item_a_obj_modulegroup: + _items.append(_item_a_obj_modulegroup.to_dict()) _dict['a_objModulegroup'] = _items return _dict diff --git a/eZmaxApi/models/apikey_get_subnets_v1_response_m_payload.py b/eZmaxApi/models/apikey_get_subnets_v1_response_m_payload.py index 310e68233..11106f7a8 100644 --- a/eZmaxApi/models/apikey_get_subnets_v1_response_m_payload.py +++ b/eZmaxApi/models/apikey_get_subnets_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_subnet (list) _items = [] if self.a_obj_subnet: - for _item in self.a_obj_subnet: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_subnet in self.a_obj_subnet: + if _item_a_obj_subnet: + _items.append(_item_a_obj_subnet.to_dict()) _dict['a_objSubnet'] = _items return _dict diff --git a/eZmaxApi/models/attachment_get_attachmentlogs_v1_response_m_payload.py b/eZmaxApi/models/attachment_get_attachmentlogs_v1_response_m_payload.py index 5787a4fc5..ce0565c91 100644 --- a/eZmaxApi/models/attachment_get_attachmentlogs_v1_response_m_payload.py +++ b/eZmaxApi/models/attachment_get_attachmentlogs_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attachmentlog (list) _items = [] if self.a_obj_attachmentlog: - for _item in self.a_obj_attachmentlog: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attachmentlog in self.a_obj_attachmentlog: + if _item_a_obj_attachmentlog: + _items.append(_item_a_obj_attachmentlog.to_dict()) _dict['a_objAttachmentlog'] = _items return _dict diff --git a/eZmaxApi/models/attachment_get_download_url_v1_response.py b/eZmaxApi/models/attachment_get_download_url_v1_response.py deleted file mode 100644 index da031fc43..000000000 --- a/eZmaxApi/models/attachment_get_download_url_v1_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.attachment_get_download_url_v1_response_m_payload import AttachmentGetDownloadUrlV1ResponseMPayload -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class AttachmentGetDownloadUrlV1Response(BaseModel): - """ - Response for GET /1/object/attachment/{pkiAttachmentID}/getDownloadUrl - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: AttachmentGetDownloadUrlV1ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AttachmentGetDownloadUrlV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AttachmentGetDownloadUrlV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": AttachmentGetDownloadUrlV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/attachment_get_download_url_v1_response_m_payload.py b/eZmaxApi/models/attachment_get_download_url_v1_response_m_payload.py deleted file mode 100644 index f05bfffe2..000000000 --- a/eZmaxApi/models/attachment_get_download_url_v1_response_m_payload.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List -from typing import Optional, Set -from typing_extensions import Self - -class AttachmentGetDownloadUrlV1ResponseMPayload(BaseModel): - """ - Payload for GET /1/object/attachment/{pkiAttachmentID}/getDownloadUrl - """ # noqa: E501 - s_download_url: StrictStr = Field(description="The Url to the requested attachment. Url will expire after 5 minutes.", alias="sDownloadUrl") - __properties: ClassVar[List[str]] = ["sDownloadUrl"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AttachmentGetDownloadUrlV1ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AttachmentGetDownloadUrlV1ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "sDownloadUrl": obj.get("sDownloadUrl") - }) - return _obj - - diff --git a/eZmaxApi/models/authenticationexternal_autocomplete_element_response.py b/eZmaxApi/models/authenticationexternal_autocomplete_element_response.py new file mode 100644 index 000000000..9a1a923ea --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_autocomplete_element_response.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalAutocompleteElementResponse(BaseModel): + """ + A Authenticationexternal AutocompleteElement Response + """ # noqa: E501 + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Authenticationexternal", alias="pkiAuthenticationexternalID") + s_authenticationexternal_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") + b_authenticationexternal_isactive: StrictBool = Field(description="Whether the Authenticationexternal is active or not", alias="bAuthenticationexternalIsactive") + __properties: ClassVar[List[str]] = ["pkiAuthenticationexternalID", "sAuthenticationexternalDescription", "bAuthenticationexternalIsactive"] + + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalAutocompleteElementResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalAutocompleteElementResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAuthenticationexternalID": obj.get("pkiAuthenticationexternalID"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), + "bAuthenticationexternalIsactive": obj.get("bAuthenticationexternalIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_create_object_v1_request.py b/eZmaxApi/models/authenticationexternal_create_object_v1_request.py new file mode 100644 index 000000000..091bc319a --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_create_object_v1_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.authenticationexternal_request_compound import AuthenticationexternalRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalCreateObjectV1Request(BaseModel): + """ + Request for POST /1/object/authenticationexternal + """ # noqa: E501 + a_obj_authenticationexternal: Annotated[List[AuthenticationexternalRequestCompound], Field(min_length=1)] = Field(alias="a_objAuthenticationexternal") + __properties: ClassVar[List[str]] = ["a_objAuthenticationexternal"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalCreateObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_authenticationexternal (list) + _items = [] + if self.a_obj_authenticationexternal: + for _item_a_obj_authenticationexternal in self.a_obj_authenticationexternal: + if _item_a_obj_authenticationexternal: + _items.append(_item_a_obj_authenticationexternal.to_dict()) + _dict['a_objAuthenticationexternal'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalCreateObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objAuthenticationexternal": [AuthenticationexternalRequestCompound.from_dict(_item) for _item in obj["a_objAuthenticationexternal"]] if obj.get("a_objAuthenticationexternal") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_create_object_v1_response.py b/eZmaxApi/models/authenticationexternal_create_object_v1_response.py new file mode 100644 index 000000000..65bddd64f --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_create_object_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.authenticationexternal_create_object_v1_response_m_payload import AuthenticationexternalCreateObjectV1ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalCreateObjectV1Response(BaseModel): + """ + Response for POST /1/object/authenticationexternal + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: AuthenticationexternalCreateObjectV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalCreateObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalCreateObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": AuthenticationexternalCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_create_object_v1_response_m_payload.py b/eZmaxApi/models/authenticationexternal_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..7bd00b344 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_create_object_v1_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalCreateObjectV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/authenticationexternal + """ # noqa: E501 + a_pki_authenticationexternal_id: List[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiAuthenticationexternalID") + __properties: ClassVar[List[str]] = ["a_pkiAuthenticationexternalID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalCreateObjectV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalCreateObjectV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiAuthenticationexternalID": obj.get("a_pkiAuthenticationexternalID") + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_delete_object_v1_response.py b/eZmaxApi/models/authenticationexternal_delete_object_v1_response.py new file mode 100644 index 000000000..1a154eb68 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_delete_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalDeleteObjectV1Response(BaseModel): + """ + Response for DELETE /1/object/authenticationexternal/{pkiAuthenticationexternalID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalDeleteObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalDeleteObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_edit_object_v1_request.py b/eZmaxApi/models/authenticationexternal_edit_object_v1_request.py new file mode 100644 index 000000000..74416fbc7 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_edit_object_v1_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.authenticationexternal_request_compound import AuthenticationexternalRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalEditObjectV1Request(BaseModel): + """ + Request for PUT /1/object/authenticationexternal/{pkiAuthenticationexternalID} + """ # noqa: E501 + obj_authenticationexternal: AuthenticationexternalRequestCompound = Field(alias="objAuthenticationexternal") + __properties: ClassVar[List[str]] = ["objAuthenticationexternal"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalEditObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_authenticationexternal + if self.obj_authenticationexternal: + _dict['objAuthenticationexternal'] = self.obj_authenticationexternal.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalEditObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objAuthenticationexternal": AuthenticationexternalRequestCompound.from_dict(obj["objAuthenticationexternal"]) if obj.get("objAuthenticationexternal") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_edit_object_v1_response.py b/eZmaxApi/models/authenticationexternal_edit_object_v1_response.py new file mode 100644 index 000000000..b3c493064 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_edit_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalEditObjectV1Response(BaseModel): + """ + Response for PUT /1/object/authenticationexternal/{pkiAuthenticationexternalID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalEditObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalEditObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response.py b/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response.py new file mode 100644 index 000000000..4303d45b6 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response_m_payload import AuthenticationexternalGetAutocompleteV2ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalGetAutocompleteV2Response(BaseModel): + """ + Response for GET /2/object/authenticationexternal/getAutocomplete + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: AuthenticationexternalGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetAutocompleteV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetAutocompleteV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": AuthenticationexternalGetAutocompleteV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..57d74b3c6 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.authenticationexternal_autocomplete_element_response import AuthenticationexternalAutocompleteElementResponse +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalGetAutocompleteV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/authenticationexternal/getAutocomplete + """ # noqa: E501 + a_obj_authenticationexternal: List[AuthenticationexternalAutocompleteElementResponse] = Field(description="An array of Authenticationexternal autocomplete element response.", alias="a_objAuthenticationexternal") + __properties: ClassVar[List[str]] = ["a_objAuthenticationexternal"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetAutocompleteV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_authenticationexternal (list) + _items = [] + if self.a_obj_authenticationexternal: + for _item_a_obj_authenticationexternal in self.a_obj_authenticationexternal: + if _item_a_obj_authenticationexternal: + _items.append(_item_a_obj_authenticationexternal.to_dict()) + _dict['a_objAuthenticationexternal'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetAutocompleteV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objAuthenticationexternal": [AuthenticationexternalAutocompleteElementResponse.from_dict(_item) for _item in obj["a_objAuthenticationexternal"]] if obj.get("a_objAuthenticationexternal") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_get_list_v1_response.py b/eZmaxApi/models/authenticationexternal_get_list_v1_response.py new file mode 100644 index 000000000..448a0f4b2 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_get_list_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.authenticationexternal_get_list_v1_response_m_payload import AuthenticationexternalGetListV1ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalGetListV1Response(BaseModel): + """ + Response for GET /1/object/authenticationexternal/getList + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: AuthenticationexternalGetListV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayloadGetList.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": AuthenticationexternalGetListV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_get_list_v1_response_m_payload.py b/eZmaxApi/models/authenticationexternal_get_list_v1_response_m_payload.py new file mode 100644 index 000000000..a0f017b0b --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_get_list_v1_response_m_payload.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.authenticationexternal_list_element import AuthenticationexternalListElement +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalGetListV1ResponseMPayload(BaseModel): + """ + Payload for GET /1/object/authenticationexternal/getList + """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") + a_obj_authenticationexternal: List[AuthenticationexternalListElement] = Field(alias="a_objAuthenticationexternal") + __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objAuthenticationexternal"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_authenticationexternal (list) + _items = [] + if self.a_obj_authenticationexternal: + for _item_a_obj_authenticationexternal in self.a_obj_authenticationexternal: + if _item_a_obj_authenticationexternal: + _items.append(_item_a_obj_authenticationexternal.to_dict()) + _dict['a_objAuthenticationexternal'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iRowReturned": obj.get("iRowReturned"), + "iRowFiltered": obj.get("iRowFiltered"), + "a_objAuthenticationexternal": [AuthenticationexternalListElement.from_dict(_item) for _item in obj["a_objAuthenticationexternal"]] if obj.get("a_objAuthenticationexternal") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_get_object_v2_response.py b/eZmaxApi/models/authenticationexternal_get_object_v2_response.py new file mode 100644 index 000000000..458dd0aa8 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_get_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.authenticationexternal_get_object_v2_response_m_payload import AuthenticationexternalGetObjectV2ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalGetObjectV2Response(BaseModel): + """ + Response for GET /2/object/authenticationexternal/{pkiAuthenticationexternalID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: AuthenticationexternalGetObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": AuthenticationexternalGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_get_object_v2_response_m_payload.py b/eZmaxApi/models/authenticationexternal_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..91b4fba1f --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_get_object_v2_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.authenticationexternal_response_compound import AuthenticationexternalResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalGetObjectV2ResponseMPayload(BaseModel): + """ + Payload for GET /2/object/authenticationexternal/{pkiAuthenticationexternalID} + """ # noqa: E501 + obj_authenticationexternal: AuthenticationexternalResponseCompound = Field(alias="objAuthenticationexternal") + __properties: ClassVar[List[str]] = ["objAuthenticationexternal"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_authenticationexternal + if self.obj_authenticationexternal: + _dict['objAuthenticationexternal'] = self.obj_authenticationexternal.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalGetObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objAuthenticationexternal": AuthenticationexternalResponseCompound.from_dict(obj["objAuthenticationexternal"]) if obj.get("objAuthenticationexternal") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_list_element.py b/eZmaxApi/models/authenticationexternal_list_element.py new file mode 100644 index 000000000..79fb873c1 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_list_element.py @@ -0,0 +1,103 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalListElement(BaseModel): + """ + A Authenticationexternal List Element + """ # noqa: E501 + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Authenticationexternal", alias="pkiAuthenticationexternalID") + s_authenticationexternal_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") + e_authenticationexternal_type: FieldEAuthenticationexternalType = Field(alias="eAuthenticationexternalType") + b_authenticationexternal_connected: StrictBool = Field(description="Whether the Authenticationexternal has been connected or not", alias="bAuthenticationexternalConnected") + __properties: ClassVar[List[str]] = ["pkiAuthenticationexternalID", "sAuthenticationexternalDescription", "eAuthenticationexternalType", "bAuthenticationexternalConnected"] + + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalListElement from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalListElement from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAuthenticationexternalID": obj.get("pkiAuthenticationexternalID"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), + "eAuthenticationexternalType": obj.get("eAuthenticationexternalType"), + "bAuthenticationexternalConnected": obj.get("bAuthenticationexternalConnected") + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_request.py b/eZmaxApi/models/authenticationexternal_request.py new file mode 100644 index 000000000..8a54d2198 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_request.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalRequest(BaseModel): + """ + A Authenticationexternal Object + """ # noqa: E501 + pki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="pkiAuthenticationexternalID") + s_authenticationexternal_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") + e_authenticationexternal_type: FieldEAuthenticationexternalType = Field(alias="eAuthenticationexternalType") + __properties: ClassVar[List[str]] = ["pkiAuthenticationexternalID", "sAuthenticationexternalDescription", "eAuthenticationexternalType"] + + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAuthenticationexternalID": obj.get("pkiAuthenticationexternalID"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), + "eAuthenticationexternalType": obj.get("eAuthenticationexternalType") + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_request_compound.py b/eZmaxApi/models/authenticationexternal_request_compound.py new file mode 100644 index 000000000..5d46cfe9b --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_request_compound.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalRequestCompound(BaseModel): + """ + A Authenticationexternal Object and children + """ # noqa: E501 + pki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="pkiAuthenticationexternalID") + s_authenticationexternal_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") + e_authenticationexternal_type: FieldEAuthenticationexternalType = Field(alias="eAuthenticationexternalType") + __properties: ClassVar[List[str]] = ["pkiAuthenticationexternalID", "sAuthenticationexternalDescription", "eAuthenticationexternalType"] + + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAuthenticationexternalID": obj.get("pkiAuthenticationexternalID"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), + "eAuthenticationexternalType": obj.get("eAuthenticationexternalType") + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_reset_authorization_v1_response.py b/eZmaxApi/models/authenticationexternal_reset_authorization_v1_response.py new file mode 100644 index 000000000..091c97366 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_reset_authorization_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalResetAuthorizationV1Response(BaseModel): + """ + Response for POST /1/object/authenticationexternal/{pkiAuthenticationexternalID}/resetAuthorization + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalResetAuthorizationV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalResetAuthorizationV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_response.py b/eZmaxApi/models/authenticationexternal_response.py new file mode 100644 index 000000000..302d6ae3a --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_response.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalResponse(BaseModel): + """ + A Authenticationexternal Object + """ # noqa: E501 + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Authenticationexternal", alias="pkiAuthenticationexternalID") + s_authenticationexternal_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") + e_authenticationexternal_type: FieldEAuthenticationexternalType = Field(alias="eAuthenticationexternalType") + b_authenticationexternal_connected: Optional[StrictBool] = Field(default=None, description="Whether the Authenticationexternal has been connected or not", alias="bAuthenticationexternalConnected") + s_authenticationexternal_authorizationurl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url to authorize the Authenticationexternal", alias="sAuthenticationexternalAuthorizationurl") + obj_audit: CommonAudit = Field(alias="objAudit") + __properties: ClassVar[List[str]] = ["pkiAuthenticationexternalID", "sAuthenticationexternalDescription", "eAuthenticationexternalType", "bAuthenticationexternalConnected", "sAuthenticationexternalAuthorizationurl", "objAudit"] + + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_authenticationexternal_authorizationurl') + def s_authenticationexternal_authorizationurl_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAuthenticationexternalID": obj.get("pkiAuthenticationexternalID"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), + "eAuthenticationexternalType": obj.get("eAuthenticationexternalType"), + "bAuthenticationexternalConnected": obj.get("bAuthenticationexternalConnected"), + "sAuthenticationexternalAuthorizationurl": obj.get("sAuthenticationexternalAuthorizationurl"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/authenticationexternal_response_compound.py b/eZmaxApi/models/authenticationexternal_response_compound.py new file mode 100644 index 000000000..cf2a48f25 --- /dev/null +++ b/eZmaxApi/models/authenticationexternal_response_compound.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType +from typing import Optional, Set +from typing_extensions import Self + +class AuthenticationexternalResponseCompound(BaseModel): + """ + A Authenticationexternal Object + """ # noqa: E501 + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Authenticationexternal", alias="pkiAuthenticationexternalID") + s_authenticationexternal_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") + e_authenticationexternal_type: FieldEAuthenticationexternalType = Field(alias="eAuthenticationexternalType") + b_authenticationexternal_connected: Optional[StrictBool] = Field(default=None, description="Whether the Authenticationexternal has been connected or not", alias="bAuthenticationexternalConnected") + s_authenticationexternal_authorizationurl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url to authorize the Authenticationexternal", alias="sAuthenticationexternalAuthorizationurl") + obj_audit: CommonAudit = Field(alias="objAudit") + __properties: ClassVar[List[str]] = ["pkiAuthenticationexternalID", "sAuthenticationexternalDescription", "eAuthenticationexternalType", "bAuthenticationexternalConnected", "sAuthenticationexternalAuthorizationurl", "objAudit"] + + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_authenticationexternal_authorizationurl') + def s_authenticationexternal_authorizationurl_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AuthenticationexternalResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AuthenticationexternalResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAuthenticationexternalID": obj.get("pkiAuthenticationexternalID"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), + "eAuthenticationexternalType": obj.get("eAuthenticationexternalType"), + "bAuthenticationexternalConnected": obj.get("bAuthenticationexternalConnected"), + "sAuthenticationexternalAuthorizationurl": obj.get("sAuthenticationexternalAuthorizationurl"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_request.py b/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_request.py new file mode 100644 index 000000000..8b07028c7 --- /dev/null +++ b/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_request.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class BillingentityexternalGenerateFederationTokenV1Request(BaseModel): + """ + Request for POST /1/object/billingentityexternal/{pkiBillingentityexternalID}/generateFederationToken + """ # noqa: E501 + fks_ezmaxcustomer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The Ezmaxcustomer code", alias="fksEzmaxcustomerCode") + __properties: ClassVar[List[str]] = ["fksEzmaxcustomerCode"] + + @field_validator('fks_ezmaxcustomer_code') + def fks_ezmaxcustomer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[a-z\d]{2,6}$", value): + raise ValueError(r"must validate the regular expression /^[a-z\d]{2,6}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BillingentityexternalGenerateFederationTokenV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BillingentityexternalGenerateFederationTokenV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fksEzmaxcustomerCode": obj.get("fksEzmaxcustomerCode") + }) + return _obj + + diff --git a/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response.py b/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response.py new file mode 100644 index 000000000..e76c8f06b --- /dev/null +++ b/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response_m_payload import BillingentityexternalGenerateFederationTokenV1ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class BillingentityexternalGenerateFederationTokenV1Response(BaseModel): + """ + Response for POST /1/object/billingentityexternal/{pkiBillingentityexternalID}/generateFederationToken + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: BillingentityexternalGenerateFederationTokenV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BillingentityexternalGenerateFederationTokenV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BillingentityexternalGenerateFederationTokenV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": BillingentityexternalGenerateFederationTokenV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response_m_payload.py b/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response_m_payload.py new file mode 100644 index 000000000..2577a7dc1 --- /dev/null +++ b/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response_m_payload.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.custom_apikeyfederation import CustomApikeyfederation +from typing import Optional, Set +from typing_extensions import Self + +class BillingentityexternalGenerateFederationTokenV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/billingentityexternal/{pkiBillingentityexternalID}/generateFederationToken + """ # noqa: E501 + obj_apikeyfederation: CustomApikeyfederation = Field(alias="objApikeyfederation") + s_ezmaxcustomercode_url: Annotated[str, Field(strict=True)] = Field(description="The url of the server the Ezmaxcustomer is located", alias="sEzmaxcustomercodeUrl") + __properties: ClassVar[List[str]] = ["objApikeyfederation", "sEzmaxcustomercodeUrl"] + + @field_validator('s_ezmaxcustomercode_url') + def s_ezmaxcustomercode_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BillingentityexternalGenerateFederationTokenV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_apikeyfederation + if self.obj_apikeyfederation: + _dict['objApikeyfederation'] = self.obj_apikeyfederation.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BillingentityexternalGenerateFederationTokenV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objApikeyfederation": CustomApikeyfederation.from_dict(obj["objApikeyfederation"]) if obj.get("objApikeyfederation") is not None else None, + "sEzmaxcustomercodeUrl": obj.get("sEzmaxcustomercodeUrl") + }) + return _obj + + diff --git a/eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response_m_payload.py index 6ba523ad1..a6c59fa1d 100644 --- a/eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_billingentityexternal (list) _items = [] if self.a_obj_billingentityexternal: - for _item in self.a_obj_billingentityexternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_billingentityexternal in self.a_obj_billingentityexternal: + if _item_a_obj_billingentityexternal: + _items.append(_item_a_obj_billingentityexternal.to_dict()) _dict['a_objBillingentityexternal'] = _items return _dict diff --git a/eZmaxApi/models/billingentityinternal_create_object_v1_request.py b/eZmaxApi/models/billingentityinternal_create_object_v1_request.py index 16dd1c132..4abe8f5e9 100644 --- a/eZmaxApi/models/billingentityinternal_create_object_v1_request.py +++ b/eZmaxApi/models/billingentityinternal_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_billingentityinternal (list) _items = [] if self.a_obj_billingentityinternal: - for _item in self.a_obj_billingentityinternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_billingentityinternal in self.a_obj_billingentityinternal: + if _item_a_obj_billingentityinternal: + _items.append(_item_a_obj_billingentityinternal.to_dict()) _dict['a_objBillingentityinternal'] = _items return _dict diff --git a/eZmaxApi/models/billingentityinternal_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/billingentityinternal_get_autocomplete_v2_response_m_payload.py index 1f5d127a1..3e66ebaeb 100644 --- a/eZmaxApi/models/billingentityinternal_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/billingentityinternal_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_billingentityinternal (list) _items = [] if self.a_obj_billingentityinternal: - for _item in self.a_obj_billingentityinternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_billingentityinternal in self.a_obj_billingentityinternal: + if _item_a_obj_billingentityinternal: + _items.append(_item_a_obj_billingentityinternal.to_dict()) _dict['a_objBillingentityinternal'] = _items return _dict diff --git a/eZmaxApi/models/billingentityinternal_get_list_v1_response_m_payload.py b/eZmaxApi/models/billingentityinternal_get_list_v1_response_m_payload.py index 828a49bb6..ccbdb8c4c 100644 --- a/eZmaxApi/models/billingentityinternal_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/billingentityinternal_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_billingentityinternal (list) _items = [] if self.a_obj_billingentityinternal: - for _item in self.a_obj_billingentityinternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_billingentityinternal in self.a_obj_billingentityinternal: + if _item_a_obj_billingentityinternal: + _items.append(_item_a_obj_billingentityinternal.to_dict()) _dict['a_objBillingentityinternal'] = _items return _dict diff --git a/eZmaxApi/models/billingentityinternal_request_compound.py b/eZmaxApi/models/billingentityinternal_request_compound.py index 60eff2e04..c145ee4d9 100644 --- a/eZmaxApi/models/billingentityinternal_request_compound.py +++ b/eZmaxApi/models/billingentityinternal_request_compound.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_billingentityinternalproduct (list) _items = [] if self.a_obj_billingentityinternalproduct: - for _item in self.a_obj_billingentityinternalproduct: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_billingentityinternalproduct in self.a_obj_billingentityinternalproduct: + if _item_a_obj_billingentityinternalproduct: + _items.append(_item_a_obj_billingentityinternalproduct.to_dict()) _dict['a_objBillingentityinternalproduct'] = _items return _dict diff --git a/eZmaxApi/models/billingentityinternal_response_compound.py b/eZmaxApi/models/billingentityinternal_response_compound.py index 995bdd188..6fb803d83 100644 --- a/eZmaxApi/models/billingentityinternal_response_compound.py +++ b/eZmaxApi/models/billingentityinternal_response_compound.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_billingentityinternalproduct (list) _items = [] if self.a_obj_billingentityinternalproduct: - for _item in self.a_obj_billingentityinternalproduct: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_billingentityinternalproduct in self.a_obj_billingentityinternalproduct: + if _item_a_obj_billingentityinternalproduct: + _items.append(_item_a_obj_billingentityinternalproduct.to_dict()) _dict['a_objBillingentityinternalproduct'] = _items return _dict diff --git a/eZmaxApi/models/branding_create_object_v1_request.py b/eZmaxApi/models/branding_create_object_v1_request.py deleted file mode 100644 index a51664d69..000000000 --- a/eZmaxApi/models/branding_create_object_v1_request.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from eZmaxApi.models.branding_request_compound import BrandingRequestCompound -from typing import Optional, Set -from typing_extensions import Self - -class BrandingCreateObjectV1Request(BaseModel): - """ - Request for POST /1/object/branding - """ # noqa: E501 - a_obj_branding: Annotated[List[BrandingRequestCompound], Field(min_length=1)] = Field(alias="a_objBranding") - __properties: ClassVar[List[str]] = ["a_objBranding"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingCreateObjectV1Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_branding (list) - _items = [] - if self.a_obj_branding: - for _item in self.a_obj_branding: - if _item: - _items.append(_item.to_dict()) - _dict['a_objBranding'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingCreateObjectV1Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_objBranding": [BrandingRequestCompound.from_dict(_item) for _item in obj["a_objBranding"]] if obj.get("a_objBranding") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/branding_create_object_v1_response.py b/eZmaxApi/models/branding_create_object_v1_response.py deleted file mode 100644 index bbd4ef327..000000000 --- a/eZmaxApi/models/branding_create_object_v1_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.branding_create_object_v1_response_m_payload import BrandingCreateObjectV1ResponseMPayload -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class BrandingCreateObjectV1Response(BaseModel): - """ - Response for POST /1/object/branding - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: BrandingCreateObjectV1ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingCreateObjectV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingCreateObjectV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": BrandingCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/branding_create_object_v1_response_m_payload.py b/eZmaxApi/models/branding_create_object_v1_response_m_payload.py deleted file mode 100644 index 803e20564..000000000 --- a/eZmaxApi/models/branding_create_object_v1_response_m_payload.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from typing import Optional, Set -from typing_extensions import Self - -class BrandingCreateObjectV1ResponseMPayload(BaseModel): - """ - Payload for POST /1/object/branding - """ # noqa: E501 - a_pki_branding_id: Annotated[List[Annotated[int, Field(strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiBrandingID") - __properties: ClassVar[List[str]] = ["a_pkiBrandingID"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingCreateObjectV1ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingCreateObjectV1ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_pkiBrandingID": obj.get("a_pkiBrandingID") - }) - return _obj - - diff --git a/eZmaxApi/models/branding_create_object_v2_request.py b/eZmaxApi/models/branding_create_object_v2_request.py new file mode 100644 index 000000000..a68bdd3f1 --- /dev/null +++ b/eZmaxApi/models/branding_create_object_v2_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.branding_request_compound_v2 import BrandingRequestCompoundV2 +from typing import Optional, Set +from typing_extensions import Self + +class BrandingCreateObjectV2Request(BaseModel): + """ + Request for POST /2/object/branding + """ # noqa: E501 + a_obj_branding: Annotated[List[BrandingRequestCompoundV2], Field(min_length=1)] = Field(alias="a_objBranding") + __properties: ClassVar[List[str]] = ["a_objBranding"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingCreateObjectV2Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_branding (list) + _items = [] + if self.a_obj_branding: + for _item_a_obj_branding in self.a_obj_branding: + if _item_a_obj_branding: + _items.append(_item_a_obj_branding.to_dict()) + _dict['a_objBranding'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingCreateObjectV2Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objBranding": [BrandingRequestCompoundV2.from_dict(_item) for _item in obj["a_objBranding"]] if obj.get("a_objBranding") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/branding_create_object_v2_response.py b/eZmaxApi/models/branding_create_object_v2_response.py new file mode 100644 index 000000000..06c3177b8 --- /dev/null +++ b/eZmaxApi/models/branding_create_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.branding_create_object_v2_response_m_payload import BrandingCreateObjectV2ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class BrandingCreateObjectV2Response(BaseModel): + """ + Response for POST /2/object/branding + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: BrandingCreateObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingCreateObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingCreateObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": BrandingCreateObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/branding_create_object_v2_response_m_payload.py b/eZmaxApi/models/branding_create_object_v2_response_m_payload.py new file mode 100644 index 000000000..03696a2a4 --- /dev/null +++ b/eZmaxApi/models/branding_create_object_v2_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class BrandingCreateObjectV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/branding + """ # noqa: E501 + a_pki_branding_id: Annotated[List[Annotated[int, Field(strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiBrandingID") + __properties: ClassVar[List[str]] = ["a_pkiBrandingID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingCreateObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingCreateObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiBrandingID": obj.get("a_pkiBrandingID") + }) + return _obj + + diff --git a/eZmaxApi/models/branding_edit_object_v1_request.py b/eZmaxApi/models/branding_edit_object_v1_request.py deleted file mode 100644 index b08807802..000000000 --- a/eZmaxApi/models/branding_edit_object_v1_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.branding_request_compound import BrandingRequestCompound -from typing import Optional, Set -from typing_extensions import Self - -class BrandingEditObjectV1Request(BaseModel): - """ - Request for PUT /1/object/branding/{pkiBrandingID} - """ # noqa: E501 - obj_branding: BrandingRequestCompound = Field(alias="objBranding") - __properties: ClassVar[List[str]] = ["objBranding"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingEditObjectV1Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_branding - if self.obj_branding: - _dict['objBranding'] = self.obj_branding.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingEditObjectV1Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objBranding": BrandingRequestCompound.from_dict(obj["objBranding"]) if obj.get("objBranding") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/branding_edit_object_v1_response.py b/eZmaxApi/models/branding_edit_object_v1_response.py deleted file mode 100644 index f34995b2a..000000000 --- a/eZmaxApi/models/branding_edit_object_v1_response.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class BrandingEditObjectV1Response(BaseModel): - """ - Response for PUT /1/object/branding/{pkiBrandingID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingEditObjectV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingEditObjectV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/branding_edit_object_v2_request.py b/eZmaxApi/models/branding_edit_object_v2_request.py new file mode 100644 index 000000000..5f06a05c9 --- /dev/null +++ b/eZmaxApi/models/branding_edit_object_v2_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.branding_request_compound_v2 import BrandingRequestCompoundV2 +from typing import Optional, Set +from typing_extensions import Self + +class BrandingEditObjectV2Request(BaseModel): + """ + Request for PUT /2/object/branding/{pkiBrandingID} + """ # noqa: E501 + obj_branding: BrandingRequestCompoundV2 = Field(alias="objBranding") + __properties: ClassVar[List[str]] = ["objBranding"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingEditObjectV2Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_branding + if self.obj_branding: + _dict['objBranding'] = self.obj_branding.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingEditObjectV2Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objBranding": BrandingRequestCompoundV2.from_dict(obj["objBranding"]) if obj.get("objBranding") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/branding_edit_object_v2_response.py b/eZmaxApi/models/branding_edit_object_v2_response.py new file mode 100644 index 000000000..4cbea3b4a --- /dev/null +++ b/eZmaxApi/models/branding_edit_object_v2_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class BrandingEditObjectV2Response(BaseModel): + """ + Response for PUT /2/object/branding/{pkiBrandingID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingEditObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingEditObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/branding_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/branding_get_autocomplete_v2_response_m_payload.py index e99ec2e5e..eafd76cd0 100644 --- a/eZmaxApi/models/branding_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/branding_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_branding (list) _items = [] if self.a_obj_branding: - for _item in self.a_obj_branding: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_branding in self.a_obj_branding: + if _item_a_obj_branding: + _items.append(_item_a_obj_branding.to_dict()) _dict['a_objBranding'] = _items return _dict diff --git a/eZmaxApi/models/branding_get_list_v1_response_m_payload.py b/eZmaxApi/models/branding_get_list_v1_response_m_payload.py index 878346a47..5a8c44530 100644 --- a/eZmaxApi/models/branding_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/branding_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_branding (list) _items = [] if self.a_obj_branding: - for _item in self.a_obj_branding: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_branding in self.a_obj_branding: + if _item_a_obj_branding: + _items.append(_item_a_obj_branding.to_dict()) _dict['a_objBranding'] = _items return _dict diff --git a/eZmaxApi/models/branding_get_object_v2_response.py b/eZmaxApi/models/branding_get_object_v2_response.py deleted file mode 100644 index d17ee3336..000000000 --- a/eZmaxApi/models/branding_get_object_v2_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.branding_get_object_v2_response_m_payload import BrandingGetObjectV2ResponseMPayload -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class BrandingGetObjectV2Response(BaseModel): - """ - Response for GET /2/object/branding/{pkiBrandingID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: BrandingGetObjectV2ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingGetObjectV2Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingGetObjectV2Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": BrandingGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/branding_get_object_v2_response_m_payload.py b/eZmaxApi/models/branding_get_object_v2_response_m_payload.py deleted file mode 100644 index d9f8becc8..000000000 --- a/eZmaxApi/models/branding_get_object_v2_response_m_payload.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.branding_response_compound import BrandingResponseCompound -from typing import Optional, Set -from typing_extensions import Self - -class BrandingGetObjectV2ResponseMPayload(BaseModel): - """ - Payload for GET /2/object/branding/{pkiBrandingID} - """ # noqa: E501 - obj_branding: BrandingResponseCompound = Field(alias="objBranding") - __properties: ClassVar[List[str]] = ["objBranding"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingGetObjectV2ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_branding - if self.obj_branding: - _dict['objBranding'] = self.obj_branding.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingGetObjectV2ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objBranding": BrandingResponseCompound.from_dict(obj["objBranding"]) if obj.get("objBranding") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/branding_get_object_v3_response.py b/eZmaxApi/models/branding_get_object_v3_response.py new file mode 100644 index 000000000..4c3de3e23 --- /dev/null +++ b/eZmaxApi/models/branding_get_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.branding_get_object_v3_response_m_payload import BrandingGetObjectV3ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class BrandingGetObjectV3Response(BaseModel): + """ + Response for GET /3/object/branding/{pkiBrandingID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: BrandingGetObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingGetObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingGetObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": BrandingGetObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/branding_get_object_v3_response_m_payload.py b/eZmaxApi/models/branding_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..8466d11e1 --- /dev/null +++ b/eZmaxApi/models/branding_get_object_v3_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.branding_response_compound_v3 import BrandingResponseCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class BrandingGetObjectV3ResponseMPayload(BaseModel): + """ + Payload for GET /3/object/branding/{pkiBrandingID} + """ # noqa: E501 + obj_branding: BrandingResponseCompoundV3 = Field(alias="objBranding") + __properties: ClassVar[List[str]] = ["objBranding"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingGetObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_branding + if self.obj_branding: + _dict['objBranding'] = self.obj_branding.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingGetObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objBranding": BrandingResponseCompoundV3.from_dict(obj["objBranding"]) if obj.get("objBranding") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/branding_request.py b/eZmaxApi/models/branding_request.py deleted file mode 100644 index f4fc64286..000000000 --- a/eZmaxApi/models/branding_request.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictBytes, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional, Union -from typing_extensions import Annotated -from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo -from eZmaxApi.models.field_e_branding_logointerface import FieldEBrandingLogointerface -from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription -from typing import Optional, Set -from typing_extensions import Self - -class BrandingRequest(BaseModel): - """ - A Branding Object - """ # noqa: E501 - pki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="pkiBrandingID") - obj_branding_description: MultilingualBrandingDescription = Field(alias="objBrandingDescription") - e_branding_logo: FieldEBrandingLogo = Field(alias="eBrandingLogo") - s_branding_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogo if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used.", alias="sBrandingBase64") - e_branding_logointerface: Optional[FieldEBrandingLogointerface] = Field(default=None, alias="eBrandingLogointerface") - s_branding_logointerface_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogointerface if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used.", alias="sBrandingLogointerfaceBase64") - i_branding_colortext: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text. This is a RGB color converted into integer", alias="iBrandingColortext") - i_branding_colortextlinkbox: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text in the link box. This is a RGB color converted into integer", alias="iBrandingColortextlinkbox") - i_branding_colortextbutton: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text in the button. This is a RGB color converted into integer", alias="iBrandingColortextbutton") - i_branding_colorbackground: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background. This is a RGB color converted into integer", alias="iBrandingColorbackground") - i_branding_colorbackgroundbutton: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background of the button. This is a RGB color converted into integer", alias="iBrandingColorbackgroundbutton") - i_branding_colorbackgroundsmallbox: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background of the small box. This is a RGB color converted into integer", alias="iBrandingColorbackgroundsmallbox") - i_branding_interfacecolor: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The color of the interface. This is a RGB color converted into integer", alias="iBrandingInterfacecolor") - s_branding_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty", alias="sBrandingName") - s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") - b_branding_isactive: StrictBool = Field(description="Whether the Branding is active or not", alias="bBrandingIsactive") - __properties: ClassVar[List[str]] = ["pkiBrandingID", "objBrandingDescription", "eBrandingLogo", "sBrandingBase64", "eBrandingLogointerface", "sBrandingLogointerfaceBase64", "iBrandingColortext", "iBrandingColortextlinkbox", "iBrandingColortextbutton", "iBrandingColorbackground", "iBrandingColorbackgroundbutton", "iBrandingColorbackgroundsmallbox", "iBrandingInterfacecolor", "sBrandingName", "sEmailAddress", "bBrandingIsactive"] - - @field_validator('s_branding_name') - def s_branding_name_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{0,55}$", value): - raise ValueError(r"must validate the regular expression /^.{0,55}$/") - return value - - @field_validator('s_email_address') - def s_email_address_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_branding_description - if self.obj_branding_description: - _dict['objBrandingDescription'] = self.obj_branding_description.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiBrandingID": obj.get("pkiBrandingID"), - "objBrandingDescription": MultilingualBrandingDescription.from_dict(obj["objBrandingDescription"]) if obj.get("objBrandingDescription") is not None else None, - "eBrandingLogo": obj.get("eBrandingLogo"), - "sBrandingBase64": obj.get("sBrandingBase64"), - "eBrandingLogointerface": obj.get("eBrandingLogointerface"), - "sBrandingLogointerfaceBase64": obj.get("sBrandingLogointerfaceBase64"), - "iBrandingColortext": obj.get("iBrandingColortext"), - "iBrandingColortextlinkbox": obj.get("iBrandingColortextlinkbox"), - "iBrandingColortextbutton": obj.get("iBrandingColortextbutton"), - "iBrandingColorbackground": obj.get("iBrandingColorbackground"), - "iBrandingColorbackgroundbutton": obj.get("iBrandingColorbackgroundbutton"), - "iBrandingColorbackgroundsmallbox": obj.get("iBrandingColorbackgroundsmallbox"), - "iBrandingInterfacecolor": obj.get("iBrandingInterfacecolor"), - "sBrandingName": obj.get("sBrandingName"), - "sEmailAddress": obj.get("sEmailAddress"), - "bBrandingIsactive": obj.get("bBrandingIsactive") - }) - return _obj - - diff --git a/eZmaxApi/models/branding_request_compound.py b/eZmaxApi/models/branding_request_compound.py deleted file mode 100644 index 051899242..000000000 --- a/eZmaxApi/models/branding_request_compound.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictBytes, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional, Union -from typing_extensions import Annotated -from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo -from eZmaxApi.models.field_e_branding_logointerface import FieldEBrandingLogointerface -from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription -from typing import Optional, Set -from typing_extensions import Self - -class BrandingRequestCompound(BaseModel): - """ - A Branding Object and children - """ # noqa: E501 - pki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="pkiBrandingID") - obj_branding_description: MultilingualBrandingDescription = Field(alias="objBrandingDescription") - e_branding_logo: FieldEBrandingLogo = Field(alias="eBrandingLogo") - s_branding_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogo if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used.", alias="sBrandingBase64") - e_branding_logointerface: Optional[FieldEBrandingLogointerface] = Field(default=None, alias="eBrandingLogointerface") - s_branding_logointerface_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogointerface if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used.", alias="sBrandingLogointerfaceBase64") - i_branding_colortext: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text. This is a RGB color converted into integer", alias="iBrandingColortext") - i_branding_colortextlinkbox: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text in the link box. This is a RGB color converted into integer", alias="iBrandingColortextlinkbox") - i_branding_colortextbutton: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text in the button. This is a RGB color converted into integer", alias="iBrandingColortextbutton") - i_branding_colorbackground: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background. This is a RGB color converted into integer", alias="iBrandingColorbackground") - i_branding_colorbackgroundbutton: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background of the button. This is a RGB color converted into integer", alias="iBrandingColorbackgroundbutton") - i_branding_colorbackgroundsmallbox: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background of the small box. This is a RGB color converted into integer", alias="iBrandingColorbackgroundsmallbox") - i_branding_interfacecolor: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The color of the interface. This is a RGB color converted into integer", alias="iBrandingInterfacecolor") - s_branding_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty", alias="sBrandingName") - s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") - b_branding_isactive: StrictBool = Field(description="Whether the Branding is active or not", alias="bBrandingIsactive") - __properties: ClassVar[List[str]] = ["pkiBrandingID", "objBrandingDescription", "eBrandingLogo", "sBrandingBase64", "eBrandingLogointerface", "sBrandingLogointerfaceBase64", "iBrandingColortext", "iBrandingColortextlinkbox", "iBrandingColortextbutton", "iBrandingColorbackground", "iBrandingColorbackgroundbutton", "iBrandingColorbackgroundsmallbox", "iBrandingInterfacecolor", "sBrandingName", "sEmailAddress", "bBrandingIsactive"] - - @field_validator('s_branding_name') - def s_branding_name_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{0,55}$", value): - raise ValueError(r"must validate the regular expression /^.{0,55}$/") - return value - - @field_validator('s_email_address') - def s_email_address_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingRequestCompound from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_branding_description - if self.obj_branding_description: - _dict['objBrandingDescription'] = self.obj_branding_description.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingRequestCompound from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiBrandingID": obj.get("pkiBrandingID"), - "objBrandingDescription": MultilingualBrandingDescription.from_dict(obj["objBrandingDescription"]) if obj.get("objBrandingDescription") is not None else None, - "eBrandingLogo": obj.get("eBrandingLogo"), - "sBrandingBase64": obj.get("sBrandingBase64"), - "eBrandingLogointerface": obj.get("eBrandingLogointerface"), - "sBrandingLogointerfaceBase64": obj.get("sBrandingLogointerfaceBase64"), - "iBrandingColortext": obj.get("iBrandingColortext"), - "iBrandingColortextlinkbox": obj.get("iBrandingColortextlinkbox"), - "iBrandingColortextbutton": obj.get("iBrandingColortextbutton"), - "iBrandingColorbackground": obj.get("iBrandingColorbackground"), - "iBrandingColorbackgroundbutton": obj.get("iBrandingColorbackgroundbutton"), - "iBrandingColorbackgroundsmallbox": obj.get("iBrandingColorbackgroundsmallbox"), - "iBrandingInterfacecolor": obj.get("iBrandingInterfacecolor"), - "sBrandingName": obj.get("sBrandingName"), - "sEmailAddress": obj.get("sEmailAddress"), - "bBrandingIsactive": obj.get("bBrandingIsactive") - }) - return _obj - - diff --git a/eZmaxApi/models/branding_request_compound_v2.py b/eZmaxApi/models/branding_request_compound_v2.py new file mode 100644 index 000000000..663e9b21c --- /dev/null +++ b/eZmaxApi/models/branding_request_compound_v2.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictBytes, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing_extensions import Annotated +from eZmaxApi.models.field_e_branding_alignlogo import FieldEBrandingAlignlogo +from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo +from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription +from typing import Optional, Set +from typing_extensions import Self + +class BrandingRequestCompoundV2(BaseModel): + """ + A Branding Object and children + """ # noqa: E501 + pki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="pkiBrandingID") + obj_branding_description: MultilingualBrandingDescription = Field(alias="objBrandingDescription") + e_branding_logo: FieldEBrandingLogo = Field(alias="eBrandingLogo") + e_branding_alignlogo: Optional[FieldEBrandingAlignlogo] = Field(default=None, alias="eBrandingAlignlogo") + s_branding_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogo if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used.", alias="sBrandingBase64") + i_branding_color: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The primary color. This is a RGB color converted into integer", alias="iBrandingColor") + s_branding_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty", alias="sBrandingName") + s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") + b_branding_isactive: StrictBool = Field(description="Whether the Branding is active or not", alias="bBrandingIsactive") + __properties: ClassVar[List[str]] = ["pkiBrandingID", "objBrandingDescription", "eBrandingLogo", "eBrandingAlignlogo", "sBrandingBase64", "iBrandingColor", "sBrandingName", "sEmailAddress", "bBrandingIsactive"] + + @field_validator('s_branding_name') + def s_branding_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + @field_validator('s_email_address') + def s_email_address_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingRequestCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_branding_description + if self.obj_branding_description: + _dict['objBrandingDescription'] = self.obj_branding_description.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingRequestCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiBrandingID": obj.get("pkiBrandingID"), + "objBrandingDescription": MultilingualBrandingDescription.from_dict(obj["objBrandingDescription"]) if obj.get("objBrandingDescription") is not None else None, + "eBrandingLogo": obj.get("eBrandingLogo"), + "eBrandingAlignlogo": obj.get("eBrandingAlignlogo"), + "sBrandingBase64": obj.get("sBrandingBase64"), + "iBrandingColor": obj.get("iBrandingColor"), + "sBrandingName": obj.get("sBrandingName"), + "sEmailAddress": obj.get("sEmailAddress"), + "bBrandingIsactive": obj.get("bBrandingIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/branding_request_v2.py b/eZmaxApi/models/branding_request_v2.py new file mode 100644 index 000000000..a0a3de455 --- /dev/null +++ b/eZmaxApi/models/branding_request_v2.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictBytes, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing_extensions import Annotated +from eZmaxApi.models.field_e_branding_alignlogo import FieldEBrandingAlignlogo +from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo +from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription +from typing import Optional, Set +from typing_extensions import Self + +class BrandingRequestV2(BaseModel): + """ + A Branding Object + """ # noqa: E501 + pki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="pkiBrandingID") + obj_branding_description: MultilingualBrandingDescription = Field(alias="objBrandingDescription") + e_branding_logo: FieldEBrandingLogo = Field(alias="eBrandingLogo") + e_branding_alignlogo: Optional[FieldEBrandingAlignlogo] = Field(default=None, alias="eBrandingAlignlogo") + s_branding_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogo if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used.", alias="sBrandingBase64") + i_branding_color: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The primary color. This is a RGB color converted into integer", alias="iBrandingColor") + s_branding_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty", alias="sBrandingName") + s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") + b_branding_isactive: StrictBool = Field(description="Whether the Branding is active or not", alias="bBrandingIsactive") + __properties: ClassVar[List[str]] = ["pkiBrandingID", "objBrandingDescription", "eBrandingLogo", "eBrandingAlignlogo", "sBrandingBase64", "iBrandingColor", "sBrandingName", "sEmailAddress", "bBrandingIsactive"] + + @field_validator('s_branding_name') + def s_branding_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + @field_validator('s_email_address') + def s_email_address_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingRequestV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_branding_description + if self.obj_branding_description: + _dict['objBrandingDescription'] = self.obj_branding_description.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiBrandingID": obj.get("pkiBrandingID"), + "objBrandingDescription": MultilingualBrandingDescription.from_dict(obj["objBrandingDescription"]) if obj.get("objBrandingDescription") is not None else None, + "eBrandingLogo": obj.get("eBrandingLogo"), + "eBrandingAlignlogo": obj.get("eBrandingAlignlogo"), + "sBrandingBase64": obj.get("sBrandingBase64"), + "iBrandingColor": obj.get("iBrandingColor"), + "sBrandingName": obj.get("sBrandingName"), + "sEmailAddress": obj.get("sEmailAddress"), + "bBrandingIsactive": obj.get("bBrandingIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/branding_response.py b/eZmaxApi/models/branding_response.py deleted file mode 100644 index 1cb097b0d..000000000 --- a/eZmaxApi/models/branding_response.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo -from eZmaxApi.models.field_e_branding_logointerface import FieldEBrandingLogointerface -from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription -from typing import Optional, Set -from typing_extensions import Self - -class BrandingResponse(BaseModel): - """ - A Branding Object - """ # noqa: E501 - pki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="pkiBrandingID") - fki_email_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Email", alias="fkiEmailID") - obj_branding_description: MultilingualBrandingDescription = Field(alias="objBrandingDescription") - s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") - s_branding_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty", alias="sBrandingName") - s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") - e_branding_logo: FieldEBrandingLogo = Field(alias="eBrandingLogo") - e_branding_logointerface: Optional[FieldEBrandingLogointerface] = Field(default=None, alias="eBrandingLogointerface") - i_branding_colortext: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text. This is a RGB color converted into integer", alias="iBrandingColortext") - i_branding_colortextlinkbox: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text in the link box. This is a RGB color converted into integer", alias="iBrandingColortextlinkbox") - i_branding_colortextbutton: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text in the button. This is a RGB color converted into integer", alias="iBrandingColortextbutton") - i_branding_colorbackground: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background. This is a RGB color converted into integer", alias="iBrandingColorbackground") - i_branding_colorbackgroundbutton: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background of the button. This is a RGB color converted into integer", alias="iBrandingColorbackgroundbutton") - i_branding_colorbackgroundsmallbox: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background of the small box. This is a RGB color converted into integer", alias="iBrandingColorbackgroundsmallbox") - i_branding_interfacecolor: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The color of the interface. This is a RGB color converted into integer", alias="iBrandingInterfacecolor") - b_branding_isactive: StrictBool = Field(description="Whether the Branding is active or not", alias="bBrandingIsactive") - __properties: ClassVar[List[str]] = ["pkiBrandingID", "fkiEmailID", "objBrandingDescription", "sBrandingDescriptionX", "sBrandingName", "sEmailAddress", "eBrandingLogo", "eBrandingLogointerface", "iBrandingColortext", "iBrandingColortextlinkbox", "iBrandingColortextbutton", "iBrandingColorbackground", "iBrandingColorbackgroundbutton", "iBrandingColorbackgroundsmallbox", "iBrandingInterfacecolor", "bBrandingIsactive"] - - @field_validator('s_branding_name') - def s_branding_name_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{0,55}$", value): - raise ValueError(r"must validate the regular expression /^.{0,55}$/") - return value - - @field_validator('s_email_address') - def s_email_address_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_branding_description - if self.obj_branding_description: - _dict['objBrandingDescription'] = self.obj_branding_description.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiBrandingID": obj.get("pkiBrandingID"), - "fkiEmailID": obj.get("fkiEmailID"), - "objBrandingDescription": MultilingualBrandingDescription.from_dict(obj["objBrandingDescription"]) if obj.get("objBrandingDescription") is not None else None, - "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), - "sBrandingName": obj.get("sBrandingName"), - "sEmailAddress": obj.get("sEmailAddress"), - "eBrandingLogo": obj.get("eBrandingLogo"), - "eBrandingLogointerface": obj.get("eBrandingLogointerface"), - "iBrandingColortext": obj.get("iBrandingColortext"), - "iBrandingColortextlinkbox": obj.get("iBrandingColortextlinkbox"), - "iBrandingColortextbutton": obj.get("iBrandingColortextbutton"), - "iBrandingColorbackground": obj.get("iBrandingColorbackground"), - "iBrandingColorbackgroundbutton": obj.get("iBrandingColorbackgroundbutton"), - "iBrandingColorbackgroundsmallbox": obj.get("iBrandingColorbackgroundsmallbox"), - "iBrandingInterfacecolor": obj.get("iBrandingInterfacecolor"), - "bBrandingIsactive": obj.get("bBrandingIsactive") - }) - return _obj - - diff --git a/eZmaxApi/models/branding_response_compound.py b/eZmaxApi/models/branding_response_compound.py deleted file mode 100644 index 78e3f8866..000000000 --- a/eZmaxApi/models/branding_response_compound.py +++ /dev/null @@ -1,169 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo -from eZmaxApi.models.field_e_branding_logointerface import FieldEBrandingLogointerface -from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription -from typing import Optional, Set -from typing_extensions import Self - -class BrandingResponseCompound(BaseModel): - """ - A Branding Object - """ # noqa: E501 - pki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="pkiBrandingID") - fki_email_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Email", alias="fkiEmailID") - obj_branding_description: MultilingualBrandingDescription = Field(alias="objBrandingDescription") - s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") - s_branding_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty", alias="sBrandingName") - s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") - e_branding_logo: FieldEBrandingLogo = Field(alias="eBrandingLogo") - e_branding_logointerface: Optional[FieldEBrandingLogointerface] = Field(default=None, alias="eBrandingLogointerface") - i_branding_colortext: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text. This is a RGB color converted into integer", alias="iBrandingColortext") - i_branding_colortextlinkbox: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text in the link box. This is a RGB color converted into integer", alias="iBrandingColortextlinkbox") - i_branding_colortextbutton: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the text in the button. This is a RGB color converted into integer", alias="iBrandingColortextbutton") - i_branding_colorbackground: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background. This is a RGB color converted into integer", alias="iBrandingColorbackground") - i_branding_colorbackgroundbutton: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background of the button. This is a RGB color converted into integer", alias="iBrandingColorbackgroundbutton") - i_branding_colorbackgroundsmallbox: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The color of the background of the small box. This is a RGB color converted into integer", alias="iBrandingColorbackgroundsmallbox") - i_branding_interfacecolor: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The color of the interface. This is a RGB color converted into integer", alias="iBrandingInterfacecolor") - b_branding_isactive: StrictBool = Field(description="Whether the Branding is active or not", alias="bBrandingIsactive") - s_branding_logourl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the picture used as logo in the Branding", alias="sBrandingLogourl") - s_branding_logointerfaceurl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the picture used as logo in the Branding", alias="sBrandingLogointerfaceurl") - __properties: ClassVar[List[str]] = ["pkiBrandingID", "fkiEmailID", "objBrandingDescription", "sBrandingDescriptionX", "sBrandingName", "sEmailAddress", "eBrandingLogo", "eBrandingLogointerface", "iBrandingColortext", "iBrandingColortextlinkbox", "iBrandingColortextbutton", "iBrandingColorbackground", "iBrandingColorbackgroundbutton", "iBrandingColorbackgroundsmallbox", "iBrandingInterfacecolor", "bBrandingIsactive", "sBrandingLogourl", "sBrandingLogointerfaceurl"] - - @field_validator('s_branding_name') - def s_branding_name_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{0,55}$", value): - raise ValueError(r"must validate the regular expression /^.{0,55}$/") - return value - - @field_validator('s_email_address') - def s_email_address_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - @field_validator('s_branding_logourl') - def s_branding_logourl_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): - raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") - return value - - @field_validator('s_branding_logointerfaceurl') - def s_branding_logointerfaceurl_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): - raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of BrandingResponseCompound from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_branding_description - if self.obj_branding_description: - _dict['objBrandingDescription'] = self.obj_branding_description.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of BrandingResponseCompound from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiBrandingID": obj.get("pkiBrandingID"), - "fkiEmailID": obj.get("fkiEmailID"), - "objBrandingDescription": MultilingualBrandingDescription.from_dict(obj["objBrandingDescription"]) if obj.get("objBrandingDescription") is not None else None, - "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), - "sBrandingName": obj.get("sBrandingName"), - "sEmailAddress": obj.get("sEmailAddress"), - "eBrandingLogo": obj.get("eBrandingLogo"), - "eBrandingLogointerface": obj.get("eBrandingLogointerface"), - "iBrandingColortext": obj.get("iBrandingColortext"), - "iBrandingColortextlinkbox": obj.get("iBrandingColortextlinkbox"), - "iBrandingColortextbutton": obj.get("iBrandingColortextbutton"), - "iBrandingColorbackground": obj.get("iBrandingColorbackground"), - "iBrandingColorbackgroundbutton": obj.get("iBrandingColorbackgroundbutton"), - "iBrandingColorbackgroundsmallbox": obj.get("iBrandingColorbackgroundsmallbox"), - "iBrandingInterfacecolor": obj.get("iBrandingInterfacecolor"), - "bBrandingIsactive": obj.get("bBrandingIsactive"), - "sBrandingLogourl": obj.get("sBrandingLogourl"), - "sBrandingLogointerfaceurl": obj.get("sBrandingLogointerfaceurl") - }) - return _obj - - diff --git a/eZmaxApi/models/branding_response_compound_v3.py b/eZmaxApi/models/branding_response_compound_v3.py new file mode 100644 index 000000000..1542cf1f6 --- /dev/null +++ b/eZmaxApi/models/branding_response_compound_v3.py @@ -0,0 +1,169 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_branding_alignlogo import FieldEBrandingAlignlogo +from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo +from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription +from typing import Optional, Set +from typing_extensions import Self + +class BrandingResponseCompoundV3(BaseModel): + """ + A Branding Object + """ # noqa: E501 + pki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="pkiBrandingID") + fki_email_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Email", alias="fkiEmailID") + obj_branding_description: MultilingualBrandingDescription = Field(alias="objBrandingDescription") + s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") + s_branding_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty", alias="sBrandingName") + s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") + e_branding_logo: FieldEBrandingLogo = Field(alias="eBrandingLogo") + e_branding_alignlogo: FieldEBrandingAlignlogo = Field(alias="eBrandingAlignlogo") + i_branding_color: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The primary color. This is a RGB color converted into integer", alias="iBrandingColor") + b_branding_isactive: StrictBool = Field(description="Whether the Branding is active or not", alias="bBrandingIsactive") + s_branding_logourl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the picture used as logo in the Branding", alias="sBrandingLogourl") + s_branding_logoemailurl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the picture used in email as logo in the Branding", alias="sBrandingLogoemailurl") + s_branding_logointerfaceurl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the picture used as logo in the Branding", alias="sBrandingLogointerfaceurl") + __properties: ClassVar[List[str]] = ["pkiBrandingID", "fkiEmailID", "objBrandingDescription", "sBrandingDescriptionX", "sBrandingName", "sEmailAddress", "eBrandingLogo", "eBrandingAlignlogo", "iBrandingColor", "bBrandingIsactive", "sBrandingLogourl", "sBrandingLogoemailurl", "sBrandingLogointerfaceurl"] + + @field_validator('s_branding_name') + def s_branding_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + @field_validator('s_email_address') + def s_email_address_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_branding_logourl') + def s_branding_logourl_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + @field_validator('s_branding_logoemailurl') + def s_branding_logoemailurl_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + @field_validator('s_branding_logointerfaceurl') + def s_branding_logointerfaceurl_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingResponseCompoundV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_branding_description + if self.obj_branding_description: + _dict['objBrandingDescription'] = self.obj_branding_description.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingResponseCompoundV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiBrandingID": obj.get("pkiBrandingID"), + "fkiEmailID": obj.get("fkiEmailID"), + "objBrandingDescription": MultilingualBrandingDescription.from_dict(obj["objBrandingDescription"]) if obj.get("objBrandingDescription") is not None else None, + "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), + "sBrandingName": obj.get("sBrandingName"), + "sEmailAddress": obj.get("sEmailAddress"), + "eBrandingLogo": obj.get("eBrandingLogo"), + "eBrandingAlignlogo": obj.get("eBrandingAlignlogo"), + "iBrandingColor": obj.get("iBrandingColor"), + "bBrandingIsactive": obj.get("bBrandingIsactive"), + "sBrandingLogourl": obj.get("sBrandingLogourl"), + "sBrandingLogoemailurl": obj.get("sBrandingLogoemailurl"), + "sBrandingLogointerfaceurl": obj.get("sBrandingLogointerfaceurl") + }) + return _obj + + diff --git a/eZmaxApi/models/branding_response_v3.py b/eZmaxApi/models/branding_response_v3.py new file mode 100644 index 000000000..4f66ef935 --- /dev/null +++ b/eZmaxApi/models/branding_response_v3.py @@ -0,0 +1,133 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_branding_alignlogo import FieldEBrandingAlignlogo +from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo +from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription +from typing import Optional, Set +from typing_extensions import Self + +class BrandingResponseV3(BaseModel): + """ + A Branding Object + """ # noqa: E501 + pki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="pkiBrandingID") + fki_email_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Email", alias="fkiEmailID") + obj_branding_description: MultilingualBrandingDescription = Field(alias="objBrandingDescription") + s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") + s_branding_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty", alias="sBrandingName") + s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") + e_branding_logo: FieldEBrandingLogo = Field(alias="eBrandingLogo") + e_branding_alignlogo: FieldEBrandingAlignlogo = Field(alias="eBrandingAlignlogo") + i_branding_color: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The primary color. This is a RGB color converted into integer", alias="iBrandingColor") + b_branding_isactive: StrictBool = Field(description="Whether the Branding is active or not", alias="bBrandingIsactive") + __properties: ClassVar[List[str]] = ["pkiBrandingID", "fkiEmailID", "objBrandingDescription", "sBrandingDescriptionX", "sBrandingName", "sEmailAddress", "eBrandingLogo", "eBrandingAlignlogo", "iBrandingColor", "bBrandingIsactive"] + + @field_validator('s_branding_name') + def s_branding_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + @field_validator('s_email_address') + def s_email_address_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BrandingResponseV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_branding_description + if self.obj_branding_description: + _dict['objBrandingDescription'] = self.obj_branding_description.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BrandingResponseV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiBrandingID": obj.get("pkiBrandingID"), + "fkiEmailID": obj.get("fkiEmailID"), + "objBrandingDescription": MultilingualBrandingDescription.from_dict(obj["objBrandingDescription"]) if obj.get("objBrandingDescription") is not None else None, + "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), + "sBrandingName": obj.get("sBrandingName"), + "sEmailAddress": obj.get("sEmailAddress"), + "eBrandingLogo": obj.get("eBrandingLogo"), + "eBrandingAlignlogo": obj.get("eBrandingAlignlogo"), + "iBrandingColor": obj.get("iBrandingColor"), + "bBrandingIsactive": obj.get("bBrandingIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/buyercontract_get_communication_count_v1_response.py b/eZmaxApi/models/buyercontract_get_communication_count_v1_response.py new file mode 100644 index 000000000..9d4df85e7 --- /dev/null +++ b/eZmaxApi/models/buyercontract_get_communication_count_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.buyercontract_get_communication_count_v1_response_m_payload import BuyercontractGetCommunicationCountV1ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class BuyercontractGetCommunicationCountV1Response(BaseModel): + """ + Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationCount + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: BuyercontractGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationCountV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationCountV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": BuyercontractGetCommunicationCountV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/buyercontract_get_communication_count_v1_response_m_payload.py b/eZmaxApi/models/buyercontract_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..f393f42a0 --- /dev/null +++ b/eZmaxApi/models/buyercontract_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class BuyercontractGetCommunicationCountV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationCount + """ # noqa: E501 + i_communication_count: StrictInt = Field(description="The count of Communication.", alias="iCommunicationCount") + __properties: ClassVar[List[str]] = ["iCommunicationCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationCountV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationCountV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iCommunicationCount": obj.get("iCommunicationCount") + }) + return _obj + + diff --git a/eZmaxApi/models/buyercontract_get_communication_list_v1_response_m_payload.py b/eZmaxApi/models/buyercontract_get_communication_list_v1_response_m_payload.py index e9e1a9f0e..ae2af7f9f 100644 --- a/eZmaxApi/models/buyercontract_get_communication_list_v1_response_m_payload.py +++ b/eZmaxApi/models/buyercontract_get_communication_list_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) _items = [] if self.a_obj_communication: - for _item in self.a_obj_communication: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) _dict['a_objCommunication'] = _items return _dict diff --git a/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response.py b/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..68e26b146 --- /dev/null +++ b/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response_m_payload import BuyercontractGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class BuyercontractGetCommunicationrecipientsV1Response(BaseModel): + """ + Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: BuyercontractGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationrecipientsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationrecipientsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": BuyercontractGetCommunicationrecipientsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..9805f6529 --- /dev/null +++ b/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse +from typing import Optional, Set +from typing_extensions import Self + +class BuyercontractGetCommunicationrecipientsV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients + """ # noqa: E501 + a_obj_communicationrecipientsgroup: List[CustomCommunicationrecipientsgroupResponse] = Field(alias="a_objCommunicationrecipientsgroup") + __properties: ClassVar[List[str]] = ["a_objCommunicationrecipientsgroup"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationrecipientsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsgroup (list) + _items = [] + if self.a_obj_communicationrecipientsgroup: + for _item_a_obj_communicationrecipientsgroup in self.a_obj_communicationrecipientsgroup: + if _item_a_obj_communicationrecipientsgroup: + _items.append(_item_a_obj_communicationrecipientsgroup.to_dict()) + _dict['a_objCommunicationrecipientsgroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationrecipientsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationrecipientsgroup": [CustomCommunicationrecipientsgroupResponse.from_dict(_item) for _item in obj["a_objCommunicationrecipientsgroup"]] if obj.get("a_objCommunicationrecipientsgroup") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response.py b/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..5604ad50e --- /dev/null +++ b/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response_m_payload import BuyercontractGetCommunicationsendersV1ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class BuyercontractGetCommunicationsendersV1Response(BaseModel): + """ + Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: BuyercontractGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationsendersV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationsendersV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": BuyercontractGetCommunicationsendersV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..c107c082e --- /dev/null +++ b/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse +from typing import Optional, Set +from typing_extensions import Self + +class BuyercontractGetCommunicationsendersV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationsenders + """ # noqa: E501 + a_obj_communicationsenders: List[CustomCommunicationsenderResponse] = Field(alias="a_objCommunicationsenders") + __properties: ClassVar[List[str]] = ["a_objCommunicationsenders"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationsendersV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationsenders (list) + _items = [] + if self.a_obj_communicationsenders: + for _item_a_obj_communicationsenders in self.a_obj_communicationsenders: + if _item_a_obj_communicationsenders: + _items.append(_item_a_obj_communicationsenders.to_dict()) + _dict['a_objCommunicationsenders'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BuyercontractGetCommunicationsendersV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationsenders": [CustomCommunicationsenderResponse.from_dict(_item) for _item in obj["a_objCommunicationsenders"]] if obj.get("a_objCommunicationsenders") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py b/eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py index fc7e2bfe5..8023dc524 100644 --- a/eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_clonehistory (list) _items = [] if self.a_obj_clonehistory: - for _item in self.a_obj_clonehistory: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_clonehistory in self.a_obj_clonehistory: + if _item_a_obj_clonehistory: + _items.append(_item_a_obj_clonehistory.to_dict()) _dict['a_objClonehistory'] = _items return _dict diff --git a/eZmaxApi/models/colleague_request_compound_v2.py b/eZmaxApi/models/colleague_request_compound_v2.py new file mode 100644 index 000000000..c5c310f5b --- /dev/null +++ b/eZmaxApi/models/colleague_request_compound_v2.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_colleague_ezsign import FieldEColleagueEzsign +from eZmaxApi.models.field_e_colleague_realestateinprogess import FieldEColleagueRealestateinprogess +from typing import Optional, Set +from typing_extensions import Self + +class ColleagueRequestCompoundV2(BaseModel): + """ + A Colleague Object and children + """ # noqa: E501 + pki_colleague_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Colleague", alias="pkiColleagueID") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") + fki_user_id_colleague: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserIDColleague") + b_colleague_ezsignemail: StrictBool = Field(description="Whether the email can be used by the cloning user in Ezsign", alias="bColleagueEzsignemail") + b_colleague_financial: StrictBool = Field(description="Whether the cloning user has access to the financial", alias="bColleagueFinancial") + b_colleague_usecloneemail: StrictBool = Field(description="Whether the cloning user has access to the cloned user email to send communications", alias="bColleagueUsecloneemail") + b_colleague_attachment: StrictBool = Field(description="Whether the cloning user has access to the attachment", alias="bColleagueAttachment") + b_colleague_canafe: StrictBool = Field(description="Whether the cloning user has access to canafe", alias="bColleagueCanafe") + b_colleague_permission: StrictBool = Field(description="Whether the cloning user copies the permission of the cloned user", alias="bColleaguePermission") + b_colleague_realestatecompleted: StrictBool = Field(description="Whether if the cloning user has access to the completed folders in real estate", alias="bColleagueRealestatecompleted") + dt_colleague_from: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The from of the Colleague", alias="dtColleagueFrom") + dt_colleague_to: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The to of the Colleague", alias="dtColleagueTo") + e_colleague_ezsign: FieldEColleagueEzsign = Field(alias="eColleagueEzsign") + e_colleague_realestateinprogress: FieldEColleagueRealestateinprogess = Field(alias="eColleagueRealestateinprogress") + __properties: ClassVar[List[str]] = ["pkiColleagueID", "fkiUserID", "fkiUserIDColleague", "bColleagueEzsignemail", "bColleagueFinancial", "bColleagueUsecloneemail", "bColleagueAttachment", "bColleagueCanafe", "bColleaguePermission", "bColleagueRealestatecompleted", "dtColleagueFrom", "dtColleagueTo", "eColleagueEzsign", "eColleagueRealestateinprogress"] + + @field_validator('dt_colleague_from') + def dt_colleague_from_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_colleague_to') + def dt_colleague_to_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ColleagueRequestCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ColleagueRequestCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiColleagueID": obj.get("pkiColleagueID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUserIDColleague": obj.get("fkiUserIDColleague"), + "bColleagueEzsignemail": obj.get("bColleagueEzsignemail"), + "bColleagueFinancial": obj.get("bColleagueFinancial"), + "bColleagueUsecloneemail": obj.get("bColleagueUsecloneemail"), + "bColleagueAttachment": obj.get("bColleagueAttachment"), + "bColleagueCanafe": obj.get("bColleagueCanafe"), + "bColleaguePermission": obj.get("bColleaguePermission"), + "bColleagueRealestatecompleted": obj.get("bColleagueRealestatecompleted"), + "dtColleagueFrom": obj.get("dtColleagueFrom"), + "dtColleagueTo": obj.get("dtColleagueTo"), + "eColleagueEzsign": obj.get("eColleagueEzsign"), + "eColleagueRealestateinprogress": obj.get("eColleagueRealestateinprogress") + }) + return _obj + + diff --git a/eZmaxApi/models/colleague_request_v2.py b/eZmaxApi/models/colleague_request_v2.py new file mode 100644 index 000000000..d760fc747 --- /dev/null +++ b/eZmaxApi/models/colleague_request_v2.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_colleague_ezsign import FieldEColleagueEzsign +from eZmaxApi.models.field_e_colleague_realestateinprogess import FieldEColleagueRealestateinprogess +from typing import Optional, Set +from typing_extensions import Self + +class ColleagueRequestV2(BaseModel): + """ + A Colleague Object + """ # noqa: E501 + pki_colleague_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Colleague", alias="pkiColleagueID") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") + fki_user_id_colleague: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserIDColleague") + b_colleague_ezsignemail: StrictBool = Field(description="Whether the email can be used by the cloning user in Ezsign", alias="bColleagueEzsignemail") + b_colleague_financial: StrictBool = Field(description="Whether the cloning user has access to the financial", alias="bColleagueFinancial") + b_colleague_usecloneemail: StrictBool = Field(description="Whether the cloning user has access to the cloned user email to send communications", alias="bColleagueUsecloneemail") + b_colleague_attachment: StrictBool = Field(description="Whether the cloning user has access to the attachment", alias="bColleagueAttachment") + b_colleague_canafe: StrictBool = Field(description="Whether the cloning user has access to canafe", alias="bColleagueCanafe") + b_colleague_permission: StrictBool = Field(description="Whether the cloning user copies the permission of the cloned user", alias="bColleaguePermission") + b_colleague_realestatecompleted: StrictBool = Field(description="Whether if the cloning user has access to the completed folders in real estate", alias="bColleagueRealestatecompleted") + dt_colleague_from: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The from of the Colleague", alias="dtColleagueFrom") + dt_colleague_to: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The to of the Colleague", alias="dtColleagueTo") + e_colleague_ezsign: FieldEColleagueEzsign = Field(alias="eColleagueEzsign") + e_colleague_realestateinprogress: FieldEColleagueRealestateinprogess = Field(alias="eColleagueRealestateinprogress") + __properties: ClassVar[List[str]] = ["pkiColleagueID", "fkiUserID", "fkiUserIDColleague", "bColleagueEzsignemail", "bColleagueFinancial", "bColleagueUsecloneemail", "bColleagueAttachment", "bColleagueCanafe", "bColleaguePermission", "bColleagueRealestatecompleted", "dtColleagueFrom", "dtColleagueTo", "eColleagueEzsign", "eColleagueRealestateinprogress"] + + @field_validator('dt_colleague_from') + def dt_colleague_from_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_colleague_to') + def dt_colleague_to_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ColleagueRequestV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ColleagueRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiColleagueID": obj.get("pkiColleagueID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUserIDColleague": obj.get("fkiUserIDColleague"), + "bColleagueEzsignemail": obj.get("bColleagueEzsignemail"), + "bColleagueFinancial": obj.get("bColleagueFinancial"), + "bColleagueUsecloneemail": obj.get("bColleagueUsecloneemail"), + "bColleagueAttachment": obj.get("bColleagueAttachment"), + "bColleagueCanafe": obj.get("bColleagueCanafe"), + "bColleaguePermission": obj.get("bColleaguePermission"), + "bColleagueRealestatecompleted": obj.get("bColleagueRealestatecompleted"), + "dtColleagueFrom": obj.get("dtColleagueFrom"), + "dtColleagueTo": obj.get("dtColleagueTo"), + "eColleagueEzsign": obj.get("eColleagueEzsign"), + "eColleagueRealestateinprogress": obj.get("eColleagueRealestateinprogress") + }) + return _obj + + diff --git a/eZmaxApi/models/colleague_response_compound_v2.py b/eZmaxApi/models/colleague_response_compound_v2.py new file mode 100644 index 000000000..76c682802 --- /dev/null +++ b/eZmaxApi/models/colleague_response_compound_v2.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.custom_user_name_response import CustomUserNameResponse +from eZmaxApi.models.field_e_colleague_ezsign import FieldEColleagueEzsign +from eZmaxApi.models.field_e_colleague_realestateinprogess import FieldEColleagueRealestateinprogess +from typing import Optional, Set +from typing_extensions import Self + +class ColleagueResponseCompoundV2(BaseModel): + """ + A Colleague Object + """ # noqa: E501 + pki_colleague_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Colleague", alias="pkiColleagueID") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") + fki_user_id_colleague: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserIDColleague") + b_colleague_ezsignemail: StrictBool = Field(description="Whether the email can be used by the cloning user in Ezsign", alias="bColleagueEzsignemail") + b_colleague_financial: StrictBool = Field(description="Whether the cloning user has access to the financial", alias="bColleagueFinancial") + b_colleague_usecloneemail: StrictBool = Field(description="Whether the cloning user has access to the cloned user email to send communications", alias="bColleagueUsecloneemail") + b_colleague_attachment: StrictBool = Field(description="Whether the cloning user has access to the attachment", alias="bColleagueAttachment") + b_colleague_canafe: StrictBool = Field(description="Whether the cloning user has access to canafe", alias="bColleagueCanafe") + b_colleague_permission: StrictBool = Field(description="Whether the cloning user copies the permission of the cloned user", alias="bColleaguePermission") + b_colleague_realestatecompleted: StrictBool = Field(description="Whether if the cloning user has access to the completed folders in real estate", alias="bColleagueRealestatecompleted") + dt_colleague_from: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The from of the Colleague", alias="dtColleagueFrom") + dt_colleague_to: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The to of the Colleague", alias="dtColleagueTo") + e_colleague_ezsign: FieldEColleagueEzsign = Field(alias="eColleagueEzsign") + e_colleague_realestateinprogress: FieldEColleagueRealestateinprogess = Field(alias="eColleagueRealestateinprogress") + obj_user_name: CustomUserNameResponse = Field(alias="objUserName") + obj_audit: CommonAudit = Field(alias="objAudit") + __properties: ClassVar[List[str]] = ["pkiColleagueID", "fkiUserID", "fkiUserIDColleague", "bColleagueEzsignemail", "bColleagueFinancial", "bColleagueUsecloneemail", "bColleagueAttachment", "bColleagueCanafe", "bColleaguePermission", "bColleagueRealestatecompleted", "dtColleagueFrom", "dtColleagueTo", "eColleagueEzsign", "eColleagueRealestateinprogress", "objUserName", "objAudit"] + + @field_validator('dt_colleague_from') + def dt_colleague_from_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_colleague_to') + def dt_colleague_to_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ColleagueResponseCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_user_name + if self.obj_user_name: + _dict['objUserName'] = self.obj_user_name.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ColleagueResponseCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiColleagueID": obj.get("pkiColleagueID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUserIDColleague": obj.get("fkiUserIDColleague"), + "bColleagueEzsignemail": obj.get("bColleagueEzsignemail"), + "bColleagueFinancial": obj.get("bColleagueFinancial"), + "bColleagueUsecloneemail": obj.get("bColleagueUsecloneemail"), + "bColleagueAttachment": obj.get("bColleagueAttachment"), + "bColleagueCanafe": obj.get("bColleagueCanafe"), + "bColleaguePermission": obj.get("bColleaguePermission"), + "bColleagueRealestatecompleted": obj.get("bColleagueRealestatecompleted"), + "dtColleagueFrom": obj.get("dtColleagueFrom"), + "dtColleagueTo": obj.get("dtColleagueTo"), + "eColleagueEzsign": obj.get("eColleagueEzsign"), + "eColleagueRealestateinprogress": obj.get("eColleagueRealestateinprogress"), + "objUserName": CustomUserNameResponse.from_dict(obj["objUserName"]) if obj.get("objUserName") is not None else None, + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/colleague_response_v2.py b/eZmaxApi/models/colleague_response_v2.py new file mode 100644 index 000000000..cf2106291 --- /dev/null +++ b/eZmaxApi/models/colleague_response_v2.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.custom_user_name_response import CustomUserNameResponse +from eZmaxApi.models.field_e_colleague_ezsign import FieldEColleagueEzsign +from eZmaxApi.models.field_e_colleague_realestateinprogess import FieldEColleagueRealestateinprogess +from typing import Optional, Set +from typing_extensions import Self + +class ColleagueResponseV2(BaseModel): + """ + A Colleague Object + """ # noqa: E501 + pki_colleague_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Colleague", alias="pkiColleagueID") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") + fki_user_id_colleague: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserIDColleague") + b_colleague_ezsignemail: StrictBool = Field(description="Whether the email can be used by the cloning user in Ezsign", alias="bColleagueEzsignemail") + b_colleague_financial: StrictBool = Field(description="Whether the cloning user has access to the financial", alias="bColleagueFinancial") + b_colleague_usecloneemail: StrictBool = Field(description="Whether the cloning user has access to the cloned user email to send communications", alias="bColleagueUsecloneemail") + b_colleague_attachment: StrictBool = Field(description="Whether the cloning user has access to the attachment", alias="bColleagueAttachment") + b_colleague_canafe: StrictBool = Field(description="Whether the cloning user has access to canafe", alias="bColleagueCanafe") + b_colleague_permission: StrictBool = Field(description="Whether the cloning user copies the permission of the cloned user", alias="bColleaguePermission") + b_colleague_realestatecompleted: StrictBool = Field(description="Whether if the cloning user has access to the completed folders in real estate", alias="bColleagueRealestatecompleted") + dt_colleague_from: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The from of the Colleague", alias="dtColleagueFrom") + dt_colleague_to: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The to of the Colleague", alias="dtColleagueTo") + e_colleague_ezsign: FieldEColleagueEzsign = Field(alias="eColleagueEzsign") + e_colleague_realestateinprogress: FieldEColleagueRealestateinprogess = Field(alias="eColleagueRealestateinprogress") + obj_user_name: CustomUserNameResponse = Field(alias="objUserName") + obj_audit: CommonAudit = Field(alias="objAudit") + __properties: ClassVar[List[str]] = ["pkiColleagueID", "fkiUserID", "fkiUserIDColleague", "bColleagueEzsignemail", "bColleagueFinancial", "bColleagueUsecloneemail", "bColleagueAttachment", "bColleagueCanafe", "bColleaguePermission", "bColleagueRealestatecompleted", "dtColleagueFrom", "dtColleagueTo", "eColleagueEzsign", "eColleagueRealestateinprogress", "objUserName", "objAudit"] + + @field_validator('dt_colleague_from') + def dt_colleague_from_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_colleague_to') + def dt_colleague_to_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ColleagueResponseV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_user_name + if self.obj_user_name: + _dict['objUserName'] = self.obj_user_name.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ColleagueResponseV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiColleagueID": obj.get("pkiColleagueID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUserIDColleague": obj.get("fkiUserIDColleague"), + "bColleagueEzsignemail": obj.get("bColleagueEzsignemail"), + "bColleagueFinancial": obj.get("bColleagueFinancial"), + "bColleagueUsecloneemail": obj.get("bColleagueUsecloneemail"), + "bColleagueAttachment": obj.get("bColleagueAttachment"), + "bColleagueCanafe": obj.get("bColleagueCanafe"), + "bColleaguePermission": obj.get("bColleaguePermission"), + "bColleagueRealestatecompleted": obj.get("bColleagueRealestatecompleted"), + "dtColleagueFrom": obj.get("dtColleagueFrom"), + "dtColleagueTo": obj.get("dtColleagueTo"), + "eColleagueEzsign": obj.get("eColleagueEzsign"), + "eColleagueRealestateinprogress": obj.get("eColleagueRealestateinprogress"), + "objUserName": CustomUserNameResponse.from_dict(obj["objUserName"]) if obj.get("objUserName") is not None else None, + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/common_report.py b/eZmaxApi/models/common_report.py index e1deef9c6..bd525fdf1 100644 --- a/eZmaxApi/models/common_report.py +++ b/eZmaxApi/models/common_report.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_reportsection (list) _items = [] if self.a_obj_reportsection: - for _item in self.a_obj_reportsection: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_reportsection in self.a_obj_reportsection: + if _item_a_obj_reportsection: + _items.append(_item_a_obj_reportsection.to_dict()) _dict['a_objReportsection'] = _items return _dict diff --git a/eZmaxApi/models/common_reportgroup.py b/eZmaxApi/models/common_reportgroup.py index ca8c41c3c..119c4f23a 100644 --- a/eZmaxApi/models/common_reportgroup.py +++ b/eZmaxApi/models/common_reportgroup.py @@ -75,16 +75,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_report (list) _items = [] if self.a_obj_report: - for _item in self.a_obj_report: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_report in self.a_obj_report: + if _item_a_obj_report: + _items.append(_item_a_obj_report.to_dict()) _dict['a_objReport'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_reportcellstyle_custom (list) _items = [] if self.a_obj_reportcellstyle_custom: - for _item in self.a_obj_reportcellstyle_custom: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_reportcellstyle_custom in self.a_obj_reportcellstyle_custom: + if _item_a_obj_reportcellstyle_custom: + _items.append(_item_a_obj_reportcellstyle_custom.to_dict()) _dict['a_objReportcellstyleCustom'] = _items return _dict diff --git a/eZmaxApi/models/common_reportrow.py b/eZmaxApi/models/common_reportrow.py index 2c5490c32..fc8d969e7 100644 --- a/eZmaxApi/models/common_reportrow.py +++ b/eZmaxApi/models/common_reportrow.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_reportcell (list) _items = [] if self.a_obj_reportcell: - for _item in self.a_obj_reportcell: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_reportcell in self.a_obj_reportcell: + if _item_a_obj_reportcell: + _items.append(_item_a_obj_reportcell.to_dict()) _dict['a_objReportcell'] = _items return _dict diff --git a/eZmaxApi/models/common_reportsection.py b/eZmaxApi/models/common_reportsection.py index 21490471b..0b89ab3af 100644 --- a/eZmaxApi/models/common_reportsection.py +++ b/eZmaxApi/models/common_reportsection.py @@ -79,16 +79,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_reportsubsection (list) _items = [] if self.a_obj_reportsubsection: - for _item in self.a_obj_reportsubsection: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_reportsubsection in self.a_obj_reportsubsection: + if _item_a_obj_reportsubsection: + _items.append(_item_a_obj_reportsubsection.to_dict()) _dict['a_objReportsubsection'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_reportcolumn (list) _items = [] if self.a_obj_reportcolumn: - for _item in self.a_obj_reportcolumn: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_reportcolumn in self.a_obj_reportcolumn: + if _item_a_obj_reportcolumn: + _items.append(_item_a_obj_reportcolumn.to_dict()) _dict['a_objReportcolumn'] = _items return _dict diff --git a/eZmaxApi/models/common_reportsubsectionpart.py b/eZmaxApi/models/common_reportsubsectionpart.py index c75a1dc82..5dbbb67d4 100644 --- a/eZmaxApi/models/common_reportsubsectionpart.py +++ b/eZmaxApi/models/common_reportsubsectionpart.py @@ -81,9 +81,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_reportrow (list) _items = [] if self.a_obj_reportrow: - for _item in self.a_obj_reportrow: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_reportrow in self.a_obj_reportrow: + if _item_a_obj_reportrow: + _items.append(_item_a_obj_reportrow.to_dict()) _dict['a_objReportrow'] = _items return _dict diff --git a/eZmaxApi/models/common_response_error.py b/eZmaxApi/models/common_response_error.py index 10f696b58..8678e6458 100644 --- a/eZmaxApi/models/common_response_error.py +++ b/eZmaxApi/models/common_response_error.py @@ -18,8 +18,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.field_e_error_code import FieldEErrorCode from typing import Optional, Set @@ -31,7 +31,8 @@ class CommonResponseError(BaseModel): """ # noqa: E501 s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") e_error_code: FieldEErrorCode = Field(alias="eErrorCode") - __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode"] + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") + __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail"] @field_validator('s_error_message') def s_error_message_validate_regular_expression(cls, value): @@ -92,7 +93,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "sErrorMessage": obj.get("sErrorMessage"), - "eErrorCode": obj.get("eErrorCode") + "eErrorCode": obj.get("eErrorCode"), + "a_sErrorMessagedetail": obj.get("a_sErrorMessagedetail") }) return _obj diff --git a/eZmaxApi/models/common_response_error_creditcard_validation.py b/eZmaxApi/models/common_response_error_creditcard_validation.py new file mode 100644 index 000000000..b009b38cf --- /dev/null +++ b/eZmaxApi/models/common_response_error_creditcard_validation.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.custom_creditcardtransactionresponse_response import CustomCreditcardtransactionresponseResponse +from eZmaxApi.models.field_e_error_code import FieldEErrorCode +from typing import Optional, Set +from typing_extensions import Self + +class CommonResponseErrorCreditcardValidation(BaseModel): + """ + Generic Error Message + """ # noqa: E501 + s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") + e_error_code: FieldEErrorCode = Field(alias="eErrorCode") + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") + obj_creditcardtransactionresponse: Optional[CustomCreditcardtransactionresponseResponse] = Field(default=None, alias="objCreditcardtransactionresponse") + __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail", "objCreditcardtransactionresponse"] + + @field_validator('s_error_message') + def s_error_message_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,500}$", value): + raise ValueError(r"must validate the regular expression /^.{0,500}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CommonResponseErrorCreditcardValidation from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_creditcardtransactionresponse + if self.obj_creditcardtransactionresponse: + _dict['objCreditcardtransactionresponse'] = self.obj_creditcardtransactionresponse.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CommonResponseErrorCreditcardValidation from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sErrorMessage": obj.get("sErrorMessage"), + "eErrorCode": obj.get("eErrorCode"), + "a_sErrorMessagedetail": obj.get("a_sErrorMessagedetail"), + "objCreditcardtransactionresponse": CustomCreditcardtransactionresponseResponse.from_dict(obj["objCreditcardtransactionresponse"]) if obj.get("objCreditcardtransactionresponse") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/common_response_error_ezsignform_validation.py b/eZmaxApi/models/common_response_error_ezsignform_validation.py index 4ba699f24..cc174dd33 100644 --- a/eZmaxApi/models/common_response_error_ezsignform_validation.py +++ b/eZmaxApi/models/common_response_error_ezsignform_validation.py @@ -18,8 +18,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.custom_ezsignformfielderror_response import CustomEzsignformfielderrorResponse from eZmaxApi.models.field_e_error_code import FieldEErrorCode @@ -32,8 +32,9 @@ class CommonResponseErrorEzsignformValidation(BaseModel): """ # noqa: E501 s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") e_error_code: FieldEErrorCode = Field(alias="eErrorCode") + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") a_obj_ezsignformfielderror: List[CustomEzsignformfielderrorResponse] = Field(alias="a_objEzsignformfielderror") - __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_objEzsignformfielderror"] + __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail", "a_objEzsignformfielderror"] @field_validator('s_error_message') def s_error_message_validate_regular_expression(cls, value): @@ -84,9 +85,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfielderror (list) _items = [] if self.a_obj_ezsignformfielderror: - for _item in self.a_obj_ezsignformfielderror: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfielderror in self.a_obj_ezsignformfielderror: + if _item_a_obj_ezsignformfielderror: + _items.append(_item_a_obj_ezsignformfielderror.to_dict()) _dict['a_objEzsignformfielderror'] = _items return _dict @@ -102,6 +103,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "sErrorMessage": obj.get("sErrorMessage"), "eErrorCode": obj.get("eErrorCode"), + "a_sErrorMessagedetail": obj.get("a_sErrorMessagedetail"), "a_objEzsignformfielderror": [CustomEzsignformfielderrorResponse.from_dict(_item) for _item in obj["a_objEzsignformfielderror"]] if obj.get("a_objEzsignformfielderror") is not None else None }) return _obj diff --git a/eZmaxApi/models/common_response_error_s_temporary_file_url.py b/eZmaxApi/models/common_response_error_s_temporary_file_url.py index d39b6e1c2..d5fe6f328 100644 --- a/eZmaxApi/models/common_response_error_s_temporary_file_url.py +++ b/eZmaxApi/models/common_response_error_s_temporary_file_url.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.field_e_error_code import FieldEErrorCode @@ -31,8 +31,9 @@ class CommonResponseErrorSTemporaryFileUrl(BaseModel): """ # noqa: E501 s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") e_error_code: FieldEErrorCode = Field(alias="eErrorCode") + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") s_temporary_file_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Temporary File Url of the document that was uploaded. That url can be reused instead of uploading the file again.", alias="sTemporaryFileUrl") - __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "sTemporaryFileUrl"] + __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail", "sTemporaryFileUrl"] @field_validator('s_error_message') def s_error_message_validate_regular_expression(cls, value): @@ -104,6 +105,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "sErrorMessage": obj.get("sErrorMessage"), "eErrorCode": obj.get("eErrorCode"), + "a_sErrorMessagedetail": obj.get("a_sErrorMessagedetail"), "sTemporaryFileUrl": obj.get("sTemporaryFileUrl") }) return _obj diff --git a/eZmaxApi/models/common_response_error_too_many_requests.py b/eZmaxApi/models/common_response_error_too_many_requests.py index adb1a2e42..e82842d31 100644 --- a/eZmaxApi/models/common_response_error_too_many_requests.py +++ b/eZmaxApi/models/common_response_error_too_many_requests.py @@ -18,8 +18,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.field_e_error_code import FieldEErrorCode from typing import Optional, Set @@ -31,7 +31,8 @@ class CommonResponseErrorTooManyRequests(BaseModel): """ # noqa: E501 s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") e_error_code: FieldEErrorCode = Field(alias="eErrorCode") - __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode"] + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") + __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail"] @field_validator('s_error_message') def s_error_message_validate_regular_expression(cls, value): @@ -92,7 +93,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "sErrorMessage": obj.get("sErrorMessage"), - "eErrorCode": obj.get("eErrorCode") + "eErrorCode": obj.get("eErrorCode"), + "a_sErrorMessagedetail": obj.get("a_sErrorMessagedetail") }) return _obj diff --git a/eZmaxApi/models/common_response_error_wrong_franchiseoffice.py b/eZmaxApi/models/common_response_error_wrong_franchiseoffice.py new file mode 100644 index 000000000..478edff02 --- /dev/null +++ b/eZmaxApi/models/common_response_error_wrong_franchiseoffice.py @@ -0,0 +1,109 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_error_code import FieldEErrorCode +from typing import Optional, Set +from typing_extensions import Self + +class CommonResponseErrorWrongFranchiseoffice(BaseModel): + """ + Error Message when a Franchisebroker is not in this Franchiseoffice. + """ # noqa: E501 + s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") + e_error_code: FieldEErrorCode = Field(alias="eErrorCode") + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") + fki_franchiseagence_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Franchiseagence", alias="fkiFranchiseagenceID") + s_franchiseagence_name: StrictStr = Field(description="The name of the Franchiseagence", alias="sFranchiseagenceName") + fki_franchiseoffice_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Franchisereoffice", alias="fkiFranchiseofficeID") + i_franchiseoffice_code: StrictStr = Field(description="The code of the Franchiseoffice", alias="iFranchiseofficeCode") + __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail", "fkiFranchiseagenceID", "sFranchiseagenceName", "fkiFranchiseofficeID", "iFranchiseofficeCode"] + + @field_validator('s_error_message') + def s_error_message_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,500}$", value): + raise ValueError(r"must validate the regular expression /^.{0,500}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CommonResponseErrorWrongFranchiseoffice from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CommonResponseErrorWrongFranchiseoffice from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sErrorMessage": obj.get("sErrorMessage"), + "eErrorCode": obj.get("eErrorCode"), + "a_sErrorMessagedetail": obj.get("a_sErrorMessagedetail"), + "fkiFranchiseagenceID": obj.get("fkiFranchiseagenceID"), + "sFranchiseagenceName": obj.get("sFranchiseagenceName"), + "fkiFranchiseofficeID": obj.get("fkiFranchiseofficeID"), + "iFranchiseofficeCode": obj.get("iFranchiseofficeCode") + }) + return _obj + + diff --git a/eZmaxApi/models/common_response_obj_debug.py b/eZmaxApi/models/common_response_obj_debug.py index 54d18db7e..1909a4f3a 100644 --- a/eZmaxApi/models/common_response_obj_debug.py +++ b/eZmaxApi/models/common_response_obj_debug.py @@ -77,9 +77,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_sql_query (list) _items = [] if self.a_obj_sql_query: - for _item in self.a_obj_sql_query: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_sql_query in self.a_obj_sql_query: + if _item_a_obj_sql_query: + _items.append(_item_a_obj_sql_query.to_dict()) _dict['a_objSQLQuery'] = _items return _dict diff --git a/eZmaxApi/models/common_webhook.py b/eZmaxApi/models/common_webhook.py index 8c738caf6..7fe949b96 100644 --- a/eZmaxApi/models/common_webhook.py +++ b/eZmaxApi/models/common_webhook.py @@ -78,9 +78,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items return _dict diff --git a/eZmaxApi/models/communication_create_object_v1_response_m_payload.py b/eZmaxApi/models/communication_create_object_v1_response_m_payload.py deleted file mode 100644 index a4f4c9bf7..000000000 --- a/eZmaxApi/models/communication_create_object_v1_response_m_payload.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from typing import Optional, Set -from typing_extensions import Self - -class CommunicationCreateObjectV1ResponseMPayload(BaseModel): - """ - Payload for POST /1/object/communication - """ # noqa: E501 - a_pki_communication_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiCommunicationID") - __properties: ClassVar[List[str]] = ["a_pkiCommunicationID"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of CommunicationCreateObjectV1ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of CommunicationCreateObjectV1ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_pkiCommunicationID": obj.get("a_pkiCommunicationID") - }) - return _obj - - diff --git a/eZmaxApi/models/communication_request_compound.py b/eZmaxApi/models/communication_request_compound.py index c6d4aff81..f3ec5374f 100644 --- a/eZmaxApi/models/communication_request_compound.py +++ b/eZmaxApi/models/communication_request_compound.py @@ -116,30 +116,30 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationattachment (list) _items = [] if self.a_obj_communicationattachment: - for _item in self.a_obj_communicationattachment: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communicationattachment in self.a_obj_communicationattachment: + if _item_a_obj_communicationattachment: + _items.append(_item_a_obj_communicationattachment.to_dict()) _dict['a_objCommunicationattachment'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipient (list) _items = [] if self.a_obj_communicationrecipient: - for _item in self.a_obj_communicationrecipient: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communicationrecipient in self.a_obj_communicationrecipient: + if _item_a_obj_communicationrecipient: + _items.append(_item_a_obj_communicationrecipient.to_dict()) _dict['a_objCommunicationrecipient'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationreference (list) _items = [] if self.a_obj_communicationreference: - for _item in self.a_obj_communicationreference: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communicationreference in self.a_obj_communicationreference: + if _item_a_obj_communicationreference: + _items.append(_item_a_obj_communicationreference.to_dict()) _dict['a_objCommunicationreference'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationexternalrecipient (list) _items = [] if self.a_obj_communicationexternalrecipient: - for _item in self.a_obj_communicationexternalrecipient: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communicationexternalrecipient in self.a_obj_communicationexternalrecipient: + if _item_a_obj_communicationexternalrecipient: + _items.append(_item_a_obj_communicationexternalrecipient.to_dict()) _dict['a_objCommunicationexternalrecipient'] = _items return _dict diff --git a/eZmaxApi/models/communication_send_v1_request.py b/eZmaxApi/models/communication_send_v1_request.py index 65e06a248..2cee3da97 100644 --- a/eZmaxApi/models/communication_send_v1_request.py +++ b/eZmaxApi/models/communication_send_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) _items = [] if self.a_obj_communication: - for _item in self.a_obj_communication: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) _dict['a_objCommunication'] = _items return _dict diff --git a/eZmaxApi/models/communication_send_v1_response.py b/eZmaxApi/models/communication_send_v1_response.py index 2ac2331fd..3f8191f75 100644 --- a/eZmaxApi/models/communication_send_v1_response.py +++ b/eZmaxApi/models/communication_send_v1_response.py @@ -22,7 +22,7 @@ from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.communication_create_object_v1_response_m_payload import CommunicationCreateObjectV1ResponseMPayload +from eZmaxApi.models.communication_send_v1_response_m_payload import CommunicationSendV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self @@ -32,7 +32,7 @@ class CommunicationSendV1Response(BaseModel): """ # noqa: E501 obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: CommunicationCreateObjectV1ResponseMPayload = Field(alias="mPayload") + m_payload: CommunicationSendV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] model_config = ConfigDict( @@ -97,7 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": CommunicationCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + "mPayload": CommunicationSendV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None }) return _obj diff --git a/eZmaxApi/models/communication_send_v1_response_m_payload.py b/eZmaxApi/models/communication_send_v1_response_m_payload.py new file mode 100644 index 000000000..18f55c03b --- /dev/null +++ b/eZmaxApi/models/communication_send_v1_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class CommunicationSendV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/communication + """ # noqa: E501 + a_pki_communication_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiCommunicationID") + __properties: ClassVar[List[str]] = ["a_pkiCommunicationID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CommunicationSendV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CommunicationSendV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiCommunicationID": obj.get("a_pkiCommunicationID") + }) + return _obj + + diff --git a/eZmaxApi/models/company_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/company_get_autocomplete_v2_response_m_payload.py index 73c2f2a46..ce59dc130 100644 --- a/eZmaxApi/models/company_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/company_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_company (list) _items = [] if self.a_obj_company: - for _item in self.a_obj_company: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_company in self.a_obj_company: + if _item_a_obj_company: + _items.append(_item_a_obj_company.to_dict()) _dict['a_objCompany'] = _items return _dict diff --git a/eZmaxApi/models/computed_e_ezsignfolder_access.py b/eZmaxApi/models/computed_e_ezsignfolder_access.py new file mode 100644 index 000000000..5d6377d2a --- /dev/null +++ b/eZmaxApi/models/computed_e_ezsignfolder_access.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class ComputedEEzsignfolderAccess(str, Enum): + """ + Indicates the user's access level to this folder. + """ + + """ + allowed enum values + """ + SIGNER = 'Signer' + READ = 'Read' + MODIFY = 'Modify' + FULL = 'Full' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of ComputedEEzsignfolderAccess from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/contact_request_compound_v2.py b/eZmaxApi/models/contact_request_compound_v2.py new file mode 100644 index 000000000..62c82c339 --- /dev/null +++ b/eZmaxApi/models/contact_request_compound_v2.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.contactinformations_request_compound_v2 import ContactinformationsRequestCompoundV2 +from eZmaxApi.models.field_e_contact_type import FieldEContactType +from typing import Optional, Set +from typing_extensions import Self + +class ContactRequestCompoundV2(BaseModel): + """ + A Contact Object and children to create a complete structure + """ # noqa: E501 + fki_contacttitle_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)|", alias="fkiContacttitleID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + e_contact_type: FieldEContactType = Field(alias="eContactType") + s_contact_firstname: StrictStr = Field(description="The First name of the contact", alias="sContactFirstname") + s_contact_lastname: StrictStr = Field(description="The Last name of the contact", alias="sContactLastname") + s_contact_company: Optional[StrictStr] = Field(default=None, description="The Company name of the contact", alias="sContactCompany") + dt_contact_birthdate: Optional[StrictStr] = Field(default=None, description="The Birth Date of the contact", alias="dtContactBirthdate") + s_contact_occupation: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The occupation of the Contact", alias="sContactOccupation") + t_contact_note: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The note of the Contact", alias="tContactNote") + b_contact_isactive: Optional[StrictBool] = Field(default=None, description="Whether the contact is active or not", alias="bContactIsactive") + obj_contactinformations: ContactinformationsRequestCompoundV2 = Field(alias="objContactinformations") + __properties: ClassVar[List[str]] = ["fkiContacttitleID", "fkiLanguageID", "eContactType", "sContactFirstname", "sContactLastname", "sContactCompany", "dtContactBirthdate", "sContactOccupation", "tContactNote", "bContactIsactive", "objContactinformations"] + + @field_validator('s_contact_occupation') + def s_contact_occupation_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('t_contact_note') + def t_contact_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,32000}$", value): + raise ValueError(r"must validate the regular expression /^.{0,32000}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContactRequestCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_contactinformations + if self.obj_contactinformations: + _dict['objContactinformations'] = self.obj_contactinformations.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContactRequestCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiContacttitleID": obj.get("fkiContacttitleID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "eContactType": obj.get("eContactType"), + "sContactFirstname": obj.get("sContactFirstname"), + "sContactLastname": obj.get("sContactLastname"), + "sContactCompany": obj.get("sContactCompany"), + "dtContactBirthdate": obj.get("dtContactBirthdate"), + "sContactOccupation": obj.get("sContactOccupation"), + "tContactNote": obj.get("tContactNote"), + "bContactIsactive": obj.get("bContactIsactive"), + "objContactinformations": ContactinformationsRequestCompoundV2.from_dict(obj["objContactinformations"]) if obj.get("objContactinformations") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/contact_request_v2.py b/eZmaxApi/models/contact_request_v2.py new file mode 100644 index 000000000..71d4e10b2 --- /dev/null +++ b/eZmaxApi/models/contact_request_v2.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.contactinformations_request_compound import ContactinformationsRequestCompound +from eZmaxApi.models.field_e_contact_type import FieldEContactType +from typing import Optional, Set +from typing_extensions import Self + +class ContactRequestV2(BaseModel): + """ + A Contact Object + """ # noqa: E501 + fki_contacttitle_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)|", alias="fkiContacttitleID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + e_contact_type: FieldEContactType = Field(alias="eContactType") + s_contact_firstname: StrictStr = Field(description="The First name of the contact", alias="sContactFirstname") + s_contact_lastname: StrictStr = Field(description="The Last name of the contact", alias="sContactLastname") + s_contact_company: Optional[StrictStr] = Field(default=None, description="The Company name of the contact", alias="sContactCompany") + dt_contact_birthdate: Optional[StrictStr] = Field(default=None, description="The Birth Date of the contact", alias="dtContactBirthdate") + s_contact_occupation: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The occupation of the Contact", alias="sContactOccupation") + t_contact_note: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The note of the Contact", alias="tContactNote") + b_contact_isactive: Optional[StrictBool] = Field(default=None, description="Whether the contact is active or not", alias="bContactIsactive") + obj_contactinformations: ContactinformationsRequestCompound = Field(alias="objContactinformations") + __properties: ClassVar[List[str]] = ["fkiContacttitleID", "fkiLanguageID", "eContactType", "sContactFirstname", "sContactLastname", "sContactCompany", "dtContactBirthdate", "sContactOccupation", "tContactNote", "bContactIsactive", "objContactinformations"] + + @field_validator('s_contact_occupation') + def s_contact_occupation_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('t_contact_note') + def t_contact_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,32000}$", value): + raise ValueError(r"must validate the regular expression /^.{0,32000}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContactRequestV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_contactinformations + if self.obj_contactinformations: + _dict['objContactinformations'] = self.obj_contactinformations.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContactRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiContacttitleID": obj.get("fkiContacttitleID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "eContactType": obj.get("eContactType"), + "sContactFirstname": obj.get("sContactFirstname"), + "sContactLastname": obj.get("sContactLastname"), + "sContactCompany": obj.get("sContactCompany"), + "dtContactBirthdate": obj.get("dtContactBirthdate"), + "sContactOccupation": obj.get("sContactOccupation"), + "tContactNote": obj.get("tContactNote"), + "bContactIsactive": obj.get("bContactIsactive"), + "objContactinformations": ContactinformationsRequestCompound.from_dict(obj["objContactinformations"]) if obj.get("objContactinformations") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/contact_response.py b/eZmaxApi/models/contact_response.py new file mode 100644 index 000000000..3d900c770 --- /dev/null +++ b/eZmaxApi/models/contact_response.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.contactinformations_response_compound import ContactinformationsResponseCompound +from eZmaxApi.models.field_e_contact_type import FieldEContactType +from typing import Optional, Set +from typing_extensions import Self + +class ContactResponse(BaseModel): + """ + A Contact Object + """ # noqa: E501 + pki_contact_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contact", alias="pkiContactID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_contacttitle_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)|", alias="fkiContacttitleID") + fki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="fkiContactinformationsID") + dt_contact_birthdate: Optional[StrictStr] = Field(default=None, description="The Birth Date of the contact", alias="dtContactBirthdate") + e_contact_type: FieldEContactType = Field(alias="eContactType") + s_contact_firstname: StrictStr = Field(description="The First name of the contact", alias="sContactFirstname") + s_contact_lastname: StrictStr = Field(description="The Last name of the contact", alias="sContactLastname") + s_contact_company: Optional[StrictStr] = Field(default=None, description="The Company name of the contact", alias="sContactCompany") + s_contact_occupation: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The occupation of the Contact", alias="sContactOccupation") + t_contact_note: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The note of the Contact", alias="tContactNote") + b_contact_isactive: StrictBool = Field(description="Whether the contact is active or not", alias="bContactIsactive") + obj_contactinformations: ContactinformationsResponseCompound = Field(alias="objContactinformations") + __properties: ClassVar[List[str]] = ["pkiContactID", "fkiLanguageID", "fkiContacttitleID", "fkiContactinformationsID", "dtContactBirthdate", "eContactType", "sContactFirstname", "sContactLastname", "sContactCompany", "sContactOccupation", "tContactNote", "bContactIsactive", "objContactinformations"] + + @field_validator('s_contact_occupation') + def s_contact_occupation_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('t_contact_note') + def t_contact_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,32000}$", value): + raise ValueError(r"must validate the regular expression /^.{0,32000}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContactResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_contactinformations + if self.obj_contactinformations: + _dict['objContactinformations'] = self.obj_contactinformations.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContactResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiContactID": obj.get("pkiContactID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiContacttitleID": obj.get("fkiContacttitleID"), + "fkiContactinformationsID": obj.get("fkiContactinformationsID"), + "dtContactBirthdate": obj.get("dtContactBirthdate"), + "eContactType": obj.get("eContactType"), + "sContactFirstname": obj.get("sContactFirstname"), + "sContactLastname": obj.get("sContactLastname"), + "sContactCompany": obj.get("sContactCompany"), + "sContactOccupation": obj.get("sContactOccupation"), + "tContactNote": obj.get("tContactNote"), + "bContactIsactive": obj.get("bContactIsactive"), + "objContactinformations": ContactinformationsResponseCompound.from_dict(obj["objContactinformations"]) if obj.get("objContactinformations") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/contact_response_compound.py b/eZmaxApi/models/contact_response_compound.py new file mode 100644 index 000000000..72b06e029 --- /dev/null +++ b/eZmaxApi/models/contact_response_compound.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.contactinformations_response_compound import ContactinformationsResponseCompound +from eZmaxApi.models.field_e_contact_type import FieldEContactType +from typing import Optional, Set +from typing_extensions import Self + +class ContactResponseCompound(BaseModel): + """ + A Contact Object + """ # noqa: E501 + pki_contact_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contact", alias="pkiContactID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_contacttitle_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)|", alias="fkiContacttitleID") + fki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="fkiContactinformationsID") + dt_contact_birthdate: Optional[StrictStr] = Field(default=None, description="The Birth Date of the contact", alias="dtContactBirthdate") + e_contact_type: FieldEContactType = Field(alias="eContactType") + s_contact_firstname: StrictStr = Field(description="The First name of the contact", alias="sContactFirstname") + s_contact_lastname: StrictStr = Field(description="The Last name of the contact", alias="sContactLastname") + s_contact_company: Optional[StrictStr] = Field(default=None, description="The Company name of the contact", alias="sContactCompany") + s_contact_occupation: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The occupation of the Contact", alias="sContactOccupation") + t_contact_note: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The note of the Contact", alias="tContactNote") + b_contact_isactive: StrictBool = Field(description="Whether the contact is active or not", alias="bContactIsactive") + obj_contactinformations: ContactinformationsResponseCompound = Field(alias="objContactinformations") + __properties: ClassVar[List[str]] = ["pkiContactID", "fkiLanguageID", "fkiContacttitleID", "fkiContactinformationsID", "dtContactBirthdate", "eContactType", "sContactFirstname", "sContactLastname", "sContactCompany", "sContactOccupation", "tContactNote", "bContactIsactive", "objContactinformations"] + + @field_validator('s_contact_occupation') + def s_contact_occupation_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('t_contact_note') + def t_contact_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,32000}$", value): + raise ValueError(r"must validate the regular expression /^.{0,32000}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContactResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_contactinformations + if self.obj_contactinformations: + _dict['objContactinformations'] = self.obj_contactinformations.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContactResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiContactID": obj.get("pkiContactID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiContacttitleID": obj.get("fkiContacttitleID"), + "fkiContactinformationsID": obj.get("fkiContactinformationsID"), + "dtContactBirthdate": obj.get("dtContactBirthdate"), + "eContactType": obj.get("eContactType"), + "sContactFirstname": obj.get("sContactFirstname"), + "sContactLastname": obj.get("sContactLastname"), + "sContactCompany": obj.get("sContactCompany"), + "sContactOccupation": obj.get("sContactOccupation"), + "tContactNote": obj.get("tContactNote"), + "bContactIsactive": obj.get("bContactIsactive"), + "objContactinformations": ContactinformationsResponseCompound.from_dict(obj["objContactinformations"]) if obj.get("objContactinformations") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/contactinformations_request_compound.py b/eZmaxApi/models/contactinformations_request_compound.py index 39973bd12..6e4cd3b4f 100644 --- a/eZmaxApi/models/contactinformations_request_compound.py +++ b/eZmaxApi/models/contactinformations_request_compound.py @@ -83,30 +83,30 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_address (list) _items = [] if self.a_obj_address: - for _item in self.a_obj_address: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_address in self.a_obj_address: + if _item_a_obj_address: + _items.append(_item_a_obj_address.to_dict()) _dict['a_objAddress'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_phone (list) _items = [] if self.a_obj_phone: - for _item in self.a_obj_phone: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_phone in self.a_obj_phone: + if _item_a_obj_phone: + _items.append(_item_a_obj_phone.to_dict()) _dict['a_objPhone'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_email (list) _items = [] if self.a_obj_email: - for _item in self.a_obj_email: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_email in self.a_obj_email: + if _item_a_obj_email: + _items.append(_item_a_obj_email.to_dict()) _dict['a_objEmail'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_website (list) _items = [] if self.a_obj_website: - for _item in self.a_obj_website: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_website in self.a_obj_website: + if _item_a_obj_website: + _items.append(_item_a_obj_website.to_dict()) _dict['a_objWebsite'] = _items return _dict diff --git a/eZmaxApi/models/contactinformations_request_compound_v2.py b/eZmaxApi/models/contactinformations_request_compound_v2.py new file mode 100644 index 000000000..4e9b1effb --- /dev/null +++ b/eZmaxApi/models/contactinformations_request_compound_v2.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.address_request_compound import AddressRequestCompound +from eZmaxApi.models.email_request_compound import EmailRequestCompound +from eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType +from eZmaxApi.models.phone_request_compound import PhoneRequestCompound +from eZmaxApi.models.website_request_compound import WebsiteRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class ContactinformationsRequestCompoundV2(BaseModel): + """ + A Contactinformations Object and children to create a complete structure + """ # noqa: E501 + e_contactinformations_type: FieldEContactinformationsType = Field(alias="eContactinformationsType") + i_address_default: StrictInt = Field(description="The index in the a_objAddress array (zero based index) representing the Address object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iAddressDefault") + i_phone_default: StrictInt = Field(description="The index in the a_objPhone array (zero based index) representing the Phone object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iPhoneDefault") + i_email_default: StrictInt = Field(description="The index in the a_objEmail array (zero based index) representing the Email object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iEmailDefault") + i_website_default: StrictInt = Field(description="The index in the a_objWebsite array (zero based index) representing the Website object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iWebsiteDefault") + a_obj_address: List[AddressRequestCompound] = Field(alias="a_objAddress") + a_obj_phone: List[PhoneRequestCompound] = Field(alias="a_objPhone") + a_obj_email: List[EmailRequestCompound] = Field(alias="a_objEmail") + a_obj_website: List[WebsiteRequestCompound] = Field(alias="a_objWebsite") + __properties: ClassVar[List[str]] = ["eContactinformationsType", "iAddressDefault", "iPhoneDefault", "iEmailDefault", "iWebsiteDefault", "a_objAddress", "a_objPhone", "a_objEmail", "a_objWebsite"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContactinformationsRequestCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_address (list) + _items = [] + if self.a_obj_address: + for _item_a_obj_address in self.a_obj_address: + if _item_a_obj_address: + _items.append(_item_a_obj_address.to_dict()) + _dict['a_objAddress'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_phone (list) + _items = [] + if self.a_obj_phone: + for _item_a_obj_phone in self.a_obj_phone: + if _item_a_obj_phone: + _items.append(_item_a_obj_phone.to_dict()) + _dict['a_objPhone'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_email (list) + _items = [] + if self.a_obj_email: + for _item_a_obj_email in self.a_obj_email: + if _item_a_obj_email: + _items.append(_item_a_obj_email.to_dict()) + _dict['a_objEmail'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_website (list) + _items = [] + if self.a_obj_website: + for _item_a_obj_website in self.a_obj_website: + if _item_a_obj_website: + _items.append(_item_a_obj_website.to_dict()) + _dict['a_objWebsite'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContactinformationsRequestCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "eContactinformationsType": obj.get("eContactinformationsType"), + "iAddressDefault": obj.get("iAddressDefault"), + "iPhoneDefault": obj.get("iPhoneDefault"), + "iEmailDefault": obj.get("iEmailDefault"), + "iWebsiteDefault": obj.get("iWebsiteDefault"), + "a_objAddress": [AddressRequestCompound.from_dict(_item) for _item in obj["a_objAddress"]] if obj.get("a_objAddress") is not None else None, + "a_objPhone": [PhoneRequestCompound.from_dict(_item) for _item in obj["a_objPhone"]] if obj.get("a_objPhone") is not None else None, + "a_objEmail": [EmailRequestCompound.from_dict(_item) for _item in obj["a_objEmail"]] if obj.get("a_objEmail") is not None else None, + "a_objWebsite": [WebsiteRequestCompound.from_dict(_item) for _item in obj["a_objWebsite"]] if obj.get("a_objWebsite") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/contactinformations_request_v2.py b/eZmaxApi/models/contactinformations_request_v2.py new file mode 100644 index 000000000..993a39051 --- /dev/null +++ b/eZmaxApi/models/contactinformations_request_v2.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType +from typing import Optional, Set +from typing_extensions import Self + +class ContactinformationsRequestV2(BaseModel): + """ + A Contactinformations Object + """ # noqa: E501 + e_contactinformations_type: FieldEContactinformationsType = Field(alias="eContactinformationsType") + i_address_default: StrictInt = Field(description="The index in the a_objAddress array (zero based index) representing the Address object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iAddressDefault") + i_phone_default: StrictInt = Field(description="The index in the a_objPhone array (zero based index) representing the Phone object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iPhoneDefault") + i_email_default: StrictInt = Field(description="The index in the a_objEmail array (zero based index) representing the Email object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iEmailDefault") + i_website_default: StrictInt = Field(description="The index in the a_objWebsite array (zero based index) representing the Website object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iWebsiteDefault") + __properties: ClassVar[List[str]] = ["eContactinformationsType", "iAddressDefault", "iPhoneDefault", "iEmailDefault", "iWebsiteDefault"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContactinformationsRequestV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContactinformationsRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "eContactinformationsType": obj.get("eContactinformationsType"), + "iAddressDefault": obj.get("iAddressDefault"), + "iPhoneDefault": obj.get("iPhoneDefault"), + "iEmailDefault": obj.get("iEmailDefault"), + "iWebsiteDefault": obj.get("iWebsiteDefault") + }) + return _obj + + diff --git a/eZmaxApi/models/contactinformations_response.py b/eZmaxApi/models/contactinformations_response.py new file mode 100644 index 000000000..f38500404 --- /dev/null +++ b/eZmaxApi/models/contactinformations_response.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.address_response_compound import AddressResponseCompound +from eZmaxApi.models.email_response_compound import EmailResponseCompound +from eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType +from eZmaxApi.models.phone_response_compound import PhoneResponseCompound +from eZmaxApi.models.website_response_compound import WebsiteResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class ContactinformationsResponse(BaseModel): + """ + A Contactinformations Object + """ # noqa: E501 + pki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="pkiContactinformationsID") + fki_address_id_default: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Address", alias="fkiAddressIDDefault") + fki_phone_id_default: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Phone.", alias="fkiPhoneIDDefault") + fki_email_id_default: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Email", alias="fkiEmailIDDefault") + fki_website_id_default: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Website Default", alias="fkiWebsiteIDDefault") + e_contactinformations_type: FieldEContactinformationsType = Field(alias="eContactinformationsType") + s_contactinformations_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the Contactinformations", alias="sContactinformationsUrl") + obj_address_default: Optional[AddressResponseCompound] = Field(default=None, alias="objAddressDefault") + obj_phone_default: Optional[PhoneResponseCompound] = Field(default=None, alias="objPhoneDefault") + obj_email_default: Optional[EmailResponseCompound] = Field(default=None, alias="objEmailDefault") + obj_website_default: Optional[WebsiteResponseCompound] = Field(default=None, alias="objWebsiteDefault") + __properties: ClassVar[List[str]] = ["pkiContactinformationsID", "fkiAddressIDDefault", "fkiPhoneIDDefault", "fkiEmailIDDefault", "fkiWebsiteIDDefault", "eContactinformationsType", "sContactinformationsUrl", "objAddressDefault", "objPhoneDefault", "objEmailDefault", "objWebsiteDefault"] + + @field_validator('s_contactinformations_url') + def s_contactinformations_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,255}$", value): + raise ValueError(r"must validate the regular expression /^.{0,255}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContactinformationsResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_address_default + if self.obj_address_default: + _dict['objAddressDefault'] = self.obj_address_default.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_phone_default + if self.obj_phone_default: + _dict['objPhoneDefault'] = self.obj_phone_default.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_email_default + if self.obj_email_default: + _dict['objEmailDefault'] = self.obj_email_default.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_website_default + if self.obj_website_default: + _dict['objWebsiteDefault'] = self.obj_website_default.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContactinformationsResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiContactinformationsID": obj.get("pkiContactinformationsID"), + "fkiAddressIDDefault": obj.get("fkiAddressIDDefault"), + "fkiPhoneIDDefault": obj.get("fkiPhoneIDDefault"), + "fkiEmailIDDefault": obj.get("fkiEmailIDDefault"), + "fkiWebsiteIDDefault": obj.get("fkiWebsiteIDDefault"), + "eContactinformationsType": obj.get("eContactinformationsType"), + "sContactinformationsUrl": obj.get("sContactinformationsUrl"), + "objAddressDefault": AddressResponseCompound.from_dict(obj["objAddressDefault"]) if obj.get("objAddressDefault") is not None else None, + "objPhoneDefault": PhoneResponseCompound.from_dict(obj["objPhoneDefault"]) if obj.get("objPhoneDefault") is not None else None, + "objEmailDefault": EmailResponseCompound.from_dict(obj["objEmailDefault"]) if obj.get("objEmailDefault") is not None else None, + "objWebsiteDefault": WebsiteResponseCompound.from_dict(obj["objWebsiteDefault"]) if obj.get("objWebsiteDefault") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/contactinformations_response_compound.py b/eZmaxApi/models/contactinformations_response_compound.py new file mode 100644 index 000000000..fecf982ba --- /dev/null +++ b/eZmaxApi/models/contactinformations_response_compound.py @@ -0,0 +1,172 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.address_response_compound import AddressResponseCompound +from eZmaxApi.models.email_response_compound import EmailResponseCompound +from eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType +from eZmaxApi.models.phone_response_compound import PhoneResponseCompound +from eZmaxApi.models.website_response_compound import WebsiteResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class ContactinformationsResponseCompound(BaseModel): + """ + A Contactinformations Object + """ # noqa: E501 + pki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="pkiContactinformationsID") + fki_address_id_default: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Address", alias="fkiAddressIDDefault") + fki_phone_id_default: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Phone.", alias="fkiPhoneIDDefault") + fki_email_id_default: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Email", alias="fkiEmailIDDefault") + fki_website_id_default: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Website Default", alias="fkiWebsiteIDDefault") + e_contactinformations_type: FieldEContactinformationsType = Field(alias="eContactinformationsType") + s_contactinformations_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the Contactinformations", alias="sContactinformationsUrl") + obj_address_default: Optional[AddressResponseCompound] = Field(default=None, alias="objAddressDefault") + obj_phone_default: Optional[PhoneResponseCompound] = Field(default=None, alias="objPhoneDefault") + obj_email_default: Optional[EmailResponseCompound] = Field(default=None, alias="objEmailDefault") + obj_website_default: Optional[WebsiteResponseCompound] = Field(default=None, alias="objWebsiteDefault") + a_obj_address: List[AddressResponseCompound] = Field(alias="a_objAddress") + a_obj_phone: List[PhoneResponseCompound] = Field(alias="a_objPhone") + a_obj_email: List[EmailResponseCompound] = Field(alias="a_objEmail") + a_obj_website: List[WebsiteResponseCompound] = Field(alias="a_objWebsite") + __properties: ClassVar[List[str]] = ["pkiContactinformationsID", "fkiAddressIDDefault", "fkiPhoneIDDefault", "fkiEmailIDDefault", "fkiWebsiteIDDefault", "eContactinformationsType", "sContactinformationsUrl", "objAddressDefault", "objPhoneDefault", "objEmailDefault", "objWebsiteDefault", "a_objAddress", "a_objPhone", "a_objEmail", "a_objWebsite"] + + @field_validator('s_contactinformations_url') + def s_contactinformations_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,255}$", value): + raise ValueError(r"must validate the regular expression /^.{0,255}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContactinformationsResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_address_default + if self.obj_address_default: + _dict['objAddressDefault'] = self.obj_address_default.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_phone_default + if self.obj_phone_default: + _dict['objPhoneDefault'] = self.obj_phone_default.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_email_default + if self.obj_email_default: + _dict['objEmailDefault'] = self.obj_email_default.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_website_default + if self.obj_website_default: + _dict['objWebsiteDefault'] = self.obj_website_default.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_address (list) + _items = [] + if self.a_obj_address: + for _item_a_obj_address in self.a_obj_address: + if _item_a_obj_address: + _items.append(_item_a_obj_address.to_dict()) + _dict['a_objAddress'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_phone (list) + _items = [] + if self.a_obj_phone: + for _item_a_obj_phone in self.a_obj_phone: + if _item_a_obj_phone: + _items.append(_item_a_obj_phone.to_dict()) + _dict['a_objPhone'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_email (list) + _items = [] + if self.a_obj_email: + for _item_a_obj_email in self.a_obj_email: + if _item_a_obj_email: + _items.append(_item_a_obj_email.to_dict()) + _dict['a_objEmail'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_website (list) + _items = [] + if self.a_obj_website: + for _item_a_obj_website in self.a_obj_website: + if _item_a_obj_website: + _items.append(_item_a_obj_website.to_dict()) + _dict['a_objWebsite'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContactinformationsResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiContactinformationsID": obj.get("pkiContactinformationsID"), + "fkiAddressIDDefault": obj.get("fkiAddressIDDefault"), + "fkiPhoneIDDefault": obj.get("fkiPhoneIDDefault"), + "fkiEmailIDDefault": obj.get("fkiEmailIDDefault"), + "fkiWebsiteIDDefault": obj.get("fkiWebsiteIDDefault"), + "eContactinformationsType": obj.get("eContactinformationsType"), + "sContactinformationsUrl": obj.get("sContactinformationsUrl"), + "objAddressDefault": AddressResponseCompound.from_dict(obj["objAddressDefault"]) if obj.get("objAddressDefault") is not None else None, + "objPhoneDefault": PhoneResponseCompound.from_dict(obj["objPhoneDefault"]) if obj.get("objPhoneDefault") is not None else None, + "objEmailDefault": EmailResponseCompound.from_dict(obj["objEmailDefault"]) if obj.get("objEmailDefault") is not None else None, + "objWebsiteDefault": WebsiteResponseCompound.from_dict(obj["objWebsiteDefault"]) if obj.get("objWebsiteDefault") is not None else None, + "a_objAddress": [AddressResponseCompound.from_dict(_item) for _item in obj["a_objAddress"]] if obj.get("a_objAddress") is not None else None, + "a_objPhone": [PhoneResponseCompound.from_dict(_item) for _item in obj["a_objPhone"]] if obj.get("a_objPhone") is not None else None, + "a_objEmail": [EmailResponseCompound.from_dict(_item) for _item in obj["a_objEmail"]] if obj.get("a_objEmail") is not None else None, + "a_objWebsite": [WebsiteResponseCompound.from_dict(_item) for _item in obj["a_objWebsite"]] if obj.get("a_objWebsite") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/contacttitle_autocomplete_element_response.py b/eZmaxApi/models/contacttitle_autocomplete_element_response.py new file mode 100644 index 000000000..a5dee582b --- /dev/null +++ b/eZmaxApi/models/contacttitle_autocomplete_element_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class ContacttitleAutocompleteElementResponse(BaseModel): + """ + A Contacttitle AutocompleteElement Response + """ # noqa: E501 + pki_contacttitle_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)|", alias="pkiContacttitleID") + s_contacttitle_name_x: Annotated[str, Field(strict=True)] = Field(description="The name of the Contacttitle in the language of the requester", alias="sContacttitleNameX") + __properties: ClassVar[List[str]] = ["pkiContacttitleID", "sContacttitleNameX"] + + @field_validator('s_contacttitle_name_x') + def s_contacttitle_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,10}$", value): + raise ValueError(r"must validate the regular expression /^.{0,10}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContacttitleAutocompleteElementResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContacttitleAutocompleteElementResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiContacttitleID": obj.get("pkiContacttitleID"), + "sContacttitleNameX": obj.get("sContacttitleNameX") + }) + return _obj + + diff --git a/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py b/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py new file mode 100644 index 000000000..a533961ec --- /dev/null +++ b/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response_m_payload import ContacttitleGetAutocompleteV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class ContacttitleGetAutocompleteV2Response(BaseModel): + """ + Response for GET /2/object/contacttitle/getAutocomplete + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: ContacttitleGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContacttitleGetAutocompleteV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContacttitleGetAutocompleteV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": ContacttitleGetAutocompleteV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/contacttitle_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/contacttitle_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..303b95fb7 --- /dev/null +++ b/eZmaxApi/models/contacttitle_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.contacttitle_autocomplete_element_response import ContacttitleAutocompleteElementResponse +from typing import Optional, Set +from typing_extensions import Self + +class ContacttitleGetAutocompleteV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/contacttitle/getAutocomplete + """ # noqa: E501 + a_obj_contacttitle: List[ContacttitleAutocompleteElementResponse] = Field(description="An array of Contacttitle autocomplete element response.", alias="a_objContacttitle") + __properties: ClassVar[List[str]] = ["a_objContacttitle"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContacttitleGetAutocompleteV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_contacttitle (list) + _items = [] + if self.a_obj_contacttitle: + for _item_a_obj_contacttitle in self.a_obj_contacttitle: + if _item_a_obj_contacttitle: + _items.append(_item_a_obj_contacttitle.to_dict()) + _dict['a_objContacttitle'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContacttitleGetAutocompleteV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objContacttitle": [ContacttitleAutocompleteElementResponse.from_dict(_item) for _item in obj["a_objContacttitle"]] if obj.get("a_objContacttitle") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/cors_create_object_v1_request.py b/eZmaxApi/models/cors_create_object_v1_request.py index a7d764f2c..7d8213f22 100644 --- a/eZmaxApi/models/cors_create_object_v1_request.py +++ b/eZmaxApi/models/cors_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_cors (list) _items = [] if self.a_obj_cors: - for _item in self.a_obj_cors: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_cors in self.a_obj_cors: + if _item_a_obj_cors: + _items.append(_item_a_obj_cors.to_dict()) _dict['a_objCors'] = _items return _dict diff --git a/eZmaxApi/models/country_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/country_get_autocomplete_v2_response_m_payload.py index 3ff842125..73a8e7a51 100644 --- a/eZmaxApi/models/country_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/country_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_country (list) _items = [] if self.a_obj_country: - for _item in self.a_obj_country: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_country in self.a_obj_country: + if _item_a_obj_country: + _items.append(_item_a_obj_country.to_dict()) _dict['a_objCountry'] = _items return _dict diff --git a/eZmaxApi/models/creditcardclient_autocomplete_element_response.py b/eZmaxApi/models/creditcardclient_autocomplete_element_response.py index 69070561c..9df80c3ff 100644 --- a/eZmaxApi/models/creditcardclient_autocomplete_element_response.py +++ b/eZmaxApi/models/creditcardclient_autocomplete_element_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -30,8 +30,7 @@ class CreditcardclientAutocompleteElementResponse(BaseModel): """ # noqa: E501 pki_creditcardclient_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcardclient", alias="pkiCreditcardclientID") s_creditcardclient_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Creditcardclient", alias="sCreditcardclientDescription") - b_creditcardclient_isactive: StrictBool = Field(description="Whether the creditcardclient is active or not", alias="bCreditcardclientIsactive") - __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "sCreditcardclientDescription", "bCreditcardclientIsactive"] + __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "sCreditcardclientDescription"] @field_validator('s_creditcardclient_description') def s_creditcardclient_description_validate_regular_expression(cls, value): @@ -92,8 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiCreditcardclientID": obj.get("pkiCreditcardclientID"), - "sCreditcardclientDescription": obj.get("sCreditcardclientDescription"), - "bCreditcardclientIsactive": obj.get("bCreditcardclientIsactive") + "sCreditcardclientDescription": obj.get("sCreditcardclientDescription") }) return _obj diff --git a/eZmaxApi/models/creditcardclient_create_object_v1_request.py b/eZmaxApi/models/creditcardclient_create_object_v1_request.py index 7b48a74e7..f5c1e1838 100644 --- a/eZmaxApi/models/creditcardclient_create_object_v1_request.py +++ b/eZmaxApi/models/creditcardclient_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_creditcardclient (list) _items = [] if self.a_obj_creditcardclient: - for _item in self.a_obj_creditcardclient: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_creditcardclient in self.a_obj_creditcardclient: + if _item_a_obj_creditcardclient: + _items.append(_item_a_obj_creditcardclient.to_dict()) _dict['a_objCreditcardclient'] = _items return _dict diff --git a/eZmaxApi/models/creditcardclient_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/creditcardclient_get_autocomplete_v2_response_m_payload.py index 5e92dce1f..b6ebe5c14 100644 --- a/eZmaxApi/models/creditcardclient_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/creditcardclient_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_creditcardclient (list) _items = [] if self.a_obj_creditcardclient: - for _item in self.a_obj_creditcardclient: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_creditcardclient in self.a_obj_creditcardclient: + if _item_a_obj_creditcardclient: + _items.append(_item_a_obj_creditcardclient.to_dict()) _dict['a_objCreditcardclient'] = _items return _dict diff --git a/eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py b/eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py index afba020ce..dcee4fc82 100644 --- a/eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_creditcardclient (list) _items = [] if self.a_obj_creditcardclient: - for _item in self.a_obj_creditcardclient: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_creditcardclient in self.a_obj_creditcardclient: + if _item_a_obj_creditcardclient: + _items.append(_item_a_obj_creditcardclient.to_dict()) _dict['a_objCreditcardclient'] = _items return _dict diff --git a/eZmaxApi/models/creditcardclient_list_element.py b/eZmaxApi/models/creditcardclient_list_element.py index ed6359369..bfbb54953 100644 --- a/eZmaxApi/models/creditcardclient_list_element.py +++ b/eZmaxApi/models/creditcardclient_list_element.py @@ -30,16 +30,15 @@ class CreditcardclientListElement(BaseModel): """ # noqa: E501 pki_creditcardclient_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcardclient", alias="pkiCreditcardclientID") fki_creditcarddetail_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcarddetail", alias="fkiCreditcarddetailID") - b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's an relationisdefault", alias="bCreditcardclientrelationIsdefault") + fki_creditcardtype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Creditcardtype", alias="fkiCreditcardtypeID") + b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's the creditcardclient is the default one", alias="bCreditcardclientrelationIsdefault") s_creditcardclient_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Creditcardclient", alias="sCreditcardclientDescription") - b_creditcardclient_isactive: StrictBool = Field(description="Whether the creditcardclient is active or not", alias="bCreditcardclientIsactive") - b_creditcardclient_allowedagencypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedagencypayment") - b_creditcardclient_allowedroyallepageprotection: StrictBool = Field(description="Whether if it's an allowedroyallepageprotection", alias="bCreditcardclientAllowedroyallepageprotection") + b_creditcardclient_allowedcompanypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedcompanypayment") b_creditcardclient_allowedtranquillit: StrictBool = Field(description="Whether if it's an allowedtranquillit", alias="bCreditcardclientAllowedtranquillit") i_creditcarddetail_expirationmonth: Annotated[int, Field(le=12, strict=True, ge=0)] = Field(description="The expirationmonth of the Creditcarddetail", alias="iCreditcarddetailExpirationmonth") i_creditcarddetail_expirationyear: Annotated[int, Field(le=2200, strict=True, ge=0)] = Field(description="The expirationyear of the Creditcarddetail", alias="iCreditcarddetailExpirationyear") - s_creditcarddetail_numbermasked: Annotated[str, Field(strict=True)] = Field(description="The numbermasked of the Creditcarddetail", alias="sCreditcarddetailNumbermasked") - __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fkiCreditcarddetailID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientIsactive", "bCreditcardclientAllowedagencypayment", "bCreditcardclientAllowedroyallepageprotection", "bCreditcardclientAllowedtranquillit", "iCreditcarddetailExpirationmonth", "iCreditcarddetailExpirationyear", "sCreditcarddetailNumbermasked"] + i_creditcarddetail_lastdigits: Annotated[int, Field(le=9999, strict=True, ge=0)] = Field(description="The last digits of the Creditcarddetail", alias="iCreditcarddetailLastdigits") + __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fkiCreditcarddetailID", "fkiCreditcardtypeID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientAllowedcompanypayment", "bCreditcardclientAllowedtranquillit", "iCreditcarddetailExpirationmonth", "iCreditcarddetailExpirationyear", "iCreditcarddetailLastdigits"] @field_validator('s_creditcardclient_description') def s_creditcardclient_description_validate_regular_expression(cls, value): @@ -48,13 +47,6 @@ def s_creditcardclient_description_validate_regular_expression(cls, value): raise ValueError(r"must validate the regular expression /^.{0,50}$/") return value - @field_validator('s_creditcarddetail_numbermasked') - def s_creditcarddetail_numbermasked_validate_regular_expression(cls, value): - """Validates the regular expression""" - if not re.match(r"^.{0,50}$", value): - raise ValueError(r"must validate the regular expression /^.{0,50}$/") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -108,15 +100,14 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiCreditcardclientID": obj.get("pkiCreditcardclientID"), "fkiCreditcarddetailID": obj.get("fkiCreditcarddetailID"), + "fkiCreditcardtypeID": obj.get("fkiCreditcardtypeID"), "bCreditcardclientrelationIsdefault": obj.get("bCreditcardclientrelationIsdefault"), "sCreditcardclientDescription": obj.get("sCreditcardclientDescription"), - "bCreditcardclientIsactive": obj.get("bCreditcardclientIsactive"), - "bCreditcardclientAllowedagencypayment": obj.get("bCreditcardclientAllowedagencypayment"), - "bCreditcardclientAllowedroyallepageprotection": obj.get("bCreditcardclientAllowedroyallepageprotection"), + "bCreditcardclientAllowedcompanypayment": obj.get("bCreditcardclientAllowedcompanypayment"), "bCreditcardclientAllowedtranquillit": obj.get("bCreditcardclientAllowedtranquillit"), "iCreditcarddetailExpirationmonth": obj.get("iCreditcarddetailExpirationmonth"), "iCreditcarddetailExpirationyear": obj.get("iCreditcarddetailExpirationyear"), - "sCreditcarddetailNumbermasked": obj.get("sCreditcarddetailNumbermasked") + "iCreditcarddetailLastdigits": obj.get("iCreditcarddetailLastdigits") }) return _obj diff --git a/eZmaxApi/models/creditcardclient_patch_object_v1_request.py b/eZmaxApi/models/creditcardclient_patch_object_v1_request.py new file mode 100644 index 000000000..382fd5e30 --- /dev/null +++ b/eZmaxApi/models/creditcardclient_patch_object_v1_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.creditcardclient_request_patch import CreditcardclientRequestPatch +from typing import Optional, Set +from typing_extensions import Self + +class CreditcardclientPatchObjectV1Request(BaseModel): + """ + Request for PATCH /1/object/creditcardclient/{pkiCreditcardclientID} + """ # noqa: E501 + obj_creditcardclient: CreditcardclientRequestPatch = Field(alias="objCreditcardclient") + __properties: ClassVar[List[str]] = ["objCreditcardclient"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CreditcardclientPatchObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_creditcardclient + if self.obj_creditcardclient: + _dict['objCreditcardclient'] = self.obj_creditcardclient.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CreditcardclientPatchObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objCreditcardclient": CreditcardclientRequestPatch.from_dict(obj["objCreditcardclient"]) if obj.get("objCreditcardclient") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/creditcardclient_patch_object_v1_response.py b/eZmaxApi/models/creditcardclient_patch_object_v1_response.py new file mode 100644 index 000000000..f13bf9d2f --- /dev/null +++ b/eZmaxApi/models/creditcardclient_patch_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class CreditcardclientPatchObjectV1Response(BaseModel): + """ + Response for PATCH /1/object/creditcardclient/{pkiCreditcardclientID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CreditcardclientPatchObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CreditcardclientPatchObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/creditcardclient_request.py b/eZmaxApi/models/creditcardclient_request.py index 514e8f408..f4885f6da 100644 --- a/eZmaxApi/models/creditcardclient_request.py +++ b/eZmaxApi/models/creditcardclient_request.py @@ -31,15 +31,14 @@ class CreditcardclientRequest(BaseModel): """ # noqa: E501 pki_creditcardclient_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Creditcardclient", alias="pkiCreditcardclientID") fks_creditcardtoken_id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The creditcard token identifier", alias="fksCreditcardtokenID") - b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's an relationisdefault", alias="bCreditcardclientrelationIsdefault") + b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's the creditcardclient is the default one", alias="bCreditcardclientrelationIsdefault") s_creditcardclient_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Creditcardclient", alias="sCreditcardclientDescription") - b_creditcardclient_isactive: StrictBool = Field(description="Whether the creditcardclient is active or not", alias="bCreditcardclientIsactive") - b_creditcardclient_allowedagencypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedagencypayment") - b_creditcardclient_allowedroyallepageprotection: StrictBool = Field(description="Whether if it's an allowedroyallepageprotection", alias="bCreditcardclientAllowedroyallepageprotection") + b_creditcardclient_allowedcompanypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedcompanypayment") + b_creditcardclient_allowedezsign: StrictBool = Field(description="Whether if it's an allowedroyallepageprotection", alias="bCreditcardclientAllowedezsign") b_creditcardclient_allowedtranquillit: StrictBool = Field(description="Whether if it's an allowedtranquillit", alias="bCreditcardclientAllowedtranquillit") obj_creditcarddetail: CreditcarddetailRequest = Field(alias="objCreditcarddetail") s_creditcardclient_cvv: Annotated[str, Field(strict=True)] = Field(description="The creditcard card CVV", alias="sCreditcardclientCVV") - __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fksCreditcardtokenID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientIsactive", "bCreditcardclientAllowedagencypayment", "bCreditcardclientAllowedroyallepageprotection", "bCreditcardclientAllowedtranquillit", "objCreditcarddetail", "sCreditcardclientCVV"] + __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fksCreditcardtokenID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientAllowedcompanypayment", "bCreditcardclientAllowedezsign", "bCreditcardclientAllowedtranquillit", "objCreditcarddetail", "sCreditcardclientCVV"] @field_validator('fks_creditcardtoken_id') def fks_creditcardtoken_id_validate_regular_expression(cls, value): @@ -123,9 +122,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fksCreditcardtokenID": obj.get("fksCreditcardtokenID"), "bCreditcardclientrelationIsdefault": obj.get("bCreditcardclientrelationIsdefault"), "sCreditcardclientDescription": obj.get("sCreditcardclientDescription"), - "bCreditcardclientIsactive": obj.get("bCreditcardclientIsactive"), - "bCreditcardclientAllowedagencypayment": obj.get("bCreditcardclientAllowedagencypayment"), - "bCreditcardclientAllowedroyallepageprotection": obj.get("bCreditcardclientAllowedroyallepageprotection"), + "bCreditcardclientAllowedcompanypayment": obj.get("bCreditcardclientAllowedcompanypayment"), + "bCreditcardclientAllowedezsign": obj.get("bCreditcardclientAllowedezsign"), "bCreditcardclientAllowedtranquillit": obj.get("bCreditcardclientAllowedtranquillit"), "objCreditcarddetail": CreditcarddetailRequest.from_dict(obj["objCreditcarddetail"]) if obj.get("objCreditcarddetail") is not None else None, "sCreditcardclientCVV": obj.get("sCreditcardclientCVV") diff --git a/eZmaxApi/models/creditcardclient_request_compound.py b/eZmaxApi/models/creditcardclient_request_compound.py index c1daee1a2..dac41c09f 100644 --- a/eZmaxApi/models/creditcardclient_request_compound.py +++ b/eZmaxApi/models/creditcardclient_request_compound.py @@ -31,15 +31,14 @@ class CreditcardclientRequestCompound(BaseModel): """ # noqa: E501 pki_creditcardclient_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Creditcardclient", alias="pkiCreditcardclientID") fks_creditcardtoken_id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The creditcard token identifier", alias="fksCreditcardtokenID") - b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's an relationisdefault", alias="bCreditcardclientrelationIsdefault") + b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's the creditcardclient is the default one", alias="bCreditcardclientrelationIsdefault") s_creditcardclient_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Creditcardclient", alias="sCreditcardclientDescription") - b_creditcardclient_isactive: StrictBool = Field(description="Whether the creditcardclient is active or not", alias="bCreditcardclientIsactive") - b_creditcardclient_allowedagencypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedagencypayment") - b_creditcardclient_allowedroyallepageprotection: StrictBool = Field(description="Whether if it's an allowedroyallepageprotection", alias="bCreditcardclientAllowedroyallepageprotection") + b_creditcardclient_allowedcompanypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedcompanypayment") + b_creditcardclient_allowedezsign: StrictBool = Field(description="Whether if it's an allowedroyallepageprotection", alias="bCreditcardclientAllowedezsign") b_creditcardclient_allowedtranquillit: StrictBool = Field(description="Whether if it's an allowedtranquillit", alias="bCreditcardclientAllowedtranquillit") obj_creditcarddetail: CreditcarddetailRequest = Field(alias="objCreditcarddetail") s_creditcardclient_cvv: Annotated[str, Field(strict=True)] = Field(description="The creditcard card CVV", alias="sCreditcardclientCVV") - __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fksCreditcardtokenID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientIsactive", "bCreditcardclientAllowedagencypayment", "bCreditcardclientAllowedroyallepageprotection", "bCreditcardclientAllowedtranquillit", "objCreditcarddetail", "sCreditcardclientCVV"] + __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fksCreditcardtokenID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientAllowedcompanypayment", "bCreditcardclientAllowedezsign", "bCreditcardclientAllowedtranquillit", "objCreditcarddetail", "sCreditcardclientCVV"] @field_validator('fks_creditcardtoken_id') def fks_creditcardtoken_id_validate_regular_expression(cls, value): @@ -123,9 +122,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fksCreditcardtokenID": obj.get("fksCreditcardtokenID"), "bCreditcardclientrelationIsdefault": obj.get("bCreditcardclientrelationIsdefault"), "sCreditcardclientDescription": obj.get("sCreditcardclientDescription"), - "bCreditcardclientIsactive": obj.get("bCreditcardclientIsactive"), - "bCreditcardclientAllowedagencypayment": obj.get("bCreditcardclientAllowedagencypayment"), - "bCreditcardclientAllowedroyallepageprotection": obj.get("bCreditcardclientAllowedroyallepageprotection"), + "bCreditcardclientAllowedcompanypayment": obj.get("bCreditcardclientAllowedcompanypayment"), + "bCreditcardclientAllowedezsign": obj.get("bCreditcardclientAllowedezsign"), "bCreditcardclientAllowedtranquillit": obj.get("bCreditcardclientAllowedtranquillit"), "objCreditcarddetail": CreditcarddetailRequest.from_dict(obj["objCreditcarddetail"]) if obj.get("objCreditcarddetail") is not None else None, "sCreditcardclientCVV": obj.get("sCreditcardclientCVV") diff --git a/eZmaxApi/models/creditcardclient_request_patch.py b/eZmaxApi/models/creditcardclient_request_patch.py new file mode 100644 index 000000000..bab14236d --- /dev/null +++ b/eZmaxApi/models/creditcardclient_request_patch.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CreditcardclientRequestPatch(BaseModel): + """ + A Creditcardclient Object + """ # noqa: E501 + b_creditcardclientrelation_isdefault: Optional[StrictBool] = Field(default=None, description="Whether if it's the creditcardclient is the default one", alias="bCreditcardclientrelationIsdefault") + __properties: ClassVar[List[str]] = ["bCreditcardclientrelationIsdefault"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CreditcardclientRequestPatch from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CreditcardclientRequestPatch from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "bCreditcardclientrelationIsdefault": obj.get("bCreditcardclientrelationIsdefault") + }) + return _obj + + diff --git a/eZmaxApi/models/creditcardclient_response.py b/eZmaxApi/models/creditcardclient_response.py index 340ccabb0..4f6e24bc2 100644 --- a/eZmaxApi/models/creditcardclient_response.py +++ b/eZmaxApi/models/creditcardclient_response.py @@ -31,14 +31,12 @@ class CreditcardclientResponse(BaseModel): """ # noqa: E501 pki_creditcardclient_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcardclient", alias="pkiCreditcardclientID") fki_creditcarddetail_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcarddetail", alias="fkiCreditcarddetailID") - b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's an relationisdefault", alias="bCreditcardclientrelationIsdefault") + b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's the creditcardclient is the default one", alias="bCreditcardclientrelationIsdefault") s_creditcardclient_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Creditcardclient", alias="sCreditcardclientDescription") - b_creditcardclient_isactive: StrictBool = Field(description="Whether the creditcardclient is active or not", alias="bCreditcardclientIsactive") - b_creditcardclient_allowedagencypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedagencypayment") - b_creditcardclient_allowedroyallepageprotection: StrictBool = Field(description="Whether if it's an allowedroyallepageprotection", alias="bCreditcardclientAllowedroyallepageprotection") + b_creditcardclient_allowedcompanypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedcompanypayment") b_creditcardclient_allowedtranquillit: StrictBool = Field(description="Whether if it's an allowedtranquillit", alias="bCreditcardclientAllowedtranquillit") obj_creditcarddetail: CreditcarddetailResponseCompound = Field(alias="objCreditcarddetail") - __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fkiCreditcarddetailID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientIsactive", "bCreditcardclientAllowedagencypayment", "bCreditcardclientAllowedroyallepageprotection", "bCreditcardclientAllowedtranquillit", "objCreditcarddetail"] + __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fkiCreditcarddetailID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientAllowedcompanypayment", "bCreditcardclientAllowedtranquillit", "objCreditcarddetail"] @field_validator('s_creditcardclient_description') def s_creditcardclient_description_validate_regular_expression(cls, value): @@ -105,9 +103,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiCreditcarddetailID": obj.get("fkiCreditcarddetailID"), "bCreditcardclientrelationIsdefault": obj.get("bCreditcardclientrelationIsdefault"), "sCreditcardclientDescription": obj.get("sCreditcardclientDescription"), - "bCreditcardclientIsactive": obj.get("bCreditcardclientIsactive"), - "bCreditcardclientAllowedagencypayment": obj.get("bCreditcardclientAllowedagencypayment"), - "bCreditcardclientAllowedroyallepageprotection": obj.get("bCreditcardclientAllowedroyallepageprotection"), + "bCreditcardclientAllowedcompanypayment": obj.get("bCreditcardclientAllowedcompanypayment"), "bCreditcardclientAllowedtranquillit": obj.get("bCreditcardclientAllowedtranquillit"), "objCreditcarddetail": CreditcarddetailResponseCompound.from_dict(obj["objCreditcarddetail"]) if obj.get("objCreditcarddetail") is not None else None }) diff --git a/eZmaxApi/models/creditcardclient_response_compound.py b/eZmaxApi/models/creditcardclient_response_compound.py index 294924ffe..a27dba548 100644 --- a/eZmaxApi/models/creditcardclient_response_compound.py +++ b/eZmaxApi/models/creditcardclient_response_compound.py @@ -31,14 +31,12 @@ class CreditcardclientResponseCompound(BaseModel): """ # noqa: E501 pki_creditcardclient_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcardclient", alias="pkiCreditcardclientID") fki_creditcarddetail_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcarddetail", alias="fkiCreditcarddetailID") - b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's an relationisdefault", alias="bCreditcardclientrelationIsdefault") + b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's the creditcardclient is the default one", alias="bCreditcardclientrelationIsdefault") s_creditcardclient_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Creditcardclient", alias="sCreditcardclientDescription") - b_creditcardclient_isactive: StrictBool = Field(description="Whether the creditcardclient is active or not", alias="bCreditcardclientIsactive") - b_creditcardclient_allowedagencypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedagencypayment") - b_creditcardclient_allowedroyallepageprotection: StrictBool = Field(description="Whether if it's an allowedroyallepageprotection", alias="bCreditcardclientAllowedroyallepageprotection") + b_creditcardclient_allowedcompanypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedcompanypayment") b_creditcardclient_allowedtranquillit: StrictBool = Field(description="Whether if it's an allowedtranquillit", alias="bCreditcardclientAllowedtranquillit") obj_creditcarddetail: CreditcarddetailResponseCompound = Field(alias="objCreditcarddetail") - __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fkiCreditcarddetailID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientIsactive", "bCreditcardclientAllowedagencypayment", "bCreditcardclientAllowedroyallepageprotection", "bCreditcardclientAllowedtranquillit", "objCreditcarddetail"] + __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fkiCreditcarddetailID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientAllowedcompanypayment", "bCreditcardclientAllowedtranquillit", "objCreditcarddetail"] @field_validator('s_creditcardclient_description') def s_creditcardclient_description_validate_regular_expression(cls, value): @@ -105,9 +103,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiCreditcarddetailID": obj.get("fkiCreditcarddetailID"), "bCreditcardclientrelationIsdefault": obj.get("bCreditcardclientrelationIsdefault"), "sCreditcardclientDescription": obj.get("sCreditcardclientDescription"), - "bCreditcardclientIsactive": obj.get("bCreditcardclientIsactive"), - "bCreditcardclientAllowedagencypayment": obj.get("bCreditcardclientAllowedagencypayment"), - "bCreditcardclientAllowedroyallepageprotection": obj.get("bCreditcardclientAllowedroyallepageprotection"), + "bCreditcardclientAllowedcompanypayment": obj.get("bCreditcardclientAllowedcompanypayment"), "bCreditcardclientAllowedtranquillit": obj.get("bCreditcardclientAllowedtranquillit"), "objCreditcarddetail": CreditcarddetailResponseCompound.from_dict(obj["objCreditcarddetail"]) if obj.get("objCreditcarddetail") is not None else None }) diff --git a/eZmaxApi/models/creditcarddetail_request.py b/eZmaxApi/models/creditcarddetail_request.py index 0b42a3e75..e332da56f 100644 --- a/eZmaxApi/models/creditcarddetail_request.py +++ b/eZmaxApi/models/creditcarddetail_request.py @@ -19,7 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -30,39 +30,30 @@ class CreditcarddetailRequest(BaseModel): """ # noqa: E501 i_creditcarddetail_expirationmonth: Annotated[int, Field(le=12, strict=True, ge=0)] = Field(description="The expirationmonth of the Creditcarddetail", alias="iCreditcarddetailExpirationmonth") i_creditcarddetail_expirationyear: Annotated[int, Field(le=2200, strict=True, ge=0)] = Field(description="The expirationyear of the Creditcarddetail", alias="iCreditcarddetailExpirationyear") - s_creditcarddetail_civic: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The civic of the Creditcarddetail", alias="sCreditcarddetailCivic") - s_creditcarddetail_street: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The street of the Creditcarddetail", alias="sCreditcarddetailStreet") - s_creditcarddetail_zip: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The zip of the Creditcarddetail", alias="sCreditcarddetailZip") + s_creditcarddetail_civic: Annotated[str, Field(strict=True)] = Field(description="The civic of the Creditcarddetail", alias="sCreditcarddetailCivic") + s_creditcarddetail_street: Annotated[str, Field(strict=True)] = Field(description="The street of the Creditcarddetail", alias="sCreditcarddetailStreet") + s_creditcarddetail_zip: Annotated[str, Field(strict=True)] = Field(description="The zip of the Creditcarddetail", alias="sCreditcarddetailZip") __properties: ClassVar[List[str]] = ["iCreditcarddetailExpirationmonth", "iCreditcarddetailExpirationyear", "sCreditcarddetailCivic", "sCreditcarddetailStreet", "sCreditcarddetailZip"] @field_validator('s_creditcarddetail_civic') def s_creditcarddetail_civic_validate_regular_expression(cls, value): """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{0,8}$", value): - raise ValueError(r"must validate the regular expression /^.{0,8}$/") + if not re.match(r"^[\d]{1,8}$", value): + raise ValueError(r"must validate the regular expression /^[\d]{1,8}$/") return value @field_validator('s_creditcarddetail_street') def s_creditcarddetail_street_validate_regular_expression(cls, value): """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{0,40}$", value): - raise ValueError(r"must validate the regular expression /^.{0,40}$/") + if not re.match(r"^.{1,19}$", value): + raise ValueError(r"must validate the regular expression /^.{1,19}$/") return value @field_validator('s_creditcarddetail_zip') def s_creditcarddetail_zip_validate_regular_expression(cls, value): """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{0,10}$", value): - raise ValueError(r"must validate the regular expression /^.{0,10}$/") + if not re.match(r"^.{0,9}$", value): + raise ValueError(r"must validate the regular expression /^.{0,9}$/") return value model_config = ConfigDict( diff --git a/eZmaxApi/models/creditcarddetail_response.py b/eZmaxApi/models/creditcarddetail_response.py index 47b05407f..d8b51be57 100644 --- a/eZmaxApi/models/creditcarddetail_response.py +++ b/eZmaxApi/models/creditcarddetail_response.py @@ -30,40 +30,33 @@ class CreditcarddetailResponse(BaseModel): """ # noqa: E501 pki_creditcarddetail_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcarddetail", alias="pkiCreditcarddetailID") fki_creditcardtype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Creditcardtype", alias="fkiCreditcardtypeID") - s_creditcarddetail_numbermasked: Annotated[str, Field(strict=True)] = Field(description="The numbermasked of the Creditcarddetail", alias="sCreditcarddetailNumbermasked") + i_creditcarddetail_lastdigits: Annotated[int, Field(le=9999, strict=True, ge=0)] = Field(description="The last digits of the Creditcarddetail", alias="iCreditcarddetailLastdigits") i_creditcarddetail_expirationmonth: Annotated[int, Field(le=12, strict=True, ge=0)] = Field(description="The expirationmonth of the Creditcarddetail", alias="iCreditcarddetailExpirationmonth") i_creditcarddetail_expirationyear: Annotated[int, Field(le=2200, strict=True, ge=0)] = Field(description="The expirationyear of the Creditcarddetail", alias="iCreditcarddetailExpirationyear") s_creditcarddetail_civic: Annotated[str, Field(strict=True)] = Field(description="The civic of the Creditcarddetail", alias="sCreditcarddetailCivic") s_creditcarddetail_street: Annotated[str, Field(strict=True)] = Field(description="The street of the Creditcarddetail", alias="sCreditcarddetailStreet") s_creditcarddetail_zip: Annotated[str, Field(strict=True)] = Field(description="The zip of the Creditcarddetail", alias="sCreditcarddetailZip") - __properties: ClassVar[List[str]] = ["pkiCreditcarddetailID", "fkiCreditcardtypeID", "sCreditcarddetailNumbermasked", "iCreditcarddetailExpirationmonth", "iCreditcarddetailExpirationyear", "sCreditcarddetailCivic", "sCreditcarddetailStreet", "sCreditcarddetailZip"] - - @field_validator('s_creditcarddetail_numbermasked') - def s_creditcarddetail_numbermasked_validate_regular_expression(cls, value): - """Validates the regular expression""" - if not re.match(r"^.{0,50}$", value): - raise ValueError(r"must validate the regular expression /^.{0,50}$/") - return value + __properties: ClassVar[List[str]] = ["pkiCreditcarddetailID", "fkiCreditcardtypeID", "iCreditcarddetailLastdigits", "iCreditcarddetailExpirationmonth", "iCreditcarddetailExpirationyear", "sCreditcarddetailCivic", "sCreditcarddetailStreet", "sCreditcarddetailZip"] @field_validator('s_creditcarddetail_civic') def s_creditcarddetail_civic_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^.{0,8}$", value): - raise ValueError(r"must validate the regular expression /^.{0,8}$/") + if not re.match(r"^[\d]{1,8}$", value): + raise ValueError(r"must validate the regular expression /^[\d]{1,8}$/") return value @field_validator('s_creditcarddetail_street') def s_creditcarddetail_street_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^.{0,40}$", value): - raise ValueError(r"must validate the regular expression /^.{0,40}$/") + if not re.match(r"^.{1,19}$", value): + raise ValueError(r"must validate the regular expression /^.{1,19}$/") return value @field_validator('s_creditcarddetail_zip') def s_creditcarddetail_zip_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^.{0,10}$", value): - raise ValueError(r"must validate the regular expression /^.{0,10}$/") + if not re.match(r"^.{0,9}$", value): + raise ValueError(r"must validate the regular expression /^.{0,9}$/") return value model_config = ConfigDict( @@ -119,7 +112,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiCreditcarddetailID": obj.get("pkiCreditcarddetailID"), "fkiCreditcardtypeID": obj.get("fkiCreditcardtypeID"), - "sCreditcarddetailNumbermasked": obj.get("sCreditcarddetailNumbermasked"), + "iCreditcarddetailLastdigits": obj.get("iCreditcarddetailLastdigits"), "iCreditcarddetailExpirationmonth": obj.get("iCreditcarddetailExpirationmonth"), "iCreditcarddetailExpirationyear": obj.get("iCreditcarddetailExpirationyear"), "sCreditcarddetailCivic": obj.get("sCreditcarddetailCivic"), diff --git a/eZmaxApi/models/creditcarddetail_response_compound.py b/eZmaxApi/models/creditcarddetail_response_compound.py index 9f06fc04b..fb6242c11 100644 --- a/eZmaxApi/models/creditcarddetail_response_compound.py +++ b/eZmaxApi/models/creditcarddetail_response_compound.py @@ -30,40 +30,33 @@ class CreditcarddetailResponseCompound(BaseModel): """ # noqa: E501 pki_creditcarddetail_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcarddetail", alias="pkiCreditcarddetailID") fki_creditcardtype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Creditcardtype", alias="fkiCreditcardtypeID") - s_creditcarddetail_numbermasked: Annotated[str, Field(strict=True)] = Field(description="The numbermasked of the Creditcarddetail", alias="sCreditcarddetailNumbermasked") + i_creditcarddetail_lastdigits: Annotated[int, Field(le=9999, strict=True, ge=0)] = Field(description="The last digits of the Creditcarddetail", alias="iCreditcarddetailLastdigits") i_creditcarddetail_expirationmonth: Annotated[int, Field(le=12, strict=True, ge=0)] = Field(description="The expirationmonth of the Creditcarddetail", alias="iCreditcarddetailExpirationmonth") i_creditcarddetail_expirationyear: Annotated[int, Field(le=2200, strict=True, ge=0)] = Field(description="The expirationyear of the Creditcarddetail", alias="iCreditcarddetailExpirationyear") s_creditcarddetail_civic: Annotated[str, Field(strict=True)] = Field(description="The civic of the Creditcarddetail", alias="sCreditcarddetailCivic") s_creditcarddetail_street: Annotated[str, Field(strict=True)] = Field(description="The street of the Creditcarddetail", alias="sCreditcarddetailStreet") s_creditcarddetail_zip: Annotated[str, Field(strict=True)] = Field(description="The zip of the Creditcarddetail", alias="sCreditcarddetailZip") - __properties: ClassVar[List[str]] = ["pkiCreditcarddetailID", "fkiCreditcardtypeID", "sCreditcarddetailNumbermasked", "iCreditcarddetailExpirationmonth", "iCreditcarddetailExpirationyear", "sCreditcarddetailCivic", "sCreditcarddetailStreet", "sCreditcarddetailZip"] - - @field_validator('s_creditcarddetail_numbermasked') - def s_creditcarddetail_numbermasked_validate_regular_expression(cls, value): - """Validates the regular expression""" - if not re.match(r"^.{0,50}$", value): - raise ValueError(r"must validate the regular expression /^.{0,50}$/") - return value + __properties: ClassVar[List[str]] = ["pkiCreditcarddetailID", "fkiCreditcardtypeID", "iCreditcarddetailLastdigits", "iCreditcarddetailExpirationmonth", "iCreditcarddetailExpirationyear", "sCreditcarddetailCivic", "sCreditcarddetailStreet", "sCreditcarddetailZip"] @field_validator('s_creditcarddetail_civic') def s_creditcarddetail_civic_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^.{0,8}$", value): - raise ValueError(r"must validate the regular expression /^.{0,8}$/") + if not re.match(r"^[\d]{1,8}$", value): + raise ValueError(r"must validate the regular expression /^[\d]{1,8}$/") return value @field_validator('s_creditcarddetail_street') def s_creditcarddetail_street_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^.{0,40}$", value): - raise ValueError(r"must validate the regular expression /^.{0,40}$/") + if not re.match(r"^.{1,19}$", value): + raise ValueError(r"must validate the regular expression /^.{1,19}$/") return value @field_validator('s_creditcarddetail_zip') def s_creditcarddetail_zip_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^.{0,10}$", value): - raise ValueError(r"must validate the regular expression /^.{0,10}$/") + if not re.match(r"^.{0,9}$", value): + raise ValueError(r"must validate the regular expression /^.{0,9}$/") return value model_config = ConfigDict( @@ -119,7 +112,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiCreditcarddetailID": obj.get("pkiCreditcarddetailID"), "fkiCreditcardtypeID": obj.get("fkiCreditcardtypeID"), - "sCreditcarddetailNumbermasked": obj.get("sCreditcarddetailNumbermasked"), + "iCreditcarddetailLastdigits": obj.get("iCreditcarddetailLastdigits"), "iCreditcarddetailExpirationmonth": obj.get("iCreditcarddetailExpirationmonth"), "iCreditcarddetailExpirationyear": obj.get("iCreditcarddetailExpirationyear"), "sCreditcarddetailCivic": obj.get("sCreditcarddetailCivic"), diff --git a/eZmaxApi/models/creditcardtype_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/creditcardtype_get_autocomplete_v2_response_m_payload.py index e2ce40789..2964a749c 100644 --- a/eZmaxApi/models/creditcardtype_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/creditcardtype_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_creditcardtype (list) _items = [] if self.a_obj_creditcardtype: - for _item in self.a_obj_creditcardtype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_creditcardtype in self.a_obj_creditcardtype: + if _item_a_obj_creditcardtype: + _items.append(_item_a_obj_creditcardtype.to_dict()) _dict['a_objCreditcardtype'] = _items return _dict diff --git a/eZmaxApi/models/custom_apikey.py b/eZmaxApi/models/custom_apikey.py new file mode 100644 index 000000000..841a2bbb1 --- /dev/null +++ b/eZmaxApi/models/custom_apikey.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class CustomApikey(BaseModel): + """ + A Custom Apikey Object + """ # noqa: E501 + s_apikey_key: Annotated[str, Field(strict=True)] = Field(description="The key of the Apikey", alias="sApikeyKey") + s_apikey_secret: Annotated[str, Field(strict=True)] = Field(description="The secret of the Apikey", alias="sApikeySecret") + __properties: ClassVar[List[str]] = ["sApikeyKey", "sApikeySecret"] + + @field_validator('s_apikey_key') + def s_apikey_key_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,200}$", value): + raise ValueError(r"must validate the regular expression /^.{1,200}$/") + return value + + @field_validator('s_apikey_secret') + def s_apikey_secret_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9a-fA-F]{1,32}$", value): + raise ValueError(r"must validate the regular expression /^[0-9a-fA-F]{1,32}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomApikey from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomApikey from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sApikeyKey": obj.get("sApikeyKey"), + "sApikeySecret": obj.get("sApikeySecret") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_apikeyfederation.py b/eZmaxApi/models/custom_apikeyfederation.py new file mode 100644 index 000000000..5ece978b3 --- /dev/null +++ b/eZmaxApi/models/custom_apikeyfederation.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class CustomApikeyfederation(BaseModel): + """ + A Custom Apikeyfederation Object + """ # noqa: E501 + s_apikeyfederation_key: Annotated[str, Field(strict=True)] = Field(description="The key of the Apikeyfederation", alias="sApikeyfederationKey") + s_apikeyfederation_secret: Annotated[str, Field(strict=True)] = Field(description="The secret of the Apikeyfederation", alias="sApikeyfederationSecret") + __properties: ClassVar[List[str]] = ["sApikeyfederationKey", "sApikeyfederationSecret"] + + @field_validator('s_apikeyfederation_key') + def s_apikeyfederation_key_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,200}$", value): + raise ValueError(r"must validate the regular expression /^.{1,200}$/") + return value + + @field_validator('s_apikeyfederation_secret') + def s_apikeyfederation_secret_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9a-fA-F]{1,32}$", value): + raise ValueError(r"must validate the regular expression /^[0-9a-fA-F]{1,32}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomApikeyfederation from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomApikeyfederation from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sApikeyfederationKey": obj.get("sApikeyfederationKey"), + "sApikeyfederationSecret": obj.get("sApikeyfederationSecret") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_attachment_response.py b/eZmaxApi/models/custom_attachment_response.py index 35a58fd94..edd35bcee 100644 --- a/eZmaxApi/models/custom_attachment_response.py +++ b/eZmaxApi/models/custom_attachment_response.py @@ -176,16 +176,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attachment_attachment (list) _items = [] if self.a_obj_attachment_attachment: - for _item in self.a_obj_attachment_attachment: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attachment_attachment in self.a_obj_attachment_attachment: + if _item_a_obj_attachment_attachment: + _items.append(_item_a_obj_attachment_attachment.to_dict()) _dict['a_objAttachmentAttachment'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attachment_version (list) _items = [] if self.a_obj_attachment_version: - for _item in self.a_obj_attachment_version: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attachment_version in self.a_obj_attachment_version: + if _item_a_obj_attachment_version: + _items.append(_item_a_obj_attachment_version.to_dict()) _dict['a_objAttachmentVersion'] = _items return _dict diff --git a/eZmaxApi/models/custom_attachmentdocumenttype_response.py b/eZmaxApi/models/custom_attachmentdocumenttype_response.py index ef53fd6e4..9aef085a1 100644 --- a/eZmaxApi/models/custom_attachmentdocumenttype_response.py +++ b/eZmaxApi/models/custom_attachmentdocumenttype_response.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attachment (list) _items = [] if self.a_obj_attachment: - for _item in self.a_obj_attachment: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attachment in self.a_obj_attachment: + if _item_a_obj_attachment: + _items.append(_item_a_obj_attachment.to_dict()) _dict['a_objAttachment'] = _items return _dict diff --git a/eZmaxApi/models/custom_branding_response.py b/eZmaxApi/models/custom_branding_response.py new file mode 100644 index 000000000..77c8ed141 --- /dev/null +++ b/eZmaxApi/models/custom_branding_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class CustomBrandingResponse(BaseModel): + """ + A Custom Branding Object + """ # noqa: E501 + i_branding_color: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The primary color. This is a RGB color converted into integer", alias="iBrandingColor") + s_branding_logointerfaceurl: Annotated[str, Field(strict=True)] = Field(description="The url of the picture used as logo in the Branding", alias="sBrandingLogointerfaceurl") + __properties: ClassVar[List[str]] = ["iBrandingColor", "sBrandingLogointerfaceurl"] + + @field_validator('s_branding_logointerfaceurl') + def s_branding_logointerfaceurl_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomBrandingResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomBrandingResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iBrandingColor": obj.get("iBrandingColor"), + "sBrandingLogointerfaceurl": obj.get("sBrandingLogointerfaceurl") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_communicationrecipientsgroup_response.py b/eZmaxApi/models/custom_communicationrecipientsgroup_response.py index c08305da2..d42dc730a 100644 --- a/eZmaxApi/models/custom_communicationrecipientsgroup_response.py +++ b/eZmaxApi/models/custom_communicationrecipientsgroup_response.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsrecipient (list) _items = [] if self.a_obj_communicationrecipientsrecipient: - for _item in self.a_obj_communicationrecipientsrecipient: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communicationrecipientsrecipient in self.a_obj_communicationrecipientsrecipient: + if _item_a_obj_communicationrecipientsrecipient: + _items.append(_item_a_obj_communicationrecipientsrecipient.to_dict()) _dict['a_objCommunicationrecipientsrecipient'] = _items return _dict diff --git a/eZmaxApi/models/custom_creditcardtransactionresponse_response.py b/eZmaxApi/models/custom_creditcardtransactionresponse_response.py new file mode 100644 index 000000000..77fefa915 --- /dev/null +++ b/eZmaxApi/models/custom_creditcardtransactionresponse_response.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_creditcardtransaction_avsresult import FieldECreditcardtransactionAvsresult +from eZmaxApi.models.field_e_creditcardtransaction_cvdresult import FieldECreditcardtransactionCvdresult +from typing import Optional, Set +from typing_extensions import Self + +class CustomCreditcardtransactionresponseResponse(BaseModel): + """ + A custom Creditcardtransactionresponse Object + """ # noqa: E501 + s_creditcardtransaction_is_ocode: Annotated[str, Field(strict=True)] = Field(description="The ISO code", alias="sCreditcardtransactionISOcode") + s_creditcardtransaction_responsecode: Annotated[str, Field(strict=True)] = Field(description="The response code", alias="sCreditcardtransactionResponsecode") + s_creditcardtransaction_responseterminalmessage: Annotated[str, Field(strict=True)] = Field(description="The terminal response message", alias="sCreditcardtransactionResponseterminalmessage") + e_creditcardtransaction_avsresult: Optional[FieldECreditcardtransactionAvsresult] = Field(default=None, alias="eCreditcardtransactionAvsresult") + e_creditcardtransaction_cvdresult: Optional[FieldECreditcardtransactionCvdresult] = Field(default=None, alias="eCreditcardtransactionCvdresult") + __properties: ClassVar[List[str]] = ["sCreditcardtransactionISOcode", "sCreditcardtransactionResponsecode", "sCreditcardtransactionResponseterminalmessage", "eCreditcardtransactionAvsresult", "eCreditcardtransactionCvdresult"] + + @field_validator('s_creditcardtransaction_is_ocode') + def s_creditcardtransaction_is_ocode_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,2}$", value): + raise ValueError(r"must validate the regular expression /^.{1,2}$/") + return value + + @field_validator('s_creditcardtransaction_responsecode') + def s_creditcardtransaction_responsecode_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,3}$", value): + raise ValueError(r"must validate the regular expression /^.{1,3}$/") + return value + + @field_validator('s_creditcardtransaction_responseterminalmessage') + def s_creditcardtransaction_responseterminalmessage_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomCreditcardtransactionresponseResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomCreditcardtransactionresponseResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sCreditcardtransactionISOcode": obj.get("sCreditcardtransactionISOcode"), + "sCreditcardtransactionResponsecode": obj.get("sCreditcardtransactionResponsecode"), + "sCreditcardtransactionResponseterminalmessage": obj.get("sCreditcardtransactionResponseterminalmessage"), + "eCreditcardtransactionAvsresult": obj.get("eCreditcardtransactionAvsresult"), + "eCreditcardtransactionCvdresult": obj.get("eCreditcardtransactionCvdresult") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_dnsrecord_response.py b/eZmaxApi/models/custom_dnsrecord_response.py new file mode 100644 index 000000000..f5f70f3bf --- /dev/null +++ b/eZmaxApi/models/custom_dnsrecord_response.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CustomDnsrecordResponse(BaseModel): + """ + A Custom Dnsrecord Object + """ # noqa: E501 + e_dnsrecord_type: StrictStr = Field(description="The type of the Dnsrecord", alias="eDnsrecordType") + e_dnsrecord_validation: StrictStr = Field(description="The validation of the Dnsrecord", alias="eDnsrecordValidation") + s_dnsrecord_name: StrictStr = Field(description="The name of the Dnsrecord", alias="sDnsrecordName") + s_dnsrecord_value: Optional[StrictStr] = Field(default=None, description="The value of the Dnsrecord", alias="sDnsrecordValue") + s_dnsrecord_expectedvalue: Optional[StrictStr] = Field(default=None, description="The expected value of the Dnsrecord", alias="sDnsrecordExpectedvalue") + b_dnsrecord_must_match: StrictBool = Field(description="Whether the Dnsrecord must match or not", alias="bDnsrecordMustMatch") + __properties: ClassVar[List[str]] = ["eDnsrecordType", "eDnsrecordValidation", "sDnsrecordName", "sDnsrecordValue", "sDnsrecordExpectedvalue", "bDnsrecordMustMatch"] + + @field_validator('e_dnsrecord_type') + def e_dnsrecord_type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['CNAME', 'MX', 'TXT']): + raise ValueError("must be one of enum values ('CNAME', 'MX', 'TXT')") + return value + + @field_validator('e_dnsrecord_validation') + def e_dnsrecord_validation_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['Match', 'Mismatch', 'NotFound']): + raise ValueError("must be one of enum values ('Match', 'Mismatch', 'NotFound')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomDnsrecordResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomDnsrecordResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "eDnsrecordType": obj.get("eDnsrecordType"), + "eDnsrecordValidation": obj.get("eDnsrecordValidation"), + "sDnsrecordName": obj.get("sDnsrecordName"), + "sDnsrecordValue": obj.get("sDnsrecordValue"), + "sDnsrecordExpectedvalue": obj.get("sDnsrecordExpectedvalue"), + "bDnsrecordMustMatch": obj.get("bDnsrecordMustMatch") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_e_webhook_ezsignevent.py b/eZmaxApi/models/custom_e_webhook_ezsignevent.py new file mode 100644 index 000000000..9a8a0d2c0 --- /dev/null +++ b/eZmaxApi/models/custom_e_webhook_ezsignevent.py @@ -0,0 +1,45 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class CustomEWebhookEzsignevent(str, Enum): + """ + This Ezsign Event. This property will be set only if the Module is \"Ezsign\" + """ + + """ + allowed enum values + """ + DOCUMENTCOMPLETED = 'DocumentCompleted' + DOCUMENTFORMCOMPLETED = 'DocumentFormCompleted' + DOCUMENTUNSENT = 'DocumentUnsent' + EZSIGNSIGNERACCEPTCLAUSE = 'EzsignsignerAcceptclause' + EZSIGNSIGNERCONNECT = 'EzsignsignerConnect' + FOLDERCOMPLETED = 'FolderCompleted' + FOLDERDISPOSED = 'FolderDisposed' + FOLDERSENT = 'FolderSent' + FOLDERUNSENT = 'FolderUnsent' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of CustomEWebhookEzsignevent from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/custom_ezmaxinvoicing_ezsigndocument_response.py b/eZmaxApi/models/custom_ezmaxinvoicing_ezsigndocument_response.py index 67e574743..dc33907b0 100644 --- a/eZmaxApi/models/custom_ezmaxinvoicing_ezsigndocument_response.py +++ b/eZmaxApi/models/custom_ezmaxinvoicing_ezsigndocument_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set @@ -31,11 +31,18 @@ class CustomEzmaxinvoicingEzsigndocumentResponse(BaseModel): fki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="fkiEzsignfolderID") fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") s_name: StrictStr = Field(alias="sName") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") s_ezsigndocument_name: StrictStr = Field(description="The name of the document that will be presented to Ezsignfoldersignerassociations", alias="sEzsigndocumentName") b_ezsignfolder_allowed: StrictBool = Field(description="Whether you have access to the Ezsignfolder or not", alias="bEzsignfolderAllowed") __properties: ClassVar[List[str]] = ["fkiEzsignfolderID", "fkiBillingentityinternalID", "sName", "sEzsignfolderDescription", "sEzsigndocumentName", "bEzsignfolderAllowed"] + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/custom_ezmaxinvoicing_ezsignfolder_response.py b/eZmaxApi/models/custom_ezmaxinvoicing_ezsignfolder_response.py index 61f299581..6d1de20c1 100644 --- a/eZmaxApi/models/custom_ezmaxinvoicing_ezsignfolder_response.py +++ b/eZmaxApi/models/custom_ezmaxinvoicing_ezsignfolder_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set @@ -30,13 +30,20 @@ class CustomEzmaxinvoicingEzsignfolderResponse(BaseModel): """ # noqa: E501 fki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="fkiEzsignfolderID") fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") b_ezsigntsarequirement_billable: StrictBool = Field(description="Whether the TSA requirement is billable or not", alias="bEzsigntsarequirementBillable") b_ezsignfolder_mfaused: StrictBool = Field(description="Whether the MFA was used or not for the Ezsignfolder", alias="bEzsignfolderMfaused") b_ezsignfolder_paymentused: StrictBool = Field(description="Whether there was a signature is of type payment", alias="bEzsignfolderPaymentused") b_ezsignfolder_allowed: StrictBool = Field(description="Whether you have access to the Ezsignfolder or not", alias="bEzsignfolderAllowed") __properties: ClassVar[List[str]] = ["fkiEzsignfolderID", "fkiBillingentityinternalID", "sEzsignfolderDescription", "bEzsigntsarequirementBillable", "bEzsignfolderMfaused", "bEzsignfolderPaymentused", "bEzsignfolderAllowed"] + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/custom_ezsigndocument_ezsignsignatures_automatic_response.py b/eZmaxApi/models/custom_ezsigndocument_ezsignsignatures_automatic_response.py index 3c24d799c..f6ebd7768 100644 --- a/eZmaxApi/models/custom_ezsigndocument_ezsignsignatures_automatic_response.py +++ b/eZmaxApi/models/custom_ezsigndocument_ezsignsignatures_automatic_response.py @@ -76,9 +76,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignature (list) _items = [] if self.a_obj_ezsignsignature: - for _item in self.a_obj_ezsignsignature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignature in self.a_obj_ezsignsignature: + if _item_a_obj_ezsignsignature: + _items.append(_item_a_obj_ezsignsignature.to_dict()) _dict['a_objEzsignsignature'] = _items return _dict diff --git a/eZmaxApi/models/custom_ezsigndocument_request.py b/eZmaxApi/models/custom_ezsigndocument_request.py new file mode 100644 index 000000000..db5ca534f --- /dev/null +++ b/eZmaxApi/models/custom_ezsigndocument_request.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsigndocumentdependency_request_compound import EzsigndocumentdependencyRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class CustomEzsigndocumentRequest(BaseModel): + """ + Request for POST /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder + """ # noqa: E501 + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="pkiEzsigndocumentID") + a_obj_ezsigndocumentdependency: List[EzsigndocumentdependencyRequestCompound] = Field(alias="a_objEzsigndocumentdependency") + __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "a_objEzsigndocumentdependency"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomEzsigndocumentRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocumentdependency (list) + _items = [] + if self.a_obj_ezsigndocumentdependency: + for _item_a_obj_ezsigndocumentdependency in self.a_obj_ezsigndocumentdependency: + if _item_a_obj_ezsigndocumentdependency: + _items.append(_item_a_obj_ezsigndocumentdependency.to_dict()) + _dict['a_objEzsigndocumentdependency'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomEzsigndocumentRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigndocumentID": obj.get("pkiEzsigndocumentID"), + "a_objEzsigndocumentdependency": [EzsigndocumentdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsigndocumentdependency"]] if obj.get("a_objEzsigndocumentdependency") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/custom_ezsignfolder_ezsignsignatures_automatic_response.py b/eZmaxApi/models/custom_ezsignfolder_ezsignsignatures_automatic_response.py index 01a93ea68..08a4bef1a 100644 --- a/eZmaxApi/models/custom_ezsignfolder_ezsignsignatures_automatic_response.py +++ b/eZmaxApi/models/custom_ezsignfolder_ezsignsignatures_automatic_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from eZmaxApi.models.custom_ezsigndocument_ezsignsignatures_automatic_response import CustomEzsigndocumentEzsignsignaturesAutomaticResponse @@ -30,10 +30,17 @@ class CustomEzsignfolderEzsignsignaturesAutomaticResponse(BaseModel): An Ezsignfolder Object in the context of an EzsignsignaturesAutomatic path """ # noqa: E501 pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") a_obj_ezsigndocument: List[CustomEzsigndocumentEzsignsignaturesAutomaticResponse] = Field(alias="a_objEzsigndocument") __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "sEzsignfolderDescription", "a_objEzsigndocument"] + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -76,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocument (list) _items = [] if self.a_obj_ezsigndocument: - for _item in self.a_obj_ezsigndocument: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigndocument in self.a_obj_ezsigndocument: + if _item_a_obj_ezsigndocument: + _items.append(_item_a_obj_ezsigndocument.to_dict()) _dict['a_objEzsigndocument'] = _items return _dict diff --git a/eZmaxApi/models/custom_ezsignfolderezsigntemplatepublic_response.py b/eZmaxApi/models/custom_ezsignfolderezsigntemplatepublic_response.py new file mode 100644 index 000000000..6d047e91d --- /dev/null +++ b/eZmaxApi/models/custom_ezsignfolderezsigntemplatepublic_response.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_signer_response import CustomEzsignfolderezsigntemplatepublicSignerResponse +from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep +from typing import Optional, Set +from typing_extensions import Self + +class CustomEzsignfolderezsigntemplatepublicResponse(BaseModel): + """ + An Ezsignfolder Object in the context of an Ezsigntemplatepublic + """ # noqa: E501 + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + e_ezsignfolder_step: FieldEEzsignfolderStep = Field(alias="eEzsignfolderStep") + i_ezsignfolder_signaturetotal: StrictInt = Field(description="The number of total signatures that were requested in the Ezsignfolder", alias="iEzsignfolderSignaturetotal") + i_ezsignfolder_formfieldtotal: StrictInt = Field(description="The number of total form fields that were requested in the Ezsignfolder", alias="iEzsignfolderFormfieldtotal") + i_ezsignfolder_signaturesigned: StrictInt = Field(description="The number of signatures that were signed in the Ezsignfolder.", alias="iEzsignfolderSignaturesigned") + a_obj_ezsignfolderezsigntemplatepublic_signer: Optional[List[CustomEzsignfolderezsigntemplatepublicSignerResponse]] = Field(default=None, alias="a_objEzsignfolderezsigntemplatepublicSigner") + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "sEzsignfolderDescription", "eEzsignfolderStep", "iEzsignfolderSignaturetotal", "iEzsignfolderFormfieldtotal", "iEzsignfolderSignaturesigned", "a_objEzsignfolderezsigntemplatepublicSigner"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomEzsignfolderezsigntemplatepublicResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfolderezsigntemplatepublic_signer (list) + _items = [] + if self.a_obj_ezsignfolderezsigntemplatepublic_signer: + for _item_a_obj_ezsignfolderezsigntemplatepublic_signer in self.a_obj_ezsignfolderezsigntemplatepublic_signer: + if _item_a_obj_ezsignfolderezsigntemplatepublic_signer: + _items.append(_item_a_obj_ezsignfolderezsigntemplatepublic_signer.to_dict()) + _dict['a_objEzsignfolderezsigntemplatepublicSigner'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomEzsignfolderezsigntemplatepublicResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), + "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), + "eEzsignfolderStep": obj.get("eEzsignfolderStep"), + "iEzsignfolderSignaturetotal": obj.get("iEzsignfolderSignaturetotal"), + "iEzsignfolderFormfieldtotal": obj.get("iEzsignfolderFormfieldtotal"), + "iEzsignfolderSignaturesigned": obj.get("iEzsignfolderSignaturesigned"), + "a_objEzsignfolderezsigntemplatepublicSigner": [CustomEzsignfolderezsigntemplatepublicSignerResponse.from_dict(_item) for _item in obj["a_objEzsignfolderezsigntemplatepublicSigner"]] if obj.get("a_objEzsignfolderezsigntemplatepublicSigner") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/custom_ezsignfolderezsigntemplatepublic_signer_response.py b/eZmaxApi/models/custom_ezsignfolderezsigntemplatepublic_signer_response.py new file mode 100644 index 000000000..3f562372c --- /dev/null +++ b/eZmaxApi/models/custom_ezsignfolderezsigntemplatepublic_signer_response.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class CustomEzsignfolderezsigntemplatepublicSignerResponse(BaseModel): + """ + A form Signer Object in the context of an Ezsignfoldertransmissions + """ # noqa: E501 + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_ezsignsignergroup_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignergroup", alias="fkiEzsignsignergroupID") + s_contact_firstname: Optional[StrictStr] = Field(default=None, description="The First name of the contact", alias="sContactFirstname") + s_contact_lastname: Optional[StrictStr] = Field(default=None, description="The Last name of the contact", alias="sContactLastname") + s_ezsignsignergroup_description_x: Optional[StrictStr] = Field(default=None, description="The Description of the Ezsignsignergroup in the language of the requester", alias="sEzsignsignergroupDescriptionX") + __properties: ClassVar[List[str]] = ["fkiUserID", "fkiEzsignsignergroupID", "sContactFirstname", "sContactLastname", "sEzsignsignergroupDescriptionX"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomEzsignfolderezsigntemplatepublicSignerResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomEzsignfolderezsigntemplatepublicSignerResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiUserID": obj.get("fkiUserID"), + "fkiEzsignsignergroupID": obj.get("fkiEzsignsignergroupID"), + "sContactFirstname": obj.get("sContactFirstname"), + "sContactLastname": obj.get("sContactLastname"), + "sEzsignsignergroupDescriptionX": obj.get("sEzsignsignergroupDescriptionX") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_ezsignfoldersignerassociationstatus_response.py b/eZmaxApi/models/custom_ezsignfoldersignerassociationstatus_response.py index 3c0d464d2..9579b75f3 100644 --- a/eZmaxApi/models/custom_ezsignfoldersignerassociationstatus_response.py +++ b/eZmaxApi/models/custom_ezsignfoldersignerassociationstatus_response.py @@ -78,9 +78,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignaturestatus (list) _items = [] if self.a_obj_ezsignsignaturestatus: - for _item in self.a_obj_ezsignsignaturestatus: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignaturestatus in self.a_obj_ezsignsignaturestatus: + if _item_a_obj_ezsignsignaturestatus: + _items.append(_item_a_obj_ezsignsignaturestatus.to_dict()) _dict['a_objEzsignsignaturestatus'] = _items return _dict diff --git a/eZmaxApi/models/custom_ezsignfoldertransmission_response.py b/eZmaxApi/models/custom_ezsignfoldertransmission_response.py index b5983ae9c..cb9e24d84 100644 --- a/eZmaxApi/models/custom_ezsignfoldertransmission_response.py +++ b/eZmaxApi/models/custom_ezsignfoldertransmission_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from eZmaxApi.models.custom_ezsignfoldertransmission_signer_response import CustomEzsignfoldertransmissionSignerResponse @@ -31,12 +31,20 @@ class CustomEzsignfoldertransmissionResponse(BaseModel): An Ezsignfolder Object in the context of an Ezsignbulksendtransmission """ # noqa: E501 pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") e_ezsignfolder_step: FieldEEzsignfolderStep = Field(alias="eEzsignfolderStep") i_ezsignfolder_signaturetotal: StrictInt = Field(description="The number of total signatures that were requested in the Ezsignfolder", alias="iEzsignfolderSignaturetotal") + i_ezsignfolder_formfieldtotal: StrictInt = Field(description="The number of total form fields that were requested in the Ezsignfolder", alias="iEzsignfolderFormfieldtotal") i_ezsignfolder_signaturesigned: StrictInt = Field(description="The number of signatures that were signed in the Ezsignfolder.", alias="iEzsignfolderSignaturesigned") a_obj_ezsignfoldertransmission_signer: List[CustomEzsignfoldertransmissionSignerResponse] = Field(alias="a_objEzsignfoldertransmissionSigner") - __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "sEzsignfolderDescription", "eEzsignfolderStep", "iEzsignfolderSignaturetotal", "iEzsignfolderSignaturesigned", "a_objEzsignfoldertransmissionSigner"] + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "sEzsignfolderDescription", "eEzsignfolderStep", "iEzsignfolderSignaturetotal", "iEzsignfolderFormfieldtotal", "iEzsignfolderSignaturesigned", "a_objEzsignfoldertransmissionSigner"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value model_config = ConfigDict( populate_by_name=True, @@ -80,9 +88,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldertransmission_signer (list) _items = [] if self.a_obj_ezsignfoldertransmission_signer: - for _item in self.a_obj_ezsignfoldertransmission_signer: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfoldertransmission_signer in self.a_obj_ezsignfoldertransmission_signer: + if _item_a_obj_ezsignfoldertransmission_signer: + _items.append(_item_a_obj_ezsignfoldertransmission_signer.to_dict()) _dict['a_objEzsignfoldertransmissionSigner'] = _items return _dict @@ -100,6 +108,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), "eEzsignfolderStep": obj.get("eEzsignfolderStep"), "iEzsignfolderSignaturetotal": obj.get("iEzsignfolderSignaturetotal"), + "iEzsignfolderFormfieldtotal": obj.get("iEzsignfolderFormfieldtotal"), "iEzsignfolderSignaturesigned": obj.get("iEzsignfolderSignaturesigned"), "a_objEzsignfoldertransmissionSigner": [CustomEzsignfoldertransmissionSignerResponse.from_dict(_item) for _item in obj["a_objEzsignfoldertransmissionSigner"]] if obj.get("a_objEzsignfoldertransmissionSigner") is not None else None }) diff --git a/eZmaxApi/models/custom_ezsignfoldertype_response.py b/eZmaxApi/models/custom_ezsignfoldertype_response.py index 2dad1c877..e158be8e5 100644 --- a/eZmaxApi/models/custom_ezsignfoldertype_response.py +++ b/eZmaxApi/models/custom_ezsignfoldertype_response.py @@ -29,15 +29,23 @@ class CustomEzsignfoldertypeResponse(BaseModel): A Custom Ezsignfoldertype Object """ # noqa: E501 pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") + fki_font_id_annotation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDAnnotation") + fki_font_id_formfield: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDFormfield") + fki_font_id_signature: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDSignature") s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") + b_ezsignfoldertype_automaticsignature: Optional[StrictBool] = Field(default=None, description="Whether we allow the automatic signature by an User", alias="bEzsignfoldertypeAutomaticsignature") b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") - __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser"] + b_ezsignfoldertype_reassigngroup: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself", alias="bEzsignfoldertypeReassigngroup") + i_ezsignfoldertype_deadlinedays: Optional[Annotated[int, Field(le=60, strict=True, ge=1)]] = Field(default=None, description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") + i_ezsignfoldertype_fontsizeannotation: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for annotations", alias="iEzsignfoldertypeFontsizeannotation") + i_ezsignfoldertype_fontsizeformfield: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for form fields", alias="iEzsignfoldertypeFontsizeformfield") + __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "fkiFontIDAnnotation", "fkiFontIDFormfield", "fkiFontIDSignature", "sEzsignfoldertypeNameX", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeAutomaticsignature", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeReassigngroup", "iEzsignfoldertypeDeadlinedays", "iEzsignfoldertypeFontsizeannotation", "iEzsignfoldertypeFontsizeformfield"] model_config = ConfigDict( populate_by_name=True, @@ -91,14 +99,22 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), + "fkiFontIDAnnotation": obj.get("fkiFontIDAnnotation"), + "fkiFontIDFormfield": obj.get("fkiFontIDFormfield"), + "fkiFontIDSignature": obj.get("fkiFontIDSignature"), "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), + "bEzsignfoldertypeAutomaticsignature": obj.get("bEzsignfoldertypeAutomaticsignature"), "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), - "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser") + "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), + "bEzsignfoldertypeReassigngroup": obj.get("bEzsignfoldertypeReassigngroup"), + "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), + "iEzsignfoldertypeFontsizeannotation": obj.get("iEzsignfoldertypeFontsizeannotation"), + "iEzsignfoldertypeFontsizeformfield": obj.get("iEzsignfoldertypeFontsizeformfield") }) return _obj diff --git a/eZmaxApi/models/custom_ezsignformfielderror_response.py b/eZmaxApi/models/custom_ezsignformfielderror_response.py index 938dd7cc2..52062b0c0 100644 --- a/eZmaxApi/models/custom_ezsignformfielderror_response.py +++ b/eZmaxApi/models/custom_ezsignformfielderror_response.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfielderrortest (list) _items = [] if self.a_obj_ezsignformfielderrortest: - for _item in self.a_obj_ezsignformfielderrortest: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfielderrortest in self.a_obj_ezsignformfielderrortest: + if _item_a_obj_ezsignformfielderrortest: + _items.append(_item_a_obj_ezsignformfielderrortest.to_dict()) _dict['a_objEzsignformfielderrortest'] = _items return _dict diff --git a/eZmaxApi/models/custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py b/eZmaxApi/models/custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py index 8912d5b35..2ab06ccd2 100644 --- a/eZmaxApi/models/custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py +++ b/eZmaxApi/models/custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py @@ -42,13 +42,14 @@ class CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest(Base e_ezsignformfieldgroup_signerrequirement: Optional[FieldEEzsignformfieldgroupSignerrequirement] = Field(default=None, alias="eEzsignformfieldgroupSignerrequirement") s_ezsignformfieldgroup_label: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Label for the Ezsignformfieldgroup", alias="sEzsignformfieldgroupLabel") i_ezsignformfieldgroup_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsignsigner will be invited to fill the form fields", alias="iEzsignformfieldgroupStep") - s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") + s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") i_ezsignformfieldgroup_filledmin: Annotated[int, Field(strict=True, ge=0)] = Field(description="The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmin") i_ezsignformfieldgroup_filledmax: Annotated[int, Field(strict=True, ge=0)] = Field(description="The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmax") b_ezsignformfieldgroup_readonly: StrictBool = Field(description="Whether the Ezsignformfieldgroup is read only or not.", alias="bEzsignformfieldgroupReadonly") i_ezsignformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="iEzsignformfieldgroupMaxlength") b_ezsignformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="bEzsignformfieldgroupEncrypted") s_ezsignformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="sEzsignformfieldgroupRegexp") + s_ezsignformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignformfieldgroupTextvalidationcustommessage") t_ezsignformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup", alias="tEzsignformfieldgroupTooltip") e_ezsignformfieldgroup_tooltipposition: Optional[FieldEEzsignformfieldgroupTooltipposition] = Field(default=None, alias="eEzsignformfieldgroupTooltipposition") e_ezsignformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignformfieldgroupTextvalidation") @@ -56,7 +57,7 @@ class CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest(Base a_obj_dropdown_element: Optional[List[CustomDropdownElementRequestCompound]] = Field(default=None, alias="a_objDropdownElement") a_obj_ezsignformfield: List[EzsignformfieldRequestCompound] = Field(alias="a_objEzsignformfield") obj_createezsignelementspositionedbyword: CustomCreateEzsignelementsPositionedByWordRequest = Field(alias="objCreateezsignelementspositionedbyword") - __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "sEzsignformfieldgroupRegexp", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "eEzsignformfieldgroupTextvalidation", "a_objEzsignformfieldgroupsigner", "a_objDropdownElement", "a_objEzsignformfield", "objCreateezsignelementspositionedbyword"] + __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "sEzsignformfieldgroupRegexp", "sEzsignformfieldgroupTextvalidationcustommessage", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "eEzsignformfieldgroupTextvalidation", "a_objEzsignformfieldgroupsigner", "a_objDropdownElement", "a_objEzsignformfield", "objCreateezsignelementspositionedbyword"] @field_validator('s_ezsignformfieldgroup_regexp') def s_ezsignformfieldgroup_regexp_validate_regular_expression(cls, value): @@ -110,23 +111,23 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroupsigner (list) _items = [] if self.a_obj_ezsignformfieldgroupsigner: - for _item in self.a_obj_ezsignformfieldgroupsigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroupsigner in self.a_obj_ezsignformfieldgroupsigner: + if _item_a_obj_ezsignformfieldgroupsigner: + _items.append(_item_a_obj_ezsignformfieldgroupsigner.to_dict()) _dict['a_objEzsignformfieldgroupsigner'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_dropdown_element (list) _items = [] if self.a_obj_dropdown_element: - for _item in self.a_obj_dropdown_element: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_dropdown_element in self.a_obj_dropdown_element: + if _item_a_obj_dropdown_element: + _items.append(_item_a_obj_dropdown_element.to_dict()) _dict['a_objDropdownElement'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfield (list) _items = [] if self.a_obj_ezsignformfield: - for _item in self.a_obj_ezsignformfield: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfield in self.a_obj_ezsignformfield: + if _item_a_obj_ezsignformfield: + _items.append(_item_a_obj_ezsignformfield.to_dict()) _dict['a_objEzsignformfield'] = _items # override the default output from pydantic by calling `to_dict()` of obj_createezsignelementspositionedbyword if self.obj_createezsignelementspositionedbyword: @@ -156,6 +157,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsignformfieldgroupMaxlength": obj.get("iEzsignformfieldgroupMaxlength"), "bEzsignformfieldgroupEncrypted": obj.get("bEzsignformfieldgroupEncrypted"), "sEzsignformfieldgroupRegexp": obj.get("sEzsignformfieldgroupRegexp"), + "sEzsignformfieldgroupTextvalidationcustommessage": obj.get("sEzsignformfieldgroupTextvalidationcustommessage"), "tEzsignformfieldgroupTooltip": obj.get("tEzsignformfieldgroupTooltip"), "eEzsignformfieldgroupTooltipposition": obj.get("eEzsignformfieldgroupTooltipposition"), "eEzsignformfieldgroupTextvalidation": obj.get("eEzsignformfieldgroupTextvalidation"), diff --git a/eZmaxApi/models/custom_ezsignformfieldgroup_request.py b/eZmaxApi/models/custom_ezsignformfieldgroup_request.py index ddb44a35d..8888e00d8 100644 --- a/eZmaxApi/models/custom_ezsignformfieldgroup_request.py +++ b/eZmaxApi/models/custom_ezsignformfieldgroup_request.py @@ -76,9 +76,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfield (list) _items = [] if self.a_obj_ezsignformfield: - for _item in self.a_obj_ezsignformfield: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfield in self.a_obj_ezsignformfield: + if _item_a_obj_ezsignformfield: + _items.append(_item_a_obj_ezsignformfield.to_dict()) _dict['a_objEzsignformfield'] = _items return _dict diff --git a/eZmaxApi/models/custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py b/eZmaxApi/models/custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py index 5d15ec44b..64bba72c6 100644 --- a/eZmaxApi/models/custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py +++ b/eZmaxApi/models/custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py @@ -26,6 +26,7 @@ from eZmaxApi.models.ezsignelementdependency_request_compound import EzsignelementdependencyRequestCompound from eZmaxApi.models.ezsignsignaturecustomdate_request_compound import EzsignsignaturecustomdateRequestCompound from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement from eZmaxApi.models.field_e_ezsignsignature_font import FieldEEzsignsignatureFont from eZmaxApi.models.field_e_ezsignsignature_tooltipposition import FieldEEzsignsignatureTooltipposition @@ -51,19 +52,24 @@ class CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest(BaseModel e_ezsignsignature_tooltipposition: Optional[FieldEEzsignsignatureTooltipposition] = Field(default=None, alias="eEzsignsignatureTooltipposition") e_ezsignsignature_font: Optional[FieldEEzsignsignatureFont] = Field(default=None, alias="eEzsignsignatureFont") fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") - b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments.", alias="bEzsignsignatureRequired") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") b_ezsignsignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**)", alias="bEzsignsignatureCustomdate") a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateRequestCompound]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsignelementdependency") obj_createezsignelementspositionedbyword: CustomCreateEzsignelementsPositionedByWordRequest = Field(alias="objCreateezsignelementspositionedbyword") - __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsignfoldersignerassociationID", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureWidth", "iEzsignsignatureHeight", "iEzsignsignatureStep", "eEzsignsignatureType", "fkiEzsigndocumentID", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "fkiEzsignfoldersignerassociationIDValidation", "bEzsignsignatureRequired", "eEzsignsignatureAttachmentnamesource", "sEzsignsignatureAttachmentdescription", "iEzsignsignatureValidationstep", "iEzsignsignatureMaxlength", "eEzsignsignatureTextvalidation", "sEzsignsignatureRegexp", "eEzsignsignatureDependencyrequirement", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "a_objEzsignelementdependency", "objCreateezsignelementspositionedbyword"] + __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsignfoldersignerassociationID", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureWidth", "iEzsignsignatureHeight", "iEzsignsignatureStep", "eEzsignsignatureType", "fkiEzsigndocumentID", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "fkiEzsignfoldersignerassociationIDValidation", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "eEzsignsignatureAttachmentnamesource", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureConsultationtrigger", "iEzsignsignatureValidationstep", "iEzsignsignatureMaxlength", "sEzsignsignatureDefaultvalue", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "sEzsignsignatureRegexp", "eEzsignsignatureDependencyrequirement", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "a_objEzsignelementdependency", "objCreateezsignelementspositionedbyword"] @field_validator('s_ezsignsignature_regexp') def s_ezsignsignature_regexp_validate_regular_expression(cls, value): @@ -117,16 +123,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignaturecustomdate (list) _items = [] if self.a_obj_ezsignsignaturecustomdate: - for _item in self.a_obj_ezsignsignaturecustomdate: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignaturecustomdate in self.a_obj_ezsignsignaturecustomdate: + if _item_a_obj_ezsignsignaturecustomdate: + _items.append(_item_a_obj_ezsignsignaturecustomdate.to_dict()) _dict['a_objEzsignsignaturecustomdate'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignelementdependency (list) _items = [] if self.a_obj_ezsignelementdependency: - for _item in self.a_obj_ezsignelementdependency: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignelementdependency in self.a_obj_ezsignelementdependency: + if _item_a_obj_ezsignelementdependency: + _items.append(_item_a_obj_ezsignelementdependency.to_dict()) _dict['a_objEzsignelementdependency'] = _items # override the default output from pydantic by calling `to_dict()` of obj_createezsignelementspositionedbyword if self.obj_createezsignelementspositionedbyword: @@ -157,12 +163,17 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsignsignatureTooltipposition": obj.get("eEzsignsignatureTooltipposition"), "eEzsignsignatureFont": obj.get("eEzsignsignatureFont"), "fkiEzsignfoldersignerassociationIDValidation": obj.get("fkiEzsignfoldersignerassociationIDValidation"), + "bEzsignsignatureHandwritten": obj.get("bEzsignsignatureHandwritten"), + "bEzsignsignatureReason": obj.get("bEzsignsignatureReason"), "bEzsignsignatureRequired": obj.get("bEzsignsignatureRequired"), "eEzsignsignatureAttachmentnamesource": obj.get("eEzsignsignatureAttachmentnamesource"), "sEzsignsignatureAttachmentdescription": obj.get("sEzsignsignatureAttachmentdescription"), + "eEzsignsignatureConsultationtrigger": obj.get("eEzsignsignatureConsultationtrigger"), "iEzsignsignatureValidationstep": obj.get("iEzsignsignatureValidationstep"), "iEzsignsignatureMaxlength": obj.get("iEzsignsignatureMaxlength"), + "sEzsignsignatureDefaultvalue": obj.get("sEzsignsignatureDefaultvalue"), "eEzsignsignatureTextvalidation": obj.get("eEzsignsignatureTextvalidation"), + "sEzsignsignatureTextvalidationcustommessage": obj.get("sEzsignsignatureTextvalidationcustommessage"), "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement"), "bEzsignsignatureCustomdate": obj.get("bEzsignsignatureCustomdate"), diff --git a/eZmaxApi/models/custom_ezsignsignaturestatus_response.py b/eZmaxApi/models/custom_ezsignsignaturestatus_response.py index 9bb33ea8e..46d4f1abe 100644 --- a/eZmaxApi/models/custom_ezsignsignaturestatus_response.py +++ b/eZmaxApi/models/custom_ezsignsignaturestatus_response.py @@ -31,7 +31,8 @@ class CustomEzsignsignaturestatusResponse(BaseModel): i_ezsignsignaturestatus_step: StrictInt = Field(description="The step at which the Ezsignsigner will be invited to sign or fill the form fields", alias="iEzsignsignaturestatusStep") i_ezsignsignaturestatus_total: StrictInt = Field(description="The total number of signature or form fields the Ezsignsigner must process at the current step", alias="iEzsignsignaturestatusTotal") i_ezsignsignaturestatus_signed: StrictInt = Field(description="The number of signature or form fields the Ezsignsigner has already processed at the current step", alias="iEzsignsignaturestatusSigned") - __properties: ClassVar[List[str]] = ["eEzsignsignaturestatusSteptype", "iEzsignsignaturestatusStep", "iEzsignsignaturestatusTotal", "iEzsignsignaturestatusSigned"] + i_ezsignsignaturestatus_conditional: StrictInt = Field(description="The number of signature or form fields the Ezsignsigner need to sign or fill under current conditions.", alias="iEzsignsignaturestatusConditional") + __properties: ClassVar[List[str]] = ["eEzsignsignaturestatusSteptype", "iEzsignsignaturestatusStep", "iEzsignsignaturestatusTotal", "iEzsignsignaturestatusSigned", "iEzsignsignaturestatusConditional"] @field_validator('e_ezsignsignaturestatus_steptype') def e_ezsignsignaturestatus_steptype_validate_enum(cls, value): @@ -94,7 +95,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsignsignaturestatusSteptype": obj.get("eEzsignsignaturestatusSteptype"), "iEzsignsignaturestatusStep": obj.get("iEzsignsignaturestatusStep"), "iEzsignsignaturestatusTotal": obj.get("iEzsignsignaturestatusTotal"), - "iEzsignsignaturestatusSigned": obj.get("iEzsignsignaturestatusSigned") + "iEzsignsignaturestatusSigned": obj.get("iEzsignsignaturestatusSigned"), + "iEzsignsignaturestatusConditional": obj.get("iEzsignsignaturestatusConditional") }) return _obj diff --git a/eZmaxApi/models/custom_form_data_document_response.py b/eZmaxApi/models/custom_form_data_document_response.py index a93fcc070..dd27cb6ad 100644 --- a/eZmaxApi/models/custom_form_data_document_response.py +++ b/eZmaxApi/models/custom_form_data_document_response.py @@ -78,9 +78,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_form_data_signer (list) _items = [] if self.a_obj_form_data_signer: - for _item in self.a_obj_form_data_signer: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_form_data_signer in self.a_obj_form_data_signer: + if _item_a_obj_form_data_signer: + _items.append(_item_a_obj_form_data_signer.to_dict()) _dict['a_objFormDataSigner'] = _items return _dict diff --git a/eZmaxApi/models/custom_form_data_ezsignformfieldgroup_response.py b/eZmaxApi/models/custom_form_data_ezsignformfieldgroup_response.py index 2a84b8ff4..d78dfd600 100644 --- a/eZmaxApi/models/custom_form_data_ezsignformfieldgroup_response.py +++ b/eZmaxApi/models/custom_form_data_ezsignformfieldgroup_response.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfield (list) _items = [] if self.a_obj_ezsignformfield: - for _item in self.a_obj_ezsignformfield: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfield in self.a_obj_ezsignformfield: + if _item_a_obj_ezsignformfield: + _items.append(_item_a_obj_ezsignformfield.to_dict()) _dict['a_objEzsignformfield'] = _items return _dict diff --git a/eZmaxApi/models/custom_form_data_signer_response.py b/eZmaxApi/models/custom_form_data_signer_response.py index 43598ad65..fc581ccda 100644 --- a/eZmaxApi/models/custom_form_data_signer_response.py +++ b/eZmaxApi/models/custom_form_data_signer_response.py @@ -78,9 +78,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroup (list) _items = [] if self.a_obj_ezsignformfieldgroup: - for _item in self.a_obj_ezsignformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroup in self.a_obj_ezsignformfieldgroup: + if _item_a_obj_ezsignformfieldgroup: + _items.append(_item_a_obj_ezsignformfieldgroup.to_dict()) _dict['a_objEzsignformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/custom_forms_data_folder_response.py b/eZmaxApi/models/custom_forms_data_folder_response.py index 79e6b9182..ece35a159 100644 --- a/eZmaxApi/models/custom_forms_data_folder_response.py +++ b/eZmaxApi/models/custom_forms_data_folder_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from eZmaxApi.models.custom_form_data_document_response import CustomFormDataDocumentResponse @@ -30,10 +30,17 @@ class CustomFormsDataFolderResponse(BaseModel): A forms Data Folder Object """ # noqa: E501 pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") a_obj_form_data_document: List[CustomFormDataDocumentResponse] = Field(alias="a_objFormDataDocument") __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "sEzsignfolderDescription", "a_objFormDataDocument"] + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -76,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_form_data_document (list) _items = [] if self.a_obj_form_data_document: - for _item in self.a_obj_form_data_document: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_form_data_document in self.a_obj_form_data_document: + if _item_a_obj_form_data_document: + _items.append(_item_a_obj_form_data_document.to_dict()) _dict['a_objFormDataDocument'] = _items return _dict diff --git a/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py b/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py index 0c3a60c8b..ba85f8d2d 100644 --- a/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py +++ b/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py @@ -83,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_notificationtest (list) _items = [] if self.a_obj_notificationtest: - for _item in self.a_obj_notificationtest: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_notificationtest in self.a_obj_notificationtest: + if _item_a_obj_notificationtest: + _items.append(_item_a_obj_notificationtest.to_dict()) _dict['a_objNotificationtest'] = _items return _dict diff --git a/eZmaxApi/models/custom_timezone_with_code_response.py b/eZmaxApi/models/custom_timezone_with_code_response.py new file mode 100644 index 000000000..3e7784081 --- /dev/null +++ b/eZmaxApi/models/custom_timezone_with_code_response.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class CustomTimezoneWithCodeResponse(BaseModel): + """ + Generic AutocompleteElement Response + """ # noqa: E501 + s_timezone_name: StrictStr = Field(description="The Name of timezone", alias="sTimezoneName") + s_code: StrictStr = Field(description="The Code of the time", alias="sCode") + __properties: ClassVar[List[str]] = ["sTimezoneName", "sCode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomTimezoneWithCodeResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomTimezoneWithCodeResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sTimezoneName": obj.get("sTimezoneName"), + "sCode": obj.get("sCode") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_user_name_response.py b/eZmaxApi/models/custom_user_name_response.py new file mode 100644 index 000000000..ebd64ebd9 --- /dev/null +++ b/eZmaxApi/models/custom_user_name_response.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class CustomUserNameResponse(BaseModel): + """ + A User name Object + """ # noqa: E501 + s_user_lastname: StrictStr = Field(description="The last name of the user", alias="sUserLastname") + s_user_firstname: StrictStr = Field(description="The first name of the user", alias="sUserFirstname") + __properties: ClassVar[List[str]] = ["sUserLastname", "sUserFirstname"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomUserNameResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomUserNameResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sUserLastname": obj.get("sUserLastname"), + "sUserFirstname": obj.get("sUserFirstname") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_user_response.py b/eZmaxApi/models/custom_user_response.py deleted file mode 100644 index 0e677f3c6..000000000 --- a/eZmaxApi/models/custom_user_response.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from typing import Optional, Set -from typing_extensions import Self - -class CustomUserResponse(BaseModel): - """ - A User Object - """ # noqa: E501 - pki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="pkiUserID") - s_user_lastname: StrictStr = Field(description="The last name of the user", alias="sUserLastname") - s_user_firstname: StrictStr = Field(description="The first name of the user", alias="sUserFirstname") - s_email_address: Annotated[str, Field(strict=True)] = Field(description="The email address.", alias="sEmailAddress") - __properties: ClassVar[List[str]] = ["pkiUserID", "sUserLastname", "sUserFirstname", "sEmailAddress"] - - @field_validator('s_email_address') - def s_email_address_validate_regular_expression(cls, value): - """Validates the regular expression""" - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of CustomUserResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of CustomUserResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiUserID": obj.get("pkiUserID"), - "sUserLastname": obj.get("sUserLastname"), - "sUserFirstname": obj.get("sUserFirstname"), - "sEmailAddress": obj.get("sEmailAddress") - }) - return _obj - - diff --git a/eZmaxApi/models/custom_webhook_response.py b/eZmaxApi/models/custom_webhook_response.py index 94e971fdd..db140e8fd 100644 --- a/eZmaxApi/models/custom_webhook_response.py +++ b/eZmaxApi/models/custom_webhook_response.py @@ -34,6 +34,7 @@ class CustomWebhookResponse(BaseModel): A custom Webhook object """ # noqa: E501 pki_webhook_id: StrictInt = Field(description="The unique ID of the Webhook", alias="pkiWebhookID") + fki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="fkiAuthenticationexternalID") s_webhook_description: StrictStr = Field(description="The description of the Webhook", alias="sWebhookDescription") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") @@ -47,12 +48,14 @@ class CustomWebhookResponse(BaseModel): b_webhook_isactive: StrictBool = Field(description="Whether the Webhook is active or not", alias="bWebhookIsactive") b_webhook_issigned: StrictBool = Field(description="Whether the requests will be signed or not", alias="bWebhookIssigned") b_webhook_skipsslvalidation: StrictBool = Field(description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use", alias="bWebhookSkipsslvalidation") + s_authenticationexternal_description: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") obj_audit: CommonAudit = Field(alias="objAudit") s_webhook_event: Optional[StrictStr] = Field(default=None, description="The concatenated string to describe the Webhook event", alias="sWebhookEvent") a_obj_webhookheader: Optional[List[WebhookheaderResponseCompound]] = Field(default=None, alias="a_objWebhookheader") pks_customer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The customer code assigned to your account", alias="pksCustomerCode") b_webhook_test: StrictBool = Field(description="Wheter the webhook received is a manual test or a real event", alias="bWebhookTest") - __properties: ClassVar[List[str]] = ["pkiWebhookID", "sWebhookDescription", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "sWebhookApikey", "sWebhookSecret", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "objAudit", "sWebhookEvent", "a_objWebhookheader", "pksCustomerCode", "bWebhookTest"] + e_webhook_emittype: Optional[StrictStr] = Field(default=None, description="Wheter the webhook received is a manual test or a real event", alias="eWebhookEmittype") + __properties: ClassVar[List[str]] = ["pkiWebhookID", "fkiAuthenticationexternalID", "sWebhookDescription", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "sWebhookApikey", "sWebhookSecret", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "sAuthenticationexternalDescription", "objAudit", "sWebhookEvent", "a_objWebhookheader", "pksCustomerCode", "bWebhookTest", "eWebhookEmittype"] @field_validator('s_webhook_url') def s_webhook_url_validate_regular_expression(cls, value): @@ -61,6 +64,26 @@ def s_webhook_url_validate_regular_expression(cls, value): raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") return value + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('e_webhook_emittype') + def e_webhook_emittype_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Automatic', 'Manual', 'Test']): + raise ValueError("must be one of enum values ('Automatic', 'Manual', 'Test')") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -106,9 +129,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_webhookheader (list) _items = [] if self.a_obj_webhookheader: - for _item in self.a_obj_webhookheader: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_webhookheader in self.a_obj_webhookheader: + if _item_a_obj_webhookheader: + _items.append(_item_a_obj_webhookheader.to_dict()) _dict['a_objWebhookheader'] = _items return _dict @@ -123,6 +146,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiWebhookID": obj.get("pkiWebhookID"), + "fkiAuthenticationexternalID": obj.get("fkiAuthenticationexternalID"), "sWebhookDescription": obj.get("sWebhookDescription"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), @@ -136,11 +160,13 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bWebhookIsactive": obj.get("bWebhookIsactive"), "bWebhookIssigned": obj.get("bWebhookIssigned"), "bWebhookSkipsslvalidation": obj.get("bWebhookSkipsslvalidation"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, "sWebhookEvent": obj.get("sWebhookEvent"), "a_objWebhookheader": [WebhookheaderResponseCompound.from_dict(_item) for _item in obj["a_objWebhookheader"]] if obj.get("a_objWebhookheader") is not None else None, "pksCustomerCode": obj.get("pksCustomerCode"), - "bWebhookTest": obj.get("bWebhookTest") + "bWebhookTest": obj.get("bWebhookTest"), + "eWebhookEmittype": obj.get("eWebhookEmittype") }) return _obj diff --git a/eZmaxApi/models/custom_word_position_word_response.py b/eZmaxApi/models/custom_word_position_word_response.py index cc19269e6..d97a55fa3 100644 --- a/eZmaxApi/models/custom_word_position_word_response.py +++ b/eZmaxApi/models/custom_word_position_word_response.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_word_position_occurence (list) _items = [] if self.a_obj_word_position_occurence: - for _item in self.a_obj_word_position_occurence: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_word_position_occurence in self.a_obj_word_position_occurence: + if _item_a_obj_word_position_occurence: + _items.append(_item_a_obj_word_position_occurence.to_dict()) _dict['a_objWordPositionOccurence'] = _items return _dict diff --git a/eZmaxApi/models/customer_create_object_v1_request.py b/eZmaxApi/models/customer_create_object_v1_request.py new file mode 100644 index 000000000..3dce931d8 --- /dev/null +++ b/eZmaxApi/models/customer_create_object_v1_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.customer_request_compound import CustomerRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class CustomerCreateObjectV1Request(BaseModel): + """ + Request for POST /1/object/customer + """ # noqa: E501 + a_obj_customer: Annotated[List[CustomerRequestCompound], Field(min_length=1)] = Field(alias="a_objCustomer") + __properties: ClassVar[List[str]] = ["a_objCustomer"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomerCreateObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_customer (list) + _items = [] + if self.a_obj_customer: + for _item_a_obj_customer in self.a_obj_customer: + if _item_a_obj_customer: + _items.append(_item_a_obj_customer.to_dict()) + _dict['a_objCustomer'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomerCreateObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCustomer": [CustomerRequestCompound.from_dict(_item) for _item in obj["a_objCustomer"]] if obj.get("a_objCustomer") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/customer_create_object_v1_response.py b/eZmaxApi/models/customer_create_object_v1_response.py new file mode 100644 index 000000000..0ef3fca0d --- /dev/null +++ b/eZmaxApi/models/customer_create_object_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.customer_create_object_v1_response_m_payload import CustomerCreateObjectV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class CustomerCreateObjectV1Response(BaseModel): + """ + Response for POST /1/object/customer + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: CustomerCreateObjectV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomerCreateObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomerCreateObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": CustomerCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/customer_create_object_v1_response_m_payload.py b/eZmaxApi/models/customer_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..a323b96ec --- /dev/null +++ b/eZmaxApi/models/customer_create_object_v1_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class CustomerCreateObjectV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/customer + """ # noqa: E501 + a_pki_customer_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiCustomerID") + __properties: ClassVar[List[str]] = ["a_pkiCustomerID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomerCreateObjectV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomerCreateObjectV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiCustomerID": obj.get("a_pkiCustomerID") + }) + return _obj + + diff --git a/eZmaxApi/models/customer_get_object_v2_response.py b/eZmaxApi/models/customer_get_object_v2_response.py new file mode 100644 index 000000000..eefc2d5ce --- /dev/null +++ b/eZmaxApi/models/customer_get_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.customer_get_object_v2_response_m_payload import CustomerGetObjectV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class CustomerGetObjectV2Response(BaseModel): + """ + Response for GET /2/object/customer/{pkiCustomerID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: CustomerGetObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomerGetObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomerGetObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": CustomerGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/customer_get_object_v2_response_m_payload.py b/eZmaxApi/models/customer_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..f311c041e --- /dev/null +++ b/eZmaxApi/models/customer_get_object_v2_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.customer_response_compound import CustomerResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class CustomerGetObjectV2ResponseMPayload(BaseModel): + """ + Payload for GET /2/object/customer/{pkiCustomerID} + """ # noqa: E501 + obj_customer: CustomerResponseCompound = Field(alias="objCustomer") + __properties: ClassVar[List[str]] = ["objCustomer"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomerGetObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_customer + if self.obj_customer: + _dict['objCustomer'] = self.obj_customer.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomerGetObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objCustomer": CustomerResponseCompound.from_dict(obj["objCustomer"]) if obj.get("objCustomer") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/customer_request.py b/eZmaxApi/models/customer_request.py new file mode 100644 index 000000000..087584b32 --- /dev/null +++ b/eZmaxApi/models/customer_request.py @@ -0,0 +1,274 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence +from eZmaxApi.models.field_e_customer_type import FieldECustomerType +from typing import Optional, Set +from typing_extensions import Self + +class CustomerRequest(BaseModel): + """ + A Customer Object + """ # noqa: E501 + pki_customer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Customer.", alias="pkiCustomerID") + fki_company_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Company", alias="fkiCompanyID") + fki_customergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Customergroup", alias="fkiCustomergroupID") + s_customer_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Customer", alias="sCustomerName") + fki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="fkiContactinformationsID") + fki_contactcontainer_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactcontainer", alias="fkiContactcontainerID") + fki_image_id: StrictInt = Field(description="The unique ID of the Image", alias="fkiImageID") + fki_glaccountcontainer_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_department_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Department", alias="fkiDepartmentID") + fki_paymentmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Paymentmethod", alias="fkiPaymentmethodID") + fki_electronicfundstransferbankaccount_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountID") + fki_electronicfundstransferbankaccount_id_directdebit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountIDDirectdebit") + fki_sendingmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Sendingmethod", alias="fkiSendingmethodID") + fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") + fki_attendancestatus_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Attendancestatus", alias="fkiAttendancestatusID") + fki_agent_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDVariableexpensechargeto") + fki_broker_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDVariableexpensechargeto") + fki_customer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDVariableexpensechargeto") + fki_glaccountcontainer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDVariableexpensechargeto") + fki_agent_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDSupplychargechargeto") + fki_broker_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDSupplychargechargeto") + fki_customer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDSupplychargechargeto") + fki_glaccountcontainer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDSupplychargechargeto") + fki_invoicealternatelogo_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Invoicealternatelogo", alias="fkiInvoicealternatelogoID") + fki_synchronizationlinkserver_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Synchronizationlinkserver", alias="fkiSynchronizationlinkserverID") + efki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="efkiUserID") + efks_customer_code: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The code of the Customer", alias="efksCustomerCode") + s_customer_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Customer", alias="sCustomerCode") + d_customer_fulltimeequivalent: Annotated[str, Field(strict=True)] = Field(description="The fulltimeequivalent of the Customer", alias="dCustomerFulltimeequivalent") + i_customer_photocopiercode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The photocopiercode of the Customer", alias="iCustomerPhotocopiercode") + i_customer_longdistancecode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The longdistancecode of the Customer", alias="iCustomerLongdistancecode") + i_customer_timewindowstart: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowstart of the Customer", alias="iCustomerTimewindowstart") + i_customer_timewindowend: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowend of the Customer", alias="iCustomerTimewindowend") + d_customer_minimumchargeableinterests: Annotated[str, Field(strict=True)] = Field(description="The minimumchargeableinterests of the Customer", alias="dCustomerMinimumchargeableinterests") + dt_customer_birthdate: Annotated[str, Field(strict=True)] = Field(description="The birthdate of the Customer", alias="dtCustomerBirthdate") + dt_customer_transfer: Annotated[str, Field(strict=True)] = Field(description="The transfer of the Customer", alias="dtCustomerTransfer") + dt_customer_transferappointment: Annotated[str, Field(strict=True)] = Field(description="The transferappointment of the Customer", alias="dtCustomerTransferappointment") + dt_customer_transfersurvey: Annotated[str, Field(strict=True)] = Field(description="The transfersurvey of the Customer", alias="dtCustomerTransfersurvey") + b_customer_isactive: StrictBool = Field(description="Whether the customer is active or not", alias="bCustomerIsactive") + b_customer_variableexpensefinanced: StrictBool = Field(description="Whether if it's an variableexpensefinanced", alias="bCustomerVariableexpensefinanced") + b_customer_variableexpensefinancedtaxes: StrictBool = Field(description="Whether if it's an variableexpensefinancedtaxes", alias="bCustomerVariableexpensefinancedtaxes") + b_customer_supplychargefinanced: StrictBool = Field(description="Whether if it's an supplychargefinanced", alias="bCustomerSupplychargefinanced") + b_customer_supplychargefinancedtaxes: StrictBool = Field(description="Whether if it's an supplychargefinancedtaxes", alias="bCustomerSupplychargefinancedtaxes") + b_customer_attendance: StrictBool = Field(description="Whether if it's an attendance", alias="bCustomerAttendance") + e_customer_type: FieldECustomerType = Field(alias="eCustomerType") + e_customer_marketingcorrespondence: FieldECustomerMarketingcorrespondence = Field(alias="eCustomerMarketingcorrespondence") + b_customer_blackcopycarbon: StrictBool = Field(description="Whether if it's an blackcopycarbon", alias="bCustomerBlackcopycarbon") + b_customer_unsubscribeinfo: StrictBool = Field(description="Whether if it's an unsubscribeinfo", alias="bCustomerUnsubscribeinfo") + t_customer_comment: Annotated[str, Field(strict=True)] = Field(description="The comment of the Customer", alias="tCustomerComment") + importid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, alias="IMPORTID") + __properties: ClassVar[List[str]] = ["pkiCustomerID", "fkiCompanyID", "fkiCustomergroupID", "sCustomerName", "fkiContactinformationsID", "fkiContactcontainerID", "fkiImageID", "fkiGlaccountcontainerID", "fkiLanguageID", "fkiDepartmentID", "fkiPaymentmethodID", "fkiElectronicfundstransferbankaccountID", "fkiElectronicfundstransferbankaccountIDDirectdebit", "fkiSendingmethodID", "fkiTaxassignmentID", "fkiAttendancestatusID", "fkiAgentIDVariableexpensechargeto", "fkiBrokerIDVariableexpensechargeto", "fkiCustomerIDVariableexpensechargeto", "fkiGlaccountcontainerIDVariableexpensechargeto", "fkiAgentIDSupplychargechargeto", "fkiBrokerIDSupplychargechargeto", "fkiCustomerIDSupplychargechargeto", "fkiGlaccountcontainerIDSupplychargechargeto", "fkiInvoicealternatelogoID", "fkiSynchronizationlinkserverID", "efkiUserID", "efksCustomerCode", "sCustomerCode", "dCustomerFulltimeequivalent", "iCustomerPhotocopiercode", "iCustomerLongdistancecode", "iCustomerTimewindowstart", "iCustomerTimewindowend", "dCustomerMinimumchargeableinterests", "dtCustomerBirthdate", "dtCustomerTransfer", "dtCustomerTransferappointment", "dtCustomerTransfersurvey", "bCustomerIsactive", "bCustomerVariableexpensefinanced", "bCustomerVariableexpensefinancedtaxes", "bCustomerSupplychargefinanced", "bCustomerSupplychargefinancedtaxes", "bCustomerAttendance", "eCustomerType", "eCustomerMarketingcorrespondence", "bCustomerBlackcopycarbon", "bCustomerUnsubscribeinfo", "tCustomerComment", "IMPORTID"] + + @field_validator('s_customer_name') + def s_customer_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('efks_customer_code') + def efks_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('s_customer_code') + def s_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('d_customer_fulltimeequivalent') + def d_customer_fulltimeequivalent_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + + @field_validator('d_customer_minimumchargeableinterests') + def d_customer_minimumchargeableinterests_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('dt_customer_birthdate') + def dt_customer_birthdate_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_customer_transfer') + def dt_customer_transfer_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transferappointment') + def dt_customer_transferappointment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transfersurvey') + def dt_customer_transfersurvey_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('t_customer_comment') + def t_customer_comment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,16777215}$", value): + raise ValueError(r"must validate the regular expression /^.{0,16777215}$/") + return value + + @field_validator('importid') + def importid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,15}$", value): + raise ValueError(r"must validate the regular expression /^.{0,15}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomerRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomerRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCustomerID": obj.get("pkiCustomerID"), + "fkiCompanyID": obj.get("fkiCompanyID"), + "fkiCustomergroupID": obj.get("fkiCustomergroupID"), + "sCustomerName": obj.get("sCustomerName"), + "fkiContactinformationsID": obj.get("fkiContactinformationsID"), + "fkiContactcontainerID": obj.get("fkiContactcontainerID"), + "fkiImageID": obj.get("fkiImageID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiDepartmentID": obj.get("fkiDepartmentID"), + "fkiPaymentmethodID": obj.get("fkiPaymentmethodID"), + "fkiElectronicfundstransferbankaccountID": obj.get("fkiElectronicfundstransferbankaccountID"), + "fkiElectronicfundstransferbankaccountIDDirectdebit": obj.get("fkiElectronicfundstransferbankaccountIDDirectdebit"), + "fkiSendingmethodID": obj.get("fkiSendingmethodID"), + "fkiTaxassignmentID": obj.get("fkiTaxassignmentID"), + "fkiAttendancestatusID": obj.get("fkiAttendancestatusID"), + "fkiAgentIDVariableexpensechargeto": obj.get("fkiAgentIDVariableexpensechargeto"), + "fkiBrokerIDVariableexpensechargeto": obj.get("fkiBrokerIDVariableexpensechargeto"), + "fkiCustomerIDVariableexpensechargeto": obj.get("fkiCustomerIDVariableexpensechargeto"), + "fkiGlaccountcontainerIDVariableexpensechargeto": obj.get("fkiGlaccountcontainerIDVariableexpensechargeto"), + "fkiAgentIDSupplychargechargeto": obj.get("fkiAgentIDSupplychargechargeto"), + "fkiBrokerIDSupplychargechargeto": obj.get("fkiBrokerIDSupplychargechargeto"), + "fkiCustomerIDSupplychargechargeto": obj.get("fkiCustomerIDSupplychargechargeto"), + "fkiGlaccountcontainerIDSupplychargechargeto": obj.get("fkiGlaccountcontainerIDSupplychargechargeto"), + "fkiInvoicealternatelogoID": obj.get("fkiInvoicealternatelogoID"), + "fkiSynchronizationlinkserverID": obj.get("fkiSynchronizationlinkserverID"), + "efkiUserID": obj.get("efkiUserID"), + "efksCustomerCode": obj.get("efksCustomerCode"), + "sCustomerCode": obj.get("sCustomerCode"), + "dCustomerFulltimeequivalent": obj.get("dCustomerFulltimeequivalent"), + "iCustomerPhotocopiercode": obj.get("iCustomerPhotocopiercode"), + "iCustomerLongdistancecode": obj.get("iCustomerLongdistancecode"), + "iCustomerTimewindowstart": obj.get("iCustomerTimewindowstart"), + "iCustomerTimewindowend": obj.get("iCustomerTimewindowend"), + "dCustomerMinimumchargeableinterests": obj.get("dCustomerMinimumchargeableinterests"), + "dtCustomerBirthdate": obj.get("dtCustomerBirthdate"), + "dtCustomerTransfer": obj.get("dtCustomerTransfer"), + "dtCustomerTransferappointment": obj.get("dtCustomerTransferappointment"), + "dtCustomerTransfersurvey": obj.get("dtCustomerTransfersurvey"), + "bCustomerIsactive": obj.get("bCustomerIsactive"), + "bCustomerVariableexpensefinanced": obj.get("bCustomerVariableexpensefinanced"), + "bCustomerVariableexpensefinancedtaxes": obj.get("bCustomerVariableexpensefinancedtaxes"), + "bCustomerSupplychargefinanced": obj.get("bCustomerSupplychargefinanced"), + "bCustomerSupplychargefinancedtaxes": obj.get("bCustomerSupplychargefinancedtaxes"), + "bCustomerAttendance": obj.get("bCustomerAttendance"), + "eCustomerType": obj.get("eCustomerType"), + "eCustomerMarketingcorrespondence": obj.get("eCustomerMarketingcorrespondence"), + "bCustomerBlackcopycarbon": obj.get("bCustomerBlackcopycarbon"), + "bCustomerUnsubscribeinfo": obj.get("bCustomerUnsubscribeinfo"), + "tCustomerComment": obj.get("tCustomerComment"), + "IMPORTID": obj.get("IMPORTID") + }) + return _obj + + diff --git a/eZmaxApi/models/customer_request_compound.py b/eZmaxApi/models/customer_request_compound.py new file mode 100644 index 000000000..a949f3648 --- /dev/null +++ b/eZmaxApi/models/customer_request_compound.py @@ -0,0 +1,274 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence +from eZmaxApi.models.field_e_customer_type import FieldECustomerType +from typing import Optional, Set +from typing_extensions import Self + +class CustomerRequestCompound(BaseModel): + """ + A Customer Object and children + """ # noqa: E501 + pki_customer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Customer.", alias="pkiCustomerID") + fki_company_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Company", alias="fkiCompanyID") + fki_customergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Customergroup", alias="fkiCustomergroupID") + s_customer_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Customer", alias="sCustomerName") + fki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="fkiContactinformationsID") + fki_contactcontainer_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactcontainer", alias="fkiContactcontainerID") + fki_image_id: StrictInt = Field(description="The unique ID of the Image", alias="fkiImageID") + fki_glaccountcontainer_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_department_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Department", alias="fkiDepartmentID") + fki_paymentmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Paymentmethod", alias="fkiPaymentmethodID") + fki_electronicfundstransferbankaccount_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountID") + fki_electronicfundstransferbankaccount_id_directdebit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountIDDirectdebit") + fki_sendingmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Sendingmethod", alias="fkiSendingmethodID") + fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") + fki_attendancestatus_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Attendancestatus", alias="fkiAttendancestatusID") + fki_agent_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDVariableexpensechargeto") + fki_broker_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDVariableexpensechargeto") + fki_customer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDVariableexpensechargeto") + fki_glaccountcontainer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDVariableexpensechargeto") + fki_agent_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDSupplychargechargeto") + fki_broker_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDSupplychargechargeto") + fki_customer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDSupplychargechargeto") + fki_glaccountcontainer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDSupplychargechargeto") + fki_invoicealternatelogo_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Invoicealternatelogo", alias="fkiInvoicealternatelogoID") + fki_synchronizationlinkserver_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Synchronizationlinkserver", alias="fkiSynchronizationlinkserverID") + efki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="efkiUserID") + efks_customer_code: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The code of the Customer", alias="efksCustomerCode") + s_customer_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Customer", alias="sCustomerCode") + d_customer_fulltimeequivalent: Annotated[str, Field(strict=True)] = Field(description="The fulltimeequivalent of the Customer", alias="dCustomerFulltimeequivalent") + i_customer_photocopiercode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The photocopiercode of the Customer", alias="iCustomerPhotocopiercode") + i_customer_longdistancecode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The longdistancecode of the Customer", alias="iCustomerLongdistancecode") + i_customer_timewindowstart: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowstart of the Customer", alias="iCustomerTimewindowstart") + i_customer_timewindowend: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowend of the Customer", alias="iCustomerTimewindowend") + d_customer_minimumchargeableinterests: Annotated[str, Field(strict=True)] = Field(description="The minimumchargeableinterests of the Customer", alias="dCustomerMinimumchargeableinterests") + dt_customer_birthdate: Annotated[str, Field(strict=True)] = Field(description="The birthdate of the Customer", alias="dtCustomerBirthdate") + dt_customer_transfer: Annotated[str, Field(strict=True)] = Field(description="The transfer of the Customer", alias="dtCustomerTransfer") + dt_customer_transferappointment: Annotated[str, Field(strict=True)] = Field(description="The transferappointment of the Customer", alias="dtCustomerTransferappointment") + dt_customer_transfersurvey: Annotated[str, Field(strict=True)] = Field(description="The transfersurvey of the Customer", alias="dtCustomerTransfersurvey") + b_customer_isactive: StrictBool = Field(description="Whether the customer is active or not", alias="bCustomerIsactive") + b_customer_variableexpensefinanced: StrictBool = Field(description="Whether if it's an variableexpensefinanced", alias="bCustomerVariableexpensefinanced") + b_customer_variableexpensefinancedtaxes: StrictBool = Field(description="Whether if it's an variableexpensefinancedtaxes", alias="bCustomerVariableexpensefinancedtaxes") + b_customer_supplychargefinanced: StrictBool = Field(description="Whether if it's an supplychargefinanced", alias="bCustomerSupplychargefinanced") + b_customer_supplychargefinancedtaxes: StrictBool = Field(description="Whether if it's an supplychargefinancedtaxes", alias="bCustomerSupplychargefinancedtaxes") + b_customer_attendance: StrictBool = Field(description="Whether if it's an attendance", alias="bCustomerAttendance") + e_customer_type: FieldECustomerType = Field(alias="eCustomerType") + e_customer_marketingcorrespondence: FieldECustomerMarketingcorrespondence = Field(alias="eCustomerMarketingcorrespondence") + b_customer_blackcopycarbon: StrictBool = Field(description="Whether if it's an blackcopycarbon", alias="bCustomerBlackcopycarbon") + b_customer_unsubscribeinfo: StrictBool = Field(description="Whether if it's an unsubscribeinfo", alias="bCustomerUnsubscribeinfo") + t_customer_comment: Annotated[str, Field(strict=True)] = Field(description="The comment of the Customer", alias="tCustomerComment") + importid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, alias="IMPORTID") + __properties: ClassVar[List[str]] = ["pkiCustomerID", "fkiCompanyID", "fkiCustomergroupID", "sCustomerName", "fkiContactinformationsID", "fkiContactcontainerID", "fkiImageID", "fkiGlaccountcontainerID", "fkiLanguageID", "fkiDepartmentID", "fkiPaymentmethodID", "fkiElectronicfundstransferbankaccountID", "fkiElectronicfundstransferbankaccountIDDirectdebit", "fkiSendingmethodID", "fkiTaxassignmentID", "fkiAttendancestatusID", "fkiAgentIDVariableexpensechargeto", "fkiBrokerIDVariableexpensechargeto", "fkiCustomerIDVariableexpensechargeto", "fkiGlaccountcontainerIDVariableexpensechargeto", "fkiAgentIDSupplychargechargeto", "fkiBrokerIDSupplychargechargeto", "fkiCustomerIDSupplychargechargeto", "fkiGlaccountcontainerIDSupplychargechargeto", "fkiInvoicealternatelogoID", "fkiSynchronizationlinkserverID", "efkiUserID", "efksCustomerCode", "sCustomerCode", "dCustomerFulltimeequivalent", "iCustomerPhotocopiercode", "iCustomerLongdistancecode", "iCustomerTimewindowstart", "iCustomerTimewindowend", "dCustomerMinimumchargeableinterests", "dtCustomerBirthdate", "dtCustomerTransfer", "dtCustomerTransferappointment", "dtCustomerTransfersurvey", "bCustomerIsactive", "bCustomerVariableexpensefinanced", "bCustomerVariableexpensefinancedtaxes", "bCustomerSupplychargefinanced", "bCustomerSupplychargefinancedtaxes", "bCustomerAttendance", "eCustomerType", "eCustomerMarketingcorrespondence", "bCustomerBlackcopycarbon", "bCustomerUnsubscribeinfo", "tCustomerComment", "IMPORTID"] + + @field_validator('s_customer_name') + def s_customer_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('efks_customer_code') + def efks_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('s_customer_code') + def s_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('d_customer_fulltimeequivalent') + def d_customer_fulltimeequivalent_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + + @field_validator('d_customer_minimumchargeableinterests') + def d_customer_minimumchargeableinterests_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('dt_customer_birthdate') + def dt_customer_birthdate_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_customer_transfer') + def dt_customer_transfer_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transferappointment') + def dt_customer_transferappointment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transfersurvey') + def dt_customer_transfersurvey_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('t_customer_comment') + def t_customer_comment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,16777215}$", value): + raise ValueError(r"must validate the regular expression /^.{0,16777215}$/") + return value + + @field_validator('importid') + def importid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,15}$", value): + raise ValueError(r"must validate the regular expression /^.{0,15}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomerRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomerRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCustomerID": obj.get("pkiCustomerID"), + "fkiCompanyID": obj.get("fkiCompanyID"), + "fkiCustomergroupID": obj.get("fkiCustomergroupID"), + "sCustomerName": obj.get("sCustomerName"), + "fkiContactinformationsID": obj.get("fkiContactinformationsID"), + "fkiContactcontainerID": obj.get("fkiContactcontainerID"), + "fkiImageID": obj.get("fkiImageID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiDepartmentID": obj.get("fkiDepartmentID"), + "fkiPaymentmethodID": obj.get("fkiPaymentmethodID"), + "fkiElectronicfundstransferbankaccountID": obj.get("fkiElectronicfundstransferbankaccountID"), + "fkiElectronicfundstransferbankaccountIDDirectdebit": obj.get("fkiElectronicfundstransferbankaccountIDDirectdebit"), + "fkiSendingmethodID": obj.get("fkiSendingmethodID"), + "fkiTaxassignmentID": obj.get("fkiTaxassignmentID"), + "fkiAttendancestatusID": obj.get("fkiAttendancestatusID"), + "fkiAgentIDVariableexpensechargeto": obj.get("fkiAgentIDVariableexpensechargeto"), + "fkiBrokerIDVariableexpensechargeto": obj.get("fkiBrokerIDVariableexpensechargeto"), + "fkiCustomerIDVariableexpensechargeto": obj.get("fkiCustomerIDVariableexpensechargeto"), + "fkiGlaccountcontainerIDVariableexpensechargeto": obj.get("fkiGlaccountcontainerIDVariableexpensechargeto"), + "fkiAgentIDSupplychargechargeto": obj.get("fkiAgentIDSupplychargechargeto"), + "fkiBrokerIDSupplychargechargeto": obj.get("fkiBrokerIDSupplychargechargeto"), + "fkiCustomerIDSupplychargechargeto": obj.get("fkiCustomerIDSupplychargechargeto"), + "fkiGlaccountcontainerIDSupplychargechargeto": obj.get("fkiGlaccountcontainerIDSupplychargechargeto"), + "fkiInvoicealternatelogoID": obj.get("fkiInvoicealternatelogoID"), + "fkiSynchronizationlinkserverID": obj.get("fkiSynchronizationlinkserverID"), + "efkiUserID": obj.get("efkiUserID"), + "efksCustomerCode": obj.get("efksCustomerCode"), + "sCustomerCode": obj.get("sCustomerCode"), + "dCustomerFulltimeequivalent": obj.get("dCustomerFulltimeequivalent"), + "iCustomerPhotocopiercode": obj.get("iCustomerPhotocopiercode"), + "iCustomerLongdistancecode": obj.get("iCustomerLongdistancecode"), + "iCustomerTimewindowstart": obj.get("iCustomerTimewindowstart"), + "iCustomerTimewindowend": obj.get("iCustomerTimewindowend"), + "dCustomerMinimumchargeableinterests": obj.get("dCustomerMinimumchargeableinterests"), + "dtCustomerBirthdate": obj.get("dtCustomerBirthdate"), + "dtCustomerTransfer": obj.get("dtCustomerTransfer"), + "dtCustomerTransferappointment": obj.get("dtCustomerTransferappointment"), + "dtCustomerTransfersurvey": obj.get("dtCustomerTransfersurvey"), + "bCustomerIsactive": obj.get("bCustomerIsactive"), + "bCustomerVariableexpensefinanced": obj.get("bCustomerVariableexpensefinanced"), + "bCustomerVariableexpensefinancedtaxes": obj.get("bCustomerVariableexpensefinancedtaxes"), + "bCustomerSupplychargefinanced": obj.get("bCustomerSupplychargefinanced"), + "bCustomerSupplychargefinancedtaxes": obj.get("bCustomerSupplychargefinancedtaxes"), + "bCustomerAttendance": obj.get("bCustomerAttendance"), + "eCustomerType": obj.get("eCustomerType"), + "eCustomerMarketingcorrespondence": obj.get("eCustomerMarketingcorrespondence"), + "bCustomerBlackcopycarbon": obj.get("bCustomerBlackcopycarbon"), + "bCustomerUnsubscribeinfo": obj.get("bCustomerUnsubscribeinfo"), + "tCustomerComment": obj.get("tCustomerComment"), + "IMPORTID": obj.get("IMPORTID") + }) + return _obj + + diff --git a/eZmaxApi/models/customer_response.py b/eZmaxApi/models/customer_response.py new file mode 100644 index 000000000..a18deb700 --- /dev/null +++ b/eZmaxApi/models/customer_response.py @@ -0,0 +1,274 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence +from eZmaxApi.models.field_e_customer_type import FieldECustomerType +from typing import Optional, Set +from typing_extensions import Self + +class CustomerResponse(BaseModel): + """ + A Customer Object + """ # noqa: E501 + pki_customer_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="pkiCustomerID") + fki_company_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Company", alias="fkiCompanyID") + fki_customergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Customergroup", alias="fkiCustomergroupID") + s_customer_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Customer", alias="sCustomerName") + fki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="fkiContactinformationsID") + fki_contactcontainer_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactcontainer", alias="fkiContactcontainerID") + fki_image_id: StrictInt = Field(description="The unique ID of the Image", alias="fkiImageID") + fki_glaccountcontainer_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_department_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Department", alias="fkiDepartmentID") + fki_paymentmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Paymentmethod", alias="fkiPaymentmethodID") + fki_electronicfundstransferbankaccount_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountID") + fki_electronicfundstransferbankaccount_id_directdebit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountIDDirectdebit") + fki_sendingmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Sendingmethod", alias="fkiSendingmethodID") + fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") + fki_attendancestatus_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Attendancestatus", alias="fkiAttendancestatusID") + fki_agent_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDVariableexpensechargeto") + fki_broker_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDVariableexpensechargeto") + fki_customer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDVariableexpensechargeto") + fki_glaccountcontainer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDVariableexpensechargeto") + fki_agent_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDSupplychargechargeto") + fki_broker_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDSupplychargechargeto") + fki_customer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDSupplychargechargeto") + fki_glaccountcontainer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDSupplychargechargeto") + fki_invoicealternatelogo_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Invoicealternatelogo", alias="fkiInvoicealternatelogoID") + fki_synchronizationlinkserver_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Synchronizationlinkserver", alias="fkiSynchronizationlinkserverID") + efki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="efkiUserID") + efks_customer_code: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The code of the Customer", alias="efksCustomerCode") + s_customer_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Customer", alias="sCustomerCode") + d_customer_fulltimeequivalent: Annotated[str, Field(strict=True)] = Field(description="The fulltimeequivalent of the Customer", alias="dCustomerFulltimeequivalent") + i_customer_photocopiercode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The photocopiercode of the Customer", alias="iCustomerPhotocopiercode") + i_customer_longdistancecode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The longdistancecode of the Customer", alias="iCustomerLongdistancecode") + i_customer_timewindowstart: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowstart of the Customer", alias="iCustomerTimewindowstart") + i_customer_timewindowend: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowend of the Customer", alias="iCustomerTimewindowend") + d_customer_minimumchargeableinterests: Annotated[str, Field(strict=True)] = Field(description="The minimumchargeableinterests of the Customer", alias="dCustomerMinimumchargeableinterests") + dt_customer_birthdate: Annotated[str, Field(strict=True)] = Field(description="The birthdate of the Customer", alias="dtCustomerBirthdate") + dt_customer_transfer: Annotated[str, Field(strict=True)] = Field(description="The transfer of the Customer", alias="dtCustomerTransfer") + dt_customer_transferappointment: Annotated[str, Field(strict=True)] = Field(description="The transferappointment of the Customer", alias="dtCustomerTransferappointment") + dt_customer_transfersurvey: Annotated[str, Field(strict=True)] = Field(description="The transfersurvey of the Customer", alias="dtCustomerTransfersurvey") + b_customer_isactive: StrictBool = Field(description="Whether the customer is active or not", alias="bCustomerIsactive") + b_customer_variableexpensefinanced: StrictBool = Field(description="Whether if it's an variableexpensefinanced", alias="bCustomerVariableexpensefinanced") + b_customer_variableexpensefinancedtaxes: StrictBool = Field(description="Whether if it's an variableexpensefinancedtaxes", alias="bCustomerVariableexpensefinancedtaxes") + b_customer_supplychargefinanced: StrictBool = Field(description="Whether if it's an supplychargefinanced", alias="bCustomerSupplychargefinanced") + b_customer_supplychargefinancedtaxes: StrictBool = Field(description="Whether if it's an supplychargefinancedtaxes", alias="bCustomerSupplychargefinancedtaxes") + b_customer_attendance: StrictBool = Field(description="Whether if it's an attendance", alias="bCustomerAttendance") + e_customer_type: FieldECustomerType = Field(alias="eCustomerType") + e_customer_marketingcorrespondence: FieldECustomerMarketingcorrespondence = Field(alias="eCustomerMarketingcorrespondence") + b_customer_blackcopycarbon: StrictBool = Field(description="Whether if it's an blackcopycarbon", alias="bCustomerBlackcopycarbon") + b_customer_unsubscribeinfo: StrictBool = Field(description="Whether if it's an unsubscribeinfo", alias="bCustomerUnsubscribeinfo") + t_customer_comment: Annotated[str, Field(strict=True)] = Field(description="The comment of the Customer", alias="tCustomerComment") + importid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, alias="IMPORTID") + __properties: ClassVar[List[str]] = ["pkiCustomerID", "fkiCompanyID", "fkiCustomergroupID", "sCustomerName", "fkiContactinformationsID", "fkiContactcontainerID", "fkiImageID", "fkiGlaccountcontainerID", "fkiLanguageID", "fkiDepartmentID", "fkiPaymentmethodID", "fkiElectronicfundstransferbankaccountID", "fkiElectronicfundstransferbankaccountIDDirectdebit", "fkiSendingmethodID", "fkiTaxassignmentID", "fkiAttendancestatusID", "fkiAgentIDVariableexpensechargeto", "fkiBrokerIDVariableexpensechargeto", "fkiCustomerIDVariableexpensechargeto", "fkiGlaccountcontainerIDVariableexpensechargeto", "fkiAgentIDSupplychargechargeto", "fkiBrokerIDSupplychargechargeto", "fkiCustomerIDSupplychargechargeto", "fkiGlaccountcontainerIDSupplychargechargeto", "fkiInvoicealternatelogoID", "fkiSynchronizationlinkserverID", "efkiUserID", "efksCustomerCode", "sCustomerCode", "dCustomerFulltimeequivalent", "iCustomerPhotocopiercode", "iCustomerLongdistancecode", "iCustomerTimewindowstart", "iCustomerTimewindowend", "dCustomerMinimumchargeableinterests", "dtCustomerBirthdate", "dtCustomerTransfer", "dtCustomerTransferappointment", "dtCustomerTransfersurvey", "bCustomerIsactive", "bCustomerVariableexpensefinanced", "bCustomerVariableexpensefinancedtaxes", "bCustomerSupplychargefinanced", "bCustomerSupplychargefinancedtaxes", "bCustomerAttendance", "eCustomerType", "eCustomerMarketingcorrespondence", "bCustomerBlackcopycarbon", "bCustomerUnsubscribeinfo", "tCustomerComment", "IMPORTID"] + + @field_validator('s_customer_name') + def s_customer_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('efks_customer_code') + def efks_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('s_customer_code') + def s_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('d_customer_fulltimeequivalent') + def d_customer_fulltimeequivalent_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + + @field_validator('d_customer_minimumchargeableinterests') + def d_customer_minimumchargeableinterests_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('dt_customer_birthdate') + def dt_customer_birthdate_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_customer_transfer') + def dt_customer_transfer_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transferappointment') + def dt_customer_transferappointment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transfersurvey') + def dt_customer_transfersurvey_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('t_customer_comment') + def t_customer_comment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,16777215}$", value): + raise ValueError(r"must validate the regular expression /^.{0,16777215}$/") + return value + + @field_validator('importid') + def importid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,15}$", value): + raise ValueError(r"must validate the regular expression /^.{0,15}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomerResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomerResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCustomerID": obj.get("pkiCustomerID"), + "fkiCompanyID": obj.get("fkiCompanyID"), + "fkiCustomergroupID": obj.get("fkiCustomergroupID"), + "sCustomerName": obj.get("sCustomerName"), + "fkiContactinformationsID": obj.get("fkiContactinformationsID"), + "fkiContactcontainerID": obj.get("fkiContactcontainerID"), + "fkiImageID": obj.get("fkiImageID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiDepartmentID": obj.get("fkiDepartmentID"), + "fkiPaymentmethodID": obj.get("fkiPaymentmethodID"), + "fkiElectronicfundstransferbankaccountID": obj.get("fkiElectronicfundstransferbankaccountID"), + "fkiElectronicfundstransferbankaccountIDDirectdebit": obj.get("fkiElectronicfundstransferbankaccountIDDirectdebit"), + "fkiSendingmethodID": obj.get("fkiSendingmethodID"), + "fkiTaxassignmentID": obj.get("fkiTaxassignmentID"), + "fkiAttendancestatusID": obj.get("fkiAttendancestatusID"), + "fkiAgentIDVariableexpensechargeto": obj.get("fkiAgentIDVariableexpensechargeto"), + "fkiBrokerIDVariableexpensechargeto": obj.get("fkiBrokerIDVariableexpensechargeto"), + "fkiCustomerIDVariableexpensechargeto": obj.get("fkiCustomerIDVariableexpensechargeto"), + "fkiGlaccountcontainerIDVariableexpensechargeto": obj.get("fkiGlaccountcontainerIDVariableexpensechargeto"), + "fkiAgentIDSupplychargechargeto": obj.get("fkiAgentIDSupplychargechargeto"), + "fkiBrokerIDSupplychargechargeto": obj.get("fkiBrokerIDSupplychargechargeto"), + "fkiCustomerIDSupplychargechargeto": obj.get("fkiCustomerIDSupplychargechargeto"), + "fkiGlaccountcontainerIDSupplychargechargeto": obj.get("fkiGlaccountcontainerIDSupplychargechargeto"), + "fkiInvoicealternatelogoID": obj.get("fkiInvoicealternatelogoID"), + "fkiSynchronizationlinkserverID": obj.get("fkiSynchronizationlinkserverID"), + "efkiUserID": obj.get("efkiUserID"), + "efksCustomerCode": obj.get("efksCustomerCode"), + "sCustomerCode": obj.get("sCustomerCode"), + "dCustomerFulltimeequivalent": obj.get("dCustomerFulltimeequivalent"), + "iCustomerPhotocopiercode": obj.get("iCustomerPhotocopiercode"), + "iCustomerLongdistancecode": obj.get("iCustomerLongdistancecode"), + "iCustomerTimewindowstart": obj.get("iCustomerTimewindowstart"), + "iCustomerTimewindowend": obj.get("iCustomerTimewindowend"), + "dCustomerMinimumchargeableinterests": obj.get("dCustomerMinimumchargeableinterests"), + "dtCustomerBirthdate": obj.get("dtCustomerBirthdate"), + "dtCustomerTransfer": obj.get("dtCustomerTransfer"), + "dtCustomerTransferappointment": obj.get("dtCustomerTransferappointment"), + "dtCustomerTransfersurvey": obj.get("dtCustomerTransfersurvey"), + "bCustomerIsactive": obj.get("bCustomerIsactive"), + "bCustomerVariableexpensefinanced": obj.get("bCustomerVariableexpensefinanced"), + "bCustomerVariableexpensefinancedtaxes": obj.get("bCustomerVariableexpensefinancedtaxes"), + "bCustomerSupplychargefinanced": obj.get("bCustomerSupplychargefinanced"), + "bCustomerSupplychargefinancedtaxes": obj.get("bCustomerSupplychargefinancedtaxes"), + "bCustomerAttendance": obj.get("bCustomerAttendance"), + "eCustomerType": obj.get("eCustomerType"), + "eCustomerMarketingcorrespondence": obj.get("eCustomerMarketingcorrespondence"), + "bCustomerBlackcopycarbon": obj.get("bCustomerBlackcopycarbon"), + "bCustomerUnsubscribeinfo": obj.get("bCustomerUnsubscribeinfo"), + "tCustomerComment": obj.get("tCustomerComment"), + "IMPORTID": obj.get("IMPORTID") + }) + return _obj + + diff --git a/eZmaxApi/models/customer_response_compound.py b/eZmaxApi/models/customer_response_compound.py new file mode 100644 index 000000000..00b56b31b --- /dev/null +++ b/eZmaxApi/models/customer_response_compound.py @@ -0,0 +1,274 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence +from eZmaxApi.models.field_e_customer_type import FieldECustomerType +from typing import Optional, Set +from typing_extensions import Self + +class CustomerResponseCompound(BaseModel): + """ + A Customer Object + """ # noqa: E501 + pki_customer_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="pkiCustomerID") + fki_company_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Company", alias="fkiCompanyID") + fki_customergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Customergroup", alias="fkiCustomergroupID") + s_customer_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Customer", alias="sCustomerName") + fki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="fkiContactinformationsID") + fki_contactcontainer_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactcontainer", alias="fkiContactcontainerID") + fki_image_id: StrictInt = Field(description="The unique ID of the Image", alias="fkiImageID") + fki_glaccountcontainer_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_department_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Department", alias="fkiDepartmentID") + fki_paymentmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Paymentmethod", alias="fkiPaymentmethodID") + fki_electronicfundstransferbankaccount_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountID") + fki_electronicfundstransferbankaccount_id_directdebit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountIDDirectdebit") + fki_sendingmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Sendingmethod", alias="fkiSendingmethodID") + fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") + fki_attendancestatus_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Attendancestatus", alias="fkiAttendancestatusID") + fki_agent_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDVariableexpensechargeto") + fki_broker_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDVariableexpensechargeto") + fki_customer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDVariableexpensechargeto") + fki_glaccountcontainer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDVariableexpensechargeto") + fki_agent_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDSupplychargechargeto") + fki_broker_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDSupplychargechargeto") + fki_customer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDSupplychargechargeto") + fki_glaccountcontainer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDSupplychargechargeto") + fki_invoicealternatelogo_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Invoicealternatelogo", alias="fkiInvoicealternatelogoID") + fki_synchronizationlinkserver_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Synchronizationlinkserver", alias="fkiSynchronizationlinkserverID") + efki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="efkiUserID") + efks_customer_code: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The code of the Customer", alias="efksCustomerCode") + s_customer_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Customer", alias="sCustomerCode") + d_customer_fulltimeequivalent: Annotated[str, Field(strict=True)] = Field(description="The fulltimeequivalent of the Customer", alias="dCustomerFulltimeequivalent") + i_customer_photocopiercode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The photocopiercode of the Customer", alias="iCustomerPhotocopiercode") + i_customer_longdistancecode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The longdistancecode of the Customer", alias="iCustomerLongdistancecode") + i_customer_timewindowstart: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowstart of the Customer", alias="iCustomerTimewindowstart") + i_customer_timewindowend: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowend of the Customer", alias="iCustomerTimewindowend") + d_customer_minimumchargeableinterests: Annotated[str, Field(strict=True)] = Field(description="The minimumchargeableinterests of the Customer", alias="dCustomerMinimumchargeableinterests") + dt_customer_birthdate: Annotated[str, Field(strict=True)] = Field(description="The birthdate of the Customer", alias="dtCustomerBirthdate") + dt_customer_transfer: Annotated[str, Field(strict=True)] = Field(description="The transfer of the Customer", alias="dtCustomerTransfer") + dt_customer_transferappointment: Annotated[str, Field(strict=True)] = Field(description="The transferappointment of the Customer", alias="dtCustomerTransferappointment") + dt_customer_transfersurvey: Annotated[str, Field(strict=True)] = Field(description="The transfersurvey of the Customer", alias="dtCustomerTransfersurvey") + b_customer_isactive: StrictBool = Field(description="Whether the customer is active or not", alias="bCustomerIsactive") + b_customer_variableexpensefinanced: StrictBool = Field(description="Whether if it's an variableexpensefinanced", alias="bCustomerVariableexpensefinanced") + b_customer_variableexpensefinancedtaxes: StrictBool = Field(description="Whether if it's an variableexpensefinancedtaxes", alias="bCustomerVariableexpensefinancedtaxes") + b_customer_supplychargefinanced: StrictBool = Field(description="Whether if it's an supplychargefinanced", alias="bCustomerSupplychargefinanced") + b_customer_supplychargefinancedtaxes: StrictBool = Field(description="Whether if it's an supplychargefinancedtaxes", alias="bCustomerSupplychargefinancedtaxes") + b_customer_attendance: StrictBool = Field(description="Whether if it's an attendance", alias="bCustomerAttendance") + e_customer_type: FieldECustomerType = Field(alias="eCustomerType") + e_customer_marketingcorrespondence: FieldECustomerMarketingcorrespondence = Field(alias="eCustomerMarketingcorrespondence") + b_customer_blackcopycarbon: StrictBool = Field(description="Whether if it's an blackcopycarbon", alias="bCustomerBlackcopycarbon") + b_customer_unsubscribeinfo: StrictBool = Field(description="Whether if it's an unsubscribeinfo", alias="bCustomerUnsubscribeinfo") + t_customer_comment: Annotated[str, Field(strict=True)] = Field(description="The comment of the Customer", alias="tCustomerComment") + importid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, alias="IMPORTID") + __properties: ClassVar[List[str]] = ["pkiCustomerID", "fkiCompanyID", "fkiCustomergroupID", "sCustomerName", "fkiContactinformationsID", "fkiContactcontainerID", "fkiImageID", "fkiGlaccountcontainerID", "fkiLanguageID", "fkiDepartmentID", "fkiPaymentmethodID", "fkiElectronicfundstransferbankaccountID", "fkiElectronicfundstransferbankaccountIDDirectdebit", "fkiSendingmethodID", "fkiTaxassignmentID", "fkiAttendancestatusID", "fkiAgentIDVariableexpensechargeto", "fkiBrokerIDVariableexpensechargeto", "fkiCustomerIDVariableexpensechargeto", "fkiGlaccountcontainerIDVariableexpensechargeto", "fkiAgentIDSupplychargechargeto", "fkiBrokerIDSupplychargechargeto", "fkiCustomerIDSupplychargechargeto", "fkiGlaccountcontainerIDSupplychargechargeto", "fkiInvoicealternatelogoID", "fkiSynchronizationlinkserverID", "efkiUserID", "efksCustomerCode", "sCustomerCode", "dCustomerFulltimeequivalent", "iCustomerPhotocopiercode", "iCustomerLongdistancecode", "iCustomerTimewindowstart", "iCustomerTimewindowend", "dCustomerMinimumchargeableinterests", "dtCustomerBirthdate", "dtCustomerTransfer", "dtCustomerTransferappointment", "dtCustomerTransfersurvey", "bCustomerIsactive", "bCustomerVariableexpensefinanced", "bCustomerVariableexpensefinancedtaxes", "bCustomerSupplychargefinanced", "bCustomerSupplychargefinancedtaxes", "bCustomerAttendance", "eCustomerType", "eCustomerMarketingcorrespondence", "bCustomerBlackcopycarbon", "bCustomerUnsubscribeinfo", "tCustomerComment", "IMPORTID"] + + @field_validator('s_customer_name') + def s_customer_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('efks_customer_code') + def efks_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('s_customer_code') + def s_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('d_customer_fulltimeequivalent') + def d_customer_fulltimeequivalent_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + + @field_validator('d_customer_minimumchargeableinterests') + def d_customer_minimumchargeableinterests_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('dt_customer_birthdate') + def dt_customer_birthdate_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_customer_transfer') + def dt_customer_transfer_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transferappointment') + def dt_customer_transferappointment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transfersurvey') + def dt_customer_transfersurvey_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('t_customer_comment') + def t_customer_comment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,16777215}$", value): + raise ValueError(r"must validate the regular expression /^.{0,16777215}$/") + return value + + @field_validator('importid') + def importid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,15}$", value): + raise ValueError(r"must validate the regular expression /^.{0,15}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomerResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomerResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCustomerID": obj.get("pkiCustomerID"), + "fkiCompanyID": obj.get("fkiCompanyID"), + "fkiCustomergroupID": obj.get("fkiCustomergroupID"), + "sCustomerName": obj.get("sCustomerName"), + "fkiContactinformationsID": obj.get("fkiContactinformationsID"), + "fkiContactcontainerID": obj.get("fkiContactcontainerID"), + "fkiImageID": obj.get("fkiImageID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiDepartmentID": obj.get("fkiDepartmentID"), + "fkiPaymentmethodID": obj.get("fkiPaymentmethodID"), + "fkiElectronicfundstransferbankaccountID": obj.get("fkiElectronicfundstransferbankaccountID"), + "fkiElectronicfundstransferbankaccountIDDirectdebit": obj.get("fkiElectronicfundstransferbankaccountIDDirectdebit"), + "fkiSendingmethodID": obj.get("fkiSendingmethodID"), + "fkiTaxassignmentID": obj.get("fkiTaxassignmentID"), + "fkiAttendancestatusID": obj.get("fkiAttendancestatusID"), + "fkiAgentIDVariableexpensechargeto": obj.get("fkiAgentIDVariableexpensechargeto"), + "fkiBrokerIDVariableexpensechargeto": obj.get("fkiBrokerIDVariableexpensechargeto"), + "fkiCustomerIDVariableexpensechargeto": obj.get("fkiCustomerIDVariableexpensechargeto"), + "fkiGlaccountcontainerIDVariableexpensechargeto": obj.get("fkiGlaccountcontainerIDVariableexpensechargeto"), + "fkiAgentIDSupplychargechargeto": obj.get("fkiAgentIDSupplychargechargeto"), + "fkiBrokerIDSupplychargechargeto": obj.get("fkiBrokerIDSupplychargechargeto"), + "fkiCustomerIDSupplychargechargeto": obj.get("fkiCustomerIDSupplychargechargeto"), + "fkiGlaccountcontainerIDSupplychargechargeto": obj.get("fkiGlaccountcontainerIDSupplychargechargeto"), + "fkiInvoicealternatelogoID": obj.get("fkiInvoicealternatelogoID"), + "fkiSynchronizationlinkserverID": obj.get("fkiSynchronizationlinkserverID"), + "efkiUserID": obj.get("efkiUserID"), + "efksCustomerCode": obj.get("efksCustomerCode"), + "sCustomerCode": obj.get("sCustomerCode"), + "dCustomerFulltimeequivalent": obj.get("dCustomerFulltimeequivalent"), + "iCustomerPhotocopiercode": obj.get("iCustomerPhotocopiercode"), + "iCustomerLongdistancecode": obj.get("iCustomerLongdistancecode"), + "iCustomerTimewindowstart": obj.get("iCustomerTimewindowstart"), + "iCustomerTimewindowend": obj.get("iCustomerTimewindowend"), + "dCustomerMinimumchargeableinterests": obj.get("dCustomerMinimumchargeableinterests"), + "dtCustomerBirthdate": obj.get("dtCustomerBirthdate"), + "dtCustomerTransfer": obj.get("dtCustomerTransfer"), + "dtCustomerTransferappointment": obj.get("dtCustomerTransferappointment"), + "dtCustomerTransfersurvey": obj.get("dtCustomerTransfersurvey"), + "bCustomerIsactive": obj.get("bCustomerIsactive"), + "bCustomerVariableexpensefinanced": obj.get("bCustomerVariableexpensefinanced"), + "bCustomerVariableexpensefinancedtaxes": obj.get("bCustomerVariableexpensefinancedtaxes"), + "bCustomerSupplychargefinanced": obj.get("bCustomerSupplychargefinanced"), + "bCustomerSupplychargefinancedtaxes": obj.get("bCustomerSupplychargefinancedtaxes"), + "bCustomerAttendance": obj.get("bCustomerAttendance"), + "eCustomerType": obj.get("eCustomerType"), + "eCustomerMarketingcorrespondence": obj.get("eCustomerMarketingcorrespondence"), + "bCustomerBlackcopycarbon": obj.get("bCustomerBlackcopycarbon"), + "bCustomerUnsubscribeinfo": obj.get("bCustomerUnsubscribeinfo"), + "tCustomerComment": obj.get("tCustomerComment"), + "IMPORTID": obj.get("IMPORTID") + }) + return _obj + + diff --git a/eZmaxApi/models/department_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/department_get_autocomplete_v2_response_m_payload.py index 316be4526..6ba4fda3f 100644 --- a/eZmaxApi/models/department_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/department_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_department (list) _items = [] if self.a_obj_department: - for _item in self.a_obj_department: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_department in self.a_obj_department: + if _item_a_obj_department: + _items.append(_item_a_obj_department.to_dict()) _dict['a_objDepartment'] = _items return _dict diff --git a/eZmaxApi/models/discussion_create_object_v1_request.py b/eZmaxApi/models/discussion_create_object_v1_request.py index d323c0d4e..e0b57ca66 100644 --- a/eZmaxApi/models/discussion_create_object_v1_request.py +++ b/eZmaxApi/models/discussion_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_discussion (list) _items = [] if self.a_obj_discussion: - for _item in self.a_obj_discussion: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_discussion in self.a_obj_discussion: + if _item_a_obj_discussion: + _items.append(_item_a_obj_discussion.to_dict()) _dict['a_objDiscussion'] = _items return _dict diff --git a/eZmaxApi/models/discussion_response_compound.py b/eZmaxApi/models/discussion_response_compound.py index 2a83b1faa..cb67161d5 100644 --- a/eZmaxApi/models/discussion_response_compound.py +++ b/eZmaxApi/models/discussion_response_compound.py @@ -94,16 +94,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_discussionmembership (list) _items = [] if self.a_obj_discussionmembership: - for _item in self.a_obj_discussionmembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_discussionmembership in self.a_obj_discussionmembership: + if _item_a_obj_discussionmembership: + _items.append(_item_a_obj_discussionmembership.to_dict()) _dict['a_objDiscussionmembership'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_discussionmessage (list) _items = [] if self.a_obj_discussionmessage: - for _item in self.a_obj_discussionmessage: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_discussionmessage in self.a_obj_discussionmessage: + if _item_a_obj_discussionmessage: + _items.append(_item_a_obj_discussionmessage.to_dict()) _dict['a_objDiscussionmessage'] = _items return _dict diff --git a/eZmaxApi/models/discussionmembership_create_object_v1_request.py b/eZmaxApi/models/discussionmembership_create_object_v1_request.py index 5d6f392d6..df4615e02 100644 --- a/eZmaxApi/models/discussionmembership_create_object_v1_request.py +++ b/eZmaxApi/models/discussionmembership_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_discussionmembership (list) _items = [] if self.a_obj_discussionmembership: - for _item in self.a_obj_discussionmembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_discussionmembership in self.a_obj_discussionmembership: + if _item_a_obj_discussionmembership: + _items.append(_item_a_obj_discussionmembership.to_dict()) _dict['a_objDiscussionmembership'] = _items return _dict diff --git a/eZmaxApi/models/discussionmessage_create_object_v1_request.py b/eZmaxApi/models/discussionmessage_create_object_v1_request.py index 2e8030ead..0aee55871 100644 --- a/eZmaxApi/models/discussionmessage_create_object_v1_request.py +++ b/eZmaxApi/models/discussionmessage_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_discussionmessage (list) _items = [] if self.a_obj_discussionmessage: - for _item in self.a_obj_discussionmessage: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_discussionmessage in self.a_obj_discussionmessage: + if _item_a_obj_discussionmessage: + _items.append(_item_a_obj_discussionmessage.to_dict()) _dict['a_objDiscussionmessage'] = _items return _dict diff --git a/eZmaxApi/models/domain_create_object_v1_request.py b/eZmaxApi/models/domain_create_object_v1_request.py new file mode 100644 index 000000000..2a7860cf6 --- /dev/null +++ b/eZmaxApi/models/domain_create_object_v1_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.domain_request_compound import DomainRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class DomainCreateObjectV1Request(BaseModel): + """ + Request for POST /1/object/domain + """ # noqa: E501 + a_obj_domain: Annotated[List[DomainRequestCompound], Field(min_length=1)] = Field(alias="a_objDomain") + __properties: ClassVar[List[str]] = ["a_objDomain"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainCreateObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_domain (list) + _items = [] + if self.a_obj_domain: + for _item_a_obj_domain in self.a_obj_domain: + if _item_a_obj_domain: + _items.append(_item_a_obj_domain.to_dict()) + _dict['a_objDomain'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainCreateObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objDomain": [DomainRequestCompound.from_dict(_item) for _item in obj["a_objDomain"]] if obj.get("a_objDomain") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/domain_create_object_v1_response.py b/eZmaxApi/models/domain_create_object_v1_response.py new file mode 100644 index 000000000..31b145cc1 --- /dev/null +++ b/eZmaxApi/models/domain_create_object_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.domain_create_object_v1_response_m_payload import DomainCreateObjectV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class DomainCreateObjectV1Response(BaseModel): + """ + Response for POST /1/object/domain + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: DomainCreateObjectV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainCreateObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainCreateObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": DomainCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/domain_create_object_v1_response_m_payload.py b/eZmaxApi/models/domain_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..2be38606f --- /dev/null +++ b/eZmaxApi/models/domain_create_object_v1_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class DomainCreateObjectV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/domain + """ # noqa: E501 + a_pki_domain_id: List[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiDomainID") + __properties: ClassVar[List[str]] = ["a_pkiDomainID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainCreateObjectV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainCreateObjectV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiDomainID": obj.get("a_pkiDomainID") + }) + return _obj + + diff --git a/eZmaxApi/models/domain_delete_object_v1_response.py b/eZmaxApi/models/domain_delete_object_v1_response.py new file mode 100644 index 000000000..7efb90163 --- /dev/null +++ b/eZmaxApi/models/domain_delete_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class DomainDeleteObjectV1Response(BaseModel): + """ + Response for DELETE /1/object/domain/{pkiDomainID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainDeleteObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainDeleteObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/domain_get_list_v1_response.py b/eZmaxApi/models/domain_get_list_v1_response.py new file mode 100644 index 000000000..9af962934 --- /dev/null +++ b/eZmaxApi/models/domain_get_list_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.domain_get_list_v1_response_m_payload import DomainGetListV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class DomainGetListV1Response(BaseModel): + """ + Response for GET /1/object/domain/getList + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: DomainGetListV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainGetListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainGetListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayloadGetList.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": DomainGetListV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/domain_get_list_v1_response_m_payload.py b/eZmaxApi/models/domain_get_list_v1_response_m_payload.py new file mode 100644 index 000000000..0fb3b3221 --- /dev/null +++ b/eZmaxApi/models/domain_get_list_v1_response_m_payload.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.domain_list_element import DomainListElement +from typing import Optional, Set +from typing_extensions import Self + +class DomainGetListV1ResponseMPayload(BaseModel): + """ + Payload for GET /1/object/domain/getList + """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") + a_obj_domain: List[DomainListElement] = Field(alias="a_objDomain") + __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objDomain"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainGetListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_domain (list) + _items = [] + if self.a_obj_domain: + for _item_a_obj_domain in self.a_obj_domain: + if _item_a_obj_domain: + _items.append(_item_a_obj_domain.to_dict()) + _dict['a_objDomain'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainGetListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iRowReturned": obj.get("iRowReturned"), + "iRowFiltered": obj.get("iRowFiltered"), + "a_objDomain": [DomainListElement.from_dict(_item) for _item in obj["a_objDomain"]] if obj.get("a_objDomain") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/domain_get_object_v2_response.py b/eZmaxApi/models/domain_get_object_v2_response.py new file mode 100644 index 000000000..78e389c5e --- /dev/null +++ b/eZmaxApi/models/domain_get_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.domain_get_object_v2_response_m_payload import DomainGetObjectV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class DomainGetObjectV2Response(BaseModel): + """ + Response for GET /2/object/domain/{pkiDomainID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: DomainGetObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainGetObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainGetObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": DomainGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/domain_get_object_v2_response_m_payload.py b/eZmaxApi/models/domain_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..4fbc76e0b --- /dev/null +++ b/eZmaxApi/models/domain_get_object_v2_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.domain_response_compound import DomainResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class DomainGetObjectV2ResponseMPayload(BaseModel): + """ + Payload for GET /2/object/domain/{pkiDomainID} + """ # noqa: E501 + obj_domain: DomainResponseCompound = Field(alias="objDomain") + __properties: ClassVar[List[str]] = ["objDomain"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainGetObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_domain + if self.obj_domain: + _dict['objDomain'] = self.obj_domain.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainGetObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDomain": DomainResponseCompound.from_dict(obj["objDomain"]) if obj.get("objDomain") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/domain_list_element.py b/eZmaxApi/models/domain_list_element.py new file mode 100644 index 000000000..5cea44ef7 --- /dev/null +++ b/eZmaxApi/models/domain_list_element.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class DomainListElement(BaseModel): + """ + A Domain List Element + """ # noqa: E501 + pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Domain", alias="pkiDomainID") + s_domain_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Domain", alias="sDomainName") + __properties: ClassVar[List[str]] = ["pkiDomainID", "sDomainName"] + + @field_validator('s_domain_name') + def s_domain_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$", value): + raise ValueError(r"must validate the regular expression /^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainListElement from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainListElement from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDomainID": obj.get("pkiDomainID"), + "sDomainName": obj.get("sDomainName") + }) + return _obj + + diff --git a/eZmaxApi/models/domain_request.py b/eZmaxApi/models/domain_request.py new file mode 100644 index 000000000..b8e5c0ddf --- /dev/null +++ b/eZmaxApi/models/domain_request.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class DomainRequest(BaseModel): + """ + A Domain Object + """ # noqa: E501 + pki_domain_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Domain", alias="pkiDomainID") + s_domain_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Domain", alias="sDomainName") + __properties: ClassVar[List[str]] = ["pkiDomainID", "sDomainName"] + + @field_validator('s_domain_name') + def s_domain_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$", value): + raise ValueError(r"must validate the regular expression /^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDomainID": obj.get("pkiDomainID"), + "sDomainName": obj.get("sDomainName") + }) + return _obj + + diff --git a/eZmaxApi/models/domain_request_compound.py b/eZmaxApi/models/domain_request_compound.py new file mode 100644 index 000000000..14cddc636 --- /dev/null +++ b/eZmaxApi/models/domain_request_compound.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class DomainRequestCompound(BaseModel): + """ + A Domain Object and children + """ # noqa: E501 + pki_domain_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Domain", alias="pkiDomainID") + s_domain_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Domain", alias="sDomainName") + __properties: ClassVar[List[str]] = ["pkiDomainID", "sDomainName"] + + @field_validator('s_domain_name') + def s_domain_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$", value): + raise ValueError(r"must validate the regular expression /^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDomainID": obj.get("pkiDomainID"), + "sDomainName": obj.get("sDomainName") + }) + return _obj + + diff --git a/eZmaxApi/models/domain_response.py b/eZmaxApi/models/domain_response.py new file mode 100644 index 000000000..d30e00ce9 --- /dev/null +++ b/eZmaxApi/models/domain_response.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from typing import Optional, Set +from typing_extensions import Self + +class DomainResponse(BaseModel): + """ + A Domain Object + """ # noqa: E501 + pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Domain", alias="pkiDomainID") + s_domain_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Domain", alias="sDomainName") + b_domain_validdkim: StrictBool = Field(description="Whether the DKIM is valid or not", alias="bDomainValiddkim") + b_domain_validmailfrom: StrictBool = Field(description="Whether the mail from is valid or not", alias="bDomainValidmailfrom") + b_domain_validcustomer: StrictBool = Field(description="Whether the customer has access to it or not", alias="bDomainValidcustomer") + obj_audit: CommonAudit = Field(alias="objAudit") + __properties: ClassVar[List[str]] = ["pkiDomainID", "sDomainName", "bDomainValiddkim", "bDomainValidmailfrom", "bDomainValidcustomer", "objAudit"] + + @field_validator('s_domain_name') + def s_domain_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$", value): + raise ValueError(r"must validate the regular expression /^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDomainID": obj.get("pkiDomainID"), + "sDomainName": obj.get("sDomainName"), + "bDomainValiddkim": obj.get("bDomainValiddkim"), + "bDomainValidmailfrom": obj.get("bDomainValidmailfrom"), + "bDomainValidcustomer": obj.get("bDomainValidcustomer"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/domain_response_compound.py b/eZmaxApi/models/domain_response_compound.py new file mode 100644 index 000000000..a6362c7d6 --- /dev/null +++ b/eZmaxApi/models/domain_response_compound.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.custom_dnsrecord_response import CustomDnsrecordResponse +from typing import Optional, Set +from typing_extensions import Self + +class DomainResponseCompound(BaseModel): + """ + A Domain Object + """ # noqa: E501 + pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Domain", alias="pkiDomainID") + s_domain_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Domain", alias="sDomainName") + b_domain_validdkim: StrictBool = Field(description="Whether the DKIM is valid or not", alias="bDomainValiddkim") + b_domain_validmailfrom: StrictBool = Field(description="Whether the mail from is valid or not", alias="bDomainValidmailfrom") + b_domain_validcustomer: StrictBool = Field(description="Whether the customer has access to it or not", alias="bDomainValidcustomer") + obj_audit: CommonAudit = Field(alias="objAudit") + a_obj_dnsrecord: List[CustomDnsrecordResponse] = Field(alias="a_objDnsrecord") + __properties: ClassVar[List[str]] = ["pkiDomainID", "sDomainName", "bDomainValiddkim", "bDomainValidmailfrom", "bDomainValidcustomer", "objAudit", "a_objDnsrecord"] + + @field_validator('s_domain_name') + def s_domain_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$", value): + raise ValueError(r"must validate the regular expression /^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DomainResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_dnsrecord (list) + _items = [] + if self.a_obj_dnsrecord: + for _item_a_obj_dnsrecord in self.a_obj_dnsrecord: + if _item_a_obj_dnsrecord: + _items.append(_item_a_obj_dnsrecord.to_dict()) + _dict['a_objDnsrecord'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DomainResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDomainID": obj.get("pkiDomainID"), + "sDomainName": obj.get("sDomainName"), + "bDomainValiddkim": obj.get("bDomainValiddkim"), + "bDomainValidmailfrom": obj.get("bDomainValidmailfrom"), + "bDomainValidcustomer": obj.get("bDomainValidcustomer"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "a_objDnsrecord": [CustomDnsrecordResponse.from_dict(_item) for _item in obj["a_objDnsrecord"]] if obj.get("a_objDnsrecord") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py b/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py new file mode 100644 index 000000000..10047f6c3 --- /dev/null +++ b/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response_m_payload import ElectronicfundstransferGetCommunicationCountV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class ElectronicfundstransferGetCommunicationCountV1Response(BaseModel): + """ + Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationCount + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: ElectronicfundstransferGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationCountV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationCountV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response_m_payload.py b/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..f862fccba --- /dev/null +++ b/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class ElectronicfundstransferGetCommunicationCountV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationCount + """ # noqa: E501 + i_communication_count: StrictInt = Field(description="The count of Communication.", alias="iCommunicationCount") + __properties: ClassVar[List[str]] = ["iCommunicationCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationCountV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationCountV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iCommunicationCount": obj.get("iCommunicationCount") + }) + return _obj + + diff --git a/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response_m_payload.py b/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response_m_payload.py index ad7131900..84d1dee81 100644 --- a/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response_m_payload.py +++ b/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) _items = [] if self.a_obj_communication: - for _item in self.a_obj_communication: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) _dict['a_objCommunication'] = _items return _dict diff --git a/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response.py b/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..a6a825810 --- /dev/null +++ b/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload import ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class ElectronicfundstransferGetCommunicationrecipientsV1Response(BaseModel): + """ + Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationrecipientsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationrecipientsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..dbb995e22 --- /dev/null +++ b/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse +from typing import Optional, Set +from typing_extensions import Self + +class ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients + """ # noqa: E501 + a_obj_communicationrecipientsgroup: List[CustomCommunicationrecipientsgroupResponse] = Field(alias="a_objCommunicationrecipientsgroup") + __properties: ClassVar[List[str]] = ["a_objCommunicationrecipientsgroup"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsgroup (list) + _items = [] + if self.a_obj_communicationrecipientsgroup: + for _item_a_obj_communicationrecipientsgroup in self.a_obj_communicationrecipientsgroup: + if _item_a_obj_communicationrecipientsgroup: + _items.append(_item_a_obj_communicationrecipientsgroup.to_dict()) + _dict['a_objCommunicationrecipientsgroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationrecipientsgroup": [CustomCommunicationrecipientsgroupResponse.from_dict(_item) for _item in obj["a_objCommunicationrecipientsgroup"]] if obj.get("a_objCommunicationrecipientsgroup") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response.py b/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..399f7fb7c --- /dev/null +++ b/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response_m_payload import ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class ElectronicfundstransferGetCommunicationsendersV1Response(BaseModel): + """ + Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationsendersV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationsendersV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..8f839f65f --- /dev/null +++ b/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse +from typing import Optional, Set +from typing_extensions import Self + +class ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationsenders + """ # noqa: E501 + a_obj_communicationsenders: List[CustomCommunicationsenderResponse] = Field(alias="a_objCommunicationsenders") + __properties: ClassVar[List[str]] = ["a_objCommunicationsenders"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationsenders (list) + _items = [] + if self.a_obj_communicationsenders: + for _item_a_obj_communicationsenders in self.a_obj_communicationsenders: + if _item_a_obj_communicationsenders: + _items.append(_item_a_obj_communicationsenders.to_dict()) + _dict['a_objCommunicationsenders'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationsenders": [CustomCommunicationsenderResponse.from_dict(_item) for _item in obj["a_objCommunicationsenders"]] if obj.get("a_objCommunicationsenders") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/emailtype_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/emailtype_get_autocomplete_v2_response_m_payload.py index ca3f27288..91b16f4dd 100644 --- a/eZmaxApi/models/emailtype_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/emailtype_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_emailtype (list) _items = [] if self.a_obj_emailtype: - for _item in self.a_obj_emailtype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_emailtype in self.a_obj_emailtype: + if _item_a_obj_emailtype: + _items.append(_item_a_obj_emailtype.to_dict()) _dict['a_objEmailtype'] = _items return _dict diff --git a/eZmaxApi/models/ezdoctemplatedocument_autocomplete_element_response.py b/eZmaxApi/models/ezdoctemplatedocument_autocomplete_element_response.py new file mode 100644 index 000000000..5eff317c6 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_autocomplete_element_response.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentAutocompleteElementResponse(BaseModel): + """ + A Ezdoctemplatedocument AutocompleteElement Response + """ # noqa: E501 + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatedocument", alias="pkiEzdoctemplatedocumentID") + s_ezdoctemplatedocument_name_x: Annotated[str, Field(strict=True)] = Field(description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + b_ezdoctemplatedocument_isactive: StrictBool = Field(description="Whether the ezdoctemplatedocument is active or not", alias="bEzdoctemplatedocumentIsactive") + __properties: ClassVar[List[str]] = ["pkiEzdoctemplatedocumentID", "sEzdoctemplatedocumentNameX", "bEzdoctemplatedocumentIsactive"] + + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentAutocompleteElementResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentAutocompleteElementResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzdoctemplatedocumentID": obj.get("pkiEzdoctemplatedocumentID"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "bEzdoctemplatedocumentIsactive": obj.get("bEzdoctemplatedocumentIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_request.py b/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_request.py new file mode 100644 index 000000000..0530aa5c6 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezdoctemplatedocument_request_compound import EzdoctemplatedocumentRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentCreateObjectV1Request(BaseModel): + """ + Request for POST /1/object/ezdoctemplatedocument + """ # noqa: E501 + a_obj_ezdoctemplatedocument: Annotated[List[EzdoctemplatedocumentRequestCompound], Field(min_length=1)] = Field(alias="a_objEzdoctemplatedocument") + __properties: ClassVar[List[str]] = ["a_objEzdoctemplatedocument"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentCreateObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezdoctemplatedocument (list) + _items = [] + if self.a_obj_ezdoctemplatedocument: + for _item_a_obj_ezdoctemplatedocument in self.a_obj_ezdoctemplatedocument: + if _item_a_obj_ezdoctemplatedocument: + _items.append(_item_a_obj_ezdoctemplatedocument.to_dict()) + _dict['a_objEzdoctemplatedocument'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentCreateObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzdoctemplatedocument": [EzdoctemplatedocumentRequestCompound.from_dict(_item) for _item in obj["a_objEzdoctemplatedocument"]] if obj.get("a_objEzdoctemplatedocument") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response.py b/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response.py new file mode 100644 index 000000000..20ef7862d --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response_m_payload import EzdoctemplatedocumentCreateObjectV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentCreateObjectV1Response(BaseModel): + """ + Response for POST /1/object/ezdoctemplatedocument + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzdoctemplatedocumentCreateObjectV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentCreateObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentCreateObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzdoctemplatedocumentCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response_m_payload.py b/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..c719b1542 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentCreateObjectV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/ezdoctemplatedocument + """ # noqa: E501 + a_pki_ezdoctemplatedocument_id: List[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzdoctemplatedocumentID") + __properties: ClassVar[List[str]] = ["a_pkiEzdoctemplatedocumentID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentCreateObjectV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentCreateObjectV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzdoctemplatedocumentID": obj.get("a_pkiEzdoctemplatedocumentID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_request.py b/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_request.py new file mode 100644 index 000000000..c175728c9 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezdoctemplatedocument_request_compound import EzdoctemplatedocumentRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentEditObjectV1Request(BaseModel): + """ + Request for PUT /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + """ # noqa: E501 + obj_ezdoctemplatedocument: EzdoctemplatedocumentRequestCompound = Field(alias="objEzdoctemplatedocument") + __properties: ClassVar[List[str]] = ["objEzdoctemplatedocument"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentEditObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezdoctemplatedocument + if self.obj_ezdoctemplatedocument: + _dict['objEzdoctemplatedocument'] = self.obj_ezdoctemplatedocument.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentEditObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzdoctemplatedocument": EzdoctemplatedocumentRequestCompound.from_dict(obj["objEzdoctemplatedocument"]) if obj.get("objEzdoctemplatedocument") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_response.py b/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_response.py new file mode 100644 index 000000000..fbc397fec --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentEditObjectV1Response(BaseModel): + """ + Response for PUT /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentEditObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentEditObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response.py b/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response.py new file mode 100644 index 000000000..114666629 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload import EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentGetAutocompleteV2Response(BaseModel): + """ + Response for GET /2/object/ezdoctemplatedocument/getAutocomplete + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetAutocompleteV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetAutocompleteV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..db4b892e5 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response import EzdoctemplatedocumentAutocompleteElementResponse +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/ezdoctemplatedocument/getAutocomplete + """ # noqa: E501 + a_obj_ezdoctemplatedocument: List[EzdoctemplatedocumentAutocompleteElementResponse] = Field(description="An array of Ezdoctemplatedocument autocomplete element response.", alias="a_objEzdoctemplatedocument") + __properties: ClassVar[List[str]] = ["a_objEzdoctemplatedocument"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezdoctemplatedocument (list) + _items = [] + if self.a_obj_ezdoctemplatedocument: + for _item_a_obj_ezdoctemplatedocument in self.a_obj_ezdoctemplatedocument: + if _item_a_obj_ezdoctemplatedocument: + _items.append(_item_a_obj_ezdoctemplatedocument.to_dict()) + _dict['a_objEzdoctemplatedocument'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzdoctemplatedocument": [EzdoctemplatedocumentAutocompleteElementResponse.from_dict(_item) for _item in obj["a_objEzdoctemplatedocument"]] if obj.get("a_objEzdoctemplatedocument") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response.py b/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response.py new file mode 100644 index 000000000..f8cc8fef1 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload import EzdoctemplatedocumentGetListV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentGetListV1Response(BaseModel): + """ + Response for GET /1/object/ezdoctemplatedocument/getList + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzdoctemplatedocumentGetListV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayloadGetList.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzdoctemplatedocumentGetListV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response_m_payload.py new file mode 100644 index 000000000..0f9e0ad49 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response_m_payload.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezdoctemplatedocument_list_element import EzdoctemplatedocumentListElement +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentGetListV1ResponseMPayload(BaseModel): + """ + Payload for GET /1/object/ezdoctemplatedocument/getList + """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") + a_obj_ezdoctemplatedocument: List[EzdoctemplatedocumentListElement] = Field(alias="a_objEzdoctemplatedocument") + __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objEzdoctemplatedocument"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezdoctemplatedocument (list) + _items = [] + if self.a_obj_ezdoctemplatedocument: + for _item_a_obj_ezdoctemplatedocument in self.a_obj_ezdoctemplatedocument: + if _item_a_obj_ezdoctemplatedocument: + _items.append(_item_a_obj_ezdoctemplatedocument.to_dict()) + _dict['a_objEzdoctemplatedocument'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iRowReturned": obj.get("iRowReturned"), + "iRowFiltered": obj.get("iRowFiltered"), + "a_objEzdoctemplatedocument": [EzdoctemplatedocumentListElement.from_dict(_item) for _item in obj["a_objEzdoctemplatedocument"]] if obj.get("a_objEzdoctemplatedocument") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response.py b/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response.py new file mode 100644 index 000000000..b97157e60 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response_m_payload import EzdoctemplatedocumentGetObjectV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentGetObjectV2Response(BaseModel): + """ + Response for GET /2/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzdoctemplatedocumentGetObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzdoctemplatedocumentGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response_m_payload.py b/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..95833a921 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezdoctemplatedocument_response_compound import EzdoctemplatedocumentResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentGetObjectV2ResponseMPayload(BaseModel): + """ + Payload for GET /2/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + """ # noqa: E501 + obj_ezdoctemplatedocument: EzdoctemplatedocumentResponseCompound = Field(alias="objEzdoctemplatedocument") + __properties: ClassVar[List[str]] = ["objEzdoctemplatedocument"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezdoctemplatedocument + if self.obj_ezdoctemplatedocument: + _dict['objEzdoctemplatedocument'] = self.obj_ezdoctemplatedocument.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentGetObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzdoctemplatedocument": EzdoctemplatedocumentResponseCompound.from_dict(obj["objEzdoctemplatedocument"]) if obj.get("objEzdoctemplatedocument") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_list_element.py b/eZmaxApi/models/ezdoctemplatedocument_list_element.py new file mode 100644 index 000000000..dd55aff0a --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_list_element.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentListElement(BaseModel): + """ + A Ezdoctemplatedocument List Element + """ # noqa: E501 + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatedocument", alias="pkiEzdoctemplatedocumentID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatetype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatetype", alias="fkiEzdoctemplatetypeID") + fki_ezdoctemplatefieldtypecategory_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatefieldtypecategory", alias="fkiEzdoctemplatefieldtypecategoryID") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + s_ezdoctemplatetype_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Ezdoctemplatetype in the language of the requester", alias="sEzdoctemplatetypeDescriptionX") + s_ezdoctemplatefieldtypecategory_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Ezdoctemplatefieldtypecategory in the language of the requester", alias="sEzdoctemplatefieldtypecategoryDescriptionX") + e_ezdoctemplatedocument_privacylevel: Optional[FieldEEzdoctemplatedocumentPrivacylevel] = Field(default=None, alias="eEzdoctemplatedocumentPrivacylevel") + b_ezdoctemplatedocument_isactive: StrictBool = Field(description="Whether the ezdoctemplatedocument is active or not", alias="bEzdoctemplatedocumentIsactive") + s_ezdoctemplatedocument_name_x: Annotated[str, Field(strict=True)] = Field(description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + __properties: ClassVar[List[str]] = ["pkiEzdoctemplatedocumentID", "fkiLanguageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatetypeID", "fkiEzdoctemplatefieldtypecategoryID", "sEzsignfoldertypeNameX", "sEzdoctemplatetypeDescriptionX", "sEzdoctemplatefieldtypecategoryDescriptionX", "eEzdoctemplatedocumentPrivacylevel", "bEzdoctemplatedocumentIsactive", "sEzdoctemplatedocumentNameX"] + + @field_validator('s_ezdoctemplatetype_description_x') + def s_ezdoctemplatetype_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezdoctemplatefieldtypecategory_description_x') + def s_ezdoctemplatefieldtypecategory_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentListElement from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentListElement from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzdoctemplatedocumentID": obj.get("pkiEzdoctemplatedocumentID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatetypeID": obj.get("fkiEzdoctemplatetypeID"), + "fkiEzdoctemplatefieldtypecategoryID": obj.get("fkiEzdoctemplatefieldtypecategoryID"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "sEzdoctemplatetypeDescriptionX": obj.get("sEzdoctemplatetypeDescriptionX"), + "sEzdoctemplatefieldtypecategoryDescriptionX": obj.get("sEzdoctemplatefieldtypecategoryDescriptionX"), + "eEzdoctemplatedocumentPrivacylevel": obj.get("eEzdoctemplatedocumentPrivacylevel"), + "bEzdoctemplatedocumentIsactive": obj.get("bEzdoctemplatedocumentIsactive"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX") + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_request.py b/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_request.py new file mode 100644 index 000000000..24e059a5d --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezdoctemplatedocument_request_patch import EzdoctemplatedocumentRequestPatch +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentPatchObjectV1Request(BaseModel): + """ + Request for PATCH /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + """ # noqa: E501 + obj_ezdoctemplatedocument: EzdoctemplatedocumentRequestPatch = Field(alias="objEzdoctemplatedocument") + __properties: ClassVar[List[str]] = ["objEzdoctemplatedocument"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentPatchObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezdoctemplatedocument + if self.obj_ezdoctemplatedocument: + _dict['objEzdoctemplatedocument'] = self.obj_ezdoctemplatedocument.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentPatchObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzdoctemplatedocument": EzdoctemplatedocumentRequestPatch.from_dict(obj["objEzdoctemplatedocument"]) if obj.get("objEzdoctemplatedocument") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_response.py b/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_response.py new file mode 100644 index 000000000..b02591b2d --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentPatchObjectV1Response(BaseModel): + """ + Response for PATCH /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentPatchObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentPatchObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_request.py b/eZmaxApi/models/ezdoctemplatedocument_request.py new file mode 100644 index 000000000..80d3868a9 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_request.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel +from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentRequest(BaseModel): + """ + A Ezdoctemplatedocument Object + """ # noqa: E501 + pki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="pkiEzdoctemplatedocumentID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatetype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatetype", alias="fkiEzdoctemplatetypeID") + fki_ezdoctemplatefieldtypecategory_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatefieldtypecategory", alias="fkiEzdoctemplatefieldtypecategoryID") + e_ezdoctemplatedocument_privacylevel: Optional[FieldEEzdoctemplatedocumentPrivacylevel] = Field(default=None, alias="eEzdoctemplatedocumentPrivacylevel") + b_ezdoctemplatedocument_isactive: StrictBool = Field(description="Whether the ezdoctemplatedocument is active or not", alias="bEzdoctemplatedocumentIsactive") + obj_ezdoctemplatedocument_name: MultilingualEzdoctemplatedocumentName = Field(alias="objEzdoctemplatedocumentName") + __properties: ClassVar[List[str]] = ["pkiEzdoctemplatedocumentID", "fkiLanguageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatetypeID", "fkiEzdoctemplatefieldtypecategoryID", "eEzdoctemplatedocumentPrivacylevel", "bEzdoctemplatedocumentIsactive", "objEzdoctemplatedocumentName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezdoctemplatedocument_name + if self.obj_ezdoctemplatedocument_name: + _dict['objEzdoctemplatedocumentName'] = self.obj_ezdoctemplatedocument_name.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzdoctemplatedocumentID": obj.get("pkiEzdoctemplatedocumentID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatetypeID": obj.get("fkiEzdoctemplatetypeID"), + "fkiEzdoctemplatefieldtypecategoryID": obj.get("fkiEzdoctemplatefieldtypecategoryID"), + "eEzdoctemplatedocumentPrivacylevel": obj.get("eEzdoctemplatedocumentPrivacylevel"), + "bEzdoctemplatedocumentIsactive": obj.get("bEzdoctemplatedocumentIsactive"), + "objEzdoctemplatedocumentName": MultilingualEzdoctemplatedocumentName.from_dict(obj["objEzdoctemplatedocumentName"]) if obj.get("objEzdoctemplatedocumentName") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_request_compound.py b/eZmaxApi/models/ezdoctemplatedocument_request_compound.py new file mode 100644 index 000000000..76752a8e7 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_request_compound.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel +from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentRequestCompound(BaseModel): + """ + A Ezdoctemplatedocument Object and children + """ # noqa: E501 + pki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="pkiEzdoctemplatedocumentID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatetype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatetype", alias="fkiEzdoctemplatetypeID") + fki_ezdoctemplatefieldtypecategory_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatefieldtypecategory", alias="fkiEzdoctemplatefieldtypecategoryID") + e_ezdoctemplatedocument_privacylevel: Optional[FieldEEzdoctemplatedocumentPrivacylevel] = Field(default=None, alias="eEzdoctemplatedocumentPrivacylevel") + b_ezdoctemplatedocument_isactive: StrictBool = Field(description="Whether the ezdoctemplatedocument is active or not", alias="bEzdoctemplatedocumentIsactive") + obj_ezdoctemplatedocument_name: MultilingualEzdoctemplatedocumentName = Field(alias="objEzdoctemplatedocumentName") + __properties: ClassVar[List[str]] = ["pkiEzdoctemplatedocumentID", "fkiLanguageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatetypeID", "fkiEzdoctemplatefieldtypecategoryID", "eEzdoctemplatedocumentPrivacylevel", "bEzdoctemplatedocumentIsactive", "objEzdoctemplatedocumentName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezdoctemplatedocument_name + if self.obj_ezdoctemplatedocument_name: + _dict['objEzdoctemplatedocumentName'] = self.obj_ezdoctemplatedocument_name.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzdoctemplatedocumentID": obj.get("pkiEzdoctemplatedocumentID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatetypeID": obj.get("fkiEzdoctemplatetypeID"), + "fkiEzdoctemplatefieldtypecategoryID": obj.get("fkiEzdoctemplatefieldtypecategoryID"), + "eEzdoctemplatedocumentPrivacylevel": obj.get("eEzdoctemplatedocumentPrivacylevel"), + "bEzdoctemplatedocumentIsactive": obj.get("bEzdoctemplatedocumentIsactive"), + "objEzdoctemplatedocumentName": MultilingualEzdoctemplatedocumentName.from_dict(obj["objEzdoctemplatedocumentName"]) if obj.get("objEzdoctemplatedocumentName") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_request_patch.py b/eZmaxApi/models/ezdoctemplatedocument_request_patch.py new file mode 100644 index 000000000..3955024ce --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_request_patch.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBytes, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentRequestPatch(BaseModel): + """ + An Ezdoctemplatedocument Object + """ # noqa: E501 + e_ezdoctemplatedocument_format: Optional[StrictStr] = Field(default=None, description="Indicates the format of the template. This field is Required when sEzdoctemplatedocumentBase64 is set.", alias="eEzdoctemplatedocumentFormat") + s_ezdoctemplatedocument_fields: Optional[Annotated[str, Field(strict=True, max_length=16000000)]] = Field(default=None, description="List of field in Ezdoctemplatedocument", alias="sEzdoctemplatedocumentFields") + s_ezdoctemplatedocument_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the document. This field is Required when eEzdoctemplatedocumentFormat is set.", alias="sEzdoctemplatedocumentBase64") + __properties: ClassVar[List[str]] = ["eEzdoctemplatedocumentFormat", "sEzdoctemplatedocumentFields", "sEzdoctemplatedocumentBase64"] + + @field_validator('e_ezdoctemplatedocument_format') + def e_ezdoctemplatedocument_format_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Docx', 'Html', 'Tx']): + raise ValueError("must be one of enum values ('Docx', 'Html', 'Tx')") + return value + + @field_validator('s_ezdoctemplatedocument_fields') + def s_ezdoctemplatedocument_fields_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,}$", value): + raise ValueError(r"must validate the regular expression /^.{0,}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentRequestPatch from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentRequestPatch from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "eEzdoctemplatedocumentFormat": obj.get("eEzdoctemplatedocumentFormat"), + "sEzdoctemplatedocumentFields": obj.get("sEzdoctemplatedocumentFields"), + "sEzdoctemplatedocumentBase64": obj.get("sEzdoctemplatedocumentBase64") + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_response.py b/eZmaxApi/models/ezdoctemplatedocument_response.py new file mode 100644 index 000000000..a14588574 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_response.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel +from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentResponse(BaseModel): + """ + A Ezdoctemplatedocument Object + """ # noqa: E501 + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatedocument", alias="pkiEzdoctemplatedocumentID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatetype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatetype", alias="fkiEzdoctemplatetypeID") + fki_ezdoctemplatefieldtypecategory_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatefieldtypecategory", alias="fkiEzdoctemplatefieldtypecategoryID") + e_ezdoctemplatedocument_privacylevel: Optional[FieldEEzdoctemplatedocumentPrivacylevel] = Field(default=None, alias="eEzdoctemplatedocumentPrivacylevel") + b_ezdoctemplatedocument_isactive: StrictBool = Field(description="Whether the ezdoctemplatedocument is active or not", alias="bEzdoctemplatedocumentIsactive") + obj_ezdoctemplatedocument_name: MultilingualEzdoctemplatedocumentName = Field(alias="objEzdoctemplatedocumentName") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + s_ezdoctemplatefieldtypecategory_description_x: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezdoctemplatefieldtypecategory in the language of the requester", alias="sEzdoctemplatefieldtypecategoryDescriptionX") + s_ezdoctemplatetype_description_x: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezdoctemplatetype in the language of the requester", alias="sEzdoctemplatetypeDescriptionX") + __properties: ClassVar[List[str]] = ["pkiEzdoctemplatedocumentID", "fkiLanguageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatetypeID", "fkiEzdoctemplatefieldtypecategoryID", "eEzdoctemplatedocumentPrivacylevel", "bEzdoctemplatedocumentIsactive", "objEzdoctemplatedocumentName", "sEzdoctemplatedocumentNameX", "sEzsignfoldertypeNameX", "sEzdoctemplatefieldtypecategoryDescriptionX", "sEzdoctemplatetypeDescriptionX"] + + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezdoctemplatefieldtypecategory_description_x') + def s_ezdoctemplatefieldtypecategory_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + @field_validator('s_ezdoctemplatetype_description_x') + def s_ezdoctemplatetype_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezdoctemplatedocument_name + if self.obj_ezdoctemplatedocument_name: + _dict['objEzdoctemplatedocumentName'] = self.obj_ezdoctemplatedocument_name.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzdoctemplatedocumentID": obj.get("pkiEzdoctemplatedocumentID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatetypeID": obj.get("fkiEzdoctemplatetypeID"), + "fkiEzdoctemplatefieldtypecategoryID": obj.get("fkiEzdoctemplatefieldtypecategoryID"), + "eEzdoctemplatedocumentPrivacylevel": obj.get("eEzdoctemplatedocumentPrivacylevel"), + "bEzdoctemplatedocumentIsactive": obj.get("bEzdoctemplatedocumentIsactive"), + "objEzdoctemplatedocumentName": MultilingualEzdoctemplatedocumentName.from_dict(obj["objEzdoctemplatedocumentName"]) if obj.get("objEzdoctemplatedocumentName") is not None else None, + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "sEzdoctemplatefieldtypecategoryDescriptionX": obj.get("sEzdoctemplatefieldtypecategoryDescriptionX"), + "sEzdoctemplatetypeDescriptionX": obj.get("sEzdoctemplatetypeDescriptionX") + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatedocument_response_compound.py b/eZmaxApi/models/ezdoctemplatedocument_response_compound.py new file mode 100644 index 000000000..8842c812e --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatedocument_response_compound.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel +from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatedocumentResponseCompound(BaseModel): + """ + A Ezdoctemplatedocument Object + """ # noqa: E501 + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatedocument", alias="pkiEzdoctemplatedocumentID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatetype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatetype", alias="fkiEzdoctemplatetypeID") + fki_ezdoctemplatefieldtypecategory_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatefieldtypecategory", alias="fkiEzdoctemplatefieldtypecategoryID") + e_ezdoctemplatedocument_privacylevel: Optional[FieldEEzdoctemplatedocumentPrivacylevel] = Field(default=None, alias="eEzdoctemplatedocumentPrivacylevel") + b_ezdoctemplatedocument_isactive: StrictBool = Field(description="Whether the ezdoctemplatedocument is active or not", alias="bEzdoctemplatedocumentIsactive") + obj_ezdoctemplatedocument_name: MultilingualEzdoctemplatedocumentName = Field(alias="objEzdoctemplatedocumentName") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + s_ezdoctemplatefieldtypecategory_description_x: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezdoctemplatefieldtypecategory in the language of the requester", alias="sEzdoctemplatefieldtypecategoryDescriptionX") + s_ezdoctemplatetype_description_x: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezdoctemplatetype in the language of the requester", alias="sEzdoctemplatetypeDescriptionX") + __properties: ClassVar[List[str]] = ["pkiEzdoctemplatedocumentID", "fkiLanguageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatetypeID", "fkiEzdoctemplatefieldtypecategoryID", "eEzdoctemplatedocumentPrivacylevel", "bEzdoctemplatedocumentIsactive", "objEzdoctemplatedocumentName", "sEzdoctemplatedocumentNameX", "sEzsignfoldertypeNameX", "sEzdoctemplatefieldtypecategoryDescriptionX", "sEzdoctemplatetypeDescriptionX"] + + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezdoctemplatefieldtypecategory_description_x') + def s_ezdoctemplatefieldtypecategory_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + @field_validator('s_ezdoctemplatetype_description_x') + def s_ezdoctemplatetype_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezdoctemplatedocument_name + if self.obj_ezdoctemplatedocument_name: + _dict['objEzdoctemplatedocumentName'] = self.obj_ezdoctemplatedocument_name.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatedocumentResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzdoctemplatedocumentID": obj.get("pkiEzdoctemplatedocumentID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatetypeID": obj.get("fkiEzdoctemplatetypeID"), + "fkiEzdoctemplatefieldtypecategoryID": obj.get("fkiEzdoctemplatefieldtypecategoryID"), + "eEzdoctemplatedocumentPrivacylevel": obj.get("eEzdoctemplatedocumentPrivacylevel"), + "bEzdoctemplatedocumentIsactive": obj.get("bEzdoctemplatedocumentIsactive"), + "objEzdoctemplatedocumentName": MultilingualEzdoctemplatedocumentName.from_dict(obj["objEzdoctemplatedocumentName"]) if obj.get("objEzdoctemplatedocumentName") is not None else None, + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "sEzdoctemplatefieldtypecategoryDescriptionX": obj.get("sEzdoctemplatefieldtypecategoryDescriptionX"), + "sEzdoctemplatetypeDescriptionX": obj.get("sEzdoctemplatetypeDescriptionX") + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatefieldtypecategory_autocomplete_element_response.py b/eZmaxApi/models/ezdoctemplatefieldtypecategory_autocomplete_element_response.py new file mode 100644 index 000000000..25a0acb36 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatefieldtypecategory_autocomplete_element_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatefieldtypecategoryAutocompleteElementResponse(BaseModel): + """ + A Ezdoctemplatefieldtypecategory AutocompleteElement Response + """ # noqa: E501 + pki_ezdoctemplatefieldtypecategory_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatefieldtypecategory", alias="pkiEzdoctemplatefieldtypecategoryID") + fki_ezdoctemplatetype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatetype", alias="fkiEzdoctemplatetypeID") + s_ezdoctemplatefieldtypecategory_description_x: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezdoctemplatefieldtypecategory in the language of the requester", alias="sEzdoctemplatefieldtypecategoryDescriptionX") + b_ezdoctemplatefieldtypecategory_isactive: StrictBool = Field(description="Whether the Ezdoctemplatefieldtypecategory is active or not", alias="bEzdoctemplatefieldtypecategoryIsactive") + __properties: ClassVar[List[str]] = ["pkiEzdoctemplatefieldtypecategoryID", "fkiEzdoctemplatetypeID", "sEzdoctemplatefieldtypecategoryDescriptionX", "bEzdoctemplatefieldtypecategoryIsactive"] + + @field_validator('s_ezdoctemplatefieldtypecategory_description_x') + def s_ezdoctemplatefieldtypecategory_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatefieldtypecategoryAutocompleteElementResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatefieldtypecategoryAutocompleteElementResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzdoctemplatefieldtypecategoryID": obj.get("pkiEzdoctemplatefieldtypecategoryID"), + "fkiEzdoctemplatetypeID": obj.get("fkiEzdoctemplatetypeID"), + "sEzdoctemplatefieldtypecategoryDescriptionX": obj.get("sEzdoctemplatefieldtypecategoryDescriptionX"), + "bEzdoctemplatefieldtypecategoryIsactive": obj.get("bEzdoctemplatefieldtypecategoryIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py b/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py new file mode 100644 index 000000000..189f263df --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload import EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatefieldtypecategoryGetAutocompleteV2Response(BaseModel): + """ + Response for GET /2/object/ezdoctemplatefieldtypecategory/getAutocomplete + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatefieldtypecategoryGetAutocompleteV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatefieldtypecategoryGetAutocompleteV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..3ae1191b4 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response import EzdoctemplatefieldtypecategoryAutocompleteElementResponse +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/ezdoctemplatefieldtypecategory/getAutocomplete + """ # noqa: E501 + a_obj_ezdoctemplatefieldtypecategory: List[EzdoctemplatefieldtypecategoryAutocompleteElementResponse] = Field(description="An array of Ezdoctemplatefieldtypecategory autocomplete element response.", alias="a_objEzdoctemplatefieldtypecategory") + __properties: ClassVar[List[str]] = ["a_objEzdoctemplatefieldtypecategory"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezdoctemplatefieldtypecategory (list) + _items = [] + if self.a_obj_ezdoctemplatefieldtypecategory: + for _item_a_obj_ezdoctemplatefieldtypecategory in self.a_obj_ezdoctemplatefieldtypecategory: + if _item_a_obj_ezdoctemplatefieldtypecategory: + _items.append(_item_a_obj_ezdoctemplatefieldtypecategory.to_dict()) + _dict['a_objEzdoctemplatefieldtypecategory'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzdoctemplatefieldtypecategory": [EzdoctemplatefieldtypecategoryAutocompleteElementResponse.from_dict(_item) for _item in obj["a_objEzdoctemplatefieldtypecategory"]] if obj.get("a_objEzdoctemplatefieldtypecategory") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatetype_autocomplete_element_response.py b/eZmaxApi/models/ezdoctemplatetype_autocomplete_element_response.py new file mode 100644 index 000000000..ca09f79c2 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatetype_autocomplete_element_response.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatetypeAutocompleteElementResponse(BaseModel): + """ + A Ezdoctemplatetype AutocompleteElement Response + """ # noqa: E501 + pki_ezdoctemplatetype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatetype", alias="pkiEzdoctemplatetypeID") + s_ezdoctemplatetype_description_x: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezdoctemplatetype in the language of the requester", alias="sEzdoctemplatetypeDescriptionX") + b_ezdoctemplatetype_isactive: StrictBool = Field(description="Whether the Ezdoctemplatetype is active or not", alias="bEzdoctemplatetypeIsactive") + __properties: ClassVar[List[str]] = ["pkiEzdoctemplatetypeID", "sEzdoctemplatetypeDescriptionX", "bEzdoctemplatetypeIsactive"] + + @field_validator('s_ezdoctemplatetype_description_x') + def s_ezdoctemplatetype_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatetypeAutocompleteElementResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatetypeAutocompleteElementResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzdoctemplatetypeID": obj.get("pkiEzdoctemplatetypeID"), + "sEzdoctemplatetypeDescriptionX": obj.get("sEzdoctemplatetypeDescriptionX"), + "bEzdoctemplatetypeIsactive": obj.get("bEzdoctemplatetypeIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response.py b/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response.py new file mode 100644 index 000000000..aeac8f763 --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response_m_payload import EzdoctemplatetypeGetAutocompleteV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatetypeGetAutocompleteV2Response(BaseModel): + """ + Response for GET /2/object/ezdoctemplatetype/getAutocomplete + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzdoctemplatetypeGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatetypeGetAutocompleteV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatetypeGetAutocompleteV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..0165a594e --- /dev/null +++ b/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response import EzdoctemplatetypeAutocompleteElementResponse +from typing import Optional, Set +from typing_extensions import Self + +class EzdoctemplatetypeGetAutocompleteV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/ezdoctemplatetype/getAutocomplete + """ # noqa: E501 + a_obj_ezdoctemplatetype: List[EzdoctemplatetypeAutocompleteElementResponse] = Field(description="An array of Ezdoctemplatetype autocomplete element response.", alias="a_objEzdoctemplatetype") + __properties: ClassVar[List[str]] = ["a_objEzdoctemplatetype"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzdoctemplatetypeGetAutocompleteV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezdoctemplatetype (list) + _items = [] + if self.a_obj_ezdoctemplatetype: + for _item_a_obj_ezdoctemplatetype in self.a_obj_ezdoctemplatetype: + if _item_a_obj_ezdoctemplatetype: + _items.append(_item_a_obj_ezdoctemplatetype.to_dict()) + _dict['a_objEzdoctemplatetype'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzdoctemplatetypeGetAutocompleteV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzdoctemplatetype": [EzdoctemplatetypeAutocompleteElementResponse.from_dict(_item) for _item in obj["a_objEzdoctemplatetype"]] if obj.get("a_objEzdoctemplatetype") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response_m_payload.py index 0ea75144f..7d57e9e8b 100644 --- a/eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicing (list) _items = [] if self.a_obj_ezmaxinvoicing: - for _item in self.a_obj_ezmaxinvoicing: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicing in self.a_obj_ezmaxinvoicing: + if _item_a_obj_ezmaxinvoicing: + _items.append(_item_a_obj_ezmaxinvoicing.to_dict()) _dict['a_objEzmaxinvoicing'] = _items return _dict diff --git a/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response_m_payload.py b/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response_m_payload.py index c817285db..9b91334b4 100644 --- a/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response_m_payload.py +++ b/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response_m_payload.py @@ -128,51 +128,51 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingsummaryglobal (list) _items = [] if self.a_obj_ezmaxinvoicingsummaryglobal: - for _item in self.a_obj_ezmaxinvoicingsummaryglobal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingsummaryglobal in self.a_obj_ezmaxinvoicingsummaryglobal: + if _item_a_obj_ezmaxinvoicingsummaryglobal: + _items.append(_item_a_obj_ezmaxinvoicingsummaryglobal.to_dict()) _dict['a_objEzmaxinvoicingsummaryglobal'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingsummaryexternal (list) _items = [] if self.a_obj_ezmaxinvoicingsummaryexternal: - for _item in self.a_obj_ezmaxinvoicingsummaryexternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingsummaryexternal in self.a_obj_ezmaxinvoicingsummaryexternal: + if _item_a_obj_ezmaxinvoicingsummaryexternal: + _items.append(_item_a_obj_ezmaxinvoicingsummaryexternal.to_dict()) _dict['a_objEzmaxinvoicingsummaryexternal'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingsummaryinternal (list) _items = [] if self.a_obj_ezmaxinvoicingsummaryinternal: - for _item in self.a_obj_ezmaxinvoicingsummaryinternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingsummaryinternal in self.a_obj_ezmaxinvoicingsummaryinternal: + if _item_a_obj_ezmaxinvoicingsummaryinternal: + _items.append(_item_a_obj_ezmaxinvoicingsummaryinternal.to_dict()) _dict['a_objEzmaxinvoicingsummaryinternal'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingagent (list) _items = [] if self.a_obj_ezmaxinvoicingagent: - for _item in self.a_obj_ezmaxinvoicingagent: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingagent in self.a_obj_ezmaxinvoicingagent: + if _item_a_obj_ezmaxinvoicingagent: + _items.append(_item_a_obj_ezmaxinvoicingagent.to_dict()) _dict['a_objEzmaxinvoicingagent'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicinguser (list) _items = [] if self.a_obj_ezmaxinvoicinguser: - for _item in self.a_obj_ezmaxinvoicinguser: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicinguser in self.a_obj_ezmaxinvoicinguser: + if _item_a_obj_ezmaxinvoicinguser: + _items.append(_item_a_obj_ezmaxinvoicinguser.to_dict()) _dict['a_objEzmaxinvoicinguser'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingezsignfolder (list) _items = [] if self.a_obj_ezmaxinvoicingezsignfolder: - for _item in self.a_obj_ezmaxinvoicingezsignfolder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingezsignfolder in self.a_obj_ezmaxinvoicingezsignfolder: + if _item_a_obj_ezmaxinvoicingezsignfolder: + _items.append(_item_a_obj_ezmaxinvoicingezsignfolder.to_dict()) _dict['a_objEzmaxinvoicingezsignfolder'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingezsigndocument (list) _items = [] if self.a_obj_ezmaxinvoicingezsigndocument: - for _item in self.a_obj_ezmaxinvoicingezsigndocument: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingezsigndocument in self.a_obj_ezmaxinvoicingezsigndocument: + if _item_a_obj_ezmaxinvoicingezsigndocument: + _items.append(_item_a_obj_ezmaxinvoicingezsigndocument.to_dict()) _dict['a_objEzmaxinvoicingezsigndocument'] = _items return _dict diff --git a/eZmaxApi/models/ezmaxinvoicing_response_compound.py b/eZmaxApi/models/ezmaxinvoicing_response_compound.py index 5c5925dfd..968639f30 100644 --- a/eZmaxApi/models/ezmaxinvoicing_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicing_response_compound.py @@ -128,51 +128,51 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingsummaryglobal (list) _items = [] if self.a_obj_ezmaxinvoicingsummaryglobal: - for _item in self.a_obj_ezmaxinvoicingsummaryglobal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingsummaryglobal in self.a_obj_ezmaxinvoicingsummaryglobal: + if _item_a_obj_ezmaxinvoicingsummaryglobal: + _items.append(_item_a_obj_ezmaxinvoicingsummaryglobal.to_dict()) _dict['a_objEzmaxinvoicingsummaryglobal'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingsummaryexternal (list) _items = [] if self.a_obj_ezmaxinvoicingsummaryexternal: - for _item in self.a_obj_ezmaxinvoicingsummaryexternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingsummaryexternal in self.a_obj_ezmaxinvoicingsummaryexternal: + if _item_a_obj_ezmaxinvoicingsummaryexternal: + _items.append(_item_a_obj_ezmaxinvoicingsummaryexternal.to_dict()) _dict['a_objEzmaxinvoicingsummaryexternal'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingsummaryinternal (list) _items = [] if self.a_obj_ezmaxinvoicingsummaryinternal: - for _item in self.a_obj_ezmaxinvoicingsummaryinternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingsummaryinternal in self.a_obj_ezmaxinvoicingsummaryinternal: + if _item_a_obj_ezmaxinvoicingsummaryinternal: + _items.append(_item_a_obj_ezmaxinvoicingsummaryinternal.to_dict()) _dict['a_objEzmaxinvoicingsummaryinternal'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingagent (list) _items = [] if self.a_obj_ezmaxinvoicingagent: - for _item in self.a_obj_ezmaxinvoicingagent: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingagent in self.a_obj_ezmaxinvoicingagent: + if _item_a_obj_ezmaxinvoicingagent: + _items.append(_item_a_obj_ezmaxinvoicingagent.to_dict()) _dict['a_objEzmaxinvoicingagent'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicinguser (list) _items = [] if self.a_obj_ezmaxinvoicinguser: - for _item in self.a_obj_ezmaxinvoicinguser: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicinguser in self.a_obj_ezmaxinvoicinguser: + if _item_a_obj_ezmaxinvoicinguser: + _items.append(_item_a_obj_ezmaxinvoicinguser.to_dict()) _dict['a_objEzmaxinvoicinguser'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingezsignfolder (list) _items = [] if self.a_obj_ezmaxinvoicingezsignfolder: - for _item in self.a_obj_ezmaxinvoicingezsignfolder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingezsignfolder in self.a_obj_ezmaxinvoicingezsignfolder: + if _item_a_obj_ezmaxinvoicingezsignfolder: + _items.append(_item_a_obj_ezmaxinvoicingezsignfolder.to_dict()) _dict['a_objEzmaxinvoicingezsignfolder'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingezsigndocument (list) _items = [] if self.a_obj_ezmaxinvoicingezsigndocument: - for _item in self.a_obj_ezmaxinvoicingezsigndocument: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingezsigndocument in self.a_obj_ezmaxinvoicingezsigndocument: + if _item_a_obj_ezmaxinvoicingezsigndocument: + _items.append(_item_a_obj_ezmaxinvoicingezsigndocument.to_dict()) _dict['a_objEzmaxinvoicingezsigndocument'] = _items return _dict diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response_compound.py b/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response_compound.py index de3206922..04ce90d72 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response_compound.py @@ -79,9 +79,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingsummaryexternaldetail (list) _items = [] if self.a_obj_ezmaxinvoicingsummaryexternaldetail: - for _item in self.a_obj_ezmaxinvoicingsummaryexternaldetail: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingsummaryexternaldetail in self.a_obj_ezmaxinvoicingsummaryexternaldetail: + if _item_a_obj_ezmaxinvoicingsummaryexternaldetail: + _items.append(_item_a_obj_ezmaxinvoicingsummaryexternaldetail.to_dict()) _dict['a_objEzmaxinvoicingsummaryexternaldetail'] = _items return _dict diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response_compound.py b/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response_compound.py index 01270081e..80f888471 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response_compound.py @@ -172,9 +172,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingcommission (list) _items = [] if self.a_obj_ezmaxinvoicingcommission: - for _item in self.a_obj_ezmaxinvoicingcommission: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingcommission in self.a_obj_ezmaxinvoicingcommission: + if _item_a_obj_ezmaxinvoicingcommission: + _items.append(_item_a_obj_ezmaxinvoicingcommission.to_dict()) _dict['a_objEzmaxinvoicingcommission'] = _items return _dict diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response_compound.py b/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response_compound.py index 4755f958d..5e33b1442 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response_compound.py @@ -84,9 +84,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingsummaryinternaldetail (list) _items = [] if self.a_obj_ezmaxinvoicingsummaryinternaldetail: - for _item in self.a_obj_ezmaxinvoicingsummaryinternaldetail: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxinvoicingsummaryinternaldetail in self.a_obj_ezmaxinvoicingsummaryinternaldetail: + if _item_a_obj_ezmaxinvoicingsummaryinternaldetail: + _items.append(_item_a_obj_ezmaxinvoicingsummaryinternaldetail.to_dict()) _dict['a_objEzmaxinvoicingsummaryinternaldetail'] = _items return _dict diff --git a/eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response_m_payload.py index a8a5f3fe6..2f52c9b59 100644 --- a/eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxproduct (list) _items = [] if self.a_obj_ezmaxproduct: - for _item in self.a_obj_ezmaxproduct: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezmaxproduct in self.a_obj_ezmaxproduct: + if _item_a_obj_ezmaxproduct: + _items.append(_item_a_obj_ezmaxproduct.to_dict()) _dict['a_objEzmaxproduct'] = _items return _dict diff --git a/eZmaxApi/models/ezsign_suggest_signers_v1_response.py b/eZmaxApi/models/ezsign_suggest_signers_v1_response.py deleted file mode 100644 index 2cf6cb1a1..000000000 --- a/eZmaxApi/models/ezsign_suggest_signers_v1_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsign_suggest_signers_v1_response_m_payload import EzsignSuggestSignersV1ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsignSuggestSignersV1Response(BaseModel): - """ - Response for GET /1/module/ezsign/suggestSigners - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsignSuggestSignersV1ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignSuggestSignersV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignSuggestSignersV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsignSuggestSignersV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsign_suggest_signers_v1_response_m_payload.py b/eZmaxApi/models/ezsign_suggest_signers_v1_response_m_payload.py deleted file mode 100644 index 18c05f2b8..000000000 --- a/eZmaxApi/models/ezsign_suggest_signers_v1_response_m_payload.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.custom_user_response import CustomUserResponse -from eZmaxApi.models.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsignSuggestSignersV1ResponseMPayload(BaseModel): - """ - Payload for GET /1/module/ezsign/suggestSigners - """ # noqa: E501 - a_obj_ezsignfoldersignerassociation: List[EzsignfoldersignerassociationResponseCompound] = Field(alias="a_objEzsignfoldersignerassociation") - a_obj_user_team: List[CustomUserResponse] = Field(alias="a_objUserTeam") - a_obj_user: List[CustomUserResponse] = Field(alias="a_objUser") - __properties: ClassVar[List[str]] = ["a_objEzsignfoldersignerassociation", "a_objUserTeam", "a_objUser"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignSuggestSignersV1ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldersignerassociation (list) - _items = [] - if self.a_obj_ezsignfoldersignerassociation: - for _item in self.a_obj_ezsignfoldersignerassociation: - if _item: - _items.append(_item.to_dict()) - _dict['a_objEzsignfoldersignerassociation'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_user_team (list) - _items = [] - if self.a_obj_user_team: - for _item in self.a_obj_user_team: - if _item: - _items.append(_item.to_dict()) - _dict['a_objUserTeam'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_user (list) - _items = [] - if self.a_obj_user: - for _item in self.a_obj_user: - if _item: - _items.append(_item.to_dict()) - _dict['a_objUser'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignSuggestSignersV1ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_objEzsignfoldersignerassociation": [EzsignfoldersignerassociationResponseCompound.from_dict(_item) for _item in obj["a_objEzsignfoldersignerassociation"]] if obj.get("a_objEzsignfoldersignerassociation") is not None else None, - "a_objUserTeam": [CustomUserResponse.from_dict(_item) for _item in obj["a_objUserTeam"]] if obj.get("a_objUserTeam") is not None else None, - "a_objUser": [CustomUserResponse.from_dict(_item) for _item in obj["a_objUser"]] if obj.get("a_objUser") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsign_suggest_templates_v1_response.py b/eZmaxApi/models/ezsign_suggest_templates_v1_response.py deleted file mode 100644 index 9509b729e..000000000 --- a/eZmaxApi/models/ezsign_suggest_templates_v1_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsign_suggest_templates_v1_response_m_payload import EzsignSuggestTemplatesV1ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsignSuggestTemplatesV1Response(BaseModel): - """ - Response for GET /1/module/ezsign/suggestTemplates - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsignSuggestTemplatesV1ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignSuggestTemplatesV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignSuggestTemplatesV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsignSuggestTemplatesV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsign_suggest_templates_v1_response_m_payload.py b/eZmaxApi/models/ezsign_suggest_templates_v1_response_m_payload.py deleted file mode 100644 index 389fe97cc..000000000 --- a/eZmaxApi/models/ezsign_suggest_templates_v1_response_m_payload.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplate_response_compound import EzsigntemplateResponseCompound -from eZmaxApi.models.ezsigntemplateglobal_response_compound import EzsigntemplateglobalResponseCompound -from eZmaxApi.models.ezsigntemplatepackage_response_compound import EzsigntemplatepackageResponseCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsignSuggestTemplatesV1ResponseMPayload(BaseModel): - """ - Payload for GET /1/module/ezsign/suggestTemplates - """ # noqa: E501 - a_obj_ezsigntemplate: List[EzsigntemplateResponseCompound] = Field(alias="a_objEzsigntemplate") - a_obj_ezsigntemplatepackage: List[EzsigntemplatepackageResponseCompound] = Field(alias="a_objEzsigntemplatepackage") - a_obj_ezsigntemplateglobal: List[EzsigntemplateglobalResponseCompound] = Field(alias="a_objEzsigntemplateglobal") - __properties: ClassVar[List[str]] = ["a_objEzsigntemplate", "a_objEzsigntemplatepackage", "a_objEzsigntemplateglobal"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignSuggestTemplatesV1ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplate (list) - _items = [] - if self.a_obj_ezsigntemplate: - for _item in self.a_obj_ezsigntemplate: - if _item: - _items.append(_item.to_dict()) - _dict['a_objEzsigntemplate'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackage (list) - _items = [] - if self.a_obj_ezsigntemplatepackage: - for _item in self.a_obj_ezsigntemplatepackage: - if _item: - _items.append(_item.to_dict()) - _dict['a_objEzsigntemplatepackage'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateglobal (list) - _items = [] - if self.a_obj_ezsigntemplateglobal: - for _item in self.a_obj_ezsigntemplateglobal: - if _item: - _items.append(_item.to_dict()) - _dict['a_objEzsigntemplateglobal'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignSuggestTemplatesV1ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_objEzsigntemplate": [EzsigntemplateResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplate"]] if obj.get("a_objEzsigntemplate") is not None else None, - "a_objEzsigntemplatepackage": [EzsigntemplatepackageResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatepackage"]] if obj.get("a_objEzsigntemplatepackage") is not None else None, - "a_objEzsigntemplateglobal": [EzsigntemplateglobalResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateglobal"]] if obj.get("a_objEzsigntemplateglobal") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignannotation_create_object_v1_request.py b/eZmaxApi/models/ezsignannotation_create_object_v1_request.py new file mode 100644 index 000000000..711ea57a5 --- /dev/null +++ b/eZmaxApi/models/ezsignannotation_create_object_v1_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsignannotation_request_compound import EzsignannotationRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsignannotationCreateObjectV1Request(BaseModel): + """ + Request for POST /1/object/ezsignannotation + """ # noqa: E501 + a_obj_ezsignannotation: Annotated[List[EzsignannotationRequestCompound], Field(min_length=1)] = Field(alias="a_objEzsignannotation") + __properties: ClassVar[List[str]] = ["a_objEzsignannotation"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignannotationCreateObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignannotation (list) + _items = [] + if self.a_obj_ezsignannotation: + for _item_a_obj_ezsignannotation in self.a_obj_ezsignannotation: + if _item_a_obj_ezsignannotation: + _items.append(_item_a_obj_ezsignannotation.to_dict()) + _dict['a_objEzsignannotation'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignannotationCreateObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsignannotation": [EzsignannotationRequestCompound.from_dict(_item) for _item in obj["a_objEzsignannotation"]] if obj.get("a_objEzsignannotation") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignannotation_create_object_v1_response.py b/eZmaxApi/models/ezsignannotation_create_object_v1_response.py new file mode 100644 index 000000000..e6fa1fd0b --- /dev/null +++ b/eZmaxApi/models/ezsignannotation_create_object_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignannotation_create_object_v1_response_m_payload import EzsignannotationCreateObjectV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignannotationCreateObjectV1Response(BaseModel): + """ + Response for POST /1/object/ezsignannotation + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignannotationCreateObjectV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignannotationCreateObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignannotationCreateObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignannotationCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignannotation_create_object_v1_response_m_payload.py b/eZmaxApi/models/ezsignannotation_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..429239adc --- /dev/null +++ b/eZmaxApi/models/ezsignannotation_create_object_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class EzsignannotationCreateObjectV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/ezsignannotation + """ # noqa: E501 + a_pki_ezsignannotation_id: List[StrictInt] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsignannotationID") + __properties: ClassVar[List[str]] = ["a_pkiEzsignannotationID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignannotationCreateObjectV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignannotationCreateObjectV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzsignannotationID": obj.get("a_pkiEzsignannotationID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignannotation_delete_object_v1_response.py b/eZmaxApi/models/ezsignannotation_delete_object_v1_response.py new file mode 100644 index 000000000..06d750c2c --- /dev/null +++ b/eZmaxApi/models/ezsignannotation_delete_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignannotationDeleteObjectV1Response(BaseModel): + """ + Response for DELETE /1/object/ezsignannotation/{pkiEzsignannotationID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignannotationDeleteObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignannotationDeleteObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignannotation_edit_object_v1_request.py b/eZmaxApi/models/ezsignannotation_edit_object_v1_request.py new file mode 100644 index 000000000..e6e650618 --- /dev/null +++ b/eZmaxApi/models/ezsignannotation_edit_object_v1_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignannotation_request_compound import EzsignannotationRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsignannotationEditObjectV1Request(BaseModel): + """ + Request for PUT /1/object/ezsignannotation/{pkiEzsignannotationID} + """ # noqa: E501 + obj_ezsignannotation: EzsignannotationRequestCompound = Field(alias="objEzsignannotation") + __properties: ClassVar[List[str]] = ["objEzsignannotation"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignannotationEditObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignannotation + if self.obj_ezsignannotation: + _dict['objEzsignannotation'] = self.obj_ezsignannotation.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignannotationEditObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignannotation": EzsignannotationRequestCompound.from_dict(obj["objEzsignannotation"]) if obj.get("objEzsignannotation") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignannotation_edit_object_v1_response.py b/eZmaxApi/models/ezsignannotation_edit_object_v1_response.py new file mode 100644 index 000000000..360f9e044 --- /dev/null +++ b/eZmaxApi/models/ezsignannotation_edit_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignannotationEditObjectV1Response(BaseModel): + """ + Response for PUT /1/object/ezsignannotation/{pkiEzsignannotationID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignannotationEditObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignannotationEditObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignannotation_get_object_v2_response.py b/eZmaxApi/models/ezsignannotation_get_object_v2_response.py new file mode 100644 index 000000000..961350738 --- /dev/null +++ b/eZmaxApi/models/ezsignannotation_get_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignannotation_get_object_v2_response_m_payload import EzsignannotationGetObjectV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignannotationGetObjectV2Response(BaseModel): + """ + Response for GET /2/object/ezsignannotation/{pkiEzsignannotationID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignannotationGetObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignannotationGetObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignannotationGetObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignannotationGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignannotation_get_object_v2_response_m_payload.py b/eZmaxApi/models/ezsignannotation_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..133b34a78 --- /dev/null +++ b/eZmaxApi/models/ezsignannotation_get_object_v2_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignannotation_response_compound import EzsignannotationResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsignannotationGetObjectV2ResponseMPayload(BaseModel): + """ + Payload for GET /2/object/ezsignannotation/{pkiEzsignannotationID} + """ # noqa: E501 + obj_ezsignannotation: EzsignannotationResponseCompound = Field(alias="objEzsignannotation") + __properties: ClassVar[List[str]] = ["objEzsignannotation"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignannotationGetObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignannotation + if self.obj_ezsignannotation: + _dict['objEzsignannotation'] = self.obj_ezsignannotation.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignannotationGetObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignannotation": EzsignannotationResponseCompound.from_dict(obj["objEzsignannotation"]) if obj.get("objEzsignannotation") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignannotation_request.py b/eZmaxApi/models/ezsignannotation_request.py new file mode 100644 index 000000000..a5f57b8cc --- /dev/null +++ b/eZmaxApi/models/ezsignannotation_request.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment +from eZmaxApi.models.enum_verticalalignment import EnumVerticalalignment +from eZmaxApi.models.field_e_ezsignannotation_type import FieldEEzsignannotationType +from typing import Optional, Set +from typing_extensions import Self + +class EzsignannotationRequest(BaseModel): + """ + A Ezsignannotation Object + """ # noqa: E501 + pki_ezsignannotation_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Ezsignannotation", alias="pkiEzsignannotationID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + e_ezsignannotation_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsignannotationHorizontalalignment") + e_ezsignannotation_verticalalignment: Optional[EnumVerticalalignment] = Field(default=None, alias="eEzsignannotationVerticalalignment") + e_ezsignannotation_type: FieldEEzsignannotationType = Field(alias="eEzsignannotationType") + i_ezsignannotation_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignannotationX") + i_ezsignannotation_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignannotationY") + i_ezsignannotation_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Width of the Ezsignannotation. Width is calculated at 100dpi (dot per inch). So for example, if you want to have the width of the Ezsignannotation to be 3 inches, you would use \"300\" for the Width.", alias="iEzsignannotationWidth") + i_ezsignannotation_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Height of the Ezsignannotation. Height is calculated at 100dpi (dot per inch). So for example, if you want to have the height of the Ezsignannotation to be 2 inches, you would use \"200\" for the Height. This can only be set if eEzsignannotationType is **StrikethroughBlock** or **Text**", alias="iEzsignannotationHeight") + s_ezsignannotation_text: Optional[StrictStr] = Field(default=None, description="The Text of the Ezsignannotation", alias="sEzsignannotationText") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + __properties: ClassVar[List[str]] = ["pkiEzsignannotationID", "fkiEzsigndocumentID", "eEzsignannotationHorizontalalignment", "eEzsignannotationVerticalalignment", "eEzsignannotationType", "iEzsignannotationX", "iEzsignannotationY", "iEzsignannotationWidth", "iEzsignannotationHeight", "sEzsignannotationText", "iEzsignpagePagenumber"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignannotationRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignannotationRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignannotationID": obj.get("pkiEzsignannotationID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "eEzsignannotationHorizontalalignment": obj.get("eEzsignannotationHorizontalalignment"), + "eEzsignannotationVerticalalignment": obj.get("eEzsignannotationVerticalalignment"), + "eEzsignannotationType": obj.get("eEzsignannotationType"), + "iEzsignannotationX": obj.get("iEzsignannotationX"), + "iEzsignannotationY": obj.get("iEzsignannotationY"), + "iEzsignannotationWidth": obj.get("iEzsignannotationWidth"), + "iEzsignannotationHeight": obj.get("iEzsignannotationHeight"), + "sEzsignannotationText": obj.get("sEzsignannotationText"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignannotation_request_compound.py b/eZmaxApi/models/ezsignannotation_request_compound.py new file mode 100644 index 000000000..c4dfa909d --- /dev/null +++ b/eZmaxApi/models/ezsignannotation_request_compound.py @@ -0,0 +1,118 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment +from eZmaxApi.models.enum_verticalalignment import EnumVerticalalignment +from eZmaxApi.models.field_e_ezsignannotation_type import FieldEEzsignannotationType +from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsignannotationRequestCompound(BaseModel): + """ + A Ezsignannotation Object and children + """ # noqa: E501 + pki_ezsignannotation_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Ezsignannotation", alias="pkiEzsignannotationID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + e_ezsignannotation_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsignannotationHorizontalalignment") + e_ezsignannotation_verticalalignment: Optional[EnumVerticalalignment] = Field(default=None, alias="eEzsignannotationVerticalalignment") + e_ezsignannotation_type: FieldEEzsignannotationType = Field(alias="eEzsignannotationType") + i_ezsignannotation_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignannotationX") + i_ezsignannotation_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignannotationY") + i_ezsignannotation_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Width of the Ezsignannotation. Width is calculated at 100dpi (dot per inch). So for example, if you want to have the width of the Ezsignannotation to be 3 inches, you would use \"300\" for the Width.", alias="iEzsignannotationWidth") + i_ezsignannotation_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Height of the Ezsignannotation. Height is calculated at 100dpi (dot per inch). So for example, if you want to have the height of the Ezsignannotation to be 2 inches, you would use \"200\" for the Height. This can only be set if eEzsignannotationType is **StrikethroughBlock** or **Text**", alias="iEzsignannotationHeight") + s_ezsignannotation_text: Optional[StrictStr] = Field(default=None, description="The Text of the Ezsignannotation", alias="sEzsignannotationText") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + obj_textstylestatic: Optional[TextstylestaticRequestCompound] = Field(default=None, alias="objTextstylestatic") + __properties: ClassVar[List[str]] = ["pkiEzsignannotationID", "fkiEzsigndocumentID", "eEzsignannotationHorizontalalignment", "eEzsignannotationVerticalalignment", "eEzsignannotationType", "iEzsignannotationX", "iEzsignannotationY", "iEzsignannotationWidth", "iEzsignannotationHeight", "sEzsignannotationText", "iEzsignpagePagenumber", "objTextstylestatic"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignannotationRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_textstylestatic + if self.obj_textstylestatic: + _dict['objTextstylestatic'] = self.obj_textstylestatic.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignannotationRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignannotationID": obj.get("pkiEzsignannotationID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "eEzsignannotationHorizontalalignment": obj.get("eEzsignannotationHorizontalalignment"), + "eEzsignannotationVerticalalignment": obj.get("eEzsignannotationVerticalalignment"), + "eEzsignannotationType": obj.get("eEzsignannotationType"), + "iEzsignannotationX": obj.get("iEzsignannotationX"), + "iEzsignannotationY": obj.get("iEzsignannotationY"), + "iEzsignannotationWidth": obj.get("iEzsignannotationWidth"), + "iEzsignannotationHeight": obj.get("iEzsignannotationHeight"), + "sEzsignannotationText": obj.get("sEzsignannotationText"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber"), + "objTextstylestatic": TextstylestaticRequestCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_request.py b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_request.py deleted file mode 100644 index c7ce583fb..000000000 --- a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_request.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBytes, StrictStr -from typing import Any, ClassVar, Dict, List, Optional, Union -from typing_extensions import Annotated -from eZmaxApi.models.field_e_ezsignfolder_sendreminderfrequency import FieldEEzsignfolderSendreminderfrequency -from typing import Optional, Set -from typing_extensions import Self - -class EzsignbulksendCreateEzsignbulksendtransmissionV1Request(BaseModel): - """ - Request for POST /1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission - """ # noqa: E501 - fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**|", alias="fkiUserlogintypeID") - fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") - s_ezsignbulksendtransmission_description: StrictStr = Field(description="The description of the Ezsignbulksendtransmission", alias="sEzsignbulksendtransmissionDescription") - dt_ezsigndocument_duedate: StrictStr = Field(description="The maximum date and time at which the Ezsigndocument can be signed.", alias="dtEzsigndocumentDuedate") - e_ezsignfolder_sendreminderfrequency: FieldEEzsignfolderSendreminderfrequency = Field(alias="eEzsignfolderSendreminderfrequency") - t_extra_message: StrictStr = Field(description="A custom text message that will be added to the email sent.", alias="tExtraMessage") - s_csv_base64: Union[StrictBytes, StrictStr] = Field(description="The Base64 encoded binary content of the CSV file.", alias="sCsvBase64") - __properties: ClassVar[List[str]] = ["fkiUserlogintypeID", "fkiEzsigntsarequirementID", "sEzsignbulksendtransmissionDescription", "dtEzsigndocumentDuedate", "eEzsignfolderSendreminderfrequency", "tExtraMessage", "sCsvBase64"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), - "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), - "sEzsignbulksendtransmissionDescription": obj.get("sEzsignbulksendtransmissionDescription"), - "dtEzsigndocumentDuedate": obj.get("dtEzsigndocumentDuedate"), - "eEzsignfolderSendreminderfrequency": obj.get("eEzsignfolderSendreminderfrequency"), - "tExtraMessage": obj.get("tExtraMessage"), - "sCsvBase64": obj.get("sCsvBase64") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_response.py b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_response.py deleted file mode 100644 index 64ccbf307..000000000 --- a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsignbulksendCreateEzsignbulksendtransmissionV1Response(BaseModel): - """ - Response for POST /1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.py b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.py deleted file mode 100644 index e408eeb48..000000000 --- a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignbulksendtransmission_response import EzsignbulksendtransmissionResponse -from typing import Optional, Set -from typing_extensions import Self - -class EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload(BaseModel): - """ - Payload for POST /1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission - """ # noqa: E501 - obj_ezsignbulksendtransmission: EzsignbulksendtransmissionResponse = Field(alias="objEzsignbulksendtransmission") - __properties: ClassVar[List[str]] = ["objEzsignbulksendtransmission"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignbulksendtransmission - if self.obj_ezsignbulksendtransmission: - _dict['objEzsignbulksendtransmission'] = self.obj_ezsignbulksendtransmission.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsignbulksendtransmission": EzsignbulksendtransmissionResponse.from_dict(obj["objEzsignbulksendtransmission"]) if obj.get("objEzsignbulksendtransmission") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_request.py b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_request.py new file mode 100644 index 000000000..0b7883813 --- /dev/null +++ b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_request.py @@ -0,0 +1,103 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBytes, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsignbulksendCreateEzsignbulksendtransmissionV2Request(BaseModel): + """ + Request for POST /1/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission + """ # noqa: E501 + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + s_ezsignbulksendtransmission_description: StrictStr = Field(description="The description of the Ezsignbulksendtransmission", alias="sEzsignbulksendtransmissionDescription") + dt_ezsigndocument_duedate: StrictStr = Field(description="The maximum date and time at which the Ezsigndocument can be signed.", alias="dtEzsigndocumentDuedate") + i_ezsignfolder_sendreminderfirstdays: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") + t_extra_message: StrictStr = Field(description="A custom text message that will be added to the email sent.", alias="tExtraMessage") + s_csv_base64: Union[StrictBytes, StrictStr] = Field(description="The Base64 encoded binary content of the CSV file.", alias="sCsvBase64") + __properties: ClassVar[List[str]] = ["fkiUserlogintypeID", "fkiEzsigntsarequirementID", "sEzsignbulksendtransmissionDescription", "dtEzsigndocumentDuedate", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "tExtraMessage", "sCsvBase64"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "sEzsignbulksendtransmissionDescription": obj.get("sEzsignbulksendtransmissionDescription"), + "dtEzsigndocumentDuedate": obj.get("dtEzsigndocumentDuedate"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), + "tExtraMessage": obj.get("tExtraMessage"), + "sCsvBase64": obj.get("sCsvBase64") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py new file mode 100644 index 000000000..4979cd7fc --- /dev/null +++ b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignbulksendCreateEzsignbulksendtransmissionV2Response(BaseModel): + """ + Response for POST /2/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.py b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.py new file mode 100644 index 000000000..bcd0fbb41 --- /dev/null +++ b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignbulksendtransmission_response import EzsignbulksendtransmissionResponse +from typing import Optional, Set +from typing_extensions import Self + +class EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission + """ # noqa: E501 + obj_ezsignbulksendtransmission: EzsignbulksendtransmissionResponse = Field(alias="objEzsignbulksendtransmission") + __properties: ClassVar[List[str]] = ["objEzsignbulksendtransmission"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignbulksendtransmission + if self.obj_ezsignbulksendtransmission: + _dict['objEzsignbulksendtransmission'] = self.obj_ezsignbulksendtransmission.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignbulksendtransmission": EzsignbulksendtransmissionResponse.from_dict(obj["objEzsignbulksendtransmission"]) if obj.get("objEzsignbulksendtransmission") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignbulksend_create_object_v1_request.py b/eZmaxApi/models/ezsignbulksend_create_object_v1_request.py index 86fc35a22..8630f0173 100644 --- a/eZmaxApi/models/ezsignbulksend_create_object_v1_request.py +++ b/eZmaxApi/models/ezsignbulksend_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignbulksend (list) _items = [] if self.a_obj_ezsignbulksend: - for _item in self.a_obj_ezsignbulksend: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignbulksend in self.a_obj_ezsignbulksend: + if _item_a_obj_ezsignbulksend: + _items.append(_item_a_obj_ezsignbulksend.to_dict()) _dict['a_objEzsignbulksend'] = _items return _dict diff --git a/eZmaxApi/models/ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.py b/eZmaxApi/models/ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.py index afa090de4..7593673f4 100644 --- a/eZmaxApi/models/ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignbulksendtransmission (list) _items = [] if self.a_obj_ezsignbulksendtransmission: - for _item in self.a_obj_ezsignbulksendtransmission: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignbulksendtransmission in self.a_obj_ezsignbulksendtransmission: + if _item_a_obj_ezsignbulksendtransmission: + _items.append(_item_a_obj_ezsignbulksendtransmission.to_dict()) _dict['a_objEzsignbulksendtransmission'] = _items return _dict diff --git a/eZmaxApi/models/ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.py b/eZmaxApi/models/ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.py index 3563bd580..d08eff57d 100644 --- a/eZmaxApi/models/ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfolder (list) _items = [] if self.a_obj_ezsignfolder: - for _item in self.a_obj_ezsignfolder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfolder in self.a_obj_ezsignfolder: + if _item_a_obj_ezsignfolder: + _items.append(_item_a_obj_ezsignfolder.to_dict()) _dict['a_objEzsignfolder'] = _items return _dict diff --git a/eZmaxApi/models/ezsignbulksend_get_forms_data_v1_response_m_payload.py b/eZmaxApi/models/ezsignbulksend_get_forms_data_v1_response_m_payload.py index 3a6d7c51f..fd5a110fc 100644 --- a/eZmaxApi/models/ezsignbulksend_get_forms_data_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignbulksend_get_forms_data_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_forms_data_folder (list) _items = [] if self.a_obj_forms_data_folder: - for _item in self.a_obj_forms_data_folder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_forms_data_folder in self.a_obj_forms_data_folder: + if _item_a_obj_forms_data_folder: + _items.append(_item_a_obj_forms_data_folder.to_dict()) _dict['a_objFormsDataFolder'] = _items return _dict diff --git a/eZmaxApi/models/ezsignbulksend_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsignbulksend_get_list_v1_response_m_payload.py index 8378573b9..3c8e173f7 100644 --- a/eZmaxApi/models/ezsignbulksend_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignbulksend_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignbulksend (list) _items = [] if self.a_obj_ezsignbulksend: - for _item in self.a_obj_ezsignbulksend: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignbulksend in self.a_obj_ezsignbulksend: + if _item_a_obj_ezsignbulksend: + _items.append(_item_a_obj_ezsignbulksend.to_dict()) _dict['a_objEzsignbulksend'] = _items return _dict diff --git a/eZmaxApi/models/ezsignbulksend_response_compound.py b/eZmaxApi/models/ezsignbulksend_response_compound.py index 7a133e10b..9f18ead5a 100644 --- a/eZmaxApi/models/ezsignbulksend_response_compound.py +++ b/eZmaxApi/models/ezsignbulksend_response_compound.py @@ -92,16 +92,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignbulksenddocumentmapping (list) _items = [] if self.a_obj_ezsignbulksenddocumentmapping: - for _item in self.a_obj_ezsignbulksenddocumentmapping: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignbulksenddocumentmapping in self.a_obj_ezsignbulksenddocumentmapping: + if _item_a_obj_ezsignbulksenddocumentmapping: + _items.append(_item_a_obj_ezsignbulksenddocumentmapping.to_dict()) _dict['a_objEzsignbulksenddocumentmapping'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignbulksendsignermapping (list) _items = [] if self.a_obj_ezsignbulksendsignermapping: - for _item in self.a_obj_ezsignbulksendsignermapping: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignbulksendsignermapping in self.a_obj_ezsignbulksendsignermapping: + if _item_a_obj_ezsignbulksendsignermapping: + _items.append(_item_a_obj_ezsignbulksendsignermapping.to_dict()) _dict['a_objEzsignbulksendsignermapping'] = _items return _dict diff --git a/eZmaxApi/models/ezsignbulksenddocumentmapping_create_object_v1_request.py b/eZmaxApi/models/ezsignbulksenddocumentmapping_create_object_v1_request.py index c2f7b84a3..6658af476 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_create_object_v1_request.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignbulksenddocumentmapping (list) _items = [] if self.a_obj_ezsignbulksenddocumentmapping: - for _item in self.a_obj_ezsignbulksenddocumentmapping: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignbulksenddocumentmapping in self.a_obj_ezsignbulksenddocumentmapping: + if _item_a_obj_ezsignbulksenddocumentmapping: + _items.append(_item_a_obj_ezsignbulksenddocumentmapping.to_dict()) _dict['a_objEzsignbulksenddocumentmapping'] = _items return _dict diff --git a/eZmaxApi/models/ezsignbulksendsignermapping_create_object_v1_request.py b/eZmaxApi/models/ezsignbulksendsignermapping_create_object_v1_request.py index 65e339ed3..46b99dbbf 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_create_object_v1_request.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignbulksendsignermapping (list) _items = [] if self.a_obj_ezsignbulksendsignermapping: - for _item in self.a_obj_ezsignbulksendsignermapping: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignbulksendsignermapping in self.a_obj_ezsignbulksendsignermapping: + if _item_a_obj_ezsignbulksendsignermapping: + _items.append(_item_a_obj_ezsignbulksendsignermapping.to_dict()) _dict['a_objEzsignbulksendsignermapping'] = _items return _dict diff --git a/eZmaxApi/models/ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.py b/eZmaxApi/models/ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.py index fbc909f4c..e56361bc8 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfolder (list) _items = [] if self.a_obj_ezsignfolder: - for _item in self.a_obj_ezsignfolder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfolder in self.a_obj_ezsignfolder: + if _item_a_obj_ezsignfolder: + _items.append(_item_a_obj_ezsignfolder.to_dict()) _dict['a_objEzsignfolder'] = _items return _dict diff --git a/eZmaxApi/models/ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.py b/eZmaxApi/models/ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.py index 04c360aef..d00b26b3e 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_forms_data_folder (list) _items = [] if self.a_obj_forms_data_folder: - for _item in self.a_obj_forms_data_folder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_forms_data_folder in self.a_obj_forms_data_folder: + if _item_a_obj_forms_data_folder: + _items.append(_item_a_obj_forms_data_folder.to_dict()) _dict['a_objFormsDataFolder'] = _items return _dict diff --git a/eZmaxApi/models/ezsignbulksendtransmission_response_compound.py b/eZmaxApi/models/ezsignbulksendtransmission_response_compound.py index fae8243a4..92b2459a7 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_response_compound.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_response_compound.py @@ -83,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldertransmission (list) _items = [] if self.a_obj_ezsignfoldertransmission: - for _item in self.a_obj_ezsignfoldertransmission: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfoldertransmission in self.a_obj_ezsignfoldertransmission: + if _item_a_obj_ezsignfoldertransmission: + _items.append(_item_a_obj_ezsignfoldertransmission.to_dict()) _dict['a_objEzsignfoldertransmission'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndiscussion_create_object_v1_request.py b/eZmaxApi/models/ezsigndiscussion_create_object_v1_request.py index c3f46b792..8d2d367a3 100644 --- a/eZmaxApi/models/ezsigndiscussion_create_object_v1_request.py +++ b/eZmaxApi/models/ezsigndiscussion_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndiscussion (list) _items = [] if self.a_obj_ezsigndiscussion: - for _item in self.a_obj_ezsigndiscussion: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigndiscussion in self.a_obj_ezsigndiscussion: + if _item_a_obj_ezsigndiscussion: + _items.append(_item_a_obj_ezsigndiscussion.to_dict()) _dict['a_objEzsigndiscussion'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py index 555c4da80..bfbd254b0 100644 --- a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py +++ b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py @@ -83,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_warning (list) _items = [] if self.a_obj_warning: - for _item in self.a_obj_warning: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_warning in self.a_obj_warning: + if _item_a_obj_warning: + _items.append(_item_a_obj_warning.to_dict()) _dict['a_objWarning'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py index b7cda00b1..f632dba0a 100644 --- a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py @@ -83,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_warning (list) _items = [] if self.a_obj_warning: - for _item in self.a_obj_warning: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_warning in self.a_obj_warning: + if _item_a_obj_warning: + _items.append(_item_a_obj_warning.to_dict()) _dict['a_objWarning'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_create_element_v3_response.py b/eZmaxApi/models/ezsigndocument_create_element_v3_response.py new file mode 100644 index 000000000..4d42eb9ef --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_create_element_v3_response.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response import EzsigndocumentMatchingtemplateV3Response +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentCreateElementV3Response(BaseModel): + """ + A Ezsigndocument createObject Response + """ # noqa: E501 + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="pkiEzsigndocumentID") + a_obj_matchingtemplate: List[EzsigndocumentMatchingtemplateV3Response] = Field(description="An array of possibly matching template.", alias="a_objMatchingtemplate") + __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "a_objMatchingtemplate"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentCreateElementV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_matchingtemplate (list) + _items = [] + if self.a_obj_matchingtemplate: + for _item_a_obj_matchingtemplate in self.a_obj_matchingtemplate: + if _item_a_obj_matchingtemplate: + _items.append(_item_a_obj_matchingtemplate.to_dict()) + _dict['a_objMatchingtemplate'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentCreateElementV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigndocumentID": obj.get("pkiEzsigndocumentID"), + "a_objMatchingtemplate": [EzsigndocumentMatchingtemplateV3Response.from_dict(_item) for _item in obj["a_objMatchingtemplate"]] if obj.get("a_objMatchingtemplate") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.py b/eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.py index a7076be6d..fad2e08c1 100644 --- a/eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.py +++ b/eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.py @@ -75,16 +75,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroup (list) _items = [] if self.a_obj_ezsignformfieldgroup: - for _item in self.a_obj_ezsignformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroup in self.a_obj_ezsignformfieldgroup: + if _item_a_obj_ezsignformfieldgroup: + _items.append(_item_a_obj_ezsignformfieldgroup.to_dict()) _dict['a_objEzsignformfieldgroup'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignature (list) _items = [] if self.a_obj_ezsignsignature: - for _item in self.a_obj_ezsignsignature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignature in self.a_obj_ezsignsignature: + if _item_a_obj_ezsignsignature: + _items.append(_item_a_obj_ezsignsignature.to_dict()) _dict['a_objEzsignsignature'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_create_object_v2_request.py b/eZmaxApi/models/ezsigndocument_create_object_v2_request.py index 6f25774e4..c20c6d56a 100644 --- a/eZmaxApi/models/ezsigndocument_create_object_v2_request.py +++ b/eZmaxApi/models/ezsigndocument_create_object_v2_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocument (list) _items = [] if self.a_obj_ezsigndocument: - for _item in self.a_obj_ezsigndocument: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigndocument in self.a_obj_ezsigndocument: + if _item_a_obj_ezsigndocument: + _items.append(_item_a_obj_ezsigndocument.to_dict()) _dict['a_objEzsigndocument'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_create_object_v3_request.py b/eZmaxApi/models/ezsigndocument_create_object_v3_request.py new file mode 100644 index 000000000..42423318a --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_create_object_v3_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsigndocument_request_compound import EzsigndocumentRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentCreateObjectV3Request(BaseModel): + """ + Request for POST /3/object/ezsigndocument + """ # noqa: E501 + a_obj_ezsigndocument: Annotated[List[EzsigndocumentRequestCompound], Field(min_length=1)] = Field(alias="a_objEzsigndocument") + __properties: ClassVar[List[str]] = ["a_objEzsigndocument"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentCreateObjectV3Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocument (list) + _items = [] + if self.a_obj_ezsigndocument: + for _item_a_obj_ezsigndocument in self.a_obj_ezsigndocument: + if _item_a_obj_ezsigndocument: + _items.append(_item_a_obj_ezsigndocument.to_dict()) + _dict['a_objEzsigndocument'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentCreateObjectV3Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsigndocument": [EzsigndocumentRequestCompound.from_dict(_item) for _item in obj["a_objEzsigndocument"]] if obj.get("a_objEzsigndocument") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_create_object_v3_response.py b/eZmaxApi/models/ezsigndocument_create_object_v3_response.py new file mode 100644 index 000000000..a7ca52a6f --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_create_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigndocument_create_object_v3_response_m_payload import EzsigndocumentCreateObjectV3ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentCreateObjectV3Response(BaseModel): + """ + Response for POST /3/object/ezsigndocument + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigndocumentCreateObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentCreateObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentCreateObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigndocumentCreateObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_create_object_v3_response_m_payload.py b/eZmaxApi/models/ezsigndocument_create_object_v3_response_m_payload.py new file mode 100644 index 000000000..8c4f4572d --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_create_object_v3_response_m_payload.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsigndocument_create_element_v3_response import EzsigndocumentCreateElementV3Response +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentCreateObjectV3ResponseMPayload(BaseModel): + """ + Payload for POST /3/object/ezsigndocument + """ # noqa: E501 + a_obj_ezsigndocument: Annotated[List[EzsigndocumentCreateElementV3Response], Field(min_length=1)] = Field(description="An array of objets that contain unique IDs representing the object that were requested to be created and possibly matching template IDs. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_objEzsigndocument") + __properties: ClassVar[List[str]] = ["a_objEzsigndocument"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentCreateObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocument (list) + _items = [] + if self.a_obj_ezsigndocument: + for _item_a_obj_ezsigndocument in self.a_obj_ezsigndocument: + if _item_a_obj_ezsigndocument: + _items.append(_item_a_obj_ezsigndocument.to_dict()) + _dict['a_objEzsigndocument'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentCreateObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsigndocument": [EzsigndocumentCreateElementV3Response.from_dict(_item) for _item in obj["a_objEzsigndocument"]] if obj.get("a_objEzsigndocument") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_request.py b/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_request.py new file mode 100644 index 000000000..583cec23e --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_request.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignannotation_request_compound import EzsignannotationRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentEditEzsignannotationsV1Request(BaseModel): + """ + Request for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannotations + """ # noqa: E501 + a_obj_ezsignannotation: List[EzsignannotationRequestCompound] = Field(alias="a_objEzsignannotation") + __properties: ClassVar[List[str]] = ["a_objEzsignannotation"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentEditEzsignannotationsV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignannotation (list) + _items = [] + if self.a_obj_ezsignannotation: + for _item_a_obj_ezsignannotation in self.a_obj_ezsignannotation: + if _item_a_obj_ezsignannotation: + _items.append(_item_a_obj_ezsignannotation.to_dict()) + _dict['a_objEzsignannotation'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentEditEzsignannotationsV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsignannotation": [EzsignannotationRequestCompound.from_dict(_item) for _item in obj["a_objEzsignannotation"]] if obj.get("a_objEzsignannotation") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response.py b/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response.py new file mode 100644 index 000000000..4be6d7362 --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response_m_payload import EzsigndocumentEditEzsignannotationsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentEditEzsignannotationsV1Response(BaseModel): + """ + Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannotations + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigndocumentEditEzsignannotationsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentEditEzsignannotationsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentEditEzsignannotationsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigndocumentEditEzsignannotationsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response_m_payload.py new file mode 100644 index 000000000..d0dc1ba01 --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentEditEzsignannotationsV1ResponseMPayload(BaseModel): + """ + Payload for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannotations + """ # noqa: E501 + a_pki_ezsignannotation_id: List[StrictInt] = Field(alias="a_pkiEzsignannotationID") + __properties: ClassVar[List[str]] = ["a_pkiEzsignannotationID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentEditEzsignannotationsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentEditEzsignannotationsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzsignannotationID": obj.get("a_pkiEzsignannotationID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_request.py b/eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_request.py index 94d785ec6..f1961b82a 100644 --- a/eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_request.py +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroup (list) _items = [] if self.a_obj_ezsignformfieldgroup: - for _item in self.a_obj_ezsignformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroup in self.a_obj_ezsignformfieldgroup: + if _item_a_obj_ezsignformfieldgroup: + _items.append(_item_a_obj_ezsignformfieldgroup.to_dict()) _dict['a_objEzsignformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_request.py b/eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_request.py index d30333a7f..3e10592dc 100644 --- a/eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_request.py +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignature (list) _items = [] if self.a_obj_ezsignsignature: - for _item in self.a_obj_ezsignsignature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignature in self.a_obj_ezsignsignature: + if _item_a_obj_ezsignsignature: + _items.append(_item_a_obj_ezsignsignature.to_dict()) _dict['a_objEzsignsignature'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_edit_object_v1_request.py b/eZmaxApi/models/ezsigndocument_edit_object_v1_request.py new file mode 100644 index 000000000..111ff50d5 --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_edit_object_v1_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigndocument_request_compound import EzsigndocumentRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentEditObjectV1Request(BaseModel): + """ + Request for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID} + """ # noqa: E501 + obj_ezsigndocument: EzsigndocumentRequestCompound = Field(alias="objEzsigndocument") + __properties: ClassVar[List[str]] = ["objEzsigndocument"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentEditObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsigndocument + if self.obj_ezsigndocument: + _dict['objEzsigndocument'] = self.obj_ezsigndocument.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentEditObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsigndocument": EzsigndocumentRequestCompound.from_dict(obj["objEzsigndocument"]) if obj.get("objEzsigndocument") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_edit_object_v1_response.py b/eZmaxApi/models/ezsigndocument_edit_object_v1_response.py new file mode 100644 index 000000000..6bd4bef16 --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_edit_object_v1_response.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.common_response_warning import CommonResponseWarning +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentEditObjectV1Response(BaseModel): + """ + Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + a_obj_warning: Optional[List[CommonResponseWarning]] = Field(default=None, alias="a_objWarning") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "a_objWarning"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentEditObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_warning (list) + _items = [] + if self.a_obj_warning: + for _item_a_obj_warning in self.a_obj_warning: + if _item_a_obj_warning: + _items.append(_item_a_obj_warning.to_dict()) + _dict['a_objWarning'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentEditObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "a_objWarning": [CommonResponseWarning.from_dict(_item) for _item in obj["a_objWarning"]] if obj.get("a_objWarning") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_extract_text_v1_request.py b/eZmaxApi/models/ezsigndocument_extract_text_v1_request.py new file mode 100644 index 000000000..d7d0df587 --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_extract_text_v1_request.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentExtractTextV1Request(BaseModel): + """ + Request for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/extractText + """ # noqa: E501 + i_page: StrictInt = Field(description="The page where the area is located", alias="iPage") + e_section: Optional[StrictStr] = Field(default=None, description="The section of the page", alias="eSection") + i_x: Optional[StrictInt] = Field(default=None, description="The X coordinate (Horizontal). Require when eSection = 'Region' or eSection is not set.", alias="iX") + i_y: Optional[StrictInt] = Field(default=None, description="The Y coordinate (Vertical). Require when eSection = 'Region' or eSection is not set.", alias="iY") + i_width: Optional[StrictInt] = Field(default=None, description="Area's width. Require when eSection = 'Region' or eSection is not set.", alias="iWidth") + i_height: Optional[StrictInt] = Field(default=None, description="Area's height. Require when eSection = 'Region' or eSection is not set.", alias="iHeight") + __properties: ClassVar[List[str]] = ["iPage", "eSection", "iX", "iY", "iWidth", "iHeight"] + + @field_validator('e_section') + def e_section_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['FirstLine', 'LastLine', 'Region']): + raise ValueError("must be one of enum values ('FirstLine', 'LastLine', 'Region')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentExtractTextV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentExtractTextV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iPage": obj.get("iPage"), + "eSection": obj.get("eSection"), + "iX": obj.get("iX"), + "iY": obj.get("iY"), + "iWidth": obj.get("iWidth"), + "iHeight": obj.get("iHeight") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_extract_text_v1_response.py b/eZmaxApi/models/ezsigndocument_extract_text_v1_response.py new file mode 100644 index 000000000..c7cbc5612 --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_extract_text_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigndocument_extract_text_v1_response_m_payload import EzsigndocumentExtractTextV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentExtractTextV1Response(BaseModel): + """ + Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/extractText + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigndocumentExtractTextV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentExtractTextV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentExtractTextV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigndocumentExtractTextV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_extract_text_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_extract_text_v1_response_m_payload.py new file mode 100644 index 000000000..acaf0c00b --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_extract_text_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentExtractTextV1ResponseMPayload(BaseModel): + """ + Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/ExtractText + """ # noqa: E501 + s_text: StrictStr = Field(description="The text extract from document", alias="sText") + __properties: ClassVar[List[str]] = ["sText"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentExtractTextV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentExtractTextV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sText": obj.get("sText") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response_m_payload.py index 783326dff..08a62f2ea 100644 --- a/eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response_m_payload.py @@ -75,16 +75,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignature (list) _items = [] if self.a_obj_ezsignsignature: - for _item in self.a_obj_ezsignsignature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignature in self.a_obj_ezsignsignature: + if _item_a_obj_ezsignsignature: + _items.append(_item_a_obj_ezsignsignature.to_dict()) _dict['a_objEzsignsignature'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroup (list) _items = [] if self.a_obj_ezsignformfieldgroup: - for _item in self.a_obj_ezsignformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroup in self.a_obj_ezsignformfieldgroup: + if _item_a_obj_ezsignformfieldgroup: + _items.append(_item_a_obj_ezsignformfieldgroup.to_dict()) _dict['a_objEzsignformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_get_attachments_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_attachments_v1_response_m_payload.py index eb7f505df..4f9706f80 100644 --- a/eZmaxApi/models/ezsigndocument_get_attachments_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_attachments_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attachmentdocumenttype (list) _items = [] if self.a_obj_attachmentdocumenttype: - for _item in self.a_obj_attachmentdocumenttype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attachmentdocumenttype in self.a_obj_attachmentdocumenttype: + if _item_a_obj_attachmentdocumenttype: + _items.append(_item_a_obj_attachmentdocumenttype.to_dict()) _dict['a_objAttachmentdocumenttype'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_get_completed_elements_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_completed_elements_v1_response_m_payload.py index daf1ecb82..d821bab2e 100644 --- a/eZmaxApi/models/ezsigndocument_get_completed_elements_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_completed_elements_v1_response_m_payload.py @@ -75,16 +75,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignature (list) _items = [] if self.a_obj_ezsignsignature: - for _item in self.a_obj_ezsignsignature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignature in self.a_obj_ezsignsignature: + if _item_a_obj_ezsignsignature: + _items.append(_item_a_obj_ezsignsignature.to_dict()) _dict['a_objEzsignsignature'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroup (list) _items = [] if self.a_obj_ezsignformfieldgroup: - for _item in self.a_obj_ezsignformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroup in self.a_obj_ezsignformfieldgroup: + if _item_a_obj_ezsignformfieldgroup: + _items.append(_item_a_obj_ezsignformfieldgroup.to_dict()) _dict['a_objEzsignformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignannotations_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_ezsignannotations_v1_response_m_payload.py index 26f2c3b5b..649514610 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignannotations_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignannotations_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignannotation (list) _items = [] if self.a_obj_ezsignannotation: - for _item in self.a_obj_ezsignannotation: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignannotation in self.a_obj_ezsignannotation: + if _item_a_obj_ezsignannotation: + _items.append(_item_a_obj_ezsignannotation.to_dict()) _dict['a_objEzsignannotation'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.py index 2a7a0b57c..48ec5363b 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndiscussion (list) _items = [] if self.a_obj_ezsigndiscussion: - for _item in self.a_obj_ezsigndiscussion: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigndiscussion in self.a_obj_ezsigndiscussion: + if _item_a_obj_ezsigndiscussion: + _items.append(_item_a_obj_ezsigndiscussion.to_dict()) _dict['a_objEzsigndiscussion'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.py index 4b013e3c4..436afc3ad 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroup (list) _items = [] if self.a_obj_ezsignformfieldgroup: - for _item in self.a_obj_ezsignformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroup in self.a_obj_ezsignformfieldgroup: + if _item_a_obj_ezsignformfieldgroup: + _items.append(_item_a_obj_ezsignformfieldgroup.to_dict()) _dict['a_objEzsignformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response_m_payload.py index 91654ff76..72404f77b 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignpage (list) _items = [] if self.a_obj_ezsignpage: - for _item in self.a_obj_ezsignpage: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignpage in self.a_obj_ezsignpage: + if _item_a_obj_ezsignpage: + _items.append(_item_a_obj_ezsignpage.to_dict()) _dict['a_objEzsignpage'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.py index 999836c2e..d4ebc840d 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfolder (list) _items = [] if self.a_obj_ezsignfolder: - for _item in self.a_obj_ezsignfolder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfolder in self.a_obj_ezsignfolder: + if _item_a_obj_ezsignfolder: + _items.append(_item_a_obj_ezsignfolder.to_dict()) _dict['a_objEzsignfolder'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_v1_response_m_payload.py index df9d0210a..f546883bc 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignature (list) _items = [] if self.a_obj_ezsignsignature: - for _item in self.a_obj_ezsignsignature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignature in self.a_obj_ezsignsignature: + if _item_a_obj_ezsignsignature: + _items.append(_item_a_obj_ezsignsignature.to_dict()) _dict['a_objEzsignsignature'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_get_object_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_object_v1_response_m_payload.py index afbd9b759..33e8b2579 100644 --- a/eZmaxApi/models/ezsigndocument_get_object_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_object_v1_response_m_payload.py @@ -24,6 +24,7 @@ from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.computed_e_ezsigndocument_steptype import ComputedEEzsigndocumentSteptype from eZmaxApi.models.custom_ezsignfoldersignerassociationstatus_response import CustomEzsignfoldersignerassociationstatusResponse +from eZmaxApi.models.ezsigndocumentdependency_response import EzsigndocumentdependencyResponse from eZmaxApi.models.field_e_ezsigndocument_step import FieldEEzsigndocumentStep from typing import Optional, Set from typing_extensions import Self @@ -46,6 +47,7 @@ class EzsigndocumentGetObjectV1ResponseMPayload(BaseModel): i_ezsigndocument_pagetotal: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of pages in the Ezsigndocument.", alias="iEzsigndocumentPagetotal") i_ezsigndocument_signaturesigned: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of signatures that were signed in the document.", alias="iEzsigndocumentSignaturesigned") i_ezsigndocument_signaturetotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of total signatures that were requested in the Ezsigndocument.", alias="iEzsigndocumentSignaturetotal") + i_ezsigndocument_formfieldtotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of total Ezsignformfield that were requested in the Ezsigndocument.", alias="iEzsigndocumentFormfieldtotal") s_ezsigndocument_md5initial: Optional[StrictStr] = Field(default=None, description="MD5 Hash of the initial PDF Document before signatures were applied to it.", alias="sEzsigndocumentMD5initial") t_ezsigndocument_declinedtosignreason: Optional[StrictStr] = Field(default=None, description="A custom text message that will contain the refusal message if the Ezsigndocument is declined to sign", alias="tEzsigndocumentDeclinedtosignreason") s_ezsigndocument_md5signed: Optional[StrictStr] = Field(default=None, description="MD5 Hash of the final PDF Document after all signatures were applied to it.", alias="sEzsigndocumentMD5signed") @@ -61,7 +63,8 @@ class EzsigndocumentGetObjectV1ResponseMPayload(BaseModel): i_ezsigndocument_stepsignaturetotal: StrictInt = Field(description="The total number of steps in the signature filling phase", alias="iEzsigndocumentStepsignaturetotal") i_ezsigndocument_stepsignature_current: StrictInt = Field(description="The current step in the signature phase", alias="iEzsigndocumentStepsignatureCurrent") a_obj_ezsignfoldersignerassociationstatus: List[CustomEzsignfoldersignerassociationstatusResponse] = Field(alias="a_objEzsignfoldersignerassociationstatus") - __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "fkiEzsignfolderID", "fkiEzsignfoldersignerassociationIDDeclinedtosign", "dtEzsigndocumentDuedate", "dtEzsignformCompleted", "fkiLanguageID", "sEzsigndocumentName", "eEzsigndocumentStep", "dtEzsigndocumentFirstsend", "dtEzsigndocumentLastsend", "iEzsigndocumentOrder", "iEzsigndocumentPagetotal", "iEzsigndocumentSignaturesigned", "iEzsigndocumentSignaturetotal", "sEzsigndocumentMD5initial", "tEzsigndocumentDeclinedtosignreason", "sEzsigndocumentMD5signed", "bEzsigndocumentEzsignform", "bEzsigndocumentHassignedsignatures", "objAudit", "sEzsigndocumentExternalid", "iEzsigndocumentEzsignsignatureattachmenttotal", "iEzsigndocumentEzsigndiscussiontotal", "eEzsigndocumentSteptype", "iEzsigndocumentStepformtotal", "iEzsigndocumentStepformcurrent", "iEzsigndocumentStepsignaturetotal", "iEzsigndocumentStepsignatureCurrent", "a_objEzsignfoldersignerassociationstatus"] + a_obj_ezsigndocumentdependency: Optional[List[EzsigndocumentdependencyResponse]] = Field(default=None, alias="a_objEzsigndocumentdependency") + __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "fkiEzsignfolderID", "fkiEzsignfoldersignerassociationIDDeclinedtosign", "dtEzsigndocumentDuedate", "dtEzsignformCompleted", "fkiLanguageID", "sEzsigndocumentName", "eEzsigndocumentStep", "dtEzsigndocumentFirstsend", "dtEzsigndocumentLastsend", "iEzsigndocumentOrder", "iEzsigndocumentPagetotal", "iEzsigndocumentSignaturesigned", "iEzsigndocumentSignaturetotal", "iEzsigndocumentFormfieldtotal", "sEzsigndocumentMD5initial", "tEzsigndocumentDeclinedtosignreason", "sEzsigndocumentMD5signed", "bEzsigndocumentEzsignform", "bEzsigndocumentHassignedsignatures", "objAudit", "sEzsigndocumentExternalid", "iEzsigndocumentEzsignsignatureattachmenttotal", "iEzsigndocumentEzsigndiscussiontotal", "eEzsigndocumentSteptype", "iEzsigndocumentStepformtotal", "iEzsigndocumentStepformcurrent", "iEzsigndocumentStepsignaturetotal", "iEzsigndocumentStepsignatureCurrent", "a_objEzsignfoldersignerassociationstatus", "a_objEzsigndocumentdependency"] @field_validator('s_ezsigndocument_externalid') def s_ezsigndocument_externalid_validate_regular_expression(cls, value): @@ -118,10 +121,17 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldersignerassociationstatus (list) _items = [] if self.a_obj_ezsignfoldersignerassociationstatus: - for _item in self.a_obj_ezsignfoldersignerassociationstatus: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfoldersignerassociationstatus in self.a_obj_ezsignfoldersignerassociationstatus: + if _item_a_obj_ezsignfoldersignerassociationstatus: + _items.append(_item_a_obj_ezsignfoldersignerassociationstatus.to_dict()) _dict['a_objEzsignfoldersignerassociationstatus'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocumentdependency (list) + _items = [] + if self.a_obj_ezsigndocumentdependency: + for _item_a_obj_ezsigndocumentdependency in self.a_obj_ezsigndocumentdependency: + if _item_a_obj_ezsigndocumentdependency: + _items.append(_item_a_obj_ezsigndocumentdependency.to_dict()) + _dict['a_objEzsigndocumentdependency'] = _items return _dict @classmethod @@ -148,6 +158,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigndocumentPagetotal": obj.get("iEzsigndocumentPagetotal"), "iEzsigndocumentSignaturesigned": obj.get("iEzsigndocumentSignaturesigned"), "iEzsigndocumentSignaturetotal": obj.get("iEzsigndocumentSignaturetotal"), + "iEzsigndocumentFormfieldtotal": obj.get("iEzsigndocumentFormfieldtotal"), "sEzsigndocumentMD5initial": obj.get("sEzsigndocumentMD5initial"), "tEzsigndocumentDeclinedtosignreason": obj.get("tEzsigndocumentDeclinedtosignreason"), "sEzsigndocumentMD5signed": obj.get("sEzsigndocumentMD5signed"), @@ -162,7 +173,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigndocumentStepformcurrent": obj.get("iEzsigndocumentStepformcurrent"), "iEzsigndocumentStepsignaturetotal": obj.get("iEzsigndocumentStepsignaturetotal"), "iEzsigndocumentStepsignatureCurrent": obj.get("iEzsigndocumentStepsignatureCurrent"), - "a_objEzsignfoldersignerassociationstatus": [CustomEzsignfoldersignerassociationstatusResponse.from_dict(_item) for _item in obj["a_objEzsignfoldersignerassociationstatus"]] if obj.get("a_objEzsignfoldersignerassociationstatus") is not None else None + "a_objEzsignfoldersignerassociationstatus": [CustomEzsignfoldersignerassociationstatusResponse.from_dict(_item) for _item in obj["a_objEzsignfoldersignerassociationstatus"]] if obj.get("a_objEzsignfoldersignerassociationstatus") is not None else None, + "a_objEzsigndocumentdependency": [EzsigndocumentdependencyResponse.from_dict(_item) for _item in obj["a_objEzsigndocumentdependency"]] if obj.get("a_objEzsigndocumentdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response_m_payload.py index fe12d5130..c2f9e815a 100644 --- a/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocumentlog (list) _items = [] if self.a_obj_ezsigndocumentlog: - for _item in self.a_obj_ezsigndocumentlog: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigndocumentlog in self.a_obj_ezsigndocumentlog: + if _item_a_obj_ezsigndocumentlog: + _items.append(_item_a_obj_ezsigndocumentlog.to_dict()) _dict['a_objEzsigndocumentlog'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py b/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py index 00b7b08b7..ccea211dc 100644 --- a/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py @@ -83,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in m_payload (list) _items = [] if self.m_payload: - for _item in self.m_payload: - if _item: - _items.append(_item.to_dict()) + for _item_m_payload in self.m_payload: + if _item_m_payload: + _items.append(_item_m_payload.to_dict()) _dict['mPayload'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocument_matchingtemplate_v3_response.py b/eZmaxApi/models/ezsigndocument_matchingtemplate_v3_response.py new file mode 100644 index 000000000..f4ec28196 --- /dev/null +++ b/eZmaxApi/models/ezsigndocument_matchingtemplate_v3_response.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentMatchingtemplateV3Response(BaseModel): + """ + A Ezsigndocument createObject Response + """ # noqa: E501 + pki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") + pki_ezsigntemplateglobal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplateglobal", alias="pkiEzsigntemplateglobalID") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "pkiEzsigntemplateglobalID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentMatchingtemplateV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentMatchingtemplateV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), + "pkiEzsigntemplateglobalID": obj.get("pkiEzsigntemplateglobalID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocument_request.py b/eZmaxApi/models/ezsigndocument_request.py index 1b6caeb61..6d7d0e787 100644 --- a/eZmaxApi/models/ezsigndocument_request.py +++ b/eZmaxApi/models/ezsigndocument_request.py @@ -39,7 +39,7 @@ class EzsigndocumentRequest(BaseModel): s_ezsigndocument_url: Optional[StrictStr] = Field(default=None, description="The url where the document content resides. This field is Required when eEzsigndocumentSource = Url.", alias="sEzsigndocumentUrl") b_ezsigndocument_forcerepair: Optional[StrictBool] = Field(default=True, description="Try to repair the document or flatten it if it cannot be used for electronic signature. ", alias="bEzsigndocumentForcerepair") s_ezsigndocument_password: Optional[StrictStr] = Field(default=None, description="If the source document is password protected, the password to open/modify it.", alias="sEzsigndocumentPassword") - e_ezsigndocument_form: Optional[StrictStr] = Field(default=None, description="If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsignformfieldgroups and assign them to the specified **fkiEzsignfoldersignerassociationID** **Discard** removes the form from the document.", alias="eEzsigndocumentForm") + e_ezsigndocument_form: Optional[StrictStr] = Field(default=None, description="If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsignformfieldgroups and assign them to the specified **fkiEzsignfoldersignerassociationID** **Discard** removes the form from the document. **Flatten** prints the form values in the document.", alias="eEzsigndocumentForm") dt_ezsigndocument_duedate: StrictStr = Field(description="The maximum date and time at which the Ezsigndocument can be signed.", alias="dtEzsigndocumentDuedate") s_ezsigndocument_name: StrictStr = Field(description="The name of the document that will be presented to Ezsignfoldersignerassociations", alias="sEzsigndocumentName") s_ezsigndocument_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsigndocumentExternalid") @@ -68,8 +68,8 @@ def e_ezsigndocument_form_validate_enum(cls, value): if value is None: return value - if value not in set(['Keep', 'Convert', 'Discard']): - raise ValueError("must be one of enum values ('Keep', 'Convert', 'Discard')") + if value not in set(['Keep', 'Convert', 'Discard', 'Flatten']): + raise ValueError("must be one of enum values ('Keep', 'Convert', 'Discard', 'Flatten')") return value @field_validator('s_ezsigndocument_externalid') diff --git a/eZmaxApi/models/ezsigndocument_request_compound.py b/eZmaxApi/models/ezsigndocument_request_compound.py index 2e7382f3d..6d36893c0 100644 --- a/eZmaxApi/models/ezsigndocument_request_compound.py +++ b/eZmaxApi/models/ezsigndocument_request_compound.py @@ -39,7 +39,7 @@ class EzsigndocumentRequestCompound(BaseModel): s_ezsigndocument_url: Optional[StrictStr] = Field(default=None, description="The url where the document content resides. This field is Required when eEzsigndocumentSource = Url.", alias="sEzsigndocumentUrl") b_ezsigndocument_forcerepair: Optional[StrictBool] = Field(default=True, description="Try to repair the document or flatten it if it cannot be used for electronic signature. ", alias="bEzsigndocumentForcerepair") s_ezsigndocument_password: Optional[StrictStr] = Field(default=None, description="If the source document is password protected, the password to open/modify it.", alias="sEzsigndocumentPassword") - e_ezsigndocument_form: Optional[StrictStr] = Field(default=None, description="If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsignformfieldgroups and assign them to the specified **fkiEzsignfoldersignerassociationID** **Discard** removes the form from the document.", alias="eEzsigndocumentForm") + e_ezsigndocument_form: Optional[StrictStr] = Field(default=None, description="If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsignformfieldgroups and assign them to the specified **fkiEzsignfoldersignerassociationID** **Discard** removes the form from the document. **Flatten** prints the form values in the document.", alias="eEzsigndocumentForm") dt_ezsigndocument_duedate: StrictStr = Field(description="The maximum date and time at which the Ezsigndocument can be signed.", alias="dtEzsigndocumentDuedate") s_ezsigndocument_name: StrictStr = Field(description="The name of the document that will be presented to Ezsignfoldersignerassociations", alias="sEzsigndocumentName") s_ezsigndocument_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsigndocumentExternalid") @@ -68,8 +68,8 @@ def e_ezsigndocument_form_validate_enum(cls, value): if value is None: return value - if value not in set(['Keep', 'Convert', 'Discard']): - raise ValueError("must be one of enum values ('Keep', 'Convert', 'Discard')") + if value not in set(['Keep', 'Convert', 'Discard', 'Flatten']): + raise ValueError("must be one of enum values ('Keep', 'Convert', 'Discard', 'Flatten')") return value @field_validator('s_ezsigndocument_externalid') diff --git a/eZmaxApi/models/ezsigndocument_response.py b/eZmaxApi/models/ezsigndocument_response.py index 1f16bd118..5fdbe0c53 100644 --- a/eZmaxApi/models/ezsigndocument_response.py +++ b/eZmaxApi/models/ezsigndocument_response.py @@ -44,6 +44,7 @@ class EzsigndocumentResponse(BaseModel): i_ezsigndocument_pagetotal: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of pages in the Ezsigndocument.", alias="iEzsigndocumentPagetotal") i_ezsigndocument_signaturesigned: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of signatures that were signed in the document.", alias="iEzsigndocumentSignaturesigned") i_ezsigndocument_signaturetotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of total signatures that were requested in the Ezsigndocument.", alias="iEzsigndocumentSignaturetotal") + i_ezsigndocument_formfieldtotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of total Ezsignformfield that were requested in the Ezsigndocument.", alias="iEzsigndocumentFormfieldtotal") s_ezsigndocument_md5initial: Optional[StrictStr] = Field(default=None, description="MD5 Hash of the initial PDF Document before signatures were applied to it.", alias="sEzsigndocumentMD5initial") t_ezsigndocument_declinedtosignreason: Optional[StrictStr] = Field(default=None, description="A custom text message that will contain the refusal message if the Ezsigndocument is declined to sign", alias="tEzsigndocumentDeclinedtosignreason") s_ezsigndocument_md5signed: Optional[StrictStr] = Field(default=None, description="MD5 Hash of the final PDF Document after all signatures were applied to it.", alias="sEzsigndocumentMD5signed") @@ -53,7 +54,7 @@ class EzsigndocumentResponse(BaseModel): s_ezsigndocument_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsigndocumentExternalid") i_ezsigndocument_ezsignsignatureattachmenttotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of Ezsigndocumentattachment total", alias="iEzsigndocumentEzsignsignatureattachmenttotal") i_ezsigndocument_ezsigndiscussiontotal: StrictInt = Field(description="The total number of Ezsigndiscussions", alias="iEzsigndocumentEzsigndiscussiontotal") - __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "fkiEzsignfolderID", "fkiEzsignfoldersignerassociationIDDeclinedtosign", "dtEzsigndocumentDuedate", "dtEzsignformCompleted", "fkiLanguageID", "sEzsigndocumentName", "eEzsigndocumentStep", "dtEzsigndocumentFirstsend", "dtEzsigndocumentLastsend", "iEzsigndocumentOrder", "iEzsigndocumentPagetotal", "iEzsigndocumentSignaturesigned", "iEzsigndocumentSignaturetotal", "sEzsigndocumentMD5initial", "tEzsigndocumentDeclinedtosignreason", "sEzsigndocumentMD5signed", "bEzsigndocumentEzsignform", "bEzsigndocumentHassignedsignatures", "objAudit", "sEzsigndocumentExternalid", "iEzsigndocumentEzsignsignatureattachmenttotal", "iEzsigndocumentEzsigndiscussiontotal"] + __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "fkiEzsignfolderID", "fkiEzsignfoldersignerassociationIDDeclinedtosign", "dtEzsigndocumentDuedate", "dtEzsignformCompleted", "fkiLanguageID", "sEzsigndocumentName", "eEzsigndocumentStep", "dtEzsigndocumentFirstsend", "dtEzsigndocumentLastsend", "iEzsigndocumentOrder", "iEzsigndocumentPagetotal", "iEzsigndocumentSignaturesigned", "iEzsigndocumentSignaturetotal", "iEzsigndocumentFormfieldtotal", "sEzsigndocumentMD5initial", "tEzsigndocumentDeclinedtosignreason", "sEzsigndocumentMD5signed", "bEzsigndocumentEzsignform", "bEzsigndocumentHassignedsignatures", "objAudit", "sEzsigndocumentExternalid", "iEzsigndocumentEzsignsignatureattachmenttotal", "iEzsigndocumentEzsigndiscussiontotal"] @field_validator('s_ezsigndocument_externalid') def s_ezsigndocument_externalid_validate_regular_expression(cls, value): @@ -133,6 +134,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigndocumentPagetotal": obj.get("iEzsigndocumentPagetotal"), "iEzsigndocumentSignaturesigned": obj.get("iEzsigndocumentSignaturesigned"), "iEzsigndocumentSignaturetotal": obj.get("iEzsigndocumentSignaturetotal"), + "iEzsigndocumentFormfieldtotal": obj.get("iEzsigndocumentFormfieldtotal"), "sEzsigndocumentMD5initial": obj.get("sEzsigndocumentMD5initial"), "tEzsigndocumentDeclinedtosignreason": obj.get("tEzsigndocumentDeclinedtosignreason"), "sEzsigndocumentMD5signed": obj.get("sEzsigndocumentMD5signed"), diff --git a/eZmaxApi/models/ezsigndocument_response_compound.py b/eZmaxApi/models/ezsigndocument_response_compound.py index 6abc08be5..ac92fd8c6 100644 --- a/eZmaxApi/models/ezsigndocument_response_compound.py +++ b/eZmaxApi/models/ezsigndocument_response_compound.py @@ -24,6 +24,7 @@ from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.computed_e_ezsigndocument_steptype import ComputedEEzsigndocumentSteptype from eZmaxApi.models.custom_ezsignfoldersignerassociationstatus_response import CustomEzsignfoldersignerassociationstatusResponse +from eZmaxApi.models.ezsigndocumentdependency_response import EzsigndocumentdependencyResponse from eZmaxApi.models.field_e_ezsigndocument_step import FieldEEzsigndocumentStep from typing import Optional, Set from typing_extensions import Self @@ -46,6 +47,7 @@ class EzsigndocumentResponseCompound(BaseModel): i_ezsigndocument_pagetotal: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of pages in the Ezsigndocument.", alias="iEzsigndocumentPagetotal") i_ezsigndocument_signaturesigned: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of signatures that were signed in the document.", alias="iEzsigndocumentSignaturesigned") i_ezsigndocument_signaturetotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of total signatures that were requested in the Ezsigndocument.", alias="iEzsigndocumentSignaturetotal") + i_ezsigndocument_formfieldtotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of total Ezsignformfield that were requested in the Ezsigndocument.", alias="iEzsigndocumentFormfieldtotal") s_ezsigndocument_md5initial: Optional[StrictStr] = Field(default=None, description="MD5 Hash of the initial PDF Document before signatures were applied to it.", alias="sEzsigndocumentMD5initial") t_ezsigndocument_declinedtosignreason: Optional[StrictStr] = Field(default=None, description="A custom text message that will contain the refusal message if the Ezsigndocument is declined to sign", alias="tEzsigndocumentDeclinedtosignreason") s_ezsigndocument_md5signed: Optional[StrictStr] = Field(default=None, description="MD5 Hash of the final PDF Document after all signatures were applied to it.", alias="sEzsigndocumentMD5signed") @@ -61,7 +63,8 @@ class EzsigndocumentResponseCompound(BaseModel): i_ezsigndocument_stepsignaturetotal: StrictInt = Field(description="The total number of steps in the signature filling phase", alias="iEzsigndocumentStepsignaturetotal") i_ezsigndocument_stepsignature_current: StrictInt = Field(description="The current step in the signature phase", alias="iEzsigndocumentStepsignatureCurrent") a_obj_ezsignfoldersignerassociationstatus: List[CustomEzsignfoldersignerassociationstatusResponse] = Field(alias="a_objEzsignfoldersignerassociationstatus") - __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "fkiEzsignfolderID", "fkiEzsignfoldersignerassociationIDDeclinedtosign", "dtEzsigndocumentDuedate", "dtEzsignformCompleted", "fkiLanguageID", "sEzsigndocumentName", "eEzsigndocumentStep", "dtEzsigndocumentFirstsend", "dtEzsigndocumentLastsend", "iEzsigndocumentOrder", "iEzsigndocumentPagetotal", "iEzsigndocumentSignaturesigned", "iEzsigndocumentSignaturetotal", "sEzsigndocumentMD5initial", "tEzsigndocumentDeclinedtosignreason", "sEzsigndocumentMD5signed", "bEzsigndocumentEzsignform", "bEzsigndocumentHassignedsignatures", "objAudit", "sEzsigndocumentExternalid", "iEzsigndocumentEzsignsignatureattachmenttotal", "iEzsigndocumentEzsigndiscussiontotal", "eEzsigndocumentSteptype", "iEzsigndocumentStepformtotal", "iEzsigndocumentStepformcurrent", "iEzsigndocumentStepsignaturetotal", "iEzsigndocumentStepsignatureCurrent", "a_objEzsignfoldersignerassociationstatus"] + a_obj_ezsigndocumentdependency: Optional[List[EzsigndocumentdependencyResponse]] = Field(default=None, alias="a_objEzsigndocumentdependency") + __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "fkiEzsignfolderID", "fkiEzsignfoldersignerassociationIDDeclinedtosign", "dtEzsigndocumentDuedate", "dtEzsignformCompleted", "fkiLanguageID", "sEzsigndocumentName", "eEzsigndocumentStep", "dtEzsigndocumentFirstsend", "dtEzsigndocumentLastsend", "iEzsigndocumentOrder", "iEzsigndocumentPagetotal", "iEzsigndocumentSignaturesigned", "iEzsigndocumentSignaturetotal", "iEzsigndocumentFormfieldtotal", "sEzsigndocumentMD5initial", "tEzsigndocumentDeclinedtosignreason", "sEzsigndocumentMD5signed", "bEzsigndocumentEzsignform", "bEzsigndocumentHassignedsignatures", "objAudit", "sEzsigndocumentExternalid", "iEzsigndocumentEzsignsignatureattachmenttotal", "iEzsigndocumentEzsigndiscussiontotal", "eEzsigndocumentSteptype", "iEzsigndocumentStepformtotal", "iEzsigndocumentStepformcurrent", "iEzsigndocumentStepsignaturetotal", "iEzsigndocumentStepsignatureCurrent", "a_objEzsignfoldersignerassociationstatus", "a_objEzsigndocumentdependency"] @field_validator('s_ezsigndocument_externalid') def s_ezsigndocument_externalid_validate_regular_expression(cls, value): @@ -118,10 +121,17 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldersignerassociationstatus (list) _items = [] if self.a_obj_ezsignfoldersignerassociationstatus: - for _item in self.a_obj_ezsignfoldersignerassociationstatus: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfoldersignerassociationstatus in self.a_obj_ezsignfoldersignerassociationstatus: + if _item_a_obj_ezsignfoldersignerassociationstatus: + _items.append(_item_a_obj_ezsignfoldersignerassociationstatus.to_dict()) _dict['a_objEzsignfoldersignerassociationstatus'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocumentdependency (list) + _items = [] + if self.a_obj_ezsigndocumentdependency: + for _item_a_obj_ezsigndocumentdependency in self.a_obj_ezsigndocumentdependency: + if _item_a_obj_ezsigndocumentdependency: + _items.append(_item_a_obj_ezsigndocumentdependency.to_dict()) + _dict['a_objEzsigndocumentdependency'] = _items return _dict @classmethod @@ -148,6 +158,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigndocumentPagetotal": obj.get("iEzsigndocumentPagetotal"), "iEzsigndocumentSignaturesigned": obj.get("iEzsigndocumentSignaturesigned"), "iEzsigndocumentSignaturetotal": obj.get("iEzsigndocumentSignaturetotal"), + "iEzsigndocumentFormfieldtotal": obj.get("iEzsigndocumentFormfieldtotal"), "sEzsigndocumentMD5initial": obj.get("sEzsigndocumentMD5initial"), "tEzsigndocumentDeclinedtosignreason": obj.get("tEzsigndocumentDeclinedtosignreason"), "sEzsigndocumentMD5signed": obj.get("sEzsigndocumentMD5signed"), @@ -162,7 +173,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigndocumentStepformcurrent": obj.get("iEzsigndocumentStepformcurrent"), "iEzsigndocumentStepsignaturetotal": obj.get("iEzsigndocumentStepsignaturetotal"), "iEzsigndocumentStepsignatureCurrent": obj.get("iEzsigndocumentStepsignatureCurrent"), - "a_objEzsignfoldersignerassociationstatus": [CustomEzsignfoldersignerassociationstatusResponse.from_dict(_item) for _item in obj["a_objEzsignfoldersignerassociationstatus"]] if obj.get("a_objEzsignfoldersignerassociationstatus") is not None else None + "a_objEzsignfoldersignerassociationstatus": [CustomEzsignfoldersignerassociationstatusResponse.from_dict(_item) for _item in obj["a_objEzsignfoldersignerassociationstatus"]] if obj.get("a_objEzsignfoldersignerassociationstatus") is not None else None, + "a_objEzsigndocumentdependency": [EzsigndocumentdependencyResponse.from_dict(_item) for _item in obj["a_objEzsigndocumentdependency"]] if obj.get("a_objEzsigndocumentdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_request.py b/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_request.py index b9fdd8c3a..849179c59 100644 --- a/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_request.py +++ b/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_request.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroup (list) _items = [] if self.a_obj_ezsignformfieldgroup: - for _item in self.a_obj_ezsignformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroup in self.a_obj_ezsignformfieldgroup: + if _item_a_obj_ezsignformfieldgroup: + _items.append(_item_a_obj_ezsignformfieldgroup.to_dict()) _dict['a_objEzsignformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsigndocumentdependency_request.py b/eZmaxApi/models/ezsigndocumentdependency_request.py new file mode 100644 index 000000000..ac198d0ef --- /dev/null +++ b/eZmaxApi/models/ezsigndocumentdependency_request.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentdependencyRequest(BaseModel): + """ + An Ezsigndocumentdependency Object + """ # noqa: E501 + pki_ezsigndocumentdependency_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigndocumentdependency", alias="pkiEzsigndocumentdependencyID") + fki_ezsigndocument_i_ddependency: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentIDdependency") + __properties: ClassVar[List[str]] = ["pkiEzsigndocumentdependencyID", "fkiEzsigndocumentIDdependency"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentdependencyRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentdependencyRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigndocumentdependencyID": obj.get("pkiEzsigndocumentdependencyID"), + "fkiEzsigndocumentIDdependency": obj.get("fkiEzsigndocumentIDdependency") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocumentdependency_request_compound.py b/eZmaxApi/models/ezsigndocumentdependency_request_compound.py new file mode 100644 index 000000000..e91a53306 --- /dev/null +++ b/eZmaxApi/models/ezsigndocumentdependency_request_compound.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentdependencyRequestCompound(BaseModel): + """ + An Ezsigndocumentdependency Object + """ # noqa: E501 + pki_ezsigndocumentdependency_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigndocumentdependency", alias="pkiEzsigndocumentdependencyID") + fki_ezsigndocument_i_ddependency: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentIDdependency") + __properties: ClassVar[List[str]] = ["pkiEzsigndocumentdependencyID", "fkiEzsigndocumentIDdependency"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentdependencyRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentdependencyRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigndocumentdependencyID": obj.get("pkiEzsigndocumentdependencyID"), + "fkiEzsigndocumentIDdependency": obj.get("fkiEzsigndocumentIDdependency") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigndocumentdependency_response.py b/eZmaxApi/models/ezsigndocumentdependency_response.py new file mode 100644 index 000000000..10b2d96a7 --- /dev/null +++ b/eZmaxApi/models/ezsigndocumentdependency_response.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigndocumentdependencyResponse(BaseModel): + """ + An Ezsigndocumentdependency Object + """ # noqa: E501 + pki_ezsigndocumentdependency_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocumentdependency", alias="pkiEzsigndocumentdependencyID") + fki_ezsigndocument_i_ddependency: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentIDdependency") + __properties: ClassVar[List[str]] = ["pkiEzsigndocumentdependencyID", "fkiEzsigndocumentIDdependency"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigndocumentdependencyResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigndocumentdependencyResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigndocumentdependencyID": obj.get("pkiEzsigndocumentdependencyID"), + "fkiEzsigndocumentIDdependency": obj.get("fkiEzsigndocumentIDdependency") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignelementdependency_request.py b/eZmaxApi/models/ezsignelementdependency_request.py index 119e1fb03..dcf24bc12 100644 --- a/eZmaxApi/models/ezsignelementdependency_request.py +++ b/eZmaxApi/models/ezsignelementdependency_request.py @@ -30,7 +30,7 @@ class EzsignelementdependencyRequest(BaseModel): """ An Ezsignelementdependency Object """ # noqa: E501 - pki_ezsignelementdependency_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignelementdependency", alias="pkiEzsignelementdependencyID") + pki_ezsignelementdependency_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignelementdependency", alias="pkiEzsignelementdependencyID") fki_ezsignformfield_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfield", alias="fkiEzsignformfieldIDValidation") fki_ezsignformfieldgroup_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfieldgroup", alias="fkiEzsignformfieldgroupIDValidation") s_ezsignelementdependency_ezsignformfieldgrouplabel: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=50)]] = Field(default=None, description="The Label for the Ezsignformfieldgroup", alias="sEzsignelementdependencyEzsignformfieldgrouplabel") diff --git a/eZmaxApi/models/ezsignelementdependency_request_compound.py b/eZmaxApi/models/ezsignelementdependency_request_compound.py index 1ccab7062..757fe5a31 100644 --- a/eZmaxApi/models/ezsignelementdependency_request_compound.py +++ b/eZmaxApi/models/ezsignelementdependency_request_compound.py @@ -30,7 +30,7 @@ class EzsignelementdependencyRequestCompound(BaseModel): """ An Ezsignelementdependency Object and children to create a complete structure """ # noqa: E501 - pki_ezsignelementdependency_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignelementdependency", alias="pkiEzsignelementdependencyID") + pki_ezsignelementdependency_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignelementdependency", alias="pkiEzsignelementdependencyID") fki_ezsignformfield_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfield", alias="fkiEzsignformfieldIDValidation") fki_ezsignformfieldgroup_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfieldgroup", alias="fkiEzsignformfieldgroupIDValidation") s_ezsignelementdependency_ezsignformfieldgrouplabel: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=50)]] = Field(default=None, description="The Label for the Ezsignformfieldgroup", alias="sEzsignelementdependencyEzsignformfieldgrouplabel") diff --git a/eZmaxApi/models/ezsignelementdependency_response.py b/eZmaxApi/models/ezsignelementdependency_response.py index 657d53abd..387f4f294 100644 --- a/eZmaxApi/models/ezsignelementdependency_response.py +++ b/eZmaxApi/models/ezsignelementdependency_response.py @@ -30,7 +30,7 @@ class EzsignelementdependencyResponse(BaseModel): """ An Ezsignelementdependency Object """ # noqa: E501 - pki_ezsignelementdependency_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignelementdependency", alias="pkiEzsignelementdependencyID") + pki_ezsignelementdependency_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignelementdependency", alias="pkiEzsignelementdependencyID") fki_ezsignformfield_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfield", alias="fkiEzsignformfieldID") fki_ezsignsignature_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignature", alias="fkiEzsignsignatureID") fki_ezsignformfield_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfield", alias="fkiEzsignformfieldIDValidation") diff --git a/eZmaxApi/models/ezsignelementdependency_response_compound.py b/eZmaxApi/models/ezsignelementdependency_response_compound.py index ec934e8b3..3fc236061 100644 --- a/eZmaxApi/models/ezsignelementdependency_response_compound.py +++ b/eZmaxApi/models/ezsignelementdependency_response_compound.py @@ -30,7 +30,7 @@ class EzsignelementdependencyResponseCompound(BaseModel): """ An Ezsignelementdependency Object and children to create a complete structure """ # noqa: E501 - pki_ezsignelementdependency_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignelementdependency", alias="pkiEzsignelementdependencyID") + pki_ezsignelementdependency_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignelementdependency", alias="pkiEzsignelementdependencyID") fki_ezsignformfield_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfield", alias="fkiEzsignformfieldID") fki_ezsignsignature_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignature", alias="fkiEzsignsignatureID") fki_ezsignformfield_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfield", alias="fkiEzsignformfieldIDValidation") diff --git a/eZmaxApi/models/ezsignfolder_create_object_v2_request.py b/eZmaxApi/models/ezsignfolder_create_object_v2_request.py index 3a29c87df..ed0cb0fb4 100644 --- a/eZmaxApi/models/ezsignfolder_create_object_v2_request.py +++ b/eZmaxApi/models/ezsignfolder_create_object_v2_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfolder (list) _items = [] if self.a_obj_ezsignfolder: - for _item in self.a_obj_ezsignfolder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfolder in self.a_obj_ezsignfolder: + if _item_a_obj_ezsignfolder: + _items.append(_item_a_obj_ezsignfolder.to_dict()) _dict['a_objEzsignfolder'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_create_object_v3_request.py b/eZmaxApi/models/ezsignfolder_create_object_v3_request.py new file mode 100644 index 000000000..04e81349d --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_create_object_v3_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsignfolder_request_compound_v3 import EzsignfolderRequestCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderCreateObjectV3Request(BaseModel): + """ + Request for POST /3/object/ezsignfolder + """ # noqa: E501 + a_obj_ezsignfolder: Annotated[List[EzsignfolderRequestCompoundV3], Field(min_length=1)] = Field(alias="a_objEzsignfolder") + __properties: ClassVar[List[str]] = ["a_objEzsignfolder"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderCreateObjectV3Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfolder (list) + _items = [] + if self.a_obj_ezsignfolder: + for _item_a_obj_ezsignfolder in self.a_obj_ezsignfolder: + if _item_a_obj_ezsignfolder: + _items.append(_item_a_obj_ezsignfolder.to_dict()) + _dict['a_objEzsignfolder'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderCreateObjectV3Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsignfolder": [EzsignfolderRequestCompoundV3.from_dict(_item) for _item in obj["a_objEzsignfolder"]] if obj.get("a_objEzsignfolder") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_create_object_v3_response.py b/eZmaxApi/models/ezsignfolder_create_object_v3_response.py new file mode 100644 index 000000000..4301608e2 --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_create_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignfolder_create_object_v3_response_m_payload import EzsignfolderCreateObjectV3ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderCreateObjectV3Response(BaseModel): + """ + Response for POST /3/object/ezsignfolder + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignfolderCreateObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderCreateObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderCreateObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignfolderCreateObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_create_object_v3_response_m_payload.py b/eZmaxApi/models/ezsignfolder_create_object_v3_response_m_payload.py new file mode 100644 index 000000000..b86a53f32 --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_create_object_v3_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderCreateObjectV3ResponseMPayload(BaseModel): + """ + Payload for POST /3/object/ezsignfolder + """ # noqa: E501 + a_pki_ezsignfolder_id: Annotated[List[Annotated[int, Field(strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsignfolderID") + __properties: ClassVar[List[str]] = ["a_pkiEzsignfolderID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderCreateObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderCreateObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzsignfolderID": obj.get("a_pkiEzsignfolderID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_edit_object_v1_request.py b/eZmaxApi/models/ezsignfolder_edit_object_v1_request.py deleted file mode 100644 index 59eddcc81..000000000 --- a/eZmaxApi/models/ezsignfolder_edit_object_v1_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignfolder_request_compound import EzsignfolderRequestCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfolderEditObjectV1Request(BaseModel): - """ - Request for PUT /1/object/ezsignfolder/{pkiEzsignfolderID} - """ # noqa: E501 - obj_ezsignfolder: EzsignfolderRequestCompound = Field(alias="objEzsignfolder") - __properties: ClassVar[List[str]] = ["objEzsignfolder"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfolderEditObjectV1Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignfolder - if self.obj_ezsignfolder: - _dict['objEzsignfolder'] = self.obj_ezsignfolder.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfolderEditObjectV1Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsignfolder": EzsignfolderRequestCompound.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfolder_edit_object_v1_response.py b/eZmaxApi/models/ezsignfolder_edit_object_v1_response.py deleted file mode 100644 index f9f2562d5..000000000 --- a/eZmaxApi/models/ezsignfolder_edit_object_v1_response.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfolderEditObjectV1Response(BaseModel): - """ - Response for PUT /1/object/ezsignfolder/{pkiEzsignfolderID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfolderEditObjectV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfolderEditObjectV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfolder_edit_object_v3_request.py b/eZmaxApi/models/ezsignfolder_edit_object_v3_request.py new file mode 100644 index 000000000..f64b680bd --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_edit_object_v3_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignfolder_request_compound_v3 import EzsignfolderRequestCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderEditObjectV3Request(BaseModel): + """ + Request for PUT /3/object/ezsignfolder/{pkiEzsignfolderID} + """ # noqa: E501 + obj_ezsignfolder: EzsignfolderRequestCompoundV3 = Field(alias="objEzsignfolder") + __properties: ClassVar[List[str]] = ["objEzsignfolder"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderEditObjectV3Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfolder + if self.obj_ezsignfolder: + _dict['objEzsignfolder'] = self.obj_ezsignfolder.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderEditObjectV3Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignfolder": EzsignfolderRequestCompoundV3.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_edit_object_v3_response.py b/eZmaxApi/models/ezsignfolder_edit_object_v3_response.py new file mode 100644 index 000000000..cbd1ca29a --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_edit_object_v3_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderEditObjectV3Response(BaseModel): + """ + Response for PUT /3/object/ezsignfolder/{pkiEzsignfolderID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderEditObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderEditObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response_m_payload.py index 5f2a883f7..df18b4dde 100644 --- a/eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response_m_payload.py @@ -75,16 +75,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignature (list) _items = [] if self.a_obj_ezsignsignature: - for _item in self.a_obj_ezsignsignature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignature in self.a_obj_ezsignsignature: + if _item_a_obj_ezsignsignature: + _items.append(_item_a_obj_ezsignsignature.to_dict()) _dict['a_objEzsignsignature'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroup (list) _items = [] if self.a_obj_ezsignformfieldgroup: - for _item in self.a_obj_ezsignformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroup in self.a_obj_ezsignformfieldgroup: + if _item_a_obj_ezsignformfieldgroup: + _items.append(_item_a_obj_ezsignformfieldgroup.to_dict()) _dict['a_objEzsignformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_get_attachments_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_attachments_v1_response_m_payload.py index dc82437aa..a2692602c 100644 --- a/eZmaxApi/models/ezsignfolder_get_attachments_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_attachments_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attachmentdocumenttype (list) _items = [] if self.a_obj_attachmentdocumenttype: - for _item in self.a_obj_attachmentdocumenttype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attachmentdocumenttype in self.a_obj_attachmentdocumenttype: + if _item_a_obj_attachmentdocumenttype: + _items.append(_item_a_obj_attachmentdocumenttype.to_dict()) _dict['a_objAttachmentdocumenttype'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_get_communication_list_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_communication_list_v1_response_m_payload.py index c8462d817..e357421de 100644 --- a/eZmaxApi/models/ezsignfolder_get_communication_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_communication_list_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) _items = [] if self.a_obj_communication: - for _item in self.a_obj_communication: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) _dict['a_objCommunication'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response_m_payload.py index dd3d27176..8d1d3010c 100644 --- a/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsgroup (list) _items = [] if self.a_obj_communicationrecipientsgroup: - for _item in self.a_obj_communicationrecipientsgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communicationrecipientsgroup in self.a_obj_communicationrecipientsgroup: + if _item_a_obj_communicationrecipientsgroup: + _items.append(_item_a_obj_communicationrecipientsgroup.to_dict()) _dict['a_objCommunicationrecipientsgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response_m_payload.py index a46d80a9d..51338a65b 100644 --- a/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationsenders (list) _items = [] if self.a_obj_communicationsenders: - for _item in self.a_obj_communicationsenders: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communicationsenders in self.a_obj_communicationsenders: + if _item_a_obj_communicationsenders: + _items.append(_item_a_obj_communicationsenders.to_dict()) _dict['a_objCommunicationsenders'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response_m_payload.py index 176af9a02..1407235ac 100644 --- a/eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocument (list) _items = [] if self.a_obj_ezsigndocument: - for _item in self.a_obj_ezsigndocument: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigndocument in self.a_obj_ezsigndocument: + if _item_a_obj_ezsigndocument: + _items.append(_item_a_obj_ezsigndocument.to_dict()) _dict['a_objEzsigndocument'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.py index da86772bc..4da6de451 100644 --- a/eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldersignerassociation (list) _items = [] if self.a_obj_ezsignfoldersignerassociation: - for _item in self.a_obj_ezsignfoldersignerassociation: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfoldersignerassociation in self.a_obj_ezsignfoldersignerassociation: + if _item_a_obj_ezsignfoldersignerassociation: + _items.append(_item_a_obj_ezsignfoldersignerassociation.to_dict()) _dict['a_objEzsignfoldersignerassociation'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.py index 96139d5fc..3f5e5c33c 100644 --- a/eZmaxApi/models/ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfolder (list) _items = [] if self.a_obj_ezsignfolder: - for _item in self.a_obj_ezsignfolder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfolder in self.a_obj_ezsignfolder: + if _item_a_obj_ezsignfolder: + _items.append(_item_a_obj_ezsignfolder.to_dict()) _dict['a_objEzsignfolder'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_list_v1_response_m_payload.py index d9d5f5859..cf7004119 100644 --- a/eZmaxApi/models/ezsignfolder_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfolder (list) _items = [] if self.a_obj_ezsignfolder: - for _item in self.a_obj_ezsignfolder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfolder in self.a_obj_ezsignfolder: + if _item_a_obj_ezsignfolder: + _items.append(_item_a_obj_ezsignfolder.to_dict()) _dict['a_objEzsignfolder'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py index ce1980073..eb618400f 100644 --- a/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py @@ -23,6 +23,7 @@ from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.custom_ezsignfoldertype_response import CustomEzsignfoldertypeResponse +from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion from eZmaxApi.models.field_e_ezsignfolder_sendreminderfrequency import FieldEEzsignfolderSendreminderfrequency from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep @@ -36,16 +37,19 @@ class EzsignfolderGetObjectV1ResponseMPayload(BaseModel): pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") obj_ezsignfoldertype: Optional[CustomEzsignfoldertypeResponse] = Field(default=None, alias="objEzsignfoldertype") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") e_ezsignfolder_completion: FieldEEzsignfolderCompletion = Field(alias="eEzsignfolderCompletion") s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, alias="sEzsignfoldertypeNameX") fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") b_ezsignfolder_isdisposable: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument can be disposed", alias="bEzsignfolderIsdisposable") e_ezsignfolder_sendreminderfrequency: Optional[FieldEEzsignfolderSendreminderfrequency] = Field(default=None, alias="eEzsignfolderSendreminderfrequency") + i_ezsignfolder_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") dt_ezsignfolder_delayedsenddate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder will be sent in the future.", alias="dtEzsignfolderDelayedsenddate") dt_ezsignfolder_duedate: Optional[StrictStr] = Field(default=None, description="The maximum date and time at which the Ezsignfolder can be signed.", alias="dtEzsignfolderDuedate") dt_ezsignfolder_sentdate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was sent the last time.", alias="dtEzsignfolderSentdate") @@ -56,7 +60,15 @@ class EzsignfolderGetObjectV1ResponseMPayload(BaseModel): t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") - __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "eEzsignfolderCompletion", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "eEzsignfolderSendreminderfrequency", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid"] + obj_timezone: Optional[CustomTimezoneWithCodeResponse] = Field(default=None, alias="objTimezone") + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "fkiTimezoneID", "eEzsignfolderCompletion", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "eEzsignfolderSendreminderfrequency", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid", "objTimezone"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value @field_validator('s_ezsignfolder_externalid') def s_ezsignfolder_externalid_validate_regular_expression(cls, value): @@ -113,6 +125,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of obj_audit if self.obj_audit: _dict['objAudit'] = self.obj_audit.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_timezone + if self.obj_timezone: + _dict['objTimezone'] = self.obj_timezone.to_dict() return _dict @classmethod @@ -128,6 +143,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), "objEzsignfoldertype": CustomEzsignfoldertypeResponse.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None, + "fkiTimezoneID": obj.get("fkiTimezoneID"), "eEzsignfolderCompletion": obj.get("eEzsignfolderCompletion"), "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), @@ -138,6 +154,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "tEzsignfolderNote": obj.get("tEzsignfolderNote"), "bEzsignfolderIsdisposable": obj.get("bEzsignfolderIsdisposable"), "eEzsignfolderSendreminderfrequency": obj.get("eEzsignfolderSendreminderfrequency"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), "dtEzsignfolderDelayedsenddate": obj.get("dtEzsignfolderDelayedsenddate"), "dtEzsignfolderDuedate": obj.get("dtEzsignfolderDuedate"), "dtEzsignfolderSentdate": obj.get("dtEzsignfolderSentdate"), @@ -147,7 +165,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "dtEzsignfolderClose": obj.get("dtEzsignfolderClose"), "tEzsignfolderMessage": obj.get("tEzsignfolderMessage"), "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, - "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid") + "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid"), + "objTimezone": CustomTimezoneWithCodeResponse.from_dict(obj["objTimezone"]) if obj.get("objTimezone") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignfolder_get_object_v3_response.py b/eZmaxApi/models/ezsignfolder_get_object_v3_response.py new file mode 100644 index 000000000..7c99033bb --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_get_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignfolder_get_object_v3_response_m_payload import EzsignfolderGetObjectV3ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderGetObjectV3Response(BaseModel): + """ + Response for GET /3/object/ezsignfolder/{pkiEzsignfolderID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignfolderGetObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderGetObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderGetObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignfolderGetObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_get_object_v3_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..3b2013870 --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_get_object_v3_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignfolder_response_compound_v3 import EzsignfolderResponseCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderGetObjectV3ResponseMPayload(BaseModel): + """ + Payload for GET /3/object/ezsignfolder/{pkiEzsignfolderID} + """ # noqa: E501 + obj_ezsignfolder: EzsignfolderResponseCompoundV3 = Field(alias="objEzsignfolder") + __properties: ClassVar[List[str]] = ["objEzsignfolder"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderGetObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfolder + if self.obj_ezsignfolder: + _dict['objEzsignfolder'] = self.obj_ezsignfolder.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderGetObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignfolder": EzsignfolderResponseCompoundV3.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_request.py b/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_request.py index 8bcfeeeb9..55b8455a2 100644 --- a/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_request.py +++ b/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_request.py @@ -76,9 +76,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_import_ezsigntemplatepackage_relation (list) _items = [] if self.a_obj_import_ezsigntemplatepackage_relation: - for _item in self.a_obj_import_ezsigntemplatepackage_relation: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_import_ezsigntemplatepackage_relation in self.a_obj_import_ezsigntemplatepackage_relation: + if _item_a_obj_import_ezsigntemplatepackage_relation: + _items.append(_item_a_obj_import_ezsigntemplatepackage_relation.to_dict()) _dict['a_objImportEzsigntemplatepackageRelation'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.py index f3f2b78b4..ef95db101 100644 --- a/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocument (list) _items = [] if self.a_obj_ezsigndocument: - for _item in self.a_obj_ezsigndocument: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigndocument in self.a_obj_ezsigndocument: + if _item_a_obj_ezsigndocument: + _items.append(_item_a_obj_ezsigndocument.to_dict()) _dict['a_objEzsigndocument'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfolder_list_element.py b/eZmaxApi/models/ezsignfolder_list_element.py index 18882c272..bc7f931ea 100644 --- a/eZmaxApi/models/ezsignfolder_list_element.py +++ b/eZmaxApi/models/ezsignfolder_list_element.py @@ -34,7 +34,7 @@ class EzsignfolderListElement(BaseModel): fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") s_ezsignfoldertype_name_x: StrictStr = Field(description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") e_ezsignfolder_step: FieldEEzsignfolderStep = Field(alias="eEzsignfolderStep") dt_created_date: StrictStr = Field(description="The date and time at which the object was created", alias="dtCreatedDate") dt_ezsignfolder_delayedsenddate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder will be sent in the future.", alias="dtEzsignfolderDelayedsenddate") @@ -47,8 +47,18 @@ class EzsignfolderListElement(BaseModel): i_ezsignformfieldgroup: StrictInt = Field(description="The total number of Ezsignformfieldgroup in all Ezsigndocuments in the folder", alias="iEzsignformfieldgroup") i_ezsignformfieldgroup_completed: StrictInt = Field(description="The total number of completed Ezsignformfieldgroup in all Ezsigndocuments in the folder", alias="iEzsignformfieldgroupCompleted") b_ezsignform_hasdependencies: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignform/Ezsignsignatures has dependencies or not", alias="bEzsignformHasdependencies") - d_ezsignfolder_completedpercentage: Annotated[str, Field(strict=True)] = Field(description="Whether the Ezsignform/Ezsignsignatures has dependencies or not", alias="dEzsignfolderCompletedpercentage") - __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "eEzsignfoldertypePrivacylevel", "sEzsignfoldertypeNameX", "sEzsignfolderDescription", "eEzsignfolderStep", "dtCreatedDate", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderSentdate", "dtEzsignfolderDuedate", "iEzsigndocument", "iEzsigndocumentEdm", "iEzsignsignature", "iEzsignsignatureSigned", "iEzsignformfieldgroup", "iEzsignformfieldgroupCompleted", "bEzsignformHasdependencies", "dEzsignfolderCompletedpercentage"] + d_ezsignfolder_completedpercentage: Annotated[str, Field(strict=True)] = Field(description="Percentage of Ezsignform/Ezsignsignatures has completed", alias="dEzsignfolderCompletedpercentage") + d_ezsignfolder_formcompletedpercentage: Annotated[str, Field(strict=True)] = Field(description="Percentage of Ezsignform has completed", alias="dEzsignfolderFormcompletedpercentage") + d_ezsignfolder_signaturecompletedpercentage: Annotated[str, Field(strict=True)] = Field(description="Percentage of Ezsignsignatures has signed", alias="dEzsignfolderSignaturecompletedpercentage") + b_ezsignfolder_signer: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignfolder has an Ezsignsignatures that need to be signed or an Ezsignformfieldgroups that need to be filled by the current user", alias="bEzsignfolderSigner") + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "eEzsignfoldertypePrivacylevel", "sEzsignfoldertypeNameX", "sEzsignfolderDescription", "eEzsignfolderStep", "dtCreatedDate", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderSentdate", "dtEzsignfolderDuedate", "iEzsigndocument", "iEzsigndocumentEdm", "iEzsignsignature", "iEzsignsignatureSigned", "iEzsignformfieldgroup", "iEzsignformfieldgroupCompleted", "bEzsignformHasdependencies", "dEzsignfolderCompletedpercentage", "dEzsignfolderFormcompletedpercentage", "dEzsignfolderSignaturecompletedpercentage", "bEzsignfolderSigner"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value @field_validator('d_ezsignfolder_completedpercentage') def d_ezsignfolder_completedpercentage_validate_regular_expression(cls, value): @@ -57,6 +67,20 @@ def d_ezsignfolder_completedpercentage_validate_regular_expression(cls, value): raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") return value + @field_validator('d_ezsignfolder_formcompletedpercentage') + def d_ezsignfolder_formcompletedpercentage_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + + @field_validator('d_ezsignfolder_signaturecompletedpercentage') + def d_ezsignfolder_signaturecompletedpercentage_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -125,7 +149,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsignformfieldgroup": obj.get("iEzsignformfieldgroup"), "iEzsignformfieldgroupCompleted": obj.get("iEzsignformfieldgroupCompleted"), "bEzsignformHasdependencies": obj.get("bEzsignformHasdependencies"), - "dEzsignfolderCompletedpercentage": obj.get("dEzsignfolderCompletedpercentage") + "dEzsignfolderCompletedpercentage": obj.get("dEzsignfolderCompletedpercentage"), + "dEzsignfolderFormcompletedpercentage": obj.get("dEzsignfolderFormcompletedpercentage"), + "dEzsignfolderSignaturecompletedpercentage": obj.get("dEzsignfolderSignaturecompletedpercentage"), + "bEzsignfolderSigner": obj.get("bEzsignfolderSigner") }) return _obj diff --git a/eZmaxApi/models/ezsignfolder_reorder_v2_request.py b/eZmaxApi/models/ezsignfolder_reorder_v2_request.py new file mode 100644 index 000000000..a43826a02 --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_reorder_v2_request.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.custom_ezsigndocument_request import CustomEzsigndocumentRequest +from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderReorderV2Request(BaseModel): + """ + Request for POST /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder + """ # noqa: E501 + e_ezsignfolder_documentdependency: Optional[FieldEEzsignfolderDocumentdependency] = Field(default=None, alias="eEzsignfolderDocumentdependency") + a_obj_ezsigndocument: Annotated[List[CustomEzsigndocumentRequest], Field(min_length=1)] = Field(alias="a_objEzsigndocument") + __properties: ClassVar[List[str]] = ["eEzsignfolderDocumentdependency", "a_objEzsigndocument"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderReorderV2Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigndocument (list) + _items = [] + if self.a_obj_ezsigndocument: + for _item_a_obj_ezsigndocument in self.a_obj_ezsigndocument: + if _item_a_obj_ezsigndocument: + _items.append(_item_a_obj_ezsigndocument.to_dict()) + _dict['a_objEzsigndocument'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderReorderV2Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "eEzsignfolderDocumentdependency": obj.get("eEzsignfolderDocumentdependency"), + "a_objEzsigndocument": [CustomEzsigndocumentRequest.from_dict(_item) for _item in obj["a_objEzsigndocument"]] if obj.get("a_objEzsigndocument") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_reorder_v2_response.py b/eZmaxApi/models/ezsignfolder_reorder_v2_response.py new file mode 100644 index 000000000..8911bab8a --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_reorder_v2_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderReorderV2Response(BaseModel): + """ + Response for POST /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderReorderV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderReorderV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_request.py b/eZmaxApi/models/ezsignfolder_request.py index 7b9dc72e3..d2fc14665 100644 --- a/eZmaxApi/models/ezsignfolder_request.py +++ b/eZmaxApi/models/ezsignfolder_request.py @@ -31,12 +31,20 @@ class EzsignfolderRequest(BaseModel): """ # noqa: E501 pki_ezsignfolder_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") e_ezsignfolder_sendreminderfrequency: FieldEEzsignfolderSendreminderfrequency = Field(alias="eEzsignfolderSendreminderfrequency") s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") - __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "fkiEzsigntsarequirementID", "sEzsignfolderDescription", "tEzsignfolderNote", "eEzsignfolderSendreminderfrequency", "sEzsignfolderExternalid"] + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "fkiTimezoneID", "fkiEzsigntsarequirementID", "sEzsignfolderDescription", "tEzsignfolderNote", "eEzsignfolderSendreminderfrequency", "sEzsignfolderExternalid"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value @field_validator('s_ezsignfolder_externalid') def s_ezsignfolder_externalid_validate_regular_expression(cls, value): @@ -101,6 +109,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiTimezoneID": obj.get("fkiTimezoneID"), "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), "tEzsignfolderNote": obj.get("tEzsignfolderNote"), diff --git a/eZmaxApi/models/ezsignfolder_request_compound.py b/eZmaxApi/models/ezsignfolder_request_compound.py index ecbcea095..9146c5f7f 100644 --- a/eZmaxApi/models/ezsignfolder_request_compound.py +++ b/eZmaxApi/models/ezsignfolder_request_compound.py @@ -31,12 +31,20 @@ class EzsignfolderRequestCompound(BaseModel): """ # noqa: E501 pki_ezsignfolder_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") e_ezsignfolder_sendreminderfrequency: FieldEEzsignfolderSendreminderfrequency = Field(alias="eEzsignfolderSendreminderfrequency") s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") - __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "fkiEzsigntsarequirementID", "sEzsignfolderDescription", "tEzsignfolderNote", "eEzsignfolderSendreminderfrequency", "sEzsignfolderExternalid"] + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "fkiTimezoneID", "fkiEzsigntsarequirementID", "sEzsignfolderDescription", "tEzsignfolderNote", "eEzsignfolderSendreminderfrequency", "sEzsignfolderExternalid"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value @field_validator('s_ezsignfolder_externalid') def s_ezsignfolder_externalid_validate_regular_expression(cls, value): @@ -101,6 +109,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiTimezoneID": obj.get("fkiTimezoneID"), "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), "tEzsignfolderNote": obj.get("tEzsignfolderNote"), diff --git a/eZmaxApi/models/ezsignfolder_request_compound_v3.py b/eZmaxApi/models/ezsignfolder_request_compound_v3.py new file mode 100644 index 000000000..17fbfecde --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_request_compound_v3.py @@ -0,0 +1,127 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderRequestCompoundV3(BaseModel): + """ + An Ezsignfolder Object and children to create a complete structure + """ # noqa: E501 + pki_ezsignfolder_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + e_ezsignfolder_documentdependency: Optional[FieldEEzsignfolderDocumentdependency] = Field(default=None, alias="eEzsignfolderDocumentdependency") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") + t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") + i_ezsignfolder_sendreminderfirstdays: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") + s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "fkiTimezoneID", "fkiEzsigntsarequirementID", "eEzsignfolderDocumentdependency", "sEzsignfolderDescription", "tEzsignfolderNote", "tEzsignfolderMessage", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "sEzsignfolderExternalid"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsignfolder_externalid') + def s_ezsignfolder_externalid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,128}$", value): + raise ValueError(r"must validate the regular expression /^.{0,128}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderRequestCompoundV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderRequestCompoundV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiTimezoneID": obj.get("fkiTimezoneID"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "eEzsignfolderDocumentdependency": obj.get("eEzsignfolderDocumentdependency"), + "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), + "tEzsignfolderNote": obj.get("tEzsignfolderNote"), + "tEzsignfolderMessage": obj.get("tEzsignfolderMessage"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), + "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_request_v3.py b/eZmaxApi/models/ezsignfolder_request_v3.py new file mode 100644 index 000000000..3dbed4079 --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_request_v3.py @@ -0,0 +1,127 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderRequestV3(BaseModel): + """ + An Ezsignfolder Object + """ # noqa: E501 + pki_ezsignfolder_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + e_ezsignfolder_documentdependency: Optional[FieldEEzsignfolderDocumentdependency] = Field(default=None, alias="eEzsignfolderDocumentdependency") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") + t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") + i_ezsignfolder_sendreminderfirstdays: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") + s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "fkiTimezoneID", "fkiEzsigntsarequirementID", "eEzsignfolderDocumentdependency", "sEzsignfolderDescription", "tEzsignfolderNote", "tEzsignfolderMessage", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "sEzsignfolderExternalid"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsignfolder_externalid') + def s_ezsignfolder_externalid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,128}$", value): + raise ValueError(r"must validate the regular expression /^.{0,128}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderRequestV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderRequestV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiTimezoneID": obj.get("fkiTimezoneID"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "eEzsignfolderDocumentdependency": obj.get("eEzsignfolderDocumentdependency"), + "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), + "tEzsignfolderNote": obj.get("tEzsignfolderNote"), + "tEzsignfolderMessage": obj.get("tEzsignfolderMessage"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), + "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_response.py b/eZmaxApi/models/ezsignfolder_response.py index 2642464e0..6d4bd7b0d 100644 --- a/eZmaxApi/models/ezsignfolder_response.py +++ b/eZmaxApi/models/ezsignfolder_response.py @@ -36,16 +36,19 @@ class EzsignfolderResponse(BaseModel): pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") obj_ezsignfoldertype: Optional[CustomEzsignfoldertypeResponse] = Field(default=None, alias="objEzsignfoldertype") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") e_ezsignfolder_completion: FieldEEzsignfolderCompletion = Field(alias="eEzsignfolderCompletion") s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, alias="sEzsignfoldertypeNameX") fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") b_ezsignfolder_isdisposable: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument can be disposed", alias="bEzsignfolderIsdisposable") e_ezsignfolder_sendreminderfrequency: Optional[FieldEEzsignfolderSendreminderfrequency] = Field(default=None, alias="eEzsignfolderSendreminderfrequency") + i_ezsignfolder_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") dt_ezsignfolder_delayedsenddate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder will be sent in the future.", alias="dtEzsignfolderDelayedsenddate") dt_ezsignfolder_duedate: Optional[StrictStr] = Field(default=None, description="The maximum date and time at which the Ezsignfolder can be signed.", alias="dtEzsignfolderDuedate") dt_ezsignfolder_sentdate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was sent the last time.", alias="dtEzsignfolderSentdate") @@ -56,7 +59,14 @@ class EzsignfolderResponse(BaseModel): t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") - __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "eEzsignfolderCompletion", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "eEzsignfolderSendreminderfrequency", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid"] + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "fkiTimezoneID", "eEzsignfolderCompletion", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "eEzsignfolderSendreminderfrequency", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value @field_validator('s_ezsignfolder_externalid') def s_ezsignfolder_externalid_validate_regular_expression(cls, value): @@ -128,6 +138,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), "objEzsignfoldertype": CustomEzsignfoldertypeResponse.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None, + "fkiTimezoneID": obj.get("fkiTimezoneID"), "eEzsignfolderCompletion": obj.get("eEzsignfolderCompletion"), "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), @@ -138,6 +149,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "tEzsignfolderNote": obj.get("tEzsignfolderNote"), "bEzsignfolderIsdisposable": obj.get("bEzsignfolderIsdisposable"), "eEzsignfolderSendreminderfrequency": obj.get("eEzsignfolderSendreminderfrequency"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), "dtEzsignfolderDelayedsenddate": obj.get("dtEzsignfolderDelayedsenddate"), "dtEzsignfolderDuedate": obj.get("dtEzsignfolderDuedate"), "dtEzsignfolderSentdate": obj.get("dtEzsignfolderSentdate"), diff --git a/eZmaxApi/models/ezsignfolder_response_compound.py b/eZmaxApi/models/ezsignfolder_response_compound.py index d6b014475..cddbb4791 100644 --- a/eZmaxApi/models/ezsignfolder_response_compound.py +++ b/eZmaxApi/models/ezsignfolder_response_compound.py @@ -23,6 +23,7 @@ from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.custom_ezsignfoldertype_response import CustomEzsignfoldertypeResponse +from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion from eZmaxApi.models.field_e_ezsignfolder_sendreminderfrequency import FieldEEzsignfolderSendreminderfrequency from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep @@ -36,16 +37,19 @@ class EzsignfolderResponseCompound(BaseModel): pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") obj_ezsignfoldertype: Optional[CustomEzsignfoldertypeResponse] = Field(default=None, alias="objEzsignfoldertype") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") e_ezsignfolder_completion: FieldEEzsignfolderCompletion = Field(alias="eEzsignfolderCompletion") s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, alias="sEzsignfoldertypeNameX") fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") - s_ezsignfolder_description: StrictStr = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") b_ezsignfolder_isdisposable: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument can be disposed", alias="bEzsignfolderIsdisposable") e_ezsignfolder_sendreminderfrequency: Optional[FieldEEzsignfolderSendreminderfrequency] = Field(default=None, alias="eEzsignfolderSendreminderfrequency") + i_ezsignfolder_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") dt_ezsignfolder_delayedsenddate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder will be sent in the future.", alias="dtEzsignfolderDelayedsenddate") dt_ezsignfolder_duedate: Optional[StrictStr] = Field(default=None, description="The maximum date and time at which the Ezsignfolder can be signed.", alias="dtEzsignfolderDuedate") dt_ezsignfolder_sentdate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was sent the last time.", alias="dtEzsignfolderSentdate") @@ -56,7 +60,15 @@ class EzsignfolderResponseCompound(BaseModel): t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") - __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "eEzsignfolderCompletion", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "eEzsignfolderSendreminderfrequency", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid"] + obj_timezone: Optional[CustomTimezoneWithCodeResponse] = Field(default=None, alias="objTimezone") + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "fkiTimezoneID", "eEzsignfolderCompletion", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "eEzsignfolderSendreminderfrequency", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid", "objTimezone"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value @field_validator('s_ezsignfolder_externalid') def s_ezsignfolder_externalid_validate_regular_expression(cls, value): @@ -113,6 +125,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of obj_audit if self.obj_audit: _dict['objAudit'] = self.obj_audit.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_timezone + if self.obj_timezone: + _dict['objTimezone'] = self.obj_timezone.to_dict() return _dict @classmethod @@ -128,6 +143,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), "objEzsignfoldertype": CustomEzsignfoldertypeResponse.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None, + "fkiTimezoneID": obj.get("fkiTimezoneID"), "eEzsignfolderCompletion": obj.get("eEzsignfolderCompletion"), "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), @@ -138,6 +154,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "tEzsignfolderNote": obj.get("tEzsignfolderNote"), "bEzsignfolderIsdisposable": obj.get("bEzsignfolderIsdisposable"), "eEzsignfolderSendreminderfrequency": obj.get("eEzsignfolderSendreminderfrequency"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), "dtEzsignfolderDelayedsenddate": obj.get("dtEzsignfolderDelayedsenddate"), "dtEzsignfolderDuedate": obj.get("dtEzsignfolderDuedate"), "dtEzsignfolderSentdate": obj.get("dtEzsignfolderSentdate"), @@ -147,7 +165,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "dtEzsignfolderClose": obj.get("dtEzsignfolderClose"), "tEzsignfolderMessage": obj.get("tEzsignfolderMessage"), "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, - "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid") + "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid"), + "objTimezone": CustomTimezoneWithCodeResponse.from_dict(obj["objTimezone"]) if obj.get("objTimezone") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignfolder_response_compound_v3.py b/eZmaxApi/models/ezsignfolder_response_compound_v3.py new file mode 100644 index 000000000..ca5259e95 --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_response_compound_v3.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.computed_e_ezsignfolder_access import ComputedEEzsignfolderAccess +from eZmaxApi.models.custom_ezsignfoldertype_response import CustomEzsignfoldertypeResponse +from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse +from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion +from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency +from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderResponseCompoundV3(BaseModel): + """ + An Ezsignfolder Object and children to create a complete structure + """ # noqa: E501 + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + obj_ezsignfoldertype: Optional[CustomEzsignfoldertypeResponse] = Field(default=None, alias="objEzsignfoldertype") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") + e_ezsignfolder_completion: FieldEEzsignfolderCompletion = Field(alias="eEzsignfolderCompletion") + e_ezsignfolder_documentdependency: Optional[FieldEEzsignfolderDocumentdependency] = Field(default=None, alias="eEzsignfolderDocumentdependency") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, alias="sEzsignfoldertypeNameX") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") + b_ezsignfolder_isdisposable: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument can be disposed", alias="bEzsignfolderIsdisposable") + i_ezsignfolder_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") + dt_ezsignfolder_delayedsenddate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder will be sent in the future.", alias="dtEzsignfolderDelayedsenddate") + dt_ezsignfolder_duedate: Optional[StrictStr] = Field(default=None, description="The maximum date and time at which the Ezsignfolder can be signed.", alias="dtEzsignfolderDuedate") + dt_ezsignfolder_sentdate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was sent the last time.", alias="dtEzsignfolderSentdate") + dt_ezsignfolder_scheduledarchive: Optional[StrictStr] = Field(default=None, description="The scheduled date and time at which the Ezsignfolder should be archived.", alias="dtEzsignfolderScheduledarchive") + dt_ezsignfolder_scheduleddispose: Optional[StrictStr] = Field(default=None, description="The scheduled date at which the Ezsignfolder should be Disposed.", alias="dtEzsignfolderScheduleddispose") + e_ezsignfolder_step: Optional[FieldEEzsignfolderStep] = Field(default=None, alias="eEzsignfolderStep") + dt_ezsignfolder_close: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was closed. Either by applying the last signature or by completing it prematurely.", alias="dtEzsignfolderClose") + t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") + s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") + e_ezsignfolder_access: Optional[ComputedEEzsignfolderAccess] = Field(default=None, alias="eEzsignfolderAccess") + obj_timezone: Optional[CustomTimezoneWithCodeResponse] = Field(default=None, alias="objTimezone") + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "fkiTimezoneID", "eEzsignfolderCompletion", "eEzsignfolderDocumentdependency", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid", "eEzsignfolderAccess", "objTimezone"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsignfolder_externalid') + def s_ezsignfolder_externalid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,128}$", value): + raise ValueError(r"must validate the regular expression /^.{0,128}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderResponseCompoundV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype + if self.obj_ezsignfoldertype: + _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_timezone + if self.obj_timezone: + _dict['objTimezone'] = self.obj_timezone.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderResponseCompoundV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "objEzsignfoldertype": CustomEzsignfoldertypeResponse.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None, + "fkiTimezoneID": obj.get("fkiTimezoneID"), + "eEzsignfolderCompletion": obj.get("eEzsignfolderCompletion"), + "eEzsignfolderDocumentdependency": obj.get("eEzsignfolderDocumentdependency"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), + "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), + "tEzsignfolderNote": obj.get("tEzsignfolderNote"), + "bEzsignfolderIsdisposable": obj.get("bEzsignfolderIsdisposable"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), + "dtEzsignfolderDelayedsenddate": obj.get("dtEzsignfolderDelayedsenddate"), + "dtEzsignfolderDuedate": obj.get("dtEzsignfolderDuedate"), + "dtEzsignfolderSentdate": obj.get("dtEzsignfolderSentdate"), + "dtEzsignfolderScheduledarchive": obj.get("dtEzsignfolderScheduledarchive"), + "dtEzsignfolderScheduleddispose": obj.get("dtEzsignfolderScheduleddispose"), + "eEzsignfolderStep": obj.get("eEzsignfolderStep"), + "dtEzsignfolderClose": obj.get("dtEzsignfolderClose"), + "tEzsignfolderMessage": obj.get("tEzsignfolderMessage"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid"), + "eEzsignfolderAccess": obj.get("eEzsignfolderAccess"), + "objTimezone": CustomTimezoneWithCodeResponse.from_dict(obj["objTimezone"]) if obj.get("objTimezone") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_response_v3.py b/eZmaxApi/models/ezsignfolder_response_v3.py new file mode 100644 index 000000000..8e0c6cf4e --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_response_v3.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.computed_e_ezsignfolder_access import ComputedEEzsignfolderAccess +from eZmaxApi.models.custom_ezsignfoldertype_response import CustomEzsignfoldertypeResponse +from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion +from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency +from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfolderResponseV3(BaseModel): + """ + An Ezsignfolder Object + """ # noqa: E501 + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + obj_ezsignfoldertype: Optional[CustomEzsignfoldertypeResponse] = Field(default=None, alias="objEzsignfoldertype") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") + e_ezsignfolder_completion: FieldEEzsignfolderCompletion = Field(alias="eEzsignfolderCompletion") + e_ezsignfolder_documentdependency: Optional[FieldEEzsignfolderDocumentdependency] = Field(default=None, alias="eEzsignfolderDocumentdependency") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, alias="sEzsignfoldertypeNameX") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") + b_ezsignfolder_isdisposable: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument can be disposed", alias="bEzsignfolderIsdisposable") + i_ezsignfolder_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") + dt_ezsignfolder_delayedsenddate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder will be sent in the future.", alias="dtEzsignfolderDelayedsenddate") + dt_ezsignfolder_duedate: Optional[StrictStr] = Field(default=None, description="The maximum date and time at which the Ezsignfolder can be signed.", alias="dtEzsignfolderDuedate") + dt_ezsignfolder_sentdate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was sent the last time.", alias="dtEzsignfolderSentdate") + dt_ezsignfolder_scheduledarchive: Optional[StrictStr] = Field(default=None, description="The scheduled date and time at which the Ezsignfolder should be archived.", alias="dtEzsignfolderScheduledarchive") + dt_ezsignfolder_scheduleddispose: Optional[StrictStr] = Field(default=None, description="The scheduled date at which the Ezsignfolder should be Disposed.", alias="dtEzsignfolderScheduleddispose") + e_ezsignfolder_step: Optional[FieldEEzsignfolderStep] = Field(default=None, alias="eEzsignfolderStep") + dt_ezsignfolder_close: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was closed. Either by applying the last signature or by completing it prematurely.", alias="dtEzsignfolderClose") + t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") + s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") + e_ezsignfolder_access: Optional[ComputedEEzsignfolderAccess] = Field(default=None, alias="eEzsignfolderAccess") + __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "fkiTimezoneID", "eEzsignfolderCompletion", "eEzsignfolderDocumentdependency", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid", "eEzsignfolderAccess"] + + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsignfolder_externalid') + def s_ezsignfolder_externalid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,128}$", value): + raise ValueError(r"must validate the regular expression /^.{0,128}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfolderResponseV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype + if self.obj_ezsignfoldertype: + _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfolderResponseV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "objEzsignfoldertype": CustomEzsignfoldertypeResponse.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None, + "fkiTimezoneID": obj.get("fkiTimezoneID"), + "eEzsignfolderCompletion": obj.get("eEzsignfolderCompletion"), + "eEzsignfolderDocumentdependency": obj.get("eEzsignfolderDocumentdependency"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), + "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), + "tEzsignfolderNote": obj.get("tEzsignfolderNote"), + "bEzsignfolderIsdisposable": obj.get("bEzsignfolderIsdisposable"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), + "dtEzsignfolderDelayedsenddate": obj.get("dtEzsignfolderDelayedsenddate"), + "dtEzsignfolderDuedate": obj.get("dtEzsignfolderDuedate"), + "dtEzsignfolderSentdate": obj.get("dtEzsignfolderSentdate"), + "dtEzsignfolderScheduledarchive": obj.get("dtEzsignfolderScheduledarchive"), + "dtEzsignfolderScheduleddispose": obj.get("dtEzsignfolderScheduleddispose"), + "eEzsignfolderStep": obj.get("eEzsignfolderStep"), + "dtEzsignfolderClose": obj.get("dtEzsignfolderClose"), + "tEzsignfolderMessage": obj.get("tEzsignfolderMessage"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid"), + "eEzsignfolderAccess": obj.get("eEzsignfolderAccess") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_send_v3_request.py b/eZmaxApi/models/ezsignfolder_send_v3_request.py index 9a76ecc54..adec33738 100644 --- a/eZmaxApi/models/ezsignfolder_send_v3_request.py +++ b/eZmaxApi/models/ezsignfolder_send_v3_request.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsignfolder_messageorder import FieldEEzsignfolderMessageorder from typing import Optional, Set from typing_extensions import Self @@ -29,9 +30,10 @@ class EzsignfolderSendV3Request(BaseModel): Request for POST /3/object/ezsignfolder/{pkiEzsignfolderID}/send """ # noqa: E501 t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") + e_ezsignfolder_messageorder: Optional[FieldEEzsignfolderMessageorder] = Field(default=FieldEEzsignfolderMessageorder.GLOBALFIRST, alias="eEzsignfolderMessageorder") dt_ezsignfolder_delayedsenddate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder will be sent in the future.", alias="dtEzsignfolderDelayedsenddate") a_fki_ezsignfoldersignerassociation_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(alias="a_fkiEzsignfoldersignerassociationID") - __properties: ClassVar[List[str]] = ["tEzsignfolderMessage", "dtEzsignfolderDelayedsenddate", "a_fkiEzsignfoldersignerassociationID"] + __properties: ClassVar[List[str]] = ["tEzsignfolderMessage", "eEzsignfolderMessageorder", "dtEzsignfolderDelayedsenddate", "a_fkiEzsignfoldersignerassociationID"] model_config = ConfigDict( populate_by_name=True, @@ -85,6 +87,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "tEzsignfolderMessage": obj.get("tEzsignfolderMessage"), + "eEzsignfolderMessageorder": obj.get("eEzsignfolderMessageorder") if obj.get("eEzsignfolderMessageorder") is not None else FieldEEzsignfolderMessageorder.GLOBALFIRST, "dtEzsignfolderDelayedsenddate": obj.get("dtEzsignfolderDelayedsenddate"), "a_fkiEzsignfoldersignerassociationID": obj.get("a_fkiEzsignfoldersignerassociationID") }) diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_create_embedded_url_v1_request.py b/eZmaxApi/models/ezsignfoldersignerassociation_create_embedded_url_v1_request.py index 14de6297b..2b66e734b 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_create_embedded_url_v1_request.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_create_embedded_url_v1_request.py @@ -28,7 +28,7 @@ class EzsignfoldersignerassociationCreateEmbeddedUrlV1Request(BaseModel): """ Request for POST /1/object/ezsignfoldersignerassociation/createEmbeddedUrl """ # noqa: E501 - s_return_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The return Url to redirect after the signing is completed", alias="sReturnUrl") + s_return_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The return Url to redirect after the signing is completed **Warning** Due to the potential for Ezsignsigners to cancel redirection, close their browser post-signing, or spoof the landing URL, it's advisable not to solely depend on the sReturnUrl for accurate status within your integration. Once the Ezsignsigner finishes, they are directed back to your application. Your application can retain transaction state details by either storing data in a cookie or incorporating query parameters in the sReturnUrl. For example: https://www.example.com/sReturnUrl?sSessionID=ABC123 The actual url that will be called will have an extra url parameter appended to give details about the process. The possible values are listed in the table below. For example: https://www.example.com/sReturnUrl?sSessionID=ABC123&eEzsignEvent=CompletedEzsignfolder |**Query parameters appended**| |---| |eEzsignEvent| |**eEzsignEvent**|**Description**| |---|---| |SessionTimeout|The session timed out| |SessionLogout|The Ezsignsigner signed out| |DeclinedTermOfUse|The Ezsignsigner refused the terms| |DeclinedSign|The Ezsignsigner refused to sign| |Reassigned|The Ezsignsigner reassigned his signatures to someone else| |CompletedStep|The Ezsignsigner completed his step. There is other signatures to complete the Ezsigndocument| |CompletedEzsignfolder|The Ezsignfolder is completed. Everyone signed their signatures|", alias="sReturnUrl") s_iframedomain: Optional[StrictStr] = Field(default=None, description="Domain protection for the iFrame", alias="sIframedomain") b_is_iframe: Optional[StrictBool] = Field(default=None, description="Whether the url would be in an iFrame or not", alias="bIsIframe") __properties: ClassVar[List[str]] = ["sReturnUrl", "sIframedomain", "bIsIframe"] diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v2_request.py b/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v2_request.py index 8d6d7bb0e..127441259 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v2_request.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v2_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldersignerassociation (list) _items = [] if self.a_obj_ezsignfoldersignerassociation: - for _item in self.a_obj_ezsignfoldersignerassociation: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfoldersignerassociation in self.a_obj_ezsignfoldersignerassociation: + if _item_a_obj_ezsignfoldersignerassociation: + _items.append(_item_a_obj_ezsignfoldersignerassociation.to_dict()) _dict['a_objEzsignfoldersignerassociation'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_request.py b/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_request.py new file mode 100644 index 000000000..afd8ca6ec --- /dev/null +++ b/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_request.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldersignerassociationReassignV1Request(BaseModel): + """ + Request for POST /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}/reassign + """ # noqa: E501 + fki_ezsignfoldersignerassociation_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationID") + __properties: ClassVar[List[str]] = ["fkiEzsignfoldersignerassociationID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldersignerassociationReassignV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldersignerassociationReassignV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiEzsignfoldersignerassociationID": obj.get("fkiEzsignfoldersignerassociationID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_response.py new file mode 100644 index 000000000..2655ca2e5 --- /dev/null +++ b/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldersignerassociationReassignV1Response(BaseModel): + """ + Response for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}/reassign + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldersignerassociationReassignV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldersignerassociationReassignV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_create_object_v2_request.py b/eZmaxApi/models/ezsignfoldertype_create_object_v2_request.py deleted file mode 100644 index a2c2968ab..000000000 --- a/eZmaxApi/models/ezsignfoldertype_create_object_v2_request.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from eZmaxApi.models.ezsignfoldertype_request_compound_v2 import EzsignfoldertypeRequestCompoundV2 -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeCreateObjectV2Request(BaseModel): - """ - Request for POST /2/object/ezsignfoldertype - """ # noqa: E501 - a_obj_ezsignfoldertype: Annotated[List[EzsignfoldertypeRequestCompoundV2], Field(min_length=1)] = Field(alias="a_objEzsignfoldertype") - __properties: ClassVar[List[str]] = ["a_objEzsignfoldertype"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeCreateObjectV2Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldertype (list) - _items = [] - if self.a_obj_ezsignfoldertype: - for _item in self.a_obj_ezsignfoldertype: - if _item: - _items.append(_item.to_dict()) - _dict['a_objEzsignfoldertype'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeCreateObjectV2Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_objEzsignfoldertype": [EzsignfoldertypeRequestCompoundV2.from_dict(_item) for _item in obj["a_objEzsignfoldertype"]] if obj.get("a_objEzsignfoldertype") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_create_object_v2_response.py b/eZmaxApi/models/ezsignfoldertype_create_object_v2_response.py deleted file mode 100644 index 3bc3b8d48..000000000 --- a/eZmaxApi/models/ezsignfoldertype_create_object_v2_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response_m_payload import EzsignfoldertypeCreateObjectV2ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeCreateObjectV2Response(BaseModel): - """ - Response for POST /2/object/ezsignfoldertype - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsignfoldertypeCreateObjectV2ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeCreateObjectV2Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeCreateObjectV2Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsignfoldertypeCreateObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_create_object_v2_response_m_payload.py b/eZmaxApi/models/ezsignfoldertype_create_object_v2_response_m_payload.py deleted file mode 100644 index 57ccc3509..000000000 --- a/eZmaxApi/models/ezsignfoldertype_create_object_v2_response_m_payload.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeCreateObjectV2ResponseMPayload(BaseModel): - """ - Payload for POST /2/object/ezsignfoldertype - """ # noqa: E501 - a_pki_ezsignfoldertype_id: Annotated[List[Annotated[int, Field(le=65535, strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsignfoldertypeID") - __properties: ClassVar[List[str]] = ["a_pkiEzsignfoldertypeID"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeCreateObjectV2ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeCreateObjectV2ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_pkiEzsignfoldertypeID": obj.get("a_pkiEzsignfoldertypeID") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_create_object_v3_request.py b/eZmaxApi/models/ezsignfoldertype_create_object_v3_request.py new file mode 100644 index 000000000..a6e7cef1c --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_create_object_v3_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsignfoldertype_request_compound_v3 import EzsignfoldertypeRequestCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeCreateObjectV3Request(BaseModel): + """ + Request for POST /3/object/ezsignfoldertype + """ # noqa: E501 + a_obj_ezsignfoldertype: Annotated[List[EzsignfoldertypeRequestCompoundV3], Field(min_length=1)] = Field(alias="a_objEzsignfoldertype") + __properties: ClassVar[List[str]] = ["a_objEzsignfoldertype"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeCreateObjectV3Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldertype (list) + _items = [] + if self.a_obj_ezsignfoldertype: + for _item_a_obj_ezsignfoldertype in self.a_obj_ezsignfoldertype: + if _item_a_obj_ezsignfoldertype: + _items.append(_item_a_obj_ezsignfoldertype.to_dict()) + _dict['a_objEzsignfoldertype'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeCreateObjectV3Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsignfoldertype": [EzsignfoldertypeRequestCompoundV3.from_dict(_item) for _item in obj["a_objEzsignfoldertype"]] if obj.get("a_objEzsignfoldertype") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_create_object_v3_response.py b/eZmaxApi/models/ezsignfoldertype_create_object_v3_response.py new file mode 100644 index 000000000..501fe0f8e --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_create_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response_m_payload import EzsignfoldertypeCreateObjectV3ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeCreateObjectV3Response(BaseModel): + """ + Response for POST /3/object/ezsignfoldertype + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignfoldertypeCreateObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeCreateObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeCreateObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignfoldertypeCreateObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_create_object_v3_response_m_payload.py b/eZmaxApi/models/ezsignfoldertype_create_object_v3_response_m_payload.py new file mode 100644 index 000000000..3768e94ad --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_create_object_v3_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeCreateObjectV3ResponseMPayload(BaseModel): + """ + Payload for POST /3/object/ezsignfoldertype + """ # noqa: E501 + a_pki_ezsignfoldertype_id: Annotated[List[Annotated[int, Field(le=65535, strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsignfoldertypeID") + __properties: ClassVar[List[str]] = ["a_pkiEzsignfoldertypeID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeCreateObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeCreateObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzsignfoldertypeID": obj.get("a_pkiEzsignfoldertypeID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_edit_object_v1_request.py b/eZmaxApi/models/ezsignfoldertype_edit_object_v1_request.py deleted file mode 100644 index 1d54f1a98..000000000 --- a/eZmaxApi/models/ezsignfoldertype_edit_object_v1_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignfoldertype_request_compound import EzsignfoldertypeRequestCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeEditObjectV1Request(BaseModel): - """ - Request for PUT /1/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - """ # noqa: E501 - obj_ezsignfoldertype: EzsignfoldertypeRequestCompound = Field(alias="objEzsignfoldertype") - __properties: ClassVar[List[str]] = ["objEzsignfoldertype"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeEditObjectV1Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype - if self.obj_ezsignfoldertype: - _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeEditObjectV1Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsignfoldertype": EzsignfoldertypeRequestCompound.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_edit_object_v1_response.py b/eZmaxApi/models/ezsignfoldertype_edit_object_v1_response.py deleted file mode 100644 index 999bf8e39..000000000 --- a/eZmaxApi/models/ezsignfoldertype_edit_object_v1_response.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeEditObjectV1Response(BaseModel): - """ - Response for PUT /1/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeEditObjectV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeEditObjectV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_edit_object_v2_request.py b/eZmaxApi/models/ezsignfoldertype_edit_object_v2_request.py deleted file mode 100644 index 2b9edc64c..000000000 --- a/eZmaxApi/models/ezsignfoldertype_edit_object_v2_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignfoldertype_request_compound_v2 import EzsignfoldertypeRequestCompoundV2 -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeEditObjectV2Request(BaseModel): - """ - Request for PUT /2/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - """ # noqa: E501 - obj_ezsignfoldertype: EzsignfoldertypeRequestCompoundV2 = Field(alias="objEzsignfoldertype") - __properties: ClassVar[List[str]] = ["objEzsignfoldertype"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeEditObjectV2Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype - if self.obj_ezsignfoldertype: - _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeEditObjectV2Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsignfoldertype": EzsignfoldertypeRequestCompoundV2.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_edit_object_v2_response.py b/eZmaxApi/models/ezsignfoldertype_edit_object_v2_response.py deleted file mode 100644 index dcf360a24..000000000 --- a/eZmaxApi/models/ezsignfoldertype_edit_object_v2_response.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeEditObjectV2Response(BaseModel): - """ - Response for PUT /2/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeEditObjectV2Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeEditObjectV2Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_edit_object_v3_request.py b/eZmaxApi/models/ezsignfoldertype_edit_object_v3_request.py new file mode 100644 index 000000000..d4ac9d0c0 --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_edit_object_v3_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignfoldertype_request_compound_v3 import EzsignfoldertypeRequestCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeEditObjectV3Request(BaseModel): + """ + Request for PUT /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} + """ # noqa: E501 + obj_ezsignfoldertype: EzsignfoldertypeRequestCompoundV3 = Field(alias="objEzsignfoldertype") + __properties: ClassVar[List[str]] = ["objEzsignfoldertype"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeEditObjectV3Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype + if self.obj_ezsignfoldertype: + _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeEditObjectV3Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignfoldertype": EzsignfoldertypeRequestCompoundV3.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_edit_object_v3_response.py b/eZmaxApi/models/ezsignfoldertype_edit_object_v3_response.py new file mode 100644 index 000000000..11245ccbe --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_edit_object_v3_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeEditObjectV3Response(BaseModel): + """ + Response for PUT /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeEditObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeEditObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response_m_payload.py index ddd921dda..cb5c0c2e7 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldertype (list) _items = [] if self.a_obj_ezsignfoldertype: - for _item in self.a_obj_ezsignfoldertype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfoldertype in self.a_obj_ezsignfoldertype: + if _item_a_obj_ezsignfoldertype: + _items.append(_item_a_obj_ezsignfoldertype.to_dict()) _dict['a_objEzsignfoldertype'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py index 572311ca0..bd99dbf8a 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfoldertype (list) _items = [] if self.a_obj_ezsignfoldertype: - for _item in self.a_obj_ezsignfoldertype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfoldertype in self.a_obj_ezsignfoldertype: + if _item_a_obj_ezsignfoldertype: + _items.append(_item_a_obj_ezsignfoldertype.to_dict()) _dict['a_objEzsignfoldertype'] = _items return _dict diff --git a/eZmaxApi/models/ezsignfoldertype_get_object_v3_response.py b/eZmaxApi/models/ezsignfoldertype_get_object_v3_response.py deleted file mode 100644 index 46441b73d..000000000 --- a/eZmaxApi/models/ezsignfoldertype_get_object_v3_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response_m_payload import EzsignfoldertypeGetObjectV3ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeGetObjectV3Response(BaseModel): - """ - Response for GET /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsignfoldertypeGetObjectV3ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeGetObjectV3Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeGetObjectV3Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsignfoldertypeGetObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_get_object_v3_response_m_payload.py b/eZmaxApi/models/ezsignfoldertype_get_object_v3_response_m_payload.py deleted file mode 100644 index 91f392faa..000000000 --- a/eZmaxApi/models/ezsignfoldertype_get_object_v3_response_m_payload.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignfoldertype_response_compound_v3 import EzsignfoldertypeResponseCompoundV3 -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeGetObjectV3ResponseMPayload(BaseModel): - """ - Payload for GET /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} - """ # noqa: E501 - obj_ezsignfoldertype: EzsignfoldertypeResponseCompoundV3 = Field(alias="objEzsignfoldertype") - __properties: ClassVar[List[str]] = ["objEzsignfoldertype"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeGetObjectV3ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype - if self.obj_ezsignfoldertype: - _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeGetObjectV3ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsignfoldertype": EzsignfoldertypeResponseCompoundV3.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_get_object_v4_response.py b/eZmaxApi/models/ezsignfoldertype_get_object_v4_response.py new file mode 100644 index 000000000..3880a703f --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_get_object_v4_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response_m_payload import EzsignfoldertypeGetObjectV4ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeGetObjectV4Response(BaseModel): + """ + Response for GET /4/object/ezsignfoldertype/{pkiEzsignfoldertypeID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignfoldertypeGetObjectV4ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeGetObjectV4Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeGetObjectV4Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignfoldertypeGetObjectV4ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_get_object_v4_response_m_payload.py b/eZmaxApi/models/ezsignfoldertype_get_object_v4_response_m_payload.py new file mode 100644 index 000000000..1877580da --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_get_object_v4_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignfoldertype_response_compound_v4 import EzsignfoldertypeResponseCompoundV4 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeGetObjectV4ResponseMPayload(BaseModel): + """ + Payload for GET /4/object/ezsignfoldertype/{pkiEzsignfoldertypeID} + """ # noqa: E501 + obj_ezsignfoldertype: EzsignfoldertypeResponseCompoundV4 = Field(alias="objEzsignfoldertype") + __properties: ClassVar[List[str]] = ["objEzsignfoldertype"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeGetObjectV4ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype + if self.obj_ezsignfoldertype: + _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeGetObjectV4ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignfoldertype": EzsignfoldertypeResponseCompoundV4.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_request.py b/eZmaxApi/models/ezsignfoldertype_request.py deleted file mode 100644 index 1b87d3e7f..000000000 --- a/eZmaxApi/models/ezsignfoldertype_request.py +++ /dev/null @@ -1,197 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion -from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal -from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel -from eZmaxApi.models.field_e_ezsignfoldertype_sendreminderfrequency import FieldEEzsignfoldertypeSendreminderfrequency -from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeRequest(BaseModel): - """ - A Ezsignfoldertype Object - """ # noqa: E501 - pki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") - obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") - fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") - fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") - fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") - fki_usergroup_id_restricted: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupIDRestricted") - fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") - s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") - s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") - e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") - e_ezsignfoldertype_sendreminderfrequency: Optional[FieldEEzsignfoldertypeSendreminderfrequency] = Field(default=None, alias="eEzsignfoldertypeSendreminderfrequency") - i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") - e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") - e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") - i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") - i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") - b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") - b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") - b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") - b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") - b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") - b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") - b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") - b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") - b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") - b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") - b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") - b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") - b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") - b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") - b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") - b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") - b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") - b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") - b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") - b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") - b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") - b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") - b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") - b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") - b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") - __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiUsergroupID", "fkiUsergroupIDRestricted", "fkiEzsigntsarequirementID", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive"] - - @field_validator('s_email_address_signed') - def s_email_address_signed_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - @field_validator('s_email_address_summary') - def s_email_address_summary_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype_name - if self.obj_ezsignfoldertype_name: - _dict['objEzsignfoldertypeName'] = self.obj_ezsignfoldertype_name.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), - "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, - "fkiBrandingID": obj.get("fkiBrandingID"), - "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), - "fkiUsergroupID": obj.get("fkiUsergroupID"), - "fkiUsergroupIDRestricted": obj.get("fkiUsergroupIDRestricted"), - "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), - "sEmailAddressSigned": obj.get("sEmailAddressSigned"), - "sEmailAddressSummary": obj.get("sEmailAddressSummary"), - "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), - "eEzsignfoldertypeSendreminderfrequency": obj.get("eEzsignfoldertypeSendreminderfrequency"), - "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), - "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), - "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), - "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), - "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), - "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), - "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), - "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), - "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), - "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), - "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), - "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), - "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), - "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), - "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), - "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), - "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), - "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), - "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), - "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), - "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), - "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), - "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), - "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), - "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), - "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), - "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), - "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), - "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), - "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_request_compound.py b/eZmaxApi/models/ezsignfoldertype_request_compound.py deleted file mode 100644 index 7504e2737..000000000 --- a/eZmaxApi/models/ezsignfoldertype_request_compound.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion -from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal -from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel -from eZmaxApi.models.field_e_ezsignfoldertype_sendreminderfrequency import FieldEEzsignfoldertypeSendreminderfrequency -from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeRequestCompound(BaseModel): - """ - A Ezsignfoldertype Object and children - """ # noqa: E501 - pki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") - obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") - fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") - fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") - fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") - fki_usergroup_id_restricted: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupIDRestricted") - fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") - s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") - s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") - e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") - e_ezsignfoldertype_sendreminderfrequency: Optional[FieldEEzsignfoldertypeSendreminderfrequency] = Field(default=None, alias="eEzsignfoldertypeSendreminderfrequency") - i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") - e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") - e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") - i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") - i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") - b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") - b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") - b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") - b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") - b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") - b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") - b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") - b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") - b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") - b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") - b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") - b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") - b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") - b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") - b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") - b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") - b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") - b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") - b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") - b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") - b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") - b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") - b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") - b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") - b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") - a_fki_user_id_signed: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSigned") - a_fki_user_id_summary: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSummary") - __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiUsergroupID", "fkiUsergroupIDRestricted", "fkiEzsigntsarequirementID", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive", "a_fkiUserIDSigned", "a_fkiUserIDSummary"] - - @field_validator('s_email_address_signed') - def s_email_address_signed_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - @field_validator('s_email_address_summary') - def s_email_address_summary_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeRequestCompound from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype_name - if self.obj_ezsignfoldertype_name: - _dict['objEzsignfoldertypeName'] = self.obj_ezsignfoldertype_name.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeRequestCompound from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), - "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, - "fkiBrandingID": obj.get("fkiBrandingID"), - "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), - "fkiUsergroupID": obj.get("fkiUsergroupID"), - "fkiUsergroupIDRestricted": obj.get("fkiUsergroupIDRestricted"), - "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), - "sEmailAddressSigned": obj.get("sEmailAddressSigned"), - "sEmailAddressSummary": obj.get("sEmailAddressSummary"), - "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), - "eEzsignfoldertypeSendreminderfrequency": obj.get("eEzsignfoldertypeSendreminderfrequency"), - "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), - "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), - "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), - "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), - "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), - "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), - "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), - "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), - "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), - "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), - "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), - "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), - "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), - "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), - "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), - "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), - "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), - "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), - "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), - "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), - "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), - "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), - "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), - "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), - "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), - "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), - "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), - "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), - "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), - "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive"), - "a_fkiUserIDSigned": obj.get("a_fkiUserIDSigned"), - "a_fkiUserIDSummary": obj.get("a_fkiUserIDSummary") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_request_compound_v2.py b/eZmaxApi/models/ezsignfoldertype_request_compound_v2.py deleted file mode 100644 index 1b9ab8b2b..000000000 --- a/eZmaxApi/models/ezsignfoldertype_request_compound_v2.py +++ /dev/null @@ -1,205 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion -from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal -from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel -from eZmaxApi.models.field_e_ezsignfoldertype_sendreminderfrequency import FieldEEzsignfoldertypeSendreminderfrequency -from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeRequestCompoundV2(BaseModel): - """ - A Ezsignfoldertype Object and children - """ # noqa: E501 - pki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") - obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") - fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") - fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") - fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") - a_fki_userlogintype_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(alias="a_fkiUserlogintypeID") - a_fki_usergroup_id_all: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDAll") - a_fki_usergroup_id_restricted: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDRestricted") - a_fki_usergroup_id_template: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDTemplate") - s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") - s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") - e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") - e_ezsignfoldertype_sendreminderfrequency: Optional[FieldEEzsignfoldertypeSendreminderfrequency] = Field(default=None, alias="eEzsignfoldertypeSendreminderfrequency") - i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") - e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") - e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") - i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") - i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") - b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") - b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") - b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") - b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") - b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") - b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") - b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") - b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") - b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") - b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") - b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") - b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") - b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") - b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") - b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") - b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") - b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") - b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") - b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") - b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") - b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") - b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") - b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") - b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") - b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") - a_fki_user_id_signed: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSigned") - a_fki_user_id_summary: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSummary") - __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiEzsigntsarequirementID", "a_fkiUserlogintypeID", "a_fkiUsergroupIDAll", "a_fkiUsergroupIDRestricted", "a_fkiUsergroupIDTemplate", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive", "a_fkiUserIDSigned", "a_fkiUserIDSummary"] - - @field_validator('s_email_address_signed') - def s_email_address_signed_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - @field_validator('s_email_address_summary') - def s_email_address_summary_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeRequestCompoundV2 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype_name - if self.obj_ezsignfoldertype_name: - _dict['objEzsignfoldertypeName'] = self.obj_ezsignfoldertype_name.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeRequestCompoundV2 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), - "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, - "fkiBrandingID": obj.get("fkiBrandingID"), - "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), - "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), - "a_fkiUserlogintypeID": obj.get("a_fkiUserlogintypeID"), - "a_fkiUsergroupIDAll": obj.get("a_fkiUsergroupIDAll"), - "a_fkiUsergroupIDRestricted": obj.get("a_fkiUsergroupIDRestricted"), - "a_fkiUsergroupIDTemplate": obj.get("a_fkiUsergroupIDTemplate"), - "sEmailAddressSigned": obj.get("sEmailAddressSigned"), - "sEmailAddressSummary": obj.get("sEmailAddressSummary"), - "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), - "eEzsignfoldertypeSendreminderfrequency": obj.get("eEzsignfoldertypeSendreminderfrequency"), - "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), - "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), - "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), - "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), - "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), - "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), - "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), - "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), - "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), - "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), - "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), - "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), - "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), - "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), - "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), - "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), - "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), - "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), - "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), - "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), - "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), - "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), - "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), - "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), - "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), - "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), - "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), - "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), - "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), - "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive"), - "a_fkiUserIDSigned": obj.get("a_fkiUserIDSigned"), - "a_fkiUserIDSummary": obj.get("a_fkiUserIDSummary") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_request_compound_v3.py b/eZmaxApi/models/ezsignfoldertype_request_compound_v3.py new file mode 100644 index 000000000..69b0e42ca --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_request_compound_v3.py @@ -0,0 +1,242 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion +from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal +from eZmaxApi.models.field_e_ezsignfoldertype_documentdependency import FieldEEzsignfoldertypeDocumentdependency +from eZmaxApi.models.field_e_ezsignfoldertype_pdfanoncompliantaction import FieldEEzsignfoldertypePdfanoncompliantaction +from eZmaxApi.models.field_e_ezsignfoldertype_pdfarequirement import FieldEEzsignfoldertypePdfarequirement +from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel +from eZmaxApi.models.field_e_ezsignfoldertype_signeraccess import FieldEEzsignfoldertypeSigneraccess +from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeRequestCompoundV3(BaseModel): + """ + A Ezsignfoldertype Object and children + """ # noqa: E501 + pki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") + obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") + fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + fki_font_id_annotation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDAnnotation") + fki_font_id_formfield: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDFormfield") + fki_font_id_signature: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDSignature") + fki_pdfalevel_id_convert: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Pdfalevel", alias="fkiPdfalevelIDConvert") + a_fki_pdfalevel_id: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiPdfalevelID") + a_fki_userlogintype_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(alias="a_fkiUserlogintypeID") + a_fki_usergroup_id_all: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDAll") + a_fki_usergroup_id_restricted: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDRestricted") + a_fki_usergroup_id_template: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDTemplate") + e_ezsignfoldertype_documentdependency: Optional[FieldEEzsignfoldertypeDocumentdependency] = Field(default=None, alias="eEzsignfoldertypeDocumentdependency") + s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") + s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") + e_ezsignfoldertype_pdfarequirement: Optional[FieldEEzsignfoldertypePdfarequirement] = Field(default=None, alias="eEzsignfoldertypePdfarequirement") + e_ezsignfoldertype_pdfanoncompliantaction: Optional[FieldEEzsignfoldertypePdfanoncompliantaction] = Field(default=None, alias="eEzsignfoldertypePdfanoncompliantaction") + e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") + i_ezsignfoldertype_fontsizeannotation: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for annotations", alias="iEzsignfoldertypeFontsizeannotation") + i_ezsignfoldertype_fontsizeformfield: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for form fields", alias="iEzsignfoldertypeFontsizeformfield") + i_ezsignfoldertype_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfoldertypeSendreminderfirstdays") + i_ezsignfoldertype_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfoldertypeSendreminderotherdays") + i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") + e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") + e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") + i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") + i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") + b_ezsignfoldertype_prematurelyendautomatically: Optional[StrictBool] = Field(default=None, description="Wheter if document will be ended prematurely after Ezsignfolder expires.", alias="bEzsignfoldertypePrematurelyendautomatically") + i_ezsignfoldertype_prematurelyendautomaticallydays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments.", alias="iEzsignfoldertypePrematurelyendautomaticallydays") + b_ezsignfoldertype_automaticsignature: Optional[StrictBool] = Field(default=None, description="Whether we allow the automatic signature by an User", alias="bEzsignfoldertypeAutomaticsignature") + b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") + b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") + b_ezsignfoldertype_logrecipientinproof: Optional[StrictBool] = Field(default=None, description="Whether we log recipient of signed document in proof", alias="bEzsignfoldertypeLogrecipientinproof") + b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") + b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") + b_ezsignfoldertype_reassigngroup: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself", alias="bEzsignfoldertypeReassigngroup") + b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") + b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") + b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") + b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") + b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") + b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") + b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") + b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") + b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") + b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") + b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") + b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") + b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") + b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") + b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") + b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") + b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") + b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") + b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") + b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") + e_ezsignfoldertype_signeraccess: Optional[FieldEEzsignfoldertypeSigneraccess] = Field(default=None, alias="eEzsignfoldertypeSigneraccess") + b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") + a_fki_user_id_signed: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSigned") + a_fki_user_id_summary: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSummary") + __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiEzsigntsarequirementID", "fkiFontIDAnnotation", "fkiFontIDFormfield", "fkiFontIDSignature", "fkiPdfalevelIDConvert", "a_fkiPdfalevelID", "a_fkiUserlogintypeID", "a_fkiUsergroupIDAll", "a_fkiUsergroupIDRestricted", "a_fkiUsergroupIDTemplate", "eEzsignfoldertypeDocumentdependency", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePdfarequirement", "eEzsignfoldertypePdfanoncompliantaction", "eEzsignfoldertypePrivacylevel", "iEzsignfoldertypeFontsizeannotation", "iEzsignfoldertypeFontsizeformfield", "iEzsignfoldertypeSendreminderfirstdays", "iEzsignfoldertypeSendreminderotherdays", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypePrematurelyendautomatically", "iEzsignfoldertypePrematurelyendautomaticallydays", "bEzsignfoldertypeAutomaticsignature", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeLogrecipientinproof", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeReassigngroup", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "eEzsignfoldertypeSigneraccess", "bEzsignfoldertypeIsactive", "a_fkiUserIDSigned", "a_fkiUserIDSummary"] + + @field_validator('s_email_address_signed') + def s_email_address_signed_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_email_address_summary') + def s_email_address_summary_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeRequestCompoundV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype_name + if self.obj_ezsignfoldertype_name: + _dict['objEzsignfoldertypeName'] = self.obj_ezsignfoldertype_name.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeRequestCompoundV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), + "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, + "fkiBrandingID": obj.get("fkiBrandingID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "fkiFontIDAnnotation": obj.get("fkiFontIDAnnotation"), + "fkiFontIDFormfield": obj.get("fkiFontIDFormfield"), + "fkiFontIDSignature": obj.get("fkiFontIDSignature"), + "fkiPdfalevelIDConvert": obj.get("fkiPdfalevelIDConvert"), + "a_fkiPdfalevelID": obj.get("a_fkiPdfalevelID"), + "a_fkiUserlogintypeID": obj.get("a_fkiUserlogintypeID"), + "a_fkiUsergroupIDAll": obj.get("a_fkiUsergroupIDAll"), + "a_fkiUsergroupIDRestricted": obj.get("a_fkiUsergroupIDRestricted"), + "a_fkiUsergroupIDTemplate": obj.get("a_fkiUsergroupIDTemplate"), + "eEzsignfoldertypeDocumentdependency": obj.get("eEzsignfoldertypeDocumentdependency"), + "sEmailAddressSigned": obj.get("sEmailAddressSigned"), + "sEmailAddressSummary": obj.get("sEmailAddressSummary"), + "eEzsignfoldertypePdfarequirement": obj.get("eEzsignfoldertypePdfarequirement"), + "eEzsignfoldertypePdfanoncompliantaction": obj.get("eEzsignfoldertypePdfanoncompliantaction"), + "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), + "iEzsignfoldertypeFontsizeannotation": obj.get("iEzsignfoldertypeFontsizeannotation"), + "iEzsignfoldertypeFontsizeformfield": obj.get("iEzsignfoldertypeFontsizeformfield"), + "iEzsignfoldertypeSendreminderfirstdays": obj.get("iEzsignfoldertypeSendreminderfirstdays"), + "iEzsignfoldertypeSendreminderotherdays": obj.get("iEzsignfoldertypeSendreminderotherdays"), + "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), + "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), + "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), + "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), + "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), + "bEzsignfoldertypePrematurelyendautomatically": obj.get("bEzsignfoldertypePrematurelyendautomatically"), + "iEzsignfoldertypePrematurelyendautomaticallydays": obj.get("iEzsignfoldertypePrematurelyendautomaticallydays"), + "bEzsignfoldertypeAutomaticsignature": obj.get("bEzsignfoldertypeAutomaticsignature"), + "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), + "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), + "bEzsignfoldertypeLogrecipientinproof": obj.get("bEzsignfoldertypeLogrecipientinproof"), + "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), + "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), + "bEzsignfoldertypeReassigngroup": obj.get("bEzsignfoldertypeReassigngroup"), + "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), + "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), + "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), + "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), + "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), + "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), + "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), + "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), + "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), + "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), + "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), + "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), + "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), + "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), + "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), + "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), + "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), + "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), + "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), + "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), + "eEzsignfoldertypeSigneraccess": obj.get("eEzsignfoldertypeSigneraccess"), + "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive"), + "a_fkiUserIDSigned": obj.get("a_fkiUserIDSigned"), + "a_fkiUserIDSummary": obj.get("a_fkiUserIDSummary") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_request_v2.py b/eZmaxApi/models/ezsignfoldertype_request_v2.py deleted file mode 100644 index 2f7fee8fa..000000000 --- a/eZmaxApi/models/ezsignfoldertype_request_v2.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion -from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal -from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel -from eZmaxApi.models.field_e_ezsignfoldertype_sendreminderfrequency import FieldEEzsignfoldertypeSendreminderfrequency -from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeRequestV2(BaseModel): - """ - A Ezsignfoldertype Object - """ # noqa: E501 - pki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") - obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") - fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") - fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") - fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") - a_fki_userlogintype_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(alias="a_fkiUserlogintypeID") - a_fki_usergroup_id_all: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDAll") - a_fki_usergroup_id_restricted: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDRestricted") - a_fki_usergroup_id_template: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDTemplate") - s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") - s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") - e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") - e_ezsignfoldertype_sendreminderfrequency: Optional[FieldEEzsignfoldertypeSendreminderfrequency] = Field(default=None, alias="eEzsignfoldertypeSendreminderfrequency") - i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") - e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") - e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") - i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") - i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") - b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") - b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") - b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") - b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") - b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") - b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") - b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") - b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") - b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") - b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") - b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") - b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") - b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") - b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") - b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") - b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") - b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") - b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") - b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") - b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") - b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") - b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") - b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") - b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") - b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") - __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiEzsigntsarequirementID", "a_fkiUserlogintypeID", "a_fkiUsergroupIDAll", "a_fkiUsergroupIDRestricted", "a_fkiUsergroupIDTemplate", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive"] - - @field_validator('s_email_address_signed') - def s_email_address_signed_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - @field_validator('s_email_address_summary') - def s_email_address_summary_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeRequestV2 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype_name - if self.obj_ezsignfoldertype_name: - _dict['objEzsignfoldertypeName'] = self.obj_ezsignfoldertype_name.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeRequestV2 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), - "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, - "fkiBrandingID": obj.get("fkiBrandingID"), - "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), - "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), - "a_fkiUserlogintypeID": obj.get("a_fkiUserlogintypeID"), - "a_fkiUsergroupIDAll": obj.get("a_fkiUsergroupIDAll"), - "a_fkiUsergroupIDRestricted": obj.get("a_fkiUsergroupIDRestricted"), - "a_fkiUsergroupIDTemplate": obj.get("a_fkiUsergroupIDTemplate"), - "sEmailAddressSigned": obj.get("sEmailAddressSigned"), - "sEmailAddressSummary": obj.get("sEmailAddressSummary"), - "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), - "eEzsignfoldertypeSendreminderfrequency": obj.get("eEzsignfoldertypeSendreminderfrequency"), - "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), - "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), - "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), - "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), - "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), - "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), - "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), - "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), - "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), - "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), - "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), - "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), - "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), - "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), - "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), - "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), - "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), - "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), - "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), - "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), - "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), - "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), - "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), - "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), - "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), - "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), - "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), - "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), - "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), - "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_request_v3.py b/eZmaxApi/models/ezsignfoldertype_request_v3.py new file mode 100644 index 000000000..459079844 --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_request_v3.py @@ -0,0 +1,238 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion +from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal +from eZmaxApi.models.field_e_ezsignfoldertype_documentdependency import FieldEEzsignfoldertypeDocumentdependency +from eZmaxApi.models.field_e_ezsignfoldertype_pdfanoncompliantaction import FieldEEzsignfoldertypePdfanoncompliantaction +from eZmaxApi.models.field_e_ezsignfoldertype_pdfarequirement import FieldEEzsignfoldertypePdfarequirement +from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel +from eZmaxApi.models.field_e_ezsignfoldertype_signeraccess import FieldEEzsignfoldertypeSigneraccess +from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeRequestV3(BaseModel): + """ + A Ezsignfoldertype Object + """ # noqa: E501 + pki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") + obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") + fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + fki_font_id_annotation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDAnnotation") + fki_font_id_formfield: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDFormfield") + fki_font_id_signature: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDSignature") + fki_pdfalevel_id_convert: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Pdfalevel", alias="fkiPdfalevelIDConvert") + a_fki_pdfalevel_id: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiPdfalevelID") + a_fki_userlogintype_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(alias="a_fkiUserlogintypeID") + a_fki_usergroup_id_all: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDAll") + a_fki_usergroup_id_restricted: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDRestricted") + a_fki_usergroup_id_template: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDTemplate") + e_ezsignfoldertype_documentdependency: Optional[FieldEEzsignfoldertypeDocumentdependency] = Field(default=None, alias="eEzsignfoldertypeDocumentdependency") + s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") + s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") + e_ezsignfoldertype_pdfarequirement: Optional[FieldEEzsignfoldertypePdfarequirement] = Field(default=None, alias="eEzsignfoldertypePdfarequirement") + e_ezsignfoldertype_pdfanoncompliantaction: Optional[FieldEEzsignfoldertypePdfanoncompliantaction] = Field(default=None, alias="eEzsignfoldertypePdfanoncompliantaction") + e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") + i_ezsignfoldertype_fontsizeannotation: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for annotations", alias="iEzsignfoldertypeFontsizeannotation") + i_ezsignfoldertype_fontsizeformfield: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for form fields", alias="iEzsignfoldertypeFontsizeformfield") + i_ezsignfoldertype_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfoldertypeSendreminderfirstdays") + i_ezsignfoldertype_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfoldertypeSendreminderotherdays") + i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") + e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") + e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") + i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") + i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") + b_ezsignfoldertype_prematurelyendautomatically: Optional[StrictBool] = Field(default=None, description="Wheter if document will be ended prematurely after Ezsignfolder expires.", alias="bEzsignfoldertypePrematurelyendautomatically") + i_ezsignfoldertype_prematurelyendautomaticallydays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments.", alias="iEzsignfoldertypePrematurelyendautomaticallydays") + b_ezsignfoldertype_automaticsignature: Optional[StrictBool] = Field(default=None, description="Whether we allow the automatic signature by an User", alias="bEzsignfoldertypeAutomaticsignature") + b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") + b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") + b_ezsignfoldertype_logrecipientinproof: Optional[StrictBool] = Field(default=None, description="Whether we log recipient of signed document in proof", alias="bEzsignfoldertypeLogrecipientinproof") + b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") + b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") + b_ezsignfoldertype_reassigngroup: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself", alias="bEzsignfoldertypeReassigngroup") + b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") + b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") + b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") + b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") + b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") + b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") + b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") + b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") + b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") + b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") + b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") + b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") + b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") + b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") + b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") + b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") + b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") + b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") + b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") + b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") + e_ezsignfoldertype_signeraccess: Optional[FieldEEzsignfoldertypeSigneraccess] = Field(default=None, alias="eEzsignfoldertypeSigneraccess") + b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") + __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiEzsigntsarequirementID", "fkiFontIDAnnotation", "fkiFontIDFormfield", "fkiFontIDSignature", "fkiPdfalevelIDConvert", "a_fkiPdfalevelID", "a_fkiUserlogintypeID", "a_fkiUsergroupIDAll", "a_fkiUsergroupIDRestricted", "a_fkiUsergroupIDTemplate", "eEzsignfoldertypeDocumentdependency", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePdfarequirement", "eEzsignfoldertypePdfanoncompliantaction", "eEzsignfoldertypePrivacylevel", "iEzsignfoldertypeFontsizeannotation", "iEzsignfoldertypeFontsizeformfield", "iEzsignfoldertypeSendreminderfirstdays", "iEzsignfoldertypeSendreminderotherdays", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypePrematurelyendautomatically", "iEzsignfoldertypePrematurelyendautomaticallydays", "bEzsignfoldertypeAutomaticsignature", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeLogrecipientinproof", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeReassigngroup", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "eEzsignfoldertypeSigneraccess", "bEzsignfoldertypeIsactive"] + + @field_validator('s_email_address_signed') + def s_email_address_signed_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_email_address_summary') + def s_email_address_summary_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeRequestV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype_name + if self.obj_ezsignfoldertype_name: + _dict['objEzsignfoldertypeName'] = self.obj_ezsignfoldertype_name.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeRequestV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), + "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, + "fkiBrandingID": obj.get("fkiBrandingID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "fkiFontIDAnnotation": obj.get("fkiFontIDAnnotation"), + "fkiFontIDFormfield": obj.get("fkiFontIDFormfield"), + "fkiFontIDSignature": obj.get("fkiFontIDSignature"), + "fkiPdfalevelIDConvert": obj.get("fkiPdfalevelIDConvert"), + "a_fkiPdfalevelID": obj.get("a_fkiPdfalevelID"), + "a_fkiUserlogintypeID": obj.get("a_fkiUserlogintypeID"), + "a_fkiUsergroupIDAll": obj.get("a_fkiUsergroupIDAll"), + "a_fkiUsergroupIDRestricted": obj.get("a_fkiUsergroupIDRestricted"), + "a_fkiUsergroupIDTemplate": obj.get("a_fkiUsergroupIDTemplate"), + "eEzsignfoldertypeDocumentdependency": obj.get("eEzsignfoldertypeDocumentdependency"), + "sEmailAddressSigned": obj.get("sEmailAddressSigned"), + "sEmailAddressSummary": obj.get("sEmailAddressSummary"), + "eEzsignfoldertypePdfarequirement": obj.get("eEzsignfoldertypePdfarequirement"), + "eEzsignfoldertypePdfanoncompliantaction": obj.get("eEzsignfoldertypePdfanoncompliantaction"), + "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), + "iEzsignfoldertypeFontsizeannotation": obj.get("iEzsignfoldertypeFontsizeannotation"), + "iEzsignfoldertypeFontsizeformfield": obj.get("iEzsignfoldertypeFontsizeformfield"), + "iEzsignfoldertypeSendreminderfirstdays": obj.get("iEzsignfoldertypeSendreminderfirstdays"), + "iEzsignfoldertypeSendreminderotherdays": obj.get("iEzsignfoldertypeSendreminderotherdays"), + "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), + "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), + "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), + "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), + "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), + "bEzsignfoldertypePrematurelyendautomatically": obj.get("bEzsignfoldertypePrematurelyendautomatically"), + "iEzsignfoldertypePrematurelyendautomaticallydays": obj.get("iEzsignfoldertypePrematurelyendautomaticallydays"), + "bEzsignfoldertypeAutomaticsignature": obj.get("bEzsignfoldertypeAutomaticsignature"), + "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), + "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), + "bEzsignfoldertypeLogrecipientinproof": obj.get("bEzsignfoldertypeLogrecipientinproof"), + "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), + "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), + "bEzsignfoldertypeReassigngroup": obj.get("bEzsignfoldertypeReassigngroup"), + "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), + "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), + "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), + "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), + "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), + "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), + "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), + "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), + "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), + "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), + "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), + "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), + "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), + "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), + "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), + "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), + "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), + "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), + "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), + "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), + "eEzsignfoldertypeSigneraccess": obj.get("eEzsignfoldertypeSigneraccess"), + "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_response.py b/eZmaxApi/models/ezsignfoldertype_response.py index 0afe65cc7..8a513be85 100644 --- a/eZmaxApi/models/ezsignfoldertype_response.py +++ b/eZmaxApi/models/ezsignfoldertype_response.py @@ -55,10 +55,12 @@ class EzsignfoldertypeResponse(BaseModel): e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") + b_ezsignfoldertype_automaticsignature: Optional[StrictBool] = Field(default=None, description="Whether we allow the automatic signature by an User", alias="bEzsignfoldertypeAutomaticsignature") b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") + b_ezsignfoldertype_reassigngroup: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself", alias="bEzsignfoldertypeReassigngroup") b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") @@ -81,7 +83,7 @@ class EzsignfoldertypeResponse(BaseModel): b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") a_obj_userlogintype: List[UserlogintypeResponse] = Field(alias="a_objUserlogintype") - __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiUsergroupID", "fkiUsergroupIDRestricted", "fkiEzsigntsarequirementID", "sBrandingDescriptionX", "sBillingentityinternalDescriptionX", "sEzsigntsarequirementDescriptionX", "sEmailAddressSigned", "sEmailAddressSummary", "sUsergroupNameX", "sUsergroupNameXRestricted", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive", "a_objUserlogintype"] + __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiUsergroupID", "fkiUsergroupIDRestricted", "fkiEzsigntsarequirementID", "sBrandingDescriptionX", "sBillingentityinternalDescriptionX", "sEzsigntsarequirementDescriptionX", "sEmailAddressSigned", "sEmailAddressSummary", "sUsergroupNameX", "sUsergroupNameXRestricted", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeAutomaticsignature", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeReassigngroup", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive", "a_objUserlogintype"] @field_validator('s_email_address_signed') def s_email_address_signed_validate_regular_expression(cls, value): @@ -168,9 +170,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_userlogintype (list) _items = [] if self.a_obj_userlogintype: - for _item in self.a_obj_userlogintype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_userlogintype in self.a_obj_userlogintype: + if _item_a_obj_userlogintype: + _items.append(_item_a_obj_userlogintype.to_dict()) _dict['a_objUserlogintype'] = _items return _dict @@ -205,10 +207,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), + "bEzsignfoldertypeAutomaticsignature": obj.get("bEzsignfoldertypeAutomaticsignature"), "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), + "bEzsignfoldertypeReassigngroup": obj.get("bEzsignfoldertypeReassigngroup"), "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), diff --git a/eZmaxApi/models/ezsignfoldertype_response_compound.py b/eZmaxApi/models/ezsignfoldertype_response_compound.py index b5c2d64fe..c36485de6 100644 --- a/eZmaxApi/models/ezsignfoldertype_response_compound.py +++ b/eZmaxApi/models/ezsignfoldertype_response_compound.py @@ -55,10 +55,12 @@ class EzsignfoldertypeResponseCompound(BaseModel): e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") + b_ezsignfoldertype_automaticsignature: Optional[StrictBool] = Field(default=None, description="Whether we allow the automatic signature by an User", alias="bEzsignfoldertypeAutomaticsignature") b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") + b_ezsignfoldertype_reassigngroup: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself", alias="bEzsignfoldertypeReassigngroup") b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") @@ -83,7 +85,7 @@ class EzsignfoldertypeResponseCompound(BaseModel): a_obj_userlogintype: List[UserlogintypeResponse] = Field(alias="a_objUserlogintype") a_fki_user_id_signed: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSigned") a_fki_user_id_summary: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSummary") - __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiUsergroupID", "fkiUsergroupIDRestricted", "fkiEzsigntsarequirementID", "sBrandingDescriptionX", "sBillingentityinternalDescriptionX", "sEzsigntsarequirementDescriptionX", "sEmailAddressSigned", "sEmailAddressSummary", "sUsergroupNameX", "sUsergroupNameXRestricted", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive", "a_objUserlogintype", "a_fkiUserIDSigned", "a_fkiUserIDSummary"] + __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiUsergroupID", "fkiUsergroupIDRestricted", "fkiEzsigntsarequirementID", "sBrandingDescriptionX", "sBillingentityinternalDescriptionX", "sEzsigntsarequirementDescriptionX", "sEmailAddressSigned", "sEmailAddressSummary", "sUsergroupNameX", "sUsergroupNameXRestricted", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeAutomaticsignature", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeReassigngroup", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive", "a_objUserlogintype", "a_fkiUserIDSigned", "a_fkiUserIDSummary"] @field_validator('s_email_address_signed') def s_email_address_signed_validate_regular_expression(cls, value): @@ -170,9 +172,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_userlogintype (list) _items = [] if self.a_obj_userlogintype: - for _item in self.a_obj_userlogintype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_userlogintype in self.a_obj_userlogintype: + if _item_a_obj_userlogintype: + _items.append(_item_a_obj_userlogintype.to_dict()) _dict['a_objUserlogintype'] = _items return _dict @@ -207,10 +209,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), + "bEzsignfoldertypeAutomaticsignature": obj.get("bEzsignfoldertypeAutomaticsignature"), "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), + "bEzsignfoldertypeReassigngroup": obj.get("bEzsignfoldertypeReassigngroup"), "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), diff --git a/eZmaxApi/models/ezsignfoldertype_response_compound_v3.py b/eZmaxApi/models/ezsignfoldertype_response_compound_v3.py deleted file mode 100644 index 6ac31fe38..000000000 --- a/eZmaxApi/models/ezsignfoldertype_response_compound_v3.py +++ /dev/null @@ -1,241 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion -from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal -from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel -from eZmaxApi.models.field_e_ezsignfoldertype_sendreminderfrequency import FieldEEzsignfoldertypeSendreminderfrequency -from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName -from eZmaxApi.models.usergroup_response import UsergroupResponse -from eZmaxApi.models.userlogintype_response import UserlogintypeResponse -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeResponseCompoundV3(BaseModel): - """ - A Ezsignfoldertype Object - """ # noqa: E501 - pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") - obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") - fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") - fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") - fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") - s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") - s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") - s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") - s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") - s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") - e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") - e_ezsignfoldertype_sendreminderfrequency: Optional[FieldEEzsignfoldertypeSendreminderfrequency] = Field(default=None, alias="eEzsignfoldertypeSendreminderfrequency") - i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") - e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") - e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") - i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") - i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") - b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") - b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") - b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") - b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") - b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") - b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") - b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") - b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") - b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") - b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") - b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") - b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") - b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") - b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") - b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") - b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") - b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") - b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") - b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") - b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") - b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") - b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") - b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") - b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") - b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") - a_obj_userlogintype: List[UserlogintypeResponse] = Field(alias="a_objUserlogintype") - a_obj_usergroup_all: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupAll") - a_obj_usergroup_restricted: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupRestricted") - a_obj_usergroup_template: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupTemplate") - a_fki_user_id_signed: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSigned") - a_fki_user_id_summary: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSummary") - __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiEzsigntsarequirementID", "sBrandingDescriptionX", "sBillingentityinternalDescriptionX", "sEzsigntsarequirementDescriptionX", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive", "a_objUserlogintype", "a_objUsergroupAll", "a_objUsergroupRestricted", "a_objUsergroupTemplate", "a_fkiUserIDSigned", "a_fkiUserIDSummary"] - - @field_validator('s_email_address_signed') - def s_email_address_signed_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - @field_validator('s_email_address_summary') - def s_email_address_summary_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeResponseCompoundV3 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype_name - if self.obj_ezsignfoldertype_name: - _dict['objEzsignfoldertypeName'] = self.obj_ezsignfoldertype_name.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_userlogintype (list) - _items = [] - if self.a_obj_userlogintype: - for _item in self.a_obj_userlogintype: - if _item: - _items.append(_item.to_dict()) - _dict['a_objUserlogintype'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_all (list) - _items = [] - if self.a_obj_usergroup_all: - for _item in self.a_obj_usergroup_all: - if _item: - _items.append(_item.to_dict()) - _dict['a_objUsergroupAll'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_restricted (list) - _items = [] - if self.a_obj_usergroup_restricted: - for _item in self.a_obj_usergroup_restricted: - if _item: - _items.append(_item.to_dict()) - _dict['a_objUsergroupRestricted'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_template (list) - _items = [] - if self.a_obj_usergroup_template: - for _item in self.a_obj_usergroup_template: - if _item: - _items.append(_item.to_dict()) - _dict['a_objUsergroupTemplate'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeResponseCompoundV3 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), - "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, - "fkiBrandingID": obj.get("fkiBrandingID"), - "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), - "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), - "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), - "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), - "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), - "sEmailAddressSigned": obj.get("sEmailAddressSigned"), - "sEmailAddressSummary": obj.get("sEmailAddressSummary"), - "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), - "eEzsignfoldertypeSendreminderfrequency": obj.get("eEzsignfoldertypeSendreminderfrequency"), - "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), - "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), - "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), - "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), - "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), - "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), - "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), - "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), - "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), - "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), - "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), - "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), - "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), - "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), - "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), - "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), - "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), - "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), - "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), - "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), - "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), - "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), - "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), - "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), - "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), - "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), - "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), - "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), - "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), - "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive"), - "a_objUserlogintype": [UserlogintypeResponse.from_dict(_item) for _item in obj["a_objUserlogintype"]] if obj.get("a_objUserlogintype") is not None else None, - "a_objUsergroupAll": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupAll"]] if obj.get("a_objUsergroupAll") is not None else None, - "a_objUsergroupRestricted": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupRestricted"]] if obj.get("a_objUsergroupRestricted") is not None else None, - "a_objUsergroupTemplate": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupTemplate"]] if obj.get("a_objUsergroupTemplate") is not None else None, - "a_fkiUserIDSigned": obj.get("a_fkiUserIDSigned"), - "a_fkiUserIDSummary": obj.get("a_fkiUserIDSummary") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_response_compound_v4.py b/eZmaxApi/models/ezsignfoldertype_response_compound_v4.py new file mode 100644 index 000000000..43217056f --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_response_compound_v4.py @@ -0,0 +1,284 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion +from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal +from eZmaxApi.models.field_e_ezsignfoldertype_documentdependency import FieldEEzsignfoldertypeDocumentdependency +from eZmaxApi.models.field_e_ezsignfoldertype_pdfanoncompliantaction import FieldEEzsignfoldertypePdfanoncompliantaction +from eZmaxApi.models.field_e_ezsignfoldertype_pdfarequirement import FieldEEzsignfoldertypePdfarequirement +from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel +from eZmaxApi.models.field_e_ezsignfoldertype_signeraccess import FieldEEzsignfoldertypeSigneraccess +from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName +from eZmaxApi.models.usergroup_response import UsergroupResponse +from eZmaxApi.models.userlogintype_response import UserlogintypeResponse +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeResponseCompoundV4(BaseModel): + """ + A Ezsignfoldertype Object + """ # noqa: E501 + pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") + obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") + fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + fki_font_id_annotation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDAnnotation") + fki_font_id_formfield: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDFormfield") + fki_font_id_signature: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDSignature") + fki_pdfalevel_id_convert: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Pdfalevel", alias="fkiPdfalevelIDConvert") + e_ezsignfoldertype_documentdependency: Optional[FieldEEzsignfoldertypeDocumentdependency] = Field(default=None, alias="eEzsignfoldertypeDocumentdependency") + s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") + s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") + s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") + s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") + e_ezsignfoldertype_pdfarequirement: Optional[FieldEEzsignfoldertypePdfarequirement] = Field(default=None, alias="eEzsignfoldertypePdfarequirement") + e_ezsignfoldertype_pdfanoncompliantaction: Optional[FieldEEzsignfoldertypePdfanoncompliantaction] = Field(default=None, alias="eEzsignfoldertypePdfanoncompliantaction") + e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") + i_ezsignfoldertype_fontsizeannotation: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for annotations", alias="iEzsignfoldertypeFontsizeannotation") + i_ezsignfoldertype_fontsizeformfield: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for form fields", alias="iEzsignfoldertypeFontsizeformfield") + i_ezsignfoldertype_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfoldertypeSendreminderfirstdays") + i_ezsignfoldertype_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfoldertypeSendreminderotherdays") + i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") + e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") + e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") + i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") + i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") + b_ezsignfoldertype_prematurelyendautomatically: Optional[StrictBool] = Field(default=None, description="Wheter if document will be ended prematurely after Ezsignfolder expires.", alias="bEzsignfoldertypePrematurelyendautomatically") + i_ezsignfoldertype_prematurelyendautomaticallydays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments.", alias="iEzsignfoldertypePrematurelyendautomaticallydays") + b_ezsignfoldertype_automaticsignature: Optional[StrictBool] = Field(default=None, description="Whether we allow the automatic signature by an User", alias="bEzsignfoldertypeAutomaticsignature") + b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") + b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") + b_ezsignfoldertype_logrecipientinproof: Optional[StrictBool] = Field(default=None, description="Whether we log recipient of signed document in proof", alias="bEzsignfoldertypeLogrecipientinproof") + b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") + b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") + b_ezsignfoldertype_reassigngroup: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself", alias="bEzsignfoldertypeReassigngroup") + b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") + b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") + b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") + b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") + b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") + b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") + b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") + b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") + b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") + b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") + b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") + b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") + b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") + b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") + b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") + b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") + b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") + b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") + b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") + b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") + e_ezsignfoldertype_signeraccess: Optional[FieldEEzsignfoldertypeSigneraccess] = Field(default=None, alias="eEzsignfoldertypeSigneraccess") + b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") + a_fki_pdfalevel_id: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiPdfalevelID") + a_obj_userlogintype: List[UserlogintypeResponse] = Field(alias="a_objUserlogintype") + a_obj_usergroup_all: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupAll") + a_obj_usergroup_restricted: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupRestricted") + a_obj_usergroup_template: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupTemplate") + obj_audit: CommonAudit = Field(alias="objAudit") + a_fki_user_id_signed: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSigned") + a_fki_user_id_summary: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSummary") + __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiEzsigntsarequirementID", "fkiFontIDAnnotation", "fkiFontIDFormfield", "fkiFontIDSignature", "fkiPdfalevelIDConvert", "eEzsignfoldertypeDocumentdependency", "sBrandingDescriptionX", "sBillingentityinternalDescriptionX", "sEzsigntsarequirementDescriptionX", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePdfarequirement", "eEzsignfoldertypePdfanoncompliantaction", "eEzsignfoldertypePrivacylevel", "iEzsignfoldertypeFontsizeannotation", "iEzsignfoldertypeFontsizeformfield", "iEzsignfoldertypeSendreminderfirstdays", "iEzsignfoldertypeSendreminderotherdays", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypePrematurelyendautomatically", "iEzsignfoldertypePrematurelyendautomaticallydays", "bEzsignfoldertypeAutomaticsignature", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeLogrecipientinproof", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeReassigngroup", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "eEzsignfoldertypeSigneraccess", "bEzsignfoldertypeIsactive", "a_fkiPdfalevelID", "a_objUserlogintype", "a_objUsergroupAll", "a_objUsergroupRestricted", "a_objUsergroupTemplate", "objAudit", "a_fkiUserIDSigned", "a_fkiUserIDSummary"] + + @field_validator('s_email_address_signed') + def s_email_address_signed_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_email_address_summary') + def s_email_address_summary_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeResponseCompoundV4 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype_name + if self.obj_ezsignfoldertype_name: + _dict['objEzsignfoldertypeName'] = self.obj_ezsignfoldertype_name.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_userlogintype (list) + _items = [] + if self.a_obj_userlogintype: + for _item_a_obj_userlogintype in self.a_obj_userlogintype: + if _item_a_obj_userlogintype: + _items.append(_item_a_obj_userlogintype.to_dict()) + _dict['a_objUserlogintype'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_all (list) + _items = [] + if self.a_obj_usergroup_all: + for _item_a_obj_usergroup_all in self.a_obj_usergroup_all: + if _item_a_obj_usergroup_all: + _items.append(_item_a_obj_usergroup_all.to_dict()) + _dict['a_objUsergroupAll'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_restricted (list) + _items = [] + if self.a_obj_usergroup_restricted: + for _item_a_obj_usergroup_restricted in self.a_obj_usergroup_restricted: + if _item_a_obj_usergroup_restricted: + _items.append(_item_a_obj_usergroup_restricted.to_dict()) + _dict['a_objUsergroupRestricted'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_template (list) + _items = [] + if self.a_obj_usergroup_template: + for _item_a_obj_usergroup_template in self.a_obj_usergroup_template: + if _item_a_obj_usergroup_template: + _items.append(_item_a_obj_usergroup_template.to_dict()) + _dict['a_objUsergroupTemplate'] = _items + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeResponseCompoundV4 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), + "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, + "fkiBrandingID": obj.get("fkiBrandingID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "fkiFontIDAnnotation": obj.get("fkiFontIDAnnotation"), + "fkiFontIDFormfield": obj.get("fkiFontIDFormfield"), + "fkiFontIDSignature": obj.get("fkiFontIDSignature"), + "fkiPdfalevelIDConvert": obj.get("fkiPdfalevelIDConvert"), + "eEzsignfoldertypeDocumentdependency": obj.get("eEzsignfoldertypeDocumentdependency"), + "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), + "sEmailAddressSigned": obj.get("sEmailAddressSigned"), + "sEmailAddressSummary": obj.get("sEmailAddressSummary"), + "eEzsignfoldertypePdfarequirement": obj.get("eEzsignfoldertypePdfarequirement"), + "eEzsignfoldertypePdfanoncompliantaction": obj.get("eEzsignfoldertypePdfanoncompliantaction"), + "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), + "iEzsignfoldertypeFontsizeannotation": obj.get("iEzsignfoldertypeFontsizeannotation"), + "iEzsignfoldertypeFontsizeformfield": obj.get("iEzsignfoldertypeFontsizeformfield"), + "iEzsignfoldertypeSendreminderfirstdays": obj.get("iEzsignfoldertypeSendreminderfirstdays"), + "iEzsignfoldertypeSendreminderotherdays": obj.get("iEzsignfoldertypeSendreminderotherdays"), + "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), + "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), + "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), + "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), + "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), + "bEzsignfoldertypePrematurelyendautomatically": obj.get("bEzsignfoldertypePrematurelyendautomatically"), + "iEzsignfoldertypePrematurelyendautomaticallydays": obj.get("iEzsignfoldertypePrematurelyendautomaticallydays"), + "bEzsignfoldertypeAutomaticsignature": obj.get("bEzsignfoldertypeAutomaticsignature"), + "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), + "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), + "bEzsignfoldertypeLogrecipientinproof": obj.get("bEzsignfoldertypeLogrecipientinproof"), + "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), + "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), + "bEzsignfoldertypeReassigngroup": obj.get("bEzsignfoldertypeReassigngroup"), + "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), + "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), + "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), + "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), + "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), + "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), + "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), + "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), + "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), + "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), + "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), + "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), + "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), + "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), + "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), + "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), + "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), + "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), + "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), + "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), + "eEzsignfoldertypeSigneraccess": obj.get("eEzsignfoldertypeSigneraccess"), + "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive"), + "a_fkiPdfalevelID": obj.get("a_fkiPdfalevelID"), + "a_objUserlogintype": [UserlogintypeResponse.from_dict(_item) for _item in obj["a_objUserlogintype"]] if obj.get("a_objUserlogintype") is not None else None, + "a_objUsergroupAll": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupAll"]] if obj.get("a_objUsergroupAll") is not None else None, + "a_objUsergroupRestricted": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupRestricted"]] if obj.get("a_objUsergroupRestricted") is not None else None, + "a_objUsergroupTemplate": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupTemplate"]] if obj.get("a_objUsergroupTemplate") is not None else None, + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "a_fkiUserIDSigned": obj.get("a_fkiUserIDSigned"), + "a_fkiUserIDSummary": obj.get("a_fkiUserIDSummary") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfoldertype_response_v3.py b/eZmaxApi/models/ezsignfoldertype_response_v3.py deleted file mode 100644 index 7f207390a..000000000 --- a/eZmaxApi/models/ezsignfoldertype_response_v3.py +++ /dev/null @@ -1,237 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion -from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal -from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel -from eZmaxApi.models.field_e_ezsignfoldertype_sendreminderfrequency import FieldEEzsignfoldertypeSendreminderfrequency -from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName -from eZmaxApi.models.usergroup_response import UsergroupResponse -from eZmaxApi.models.userlogintype_response import UserlogintypeResponse -from typing import Optional, Set -from typing_extensions import Self - -class EzsignfoldertypeResponseV3(BaseModel): - """ - A Ezsignfoldertype Object - """ # noqa: E501 - pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") - obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") - fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") - fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") - fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") - s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") - s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") - s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") - s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") - s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") - e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") - e_ezsignfoldertype_sendreminderfrequency: Optional[FieldEEzsignfoldertypeSendreminderfrequency] = Field(default=None, alias="eEzsignfoldertypeSendreminderfrequency") - i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") - e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") - e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") - i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") - i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") - b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") - b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") - b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") - b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") - b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") - b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") - b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") - b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") - b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") - b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") - b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") - b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") - b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") - b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") - b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") - b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") - b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") - b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") - b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") - b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") - b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") - b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") - b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") - b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") - b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") - a_obj_userlogintype: List[UserlogintypeResponse] = Field(alias="a_objUserlogintype") - a_obj_usergroup_all: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupAll") - a_obj_usergroup_restricted: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupRestricted") - a_obj_usergroup_template: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupTemplate") - __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiEzsigntsarequirementID", "sBrandingDescriptionX", "sBillingentityinternalDescriptionX", "sEzsigntsarequirementDescriptionX", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive", "a_objUserlogintype", "a_objUsergroupAll", "a_objUsergroupRestricted", "a_objUsergroupTemplate"] - - @field_validator('s_email_address_signed') - def s_email_address_signed_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - @field_validator('s_email_address_summary') - def s_email_address_summary_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): - raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignfoldertypeResponseV3 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype_name - if self.obj_ezsignfoldertype_name: - _dict['objEzsignfoldertypeName'] = self.obj_ezsignfoldertype_name.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_userlogintype (list) - _items = [] - if self.a_obj_userlogintype: - for _item in self.a_obj_userlogintype: - if _item: - _items.append(_item.to_dict()) - _dict['a_objUserlogintype'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_all (list) - _items = [] - if self.a_obj_usergroup_all: - for _item in self.a_obj_usergroup_all: - if _item: - _items.append(_item.to_dict()) - _dict['a_objUsergroupAll'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_restricted (list) - _items = [] - if self.a_obj_usergroup_restricted: - for _item in self.a_obj_usergroup_restricted: - if _item: - _items.append(_item.to_dict()) - _dict['a_objUsergroupRestricted'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_template (list) - _items = [] - if self.a_obj_usergroup_template: - for _item in self.a_obj_usergroup_template: - if _item: - _items.append(_item.to_dict()) - _dict['a_objUsergroupTemplate'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignfoldertypeResponseV3 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), - "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, - "fkiBrandingID": obj.get("fkiBrandingID"), - "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), - "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), - "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), - "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), - "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), - "sEmailAddressSigned": obj.get("sEmailAddressSigned"), - "sEmailAddressSummary": obj.get("sEmailAddressSummary"), - "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), - "eEzsignfoldertypeSendreminderfrequency": obj.get("eEzsignfoldertypeSendreminderfrequency"), - "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), - "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), - "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), - "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), - "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), - "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), - "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), - "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), - "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), - "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), - "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), - "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), - "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), - "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), - "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), - "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), - "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), - "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), - "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), - "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), - "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), - "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), - "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), - "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), - "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), - "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), - "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), - "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), - "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), - "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive"), - "a_objUserlogintype": [UserlogintypeResponse.from_dict(_item) for _item in obj["a_objUserlogintype"]] if obj.get("a_objUserlogintype") is not None else None, - "a_objUsergroupAll": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupAll"]] if obj.get("a_objUsergroupAll") is not None else None, - "a_objUsergroupRestricted": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupRestricted"]] if obj.get("a_objUsergroupRestricted") is not None else None, - "a_objUsergroupTemplate": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupTemplate"]] if obj.get("a_objUsergroupTemplate") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfoldertype_response_v4.py b/eZmaxApi/models/ezsignfoldertype_response_v4.py new file mode 100644 index 000000000..59ed1d34e --- /dev/null +++ b/eZmaxApi/models/ezsignfoldertype_response_v4.py @@ -0,0 +1,280 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion +from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal +from eZmaxApi.models.field_e_ezsignfoldertype_documentdependency import FieldEEzsignfoldertypeDocumentdependency +from eZmaxApi.models.field_e_ezsignfoldertype_pdfanoncompliantaction import FieldEEzsignfoldertypePdfanoncompliantaction +from eZmaxApi.models.field_e_ezsignfoldertype_pdfarequirement import FieldEEzsignfoldertypePdfarequirement +from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel +from eZmaxApi.models.field_e_ezsignfoldertype_signeraccess import FieldEEzsignfoldertypeSigneraccess +from eZmaxApi.models.multilingual_ezsignfoldertype_name import MultilingualEzsignfoldertypeName +from eZmaxApi.models.usergroup_response import UsergroupResponse +from eZmaxApi.models.userlogintype_response import UserlogintypeResponse +from typing import Optional, Set +from typing_extensions import Self + +class EzsignfoldertypeResponseV4(BaseModel): + """ + A Ezsignfoldertype Object + """ # noqa: E501 + pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") + obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") + fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + fki_font_id_annotation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDAnnotation") + fki_font_id_formfield: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDFormfield") + fki_font_id_signature: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDSignature") + fki_pdfalevel_id_convert: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Pdfalevel", alias="fkiPdfalevelIDConvert") + e_ezsignfoldertype_documentdependency: Optional[FieldEEzsignfoldertypeDocumentdependency] = Field(default=None, alias="eEzsignfoldertypeDocumentdependency") + s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") + s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") + s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") + s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") + e_ezsignfoldertype_pdfarequirement: Optional[FieldEEzsignfoldertypePdfarequirement] = Field(default=None, alias="eEzsignfoldertypePdfarequirement") + e_ezsignfoldertype_pdfanoncompliantaction: Optional[FieldEEzsignfoldertypePdfanoncompliantaction] = Field(default=None, alias="eEzsignfoldertypePdfanoncompliantaction") + e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") + i_ezsignfoldertype_fontsizeannotation: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for annotations", alias="iEzsignfoldertypeFontsizeannotation") + i_ezsignfoldertype_fontsizeformfield: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for form fields", alias="iEzsignfoldertypeFontsizeformfield") + i_ezsignfoldertype_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfoldertypeSendreminderfirstdays") + i_ezsignfoldertype_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfoldertypeSendreminderotherdays") + i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") + e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") + e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") + i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") + i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") + b_ezsignfoldertype_prematurelyendautomatically: Optional[StrictBool] = Field(default=None, description="Wheter if document will be ended prematurely after Ezsignfolder expires.", alias="bEzsignfoldertypePrematurelyendautomatically") + i_ezsignfoldertype_prematurelyendautomaticallydays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments.", alias="iEzsignfoldertypePrematurelyendautomaticallydays") + b_ezsignfoldertype_automaticsignature: Optional[StrictBool] = Field(default=None, description="Whether we allow the automatic signature by an User", alias="bEzsignfoldertypeAutomaticsignature") + b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") + b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") + b_ezsignfoldertype_logrecipientinproof: Optional[StrictBool] = Field(default=None, description="Whether we log recipient of signed document in proof", alias="bEzsignfoldertypeLogrecipientinproof") + b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") + b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") + b_ezsignfoldertype_reassigngroup: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself", alias="bEzsignfoldertypeReassigngroup") + b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") + b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") + b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") + b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") + b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") + b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") + b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") + b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") + b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") + b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") + b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") + b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") + b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") + b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") + b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") + b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") + b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") + b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") + b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") + b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") + e_ezsignfoldertype_signeraccess: Optional[FieldEEzsignfoldertypeSigneraccess] = Field(default=None, alias="eEzsignfoldertypeSigneraccess") + b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") + a_fki_pdfalevel_id: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiPdfalevelID") + a_obj_userlogintype: List[UserlogintypeResponse] = Field(alias="a_objUserlogintype") + a_obj_usergroup_all: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupAll") + a_obj_usergroup_restricted: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupRestricted") + a_obj_usergroup_template: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupTemplate") + obj_audit: CommonAudit = Field(alias="objAudit") + __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiEzsigntsarequirementID", "fkiFontIDAnnotation", "fkiFontIDFormfield", "fkiFontIDSignature", "fkiPdfalevelIDConvert", "eEzsignfoldertypeDocumentdependency", "sBrandingDescriptionX", "sBillingentityinternalDescriptionX", "sEzsigntsarequirementDescriptionX", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePdfarequirement", "eEzsignfoldertypePdfanoncompliantaction", "eEzsignfoldertypePrivacylevel", "iEzsignfoldertypeFontsizeannotation", "iEzsignfoldertypeFontsizeformfield", "iEzsignfoldertypeSendreminderfirstdays", "iEzsignfoldertypeSendreminderotherdays", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypePrematurelyendautomatically", "iEzsignfoldertypePrematurelyendautomaticallydays", "bEzsignfoldertypeAutomaticsignature", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeLogrecipientinproof", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeReassigngroup", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "eEzsignfoldertypeSigneraccess", "bEzsignfoldertypeIsactive", "a_fkiPdfalevelID", "a_objUserlogintype", "a_objUsergroupAll", "a_objUsergroupRestricted", "a_objUsergroupTemplate", "objAudit"] + + @field_validator('s_email_address_signed') + def s_email_address_signed_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_email_address_summary') + def s_email_address_summary_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignfoldertypeResponseV4 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype_name + if self.obj_ezsignfoldertype_name: + _dict['objEzsignfoldertypeName'] = self.obj_ezsignfoldertype_name.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_userlogintype (list) + _items = [] + if self.a_obj_userlogintype: + for _item_a_obj_userlogintype in self.a_obj_userlogintype: + if _item_a_obj_userlogintype: + _items.append(_item_a_obj_userlogintype.to_dict()) + _dict['a_objUserlogintype'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_all (list) + _items = [] + if self.a_obj_usergroup_all: + for _item_a_obj_usergroup_all in self.a_obj_usergroup_all: + if _item_a_obj_usergroup_all: + _items.append(_item_a_obj_usergroup_all.to_dict()) + _dict['a_objUsergroupAll'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_restricted (list) + _items = [] + if self.a_obj_usergroup_restricted: + for _item_a_obj_usergroup_restricted in self.a_obj_usergroup_restricted: + if _item_a_obj_usergroup_restricted: + _items.append(_item_a_obj_usergroup_restricted.to_dict()) + _dict['a_objUsergroupRestricted'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup_template (list) + _items = [] + if self.a_obj_usergroup_template: + for _item_a_obj_usergroup_template in self.a_obj_usergroup_template: + if _item_a_obj_usergroup_template: + _items.append(_item_a_obj_usergroup_template.to_dict()) + _dict['a_objUsergroupTemplate'] = _items + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignfoldertypeResponseV4 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), + "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, + "fkiBrandingID": obj.get("fkiBrandingID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "fkiFontIDAnnotation": obj.get("fkiFontIDAnnotation"), + "fkiFontIDFormfield": obj.get("fkiFontIDFormfield"), + "fkiFontIDSignature": obj.get("fkiFontIDSignature"), + "fkiPdfalevelIDConvert": obj.get("fkiPdfalevelIDConvert"), + "eEzsignfoldertypeDocumentdependency": obj.get("eEzsignfoldertypeDocumentdependency"), + "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), + "sEmailAddressSigned": obj.get("sEmailAddressSigned"), + "sEmailAddressSummary": obj.get("sEmailAddressSummary"), + "eEzsignfoldertypePdfarequirement": obj.get("eEzsignfoldertypePdfarequirement"), + "eEzsignfoldertypePdfanoncompliantaction": obj.get("eEzsignfoldertypePdfanoncompliantaction"), + "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), + "iEzsignfoldertypeFontsizeannotation": obj.get("iEzsignfoldertypeFontsizeannotation"), + "iEzsignfoldertypeFontsizeformfield": obj.get("iEzsignfoldertypeFontsizeformfield"), + "iEzsignfoldertypeSendreminderfirstdays": obj.get("iEzsignfoldertypeSendreminderfirstdays"), + "iEzsignfoldertypeSendreminderotherdays": obj.get("iEzsignfoldertypeSendreminderotherdays"), + "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), + "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), + "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), + "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), + "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), + "bEzsignfoldertypePrematurelyendautomatically": obj.get("bEzsignfoldertypePrematurelyendautomatically"), + "iEzsignfoldertypePrematurelyendautomaticallydays": obj.get("iEzsignfoldertypePrematurelyendautomaticallydays"), + "bEzsignfoldertypeAutomaticsignature": obj.get("bEzsignfoldertypeAutomaticsignature"), + "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), + "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), + "bEzsignfoldertypeLogrecipientinproof": obj.get("bEzsignfoldertypeLogrecipientinproof"), + "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), + "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), + "bEzsignfoldertypeReassigngroup": obj.get("bEzsignfoldertypeReassigngroup"), + "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), + "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), + "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), + "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), + "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), + "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), + "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), + "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), + "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), + "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), + "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), + "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), + "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), + "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), + "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), + "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), + "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), + "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), + "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), + "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), + "eEzsignfoldertypeSigneraccess": obj.get("eEzsignfoldertypeSigneraccess"), + "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive"), + "a_fkiPdfalevelID": obj.get("a_fkiPdfalevelID"), + "a_objUserlogintype": [UserlogintypeResponse.from_dict(_item) for _item in obj["a_objUserlogintype"]] if obj.get("a_objUserlogintype") is not None else None, + "a_objUsergroupAll": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupAll"]] if obj.get("a_objUsergroupAll") is not None else None, + "a_objUsergroupRestricted": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupRestricted"]] if obj.get("a_objUsergroupRestricted") is not None else None, + "a_objUsergroupTemplate": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupTemplate"]] if obj.get("a_objUsergroupTemplate") is not None else None, + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignformfield_request.py b/eZmaxApi/models/ezsignformfield_request.py index d36f0c158..489ac6321 100644 --- a/eZmaxApi/models/ezsignformfield_request.py +++ b/eZmaxApi/models/ezsignformfield_request.py @@ -21,7 +21,9 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.field_e_ezsignformfield_dependencyrequirement import FieldEEzsignformfieldDependencyrequirement +from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -35,13 +37,15 @@ class EzsignformfieldRequest(BaseModel): s_ezsignformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio", alias="sEzsignformfieldValue") i_ezsignformfield_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignformfieldX") i_ezsignformfield_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignformfieldY") - i_ezsignformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 |", alias="iEzsignformfieldWidth") - i_ezsignformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | ", alias="iEzsignformfieldHeight") + i_ezsignformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsignformfield in pixels calculated at 100 DPI", alias="iEzsignformfieldWidth") + i_ezsignformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsignformfield in pixels calculated at 100 DPI ", alias="iEzsignformfieldHeight") b_ezsignformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text**", alias="bEzsignformfieldAutocomplete") b_ezsignformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsignformfieldSelected") s_ezsignformfield_enteredvalue: Optional[StrictStr] = Field(default=None, description="This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea**", alias="sEzsignformfieldEnteredvalue") e_ezsignformfield_dependencyrequirement: Optional[FieldEEzsignformfieldDependencyrequirement] = Field(default=None, alias="eEzsignformfieldDependencyrequirement") - __properties: ClassVar[List[str]] = ["pkiEzsignformfieldID", "iEzsignpagePagenumber", "sEzsignformfieldLabel", "sEzsignformfieldValue", "iEzsignformfieldX", "iEzsignformfieldY", "iEzsignformfieldWidth", "iEzsignformfieldHeight", "bEzsignformfieldAutocomplete", "bEzsignformfieldSelected", "sEzsignformfieldEnteredvalue", "eEzsignformfieldDependencyrequirement"] + e_ezsignformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsignformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticRequestCompound] = Field(default=None, alias="objTextstylestatic") + __properties: ClassVar[List[str]] = ["pkiEzsignformfieldID", "iEzsignpagePagenumber", "sEzsignformfieldLabel", "sEzsignformfieldValue", "iEzsignformfieldX", "iEzsignformfieldY", "iEzsignformfieldWidth", "iEzsignformfieldHeight", "bEzsignformfieldAutocomplete", "bEzsignformfieldSelected", "sEzsignformfieldEnteredvalue", "eEzsignformfieldDependencyrequirement", "eEzsignformfieldHorizontalalignment", "objTextstylestatic"] model_config = ConfigDict( populate_by_name=True, @@ -82,6 +86,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_textstylestatic + if self.obj_textstylestatic: + _dict['objTextstylestatic'] = self.obj_textstylestatic.to_dict() return _dict @classmethod @@ -105,7 +112,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bEzsignformfieldAutocomplete": obj.get("bEzsignformfieldAutocomplete"), "bEzsignformfieldSelected": obj.get("bEzsignformfieldSelected"), "sEzsignformfieldEnteredvalue": obj.get("sEzsignformfieldEnteredvalue"), - "eEzsignformfieldDependencyrequirement": obj.get("eEzsignformfieldDependencyrequirement") + "eEzsignformfieldDependencyrequirement": obj.get("eEzsignformfieldDependencyrequirement"), + "eEzsignformfieldHorizontalalignment": obj.get("eEzsignformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticRequestCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignformfield_request_compound.py b/eZmaxApi/models/ezsignformfield_request_compound.py index cb779c60c..c85fc06c0 100644 --- a/eZmaxApi/models/ezsignformfield_request_compound.py +++ b/eZmaxApi/models/ezsignformfield_request_compound.py @@ -21,8 +21,10 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.ezsignelementdependency_request_compound import EzsignelementdependencyRequestCompound from eZmaxApi.models.field_e_ezsignformfield_dependencyrequirement import FieldEEzsignformfieldDependencyrequirement +from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -36,14 +38,16 @@ class EzsignformfieldRequestCompound(BaseModel): s_ezsignformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio", alias="sEzsignformfieldValue") i_ezsignformfield_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignformfieldX") i_ezsignformfield_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignformfieldY") - i_ezsignformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 |", alias="iEzsignformfieldWidth") - i_ezsignformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | ", alias="iEzsignformfieldHeight") + i_ezsignformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsignformfield in pixels calculated at 100 DPI", alias="iEzsignformfieldWidth") + i_ezsignformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsignformfield in pixels calculated at 100 DPI ", alias="iEzsignformfieldHeight") b_ezsignformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text**", alias="bEzsignformfieldAutocomplete") b_ezsignformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsignformfieldSelected") s_ezsignformfield_enteredvalue: Optional[StrictStr] = Field(default=None, description="This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea**", alias="sEzsignformfieldEnteredvalue") e_ezsignformfield_dependencyrequirement: Optional[FieldEEzsignformfieldDependencyrequirement] = Field(default=None, alias="eEzsignformfieldDependencyrequirement") + e_ezsignformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsignformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticRequestCompound] = Field(default=None, alias="objTextstylestatic") a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsignelementdependency") - __properties: ClassVar[List[str]] = ["pkiEzsignformfieldID", "iEzsignpagePagenumber", "sEzsignformfieldLabel", "sEzsignformfieldValue", "iEzsignformfieldX", "iEzsignformfieldY", "iEzsignformfieldWidth", "iEzsignformfieldHeight", "bEzsignformfieldAutocomplete", "bEzsignformfieldSelected", "sEzsignformfieldEnteredvalue", "eEzsignformfieldDependencyrequirement", "a_objEzsignelementdependency"] + __properties: ClassVar[List[str]] = ["pkiEzsignformfieldID", "iEzsignpagePagenumber", "sEzsignformfieldLabel", "sEzsignformfieldValue", "iEzsignformfieldX", "iEzsignformfieldY", "iEzsignformfieldWidth", "iEzsignformfieldHeight", "bEzsignformfieldAutocomplete", "bEzsignformfieldSelected", "sEzsignformfieldEnteredvalue", "eEzsignformfieldDependencyrequirement", "eEzsignformfieldHorizontalalignment", "objTextstylestatic", "a_objEzsignelementdependency"] model_config = ConfigDict( populate_by_name=True, @@ -84,12 +88,15 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_textstylestatic + if self.obj_textstylestatic: + _dict['objTextstylestatic'] = self.obj_textstylestatic.to_dict() # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignelementdependency (list) _items = [] if self.a_obj_ezsignelementdependency: - for _item in self.a_obj_ezsignelementdependency: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignelementdependency in self.a_obj_ezsignelementdependency: + if _item_a_obj_ezsignelementdependency: + _items.append(_item_a_obj_ezsignelementdependency.to_dict()) _dict['a_objEzsignelementdependency'] = _items return _dict @@ -115,6 +122,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bEzsignformfieldSelected": obj.get("bEzsignformfieldSelected"), "sEzsignformfieldEnteredvalue": obj.get("sEzsignformfieldEnteredvalue"), "eEzsignformfieldDependencyrequirement": obj.get("eEzsignformfieldDependencyrequirement"), + "eEzsignformfieldHorizontalalignment": obj.get("eEzsignformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticRequestCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None, "a_objEzsignelementdependency": [EzsignelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignformfield_response.py b/eZmaxApi/models/ezsignformfield_response.py index 4bd303647..0cd1286dd 100644 --- a/eZmaxApi/models/ezsignformfield_response.py +++ b/eZmaxApi/models/ezsignformfield_response.py @@ -21,7 +21,9 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.field_e_ezsignformfield_dependencyrequirement import FieldEEzsignformfieldDependencyrequirement +from eZmaxApi.models.textstylestatic_response_compound import TextstylestaticResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -35,13 +37,15 @@ class EzsignformfieldResponse(BaseModel): s_ezsignformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio", alias="sEzsignformfieldValue") i_ezsignformfield_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignformfieldX") i_ezsignformfield_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignformfieldY") - i_ezsignformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 |", alias="iEzsignformfieldWidth") - i_ezsignformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | ", alias="iEzsignformfieldHeight") + i_ezsignformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsignformfield in pixels calculated at 100 DPI", alias="iEzsignformfieldWidth") + i_ezsignformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsignformfield in pixels calculated at 100 DPI ", alias="iEzsignformfieldHeight") b_ezsignformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text**", alias="bEzsignformfieldAutocomplete") b_ezsignformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsignformfieldSelected") s_ezsignformfield_enteredvalue: Optional[StrictStr] = Field(default=None, description="This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea**", alias="sEzsignformfieldEnteredvalue") e_ezsignformfield_dependencyrequirement: Optional[FieldEEzsignformfieldDependencyrequirement] = Field(default=None, alias="eEzsignformfieldDependencyrequirement") - __properties: ClassVar[List[str]] = ["pkiEzsignformfieldID", "iEzsignpagePagenumber", "sEzsignformfieldLabel", "sEzsignformfieldValue", "iEzsignformfieldX", "iEzsignformfieldY", "iEzsignformfieldWidth", "iEzsignformfieldHeight", "bEzsignformfieldAutocomplete", "bEzsignformfieldSelected", "sEzsignformfieldEnteredvalue", "eEzsignformfieldDependencyrequirement"] + e_ezsignformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsignformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticResponseCompound] = Field(default=None, alias="objTextstylestatic") + __properties: ClassVar[List[str]] = ["pkiEzsignformfieldID", "iEzsignpagePagenumber", "sEzsignformfieldLabel", "sEzsignformfieldValue", "iEzsignformfieldX", "iEzsignformfieldY", "iEzsignformfieldWidth", "iEzsignformfieldHeight", "bEzsignformfieldAutocomplete", "bEzsignformfieldSelected", "sEzsignformfieldEnteredvalue", "eEzsignformfieldDependencyrequirement", "eEzsignformfieldHorizontalalignment", "objTextstylestatic"] model_config = ConfigDict( populate_by_name=True, @@ -82,6 +86,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_textstylestatic + if self.obj_textstylestatic: + _dict['objTextstylestatic'] = self.obj_textstylestatic.to_dict() return _dict @classmethod @@ -105,7 +112,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bEzsignformfieldAutocomplete": obj.get("bEzsignformfieldAutocomplete"), "bEzsignformfieldSelected": obj.get("bEzsignformfieldSelected"), "sEzsignformfieldEnteredvalue": obj.get("sEzsignformfieldEnteredvalue"), - "eEzsignformfieldDependencyrequirement": obj.get("eEzsignformfieldDependencyrequirement") + "eEzsignformfieldDependencyrequirement": obj.get("eEzsignformfieldDependencyrequirement"), + "eEzsignformfieldHorizontalalignment": obj.get("eEzsignformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticResponseCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignformfield_response_compound.py b/eZmaxApi/models/ezsignformfield_response_compound.py index 58ed22bc6..77b68de92 100644 --- a/eZmaxApi/models/ezsignformfield_response_compound.py +++ b/eZmaxApi/models/ezsignformfield_response_compound.py @@ -21,8 +21,10 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.ezsignelementdependency_response_compound import EzsignelementdependencyResponseCompound from eZmaxApi.models.field_e_ezsignformfield_dependencyrequirement import FieldEEzsignformfieldDependencyrequirement +from eZmaxApi.models.textstylestatic_response_compound import TextstylestaticResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -36,14 +38,16 @@ class EzsignformfieldResponseCompound(BaseModel): s_ezsignformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio", alias="sEzsignformfieldValue") i_ezsignformfield_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignformfieldX") i_ezsignformfield_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignformfieldY") - i_ezsignformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 |", alias="iEzsignformfieldWidth") - i_ezsignformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsignformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsignformfieldgroupType. | eEzsignformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | ", alias="iEzsignformfieldHeight") + i_ezsignformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsignformfield in pixels calculated at 100 DPI", alias="iEzsignformfieldWidth") + i_ezsignformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsignformfield in pixels calculated at 100 DPI ", alias="iEzsignformfieldHeight") b_ezsignformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text**", alias="bEzsignformfieldAutocomplete") b_ezsignformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsignformfieldSelected") s_ezsignformfield_enteredvalue: Optional[StrictStr] = Field(default=None, description="This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea**", alias="sEzsignformfieldEnteredvalue") e_ezsignformfield_dependencyrequirement: Optional[FieldEEzsignformfieldDependencyrequirement] = Field(default=None, alias="eEzsignformfieldDependencyrequirement") + e_ezsignformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsignformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticResponseCompound] = Field(default=None, alias="objTextstylestatic") a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsignelementdependency") - __properties: ClassVar[List[str]] = ["pkiEzsignformfieldID", "iEzsignpagePagenumber", "sEzsignformfieldLabel", "sEzsignformfieldValue", "iEzsignformfieldX", "iEzsignformfieldY", "iEzsignformfieldWidth", "iEzsignformfieldHeight", "bEzsignformfieldAutocomplete", "bEzsignformfieldSelected", "sEzsignformfieldEnteredvalue", "eEzsignformfieldDependencyrequirement", "a_objEzsignelementdependency"] + __properties: ClassVar[List[str]] = ["pkiEzsignformfieldID", "iEzsignpagePagenumber", "sEzsignformfieldLabel", "sEzsignformfieldValue", "iEzsignformfieldX", "iEzsignformfieldY", "iEzsignformfieldWidth", "iEzsignformfieldHeight", "bEzsignformfieldAutocomplete", "bEzsignformfieldSelected", "sEzsignformfieldEnteredvalue", "eEzsignformfieldDependencyrequirement", "eEzsignformfieldHorizontalalignment", "objTextstylestatic", "a_objEzsignelementdependency"] model_config = ConfigDict( populate_by_name=True, @@ -84,12 +88,15 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_textstylestatic + if self.obj_textstylestatic: + _dict['objTextstylestatic'] = self.obj_textstylestatic.to_dict() # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignelementdependency (list) _items = [] if self.a_obj_ezsignelementdependency: - for _item in self.a_obj_ezsignelementdependency: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignelementdependency in self.a_obj_ezsignelementdependency: + if _item_a_obj_ezsignelementdependency: + _items.append(_item_a_obj_ezsignelementdependency.to_dict()) _dict['a_objEzsignelementdependency'] = _items return _dict @@ -115,6 +122,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bEzsignformfieldSelected": obj.get("bEzsignformfieldSelected"), "sEzsignformfieldEnteredvalue": obj.get("sEzsignformfieldEnteredvalue"), "eEzsignformfieldDependencyrequirement": obj.get("eEzsignformfieldDependencyrequirement"), + "eEzsignformfieldHorizontalalignment": obj.get("eEzsignformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticResponseCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None, "a_objEzsignelementdependency": [EzsignelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_request.py b/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_request.py index 64a3bbd8b..b9bf3edad 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_request.py +++ b/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroup (list) _items = [] if self.a_obj_ezsignformfieldgroup: - for _item in self.a_obj_ezsignformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroup in self.a_obj_ezsignformfieldgroup: + if _item_a_obj_ezsignformfieldgroup: + _items.append(_item_a_obj_ezsignformfieldgroup.to_dict()) _dict['a_objEzsignformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsignformfieldgroup_request.py b/eZmaxApi/models/ezsignformfieldgroup_request.py index 05a3f0925..4c5e17fc1 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_request.py +++ b/eZmaxApi/models/ezsignformfieldgroup_request.py @@ -38,17 +38,18 @@ class EzsignformfieldgroupRequest(BaseModel): e_ezsignformfieldgroup_signerrequirement: Optional[FieldEEzsignformfieldgroupSignerrequirement] = Field(default=None, alias="eEzsignformfieldgroupSignerrequirement") s_ezsignformfieldgroup_label: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Label for the Ezsignformfieldgroup", alias="sEzsignformfieldgroupLabel") i_ezsignformfieldgroup_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsignsigner will be invited to fill the form fields", alias="iEzsignformfieldgroupStep") - s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") + s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") i_ezsignformfieldgroup_filledmin: Annotated[int, Field(strict=True, ge=0)] = Field(description="The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmin") i_ezsignformfieldgroup_filledmax: Annotated[int, Field(strict=True, ge=0)] = Field(description="The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmax") b_ezsignformfieldgroup_readonly: StrictBool = Field(description="Whether the Ezsignformfieldgroup is read only or not.", alias="bEzsignformfieldgroupReadonly") i_ezsignformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="iEzsignformfieldgroupMaxlength") b_ezsignformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="bEzsignformfieldgroupEncrypted") s_ezsignformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="sEzsignformfieldgroupRegexp") + s_ezsignformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignformfieldgroupTextvalidationcustommessage") t_ezsignformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup", alias="tEzsignformfieldgroupTooltip") e_ezsignformfieldgroup_tooltipposition: Optional[FieldEEzsignformfieldgroupTooltipposition] = Field(default=None, alias="eEzsignformfieldgroupTooltipposition") e_ezsignformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignformfieldgroupTextvalidation") - __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "sEzsignformfieldgroupRegexp", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "eEzsignformfieldgroupTextvalidation"] + __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "sEzsignformfieldgroupRegexp", "sEzsignformfieldgroupTextvalidationcustommessage", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "eEzsignformfieldgroupTextvalidation"] @field_validator('s_ezsignformfieldgroup_regexp') def s_ezsignformfieldgroup_regexp_validate_regular_expression(cls, value): @@ -124,6 +125,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsignformfieldgroupMaxlength": obj.get("iEzsignformfieldgroupMaxlength"), "bEzsignformfieldgroupEncrypted": obj.get("bEzsignformfieldgroupEncrypted"), "sEzsignformfieldgroupRegexp": obj.get("sEzsignformfieldgroupRegexp"), + "sEzsignformfieldgroupTextvalidationcustommessage": obj.get("sEzsignformfieldgroupTextvalidationcustommessage"), "tEzsignformfieldgroupTooltip": obj.get("tEzsignformfieldgroupTooltip"), "eEzsignformfieldgroupTooltipposition": obj.get("eEzsignformfieldgroupTooltipposition"), "eEzsignformfieldgroupTextvalidation": obj.get("eEzsignformfieldgroupTextvalidation") diff --git a/eZmaxApi/models/ezsignformfieldgroup_request_compound.py b/eZmaxApi/models/ezsignformfieldgroup_request_compound.py index fa3481296..ea854ed26 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_request_compound.py +++ b/eZmaxApi/models/ezsignformfieldgroup_request_compound.py @@ -41,20 +41,21 @@ class EzsignformfieldgroupRequestCompound(BaseModel): e_ezsignformfieldgroup_signerrequirement: Optional[FieldEEzsignformfieldgroupSignerrequirement] = Field(default=None, alias="eEzsignformfieldgroupSignerrequirement") s_ezsignformfieldgroup_label: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Label for the Ezsignformfieldgroup", alias="sEzsignformfieldgroupLabel") i_ezsignformfieldgroup_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsignsigner will be invited to fill the form fields", alias="iEzsignformfieldgroupStep") - s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") + s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") i_ezsignformfieldgroup_filledmin: Annotated[int, Field(strict=True, ge=0)] = Field(description="The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmin") i_ezsignformfieldgroup_filledmax: Annotated[int, Field(strict=True, ge=0)] = Field(description="The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmax") b_ezsignformfieldgroup_readonly: StrictBool = Field(description="Whether the Ezsignformfieldgroup is read only or not.", alias="bEzsignformfieldgroupReadonly") i_ezsignformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="iEzsignformfieldgroupMaxlength") b_ezsignformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="bEzsignformfieldgroupEncrypted") s_ezsignformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="sEzsignformfieldgroupRegexp") + s_ezsignformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignformfieldgroupTextvalidationcustommessage") t_ezsignformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup", alias="tEzsignformfieldgroupTooltip") e_ezsignformfieldgroup_tooltipposition: Optional[FieldEEzsignformfieldgroupTooltipposition] = Field(default=None, alias="eEzsignformfieldgroupTooltipposition") e_ezsignformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignformfieldgroupTextvalidation") a_obj_ezsignformfieldgroupsigner: List[EzsignformfieldgroupsignerRequestCompound] = Field(alias="a_objEzsignformfieldgroupsigner") a_obj_dropdown_element: Optional[List[CustomDropdownElementRequestCompound]] = Field(default=None, alias="a_objDropdownElement") a_obj_ezsignformfield: List[EzsignformfieldRequestCompound] = Field(alias="a_objEzsignformfield") - __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "sEzsignformfieldgroupRegexp", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "eEzsignformfieldgroupTextvalidation", "a_objEzsignformfieldgroupsigner", "a_objDropdownElement", "a_objEzsignformfield"] + __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "sEzsignformfieldgroupRegexp", "sEzsignformfieldgroupTextvalidationcustommessage", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "eEzsignformfieldgroupTextvalidation", "a_objEzsignformfieldgroupsigner", "a_objDropdownElement", "a_objEzsignformfield"] @field_validator('s_ezsignformfieldgroup_regexp') def s_ezsignformfieldgroup_regexp_validate_regular_expression(cls, value): @@ -108,23 +109,23 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroupsigner (list) _items = [] if self.a_obj_ezsignformfieldgroupsigner: - for _item in self.a_obj_ezsignformfieldgroupsigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroupsigner in self.a_obj_ezsignformfieldgroupsigner: + if _item_a_obj_ezsignformfieldgroupsigner: + _items.append(_item_a_obj_ezsignformfieldgroupsigner.to_dict()) _dict['a_objEzsignformfieldgroupsigner'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_dropdown_element (list) _items = [] if self.a_obj_dropdown_element: - for _item in self.a_obj_dropdown_element: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_dropdown_element in self.a_obj_dropdown_element: + if _item_a_obj_dropdown_element: + _items.append(_item_a_obj_dropdown_element.to_dict()) _dict['a_objDropdownElement'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfield (list) _items = [] if self.a_obj_ezsignformfield: - for _item in self.a_obj_ezsignformfield: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfield in self.a_obj_ezsignformfield: + if _item_a_obj_ezsignformfield: + _items.append(_item_a_obj_ezsignformfield.to_dict()) _dict['a_objEzsignformfield'] = _items return _dict @@ -151,6 +152,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsignformfieldgroupMaxlength": obj.get("iEzsignformfieldgroupMaxlength"), "bEzsignformfieldgroupEncrypted": obj.get("bEzsignformfieldgroupEncrypted"), "sEzsignformfieldgroupRegexp": obj.get("sEzsignformfieldgroupRegexp"), + "sEzsignformfieldgroupTextvalidationcustommessage": obj.get("sEzsignformfieldgroupTextvalidationcustommessage"), "tEzsignformfieldgroupTooltip": obj.get("tEzsignformfieldgroupTooltip"), "eEzsignformfieldgroupTooltipposition": obj.get("eEzsignformfieldgroupTooltipposition"), "eEzsignformfieldgroupTextvalidation": obj.get("eEzsignformfieldgroupTextvalidation"), diff --git a/eZmaxApi/models/ezsignformfieldgroup_response.py b/eZmaxApi/models/ezsignformfieldgroup_response.py index 07f8c8a98..8deab4368 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_response.py @@ -38,7 +38,7 @@ class EzsignformfieldgroupResponse(BaseModel): e_ezsignformfieldgroup_signerrequirement: Optional[FieldEEzsignformfieldgroupSignerrequirement] = Field(default=None, alias="eEzsignformfieldgroupSignerrequirement") s_ezsignformfieldgroup_label: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Label for the Ezsignformfieldgroup", alias="sEzsignformfieldgroupLabel") i_ezsignformfieldgroup_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsignsigner will be invited to fill the form fields", alias="iEzsignformfieldgroupStep") - s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") + s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") i_ezsignformfieldgroup_filledmin: Annotated[int, Field(strict=True, ge=0)] = Field(description="The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmin") i_ezsignformfieldgroup_filledmax: Annotated[int, Field(strict=True, ge=0)] = Field(description="The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmax") b_ezsignformfieldgroup_readonly: StrictBool = Field(description="Whether the Ezsignformfieldgroup is read only or not.", alias="bEzsignformfieldgroupReadonly") @@ -46,9 +46,10 @@ class EzsignformfieldgroupResponse(BaseModel): b_ezsignformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="bEzsignformfieldgroupEncrypted") e_ezsignformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignformfieldgroupTextvalidation") s_ezsignformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="sEzsignformfieldgroupRegexp") + s_ezsignformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignformfieldgroupTextvalidationcustommessage") t_ezsignformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup", alias="tEzsignformfieldgroupTooltip") e_ezsignformfieldgroup_tooltipposition: Optional[FieldEEzsignformfieldgroupTooltipposition] = Field(default=None, alias="eEzsignformfieldgroupTooltipposition") - __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "eEzsignformfieldgroupTextvalidation", "sEzsignformfieldgroupRegexp", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition"] + __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "eEzsignformfieldgroupTextvalidation", "sEzsignformfieldgroupRegexp", "sEzsignformfieldgroupTextvalidationcustommessage", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition"] @field_validator('s_ezsignformfieldgroup_regexp') def s_ezsignformfieldgroup_regexp_validate_regular_expression(cls, value): @@ -125,6 +126,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bEzsignformfieldgroupEncrypted": obj.get("bEzsignformfieldgroupEncrypted"), "eEzsignformfieldgroupTextvalidation": obj.get("eEzsignformfieldgroupTextvalidation"), "sEzsignformfieldgroupRegexp": obj.get("sEzsignformfieldgroupRegexp"), + "sEzsignformfieldgroupTextvalidationcustommessage": obj.get("sEzsignformfieldgroupTextvalidationcustommessage"), "tEzsignformfieldgroupTooltip": obj.get("tEzsignformfieldgroupTooltip"), "eEzsignformfieldgroupTooltipposition": obj.get("eEzsignformfieldgroupTooltipposition") }) diff --git a/eZmaxApi/models/ezsignformfieldgroup_response_compound.py b/eZmaxApi/models/ezsignformfieldgroup_response_compound.py index 2209d35bc..e69dba409 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_response_compound.py +++ b/eZmaxApi/models/ezsignformfieldgroup_response_compound.py @@ -41,7 +41,7 @@ class EzsignformfieldgroupResponseCompound(BaseModel): e_ezsignformfieldgroup_signerrequirement: Optional[FieldEEzsignformfieldgroupSignerrequirement] = Field(default=None, alias="eEzsignformfieldgroupSignerrequirement") s_ezsignformfieldgroup_label: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Label for the Ezsignformfieldgroup", alias="sEzsignformfieldgroupLabel") i_ezsignformfieldgroup_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsignsigner will be invited to fill the form fields", alias="iEzsignformfieldgroupStep") - s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") + s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") i_ezsignformfieldgroup_filledmin: Annotated[int, Field(strict=True, ge=0)] = Field(description="The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmin") i_ezsignformfieldgroup_filledmax: Annotated[int, Field(strict=True, ge=0)] = Field(description="The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmax") b_ezsignformfieldgroup_readonly: StrictBool = Field(description="Whether the Ezsignformfieldgroup is read only or not.", alias="bEzsignformfieldgroupReadonly") @@ -49,12 +49,13 @@ class EzsignformfieldgroupResponseCompound(BaseModel): b_ezsignformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="bEzsignformfieldgroupEncrypted") e_ezsignformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignformfieldgroupTextvalidation") s_ezsignformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="sEzsignformfieldgroupRegexp") + s_ezsignformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignformfieldgroupTextvalidationcustommessage") t_ezsignformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup", alias="tEzsignformfieldgroupTooltip") e_ezsignformfieldgroup_tooltipposition: Optional[FieldEEzsignformfieldgroupTooltipposition] = Field(default=None, alias="eEzsignformfieldgroupTooltipposition") a_obj_ezsignformfield: List[EzsignformfieldResponseCompound] = Field(alias="a_objEzsignformfield") a_obj_dropdown_element: Optional[List[CustomDropdownElementResponseCompound]] = Field(default=None, alias="a_objDropdownElement") a_obj_ezsignformfieldgroupsigner: List[EzsignformfieldgroupsignerResponseCompound] = Field(alias="a_objEzsignformfieldgroupsigner") - __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "eEzsignformfieldgroupTextvalidation", "sEzsignformfieldgroupRegexp", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "a_objEzsignformfield", "a_objDropdownElement", "a_objEzsignformfieldgroupsigner"] + __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "eEzsignformfieldgroupTextvalidation", "sEzsignformfieldgroupRegexp", "sEzsignformfieldgroupTextvalidationcustommessage", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "a_objEzsignformfield", "a_objDropdownElement", "a_objEzsignformfieldgroupsigner"] @field_validator('s_ezsignformfieldgroup_regexp') def s_ezsignformfieldgroup_regexp_validate_regular_expression(cls, value): @@ -108,23 +109,23 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfield (list) _items = [] if self.a_obj_ezsignformfield: - for _item in self.a_obj_ezsignformfield: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfield in self.a_obj_ezsignformfield: + if _item_a_obj_ezsignformfield: + _items.append(_item_a_obj_ezsignformfield.to_dict()) _dict['a_objEzsignformfield'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_dropdown_element (list) _items = [] if self.a_obj_dropdown_element: - for _item in self.a_obj_dropdown_element: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_dropdown_element in self.a_obj_dropdown_element: + if _item_a_obj_dropdown_element: + _items.append(_item_a_obj_dropdown_element.to_dict()) _dict['a_objDropdownElement'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroupsigner (list) _items = [] if self.a_obj_ezsignformfieldgroupsigner: - for _item in self.a_obj_ezsignformfieldgroupsigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignformfieldgroupsigner in self.a_obj_ezsignformfieldgroupsigner: + if _item_a_obj_ezsignformfieldgroupsigner: + _items.append(_item_a_obj_ezsignformfieldgroupsigner.to_dict()) _dict['a_objEzsignformfieldgroupsigner'] = _items return _dict @@ -152,6 +153,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bEzsignformfieldgroupEncrypted": obj.get("bEzsignformfieldgroupEncrypted"), "eEzsignformfieldgroupTextvalidation": obj.get("eEzsignformfieldgroupTextvalidation"), "sEzsignformfieldgroupRegexp": obj.get("sEzsignformfieldgroupRegexp"), + "sEzsignformfieldgroupTextvalidationcustommessage": obj.get("sEzsignformfieldgroupTextvalidationcustommessage"), "tEzsignformfieldgroupTooltip": obj.get("tEzsignformfieldgroupTooltip"), "eEzsignformfieldgroupTooltipposition": obj.get("eEzsignformfieldgroupTooltipposition"), "a_objEzsignformfield": [EzsignformfieldResponseCompound.from_dict(_item) for _item in obj["a_objEzsignformfield"]] if obj.get("a_objEzsignformfield") is not None else None, diff --git a/eZmaxApi/models/ezsignsignature_create_object_v2_request.py b/eZmaxApi/models/ezsignsignature_create_object_v2_request.py index 9649bfdca..cf8fdebf6 100644 --- a/eZmaxApi/models/ezsignsignature_create_object_v2_request.py +++ b/eZmaxApi/models/ezsignsignature_create_object_v2_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignature (list) _items = [] if self.a_obj_ezsignsignature: - for _item in self.a_obj_ezsignsignature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignature in self.a_obj_ezsignsignature: + if _item_a_obj_ezsignsignature: + _items.append(_item_a_obj_ezsignsignature.to_dict()) _dict['a_objEzsignsignature'] = _items return _dict diff --git a/eZmaxApi/models/ezsignsignature_create_object_v3_request.py b/eZmaxApi/models/ezsignsignature_create_object_v3_request.py new file mode 100644 index 000000000..37bc756dc --- /dev/null +++ b/eZmaxApi/models/ezsignsignature_create_object_v3_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsignsignature_request_compound_v2 import EzsignsignatureRequestCompoundV2 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignatureCreateObjectV3Request(BaseModel): + """ + Request for POST /3/object/ezsignsignature + """ # noqa: E501 + a_obj_ezsignsignature: Annotated[List[EzsignsignatureRequestCompoundV2], Field(min_length=1)] = Field(alias="a_objEzsignsignature") + __properties: ClassVar[List[str]] = ["a_objEzsignsignature"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignatureCreateObjectV3Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignature (list) + _items = [] + if self.a_obj_ezsignsignature: + for _item_a_obj_ezsignsignature in self.a_obj_ezsignsignature: + if _item_a_obj_ezsignsignature: + _items.append(_item_a_obj_ezsignsignature.to_dict()) + _dict['a_objEzsignsignature'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignatureCreateObjectV3Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsignsignature": [EzsignsignatureRequestCompoundV2.from_dict(_item) for _item in obj["a_objEzsignsignature"]] if obj.get("a_objEzsignsignature") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignature_create_object_v3_response.py b/eZmaxApi/models/ezsignsignature_create_object_v3_response.py new file mode 100644 index 000000000..5774a3948 --- /dev/null +++ b/eZmaxApi/models/ezsignsignature_create_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignsignature_create_object_v3_response_m_payload import EzsignsignatureCreateObjectV3ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignatureCreateObjectV3Response(BaseModel): + """ + Response for POST /3/object/ezsignsignature + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignsignatureCreateObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignatureCreateObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignatureCreateObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignsignatureCreateObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignature_create_object_v3_response_m_payload.py b/eZmaxApi/models/ezsignsignature_create_object_v3_response_m_payload.py new file mode 100644 index 000000000..ac6a6329b --- /dev/null +++ b/eZmaxApi/models/ezsignsignature_create_object_v3_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignatureCreateObjectV3ResponseMPayload(BaseModel): + """ + Payload for POST /3/object/ezsignsignature + """ # noqa: E501 + a_pki_ezsignsignature_id: Annotated[List[Annotated[int, Field(strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsignsignatureID") + __properties: ClassVar[List[str]] = ["a_pkiEzsignsignatureID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignatureCreateObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignatureCreateObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzsignsignatureID": obj.get("a_pkiEzsignsignatureID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignature_edit_object_v1_request.py b/eZmaxApi/models/ezsignsignature_edit_object_v1_request.py deleted file mode 100644 index 2c80a4821..000000000 --- a/eZmaxApi/models/ezsignsignature_edit_object_v1_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignsignature_request_compound import EzsignsignatureRequestCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsignsignatureEditObjectV1Request(BaseModel): - """ - Request for PUT /1/object/ezsignsignature/{pkiEzsignsignatureID} - """ # noqa: E501 - obj_ezsignsignature: EzsignsignatureRequestCompound = Field(alias="objEzsignsignature") - __properties: ClassVar[List[str]] = ["objEzsignsignature"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignsignatureEditObjectV1Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignsignature - if self.obj_ezsignsignature: - _dict['objEzsignsignature'] = self.obj_ezsignsignature.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignsignatureEditObjectV1Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsignsignature": EzsignsignatureRequestCompound.from_dict(obj["objEzsignsignature"]) if obj.get("objEzsignsignature") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignsignature_edit_object_v1_response.py b/eZmaxApi/models/ezsignsignature_edit_object_v1_response.py deleted file mode 100644 index 6986934a3..000000000 --- a/eZmaxApi/models/ezsignsignature_edit_object_v1_response.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsignsignatureEditObjectV1Response(BaseModel): - """ - Response for PUT /1/object/ezsignsignature/{pkiEzsignsignatureID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignsignatureEditObjectV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignsignatureEditObjectV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignsignature_edit_object_v2_request.py b/eZmaxApi/models/ezsignsignature_edit_object_v2_request.py new file mode 100644 index 000000000..c66618a2c --- /dev/null +++ b/eZmaxApi/models/ezsignsignature_edit_object_v2_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignsignature_request_compound_v2 import EzsignsignatureRequestCompoundV2 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignatureEditObjectV2Request(BaseModel): + """ + Request for PUT /2/object/ezsignsignature/{pkiEzsignsignatureID} + """ # noqa: E501 + obj_ezsignsignature: EzsignsignatureRequestCompoundV2 = Field(alias="objEzsignsignature") + __properties: ClassVar[List[str]] = ["objEzsignsignature"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignatureEditObjectV2Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignsignature + if self.obj_ezsignsignature: + _dict['objEzsignsignature'] = self.obj_ezsignsignature.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignatureEditObjectV2Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignsignature": EzsignsignatureRequestCompoundV2.from_dict(obj["objEzsignsignature"]) if obj.get("objEzsignsignature") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignature_edit_object_v2_response.py b/eZmaxApi/models/ezsignsignature_edit_object_v2_response.py new file mode 100644 index 000000000..32072d383 --- /dev/null +++ b/eZmaxApi/models/ezsignsignature_edit_object_v2_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignatureEditObjectV2Response(BaseModel): + """ + Response for PUT /2/object/ezsignsignature/{pkiEzsignsignatureID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignatureEditObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignatureEditObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.py b/eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.py index 73ec60c0a..748869aba 100644 --- a/eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignatureattachment (list) _items = [] if self.a_obj_ezsignsignatureattachment: - for _item in self.a_obj_ezsignsignatureattachment: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignatureattachment in self.a_obj_ezsignsignatureattachment: + if _item_a_obj_ezsignsignatureattachment: + _items.append(_item_a_obj_ezsignsignatureattachment.to_dict()) _dict['a_objEzsignsignatureattachment'] = _items return _dict diff --git a/eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.py b/eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.py index fb1a2287b..f5b1f3347 100644 --- a/eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfolder (list) _items = [] if self.a_obj_ezsignfolder: - for _item in self.a_obj_ezsignfolder: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignfolder in self.a_obj_ezsignfolder: + if _item_a_obj_ezsignfolder: + _items.append(_item_a_obj_ezsignfolder.to_dict()) _dict['a_objEzsignfolder'] = _items return _dict diff --git a/eZmaxApi/models/ezsignsignature_get_object_v2_response.py b/eZmaxApi/models/ezsignsignature_get_object_v2_response.py deleted file mode 100644 index 53248615c..000000000 --- a/eZmaxApi/models/ezsignsignature_get_object_v2_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsignsignature_get_object_v2_response_m_payload import EzsignsignatureGetObjectV2ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsignsignatureGetObjectV2Response(BaseModel): - """ - Response for GET /2/object/ezsignsignature/{pkiEzsignsignatureID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsignsignatureGetObjectV2ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignsignatureGetObjectV2Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignsignatureGetObjectV2Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsignsignatureGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignsignature_get_object_v2_response_m_payload.py b/eZmaxApi/models/ezsignsignature_get_object_v2_response_m_payload.py deleted file mode 100644 index a6fce1279..000000000 --- a/eZmaxApi/models/ezsignsignature_get_object_v2_response_m_payload.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignsignature_response_compound import EzsignsignatureResponseCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsignsignatureGetObjectV2ResponseMPayload(BaseModel): - """ - Payload for GET /2/object/ezsignsignature/{pkiEzsignsignatureID} - """ # noqa: E501 - obj_ezsignsignature: EzsignsignatureResponseCompound = Field(alias="objEzsignsignature") - __properties: ClassVar[List[str]] = ["objEzsignsignature"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsignsignatureGetObjectV2ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsignsignature - if self.obj_ezsignsignature: - _dict['objEzsignsignature'] = self.obj_ezsignsignature.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsignsignatureGetObjectV2ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsignsignature": EzsignsignatureResponseCompound.from_dict(obj["objEzsignsignature"]) if obj.get("objEzsignsignature") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignsignature_get_object_v3_response.py b/eZmaxApi/models/ezsignsignature_get_object_v3_response.py new file mode 100644 index 000000000..c3ce0992c --- /dev/null +++ b/eZmaxApi/models/ezsignsignature_get_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignsignature_get_object_v3_response_m_payload import EzsignsignatureGetObjectV3ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignatureGetObjectV3Response(BaseModel): + """ + Response for GET /3/object/ezsignsignature/{pkiEzsignsignatureID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignsignatureGetObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignatureGetObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignatureGetObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignsignatureGetObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignature_get_object_v3_response_m_payload.py b/eZmaxApi/models/ezsignsignature_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..1fb06643e --- /dev/null +++ b/eZmaxApi/models/ezsignsignature_get_object_v3_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignsignature_response_compound_v3 import EzsignsignatureResponseCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignatureGetObjectV3ResponseMPayload(BaseModel): + """ + Payload for GET /3/object/ezsignsignature/{pkiEzsignsignatureID} + """ # noqa: E501 + obj_ezsignsignature: EzsignsignatureResponseCompoundV3 = Field(alias="objEzsignsignature") + __properties: ClassVar[List[str]] = ["objEzsignsignature"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignatureGetObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignsignature + if self.obj_ezsignsignature: + _dict['objEzsignsignature'] = self.obj_ezsignsignature.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignatureGetObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignsignature": EzsignsignatureResponseCompoundV3.from_dict(obj["objEzsignsignature"]) if obj.get("objEzsignsignature") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignature_request.py b/eZmaxApi/models/ezsignsignature_request.py index e4d53c3cb..dd3d06b6a 100644 --- a/eZmaxApi/models/ezsignsignature_request.py +++ b/eZmaxApi/models/ezsignsignature_request.py @@ -23,6 +23,7 @@ from typing_extensions import Annotated from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement from eZmaxApi.models.field_e_ezsignsignature_font import FieldEEzsignsignatureFont from eZmaxApi.models.field_e_ezsignsignature_tooltipposition import FieldEEzsignsignatureTooltipposition @@ -48,15 +49,20 @@ class EzsignsignatureRequest(BaseModel): e_ezsignsignature_tooltipposition: Optional[FieldEEzsignsignatureTooltipposition] = Field(default=None, alias="eEzsignsignatureTooltipposition") e_ezsignsignature_font: Optional[FieldEEzsignsignatureFont] = Field(default=None, alias="eEzsignsignatureFont") fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") - b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments.", alias="bEzsignsignatureRequired") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") - __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsignfoldersignerassociationID", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureWidth", "iEzsignsignatureHeight", "iEzsignsignatureStep", "eEzsignsignatureType", "fkiEzsigndocumentID", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "fkiEzsignfoldersignerassociationIDValidation", "bEzsignsignatureRequired", "eEzsignsignatureAttachmentnamesource", "sEzsignsignatureAttachmentdescription", "iEzsignsignatureValidationstep", "iEzsignsignatureMaxlength", "eEzsignsignatureTextvalidation", "sEzsignsignatureRegexp", "eEzsignsignatureDependencyrequirement"] + __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsignfoldersignerassociationID", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureWidth", "iEzsignsignatureHeight", "iEzsignsignatureStep", "eEzsignsignatureType", "fkiEzsigndocumentID", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "fkiEzsignfoldersignerassociationIDValidation", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "eEzsignsignatureAttachmentnamesource", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureConsultationtrigger", "iEzsignsignatureValidationstep", "iEzsignsignatureMaxlength", "sEzsignsignatureDefaultvalue", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "sEzsignsignatureRegexp", "eEzsignsignatureDependencyrequirement"] @field_validator('s_ezsignsignature_regexp') def s_ezsignsignature_regexp_validate_regular_expression(cls, value): @@ -133,12 +139,17 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsignsignatureTooltipposition": obj.get("eEzsignsignatureTooltipposition"), "eEzsignsignatureFont": obj.get("eEzsignsignatureFont"), "fkiEzsignfoldersignerassociationIDValidation": obj.get("fkiEzsignfoldersignerassociationIDValidation"), + "bEzsignsignatureHandwritten": obj.get("bEzsignsignatureHandwritten"), + "bEzsignsignatureReason": obj.get("bEzsignsignatureReason"), "bEzsignsignatureRequired": obj.get("bEzsignsignatureRequired"), "eEzsignsignatureAttachmentnamesource": obj.get("eEzsignsignatureAttachmentnamesource"), "sEzsignsignatureAttachmentdescription": obj.get("sEzsignsignatureAttachmentdescription"), + "eEzsignsignatureConsultationtrigger": obj.get("eEzsignsignatureConsultationtrigger"), "iEzsignsignatureValidationstep": obj.get("iEzsignsignatureValidationstep"), "iEzsignsignatureMaxlength": obj.get("iEzsignsignatureMaxlength"), + "sEzsignsignatureDefaultvalue": obj.get("sEzsignsignatureDefaultvalue"), "eEzsignsignatureTextvalidation": obj.get("eEzsignsignatureTextvalidation"), + "sEzsignsignatureTextvalidationcustommessage": obj.get("sEzsignsignatureTextvalidationcustommessage"), "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement") }) diff --git a/eZmaxApi/models/ezsignsignature_request_compound.py b/eZmaxApi/models/ezsignsignature_request_compound.py index d98acd1d1..c0dee5397 100644 --- a/eZmaxApi/models/ezsignsignature_request_compound.py +++ b/eZmaxApi/models/ezsignsignature_request_compound.py @@ -25,6 +25,7 @@ from eZmaxApi.models.ezsignelementdependency_request_compound import EzsignelementdependencyRequestCompound from eZmaxApi.models.ezsignsignaturecustomdate_request_compound import EzsignsignaturecustomdateRequestCompound from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement from eZmaxApi.models.field_e_ezsignsignature_font import FieldEEzsignsignatureFont from eZmaxApi.models.field_e_ezsignsignature_tooltipposition import FieldEEzsignsignatureTooltipposition @@ -50,18 +51,23 @@ class EzsignsignatureRequestCompound(BaseModel): e_ezsignsignature_tooltipposition: Optional[FieldEEzsignsignatureTooltipposition] = Field(default=None, alias="eEzsignsignatureTooltipposition") e_ezsignsignature_font: Optional[FieldEEzsignsignatureFont] = Field(default=None, alias="eEzsignsignatureFont") fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") - b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments.", alias="bEzsignsignatureRequired") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") b_ezsignsignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**)", alias="bEzsignsignatureCustomdate") a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateRequestCompound]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsignelementdependency") - __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsignfoldersignerassociationID", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureWidth", "iEzsignsignatureHeight", "iEzsignsignatureStep", "eEzsignsignatureType", "fkiEzsigndocumentID", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "fkiEzsignfoldersignerassociationIDValidation", "bEzsignsignatureRequired", "eEzsignsignatureAttachmentnamesource", "sEzsignsignatureAttachmentdescription", "iEzsignsignatureValidationstep", "iEzsignsignatureMaxlength", "eEzsignsignatureTextvalidation", "sEzsignsignatureRegexp", "eEzsignsignatureDependencyrequirement", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "a_objEzsignelementdependency"] + __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsignfoldersignerassociationID", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureWidth", "iEzsignsignatureHeight", "iEzsignsignatureStep", "eEzsignsignatureType", "fkiEzsigndocumentID", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "fkiEzsignfoldersignerassociationIDValidation", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "eEzsignsignatureAttachmentnamesource", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureConsultationtrigger", "iEzsignsignatureValidationstep", "iEzsignsignatureMaxlength", "sEzsignsignatureDefaultvalue", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "sEzsignsignatureRegexp", "eEzsignsignatureDependencyrequirement", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "a_objEzsignelementdependency"] @field_validator('s_ezsignsignature_regexp') def s_ezsignsignature_regexp_validate_regular_expression(cls, value): @@ -115,16 +121,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignaturecustomdate (list) _items = [] if self.a_obj_ezsignsignaturecustomdate: - for _item in self.a_obj_ezsignsignaturecustomdate: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignaturecustomdate in self.a_obj_ezsignsignaturecustomdate: + if _item_a_obj_ezsignsignaturecustomdate: + _items.append(_item_a_obj_ezsignsignaturecustomdate.to_dict()) _dict['a_objEzsignsignaturecustomdate'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignelementdependency (list) _items = [] if self.a_obj_ezsignelementdependency: - for _item in self.a_obj_ezsignelementdependency: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignelementdependency in self.a_obj_ezsignelementdependency: + if _item_a_obj_ezsignelementdependency: + _items.append(_item_a_obj_ezsignelementdependency.to_dict()) _dict['a_objEzsignelementdependency'] = _items return _dict @@ -152,12 +158,17 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsignsignatureTooltipposition": obj.get("eEzsignsignatureTooltipposition"), "eEzsignsignatureFont": obj.get("eEzsignsignatureFont"), "fkiEzsignfoldersignerassociationIDValidation": obj.get("fkiEzsignfoldersignerassociationIDValidation"), + "bEzsignsignatureHandwritten": obj.get("bEzsignsignatureHandwritten"), + "bEzsignsignatureReason": obj.get("bEzsignsignatureReason"), "bEzsignsignatureRequired": obj.get("bEzsignsignatureRequired"), "eEzsignsignatureAttachmentnamesource": obj.get("eEzsignsignatureAttachmentnamesource"), "sEzsignsignatureAttachmentdescription": obj.get("sEzsignsignatureAttachmentdescription"), + "eEzsignsignatureConsultationtrigger": obj.get("eEzsignsignatureConsultationtrigger"), "iEzsignsignatureValidationstep": obj.get("iEzsignsignatureValidationstep"), "iEzsignsignatureMaxlength": obj.get("iEzsignsignatureMaxlength"), + "sEzsignsignatureDefaultvalue": obj.get("sEzsignsignatureDefaultvalue"), "eEzsignsignatureTextvalidation": obj.get("eEzsignsignatureTextvalidation"), + "sEzsignsignatureTextvalidationcustommessage": obj.get("sEzsignsignatureTextvalidationcustommessage"), "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement"), "bEzsignsignatureCustomdate": obj.get("bEzsignsignatureCustomdate"), diff --git a/eZmaxApi/models/ezsignsignature_request_compound_v2.py b/eZmaxApi/models/ezsignsignature_request_compound_v2.py new file mode 100644 index 000000000..080de7485 --- /dev/null +++ b/eZmaxApi/models/ezsignsignature_request_compound_v2.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.enum_textvalidation import EnumTextvalidation +from eZmaxApi.models.ezsignelementdependency_request_compound import EzsignelementdependencyRequestCompound +from eZmaxApi.models.ezsignsignaturecustomdate_request_compound_v2 import EzsignsignaturecustomdateRequestCompoundV2 +from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger +from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement +from eZmaxApi.models.field_e_ezsignsignature_font import FieldEEzsignsignatureFont +from eZmaxApi.models.field_e_ezsignsignature_tooltipposition import FieldEEzsignsignatureTooltipposition +from eZmaxApi.models.field_e_ezsignsignature_type import FieldEEzsignsignatureType +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignatureRequestCompoundV2(BaseModel): + """ + An Ezsignsignature Object and children to create a complete structure + """ # noqa: E501 + pki_ezsignsignature_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignature", alias="pkiEzsignsignatureID") + fki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationID") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + i_ezsignsignature_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignsignatureX") + i_ezsignsignature_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignsignatureY") + i_ezsignsignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth.", alias="iEzsignsignatureWidth") + i_ezsignsignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight.", alias="iEzsignsignatureHeight") + i_ezsignsignature_step: StrictInt = Field(description="The step when the Ezsignsigner will be invited to sign", alias="iEzsignsignatureStep") + e_ezsignsignature_type: FieldEEzsignsignatureType = Field(alias="eEzsignsignatureType") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + t_ezsignsignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignsignature", alias="tEzsignsignatureTooltip") + e_ezsignsignature_tooltipposition: Optional[FieldEEzsignsignatureTooltipposition] = Field(default=None, alias="eEzsignsignatureTooltipposition") + e_ezsignsignature_font: Optional[FieldEEzsignsignatureFont] = Field(default=None, alias="eEzsignsignatureFont") + fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") + e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") + s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") + i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") + i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") + e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") + s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") + e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") + b_ezsignsignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**)", alias="bEzsignsignatureCustomdate") + a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateRequestCompoundV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") + a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsignelementdependency") + __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsignfoldersignerassociationID", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureWidth", "iEzsignsignatureHeight", "iEzsignsignatureStep", "eEzsignsignatureType", "fkiEzsigndocumentID", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "fkiEzsignfoldersignerassociationIDValidation", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "eEzsignsignatureAttachmentnamesource", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureConsultationtrigger", "iEzsignsignatureValidationstep", "iEzsignsignatureMaxlength", "sEzsignsignatureDefaultvalue", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "sEzsignsignatureRegexp", "eEzsignsignatureDependencyrequirement", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "a_objEzsignelementdependency"] + + @field_validator('s_ezsignsignature_regexp') + def s_ezsignsignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignatureRequestCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignaturecustomdate (list) + _items = [] + if self.a_obj_ezsignsignaturecustomdate: + for _item_a_obj_ezsignsignaturecustomdate in self.a_obj_ezsignsignaturecustomdate: + if _item_a_obj_ezsignsignaturecustomdate: + _items.append(_item_a_obj_ezsignsignaturecustomdate.to_dict()) + _dict['a_objEzsignsignaturecustomdate'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignelementdependency (list) + _items = [] + if self.a_obj_ezsignelementdependency: + for _item_a_obj_ezsignelementdependency in self.a_obj_ezsignelementdependency: + if _item_a_obj_ezsignelementdependency: + _items.append(_item_a_obj_ezsignelementdependency.to_dict()) + _dict['a_objEzsignelementdependency'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignatureRequestCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignatureID": obj.get("pkiEzsignsignatureID"), + "fkiEzsignfoldersignerassociationID": obj.get("fkiEzsignfoldersignerassociationID"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber"), + "iEzsignsignatureX": obj.get("iEzsignsignatureX"), + "iEzsignsignatureY": obj.get("iEzsignsignatureY"), + "iEzsignsignatureWidth": obj.get("iEzsignsignatureWidth"), + "iEzsignsignatureHeight": obj.get("iEzsignsignatureHeight"), + "iEzsignsignatureStep": obj.get("iEzsignsignatureStep"), + "eEzsignsignatureType": obj.get("eEzsignsignatureType"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "tEzsignsignatureTooltip": obj.get("tEzsignsignatureTooltip"), + "eEzsignsignatureTooltipposition": obj.get("eEzsignsignatureTooltipposition"), + "eEzsignsignatureFont": obj.get("eEzsignsignatureFont"), + "fkiEzsignfoldersignerassociationIDValidation": obj.get("fkiEzsignfoldersignerassociationIDValidation"), + "bEzsignsignatureHandwritten": obj.get("bEzsignsignatureHandwritten"), + "bEzsignsignatureReason": obj.get("bEzsignsignatureReason"), + "bEzsignsignatureRequired": obj.get("bEzsignsignatureRequired"), + "eEzsignsignatureAttachmentnamesource": obj.get("eEzsignsignatureAttachmentnamesource"), + "sEzsignsignatureAttachmentdescription": obj.get("sEzsignsignatureAttachmentdescription"), + "eEzsignsignatureConsultationtrigger": obj.get("eEzsignsignatureConsultationtrigger"), + "iEzsignsignatureValidationstep": obj.get("iEzsignsignatureValidationstep"), + "iEzsignsignatureMaxlength": obj.get("iEzsignsignatureMaxlength"), + "sEzsignsignatureDefaultvalue": obj.get("sEzsignsignatureDefaultvalue"), + "eEzsignsignatureTextvalidation": obj.get("eEzsignsignatureTextvalidation"), + "sEzsignsignatureTextvalidationcustommessage": obj.get("sEzsignsignatureTextvalidationcustommessage"), + "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), + "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement"), + "bEzsignsignatureCustomdate": obj.get("bEzsignsignatureCustomdate"), + "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateRequestCompoundV2.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, + "a_objEzsignelementdependency": [EzsignelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignature_response.py b/eZmaxApi/models/ezsignsignature_response.py index fa4abd42b..c6b8743df 100644 --- a/eZmaxApi/models/ezsignsignature_response.py +++ b/eZmaxApi/models/ezsignsignature_response.py @@ -24,6 +24,7 @@ from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement from eZmaxApi.models.field_e_ezsignsignature_font import FieldEEzsignsignatureFont from eZmaxApi.models.field_e_ezsignsignature_tooltipposition import FieldEEzsignsignatureTooltipposition @@ -40,6 +41,7 @@ class EzsignsignatureResponse(BaseModel): fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") fki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationID") fki_ezsignsigningreason_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigningreason", alias="fkiEzsignsigningreasonID") + fki_font_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontID") s_ezsignsigningreason_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Ezsignsigningreason in the language of the requester", alias="sEzsignsigningreasonDescriptionX") i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") i_ezsignsignature_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignsignatureX") @@ -55,19 +57,24 @@ class EzsignsignatureResponse(BaseModel): i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") - b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments.", alias="bEzsignsignatureRequired") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") dt_ezsignsignature_date: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The date the Ezsignsignature was signed", alias="dtEzsignsignatureDate") i_ezsignsignatureattachment_count: Optional[StrictInt] = Field(default=None, description="The count of Ezsignsignatureattachment", alias="iEzsignsignatureattachmentCount") s_ezsignsignature_description: Optional[StrictStr] = Field(default=None, description="The value entered while signing Ezsignsignature of eEzsignsignatureType **City**, **FieldText** and **FieldTextarea**", alias="sEzsignsignatureDescription") i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") obj_contact_name: CustomContactNameResponse = Field(alias="objContactName") obj_contact_name_delegation: Optional[CustomContactNameResponse] = Field(default=None, alias="objContactNameDelegation") obj_signature: Optional[SignatureResponseCompound] = Field(default=None, alias="objSignature") - __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsigndocumentID", "fkiEzsignfoldersignerassociationID", "fkiEzsignsigningreasonID", "sEzsignsigningreasonDescriptionX", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureHeight", "iEzsignsignatureWidth", "iEzsignsignatureStep", "iEzsignsignatureStepadjusted", "eEzsignsignatureType", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "iEzsignsignatureValidationstep", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureAttachmentnamesource", "bEzsignsignatureRequired", "fkiEzsignfoldersignerassociationIDValidation", "dtEzsignsignatureDate", "iEzsignsignatureattachmentCount", "sEzsignsignatureDescription", "iEzsignsignatureMaxlength", "eEzsignsignatureTextvalidation", "eEzsignsignatureDependencyrequirement", "sEzsignsignatureRegexp", "objContactName", "objContactNameDelegation", "objSignature"] + __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsigndocumentID", "fkiEzsignfoldersignerassociationID", "fkiEzsignsigningreasonID", "fkiFontID", "sEzsignsigningreasonDescriptionX", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureHeight", "iEzsignsignatureWidth", "iEzsignsignatureStep", "iEzsignsignatureStepadjusted", "eEzsignsignatureType", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "iEzsignsignatureValidationstep", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureAttachmentnamesource", "eEzsignsignatureConsultationtrigger", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "fkiEzsignfoldersignerassociationIDValidation", "dtEzsignsignatureDate", "iEzsignsignatureattachmentCount", "sEzsignsignatureDescription", "iEzsignsignatureMaxlength", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "eEzsignsignatureDependencyrequirement", "sEzsignsignatureDefaultvalue", "sEzsignsignatureRegexp", "objContactName", "objContactNameDelegation", "objSignature"] @field_validator('s_ezsignsigningreason_description_x') def s_ezsignsigningreason_description_x_validate_regular_expression(cls, value): @@ -163,6 +170,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), "fkiEzsignfoldersignerassociationID": obj.get("fkiEzsignfoldersignerassociationID"), "fkiEzsignsigningreasonID": obj.get("fkiEzsignsigningreasonID"), + "fkiFontID": obj.get("fkiFontID"), "sEzsignsigningreasonDescriptionX": obj.get("sEzsignsigningreasonDescriptionX"), "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber"), "iEzsignsignatureX": obj.get("iEzsignsignatureX"), @@ -178,6 +186,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsignsignatureValidationstep": obj.get("iEzsignsignatureValidationstep"), "sEzsignsignatureAttachmentdescription": obj.get("sEzsignsignatureAttachmentdescription"), "eEzsignsignatureAttachmentnamesource": obj.get("eEzsignsignatureAttachmentnamesource"), + "eEzsignsignatureConsultationtrigger": obj.get("eEzsignsignatureConsultationtrigger"), + "bEzsignsignatureHandwritten": obj.get("bEzsignsignatureHandwritten"), + "bEzsignsignatureReason": obj.get("bEzsignsignatureReason"), "bEzsignsignatureRequired": obj.get("bEzsignsignatureRequired"), "fkiEzsignfoldersignerassociationIDValidation": obj.get("fkiEzsignfoldersignerassociationIDValidation"), "dtEzsignsignatureDate": obj.get("dtEzsignsignatureDate"), @@ -185,7 +196,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsignsignatureDescription": obj.get("sEzsignsignatureDescription"), "iEzsignsignatureMaxlength": obj.get("iEzsignsignatureMaxlength"), "eEzsignsignatureTextvalidation": obj.get("eEzsignsignatureTextvalidation"), + "sEzsignsignatureTextvalidationcustommessage": obj.get("sEzsignsignatureTextvalidationcustommessage"), "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement"), + "sEzsignsignatureDefaultvalue": obj.get("sEzsignsignatureDefaultvalue"), "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), "objContactName": CustomContactNameResponse.from_dict(obj["objContactName"]) if obj.get("objContactName") is not None else None, "objContactNameDelegation": CustomContactNameResponse.from_dict(obj["objContactNameDelegation"]) if obj.get("objContactNameDelegation") is not None else None, diff --git a/eZmaxApi/models/ezsignsignature_response_compound.py b/eZmaxApi/models/ezsignsignature_response_compound.py index 238c92268..fc6264dc1 100644 --- a/eZmaxApi/models/ezsignsignature_response_compound.py +++ b/eZmaxApi/models/ezsignsignature_response_compound.py @@ -23,10 +23,12 @@ from typing_extensions import Annotated from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse from eZmaxApi.models.custom_creditcardtransaction_response import CustomCreditcardtransactionResponse +from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.ezsignelementdependency_response_compound import EzsignelementdependencyResponseCompound from eZmaxApi.models.ezsignsignaturecustomdate_response_compound import EzsignsignaturecustomdateResponseCompound from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement from eZmaxApi.models.field_e_ezsignsignature_font import FieldEEzsignsignatureFont from eZmaxApi.models.field_e_ezsignsignature_tooltipposition import FieldEEzsignsignatureTooltipposition @@ -43,6 +45,7 @@ class EzsignsignatureResponseCompound(BaseModel): fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") fki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationID") fki_ezsignsigningreason_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigningreason", alias="fkiEzsignsigningreasonID") + fki_font_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontID") s_ezsignsigningreason_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Ezsignsigningreason in the language of the requester", alias="sEzsignsigningreasonDescriptionX") i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") i_ezsignsignature_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignsignatureX") @@ -58,23 +61,30 @@ class EzsignsignatureResponseCompound(BaseModel): i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") - b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments.", alias="bEzsignsignatureRequired") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") dt_ezsignsignature_date: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The date the Ezsignsignature was signed", alias="dtEzsignsignatureDate") i_ezsignsignatureattachment_count: Optional[StrictInt] = Field(default=None, description="The count of Ezsignsignatureattachment", alias="iEzsignsignatureattachmentCount") s_ezsignsignature_description: Optional[StrictStr] = Field(default=None, description="The value entered while signing Ezsignsignature of eEzsignsignatureType **City**, **FieldText** and **FieldTextarea**", alias="sEzsignsignatureDescription") i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") obj_contact_name: CustomContactNameResponse = Field(alias="objContactName") obj_contact_name_delegation: Optional[CustomContactNameResponse] = Field(default=None, alias="objContactNameDelegation") obj_signature: Optional[SignatureResponseCompound] = Field(default=None, alias="objSignature") + dt_ezsignsignature_date_in_folder_timezone: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The date the Ezsignsignature was signed in folder's timezone", alias="dtEzsignsignatureDateInFolderTimezone") b_ezsignsignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**)", alias="bEzsignsignatureCustomdate") a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateResponseCompound]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") obj_creditcardtransaction: Optional[CustomCreditcardtransactionResponse] = Field(default=None, alias="objCreditcardtransaction") a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsignelementdependency") - __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsigndocumentID", "fkiEzsignfoldersignerassociationID", "fkiEzsignsigningreasonID", "sEzsignsigningreasonDescriptionX", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureHeight", "iEzsignsignatureWidth", "iEzsignsignatureStep", "iEzsignsignatureStepadjusted", "eEzsignsignatureType", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "iEzsignsignatureValidationstep", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureAttachmentnamesource", "bEzsignsignatureRequired", "fkiEzsignfoldersignerassociationIDValidation", "dtEzsignsignatureDate", "iEzsignsignatureattachmentCount", "sEzsignsignatureDescription", "iEzsignsignatureMaxlength", "eEzsignsignatureTextvalidation", "eEzsignsignatureDependencyrequirement", "sEzsignsignatureRegexp", "objContactName", "objContactNameDelegation", "objSignature", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "objCreditcardtransaction", "a_objEzsignelementdependency"] + obj_timezone: Optional[CustomTimezoneWithCodeResponse] = Field(default=None, alias="objTimezone") + __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsigndocumentID", "fkiEzsignfoldersignerassociationID", "fkiEzsignsigningreasonID", "fkiFontID", "sEzsignsigningreasonDescriptionX", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureHeight", "iEzsignsignatureWidth", "iEzsignsignatureStep", "iEzsignsignatureStepadjusted", "eEzsignsignatureType", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "iEzsignsignatureValidationstep", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureAttachmentnamesource", "eEzsignsignatureConsultationtrigger", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "fkiEzsignfoldersignerassociationIDValidation", "dtEzsignsignatureDate", "iEzsignsignatureattachmentCount", "sEzsignsignatureDescription", "iEzsignsignatureMaxlength", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "eEzsignsignatureDependencyrequirement", "sEzsignsignatureDefaultvalue", "sEzsignsignatureRegexp", "objContactName", "objContactNameDelegation", "objSignature", "dtEzsignsignatureDateInFolderTimezone", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "objCreditcardtransaction", "a_objEzsignelementdependency", "objTimezone"] @field_validator('s_ezsignsigningreason_description_x') def s_ezsignsigningreason_description_x_validate_regular_expression(cls, value): @@ -106,6 +116,16 @@ def s_ezsignsignature_regexp_validate_regular_expression(cls, value): raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") return value + @field_validator('dt_ezsignsignature_date_in_folder_timezone') + def dt_ezsignsignature_date_in_folder_timezone_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -157,9 +177,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignaturecustomdate (list) _items = [] if self.a_obj_ezsignsignaturecustomdate: - for _item in self.a_obj_ezsignsignaturecustomdate: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignaturecustomdate in self.a_obj_ezsignsignaturecustomdate: + if _item_a_obj_ezsignsignaturecustomdate: + _items.append(_item_a_obj_ezsignsignaturecustomdate.to_dict()) _dict['a_objEzsignsignaturecustomdate'] = _items # override the default output from pydantic by calling `to_dict()` of obj_creditcardtransaction if self.obj_creditcardtransaction: @@ -167,10 +187,13 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignelementdependency (list) _items = [] if self.a_obj_ezsignelementdependency: - for _item in self.a_obj_ezsignelementdependency: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignelementdependency in self.a_obj_ezsignelementdependency: + if _item_a_obj_ezsignelementdependency: + _items.append(_item_a_obj_ezsignelementdependency.to_dict()) _dict['a_objEzsignelementdependency'] = _items + # override the default output from pydantic by calling `to_dict()` of obj_timezone + if self.obj_timezone: + _dict['objTimezone'] = self.obj_timezone.to_dict() return _dict @classmethod @@ -187,6 +210,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), "fkiEzsignfoldersignerassociationID": obj.get("fkiEzsignfoldersignerassociationID"), "fkiEzsignsigningreasonID": obj.get("fkiEzsignsigningreasonID"), + "fkiFontID": obj.get("fkiFontID"), "sEzsignsigningreasonDescriptionX": obj.get("sEzsignsigningreasonDescriptionX"), "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber"), "iEzsignsignatureX": obj.get("iEzsignsignatureX"), @@ -202,6 +226,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsignsignatureValidationstep": obj.get("iEzsignsignatureValidationstep"), "sEzsignsignatureAttachmentdescription": obj.get("sEzsignsignatureAttachmentdescription"), "eEzsignsignatureAttachmentnamesource": obj.get("eEzsignsignatureAttachmentnamesource"), + "eEzsignsignatureConsultationtrigger": obj.get("eEzsignsignatureConsultationtrigger"), + "bEzsignsignatureHandwritten": obj.get("bEzsignsignatureHandwritten"), + "bEzsignsignatureReason": obj.get("bEzsignsignatureReason"), "bEzsignsignatureRequired": obj.get("bEzsignsignatureRequired"), "fkiEzsignfoldersignerassociationIDValidation": obj.get("fkiEzsignfoldersignerassociationIDValidation"), "dtEzsignsignatureDate": obj.get("dtEzsignsignatureDate"), @@ -209,15 +236,19 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsignsignatureDescription": obj.get("sEzsignsignatureDescription"), "iEzsignsignatureMaxlength": obj.get("iEzsignsignatureMaxlength"), "eEzsignsignatureTextvalidation": obj.get("eEzsignsignatureTextvalidation"), + "sEzsignsignatureTextvalidationcustommessage": obj.get("sEzsignsignatureTextvalidationcustommessage"), "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement"), + "sEzsignsignatureDefaultvalue": obj.get("sEzsignsignatureDefaultvalue"), "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), "objContactName": CustomContactNameResponse.from_dict(obj["objContactName"]) if obj.get("objContactName") is not None else None, "objContactNameDelegation": CustomContactNameResponse.from_dict(obj["objContactNameDelegation"]) if obj.get("objContactNameDelegation") is not None else None, "objSignature": SignatureResponseCompound.from_dict(obj["objSignature"]) if obj.get("objSignature") is not None else None, + "dtEzsignsignatureDateInFolderTimezone": obj.get("dtEzsignsignatureDateInFolderTimezone"), "bEzsignsignatureCustomdate": obj.get("bEzsignsignatureCustomdate"), "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateResponseCompound.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, "objCreditcardtransaction": CustomCreditcardtransactionResponse.from_dict(obj["objCreditcardtransaction"]) if obj.get("objCreditcardtransaction") is not None else None, - "a_objEzsignelementdependency": [EzsignelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None + "a_objEzsignelementdependency": [EzsignelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None, + "objTimezone": CustomTimezoneWithCodeResponse.from_dict(obj["objTimezone"]) if obj.get("objTimezone") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignsignature_response_compound_v3.py b/eZmaxApi/models/ezsignsignature_response_compound_v3.py new file mode 100644 index 000000000..4436f7362 --- /dev/null +++ b/eZmaxApi/models/ezsignsignature_response_compound_v3.py @@ -0,0 +1,237 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse +from eZmaxApi.models.custom_creditcardtransaction_response import CustomCreditcardtransactionResponse +from eZmaxApi.models.enum_textvalidation import EnumTextvalidation +from eZmaxApi.models.ezsignelementdependency_response_compound import EzsignelementdependencyResponseCompound +from eZmaxApi.models.ezsignsignaturecustomdate_response_compound_v2 import EzsignsignaturecustomdateResponseCompoundV2 +from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger +from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement +from eZmaxApi.models.field_e_ezsignsignature_font import FieldEEzsignsignatureFont +from eZmaxApi.models.field_e_ezsignsignature_tooltipposition import FieldEEzsignsignatureTooltipposition +from eZmaxApi.models.field_e_ezsignsignature_type import FieldEEzsignsignatureType +from eZmaxApi.models.signature_response_compound import SignatureResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignatureResponseCompoundV3(BaseModel): + """ + An Ezsignsignature Object and children to create a complete structure + """ # noqa: E501 + pki_ezsignsignature_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsignature", alias="pkiEzsignsignatureID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + fki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationID") + fki_ezsignsigningreason_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigningreason", alias="fkiEzsignsigningreasonID") + fki_font_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontID") + s_ezsignsigningreason_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Ezsignsigningreason in the language of the requester", alias="sEzsignsigningreasonDescriptionX") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + i_ezsignsignature_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignsignatureX") + i_ezsignsignature_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignsignatureY") + i_ezsignsignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight.", alias="iEzsignsignatureHeight") + i_ezsignsignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth.", alias="iEzsignsignatureWidth") + i_ezsignsignature_step: StrictInt = Field(description="The step when the Ezsignsigner will be invited to sign", alias="iEzsignsignatureStep") + i_ezsignsignature_stepadjusted: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to sign", alias="iEzsignsignatureStepadjusted") + e_ezsignsignature_type: FieldEEzsignsignatureType = Field(alias="eEzsignsignatureType") + t_ezsignsignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignsignature", alias="tEzsignsignatureTooltip") + e_ezsignsignature_tooltipposition: Optional[FieldEEzsignsignatureTooltipposition] = Field(default=None, alias="eEzsignsignatureTooltipposition") + e_ezsignsignature_font: Optional[FieldEEzsignsignatureFont] = Field(default=None, alias="eEzsignsignatureFont") + i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") + s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") + e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") + fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") + dt_ezsignsignature_date: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The date the Ezsignsignature was signed", alias="dtEzsignsignatureDate") + i_ezsignsignatureattachment_count: Optional[StrictInt] = Field(default=None, description="The count of Ezsignsignatureattachment", alias="iEzsignsignatureattachmentCount") + s_ezsignsignature_description: Optional[StrictStr] = Field(default=None, description="The value entered while signing Ezsignsignature of eEzsignsignatureType **City**, **FieldText** and **FieldTextarea**", alias="sEzsignsignatureDescription") + i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") + e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") + e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") + s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") + obj_contact_name: CustomContactNameResponse = Field(alias="objContactName") + obj_contact_name_delegation: Optional[CustomContactNameResponse] = Field(default=None, alias="objContactNameDelegation") + obj_signature: Optional[SignatureResponseCompound] = Field(default=None, alias="objSignature") + b_ezsignsignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**)", alias="bEzsignsignatureCustomdate") + a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateResponseCompoundV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") + obj_creditcardtransaction: Optional[CustomCreditcardtransactionResponse] = Field(default=None, alias="objCreditcardtransaction") + a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsignelementdependency") + __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsigndocumentID", "fkiEzsignfoldersignerassociationID", "fkiEzsignsigningreasonID", "fkiFontID", "sEzsignsigningreasonDescriptionX", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureHeight", "iEzsignsignatureWidth", "iEzsignsignatureStep", "iEzsignsignatureStepadjusted", "eEzsignsignatureType", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "iEzsignsignatureValidationstep", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureAttachmentnamesource", "eEzsignsignatureConsultationtrigger", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "fkiEzsignfoldersignerassociationIDValidation", "dtEzsignsignatureDate", "iEzsignsignatureattachmentCount", "sEzsignsignatureDescription", "iEzsignsignatureMaxlength", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "eEzsignsignatureDependencyrequirement", "sEzsignsignatureDefaultvalue", "sEzsignsignatureRegexp", "objContactName", "objContactNameDelegation", "objSignature", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "objCreditcardtransaction", "a_objEzsignelementdependency"] + + @field_validator('s_ezsignsigningreason_description_x') + def s_ezsignsigningreason_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('dt_ezsignsignature_date') + def dt_ezsignsignature_date_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('s_ezsignsignature_regexp') + def s_ezsignsignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignatureResponseCompoundV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_contact_name + if self.obj_contact_name: + _dict['objContactName'] = self.obj_contact_name.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_contact_name_delegation + if self.obj_contact_name_delegation: + _dict['objContactNameDelegation'] = self.obj_contact_name_delegation.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_signature + if self.obj_signature: + _dict['objSignature'] = self.obj_signature.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignaturecustomdate (list) + _items = [] + if self.a_obj_ezsignsignaturecustomdate: + for _item_a_obj_ezsignsignaturecustomdate in self.a_obj_ezsignsignaturecustomdate: + if _item_a_obj_ezsignsignaturecustomdate: + _items.append(_item_a_obj_ezsignsignaturecustomdate.to_dict()) + _dict['a_objEzsignsignaturecustomdate'] = _items + # override the default output from pydantic by calling `to_dict()` of obj_creditcardtransaction + if self.obj_creditcardtransaction: + _dict['objCreditcardtransaction'] = self.obj_creditcardtransaction.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignelementdependency (list) + _items = [] + if self.a_obj_ezsignelementdependency: + for _item_a_obj_ezsignelementdependency in self.a_obj_ezsignelementdependency: + if _item_a_obj_ezsignelementdependency: + _items.append(_item_a_obj_ezsignelementdependency.to_dict()) + _dict['a_objEzsignelementdependency'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignatureResponseCompoundV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignatureID": obj.get("pkiEzsignsignatureID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "fkiEzsignfoldersignerassociationID": obj.get("fkiEzsignfoldersignerassociationID"), + "fkiEzsignsigningreasonID": obj.get("fkiEzsignsigningreasonID"), + "fkiFontID": obj.get("fkiFontID"), + "sEzsignsigningreasonDescriptionX": obj.get("sEzsignsigningreasonDescriptionX"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber"), + "iEzsignsignatureX": obj.get("iEzsignsignatureX"), + "iEzsignsignatureY": obj.get("iEzsignsignatureY"), + "iEzsignsignatureHeight": obj.get("iEzsignsignatureHeight"), + "iEzsignsignatureWidth": obj.get("iEzsignsignatureWidth"), + "iEzsignsignatureStep": obj.get("iEzsignsignatureStep"), + "iEzsignsignatureStepadjusted": obj.get("iEzsignsignatureStepadjusted"), + "eEzsignsignatureType": obj.get("eEzsignsignatureType"), + "tEzsignsignatureTooltip": obj.get("tEzsignsignatureTooltip"), + "eEzsignsignatureTooltipposition": obj.get("eEzsignsignatureTooltipposition"), + "eEzsignsignatureFont": obj.get("eEzsignsignatureFont"), + "iEzsignsignatureValidationstep": obj.get("iEzsignsignatureValidationstep"), + "sEzsignsignatureAttachmentdescription": obj.get("sEzsignsignatureAttachmentdescription"), + "eEzsignsignatureAttachmentnamesource": obj.get("eEzsignsignatureAttachmentnamesource"), + "eEzsignsignatureConsultationtrigger": obj.get("eEzsignsignatureConsultationtrigger"), + "bEzsignsignatureHandwritten": obj.get("bEzsignsignatureHandwritten"), + "bEzsignsignatureReason": obj.get("bEzsignsignatureReason"), + "bEzsignsignatureRequired": obj.get("bEzsignsignatureRequired"), + "fkiEzsignfoldersignerassociationIDValidation": obj.get("fkiEzsignfoldersignerassociationIDValidation"), + "dtEzsignsignatureDate": obj.get("dtEzsignsignatureDate"), + "iEzsignsignatureattachmentCount": obj.get("iEzsignsignatureattachmentCount"), + "sEzsignsignatureDescription": obj.get("sEzsignsignatureDescription"), + "iEzsignsignatureMaxlength": obj.get("iEzsignsignatureMaxlength"), + "eEzsignsignatureTextvalidation": obj.get("eEzsignsignatureTextvalidation"), + "sEzsignsignatureTextvalidationcustommessage": obj.get("sEzsignsignatureTextvalidationcustommessage"), + "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement"), + "sEzsignsignatureDefaultvalue": obj.get("sEzsignsignatureDefaultvalue"), + "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), + "objContactName": CustomContactNameResponse.from_dict(obj["objContactName"]) if obj.get("objContactName") is not None else None, + "objContactNameDelegation": CustomContactNameResponse.from_dict(obj["objContactNameDelegation"]) if obj.get("objContactNameDelegation") is not None else None, + "objSignature": SignatureResponseCompound.from_dict(obj["objSignature"]) if obj.get("objSignature") is not None else None, + "bEzsignsignatureCustomdate": obj.get("bEzsignsignatureCustomdate"), + "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateResponseCompoundV2.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, + "objCreditcardtransaction": CustomCreditcardtransactionResponse.from_dict(obj["objCreditcardtransaction"]) if obj.get("objCreditcardtransaction") is not None else None, + "a_objEzsignelementdependency": [EzsignelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignature_sign_v1_request.py b/eZmaxApi/models/ezsignsignature_sign_v1_request.py index caeda5ad1..7bf34c45e 100644 --- a/eZmaxApi/models/ezsignsignature_sign_v1_request.py +++ b/eZmaxApi/models/ezsignsignature_sign_v1_request.py @@ -30,13 +30,14 @@ class EzsignsignatureSignV1Request(BaseModel): Request for POST /1/object/ezsignsignature/{pkiEzsignsignatureID}/sign """ # noqa: E501 fki_ezsignsigningreason_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigningreason", alias="fkiEzsignsigningreasonID") + fki_font_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontID") s_value: Optional[StrictStr] = Field(default=None, description="The value required for the Ezsignsignature. This can only be set if eEzsignsignatureType is **City**, **FieldText** or **FieldTextarea**", alias="sValue") e_attachments_confirmation_decision: Optional[StrictStr] = Field(default=None, description="Whether the attachment are accepted or refused. This can only be set if eEzsignsignatureType is **AttachmentsConfirmation**", alias="eAttachmentsConfirmationDecision") s_attachments_refusal_reason: Optional[StrictStr] = Field(default=None, description="The reason of refused. This can only be set if eEzsignsignatureType is **AttachmentsConfirmation**", alias="sAttachmentsRefusalReason") - s_svg: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The SVG of the handwritten signature. This can only be set if eEzsignsignatureType is **Handwritten** and **bIsAutomatic** is false", alias="sSvg") + s_svg: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The SVG of the signature. This can only be set if eEzsignsignatureType is **Signature**/**Initials** and **bIsAutomatic** is false", alias="sSvg") a_obj_file: Optional[List[CommonFile]] = Field(default=None, alias="a_objFile") - b_is_automatic: StrictBool = Field(description="Indicates if the Ezsignsignature was part of an automatic process or not. This can only be true if eEzsignsignatureType is **Acknowledgement**, **City**, **Handwritten**, **Initials**, **Name** or **Stamp**. ", alias="bIsAutomatic") - __properties: ClassVar[List[str]] = ["fkiEzsignsigningreasonID", "sValue", "eAttachmentsConfirmationDecision", "sAttachmentsRefusalReason", "sSvg", "a_objFile", "bIsAutomatic"] + b_is_automatic: StrictBool = Field(description="Indicates if the Ezsignsignature was part of an automatic process or not. This can only be true if eEzsignsignatureType is **Acknowledgement**, **City**, **Signature**, **Initials** or **Stamp**. ", alias="bIsAutomatic") + __properties: ClassVar[List[str]] = ["fkiEzsignsigningreasonID", "fkiFontID", "sValue", "eAttachmentsConfirmationDecision", "sAttachmentsRefusalReason", "sSvg", "a_objFile", "bIsAutomatic"] @field_validator('e_attachments_confirmation_decision') def e_attachments_confirmation_decision_validate_enum(cls, value): @@ -100,9 +101,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_file (list) _items = [] if self.a_obj_file: - for _item in self.a_obj_file: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_file in self.a_obj_file: + if _item_a_obj_file: + _items.append(_item_a_obj_file.to_dict()) _dict['a_objFile'] = _items return _dict @@ -117,6 +118,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "fkiEzsignsigningreasonID": obj.get("fkiEzsignsigningreasonID"), + "fkiFontID": obj.get("fkiFontID"), "sValue": obj.get("sValue"), "eAttachmentsConfirmationDecision": obj.get("eAttachmentsConfirmationDecision"), "sAttachmentsRefusalReason": obj.get("sAttachmentsRefusalReason"), diff --git a/eZmaxApi/models/ezsignsignature_sign_v1_response.py b/eZmaxApi/models/ezsignsignature_sign_v1_response.py index 50c33376f..3cd061572 100644 --- a/eZmaxApi/models/ezsignsignature_sign_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_sign_v1_response.py @@ -22,6 +22,7 @@ from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignsignature_sign_v1_response_m_payload import EzsignsignatureSignV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self @@ -31,7 +32,8 @@ class EzsignsignatureSignV1Response(BaseModel): """ # noqa: E501 obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + m_payload: EzsignsignatureSignV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] model_config = ConfigDict( populate_by_name=True, @@ -78,6 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of obj_debug if self.obj_debug: _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() return _dict @classmethod @@ -91,7 +96,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignsignatureSignV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignsignature_sign_v1_response_m_payload.py b/eZmaxApi/models/ezsignsignature_sign_v1_response_m_payload.py new file mode 100644 index 000000000..0100d026b --- /dev/null +++ b/eZmaxApi/models/ezsignsignature_sign_v1_response_m_payload.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignatureSignV1ResponseMPayload(BaseModel): + """ + Response for POST /1/object/ezsignsignature/{pkiEzsignsignatureID}/sign + """ # noqa: E501 + dt_ezsignsignature_date_in_folder_timezone: Annotated[str, Field(strict=True)] = Field(description="The date the Ezsignsignature was signed in folder's timezone", alias="dtEzsignsignatureDateInFolderTimezone") + obj_timezone: Optional[CustomTimezoneWithCodeResponse] = Field(default=None, alias="objTimezone") + __properties: ClassVar[List[str]] = ["dtEzsignsignatureDateInFolderTimezone", "objTimezone"] + + @field_validator('dt_ezsignsignature_date_in_folder_timezone') + def dt_ezsignsignature_date_in_folder_timezone_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignatureSignV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_timezone + if self.obj_timezone: + _dict['objTimezone'] = self.obj_timezone.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignatureSignV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dtEzsignsignatureDateInFolderTimezone": obj.get("dtEzsignsignatureDateInFolderTimezone"), + "objTimezone": CustomTimezoneWithCodeResponse.from_dict(obj["objTimezone"]) if obj.get("objTimezone") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignaturecustomdate_request_compound_v2.py b/eZmaxApi/models/ezsignsignaturecustomdate_request_compound_v2.py new file mode 100644 index 000000000..cbb25cbc1 --- /dev/null +++ b/eZmaxApi/models/ezsignsignaturecustomdate_request_compound_v2.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignaturecustomdateRequestCompoundV2(BaseModel): + """ + An Ezsignsignaturecustomdate Object and children to create a complete structure + """ # noqa: E501 + pki_ezsignsignaturecustomdate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignaturecustomdate", alias="pkiEzsignsignaturecustomdateID") + i_ezsignsignaturecustomdate_offsetx: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 2 inches from the left of the signature, you would use \"200\" for the X coordinate.", alias="iEzsignsignaturecustomdateOffsetx") + i_ezsignsignaturecustomdate_offsety: StrictInt = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 3 inches from the top of the signature, you would use \"300\" for the Y coordinate.", alias="iEzsignsignaturecustomdateOffsety") + s_ezsignsignaturecustomdate_format: StrictStr = Field(description="The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | ", alias="sEzsignsignaturecustomdateFormat") + __properties: ClassVar[List[str]] = ["pkiEzsignsignaturecustomdateID", "iEzsignsignaturecustomdateOffsetx", "iEzsignsignaturecustomdateOffsety", "sEzsignsignaturecustomdateFormat"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignaturecustomdateRequestCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignaturecustomdateRequestCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignaturecustomdateID": obj.get("pkiEzsignsignaturecustomdateID"), + "iEzsignsignaturecustomdateOffsetx": obj.get("iEzsignsignaturecustomdateOffsetx"), + "iEzsignsignaturecustomdateOffsety": obj.get("iEzsignsignaturecustomdateOffsety"), + "sEzsignsignaturecustomdateFormat": obj.get("sEzsignsignaturecustomdateFormat") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignaturecustomdate_request_v2.py b/eZmaxApi/models/ezsignsignaturecustomdate_request_v2.py new file mode 100644 index 000000000..750588049 --- /dev/null +++ b/eZmaxApi/models/ezsignsignaturecustomdate_request_v2.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignaturecustomdateRequestV2(BaseModel): + """ + An Ezsignsignaturecustomdate Object + """ # noqa: E501 + pki_ezsignsignaturecustomdate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignaturecustomdate", alias="pkiEzsignsignaturecustomdateID") + i_ezsignsignaturecustomdate_offsetx: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 2 inches from the left of the signature, you would use \"200\" for the X coordinate.", alias="iEzsignsignaturecustomdateOffsetx") + i_ezsignsignaturecustomdate_offsety: StrictInt = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 3 inches from the top of the signature, you would use \"300\" for the Y coordinate.", alias="iEzsignsignaturecustomdateOffsety") + s_ezsignsignaturecustomdate_format: StrictStr = Field(description="The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | ", alias="sEzsignsignaturecustomdateFormat") + __properties: ClassVar[List[str]] = ["pkiEzsignsignaturecustomdateID", "iEzsignsignaturecustomdateOffsetx", "iEzsignsignaturecustomdateOffsety", "sEzsignsignaturecustomdateFormat"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignaturecustomdateRequestV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignaturecustomdateRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignaturecustomdateID": obj.get("pkiEzsignsignaturecustomdateID"), + "iEzsignsignaturecustomdateOffsetx": obj.get("iEzsignsignaturecustomdateOffsetx"), + "iEzsignsignaturecustomdateOffsety": obj.get("iEzsignsignaturecustomdateOffsety"), + "sEzsignsignaturecustomdateFormat": obj.get("sEzsignsignaturecustomdateFormat") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignaturecustomdate_response_compound_v2.py b/eZmaxApi/models/ezsignsignaturecustomdate_response_compound_v2.py new file mode 100644 index 000000000..b67e76858 --- /dev/null +++ b/eZmaxApi/models/ezsignsignaturecustomdate_response_compound_v2.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignaturecustomdateResponseCompoundV2(BaseModel): + """ + An Ezsignsignaturecustomdate Object and children to create a complete structure + """ # noqa: E501 + pki_ezsignsignaturecustomdate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsignaturecustomdate", alias="pkiEzsignsignaturecustomdateID") + i_ezsignsignaturecustomdate_offsetx: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 2 inches from the left of the signature, you would use \"200\" for the X coordinate.", alias="iEzsignsignaturecustomdateOffsetx") + i_ezsignsignaturecustomdate_offsety: StrictInt = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 3 inches from the top of the signature, you would use \"300\" for the Y coordinate.", alias="iEzsignsignaturecustomdateOffsety") + s_ezsignsignaturecustomdate_format: StrictStr = Field(description="The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | ", alias="sEzsignsignaturecustomdateFormat") + __properties: ClassVar[List[str]] = ["pkiEzsignsignaturecustomdateID", "iEzsignsignaturecustomdateOffsetx", "iEzsignsignaturecustomdateOffsety", "sEzsignsignaturecustomdateFormat"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignaturecustomdateResponseCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignaturecustomdateResponseCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignaturecustomdateID": obj.get("pkiEzsignsignaturecustomdateID"), + "iEzsignsignaturecustomdateOffsetx": obj.get("iEzsignsignaturecustomdateOffsetx"), + "iEzsignsignaturecustomdateOffsety": obj.get("iEzsignsignaturecustomdateOffsety"), + "sEzsignsignaturecustomdateFormat": obj.get("sEzsignsignaturecustomdateFormat") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsignaturecustomdate_response_v2.py b/eZmaxApi/models/ezsignsignaturecustomdate_response_v2.py new file mode 100644 index 000000000..3c7f29216 --- /dev/null +++ b/eZmaxApi/models/ezsignsignaturecustomdate_response_v2.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsignsignaturecustomdateResponseV2(BaseModel): + """ + An Ezsignsignaturecustomdate Object + """ # noqa: E501 + pki_ezsignsignaturecustomdate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsignaturecustomdate", alias="pkiEzsignsignaturecustomdateID") + i_ezsignsignaturecustomdate_offsetx: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 2 inches from the left of the signature, you would use \"200\" for the X coordinate.", alias="iEzsignsignaturecustomdateOffsetx") + i_ezsignsignaturecustomdate_offsety: StrictInt = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignaturecustomdate block 3 inches from the top of the signature, you would use \"300\" for the Y coordinate.", alias="iEzsignsignaturecustomdateOffsety") + s_ezsignsignaturecustomdate_format: StrictStr = Field(description="The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | ", alias="sEzsignsignaturecustomdateFormat") + __properties: ClassVar[List[str]] = ["pkiEzsignsignaturecustomdateID", "iEzsignsignaturecustomdateOffsetx", "iEzsignsignaturecustomdateOffsety", "sEzsignsignaturecustomdateFormat"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignsignaturecustomdateResponseV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignsignaturecustomdateResponseV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignaturecustomdateID": obj.get("pkiEzsignsignaturecustomdateID"), + "iEzsignsignaturecustomdateOffsetx": obj.get("iEzsignsignaturecustomdateOffsetx"), + "iEzsignsignaturecustomdateOffsety": obj.get("iEzsignsignaturecustomdateOffsety"), + "sEzsignsignaturecustomdateFormat": obj.get("sEzsignsignaturecustomdateFormat") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignsigner_request.py b/eZmaxApi/models/ezsignsigner_request.py index e0fb87c95..d31778285 100644 --- a/eZmaxApi/models/ezsignsigner_request.py +++ b/eZmaxApi/models/ezsignsigner_request.py @@ -28,7 +28,7 @@ class EzsignsignerRequest(BaseModel): """ An Ezsignsigner Object """ # noqa: E501 - fki_userlogintype_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**|", alias="fkiUserlogintypeID") + fki_userlogintype_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") fki_secretquestion_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code|", alias="fkiSecretquestionID") e_ezsignsigner_logintype: Optional[StrictStr] = Field(default=None, description="The method the Ezsignsigner will authenticate to the signing platform. 1. **Password** means the Ezsignsigner will receive a secure link by email. 2. **PasswordPhone** means the Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**. 3. **PasswordQuestion** means the Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer. 4. **InPersonPhone** means the Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**. 5. **InPerson** means the Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type.", alias="eEzsignsignerLogintype") diff --git a/eZmaxApi/models/ezsignsigner_request_compound.py b/eZmaxApi/models/ezsignsigner_request_compound.py index 8a10db331..b0808fd07 100644 --- a/eZmaxApi/models/ezsignsigner_request_compound.py +++ b/eZmaxApi/models/ezsignsigner_request_compound.py @@ -29,7 +29,7 @@ class EzsignsignerRequestCompound(BaseModel): """ An Ezsignsigner Object and children to create a complete structure """ # noqa: E501 - fki_userlogintype_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**|", alias="fkiUserlogintypeID") + fki_userlogintype_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") fki_secretquestion_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code|", alias="fkiSecretquestionID") e_ezsignsigner_logintype: Optional[StrictStr] = Field(default=None, description="The method the Ezsignsigner will authenticate to the signing platform. 1. **Password** means the Ezsignsigner will receive a secure link by email. 2. **PasswordPhone** means the Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**. 3. **PasswordQuestion** means the Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer. 4. **InPersonPhone** means the Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**. 5. **InPerson** means the Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type.", alias="eEzsignsignerLogintype") diff --git a/eZmaxApi/models/ezsignsigner_response.py b/eZmaxApi/models/ezsignsigner_response.py index bb3f2e4f1..aec4ab911 100644 --- a/eZmaxApi/models/ezsignsigner_response.py +++ b/eZmaxApi/models/ezsignsigner_response.py @@ -31,7 +31,7 @@ class EzsignsignerResponse(BaseModel): pki_ezsignsigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsigner", alias="pkiEzsignsignerID") fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") fki_secretquestion_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code|", alias="fkiSecretquestionID") - fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**|", alias="fkiUserlogintypeID") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") s_userlogintype_description_x: StrictStr = Field(description="The description of the Userlogintype in the language of the requester", alias="sUserlogintypeDescriptionX") __properties: ClassVar[List[str]] = ["pkiEzsignsignerID", "fkiTaxassignmentID", "fkiSecretquestionID", "fkiUserlogintypeID", "sUserlogintypeDescriptionX"] diff --git a/eZmaxApi/models/ezsignsigner_response_compound.py b/eZmaxApi/models/ezsignsigner_response_compound.py index 24bb3b366..e1d63ebe9 100644 --- a/eZmaxApi/models/ezsignsigner_response_compound.py +++ b/eZmaxApi/models/ezsignsigner_response_compound.py @@ -32,7 +32,7 @@ class EzsignsignerResponseCompound(BaseModel): pki_ezsignsigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsigner", alias="pkiEzsignsignerID") fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") fki_secretquestion_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code|", alias="fkiSecretquestionID") - fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**|", alias="fkiUserlogintypeID") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") s_userlogintype_description_x: StrictStr = Field(description="The description of the Userlogintype in the language of the requester", alias="sUserlogintypeDescriptionX") obj_contact: EzsignsignerResponseCompoundContact = Field(alias="objContact") __properties: ClassVar[List[str]] = ["pkiEzsignsignerID", "fkiTaxassignmentID", "fkiSecretquestionID", "fkiUserlogintypeID", "sUserlogintypeDescriptionX", "objContact"] diff --git a/eZmaxApi/models/ezsignsignergroup_create_object_v1_request.py b/eZmaxApi/models/ezsignsignergroup_create_object_v1_request.py index 0706a9938..94fef61c9 100644 --- a/eZmaxApi/models/ezsignsignergroup_create_object_v1_request.py +++ b/eZmaxApi/models/ezsignsignergroup_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignergroup (list) _items = [] if self.a_obj_ezsignsignergroup: - for _item in self.a_obj_ezsignsignergroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignergroup in self.a_obj_ezsignsignergroup: + if _item_a_obj_ezsignsignergroup: + _items.append(_item_a_obj_ezsignsignergroup.to_dict()) _dict['a_objEzsignsignergroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request.py b/eZmaxApi/models/ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request.py index d9819f2d9..fea850ec1 100644 --- a/eZmaxApi/models/ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request.py +++ b/eZmaxApi/models/ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignergroupmembership (list) _items = [] if self.a_obj_ezsignsignergroupmembership: - for _item in self.a_obj_ezsignsignergroupmembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignergroupmembership in self.a_obj_ezsignsignergroupmembership: + if _item_a_obj_ezsignsignergroupmembership: + _items.append(_item_a_obj_ezsignsignergroupmembership.to_dict()) _dict['a_objEzsignsignergroupmembership'] = _items return _dict diff --git a/eZmaxApi/models/ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.py b/eZmaxApi/models/ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.py index b648127c3..51321e1f9 100644 --- a/eZmaxApi/models/ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignergroupmembership (list) _items = [] if self.a_obj_ezsignsignergroupmembership: - for _item in self.a_obj_ezsignsignergroupmembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignergroupmembership in self.a_obj_ezsignsignergroupmembership: + if _item_a_obj_ezsignsignergroupmembership: + _items.append(_item_a_obj_ezsignsignergroupmembership.to_dict()) _dict['a_objEzsignsignergroupmembership'] = _items return _dict diff --git a/eZmaxApi/models/ezsignsignergroupmembership_create_object_v1_request.py b/eZmaxApi/models/ezsignsignergroupmembership_create_object_v1_request.py index dee8f69ce..03d316789 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_create_object_v1_request.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsignergroupmembership (list) _items = [] if self.a_obj_ezsignsignergroupmembership: - for _item in self.a_obj_ezsignsignergroupmembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsignergroupmembership in self.a_obj_ezsignsignergroupmembership: + if _item_a_obj_ezsignsignergroupmembership: + _items.append(_item_a_obj_ezsignsignergroupmembership.to_dict()) _dict['a_objEzsignsignergroupmembership'] = _items return _dict diff --git a/eZmaxApi/models/ezsignsigningreason_create_object_v1_request.py b/eZmaxApi/models/ezsignsigningreason_create_object_v1_request.py index 72cab01f8..d0d88f494 100644 --- a/eZmaxApi/models/ezsignsigningreason_create_object_v1_request.py +++ b/eZmaxApi/models/ezsignsigningreason_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsigningreason (list) _items = [] if self.a_obj_ezsignsigningreason: - for _item in self.a_obj_ezsignsigningreason: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsigningreason in self.a_obj_ezsignsigningreason: + if _item_a_obj_ezsignsigningreason: + _items.append(_item_a_obj_ezsignsigningreason.to_dict()) _dict['a_objEzsignsigningreason'] = _items return _dict diff --git a/eZmaxApi/models/ezsignsigningreason_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezsignsigningreason_get_autocomplete_v2_response_m_payload.py index 00e9adb68..16f3097e2 100644 --- a/eZmaxApi/models/ezsignsigningreason_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/ezsignsigningreason_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsigningreason (list) _items = [] if self.a_obj_ezsignsigningreason: - for _item in self.a_obj_ezsignsigningreason: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsigningreason in self.a_obj_ezsignsigningreason: + if _item_a_obj_ezsignsigningreason: + _items.append(_item_a_obj_ezsignsigningreason.to_dict()) _dict['a_objEzsignsigningreason'] = _items return _dict diff --git a/eZmaxApi/models/ezsignsigningreason_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsignsigningreason_get_list_v1_response_m_payload.py index 8fc47dc34..1bfe34880 100644 --- a/eZmaxApi/models/ezsignsigningreason_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignsigningreason_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsigningreason (list) _items = [] if self.a_obj_ezsignsigningreason: - for _item in self.a_obj_ezsignsigningreason: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsignsigningreason in self.a_obj_ezsignsigningreason: + if _item_a_obj_ezsignsigningreason: + _items.append(_item_a_obj_ezsignsigningreason.to_dict()) _dict['a_objEzsignsigningreason'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplate_autocomplete_element_response.py b/eZmaxApi/models/ezsigntemplate_autocomplete_element_response.py index 473c59b62..01ba42b51 100644 --- a/eZmaxApi/models/ezsigntemplate_autocomplete_element_response.py +++ b/eZmaxApi/models/ezsigntemplate_autocomplete_element_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel @@ -30,11 +30,18 @@ class EzsigntemplateAutocompleteElementResponse(BaseModel): A Ezsigntemplate AutocompleteElement Response """ # noqa: E501 e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") - s_ezsigntemplate_description: StrictStr = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") b_ezsigntemplate_isactive: StrictBool = Field(description="Whether the Ezsigntemplate is active or not", alias="bEzsigntemplateIsactive") __properties: ClassVar[List[str]] = ["eEzsignfoldertypePrivacylevel", "sEzsigntemplateDescription", "pkiEzsigntemplateID", "bEzsigntemplateIsactive"] + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplate_copy_v1_request.py b/eZmaxApi/models/ezsigntemplate_copy_v1_request.py index 89961376b..de25f72d6 100644 --- a/eZmaxApi/models/ezsigntemplate_copy_v1_request.py +++ b/eZmaxApi/models/ezsigntemplate_copy_v1_request.py @@ -18,8 +18,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -28,8 +28,10 @@ class EzsigntemplateCopyV1Request(BaseModel): """ Request for POST /1/object/ezsigntemplate/{pkiEzsigntemplateID}/copy """ # noqa: E501 - a_fki_ezsignfoldertype_id: Annotated[List[Annotated[int, Field(le=65535, strict=True, ge=0)]], Field(min_length=1)] = Field(alias="a_fkiEzsignfoldertypeID") - __properties: ClassVar[List[str]] = ["a_fkiEzsignfoldertypeID"] + a_fki_ezsignfoldertype_id: Optional[Annotated[List[Annotated[int, Field(le=65535, strict=True, ge=0)]], Field(min_length=0)]] = Field(default=None, alias="a_fkiEzsignfoldertypeID") + b_copy_company: Optional[StrictBool] = Field(default=None, description="Whether we shall copy the Ezsigntemplate as a company Ezsigntemplate", alias="bCopyCompany") + b_copy_user: Optional[StrictBool] = Field(default=None, description="Whether we shall copy the Ezsigntemplate as a user Ezsigntemplate", alias="bCopyUser") + __properties: ClassVar[List[str]] = ["a_fkiEzsignfoldertypeID", "bCopyCompany", "bCopyUser"] model_config = ConfigDict( populate_by_name=True, @@ -82,7 +84,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_fkiEzsignfoldertypeID": obj.get("a_fkiEzsignfoldertypeID") + "a_fkiEzsignfoldertypeID": obj.get("a_fkiEzsignfoldertypeID"), + "bCopyCompany": obj.get("bCopyCompany"), + "bCopyUser": obj.get("bCopyUser") }) return _obj diff --git a/eZmaxApi/models/ezsigntemplate_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplate_create_object_v1_request.py deleted file mode 100644 index f2ae96c62..000000000 --- a/eZmaxApi/models/ezsigntemplate_create_object_v1_request.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from eZmaxApi.models.ezsigntemplate_request_compound import EzsigntemplateRequestCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateCreateObjectV1Request(BaseModel): - """ - Request for POST /1/object/ezsigntemplate - """ # noqa: E501 - a_obj_ezsigntemplate: Annotated[List[EzsigntemplateRequestCompound], Field(min_length=1)] = Field(alias="a_objEzsigntemplate") - __properties: ClassVar[List[str]] = ["a_objEzsigntemplate"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV1Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplate (list) - _items = [] - if self.a_obj_ezsigntemplate: - for _item in self.a_obj_ezsigntemplate: - if _item: - _items.append(_item.to_dict()) - _dict['a_objEzsigntemplate'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV1Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_objEzsigntemplate": [EzsigntemplateRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplate"]] if obj.get("a_objEzsigntemplate") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplate_create_object_v1_response.py deleted file mode 100644 index edd863fc3..000000000 --- a/eZmaxApi/models/ezsigntemplate_create_object_v1_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsigntemplate_create_object_v1_response_m_payload import EzsigntemplateCreateObjectV1ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateCreateObjectV1Response(BaseModel): - """ - Response for POST /1/object/ezsigntemplate - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsigntemplateCreateObjectV1ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsigntemplateCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_create_object_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplate_create_object_v1_response_m_payload.py deleted file mode 100644 index 3a3b51f4d..000000000 --- a/eZmaxApi/models/ezsigntemplate_create_object_v1_response_m_payload.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateCreateObjectV1ResponseMPayload(BaseModel): - """ - Payload for POST /1/object/ezsigntemplate - """ # noqa: E501 - a_pki_ezsigntemplate_id: Annotated[List[Annotated[int, Field(strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsigntemplateID") - __properties: ClassVar[List[str]] = ["a_pkiEzsigntemplateID"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV1ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV1ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_pkiEzsigntemplateID": obj.get("a_pkiEzsigntemplateID") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_create_object_v2_request.py b/eZmaxApi/models/ezsigntemplate_create_object_v2_request.py deleted file mode 100644 index 252299e44..000000000 --- a/eZmaxApi/models/ezsigntemplate_create_object_v2_request.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from eZmaxApi.models.ezsigntemplate_request_compound_v2 import EzsigntemplateRequestCompoundV2 -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateCreateObjectV2Request(BaseModel): - """ - Request for POST /2/object/ezsigntemplate - """ # noqa: E501 - a_obj_ezsigntemplate: Annotated[List[EzsigntemplateRequestCompoundV2], Field(min_length=1)] = Field(alias="a_objEzsigntemplate") - __properties: ClassVar[List[str]] = ["a_objEzsigntemplate"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV2Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplate (list) - _items = [] - if self.a_obj_ezsigntemplate: - for _item in self.a_obj_ezsigntemplate: - if _item: - _items.append(_item.to_dict()) - _dict['a_objEzsigntemplate'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV2Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_objEzsigntemplate": [EzsigntemplateRequestCompoundV2.from_dict(_item) for _item in obj["a_objEzsigntemplate"]] if obj.get("a_objEzsigntemplate") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_create_object_v2_response.py b/eZmaxApi/models/ezsigntemplate_create_object_v2_response.py deleted file mode 100644 index 47944c562..000000000 --- a/eZmaxApi/models/ezsigntemplate_create_object_v2_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsigntemplate_create_object_v2_response_m_payload import EzsigntemplateCreateObjectV2ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateCreateObjectV2Response(BaseModel): - """ - Response for POST /2/object/ezsigntemplate - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsigntemplateCreateObjectV2ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV2Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV2Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsigntemplateCreateObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_create_object_v2_response_m_payload.py b/eZmaxApi/models/ezsigntemplate_create_object_v2_response_m_payload.py deleted file mode 100644 index 2e3da345d..000000000 --- a/eZmaxApi/models/ezsigntemplate_create_object_v2_response_m_payload.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateCreateObjectV2ResponseMPayload(BaseModel): - """ - Payload for POST /2/object/ezsigntemplate - """ # noqa: E501 - a_pki_ezsigntemplate_id: Annotated[List[Annotated[int, Field(strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsigntemplateID") - __properties: ClassVar[List[str]] = ["a_pkiEzsigntemplateID"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV2ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateCreateObjectV2ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_pkiEzsigntemplateID": obj.get("a_pkiEzsigntemplateID") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_create_object_v3_request.py b/eZmaxApi/models/ezsigntemplate_create_object_v3_request.py new file mode 100644 index 000000000..147d32375 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_create_object_v3_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsigntemplate_request_compound_v3 import EzsigntemplateRequestCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateCreateObjectV3Request(BaseModel): + """ + Request for POST /3/object/ezsigntemplate + """ # noqa: E501 + a_obj_ezsigntemplate: Annotated[List[EzsigntemplateRequestCompoundV3], Field(min_length=1)] = Field(alias="a_objEzsigntemplate") + __properties: ClassVar[List[str]] = ["a_objEzsigntemplate"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateCreateObjectV3Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplate (list) + _items = [] + if self.a_obj_ezsigntemplate: + for _item_a_obj_ezsigntemplate in self.a_obj_ezsigntemplate: + if _item_a_obj_ezsigntemplate: + _items.append(_item_a_obj_ezsigntemplate.to_dict()) + _dict['a_objEzsigntemplate'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateCreateObjectV3Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsigntemplate": [EzsigntemplateRequestCompoundV3.from_dict(_item) for _item in obj["a_objEzsigntemplate"]] if obj.get("a_objEzsigntemplate") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplate_create_object_v3_response.py b/eZmaxApi/models/ezsigntemplate_create_object_v3_response.py new file mode 100644 index 000000000..1090cabaa --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_create_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplate_create_object_v3_response_m_payload import EzsigntemplateCreateObjectV3ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateCreateObjectV3Response(BaseModel): + """ + Response for POST /3/object/ezsigntemplate + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplateCreateObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateCreateObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateCreateObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplateCreateObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplate_create_object_v3_response_m_payload.py b/eZmaxApi/models/ezsigntemplate_create_object_v3_response_m_payload.py new file mode 100644 index 000000000..a5c2b0798 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_create_object_v3_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateCreateObjectV3ResponseMPayload(BaseModel): + """ + Payload for POST /3/object/ezsigntemplate + """ # noqa: E501 + a_pki_ezsigntemplate_id: Annotated[List[Annotated[int, Field(strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsigntemplateID") + __properties: ClassVar[List[str]] = ["a_pkiEzsigntemplateID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateCreateObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateCreateObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzsigntemplateID": obj.get("a_pkiEzsigntemplateID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplate_edit_object_v1_request.py b/eZmaxApi/models/ezsigntemplate_edit_object_v1_request.py deleted file mode 100644 index 4e6b694be..000000000 --- a/eZmaxApi/models/ezsigntemplate_edit_object_v1_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplate_request_compound import EzsigntemplateRequestCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateEditObjectV1Request(BaseModel): - """ - Request for PUT /1/object/ezsigntemplate/{pkiEzsigntemplateID} - """ # noqa: E501 - obj_ezsigntemplate: EzsigntemplateRequestCompound = Field(alias="objEzsigntemplate") - __properties: ClassVar[List[str]] = ["objEzsigntemplate"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateEditObjectV1Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplate - if self.obj_ezsigntemplate: - _dict['objEzsigntemplate'] = self.obj_ezsigntemplate.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateEditObjectV1Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsigntemplate": EzsigntemplateRequestCompound.from_dict(obj["objEzsigntemplate"]) if obj.get("objEzsigntemplate") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplate_edit_object_v1_response.py deleted file mode 100644 index 1ab545d77..000000000 --- a/eZmaxApi/models/ezsigntemplate_edit_object_v1_response.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateEditObjectV1Response(BaseModel): - """ - Response for PUT /1/object/ezsigntemplate/{pkiEzsigntemplateID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateEditObjectV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateEditObjectV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_edit_object_v2_request.py b/eZmaxApi/models/ezsigntemplate_edit_object_v2_request.py deleted file mode 100644 index 9385b1016..000000000 --- a/eZmaxApi/models/ezsigntemplate_edit_object_v2_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplate_request_compound_v2 import EzsigntemplateRequestCompoundV2 -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateEditObjectV2Request(BaseModel): - """ - Request for PUT /2/object/ezsigntemplate/{pkiEzsigntemplateID} - """ # noqa: E501 - obj_ezsigntemplate: EzsigntemplateRequestCompoundV2 = Field(alias="objEzsigntemplate") - __properties: ClassVar[List[str]] = ["objEzsigntemplate"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateEditObjectV2Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplate - if self.obj_ezsigntemplate: - _dict['objEzsigntemplate'] = self.obj_ezsigntemplate.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateEditObjectV2Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsigntemplate": EzsigntemplateRequestCompoundV2.from_dict(obj["objEzsigntemplate"]) if obj.get("objEzsigntemplate") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_edit_object_v2_response.py b/eZmaxApi/models/ezsigntemplate_edit_object_v2_response.py deleted file mode 100644 index 340188552..000000000 --- a/eZmaxApi/models/ezsigntemplate_edit_object_v2_response.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateEditObjectV2Response(BaseModel): - """ - Response for PUT /2/object/ezsigntemplate/{pkiEzsigntemplateID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateEditObjectV2Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateEditObjectV2Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_edit_object_v3_request.py b/eZmaxApi/models/ezsigntemplate_edit_object_v3_request.py new file mode 100644 index 000000000..bc032a3b4 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_edit_object_v3_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplate_request_compound_v3 import EzsigntemplateRequestCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateEditObjectV3Request(BaseModel): + """ + Request for PUT /3/object/ezsigntemplate/{pkiEzsigntemplateID} + """ # noqa: E501 + obj_ezsigntemplate: EzsigntemplateRequestCompoundV3 = Field(alias="objEzsigntemplate") + __properties: ClassVar[List[str]] = ["objEzsigntemplate"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateEditObjectV3Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplate + if self.obj_ezsigntemplate: + _dict['objEzsigntemplate'] = self.obj_ezsigntemplate.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateEditObjectV3Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsigntemplate": EzsigntemplateRequestCompoundV3.from_dict(obj["objEzsigntemplate"]) if obj.get("objEzsigntemplate") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplate_edit_object_v3_response.py b/eZmaxApi/models/ezsigntemplate_edit_object_v3_response.py new file mode 100644 index 000000000..5154bd46f --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_edit_object_v3_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateEditObjectV3Response(BaseModel): + """ + Response for PUT /3/object/ezsigntemplate/{pkiEzsigntemplateID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateEditObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateEditObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response_m_payload.py index 2eb1884aa..ab18109de 100644 --- a/eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplate (list) _items = [] if self.a_obj_ezsigntemplate: - for _item in self.a_obj_ezsigntemplate: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplate in self.a_obj_ezsigntemplate: + if _item_a_obj_ezsigntemplate: + _items.append(_item_a_obj_ezsigntemplate.to_dict()) _dict['a_objEzsigntemplate'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py index de2de67cb..412b2a5ec 100644 --- a/eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplate (list) _items = [] if self.a_obj_ezsigntemplate: - for _item in self.a_obj_ezsigntemplate: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplate in self.a_obj_ezsigntemplate: + if _item_a_obj_ezsigntemplate: + _items.append(_item_a_obj_ezsigntemplate.to_dict()) _dict['a_objEzsigntemplate'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplate_get_object_v1_response.py b/eZmaxApi/models/ezsigntemplate_get_object_v1_response.py deleted file mode 100644 index c67b3c6b2..000000000 --- a/eZmaxApi/models/ezsigntemplate_get_object_v1_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsigntemplate_get_object_v1_response_m_payload import EzsigntemplateGetObjectV1ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateGetObjectV1Response(BaseModel): - """ - Response for GET /1/object/ezsigntemplate/{pkiEzsigntemplateID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsigntemplateGetObjectV1ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateGetObjectV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateGetObjectV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsigntemplateGetObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_get_object_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplate_get_object_v1_response_m_payload.py deleted file mode 100644 index f534b889a..000000000 --- a/eZmaxApi/models/ezsigntemplate_get_object_v1_response_m_payload.py +++ /dev/null @@ -1,142 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.ezsigntemplatedocument_response import EzsigntemplatedocumentResponse -from eZmaxApi.models.ezsigntemplatesigner_response_compound import EzsigntemplatesignerResponseCompound -from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateGetObjectV1ResponseMPayload(BaseModel): - """ - Payload for GET /1/object/ezsigntemplate/{pkiEzsigntemplateID} - """ # noqa: E501 - pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") - fki_ezsigntemplatedocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") - fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") - fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") - s_ezsigntemplate_description: StrictStr = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") - s_ezsigntemplate_filenamepattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename pattern of the Ezsigntemplate", alias="sEzsigntemplateFilenamepattern") - b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") - s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") - obj_audit: CommonAudit = Field(alias="objAudit") - b_ezsigntemplate_editallowed: StrictBool = Field(description="Whether the Ezsigntemplate if allowed to edit or not", alias="bEzsigntemplateEditallowed") - e_ezsigntemplate_type: Optional[FieldEEzsigntemplateType] = Field(default=None, alias="eEzsigntemplateType") - obj_ezsigntemplatedocument: Optional[EzsigntemplatedocumentResponse] = Field(default=None, alias="objEzsigntemplatedocument") - a_obj_ezsigntemplatesigner: List[EzsigntemplatesignerResponseCompound] = Field(alias="a_objEzsigntemplatesigner") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsigntemplatedocumentID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sLanguageNameX", "sEzsigntemplateDescription", "sEzsigntemplateFilenamepattern", "bEzsigntemplateAdminonly", "sEzsignfoldertypeNameX", "objAudit", "bEzsigntemplateEditallowed", "eEzsigntemplateType", "objEzsigntemplatedocument", "a_objEzsigntemplatesigner"] - - @field_validator('s_ezsigntemplate_filenamepattern') - def s_ezsigntemplate_filenamepattern_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{1,50}$", value): - raise ValueError(r"must validate the regular expression /^.{1,50}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateGetObjectV1ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_audit - if self.obj_audit: - _dict['objAudit'] = self.obj_audit.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplatedocument - if self.obj_ezsigntemplatedocument: - _dict['objEzsigntemplatedocument'] = self.obj_ezsigntemplatedocument.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesigner (list) - _items = [] - if self.a_obj_ezsigntemplatesigner: - for _item in self.a_obj_ezsigntemplatesigner: - if _item: - _items.append(_item.to_dict()) - _dict['a_objEzsigntemplatesigner'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateGetObjectV1ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), - "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), - "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), - "fkiLanguageID": obj.get("fkiLanguageID"), - "sLanguageNameX": obj.get("sLanguageNameX"), - "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), - "sEzsigntemplateFilenamepattern": obj.get("sEzsigntemplateFilenamepattern"), - "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), - "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), - "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, - "bEzsigntemplateEditallowed": obj.get("bEzsigntemplateEditallowed"), - "eEzsigntemplateType": obj.get("eEzsigntemplateType"), - "objEzsigntemplatedocument": EzsigntemplatedocumentResponse.from_dict(obj["objEzsigntemplatedocument"]) if obj.get("objEzsigntemplatedocument") is not None else None, - "a_objEzsigntemplatesigner": [EzsigntemplatesignerResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatesigner"]] if obj.get("a_objEzsigntemplatesigner") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplate_get_object_v2_response.py deleted file mode 100644 index 4db4de55b..000000000 --- a/eZmaxApi/models/ezsigntemplate_get_object_v2_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsigntemplate_get_object_v2_response_m_payload import EzsigntemplateGetObjectV2ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateGetObjectV2Response(BaseModel): - """ - Response for GET /2/object/ezsigntemplate/{pkiEzsigntemplateID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsigntemplateGetObjectV2ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateGetObjectV2Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateGetObjectV2Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsigntemplateGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_get_object_v2_response_m_payload.py b/eZmaxApi/models/ezsigntemplate_get_object_v2_response_m_payload.py deleted file mode 100644 index f90d29d0a..000000000 --- a/eZmaxApi/models/ezsigntemplate_get_object_v2_response_m_payload.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplate_response_compound import EzsigntemplateResponseCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateGetObjectV2ResponseMPayload(BaseModel): - """ - Payload for GET /2/object/ezsigntemplate/{pkiEzsigntemplateID} - """ # noqa: E501 - obj_ezsigntemplate: EzsigntemplateResponseCompound = Field(alias="objEzsigntemplate") - __properties: ClassVar[List[str]] = ["objEzsigntemplate"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateGetObjectV2ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplate - if self.obj_ezsigntemplate: - _dict['objEzsigntemplate'] = self.obj_ezsigntemplate.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateGetObjectV2ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsigntemplate": EzsigntemplateResponseCompound.from_dict(obj["objEzsigntemplate"]) if obj.get("objEzsigntemplate") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_get_object_v3_response.py b/eZmaxApi/models/ezsigntemplate_get_object_v3_response.py new file mode 100644 index 000000000..b9b336a1b --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_get_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplate_get_object_v3_response_m_payload import EzsigntemplateGetObjectV3ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateGetObjectV3Response(BaseModel): + """ + Response for GET /3/object/ezsigntemplate/{pkiEzsigntemplateID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplateGetObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateGetObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateGetObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplateGetObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplate_get_object_v3_response_m_payload.py b/eZmaxApi/models/ezsigntemplate_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..c53c726a0 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_get_object_v3_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplate_response_compound_v3 import EzsigntemplateResponseCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateGetObjectV3ResponseMPayload(BaseModel): + """ + Payload for GET /3/object/ezsigntemplate/{pkiEzsigntemplateID} + """ # noqa: E501 + obj_ezsigntemplate: EzsigntemplateResponseCompoundV3 = Field(alias="objEzsigntemplate") + __properties: ClassVar[List[str]] = ["objEzsigntemplate"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateGetObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplate + if self.obj_ezsigntemplate: + _dict['objEzsigntemplate'] = self.obj_ezsigntemplate.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateGetObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsigntemplate": EzsigntemplateResponseCompoundV3.from_dict(obj["objEzsigntemplate"]) if obj.get("objEzsigntemplate") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplate_list_element.py b/eZmaxApi/models/ezsigntemplate_list_element.py index 6653162c4..d2b8035f9 100644 --- a/eZmaxApi/models/ezsigntemplate_list_element.py +++ b/eZmaxApi/models/ezsigntemplate_list_element.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType @@ -32,7 +32,7 @@ class EzsigntemplateListElement(BaseModel): pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - s_ezsigntemplate_description: StrictStr = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") i_ezsigntemplatedocument_pagetotal: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="The number of pages in the Ezsigntemplatedocument.", alias="iEzsigntemplatedocumentPagetotal") i_ezsigntemplate_signaturetotal: Optional[StrictInt] = Field(default=None, description="The number of total signatures in the Ezsigntemplate.", alias="iEzsigntemplateSignaturetotal") i_ezsigntemplate_formfieldtotal: Optional[StrictInt] = Field(default=None, description="The number of total form fields in the Ezsigntemplate.", alias="iEzsigntemplateFormfieldtotal") @@ -41,6 +41,13 @@ class EzsigntemplateListElement(BaseModel): e_ezsigntemplate_type: FieldEEzsigntemplateType = Field(alias="eEzsigntemplateType") __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sEzsigntemplateDescription", "iEzsigntemplatedocumentPagetotal", "iEzsigntemplateSignaturetotal", "iEzsigntemplateFormfieldtotal", "bEzsigntemplateIncomplete", "sEzsignfoldertypeNameX", "eEzsigntemplateType"] + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplate_request.py b/eZmaxApi/models/ezsigntemplate_request.py deleted file mode 100644 index a4cbf6ad3..000000000 --- a/eZmaxApi/models/ezsigntemplate_request.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateRequest(BaseModel): - """ - A Ezsigntemplate Object - """ # noqa: E501 - pki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") - fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") - fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - s_ezsigntemplate_description: StrictStr = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") - s_ezsigntemplate_filenamepattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename pattern of the Ezsigntemplate", alias="sEzsigntemplateFilenamepattern") - b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sEzsigntemplateDescription", "sEzsigntemplateFilenamepattern", "bEzsigntemplateAdminonly"] - - @field_validator('s_ezsigntemplate_filenamepattern') - def s_ezsigntemplate_filenamepattern_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{1,50}$", value): - raise ValueError(r"must validate the regular expression /^.{1,50}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), - "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), - "fkiLanguageID": obj.get("fkiLanguageID"), - "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), - "sEzsigntemplateFilenamepattern": obj.get("sEzsigntemplateFilenamepattern"), - "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_request_compound.py b/eZmaxApi/models/ezsigntemplate_request_compound.py deleted file mode 100644 index 0f9c8517c..000000000 --- a/eZmaxApi/models/ezsigntemplate_request_compound.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateRequestCompound(BaseModel): - """ - A Ezsigntemplate Object and children - """ # noqa: E501 - pki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") - fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") - fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - s_ezsigntemplate_description: StrictStr = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") - s_ezsigntemplate_filenamepattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename pattern of the Ezsigntemplate", alias="sEzsigntemplateFilenamepattern") - b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sEzsigntemplateDescription", "sEzsigntemplateFilenamepattern", "bEzsigntemplateAdminonly"] - - @field_validator('s_ezsigntemplate_filenamepattern') - def s_ezsigntemplate_filenamepattern_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{1,50}$", value): - raise ValueError(r"must validate the regular expression /^.{1,50}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateRequestCompound from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateRequestCompound from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), - "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), - "fkiLanguageID": obj.get("fkiLanguageID"), - "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), - "sEzsigntemplateFilenamepattern": obj.get("sEzsigntemplateFilenamepattern"), - "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_request_compound_v2.py b/eZmaxApi/models/ezsigntemplate_request_compound_v2.py deleted file mode 100644 index 9764cfba2..000000000 --- a/eZmaxApi/models/ezsigntemplate_request_compound_v2.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateRequestCompoundV2(BaseModel): - """ - A Ezsigntemplate Object and children - """ # noqa: E501 - pki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") - fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") - fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - s_ezsigntemplate_description: StrictStr = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") - s_ezsigntemplate_filenamepattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename pattern of the Ezsigntemplate", alias="sEzsigntemplateFilenamepattern") - b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") - e_ezsigntemplate_type: FieldEEzsigntemplateType = Field(alias="eEzsigntemplateType") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sEzsigntemplateDescription", "sEzsigntemplateFilenamepattern", "bEzsigntemplateAdminonly", "eEzsigntemplateType"] - - @field_validator('s_ezsigntemplate_filenamepattern') - def s_ezsigntemplate_filenamepattern_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{1,50}$", value): - raise ValueError(r"must validate the regular expression /^.{1,50}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateRequestCompoundV2 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateRequestCompoundV2 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), - "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), - "fkiLanguageID": obj.get("fkiLanguageID"), - "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), - "sEzsigntemplateFilenamepattern": obj.get("sEzsigntemplateFilenamepattern"), - "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), - "eEzsigntemplateType": obj.get("eEzsigntemplateType") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_request_compound_v3.py b/eZmaxApi/models/ezsigntemplate_request_compound_v3.py new file mode 100644 index 000000000..102c58375 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_request_compound_v3.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplate_recognition import FieldEEzsigntemplateRecognition +from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateRequestCompoundV3(BaseModel): + """ + A Ezsigntemplate Object and children + """ # noqa: E501 + pki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_externaldescription: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The external description of the Ezsigntemplate", alias="sEzsigntemplateExternaldescription") + t_ezsigntemplate_comment: Optional[StrictStr] = Field(default=None, description="The comment of the Ezsigntemplate", alias="tEzsigntemplateComment") + e_ezsigntemplate_recognition: Optional[FieldEEzsigntemplateRecognition] = Field(default=FieldEEzsigntemplateRecognition.NO, alias="eEzsigntemplateRecognition") + s_ezsigntemplate_filenameregexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename regexp of the Ezsigntemplate.", alias="sEzsigntemplateFilenameregexp") + b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") + e_ezsigntemplate_type: FieldEEzsigntemplateType = Field(alias="eEzsigntemplateType") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsignfoldertypeID", "fkiLanguageID", "fkiEzdoctemplatedocumentID", "sEzsigntemplateDescription", "sEzsigntemplateExternaldescription", "tEzsigntemplateComment", "eEzsigntemplateRecognition", "sEzsigntemplateFilenameregexp", "bEzsigntemplateAdminonly", "eEzsigntemplateType"] + + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplate_externaldescription') + def s_ezsigntemplate_externaldescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsigntemplate_filenameregexp') + def s_ezsigntemplate_filenameregexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{1,50}$", value): + raise ValueError(r"must validate the regular expression /^.{1,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateRequestCompoundV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateRequestCompoundV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), + "sEzsigntemplateExternaldescription": obj.get("sEzsigntemplateExternaldescription"), + "tEzsigntemplateComment": obj.get("tEzsigntemplateComment"), + "eEzsigntemplateRecognition": obj.get("eEzsigntemplateRecognition") if obj.get("eEzsigntemplateRecognition") is not None else FieldEEzsigntemplateRecognition.NO, + "sEzsigntemplateFilenameregexp": obj.get("sEzsigntemplateFilenameregexp"), + "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), + "eEzsigntemplateType": obj.get("eEzsigntemplateType") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplate_request_v2.py b/eZmaxApi/models/ezsigntemplate_request_v2.py deleted file mode 100644 index e390753af..000000000 --- a/eZmaxApi/models/ezsigntemplate_request_v2.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated -from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplateRequestV2(BaseModel): - """ - A Ezsigntemplate Object - """ # noqa: E501 - pki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") - fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") - fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - s_ezsigntemplate_description: StrictStr = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") - s_ezsigntemplate_filenamepattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename pattern of the Ezsigntemplate", alias="sEzsigntemplateFilenamepattern") - b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") - e_ezsigntemplate_type: FieldEEzsigntemplateType = Field(alias="eEzsigntemplateType") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sEzsigntemplateDescription", "sEzsigntemplateFilenamepattern", "bEzsigntemplateAdminonly", "eEzsigntemplateType"] - - @field_validator('s_ezsigntemplate_filenamepattern') - def s_ezsigntemplate_filenamepattern_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^.{1,50}$", value): - raise ValueError(r"must validate the regular expression /^.{1,50}$/") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplateRequestV2 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplateRequestV2 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), - "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), - "fkiLanguageID": obj.get("fkiLanguageID"), - "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), - "sEzsigntemplateFilenamepattern": obj.get("sEzsigntemplateFilenamepattern"), - "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), - "eEzsigntemplateType": obj.get("eEzsigntemplateType") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplate_request_v3.py b/eZmaxApi/models/ezsigntemplate_request_v3.py new file mode 100644 index 000000000..501d5607f --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_request_v3.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplate_recognition import FieldEEzsigntemplateRecognition +from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateRequestV3(BaseModel): + """ + A Ezsigntemplate Object + """ # noqa: E501 + pki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_externaldescription: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The external description of the Ezsigntemplate", alias="sEzsigntemplateExternaldescription") + t_ezsigntemplate_comment: Optional[StrictStr] = Field(default=None, description="The comment of the Ezsigntemplate", alias="tEzsigntemplateComment") + e_ezsigntemplate_recognition: Optional[FieldEEzsigntemplateRecognition] = Field(default=FieldEEzsigntemplateRecognition.NO, alias="eEzsigntemplateRecognition") + s_ezsigntemplate_filenameregexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename regexp of the Ezsigntemplate.", alias="sEzsigntemplateFilenameregexp") + b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") + e_ezsigntemplate_type: FieldEEzsigntemplateType = Field(alias="eEzsigntemplateType") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsignfoldertypeID", "fkiLanguageID", "fkiEzdoctemplatedocumentID", "sEzsigntemplateDescription", "sEzsigntemplateExternaldescription", "tEzsigntemplateComment", "eEzsigntemplateRecognition", "sEzsigntemplateFilenameregexp", "bEzsigntemplateAdminonly", "eEzsigntemplateType"] + + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplate_externaldescription') + def s_ezsigntemplate_externaldescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsigntemplate_filenameregexp') + def s_ezsigntemplate_filenameregexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{1,50}$", value): + raise ValueError(r"must validate the regular expression /^.{1,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateRequestV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateRequestV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), + "sEzsigntemplateExternaldescription": obj.get("sEzsigntemplateExternaldescription"), + "tEzsigntemplateComment": obj.get("tEzsigntemplateComment"), + "eEzsigntemplateRecognition": obj.get("eEzsigntemplateRecognition") if obj.get("eEzsigntemplateRecognition") is not None else FieldEEzsigntemplateRecognition.NO, + "sEzsigntemplateFilenameregexp": obj.get("sEzsigntemplateFilenameregexp"), + "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), + "eEzsigntemplateType": obj.get("eEzsigntemplateType") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplate_response.py b/eZmaxApi/models/ezsigntemplate_response.py index e3288fe10..0aada47f9 100644 --- a/eZmaxApi/models/ezsigntemplate_response.py +++ b/eZmaxApi/models/ezsigntemplate_response.py @@ -34,15 +34,35 @@ class EzsigntemplateResponse(BaseModel): fki_ezsigntemplatedocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") - s_ezsigntemplate_description: StrictStr = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_externaldescription: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The external description of the Ezsigntemplate", alias="sEzsigntemplateExternaldescription") + t_ezsigntemplate_comment: Optional[StrictStr] = Field(default=None, description="The comment of the Ezsigntemplate", alias="tEzsigntemplateComment") s_ezsigntemplate_filenamepattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename pattern of the Ezsigntemplate", alias="sEzsigntemplateFilenamepattern") b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") obj_audit: CommonAudit = Field(alias="objAudit") b_ezsigntemplate_editallowed: StrictBool = Field(description="Whether the Ezsigntemplate if allowed to edit or not", alias="bEzsigntemplateEditallowed") e_ezsigntemplate_type: Optional[FieldEEzsigntemplateType] = Field(default=None, alias="eEzsigntemplateType") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsigntemplatedocumentID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sLanguageNameX", "sEzsigntemplateDescription", "sEzsigntemplateFilenamepattern", "bEzsigntemplateAdminonly", "sEzsignfoldertypeNameX", "objAudit", "bEzsigntemplateEditallowed", "eEzsigntemplateType"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsigntemplatedocumentID", "fkiEzsignfoldertypeID", "fkiLanguageID", "fkiEzdoctemplatedocumentID", "sLanguageNameX", "sEzsigntemplateDescription", "sEzsigntemplateExternaldescription", "tEzsigntemplateComment", "sEzsigntemplateFilenamepattern", "bEzsigntemplateAdminonly", "sEzsignfoldertypeNameX", "objAudit", "bEzsigntemplateEditallowed", "eEzsigntemplateType"] + + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplate_externaldescription') + def s_ezsigntemplate_externaldescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value @field_validator('s_ezsigntemplate_filenamepattern') def s_ezsigntemplate_filenamepattern_validate_regular_expression(cls, value): @@ -112,8 +132,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), "sLanguageNameX": obj.get("sLanguageNameX"), "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), + "sEzsigntemplateExternaldescription": obj.get("sEzsigntemplateExternaldescription"), + "tEzsigntemplateComment": obj.get("tEzsigntemplateComment"), "sEzsigntemplateFilenamepattern": obj.get("sEzsigntemplateFilenamepattern"), "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), diff --git a/eZmaxApi/models/ezsigntemplate_response_compound.py b/eZmaxApi/models/ezsigntemplate_response_compound.py index 77befeed9..d2ecdc98f 100644 --- a/eZmaxApi/models/ezsigntemplate_response_compound.py +++ b/eZmaxApi/models/ezsigntemplate_response_compound.py @@ -36,8 +36,11 @@ class EzsigntemplateResponseCompound(BaseModel): fki_ezsigntemplatedocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") - s_ezsigntemplate_description: StrictStr = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_externaldescription: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The external description of the Ezsigntemplate", alias="sEzsigntemplateExternaldescription") + t_ezsigntemplate_comment: Optional[StrictStr] = Field(default=None, description="The comment of the Ezsigntemplate", alias="tEzsigntemplateComment") s_ezsigntemplate_filenamepattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename pattern of the Ezsigntemplate", alias="sEzsigntemplateFilenamepattern") b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") @@ -46,7 +49,24 @@ class EzsigntemplateResponseCompound(BaseModel): e_ezsigntemplate_type: Optional[FieldEEzsigntemplateType] = Field(default=None, alias="eEzsigntemplateType") obj_ezsigntemplatedocument: Optional[EzsigntemplatedocumentResponse] = Field(default=None, alias="objEzsigntemplatedocument") a_obj_ezsigntemplatesigner: List[EzsigntemplatesignerResponseCompound] = Field(alias="a_objEzsigntemplatesigner") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsigntemplatedocumentID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sLanguageNameX", "sEzsigntemplateDescription", "sEzsigntemplateFilenamepattern", "bEzsigntemplateAdminonly", "sEzsignfoldertypeNameX", "objAudit", "bEzsigntemplateEditallowed", "eEzsigntemplateType", "objEzsigntemplatedocument", "a_objEzsigntemplatesigner"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsigntemplatedocumentID", "fkiEzsignfoldertypeID", "fkiLanguageID", "fkiEzdoctemplatedocumentID", "sLanguageNameX", "sEzsigntemplateDescription", "sEzsigntemplateExternaldescription", "tEzsigntemplateComment", "sEzsigntemplateFilenamepattern", "bEzsigntemplateAdminonly", "sEzsignfoldertypeNameX", "objAudit", "bEzsigntemplateEditallowed", "eEzsigntemplateType", "objEzsigntemplatedocument", "a_objEzsigntemplatesigner"] + + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplate_externaldescription') + def s_ezsigntemplate_externaldescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value @field_validator('s_ezsigntemplate_filenamepattern') def s_ezsigntemplate_filenamepattern_validate_regular_expression(cls, value): @@ -106,9 +126,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesigner (list) _items = [] if self.a_obj_ezsigntemplatesigner: - for _item in self.a_obj_ezsigntemplatesigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatesigner in self.a_obj_ezsigntemplatesigner: + if _item_a_obj_ezsigntemplatesigner: + _items.append(_item_a_obj_ezsigntemplatesigner.to_dict()) _dict['a_objEzsigntemplatesigner'] = _items return _dict @@ -126,8 +146,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), "sLanguageNameX": obj.get("sLanguageNameX"), "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), + "sEzsigntemplateExternaldescription": obj.get("sEzsigntemplateExternaldescription"), + "tEzsigntemplateComment": obj.get("tEzsigntemplateComment"), "sEzsigntemplateFilenamepattern": obj.get("sEzsigntemplateFilenamepattern"), "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), diff --git a/eZmaxApi/models/ezsigntemplate_response_compound_v3.py b/eZmaxApi/models/ezsigntemplate_response_compound_v3.py new file mode 100644 index 000000000..b9f247e77 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_response_compound_v3.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.ezsigntemplatedocument_response import EzsigntemplatedocumentResponse +from eZmaxApi.models.ezsigntemplatesigner_response_compound import EzsigntemplatesignerResponseCompound +from eZmaxApi.models.field_e_ezsigntemplate_recognition import FieldEEzsigntemplateRecognition +from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateResponseCompoundV3(BaseModel): + """ + A Ezsigntemplate Object + """ # noqa: E501 + pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") + fki_ezsigntemplatedocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_externaldescription: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The external description of the Ezsigntemplate", alias="sEzsigntemplateExternaldescription") + t_ezsigntemplate_comment: Optional[StrictStr] = Field(default=None, description="The comment of the Ezsigntemplate", alias="tEzsigntemplateComment") + e_ezsigntemplate_recognition: Optional[FieldEEzsigntemplateRecognition] = Field(default=FieldEEzsigntemplateRecognition.NO, alias="eEzsigntemplateRecognition") + s_ezsigntemplate_filenameregexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename regexp of the Ezsigntemplate.", alias="sEzsigntemplateFilenameregexp") + b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + obj_audit: CommonAudit = Field(alias="objAudit") + b_ezsigntemplate_editallowed: StrictBool = Field(description="Whether the Ezsigntemplate if allowed to edit or not", alias="bEzsigntemplateEditallowed") + e_ezsigntemplate_type: Optional[FieldEEzsigntemplateType] = Field(default=None, alias="eEzsigntemplateType") + obj_ezsigntemplatedocument: Optional[EzsigntemplatedocumentResponse] = Field(default=None, alias="objEzsigntemplatedocument") + a_obj_ezsigntemplatesigner: List[EzsigntemplatesignerResponseCompound] = Field(alias="a_objEzsigntemplatesigner") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsigntemplatedocumentID", "fkiEzsignfoldertypeID", "fkiLanguageID", "fkiEzdoctemplatedocumentID", "sEzdoctemplatedocumentNameX", "sLanguageNameX", "sEzsigntemplateDescription", "sEzsigntemplateExternaldescription", "tEzsigntemplateComment", "eEzsigntemplateRecognition", "sEzsigntemplateFilenameregexp", "bEzsigntemplateAdminonly", "sEzsignfoldertypeNameX", "objAudit", "bEzsigntemplateEditallowed", "eEzsigntemplateType", "objEzsigntemplatedocument", "a_objEzsigntemplatesigner"] + + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplate_externaldescription') + def s_ezsigntemplate_externaldescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsigntemplate_filenameregexp') + def s_ezsigntemplate_filenameregexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{1,50}$", value): + raise ValueError(r"must validate the regular expression /^.{1,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateResponseCompoundV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplatedocument + if self.obj_ezsigntemplatedocument: + _dict['objEzsigntemplatedocument'] = self.obj_ezsigntemplatedocument.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesigner (list) + _items = [] + if self.a_obj_ezsigntemplatesigner: + for _item_a_obj_ezsigntemplatesigner in self.a_obj_ezsigntemplatesigner: + if _item_a_obj_ezsigntemplatesigner: + _items.append(_item_a_obj_ezsigntemplatesigner.to_dict()) + _dict['a_objEzsigntemplatesigner'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateResponseCompoundV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), + "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "sLanguageNameX": obj.get("sLanguageNameX"), + "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), + "sEzsigntemplateExternaldescription": obj.get("sEzsigntemplateExternaldescription"), + "tEzsigntemplateComment": obj.get("tEzsigntemplateComment"), + "eEzsigntemplateRecognition": obj.get("eEzsigntemplateRecognition") if obj.get("eEzsigntemplateRecognition") is not None else FieldEEzsigntemplateRecognition.NO, + "sEzsigntemplateFilenameregexp": obj.get("sEzsigntemplateFilenameregexp"), + "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "bEzsigntemplateEditallowed": obj.get("bEzsigntemplateEditallowed"), + "eEzsigntemplateType": obj.get("eEzsigntemplateType"), + "objEzsigntemplatedocument": EzsigntemplatedocumentResponse.from_dict(obj["objEzsigntemplatedocument"]) if obj.get("objEzsigntemplatedocument") is not None else None, + "a_objEzsigntemplatesigner": [EzsigntemplatesignerResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatesigner"]] if obj.get("a_objEzsigntemplatesigner") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplate_response_v3.py b/eZmaxApi/models/ezsigntemplate_response_v3.py new file mode 100644 index 000000000..b111042d1 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplate_response_v3.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.field_e_ezsigntemplate_recognition import FieldEEzsigntemplateRecognition +from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplateResponseV3(BaseModel): + """ + A Ezsigntemplate Object + """ # noqa: E501 + pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") + fki_ezsigntemplatedocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_externaldescription: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The external description of the Ezsigntemplate", alias="sEzsigntemplateExternaldescription") + t_ezsigntemplate_comment: Optional[StrictStr] = Field(default=None, description="The comment of the Ezsigntemplate", alias="tEzsigntemplateComment") + e_ezsigntemplate_recognition: Optional[FieldEEzsigntemplateRecognition] = Field(default=FieldEEzsigntemplateRecognition.NO, alias="eEzsigntemplateRecognition") + s_ezsigntemplate_filenameregexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename regexp of the Ezsigntemplate.", alias="sEzsigntemplateFilenameregexp") + b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + obj_audit: CommonAudit = Field(alias="objAudit") + b_ezsigntemplate_editallowed: StrictBool = Field(description="Whether the Ezsigntemplate if allowed to edit or not", alias="bEzsigntemplateEditallowed") + e_ezsigntemplate_type: Optional[FieldEEzsigntemplateType] = Field(default=None, alias="eEzsigntemplateType") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsigntemplatedocumentID", "fkiEzsignfoldertypeID", "fkiLanguageID", "fkiEzdoctemplatedocumentID", "sEzdoctemplatedocumentNameX", "sLanguageNameX", "sEzsigntemplateDescription", "sEzsigntemplateExternaldescription", "tEzsigntemplateComment", "eEzsigntemplateRecognition", "sEzsigntemplateFilenameregexp", "bEzsigntemplateAdminonly", "sEzsignfoldertypeNameX", "objAudit", "bEzsigntemplateEditallowed", "eEzsigntemplateType"] + + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplate_externaldescription') + def s_ezsigntemplate_externaldescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsigntemplate_filenameregexp') + def s_ezsigntemplate_filenameregexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{1,50}$", value): + raise ValueError(r"must validate the regular expression /^.{1,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplateResponseV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplateResponseV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), + "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "sLanguageNameX": obj.get("sLanguageNameX"), + "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), + "sEzsigntemplateExternaldescription": obj.get("sEzsigntemplateExternaldescription"), + "tEzsigntemplateComment": obj.get("tEzsigntemplateComment"), + "eEzsigntemplateRecognition": obj.get("eEzsigntemplateRecognition") if obj.get("eEzsigntemplateRecognition") is not None else FieldEEzsigntemplateRecognition.NO, + "sEzsigntemplateFilenameregexp": obj.get("sEzsigntemplateFilenameregexp"), + "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "bEzsigntemplateEditallowed": obj.get("bEzsigntemplateEditallowed"), + "eEzsigntemplateType": obj.get("eEzsigntemplateType") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocument_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplatedocument_create_object_v1_request.py index 4404cfb18..797072140 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_create_object_v1_request.py +++ b/eZmaxApi/models/ezsigntemplatedocument_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatedocument (list) _items = [] if self.a_obj_ezsigntemplatedocument: - for _item in self.a_obj_ezsigntemplatedocument: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatedocument in self.a_obj_ezsigntemplatedocument: + if _item_a_obj_ezsigntemplatedocument: + _items.append(_item_a_obj_ezsigntemplatedocument.to_dict()) _dict['a_objEzsigntemplatedocument'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request.py b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request.py new file mode 100644 index 000000000..1a3c851df --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound import EzsigntemplatedocumentpagerecognitionRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request(BaseModel): + """ + Request for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatedocumentpagerecognitions + """ # noqa: E501 + a_obj_ezsigntemplatedocumentpagerecognition: List[EzsigntemplatedocumentpagerecognitionRequestCompound] = Field(alias="a_objEzsigntemplatedocumentpagerecognition") + __properties: ClassVar[List[str]] = ["a_objEzsigntemplatedocumentpagerecognition"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatedocumentpagerecognition (list) + _items = [] + if self.a_obj_ezsigntemplatedocumentpagerecognition: + for _item_a_obj_ezsigntemplatedocumentpagerecognition in self.a_obj_ezsigntemplatedocumentpagerecognition: + if _item_a_obj_ezsigntemplatedocumentpagerecognition: + _items.append(_item_a_obj_ezsigntemplatedocumentpagerecognition.to_dict()) + _dict['a_objEzsigntemplatedocumentpagerecognition'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsigntemplatedocumentpagerecognition": [EzsigntemplatedocumentpagerecognitionRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatedocumentpagerecognition"]] if obj.get("a_objEzsigntemplatedocumentpagerecognition") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py new file mode 100644 index 000000000..31814b0aa --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response(BaseModel): + """ + Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatedocumentpagerecognitions + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py new file mode 100644 index 000000000..59885fe1e --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload(BaseModel): + """ + Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/EditEzsigntemplatedocumentpagerecognitions + """ # noqa: E501 + a_pki_ezsigntemplatedocumentpagerecognition_id: List[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(alias="a_pkiEzsigntemplatedocumentpagerecognitionID") + __properties: ClassVar[List[str]] = ["a_pkiEzsigntemplatedocumentpagerecognitionID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzsigntemplatedocumentpagerecognitionID": obj.get("a_pkiEzsigntemplatedocumentpagerecognitionID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.py b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.py index 07449d2ce..904c23bec 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateformfieldgroup (list) _items = [] if self.a_obj_ezsigntemplateformfieldgroup: - for _item in self.a_obj_ezsigntemplateformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateformfieldgroup in self.a_obj_ezsigntemplateformfieldgroup: + if _item_a_obj_ezsigntemplateformfieldgroup: + _items.append(_item_a_obj_ezsigntemplateformfieldgroup.to_dict()) _dict['a_objEzsigntemplateformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request.py b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request.py index 43bbcfec4..6cb5a8136 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesignature (list) _items = [] if self.a_obj_ezsigntemplatesignature: - for _item in self.a_obj_ezsigntemplatesignature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatesignature in self.a_obj_ezsigntemplatesignature: + if _item_a_obj_ezsigntemplatesignature: + _items.append(_item_a_obj_ezsigntemplatesignature.to_dict()) _dict['a_objEzsigntemplatesignature'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py index 8d77b90b3..298191f4a 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py @@ -83,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_warning (list) _items = [] if self.a_obj_warning: - for _item in self.a_obj_warning: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_warning in self.a_obj_warning: + if _item_a_obj_warning: + _items.append(_item_a_obj_warning.to_dict()) _dict['a_objWarning'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_request.py b/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_request.py new file mode 100644 index 000000000..2943ac02d --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_request.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentExtractTextV1Request(BaseModel): + """ + Request for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/extractText + """ # noqa: E501 + i_page: StrictInt = Field(description="The page where the area is located", alias="iPage") + e_section: Optional[StrictStr] = Field(default=None, description="The section of the page", alias="eSection") + i_x: Optional[StrictInt] = Field(default=None, description="The X coordinate (Horizontal). Require when eSection = 'Region' or eSection is not set.", alias="iX") + i_y: Optional[StrictInt] = Field(default=None, description="The Y coordinate (Vertical). Require when eSection = 'Region' or eSection is not set.", alias="iY") + i_width: Optional[StrictInt] = Field(default=None, description="Area's width. Require when eSection = 'Region' or eSection is not set.", alias="iWidth") + i_height: Optional[StrictInt] = Field(default=None, description="Area's height. Require when eSection = 'Region' or eSection is not set.", alias="iHeight") + __properties: ClassVar[List[str]] = ["iPage", "eSection", "iX", "iY", "iWidth", "iHeight"] + + @field_validator('e_section') + def e_section_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['FirstLine', 'LastLine', 'Region']): + raise ValueError("must be one of enum values ('FirstLine', 'LastLine', 'Region')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentExtractTextV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentExtractTextV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iPage": obj.get("iPage"), + "eSection": obj.get("eSection"), + "iX": obj.get("iX"), + "iY": obj.get("iY"), + "iWidth": obj.get("iWidth"), + "iHeight": obj.get("iHeight") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response.py new file mode 100644 index 000000000..9bcf034c0 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response_m_payload import EzsigntemplatedocumentExtractTextV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentExtractTextV1Response(BaseModel): + """ + Response for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/extractText + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatedocumentExtractTextV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentExtractTextV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentExtractTextV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatedocumentExtractTextV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response_m_payload.py new file mode 100644 index 000000000..05b4b578a --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentExtractTextV1ResponseMPayload(BaseModel): + """ + Response for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/ExtractText + """ # noqa: E501 + s_text: StrictStr = Field(description="The text extract from document", alias="sText") + __properties: ClassVar[List[str]] = ["sText"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentExtractTextV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentExtractTextV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sText": obj.get("sText") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py new file mode 100644 index 000000000..6d4e58476 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response(BaseModel): + """ + Response for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/getEzsigntemplatedocumentpagerecognitions + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py new file mode 100644 index 000000000..ca2a7b2bb --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound import EzsigntemplatedocumentpagerecognitionResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload(BaseModel): + """ + Payload for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/getEzsigntemplatedocumentpagerecognitions + """ # noqa: E501 + a_obj_ezsigntemplatedocumentpagerecognition: List[EzsigntemplatedocumentpagerecognitionResponseCompound] = Field(alias="a_objEzsigntemplatedocumentpagerecognition") + __properties: ClassVar[List[str]] = ["a_objEzsigntemplatedocumentpagerecognition"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatedocumentpagerecognition (list) + _items = [] + if self.a_obj_ezsigntemplatedocumentpagerecognition: + for _item_a_obj_ezsigntemplatedocumentpagerecognition in self.a_obj_ezsigntemplatedocumentpagerecognition: + if _item_a_obj_ezsigntemplatedocumentpagerecognition: + _items.append(_item_a_obj_ezsigntemplatedocumentpagerecognition.to_dict()) + _dict['a_objEzsigntemplatedocumentpagerecognition'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsigntemplatedocumentpagerecognition": [EzsigntemplatedocumentpagerecognitionResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatedocumentpagerecognition"]] if obj.get("a_objEzsigntemplatedocumentpagerecognition") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py index 8b742f36e..6b5ff4470 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatedocumentpage (list) _items = [] if self.a_obj_ezsigntemplatedocumentpage: - for _item in self.a_obj_ezsigntemplatedocumentpage: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatedocumentpage in self.a_obj_ezsigntemplatedocumentpage: + if _item_a_obj_ezsigntemplatedocumentpage: + _items.append(_item_a_obj_ezsigntemplatedocumentpage.to_dict()) _dict['a_objEzsigntemplatedocumentpage'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.py index 1a02643d2..f970da9a4 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateformfieldgroup (list) _items = [] if self.a_obj_ezsigntemplateformfieldgroup: - for _item in self.a_obj_ezsigntemplateformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateformfieldgroup in self.a_obj_ezsigntemplateformfieldgroup: + if _item_a_obj_ezsigntemplateformfieldgroup: + _items.append(_item_a_obj_ezsigntemplateformfieldgroup.to_dict()) _dict['a_objEzsigntemplateformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.py index 7157e4f24..88e10a898 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesignature (list) _items = [] if self.a_obj_ezsigntemplatesignature: - for _item in self.a_obj_ezsigntemplatesignature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatesignature in self.a_obj_ezsigntemplatesignature: + if _item_a_obj_ezsigntemplatesignature: + _items.append(_item_a_obj_ezsigntemplatesignature.to_dict()) _dict['a_objEzsigntemplatesignature'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_words_positions_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_get_words_positions_v1_response.py index ad4ac228d..1225fabc5 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_words_positions_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_words_positions_v1_response.py @@ -83,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in m_payload (list) _items = [] if self.m_payload: - for _item in self.m_payload: - if _item: - _items.append(_item.to_dict()) + for _item_m_payload in self.m_payload: + if _item_m_payload: + _items.append(_item_m_payload.to_dict()) _dict['mPayload'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatedocument_request.py b/eZmaxApi/models/ezsigntemplatedocument_request.py index e7ebf57a0..22401c4f5 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_request.py +++ b/eZmaxApi/models/ezsigntemplatedocument_request.py @@ -38,7 +38,7 @@ class EzsigntemplatedocumentRequest(BaseModel): s_ezsigntemplatedocument_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the document. This field is Required when eEzsigntemplatedocumentSource = Base64.", alias="sEzsigntemplatedocumentBase64") s_ezsigntemplatedocument_url: Optional[StrictStr] = Field(default=None, description="The url where the document content resides. This field is Required when eEzsigntemplatedocumentSource = Url.", alias="sEzsigntemplatedocumentUrl") b_ezsigntemplatedocument_forcerepair: Optional[StrictBool] = Field(default=None, description="Try to repair the document or flatten it if it cannot be used for electronic signature.", alias="bEzsigntemplatedocumentForcerepair") - e_ezsigntemplatedocument_form: Optional[StrictStr] = Field(default=None, description="If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsigntemplateformfieldgroups and assign them to the specified **fkiEzsigntemplatesignerID** **Discard** removes the form from the document", alias="eEzsigntemplatedocumentForm") + e_ezsigntemplatedocument_form: Optional[StrictStr] = Field(default=None, description="If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsigntemplateformfieldgroups and assign them to the specified **fkiEzsigntemplatesignerID** **Discard** removes the form from the document **Flatten** prints the form values in the document.", alias="eEzsigntemplatedocumentForm") s_ezsigntemplatedocument_password: Optional[StrictStr] = Field(default='', description="If the source template is password protected, the password to open/modify it.", alias="sEzsigntemplatedocumentPassword") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentID", "fkiEzsigntemplateID", "fkiEzsigndocumentID", "fkiEzsigntemplatesignerID", "sEzsigntemplatedocumentName", "eEzsigntemplatedocumentSource", "eEzsigntemplatedocumentFormat", "sEzsigntemplatedocumentBase64", "sEzsigntemplatedocumentUrl", "bEzsigntemplatedocumentForcerepair", "eEzsigntemplatedocumentForm", "sEzsigntemplatedocumentPassword"] @@ -65,8 +65,8 @@ def e_ezsigntemplatedocument_form_validate_enum(cls, value): if value is None: return value - if value not in set(['Keep', 'Convert', 'Discard']): - raise ValueError("must be one of enum values ('Keep', 'Convert', 'Discard')") + if value not in set(['Keep', 'Convert', 'Discard', 'Flatten']): + raise ValueError("must be one of enum values ('Keep', 'Convert', 'Discard', 'Flatten')") return value model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatedocument_request_compound.py b/eZmaxApi/models/ezsigntemplatedocument_request_compound.py index 94585fe18..8039da517 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatedocument_request_compound.py @@ -38,7 +38,7 @@ class EzsigntemplatedocumentRequestCompound(BaseModel): s_ezsigntemplatedocument_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the document. This field is Required when eEzsigntemplatedocumentSource = Base64.", alias="sEzsigntemplatedocumentBase64") s_ezsigntemplatedocument_url: Optional[StrictStr] = Field(default=None, description="The url where the document content resides. This field is Required when eEzsigntemplatedocumentSource = Url.", alias="sEzsigntemplatedocumentUrl") b_ezsigntemplatedocument_forcerepair: Optional[StrictBool] = Field(default=None, description="Try to repair the document or flatten it if it cannot be used for electronic signature.", alias="bEzsigntemplatedocumentForcerepair") - e_ezsigntemplatedocument_form: Optional[StrictStr] = Field(default=None, description="If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsigntemplateformfieldgroups and assign them to the specified **fkiEzsigntemplatesignerID** **Discard** removes the form from the document", alias="eEzsigntemplatedocumentForm") + e_ezsigntemplatedocument_form: Optional[StrictStr] = Field(default=None, description="If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsigntemplateformfieldgroups and assign them to the specified **fkiEzsigntemplatesignerID** **Discard** removes the form from the document **Flatten** prints the form values in the document.", alias="eEzsigntemplatedocumentForm") s_ezsigntemplatedocument_password: Optional[StrictStr] = Field(default='', description="If the source template is password protected, the password to open/modify it.", alias="sEzsigntemplatedocumentPassword") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentID", "fkiEzsigntemplateID", "fkiEzsigndocumentID", "fkiEzsigntemplatesignerID", "sEzsigntemplatedocumentName", "eEzsigntemplatedocumentSource", "eEzsigntemplatedocumentFormat", "sEzsigntemplatedocumentBase64", "sEzsigntemplatedocumentUrl", "bEzsigntemplatedocumentForcerepair", "eEzsigntemplatedocumentForm", "sEzsigntemplatedocumentPassword"] @@ -65,8 +65,8 @@ def e_ezsigntemplatedocument_form_validate_enum(cls, value): if value is None: return value - if value not in set(['Keep', 'Convert', 'Discard']): - raise ValueError("must be one of enum values ('Keep', 'Convert', 'Discard')") + if value not in set(['Keep', 'Convert', 'Discard', 'Flatten']): + raise ValueError("must be one of enum values ('Keep', 'Convert', 'Discard', 'Flatten')") return value model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatedocument_response.py b/eZmaxApi/models/ezsigntemplatedocument_response.py index c6b230e80..3bb35dd96 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_response.py @@ -33,8 +33,9 @@ class EzsigntemplatedocumentResponse(BaseModel): s_ezsigntemplatedocument_name: StrictStr = Field(description="The name of the Ezsigntemplatedocument.", alias="sEzsigntemplatedocumentName") i_ezsigntemplatedocument_pagetotal: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of pages in the Ezsigntemplatedocument.", alias="iEzsigntemplatedocumentPagetotal") i_ezsigntemplatedocument_signaturetotal: StrictInt = Field(description="The number of total signatures in the Ezsigntemplate.", alias="iEzsigntemplatedocumentSignaturetotal") + i_ezsigntemplatedocument_formfieldtotal: StrictInt = Field(description="The number of total form fields in the Ezsigntemplate.", alias="iEzsigntemplatedocumentFormfieldtotal") b_ezsigntemplatedocument_hassignedsignatures: StrictBool = Field(description="If the Ezsigntemplatedocument contains signed signatures (From internal or external sources)", alias="bEzsigntemplatedocumentHassignedsignatures") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentID", "fkiEzsigntemplateID", "sEzsigntemplatedocumentName", "iEzsigntemplatedocumentPagetotal", "iEzsigntemplatedocumentSignaturetotal", "bEzsigntemplatedocumentHassignedsignatures"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentID", "fkiEzsigntemplateID", "sEzsigntemplatedocumentName", "iEzsigntemplatedocumentPagetotal", "iEzsigntemplatedocumentSignaturetotal", "iEzsigntemplatedocumentFormfieldtotal", "bEzsigntemplatedocumentHassignedsignatures"] model_config = ConfigDict( populate_by_name=True, @@ -92,6 +93,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsigntemplatedocumentName": obj.get("sEzsigntemplatedocumentName"), "iEzsigntemplatedocumentPagetotal": obj.get("iEzsigntemplatedocumentPagetotal"), "iEzsigntemplatedocumentSignaturetotal": obj.get("iEzsigntemplatedocumentSignaturetotal"), + "iEzsigntemplatedocumentFormfieldtotal": obj.get("iEzsigntemplatedocumentFormfieldtotal"), "bEzsigntemplatedocumentHassignedsignatures": obj.get("bEzsigntemplatedocumentHassignedsignatures") }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatedocument_response_compound.py b/eZmaxApi/models/ezsigntemplatedocument_response_compound.py index 2b96493e7..fd9734841 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatedocument_response_compound.py @@ -33,8 +33,9 @@ class EzsigntemplatedocumentResponseCompound(BaseModel): s_ezsigntemplatedocument_name: StrictStr = Field(description="The name of the Ezsigntemplatedocument.", alias="sEzsigntemplatedocumentName") i_ezsigntemplatedocument_pagetotal: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of pages in the Ezsigntemplatedocument.", alias="iEzsigntemplatedocumentPagetotal") i_ezsigntemplatedocument_signaturetotal: StrictInt = Field(description="The number of total signatures in the Ezsigntemplate.", alias="iEzsigntemplatedocumentSignaturetotal") + i_ezsigntemplatedocument_formfieldtotal: StrictInt = Field(description="The number of total form fields in the Ezsigntemplate.", alias="iEzsigntemplatedocumentFormfieldtotal") b_ezsigntemplatedocument_hassignedsignatures: StrictBool = Field(description="If the Ezsigntemplatedocument contains signed signatures (From internal or external sources)", alias="bEzsigntemplatedocumentHassignedsignatures") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentID", "fkiEzsigntemplateID", "sEzsigntemplatedocumentName", "iEzsigntemplatedocumentPagetotal", "iEzsigntemplatedocumentSignaturetotal", "bEzsigntemplatedocumentHassignedsignatures"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentID", "fkiEzsigntemplateID", "sEzsigntemplatedocumentName", "iEzsigntemplatedocumentPagetotal", "iEzsigntemplatedocumentSignaturetotal", "iEzsigntemplatedocumentFormfieldtotal", "bEzsigntemplatedocumentHassignedsignatures"] model_config = ConfigDict( populate_by_name=True, @@ -92,6 +93,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsigntemplatedocumentName": obj.get("sEzsigntemplatedocumentName"), "iEzsigntemplatedocumentPagetotal": obj.get("iEzsigntemplatedocumentPagetotal"), "iEzsigntemplatedocumentSignaturetotal": obj.get("iEzsigntemplatedocumentSignaturetotal"), + "iEzsigntemplatedocumentFormfieldtotal": obj.get("iEzsigntemplatedocumentFormfieldtotal"), "bEzsigntemplatedocumentHassignedsignatures": obj.get("bEzsigntemplatedocumentHassignedsignatures") }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_request.py new file mode 100644 index 000000000..395fc0a82 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound import EzsigntemplatedocumentpagerecognitionRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionCreateObjectV1Request(BaseModel): + """ + Request for POST /1/object/ezsigntemplatedocumentpagerecognition + """ # noqa: E501 + a_obj_ezsigntemplatedocumentpagerecognition: Annotated[List[EzsigntemplatedocumentpagerecognitionRequestCompound], Field(min_length=1)] = Field(alias="a_objEzsigntemplatedocumentpagerecognition") + __properties: ClassVar[List[str]] = ["a_objEzsigntemplatedocumentpagerecognition"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatedocumentpagerecognition (list) + _items = [] + if self.a_obj_ezsigntemplatedocumentpagerecognition: + for _item_a_obj_ezsigntemplatedocumentpagerecognition in self.a_obj_ezsigntemplatedocumentpagerecognition: + if _item_a_obj_ezsigntemplatedocumentpagerecognition: + _items.append(_item_a_obj_ezsigntemplatedocumentpagerecognition.to_dict()) + _dict['a_objEzsigntemplatedocumentpagerecognition'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsigntemplatedocumentpagerecognition": [EzsigntemplatedocumentpagerecognitionRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatedocumentpagerecognition"]] if obj.get("a_objEzsigntemplatedocumentpagerecognition") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response.py new file mode 100644 index 000000000..2266fb8c4 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload import EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionCreateObjectV1Response(BaseModel): + """ + Response for POST /1/object/ezsigntemplatedocumentpagerecognition + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..c22a42271 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/ezsigntemplatedocumentpagerecognition + """ # noqa: E501 + a_pki_ezsigntemplatedocumentpagerecognition_id: List[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsigntemplatedocumentpagerecognitionID") + __properties: ClassVar[List[str]] = ["a_pkiEzsigntemplatedocumentpagerecognitionID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzsigntemplatedocumentpagerecognitionID": obj.get("a_pkiEzsigntemplatedocumentpagerecognitionID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py new file mode 100644 index 000000000..35936e8cb --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response(BaseModel): + """ + Response for DELETE /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_request.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_request.py new file mode 100644 index 000000000..659f35cab --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound import EzsigntemplatedocumentpagerecognitionRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionEditObjectV1Request(BaseModel): + """ + Request for PUT /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} + """ # noqa: E501 + obj_ezsigntemplatedocumentpagerecognition: EzsigntemplatedocumentpagerecognitionRequestCompound = Field(alias="objEzsigntemplatedocumentpagerecognition") + __properties: ClassVar[List[str]] = ["objEzsigntemplatedocumentpagerecognition"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionEditObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplatedocumentpagerecognition + if self.obj_ezsigntemplatedocumentpagerecognition: + _dict['objEzsigntemplatedocumentpagerecognition'] = self.obj_ezsigntemplatedocumentpagerecognition.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionEditObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsigntemplatedocumentpagerecognition": EzsigntemplatedocumentpagerecognitionRequestCompound.from_dict(obj["objEzsigntemplatedocumentpagerecognition"]) if obj.get("objEzsigntemplatedocumentpagerecognition") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py new file mode 100644 index 000000000..247be9536 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionEditObjectV1Response(BaseModel): + """ + Response for PUT /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionEditObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionEditObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response.py new file mode 100644 index 000000000..e670a7d2c --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload import EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionGetObjectV2Response(BaseModel): + """ + Response for GET /2/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionGetObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionGetObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..bf549c22a --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound import EzsigntemplatedocumentpagerecognitionResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload(BaseModel): + """ + Payload for GET /2/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} + """ # noqa: E501 + obj_ezsigntemplatedocumentpagerecognition: EzsigntemplatedocumentpagerecognitionResponseCompound = Field(alias="objEzsigntemplatedocumentpagerecognition") + __properties: ClassVar[List[str]] = ["objEzsigntemplatedocumentpagerecognition"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplatedocumentpagerecognition + if self.obj_ezsigntemplatedocumentpagerecognition: + _dict['objEzsigntemplatedocumentpagerecognition'] = self.obj_ezsigntemplatedocumentpagerecognition.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsigntemplatedocumentpagerecognition": EzsigntemplatedocumentpagerecognitionResponseCompound.from_dict(obj["objEzsigntemplatedocumentpagerecognition"]) if obj.get("objEzsigntemplatedocumentpagerecognition") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request.py new file mode 100644 index 000000000..68f23780d --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionRequest(BaseModel): + """ + A Ezsigntemplatedocumentpagerecognition Object + """ # noqa: E501 + pki_ezsigntemplatedocumentpagerecognition_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocumentpagerecognition", alias="pkiEzsigntemplatedocumentpagerecognitionID") + fki_ezsigntemplatedocumentpage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocumentpage", alias="fkiEzsigntemplatedocumentpageID") + e_ezsigntemplatedocumentpagerecognition_operator: FieldEEzsigntemplatedocumentpagerecognitionOperator = Field(alias="eEzsigntemplatedocumentpagerecognitionOperator") + e_ezsigntemplatedocumentpagerecognition_section: FieldEEzsigntemplatedocumentpagerecognitionSection = Field(alias="eEzsigntemplatedocumentpagerecognitionSection") + i_ezsigntemplatedocumentpagerecognition_similarpercentage: Optional[Annotated[int, Field(le=100, strict=True, ge=60)]] = Field(default=None, description="The similarpercentage of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionSimilarpercentage") + i_ezsigntemplatedocumentpagerecognition_x: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The x of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionX") + i_ezsigntemplatedocumentpagerecognition_y: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The y of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionY") + i_ezsigntemplatedocumentpagerecognition_width: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionWidth") + i_ezsigntemplatedocumentpagerecognition_height: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionHeight") + t_ezsigntemplatedocumentpagerecognition_text: Annotated[str, Field(strict=True)] = Field(description="The text of the Ezsigntemplatedocumentpagerecognition", alias="tEzsigntemplatedocumentpagerecognitionText") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentpagerecognitionID", "fkiEzsigntemplatedocumentpageID", "eEzsigntemplatedocumentpagerecognitionOperator", "eEzsigntemplatedocumentpagerecognitionSection", "iEzsigntemplatedocumentpagerecognitionSimilarpercentage", "iEzsigntemplatedocumentpagerecognitionX", "iEzsigntemplatedocumentpagerecognitionY", "iEzsigntemplatedocumentpagerecognitionWidth", "iEzsigntemplatedocumentpagerecognitionHeight", "tEzsigntemplatedocumentpagerecognitionText"] + + @field_validator('t_ezsigntemplatedocumentpagerecognition_text') + def t_ezsigntemplatedocumentpagerecognition_text_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[.\D\d]{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^[.\D\d]{0,65535}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatedocumentpagerecognitionID": obj.get("pkiEzsigntemplatedocumentpagerecognitionID"), + "fkiEzsigntemplatedocumentpageID": obj.get("fkiEzsigntemplatedocumentpageID"), + "eEzsigntemplatedocumentpagerecognitionOperator": obj.get("eEzsigntemplatedocumentpagerecognitionOperator"), + "eEzsigntemplatedocumentpagerecognitionSection": obj.get("eEzsigntemplatedocumentpagerecognitionSection"), + "iEzsigntemplatedocumentpagerecognitionSimilarpercentage": obj.get("iEzsigntemplatedocumentpagerecognitionSimilarpercentage"), + "iEzsigntemplatedocumentpagerecognitionX": obj.get("iEzsigntemplatedocumentpagerecognitionX"), + "iEzsigntemplatedocumentpagerecognitionY": obj.get("iEzsigntemplatedocumentpagerecognitionY"), + "iEzsigntemplatedocumentpagerecognitionWidth": obj.get("iEzsigntemplatedocumentpagerecognitionWidth"), + "iEzsigntemplatedocumentpagerecognitionHeight": obj.get("iEzsigntemplatedocumentpagerecognitionHeight"), + "tEzsigntemplatedocumentpagerecognitionText": obj.get("tEzsigntemplatedocumentpagerecognitionText") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request_compound.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request_compound.py new file mode 100644 index 000000000..808b72fbd --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request_compound.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionRequestCompound(BaseModel): + """ + A Ezsigntemplatedocumentpagerecognition Object and children + """ # noqa: E501 + pki_ezsigntemplatedocumentpagerecognition_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocumentpagerecognition", alias="pkiEzsigntemplatedocumentpagerecognitionID") + fki_ezsigntemplatedocumentpage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocumentpage", alias="fkiEzsigntemplatedocumentpageID") + e_ezsigntemplatedocumentpagerecognition_operator: FieldEEzsigntemplatedocumentpagerecognitionOperator = Field(alias="eEzsigntemplatedocumentpagerecognitionOperator") + e_ezsigntemplatedocumentpagerecognition_section: FieldEEzsigntemplatedocumentpagerecognitionSection = Field(alias="eEzsigntemplatedocumentpagerecognitionSection") + i_ezsigntemplatedocumentpagerecognition_similarpercentage: Optional[Annotated[int, Field(le=100, strict=True, ge=60)]] = Field(default=None, description="The similarpercentage of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionSimilarpercentage") + i_ezsigntemplatedocumentpagerecognition_x: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The x of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionX") + i_ezsigntemplatedocumentpagerecognition_y: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The y of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionY") + i_ezsigntemplatedocumentpagerecognition_width: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionWidth") + i_ezsigntemplatedocumentpagerecognition_height: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionHeight") + t_ezsigntemplatedocumentpagerecognition_text: Annotated[str, Field(strict=True)] = Field(description="The text of the Ezsigntemplatedocumentpagerecognition", alias="tEzsigntemplatedocumentpagerecognitionText") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentpagerecognitionID", "fkiEzsigntemplatedocumentpageID", "eEzsigntemplatedocumentpagerecognitionOperator", "eEzsigntemplatedocumentpagerecognitionSection", "iEzsigntemplatedocumentpagerecognitionSimilarpercentage", "iEzsigntemplatedocumentpagerecognitionX", "iEzsigntemplatedocumentpagerecognitionY", "iEzsigntemplatedocumentpagerecognitionWidth", "iEzsigntemplatedocumentpagerecognitionHeight", "tEzsigntemplatedocumentpagerecognitionText"] + + @field_validator('t_ezsigntemplatedocumentpagerecognition_text') + def t_ezsigntemplatedocumentpagerecognition_text_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[.\D\d]{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^[.\D\d]{0,65535}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatedocumentpagerecognitionID": obj.get("pkiEzsigntemplatedocumentpagerecognitionID"), + "fkiEzsigntemplatedocumentpageID": obj.get("fkiEzsigntemplatedocumentpageID"), + "eEzsigntemplatedocumentpagerecognitionOperator": obj.get("eEzsigntemplatedocumentpagerecognitionOperator"), + "eEzsigntemplatedocumentpagerecognitionSection": obj.get("eEzsigntemplatedocumentpagerecognitionSection"), + "iEzsigntemplatedocumentpagerecognitionSimilarpercentage": obj.get("iEzsigntemplatedocumentpagerecognitionSimilarpercentage"), + "iEzsigntemplatedocumentpagerecognitionX": obj.get("iEzsigntemplatedocumentpagerecognitionX"), + "iEzsigntemplatedocumentpagerecognitionY": obj.get("iEzsigntemplatedocumentpagerecognitionY"), + "iEzsigntemplatedocumentpagerecognitionWidth": obj.get("iEzsigntemplatedocumentpagerecognitionWidth"), + "iEzsigntemplatedocumentpagerecognitionHeight": obj.get("iEzsigntemplatedocumentpagerecognitionHeight"), + "tEzsigntemplatedocumentpagerecognitionText": obj.get("tEzsigntemplatedocumentpagerecognitionText") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response.py new file mode 100644 index 000000000..f437408fb --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionResponse(BaseModel): + """ + A Ezsigntemplatedocumentpagerecognition Object + """ # noqa: E501 + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocumentpagerecognition", alias="pkiEzsigntemplatedocumentpagerecognitionID") + fki_ezsigntemplatedocumentpage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocumentpage", alias="fkiEzsigntemplatedocumentpageID") + e_ezsigntemplatedocumentpagerecognition_operator: FieldEEzsigntemplatedocumentpagerecognitionOperator = Field(alias="eEzsigntemplatedocumentpagerecognitionOperator") + e_ezsigntemplatedocumentpagerecognition_section: FieldEEzsigntemplatedocumentpagerecognitionSection = Field(alias="eEzsigntemplatedocumentpagerecognitionSection") + i_ezsigntemplatedocumentpagerecognition_similarpercentage: Optional[Annotated[int, Field(le=100, strict=True, ge=60)]] = Field(default=None, description="The similarpercentage of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionSimilarpercentage") + i_ezsigntemplatedocumentpagerecognition_x: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The x of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionX") + i_ezsigntemplatedocumentpagerecognition_y: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The y of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionY") + i_ezsigntemplatedocumentpagerecognition_width: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionWidth") + i_ezsigntemplatedocumentpagerecognition_height: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionHeight") + t_ezsigntemplatedocumentpagerecognition_text: Annotated[str, Field(strict=True)] = Field(description="The text of the Ezsigntemplatedocumentpagerecognition", alias="tEzsigntemplatedocumentpagerecognitionText") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentpagerecognitionID", "fkiEzsigntemplatedocumentpageID", "eEzsigntemplatedocumentpagerecognitionOperator", "eEzsigntemplatedocumentpagerecognitionSection", "iEzsigntemplatedocumentpagerecognitionSimilarpercentage", "iEzsigntemplatedocumentpagerecognitionX", "iEzsigntemplatedocumentpagerecognitionY", "iEzsigntemplatedocumentpagerecognitionWidth", "iEzsigntemplatedocumentpagerecognitionHeight", "tEzsigntemplatedocumentpagerecognitionText"] + + @field_validator('t_ezsigntemplatedocumentpagerecognition_text') + def t_ezsigntemplatedocumentpagerecognition_text_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[.\D\d]{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^[.\D\d]{0,65535}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatedocumentpagerecognitionID": obj.get("pkiEzsigntemplatedocumentpagerecognitionID"), + "fkiEzsigntemplatedocumentpageID": obj.get("fkiEzsigntemplatedocumentpageID"), + "eEzsigntemplatedocumentpagerecognitionOperator": obj.get("eEzsigntemplatedocumentpagerecognitionOperator"), + "eEzsigntemplatedocumentpagerecognitionSection": obj.get("eEzsigntemplatedocumentpagerecognitionSection"), + "iEzsigntemplatedocumentpagerecognitionSimilarpercentage": obj.get("iEzsigntemplatedocumentpagerecognitionSimilarpercentage"), + "iEzsigntemplatedocumentpagerecognitionX": obj.get("iEzsigntemplatedocumentpagerecognitionX"), + "iEzsigntemplatedocumentpagerecognitionY": obj.get("iEzsigntemplatedocumentpagerecognitionY"), + "iEzsigntemplatedocumentpagerecognitionWidth": obj.get("iEzsigntemplatedocumentpagerecognitionWidth"), + "iEzsigntemplatedocumentpagerecognitionHeight": obj.get("iEzsigntemplatedocumentpagerecognitionHeight"), + "tEzsigntemplatedocumentpagerecognitionText": obj.get("tEzsigntemplatedocumentpagerecognitionText") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response_compound.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response_compound.py new file mode 100644 index 000000000..6fde8941c --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response_compound.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatedocumentpagerecognitionResponseCompound(BaseModel): + """ + A Ezsigntemplatedocumentpagerecognition Object + """ # noqa: E501 + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocumentpagerecognition", alias="pkiEzsigntemplatedocumentpagerecognitionID") + fki_ezsigntemplatedocumentpage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocumentpage", alias="fkiEzsigntemplatedocumentpageID") + e_ezsigntemplatedocumentpagerecognition_operator: FieldEEzsigntemplatedocumentpagerecognitionOperator = Field(alias="eEzsigntemplatedocumentpagerecognitionOperator") + e_ezsigntemplatedocumentpagerecognition_section: FieldEEzsigntemplatedocumentpagerecognitionSection = Field(alias="eEzsigntemplatedocumentpagerecognitionSection") + i_ezsigntemplatedocumentpagerecognition_similarpercentage: Optional[Annotated[int, Field(le=100, strict=True, ge=60)]] = Field(default=None, description="The similarpercentage of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionSimilarpercentage") + i_ezsigntemplatedocumentpagerecognition_x: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The x of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionX") + i_ezsigntemplatedocumentpagerecognition_y: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The y of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionY") + i_ezsigntemplatedocumentpagerecognition_width: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionWidth") + i_ezsigntemplatedocumentpagerecognition_height: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionHeight") + t_ezsigntemplatedocumentpagerecognition_text: Annotated[str, Field(strict=True)] = Field(description="The text of the Ezsigntemplatedocumentpagerecognition", alias="tEzsigntemplatedocumentpagerecognitionText") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentpagerecognitionID", "fkiEzsigntemplatedocumentpageID", "eEzsigntemplatedocumentpagerecognitionOperator", "eEzsigntemplatedocumentpagerecognitionSection", "iEzsigntemplatedocumentpagerecognitionSimilarpercentage", "iEzsigntemplatedocumentpagerecognitionX", "iEzsigntemplatedocumentpagerecognitionY", "iEzsigntemplatedocumentpagerecognitionWidth", "iEzsigntemplatedocumentpagerecognitionHeight", "tEzsigntemplatedocumentpagerecognitionText"] + + @field_validator('t_ezsigntemplatedocumentpagerecognition_text') + def t_ezsigntemplatedocumentpagerecognition_text_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[.\D\d]{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^[.\D\d]{0,65535}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatedocumentpagerecognitionResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatedocumentpagerecognitionID": obj.get("pkiEzsigntemplatedocumentpagerecognitionID"), + "fkiEzsigntemplatedocumentpageID": obj.get("fkiEzsigntemplatedocumentpageID"), + "eEzsigntemplatedocumentpagerecognitionOperator": obj.get("eEzsigntemplatedocumentpagerecognitionOperator"), + "eEzsigntemplatedocumentpagerecognitionSection": obj.get("eEzsigntemplatedocumentpagerecognitionSection"), + "iEzsigntemplatedocumentpagerecognitionSimilarpercentage": obj.get("iEzsigntemplatedocumentpagerecognitionSimilarpercentage"), + "iEzsigntemplatedocumentpagerecognitionX": obj.get("iEzsigntemplatedocumentpagerecognitionX"), + "iEzsigntemplatedocumentpagerecognitionY": obj.get("iEzsigntemplatedocumentpagerecognitionY"), + "iEzsigntemplatedocumentpagerecognitionWidth": obj.get("iEzsigntemplatedocumentpagerecognitionWidth"), + "iEzsigntemplatedocumentpagerecognitionHeight": obj.get("iEzsigntemplatedocumentpagerecognitionHeight"), + "tEzsigntemplatedocumentpagerecognitionText": obj.get("tEzsigntemplatedocumentpagerecognitionText") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplateformfield_request.py b/eZmaxApi/models/ezsigntemplateformfield_request.py index 6aa359e27..46236c8a5 100644 --- a/eZmaxApi/models/ezsigntemplateformfield_request.py +++ b/eZmaxApi/models/ezsigntemplateformfield_request.py @@ -21,9 +21,11 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.field_e_ezsigntemplateformfield_dependencyrequirement import FieldEEzsigntemplateformfieldDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplateformfield_positioning import FieldEEzsigntemplateformfieldPositioning from eZmaxApi.models.field_e_ezsigntemplateformfield_positioningoccurence import FieldEEzsigntemplateformfieldPositioningoccurence +from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -32,14 +34,14 @@ class EzsigntemplateformfieldRequest(BaseModel): A Ezsigntemplateformfield Object """ # noqa: E501 pki_ezsigntemplateformfield_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplateformfield", alias="pkiEzsigntemplateformfieldID") - e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=None, alias="eEzsigntemplateformfieldPositioning") + e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, alias="eEzsigntemplateformfieldPositioning") i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") s_ezsigntemplateformfield_label: StrictStr = Field(description="The Label for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldLabel") s_ezsigntemplateformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldValue") i_ezsigntemplateformfield_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplateformfieldX") i_ezsigntemplateformfield_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplateformfieldY") - i_ezsigntemplateformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 |", alias="iEzsigntemplateformfieldWidth") - i_ezsigntemplateformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | ", alias="iEzsigntemplateformfieldHeight") + i_ezsigntemplateformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI", alias="iEzsigntemplateformfieldWidth") + i_ezsigntemplateformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI ", alias="iEzsigntemplateformfieldHeight") b_ezsigntemplateformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text**", alias="bEzsigntemplateformfieldAutocomplete") b_ezsigntemplateformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsigntemplateformfieldSelected") e_ezsigntemplateformfield_dependencyrequirement: Optional[FieldEEzsigntemplateformfieldDependencyrequirement] = Field(default=None, alias="eEzsigntemplateformfieldDependencyrequirement") @@ -47,7 +49,9 @@ class EzsigntemplateformfieldRequest(BaseModel): i_ezsigntemplateformfield_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsetx") i_ezsigntemplateformfield_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsety") e_ezsigntemplateformfield_positioningoccurence: Optional[FieldEEzsigntemplateformfieldPositioningoccurence] = Field(default=None, alias="eEzsigntemplateformfieldPositioningoccurence") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldID", "eEzsigntemplateformfieldPositioning", "iEzsigntemplatedocumentpagePagenumber", "sEzsigntemplateformfieldLabel", "sEzsigntemplateformfieldValue", "iEzsigntemplateformfieldX", "iEzsigntemplateformfieldY", "iEzsigntemplateformfieldWidth", "iEzsigntemplateformfieldHeight", "bEzsigntemplateformfieldAutocomplete", "bEzsigntemplateformfieldSelected", "eEzsigntemplateformfieldDependencyrequirement", "sEzsigntemplateformfieldPositioningpattern", "iEzsigntemplateformfieldPositioningoffsetx", "iEzsigntemplateformfieldPositioningoffsety", "eEzsigntemplateformfieldPositioningoccurence"] + e_ezsigntemplateformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsigntemplateformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticRequestCompound] = Field(default=None, alias="objTextstylestatic") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldID", "eEzsigntemplateformfieldPositioning", "iEzsigntemplatedocumentpagePagenumber", "sEzsigntemplateformfieldLabel", "sEzsigntemplateformfieldValue", "iEzsigntemplateformfieldX", "iEzsigntemplateformfieldY", "iEzsigntemplateformfieldWidth", "iEzsigntemplateformfieldHeight", "bEzsigntemplateformfieldAutocomplete", "bEzsigntemplateformfieldSelected", "eEzsigntemplateformfieldDependencyrequirement", "sEzsigntemplateformfieldPositioningpattern", "iEzsigntemplateformfieldPositioningoffsetx", "iEzsigntemplateformfieldPositioningoffsety", "eEzsigntemplateformfieldPositioningoccurence", "eEzsigntemplateformfieldHorizontalalignment", "objTextstylestatic"] @field_validator('s_ezsigntemplateformfield_positioningpattern') def s_ezsigntemplateformfield_positioningpattern_validate_regular_expression(cls, value): @@ -98,6 +102,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_textstylestatic + if self.obj_textstylestatic: + _dict['objTextstylestatic'] = self.obj_textstylestatic.to_dict() return _dict @classmethod @@ -111,7 +118,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplateformfieldID": obj.get("pkiEzsigntemplateformfieldID"), - "eEzsigntemplateformfieldPositioning": obj.get("eEzsigntemplateformfieldPositioning"), + "eEzsigntemplateformfieldPositioning": obj.get("eEzsigntemplateformfieldPositioning") if obj.get("eEzsigntemplateformfieldPositioning") is not None else FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), "sEzsigntemplateformfieldLabel": obj.get("sEzsigntemplateformfieldLabel"), "sEzsigntemplateformfieldValue": obj.get("sEzsigntemplateformfieldValue"), @@ -125,7 +132,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsigntemplateformfieldPositioningpattern": obj.get("sEzsigntemplateformfieldPositioningpattern"), "iEzsigntemplateformfieldPositioningoffsetx": obj.get("iEzsigntemplateformfieldPositioningoffsetx"), "iEzsigntemplateformfieldPositioningoffsety": obj.get("iEzsigntemplateformfieldPositioningoffsety"), - "eEzsigntemplateformfieldPositioningoccurence": obj.get("eEzsigntemplateformfieldPositioningoccurence") + "eEzsigntemplateformfieldPositioningoccurence": obj.get("eEzsigntemplateformfieldPositioningoccurence"), + "eEzsigntemplateformfieldHorizontalalignment": obj.get("eEzsigntemplateformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticRequestCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfield_request_compound.py b/eZmaxApi/models/ezsigntemplateformfield_request_compound.py index 1c6571381..ec9ba3d1b 100644 --- a/eZmaxApi/models/ezsigntemplateformfield_request_compound.py +++ b/eZmaxApi/models/ezsigntemplateformfield_request_compound.py @@ -21,10 +21,12 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.ezsigntemplateelementdependency_request_compound import EzsigntemplateelementdependencyRequestCompound from eZmaxApi.models.field_e_ezsigntemplateformfield_dependencyrequirement import FieldEEzsigntemplateformfieldDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplateformfield_positioning import FieldEEzsigntemplateformfieldPositioning from eZmaxApi.models.field_e_ezsigntemplateformfield_positioningoccurence import FieldEEzsigntemplateformfieldPositioningoccurence +from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -33,14 +35,14 @@ class EzsigntemplateformfieldRequestCompound(BaseModel): An Ezsigntemplateformfield Object and children to create a complete structure """ # noqa: E501 pki_ezsigntemplateformfield_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplateformfield", alias="pkiEzsigntemplateformfieldID") - e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=None, alias="eEzsigntemplateformfieldPositioning") + e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, alias="eEzsigntemplateformfieldPositioning") i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") s_ezsigntemplateformfield_label: StrictStr = Field(description="The Label for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldLabel") s_ezsigntemplateformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldValue") i_ezsigntemplateformfield_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplateformfieldX") i_ezsigntemplateformfield_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplateformfieldY") - i_ezsigntemplateformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 |", alias="iEzsigntemplateformfieldWidth") - i_ezsigntemplateformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | ", alias="iEzsigntemplateformfieldHeight") + i_ezsigntemplateformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI", alias="iEzsigntemplateformfieldWidth") + i_ezsigntemplateformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI ", alias="iEzsigntemplateformfieldHeight") b_ezsigntemplateformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text**", alias="bEzsigntemplateformfieldAutocomplete") b_ezsigntemplateformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsigntemplateformfieldSelected") e_ezsigntemplateformfield_dependencyrequirement: Optional[FieldEEzsigntemplateformfieldDependencyrequirement] = Field(default=None, alias="eEzsigntemplateformfieldDependencyrequirement") @@ -48,8 +50,10 @@ class EzsigntemplateformfieldRequestCompound(BaseModel): i_ezsigntemplateformfield_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsetx") i_ezsigntemplateformfield_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsety") e_ezsigntemplateformfield_positioningoccurence: Optional[FieldEEzsigntemplateformfieldPositioningoccurence] = Field(default=None, alias="eEzsigntemplateformfieldPositioningoccurence") + e_ezsigntemplateformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsigntemplateformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticRequestCompound] = Field(default=None, alias="objTextstylestatic") a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldID", "eEzsigntemplateformfieldPositioning", "iEzsigntemplatedocumentpagePagenumber", "sEzsigntemplateformfieldLabel", "sEzsigntemplateformfieldValue", "iEzsigntemplateformfieldX", "iEzsigntemplateformfieldY", "iEzsigntemplateformfieldWidth", "iEzsigntemplateformfieldHeight", "bEzsigntemplateformfieldAutocomplete", "bEzsigntemplateformfieldSelected", "eEzsigntemplateformfieldDependencyrequirement", "sEzsigntemplateformfieldPositioningpattern", "iEzsigntemplateformfieldPositioningoffsetx", "iEzsigntemplateformfieldPositioningoffsety", "eEzsigntemplateformfieldPositioningoccurence", "a_objEzsigntemplateelementdependency"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldID", "eEzsigntemplateformfieldPositioning", "iEzsigntemplatedocumentpagePagenumber", "sEzsigntemplateformfieldLabel", "sEzsigntemplateformfieldValue", "iEzsigntemplateformfieldX", "iEzsigntemplateformfieldY", "iEzsigntemplateformfieldWidth", "iEzsigntemplateformfieldHeight", "bEzsigntemplateformfieldAutocomplete", "bEzsigntemplateformfieldSelected", "eEzsigntemplateformfieldDependencyrequirement", "sEzsigntemplateformfieldPositioningpattern", "iEzsigntemplateformfieldPositioningoffsetx", "iEzsigntemplateformfieldPositioningoffsety", "eEzsigntemplateformfieldPositioningoccurence", "eEzsigntemplateformfieldHorizontalalignment", "objTextstylestatic", "a_objEzsigntemplateelementdependency"] @field_validator('s_ezsigntemplateformfield_positioningpattern') def s_ezsigntemplateformfield_positioningpattern_validate_regular_expression(cls, value): @@ -100,12 +104,15 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_textstylestatic + if self.obj_textstylestatic: + _dict['objTextstylestatic'] = self.obj_textstylestatic.to_dict() # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateelementdependency (list) _items = [] if self.a_obj_ezsigntemplateelementdependency: - for _item in self.a_obj_ezsigntemplateelementdependency: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateelementdependency in self.a_obj_ezsigntemplateelementdependency: + if _item_a_obj_ezsigntemplateelementdependency: + _items.append(_item_a_obj_ezsigntemplateelementdependency.to_dict()) _dict['a_objEzsigntemplateelementdependency'] = _items return _dict @@ -120,7 +127,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplateformfieldID": obj.get("pkiEzsigntemplateformfieldID"), - "eEzsigntemplateformfieldPositioning": obj.get("eEzsigntemplateformfieldPositioning"), + "eEzsigntemplateformfieldPositioning": obj.get("eEzsigntemplateformfieldPositioning") if obj.get("eEzsigntemplateformfieldPositioning") is not None else FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), "sEzsigntemplateformfieldLabel": obj.get("sEzsigntemplateformfieldLabel"), "sEzsigntemplateformfieldValue": obj.get("sEzsigntemplateformfieldValue"), @@ -135,6 +142,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplateformfieldPositioningoffsetx": obj.get("iEzsigntemplateformfieldPositioningoffsetx"), "iEzsigntemplateformfieldPositioningoffsety": obj.get("iEzsigntemplateformfieldPositioningoffsety"), "eEzsigntemplateformfieldPositioningoccurence": obj.get("eEzsigntemplateformfieldPositioningoccurence"), + "eEzsigntemplateformfieldHorizontalalignment": obj.get("eEzsigntemplateformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticRequestCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None, "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfield_response.py b/eZmaxApi/models/ezsigntemplateformfield_response.py index 9c0c896c3..bf231e408 100644 --- a/eZmaxApi/models/ezsigntemplateformfield_response.py +++ b/eZmaxApi/models/ezsigntemplateformfield_response.py @@ -21,9 +21,11 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.field_e_ezsigntemplateformfield_dependencyrequirement import FieldEEzsigntemplateformfieldDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplateformfield_positioning import FieldEEzsigntemplateformfieldPositioning from eZmaxApi.models.field_e_ezsigntemplateformfield_positioningoccurence import FieldEEzsigntemplateformfieldPositioningoccurence +from eZmaxApi.models.textstylestatic_response_compound import TextstylestaticResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -32,14 +34,14 @@ class EzsigntemplateformfieldResponse(BaseModel): An Ezsigntemplateformfield Object """ # noqa: E501 pki_ezsigntemplateformfield_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplateformfield", alias="pkiEzsigntemplateformfieldID") - e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=None, alias="eEzsigntemplateformfieldPositioning") + e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, alias="eEzsigntemplateformfieldPositioning") i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") s_ezsigntemplateformfield_label: StrictStr = Field(description="The Label for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldLabel") s_ezsigntemplateformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldValue") i_ezsigntemplateformfield_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplateformfieldX") i_ezsigntemplateformfield_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplateformfieldY") - i_ezsigntemplateformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 |", alias="iEzsigntemplateformfieldWidth") - i_ezsigntemplateformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | ", alias="iEzsigntemplateformfieldHeight") + i_ezsigntemplateformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI", alias="iEzsigntemplateformfieldWidth") + i_ezsigntemplateformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI ", alias="iEzsigntemplateformfieldHeight") b_ezsigntemplateformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text**", alias="bEzsigntemplateformfieldAutocomplete") b_ezsigntemplateformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsigntemplateformfieldSelected") e_ezsigntemplateformfield_dependencyrequirement: Optional[FieldEEzsigntemplateformfieldDependencyrequirement] = Field(default=None, alias="eEzsigntemplateformfieldDependencyrequirement") @@ -47,7 +49,9 @@ class EzsigntemplateformfieldResponse(BaseModel): i_ezsigntemplateformfield_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsetx") i_ezsigntemplateformfield_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsety") e_ezsigntemplateformfield_positioningoccurence: Optional[FieldEEzsigntemplateformfieldPositioningoccurence] = Field(default=None, alias="eEzsigntemplateformfieldPositioningoccurence") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldID", "eEzsigntemplateformfieldPositioning", "iEzsigntemplatedocumentpagePagenumber", "sEzsigntemplateformfieldLabel", "sEzsigntemplateformfieldValue", "iEzsigntemplateformfieldX", "iEzsigntemplateformfieldY", "iEzsigntemplateformfieldWidth", "iEzsigntemplateformfieldHeight", "bEzsigntemplateformfieldAutocomplete", "bEzsigntemplateformfieldSelected", "eEzsigntemplateformfieldDependencyrequirement", "sEzsigntemplateformfieldPositioningpattern", "iEzsigntemplateformfieldPositioningoffsetx", "iEzsigntemplateformfieldPositioningoffsety", "eEzsigntemplateformfieldPositioningoccurence"] + e_ezsigntemplateformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsigntemplateformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticResponseCompound] = Field(default=None, alias="objTextstylestatic") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldID", "eEzsigntemplateformfieldPositioning", "iEzsigntemplatedocumentpagePagenumber", "sEzsigntemplateformfieldLabel", "sEzsigntemplateformfieldValue", "iEzsigntemplateformfieldX", "iEzsigntemplateformfieldY", "iEzsigntemplateformfieldWidth", "iEzsigntemplateformfieldHeight", "bEzsigntemplateformfieldAutocomplete", "bEzsigntemplateformfieldSelected", "eEzsigntemplateformfieldDependencyrequirement", "sEzsigntemplateformfieldPositioningpattern", "iEzsigntemplateformfieldPositioningoffsetx", "iEzsigntemplateformfieldPositioningoffsety", "eEzsigntemplateformfieldPositioningoccurence", "eEzsigntemplateformfieldHorizontalalignment", "objTextstylestatic"] @field_validator('s_ezsigntemplateformfield_positioningpattern') def s_ezsigntemplateformfield_positioningpattern_validate_regular_expression(cls, value): @@ -98,6 +102,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_textstylestatic + if self.obj_textstylestatic: + _dict['objTextstylestatic'] = self.obj_textstylestatic.to_dict() return _dict @classmethod @@ -111,7 +118,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplateformfieldID": obj.get("pkiEzsigntemplateformfieldID"), - "eEzsigntemplateformfieldPositioning": obj.get("eEzsigntemplateformfieldPositioning"), + "eEzsigntemplateformfieldPositioning": obj.get("eEzsigntemplateformfieldPositioning") if obj.get("eEzsigntemplateformfieldPositioning") is not None else FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), "sEzsigntemplateformfieldLabel": obj.get("sEzsigntemplateformfieldLabel"), "sEzsigntemplateformfieldValue": obj.get("sEzsigntemplateformfieldValue"), @@ -125,7 +132,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsigntemplateformfieldPositioningpattern": obj.get("sEzsigntemplateformfieldPositioningpattern"), "iEzsigntemplateformfieldPositioningoffsetx": obj.get("iEzsigntemplateformfieldPositioningoffsetx"), "iEzsigntemplateformfieldPositioningoffsety": obj.get("iEzsigntemplateformfieldPositioningoffsety"), - "eEzsigntemplateformfieldPositioningoccurence": obj.get("eEzsigntemplateformfieldPositioningoccurence") + "eEzsigntemplateformfieldPositioningoccurence": obj.get("eEzsigntemplateformfieldPositioningoccurence"), + "eEzsigntemplateformfieldHorizontalalignment": obj.get("eEzsigntemplateformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticResponseCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfield_response_compound.py b/eZmaxApi/models/ezsigntemplateformfield_response_compound.py index e2b2b2cf4..0288da144 100644 --- a/eZmaxApi/models/ezsigntemplateformfield_response_compound.py +++ b/eZmaxApi/models/ezsigntemplateformfield_response_compound.py @@ -21,10 +21,12 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.ezsigntemplateelementdependency_response_compound import EzsigntemplateelementdependencyResponseCompound from eZmaxApi.models.field_e_ezsigntemplateformfield_dependencyrequirement import FieldEEzsigntemplateformfieldDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplateformfield_positioning import FieldEEzsigntemplateformfieldPositioning from eZmaxApi.models.field_e_ezsigntemplateformfield_positioningoccurence import FieldEEzsigntemplateformfieldPositioningoccurence +from eZmaxApi.models.textstylestatic_response_compound import TextstylestaticResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -33,14 +35,14 @@ class EzsigntemplateformfieldResponseCompound(BaseModel): An Ezsigntemplateformfield Object and children """ # noqa: E501 pki_ezsigntemplateformfield_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplateformfield", alias="pkiEzsigntemplateformfieldID") - e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=None, alias="eEzsigntemplateformfieldPositioning") + e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, alias="eEzsigntemplateformfieldPositioning") i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") s_ezsigntemplateformfield_label: StrictStr = Field(description="The Label for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldLabel") s_ezsigntemplateformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldValue") i_ezsigntemplateformfield_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplateformfieldX") i_ezsigntemplateformfield_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplateformfieldY") - i_ezsigntemplateformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22-65535 | | Radio | 22 | | Text | 22-65535 | | Textarea | 22-65535 |", alias="iEzsigntemplateformfieldWidth") - i_ezsigntemplateformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI The allowed values are varying based on the eEzsigntemplateformfieldgroupType. | eEzsigntemplateformfieldgroupType | Valid values | | ------------------------- | ------------ | | Checkbox | 22 | | Dropdown | 22 | | Radio | 22 | | Text | 22 | | Textarea | 22-65535 | ", alias="iEzsigntemplateformfieldHeight") + i_ezsigntemplateformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI", alias="iEzsigntemplateformfieldWidth") + i_ezsigntemplateformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI ", alias="iEzsigntemplateformfieldHeight") b_ezsigntemplateformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text**", alias="bEzsigntemplateformfieldAutocomplete") b_ezsigntemplateformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsigntemplateformfieldSelected") e_ezsigntemplateformfield_dependencyrequirement: Optional[FieldEEzsigntemplateformfieldDependencyrequirement] = Field(default=None, alias="eEzsigntemplateformfieldDependencyrequirement") @@ -48,8 +50,10 @@ class EzsigntemplateformfieldResponseCompound(BaseModel): i_ezsigntemplateformfield_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsetx") i_ezsigntemplateformfield_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsety") e_ezsigntemplateformfield_positioningoccurence: Optional[FieldEEzsigntemplateformfieldPositioningoccurence] = Field(default=None, alias="eEzsigntemplateformfieldPositioningoccurence") + e_ezsigntemplateformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsigntemplateformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticResponseCompound] = Field(default=None, alias="objTextstylestatic") a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldID", "eEzsigntemplateformfieldPositioning", "iEzsigntemplatedocumentpagePagenumber", "sEzsigntemplateformfieldLabel", "sEzsigntemplateformfieldValue", "iEzsigntemplateformfieldX", "iEzsigntemplateformfieldY", "iEzsigntemplateformfieldWidth", "iEzsigntemplateformfieldHeight", "bEzsigntemplateformfieldAutocomplete", "bEzsigntemplateformfieldSelected", "eEzsigntemplateformfieldDependencyrequirement", "sEzsigntemplateformfieldPositioningpattern", "iEzsigntemplateformfieldPositioningoffsetx", "iEzsigntemplateformfieldPositioningoffsety", "eEzsigntemplateformfieldPositioningoccurence", "a_objEzsigntemplateelementdependency"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldID", "eEzsigntemplateformfieldPositioning", "iEzsigntemplatedocumentpagePagenumber", "sEzsigntemplateformfieldLabel", "sEzsigntemplateformfieldValue", "iEzsigntemplateformfieldX", "iEzsigntemplateformfieldY", "iEzsigntemplateformfieldWidth", "iEzsigntemplateformfieldHeight", "bEzsigntemplateformfieldAutocomplete", "bEzsigntemplateformfieldSelected", "eEzsigntemplateformfieldDependencyrequirement", "sEzsigntemplateformfieldPositioningpattern", "iEzsigntemplateformfieldPositioningoffsetx", "iEzsigntemplateformfieldPositioningoffsety", "eEzsigntemplateformfieldPositioningoccurence", "eEzsigntemplateformfieldHorizontalalignment", "objTextstylestatic", "a_objEzsigntemplateelementdependency"] @field_validator('s_ezsigntemplateformfield_positioningpattern') def s_ezsigntemplateformfield_positioningpattern_validate_regular_expression(cls, value): @@ -100,12 +104,15 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_textstylestatic + if self.obj_textstylestatic: + _dict['objTextstylestatic'] = self.obj_textstylestatic.to_dict() # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateelementdependency (list) _items = [] if self.a_obj_ezsigntemplateelementdependency: - for _item in self.a_obj_ezsigntemplateelementdependency: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateelementdependency in self.a_obj_ezsigntemplateelementdependency: + if _item_a_obj_ezsigntemplateelementdependency: + _items.append(_item_a_obj_ezsigntemplateelementdependency.to_dict()) _dict['a_objEzsigntemplateelementdependency'] = _items return _dict @@ -120,7 +127,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplateformfieldID": obj.get("pkiEzsigntemplateformfieldID"), - "eEzsigntemplateformfieldPositioning": obj.get("eEzsigntemplateformfieldPositioning"), + "eEzsigntemplateformfieldPositioning": obj.get("eEzsigntemplateformfieldPositioning") if obj.get("eEzsigntemplateformfieldPositioning") is not None else FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), "sEzsigntemplateformfieldLabel": obj.get("sEzsigntemplateformfieldLabel"), "sEzsigntemplateformfieldValue": obj.get("sEzsigntemplateformfieldValue"), @@ -135,6 +142,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplateformfieldPositioningoffsetx": obj.get("iEzsigntemplateformfieldPositioningoffsetx"), "iEzsigntemplateformfieldPositioningoffsety": obj.get("iEzsigntemplateformfieldPositioningoffsety"), "eEzsigntemplateformfieldPositioningoccurence": obj.get("eEzsigntemplateformfieldPositioningoccurence"), + "eEzsigntemplateformfieldHorizontalalignment": obj.get("eEzsigntemplateformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticResponseCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None, "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_request.py index a238a543c..5f4487aa9 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_request.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateformfieldgroup (list) _items = [] if self.a_obj_ezsigntemplateformfieldgroup: - for _item in self.a_obj_ezsigntemplateformfieldgroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateformfieldgroup in self.a_obj_ezsigntemplateformfieldgroup: + if _item_a_obj_ezsigntemplateformfieldgroup: + _items.append(_item_a_obj_ezsigntemplateformfieldgroup.to_dict()) _dict['a_objEzsigntemplateformfieldgroup'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_request.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_request.py index 573c4352a..45f2cedb9 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_request.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_request.py @@ -45,10 +45,11 @@ class EzsigntemplateformfieldgroupRequest(BaseModel): i_ezsigntemplateformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="iEzsigntemplateformfieldgroupMaxlength") b_ezsigntemplateformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="bEzsigntemplateformfieldgroupEncrypted") s_ezsigntemplateformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="sEzsigntemplateformfieldgroupRegexp") + s_ezsigntemplateformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplateformfieldgroupTextvalidationcustommessage") e_ezsigntemplateformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplateformfieldgroupTextvalidation") t_ezsigntemplateformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup", alias="tEzsigntemplateformfieldgroupTooltip") e_ezsigntemplateformfieldgroup_tooltipposition: Optional[FieldEEzsigntemplateformfieldgroupTooltipposition] = Field(default=None, alias="eEzsigntemplateformfieldgroupTooltipposition") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldgroupID", "fkiEzsigntemplatedocumentID", "eEzsigntemplateformfieldgroupType", "eEzsigntemplateformfieldgroupSignerrequirement", "sEzsigntemplateformfieldgroupLabel", "iEzsigntemplateformfieldgroupStep", "sEzsigntemplateformfieldgroupDefaultvalue", "iEzsigntemplateformfieldgroupFilledmin", "iEzsigntemplateformfieldgroupFilledmax", "bEzsigntemplateformfieldgroupReadonly", "iEzsigntemplateformfieldgroupMaxlength", "bEzsigntemplateformfieldgroupEncrypted", "sEzsigntemplateformfieldgroupRegexp", "eEzsigntemplateformfieldgroupTextvalidation", "tEzsigntemplateformfieldgroupTooltip", "eEzsigntemplateformfieldgroupTooltipposition"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldgroupID", "fkiEzsigntemplatedocumentID", "eEzsigntemplateformfieldgroupType", "eEzsigntemplateformfieldgroupSignerrequirement", "sEzsigntemplateformfieldgroupLabel", "iEzsigntemplateformfieldgroupStep", "sEzsigntemplateformfieldgroupDefaultvalue", "iEzsigntemplateformfieldgroupFilledmin", "iEzsigntemplateformfieldgroupFilledmax", "bEzsigntemplateformfieldgroupReadonly", "iEzsigntemplateformfieldgroupMaxlength", "bEzsigntemplateformfieldgroupEncrypted", "sEzsigntemplateformfieldgroupRegexp", "sEzsigntemplateformfieldgroupTextvalidationcustommessage", "eEzsigntemplateformfieldgroupTextvalidation", "tEzsigntemplateformfieldgroupTooltip", "eEzsigntemplateformfieldgroupTooltipposition"] @field_validator('s_ezsigntemplateformfieldgroup_regexp') def s_ezsigntemplateformfieldgroup_regexp_validate_regular_expression(cls, value): @@ -124,6 +125,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplateformfieldgroupMaxlength": obj.get("iEzsigntemplateformfieldgroupMaxlength"), "bEzsigntemplateformfieldgroupEncrypted": obj.get("bEzsigntemplateformfieldgroupEncrypted"), "sEzsigntemplateformfieldgroupRegexp": obj.get("sEzsigntemplateformfieldgroupRegexp"), + "sEzsigntemplateformfieldgroupTextvalidationcustommessage": obj.get("sEzsigntemplateformfieldgroupTextvalidationcustommessage"), "eEzsigntemplateformfieldgroupTextvalidation": obj.get("eEzsigntemplateformfieldgroupTextvalidation"), "tEzsigntemplateformfieldgroupTooltip": obj.get("tEzsigntemplateformfieldgroupTooltip"), "eEzsigntemplateformfieldgroupTooltipposition": obj.get("eEzsigntemplateformfieldgroupTooltipposition") diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_request_compound.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_request_compound.py index a6ab85446..bddff6d9d 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_request_compound.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_request_compound.py @@ -48,13 +48,14 @@ class EzsigntemplateformfieldgroupRequestCompound(BaseModel): i_ezsigntemplateformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="iEzsigntemplateformfieldgroupMaxlength") b_ezsigntemplateformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="bEzsigntemplateformfieldgroupEncrypted") s_ezsigntemplateformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="sEzsigntemplateformfieldgroupRegexp") + s_ezsigntemplateformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplateformfieldgroupTextvalidationcustommessage") e_ezsigntemplateformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplateformfieldgroupTextvalidation") t_ezsigntemplateformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup", alias="tEzsigntemplateformfieldgroupTooltip") e_ezsigntemplateformfieldgroup_tooltipposition: Optional[FieldEEzsigntemplateformfieldgroupTooltipposition] = Field(default=None, alias="eEzsigntemplateformfieldgroupTooltipposition") a_obj_ezsigntemplateformfieldgroupsigner: List[EzsigntemplateformfieldgroupsignerRequestCompound] = Field(alias="a_objEzsigntemplateformfieldgroupsigner") a_obj_dropdown_element: Optional[List[CustomDropdownElementRequestCompound]] = Field(default=None, alias="a_objDropdownElement") a_obj_ezsigntemplateformfield: List[EzsigntemplateformfieldRequestCompound] = Field(alias="a_objEzsigntemplateformfield") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldgroupID", "fkiEzsigntemplatedocumentID", "eEzsigntemplateformfieldgroupType", "eEzsigntemplateformfieldgroupSignerrequirement", "sEzsigntemplateformfieldgroupLabel", "iEzsigntemplateformfieldgroupStep", "sEzsigntemplateformfieldgroupDefaultvalue", "iEzsigntemplateformfieldgroupFilledmin", "iEzsigntemplateformfieldgroupFilledmax", "bEzsigntemplateformfieldgroupReadonly", "iEzsigntemplateformfieldgroupMaxlength", "bEzsigntemplateformfieldgroupEncrypted", "sEzsigntemplateformfieldgroupRegexp", "eEzsigntemplateformfieldgroupTextvalidation", "tEzsigntemplateformfieldgroupTooltip", "eEzsigntemplateformfieldgroupTooltipposition", "a_objEzsigntemplateformfieldgroupsigner", "a_objDropdownElement", "a_objEzsigntemplateformfield"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldgroupID", "fkiEzsigntemplatedocumentID", "eEzsigntemplateformfieldgroupType", "eEzsigntemplateformfieldgroupSignerrequirement", "sEzsigntemplateformfieldgroupLabel", "iEzsigntemplateformfieldgroupStep", "sEzsigntemplateformfieldgroupDefaultvalue", "iEzsigntemplateformfieldgroupFilledmin", "iEzsigntemplateformfieldgroupFilledmax", "bEzsigntemplateformfieldgroupReadonly", "iEzsigntemplateformfieldgroupMaxlength", "bEzsigntemplateformfieldgroupEncrypted", "sEzsigntemplateformfieldgroupRegexp", "sEzsigntemplateformfieldgroupTextvalidationcustommessage", "eEzsigntemplateformfieldgroupTextvalidation", "tEzsigntemplateformfieldgroupTooltip", "eEzsigntemplateformfieldgroupTooltipposition", "a_objEzsigntemplateformfieldgroupsigner", "a_objDropdownElement", "a_objEzsigntemplateformfield"] @field_validator('s_ezsigntemplateformfieldgroup_regexp') def s_ezsigntemplateformfieldgroup_regexp_validate_regular_expression(cls, value): @@ -108,23 +109,23 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateformfieldgroupsigner (list) _items = [] if self.a_obj_ezsigntemplateformfieldgroupsigner: - for _item in self.a_obj_ezsigntemplateformfieldgroupsigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateformfieldgroupsigner in self.a_obj_ezsigntemplateformfieldgroupsigner: + if _item_a_obj_ezsigntemplateformfieldgroupsigner: + _items.append(_item_a_obj_ezsigntemplateformfieldgroupsigner.to_dict()) _dict['a_objEzsigntemplateformfieldgroupsigner'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_dropdown_element (list) _items = [] if self.a_obj_dropdown_element: - for _item in self.a_obj_dropdown_element: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_dropdown_element in self.a_obj_dropdown_element: + if _item_a_obj_dropdown_element: + _items.append(_item_a_obj_dropdown_element.to_dict()) _dict['a_objDropdownElement'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateformfield (list) _items = [] if self.a_obj_ezsigntemplateformfield: - for _item in self.a_obj_ezsigntemplateformfield: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateformfield in self.a_obj_ezsigntemplateformfield: + if _item_a_obj_ezsigntemplateformfield: + _items.append(_item_a_obj_ezsigntemplateformfield.to_dict()) _dict['a_objEzsigntemplateformfield'] = _items return _dict @@ -151,6 +152,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplateformfieldgroupMaxlength": obj.get("iEzsigntemplateformfieldgroupMaxlength"), "bEzsigntemplateformfieldgroupEncrypted": obj.get("bEzsigntemplateformfieldgroupEncrypted"), "sEzsigntemplateformfieldgroupRegexp": obj.get("sEzsigntemplateformfieldgroupRegexp"), + "sEzsigntemplateformfieldgroupTextvalidationcustommessage": obj.get("sEzsigntemplateformfieldgroupTextvalidationcustommessage"), "eEzsigntemplateformfieldgroupTextvalidation": obj.get("eEzsigntemplateformfieldgroupTextvalidation"), "tEzsigntemplateformfieldgroupTooltip": obj.get("tEzsigntemplateformfieldgroupTooltip"), "eEzsigntemplateformfieldgroupTooltipposition": obj.get("eEzsigntemplateformfieldgroupTooltipposition"), diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py index 30de6c26f..713270cfa 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py @@ -45,10 +45,11 @@ class EzsigntemplateformfieldgroupResponse(BaseModel): i_ezsigntemplateformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="iEzsigntemplateformfieldgroupMaxlength") b_ezsigntemplateformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="bEzsigntemplateformfieldgroupEncrypted") s_ezsigntemplateformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="sEzsigntemplateformfieldgroupRegexp") + s_ezsigntemplateformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplateformfieldgroupTextvalidationcustommessage") e_ezsigntemplateformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplateformfieldgroupTextvalidation") t_ezsigntemplateformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup", alias="tEzsigntemplateformfieldgroupTooltip") e_ezsigntemplateformfieldgroup_tooltipposition: Optional[FieldEEzsigntemplateformfieldgroupTooltipposition] = Field(default=None, alias="eEzsigntemplateformfieldgroupTooltipposition") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldgroupID", "fkiEzsigntemplatedocumentID", "eEzsigntemplateformfieldgroupType", "eEzsigntemplateformfieldgroupSignerrequirement", "sEzsigntemplateformfieldgroupLabel", "iEzsigntemplateformfieldgroupStep", "sEzsigntemplateformfieldgroupDefaultvalue", "iEzsigntemplateformfieldgroupFilledmin", "iEzsigntemplateformfieldgroupFilledmax", "bEzsigntemplateformfieldgroupReadonly", "iEzsigntemplateformfieldgroupMaxlength", "bEzsigntemplateformfieldgroupEncrypted", "sEzsigntemplateformfieldgroupRegexp", "eEzsigntemplateformfieldgroupTextvalidation", "tEzsigntemplateformfieldgroupTooltip", "eEzsigntemplateformfieldgroupTooltipposition"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldgroupID", "fkiEzsigntemplatedocumentID", "eEzsigntemplateformfieldgroupType", "eEzsigntemplateformfieldgroupSignerrequirement", "sEzsigntemplateformfieldgroupLabel", "iEzsigntemplateformfieldgroupStep", "sEzsigntemplateformfieldgroupDefaultvalue", "iEzsigntemplateformfieldgroupFilledmin", "iEzsigntemplateformfieldgroupFilledmax", "bEzsigntemplateformfieldgroupReadonly", "iEzsigntemplateformfieldgroupMaxlength", "bEzsigntemplateformfieldgroupEncrypted", "sEzsigntemplateformfieldgroupRegexp", "sEzsigntemplateformfieldgroupTextvalidationcustommessage", "eEzsigntemplateformfieldgroupTextvalidation", "tEzsigntemplateformfieldgroupTooltip", "eEzsigntemplateformfieldgroupTooltipposition"] @field_validator('s_ezsigntemplateformfieldgroup_regexp') def s_ezsigntemplateformfieldgroup_regexp_validate_regular_expression(cls, value): @@ -124,6 +125,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplateformfieldgroupMaxlength": obj.get("iEzsigntemplateformfieldgroupMaxlength"), "bEzsigntemplateformfieldgroupEncrypted": obj.get("bEzsigntemplateformfieldgroupEncrypted"), "sEzsigntemplateformfieldgroupRegexp": obj.get("sEzsigntemplateformfieldgroupRegexp"), + "sEzsigntemplateformfieldgroupTextvalidationcustommessage": obj.get("sEzsigntemplateformfieldgroupTextvalidationcustommessage"), "eEzsigntemplateformfieldgroupTextvalidation": obj.get("eEzsigntemplateformfieldgroupTextvalidation"), "tEzsigntemplateformfieldgroupTooltip": obj.get("tEzsigntemplateformfieldgroupTooltip"), "eEzsigntemplateformfieldgroupTooltipposition": obj.get("eEzsigntemplateformfieldgroupTooltipposition") diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_response_compound.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_response_compound.py index 40ecc4e61..0a8fcdab7 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_response_compound.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_response_compound.py @@ -48,13 +48,14 @@ class EzsigntemplateformfieldgroupResponseCompound(BaseModel): i_ezsigntemplateformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="iEzsigntemplateformfieldgroupMaxlength") b_ezsigntemplateformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="bEzsigntemplateformfieldgroupEncrypted") s_ezsigntemplateformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="sEzsigntemplateformfieldgroupRegexp") + s_ezsigntemplateformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplateformfieldgroupTextvalidationcustommessage") e_ezsigntemplateformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplateformfieldgroupTextvalidation") t_ezsigntemplateformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup", alias="tEzsigntemplateformfieldgroupTooltip") e_ezsigntemplateformfieldgroup_tooltipposition: Optional[FieldEEzsigntemplateformfieldgroupTooltipposition] = Field(default=None, alias="eEzsigntemplateformfieldgroupTooltipposition") a_obj_ezsigntemplateformfieldgroupsigner: List[EzsigntemplateformfieldgroupsignerResponseCompound] = Field(alias="a_objEzsigntemplateformfieldgroupsigner") a_obj_dropdown_element: Optional[List[CustomDropdownElementResponseCompound]] = Field(default=None, alias="a_objDropdownElement") a_obj_ezsigntemplateformfield: List[EzsigntemplateformfieldResponseCompound] = Field(alias="a_objEzsigntemplateformfield") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldgroupID", "fkiEzsigntemplatedocumentID", "eEzsigntemplateformfieldgroupType", "eEzsigntemplateformfieldgroupSignerrequirement", "sEzsigntemplateformfieldgroupLabel", "iEzsigntemplateformfieldgroupStep", "sEzsigntemplateformfieldgroupDefaultvalue", "iEzsigntemplateformfieldgroupFilledmin", "iEzsigntemplateformfieldgroupFilledmax", "bEzsigntemplateformfieldgroupReadonly", "iEzsigntemplateformfieldgroupMaxlength", "bEzsigntemplateformfieldgroupEncrypted", "sEzsigntemplateformfieldgroupRegexp", "eEzsigntemplateformfieldgroupTextvalidation", "tEzsigntemplateformfieldgroupTooltip", "eEzsigntemplateformfieldgroupTooltipposition", "a_objEzsigntemplateformfieldgroupsigner", "a_objDropdownElement", "a_objEzsigntemplateformfield"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldgroupID", "fkiEzsigntemplatedocumentID", "eEzsigntemplateformfieldgroupType", "eEzsigntemplateformfieldgroupSignerrequirement", "sEzsigntemplateformfieldgroupLabel", "iEzsigntemplateformfieldgroupStep", "sEzsigntemplateformfieldgroupDefaultvalue", "iEzsigntemplateformfieldgroupFilledmin", "iEzsigntemplateformfieldgroupFilledmax", "bEzsigntemplateformfieldgroupReadonly", "iEzsigntemplateformfieldgroupMaxlength", "bEzsigntemplateformfieldgroupEncrypted", "sEzsigntemplateformfieldgroupRegexp", "sEzsigntemplateformfieldgroupTextvalidationcustommessage", "eEzsigntemplateformfieldgroupTextvalidation", "tEzsigntemplateformfieldgroupTooltip", "eEzsigntemplateformfieldgroupTooltipposition", "a_objEzsigntemplateformfieldgroupsigner", "a_objDropdownElement", "a_objEzsigntemplateformfield"] @field_validator('s_ezsigntemplateformfieldgroup_regexp') def s_ezsigntemplateformfieldgroup_regexp_validate_regular_expression(cls, value): @@ -108,23 +109,23 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateformfieldgroupsigner (list) _items = [] if self.a_obj_ezsigntemplateformfieldgroupsigner: - for _item in self.a_obj_ezsigntemplateformfieldgroupsigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateformfieldgroupsigner in self.a_obj_ezsigntemplateformfieldgroupsigner: + if _item_a_obj_ezsigntemplateformfieldgroupsigner: + _items.append(_item_a_obj_ezsigntemplateformfieldgroupsigner.to_dict()) _dict['a_objEzsigntemplateformfieldgroupsigner'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_dropdown_element (list) _items = [] if self.a_obj_dropdown_element: - for _item in self.a_obj_dropdown_element: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_dropdown_element in self.a_obj_dropdown_element: + if _item_a_obj_dropdown_element: + _items.append(_item_a_obj_dropdown_element.to_dict()) _dict['a_objDropdownElement'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateformfield (list) _items = [] if self.a_obj_ezsigntemplateformfield: - for _item in self.a_obj_ezsigntemplateformfield: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateformfield in self.a_obj_ezsigntemplateformfield: + if _item_a_obj_ezsigntemplateformfield: + _items.append(_item_a_obj_ezsigntemplateformfield.to_dict()) _dict['a_objEzsigntemplateformfield'] = _items return _dict @@ -151,6 +152,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplateformfieldgroupMaxlength": obj.get("iEzsigntemplateformfieldgroupMaxlength"), "bEzsigntemplateformfieldgroupEncrypted": obj.get("bEzsigntemplateformfieldgroupEncrypted"), "sEzsigntemplateformfieldgroupRegexp": obj.get("sEzsigntemplateformfieldgroupRegexp"), + "sEzsigntemplateformfieldgroupTextvalidationcustommessage": obj.get("sEzsigntemplateformfieldgroupTextvalidationcustommessage"), "eEzsigntemplateformfieldgroupTextvalidation": obj.get("eEzsigntemplateformfieldgroupTextvalidation"), "tEzsigntemplateformfieldgroupTooltip": obj.get("tEzsigntemplateformfieldgroupTooltip"), "eEzsigntemplateformfieldgroupTooltipposition": obj.get("eEzsigntemplateformfieldgroupTooltipposition"), diff --git a/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.py index 7dfb06361..dec508012 100644 --- a/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateglobal (list) _items = [] if self.a_obj_ezsigntemplateglobal: - for _item in self.a_obj_ezsigntemplateglobal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateglobal in self.a_obj_ezsigntemplateglobal: + if _item_a_obj_ezsigntemplateglobal: + _items.append(_item_a_obj_ezsigntemplateglobal.to_dict()) _dict['a_objEzsigntemplateglobal'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplateglobal_response_compound.py b/eZmaxApi/models/ezsigntemplateglobal_response_compound.py index 4fed8f6b2..4c0ff27d9 100644 --- a/eZmaxApi/models/ezsigntemplateglobal_response_compound.py +++ b/eZmaxApi/models/ezsigntemplateglobal_response_compound.py @@ -98,9 +98,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateglobalsigner (list) _items = [] if self.a_obj_ezsigntemplateglobalsigner: - for _item in self.a_obj_ezsigntemplateglobalsigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateglobalsigner in self.a_obj_ezsigntemplateglobalsigner: + if _item_a_obj_ezsigntemplateglobalsigner: + _items.append(_item_a_obj_ezsigntemplateglobalsigner.to_dict()) _dict['a_objEzsigntemplateglobalsigner'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatepackage_autocomplete_element_response.py b/eZmaxApi/models/ezsigntemplatepackage_autocomplete_element_response.py index 5006902be..2fcbb7853 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_autocomplete_element_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_autocomplete_element_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel @@ -30,12 +30,19 @@ class EzsigntemplatepackageAutocompleteElementResponse(BaseModel): A Ezsigntemplatepackage AutocompleteElement Response """ # noqa: E501 e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") - s_ezsigntemplatepackage_description: StrictStr = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") + s_ezsigntemplatepackage_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") pki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="pkiEzsigntemplatepackageID") b_ezsigntemplatepackage_isactive: StrictBool = Field(description="Whether the Ezsigntemplatepackage is active or not", alias="bEzsigntemplatepackageIsactive") b_disabled: StrictBool = Field(description="Indicates if the element is disabled in the context", alias="bDisabled") __properties: ClassVar[List[str]] = ["eEzsignfoldertypePrivacylevel", "sEzsigntemplatepackageDescription", "pkiEzsigntemplatepackageID", "bEzsigntemplatepackageIsactive", "bDisabled"] + @field_validator('s_ezsigntemplatepackage_description') + def s_ezsigntemplatepackage_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatepackage_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplatepackage_create_object_v1_request.py index 67eb78fb4..1994d96f8 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_create_object_v1_request.py +++ b/eZmaxApi/models/ezsigntemplatepackage_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackage (list) _items = [] if self.a_obj_ezsigntemplatepackage: - for _item in self.a_obj_ezsigntemplatepackage: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatepackage in self.a_obj_ezsigntemplatepackage: + if _item_a_obj_ezsigntemplatepackage: + _items.append(_item_a_obj_ezsigntemplatepackage.to_dict()) _dict['a_objEzsigntemplatepackage'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request.py b/eZmaxApi/models/ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request.py index 51edbb6b3..3707e7fcc 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request.py +++ b/eZmaxApi/models/ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackagesigner (list) _items = [] if self.a_obj_ezsigntemplatepackagesigner: - for _item in self.a_obj_ezsigntemplatepackagesigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatepackagesigner in self.a_obj_ezsigntemplatepackagesigner: + if _item_a_obj_ezsigntemplatepackagesigner: + _items.append(_item_a_obj_ezsigntemplatepackagesigner.to_dict()) _dict['a_objEzsigntemplatepackagesigner'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.py index b26caaa4b..9abf3140b 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackage (list) _items = [] if self.a_obj_ezsigntemplatepackage: - for _item in self.a_obj_ezsigntemplatepackage: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatepackage in self.a_obj_ezsigntemplatepackage: + if _item_a_obj_ezsigntemplatepackage: + _items.append(_item_a_obj_ezsigntemplatepackage.to_dict()) _dict['a_objEzsigntemplatepackage'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response_m_payload.py index 089e0c366..dfe3ca5b0 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackage (list) _items = [] if self.a_obj_ezsigntemplatepackage: - for _item in self.a_obj_ezsigntemplatepackage: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatepackage in self.a_obj_ezsigntemplatepackage: + if _item_a_obj_ezsigntemplatepackage: + _items.append(_item_a_obj_ezsigntemplatepackage.to_dict()) _dict['a_objEzsigntemplatepackage'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatepackage_list_element.py b/eZmaxApi/models/ezsigntemplatepackage_list_element.py index 1042374bb..cd9015595 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_list_element.py +++ b/eZmaxApi/models/ezsigntemplatepackage_list_element.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -31,13 +31,20 @@ class EzsigntemplatepackageListElement(BaseModel): pki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="pkiEzsigntemplatepackageID") fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - s_ezsigntemplatepackage_description: StrictStr = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") + s_ezsigntemplatepackage_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") b_ezsigntemplatepackage_needvalidation: StrictBool = Field(description="Whether the Ezsignbulksend was automatically modified and needs a manual validation", alias="bEzsigntemplatepackageNeedvalidation") i_ezsigntemplatepackagemembership: StrictInt = Field(description="The total number of Ezsigntemplatepackagemembership in the Ezsigntemplatepackage", alias="iEzsigntemplatepackagemembership") s_ezsignfoldertype_name_x: StrictStr = Field(description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") b_ezsigntemplatepackage_isactive: StrictBool = Field(description="Whether the Ezsigntemplatepackage is active or not", alias="bEzsigntemplatepackageIsactive") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageNeedvalidation", "iEzsigntemplatepackagemembership", "sEzsignfoldertypeNameX", "bEzsigntemplatepackageIsactive"] + @field_validator('s_ezsigntemplatepackage_description') + def s_ezsigntemplatepackage_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatepackage_request.py b/eZmaxApi/models/ezsigntemplatepackage_request.py index ee720c67d..ca5352164 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_request.py +++ b/eZmaxApi/models/ezsigntemplatepackage_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set @@ -30,11 +30,19 @@ class EzsigntemplatepackageRequest(BaseModel): """ # noqa: E501 pki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="pkiEzsigntemplatepackageID") fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - s_ezsigntemplatepackage_description: StrictStr = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") + s_ezsigntemplatepackage_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") b_ezsigntemplatepackage_adminonly: StrictBool = Field(description="Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplatepackageAdminonly") b_ezsigntemplatepackage_isactive: StrictBool = Field(description="Whether the Ezsigntemplatepackage is active or not", alias="bEzsigntemplatepackageIsactive") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageAdminonly", "bEzsigntemplatepackageIsactive"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatedocumentID", "fkiLanguageID", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageAdminonly", "bEzsigntemplatepackageIsactive"] + + @field_validator('s_ezsigntemplatepackage_description') + def s_ezsigntemplatepackage_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value model_config = ConfigDict( populate_by_name=True, @@ -89,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatepackageID": obj.get("pkiEzsigntemplatepackageID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), "fkiLanguageID": obj.get("fkiLanguageID"), "sEzsigntemplatepackageDescription": obj.get("sEzsigntemplatepackageDescription"), "bEzsigntemplatepackageAdminonly": obj.get("bEzsigntemplatepackageAdminonly"), diff --git a/eZmaxApi/models/ezsigntemplatepackage_request_compound.py b/eZmaxApi/models/ezsigntemplatepackage_request_compound.py index ff21e88cc..dfb1dc410 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackage_request_compound.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set @@ -30,11 +30,19 @@ class EzsigntemplatepackageRequestCompound(BaseModel): """ # noqa: E501 pki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="pkiEzsigntemplatepackageID") fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - s_ezsigntemplatepackage_description: StrictStr = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") + s_ezsigntemplatepackage_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") b_ezsigntemplatepackage_adminonly: StrictBool = Field(description="Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplatepackageAdminonly") b_ezsigntemplatepackage_isactive: StrictBool = Field(description="Whether the Ezsigntemplatepackage is active or not", alias="bEzsigntemplatepackageIsactive") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageAdminonly", "bEzsigntemplatepackageIsactive"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatedocumentID", "fkiLanguageID", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageAdminonly", "bEzsigntemplatepackageIsactive"] + + @field_validator('s_ezsigntemplatepackage_description') + def s_ezsigntemplatepackage_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value model_config = ConfigDict( populate_by_name=True, @@ -89,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatepackageID": obj.get("pkiEzsigntemplatepackageID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), "fkiLanguageID": obj.get("fkiLanguageID"), "sEzsigntemplatepackageDescription": obj.get("sEzsigntemplatepackageDescription"), "bEzsigntemplatepackageAdminonly": obj.get("bEzsigntemplatepackageAdminonly"), diff --git a/eZmaxApi/models/ezsigntemplatepackage_response.py b/eZmaxApi/models/ezsigntemplatepackage_response.py index d27db5889..a11e160b3 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_response.py @@ -18,8 +18,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -30,15 +30,34 @@ class EzsigntemplatepackageResponse(BaseModel): """ # noqa: E501 pki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="pkiEzsigntemplatepackageID") fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") - s_ezsigntemplatepackage_description: StrictStr = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") + s_ezsigntemplatepackage_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") b_ezsigntemplatepackage_adminonly: StrictBool = Field(description="Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplatepackageAdminonly") b_ezsigntemplatepackage_needvalidation: StrictBool = Field(description="Whether the Ezsignbulksend was automatically modified and needs a manual validation", alias="bEzsigntemplatepackageNeedvalidation") b_ezsigntemplatepackage_isactive: StrictBool = Field(description="Whether the Ezsigntemplatepackage is active or not", alias="bEzsigntemplatepackageIsactive") s_ezsignfoldertype_name_x: StrictStr = Field(description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") b_ezsigntemplatepackage_editallowed: StrictBool = Field(description="Whether the Ezsigntemplatepackage if allowed to edit or not", alias="bEzsigntemplatepackageEditallowed") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sLanguageNameX", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageAdminonly", "bEzsigntemplatepackageNeedvalidation", "bEzsigntemplatepackageIsactive", "sEzsignfoldertypeNameX", "bEzsigntemplatepackageEditallowed"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatedocumentID", "fkiLanguageID", "sEzdoctemplatedocumentNameX", "sLanguageNameX", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageAdminonly", "bEzsigntemplatepackageNeedvalidation", "bEzsigntemplatepackageIsactive", "sEzsignfoldertypeNameX", "bEzsigntemplatepackageEditallowed"] + + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezsigntemplatepackage_description') + def s_ezsigntemplatepackage_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value model_config = ConfigDict( populate_by_name=True, @@ -93,7 +112,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatepackageID": obj.get("pkiEzsigntemplatepackageID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), "fkiLanguageID": obj.get("fkiLanguageID"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), "sLanguageNameX": obj.get("sLanguageNameX"), "sEzsigntemplatepackageDescription": obj.get("sEzsigntemplatepackageDescription"), "bEzsigntemplatepackageAdminonly": obj.get("bEzsigntemplatepackageAdminonly"), diff --git a/eZmaxApi/models/ezsigntemplatepackage_response_compound.py b/eZmaxApi/models/ezsigntemplatepackage_response_compound.py index e9be6606f..e9d205b09 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackage_response_compound.py @@ -18,8 +18,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.ezsigntemplatepackagemembership_response_compound import EzsigntemplatepackagemembershipResponseCompound from eZmaxApi.models.ezsigntemplatepackagesigner_response_compound import EzsigntemplatepackagesignerResponseCompound @@ -32,9 +32,11 @@ class EzsigntemplatepackageResponseCompound(BaseModel): """ # noqa: E501 pki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="pkiEzsigntemplatepackageID") fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") - s_ezsigntemplatepackage_description: StrictStr = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") + s_ezsigntemplatepackage_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") b_ezsigntemplatepackage_adminonly: StrictBool = Field(description="Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplatepackageAdminonly") b_ezsigntemplatepackage_needvalidation: StrictBool = Field(description="Whether the Ezsignbulksend was automatically modified and needs a manual validation", alias="bEzsigntemplatepackageNeedvalidation") b_ezsigntemplatepackage_isactive: StrictBool = Field(description="Whether the Ezsigntemplatepackage is active or not", alias="bEzsigntemplatepackageIsactive") @@ -42,7 +44,24 @@ class EzsigntemplatepackageResponseCompound(BaseModel): b_ezsigntemplatepackage_editallowed: StrictBool = Field(description="Whether the Ezsigntemplatepackage if allowed to edit or not", alias="bEzsigntemplatepackageEditallowed") a_obj_ezsigntemplatepackagesigner: List[EzsigntemplatepackagesignerResponseCompound] = Field(alias="a_objEzsigntemplatepackagesigner") a_obj_ezsigntemplatepackagemembership: List[EzsigntemplatepackagemembershipResponseCompound] = Field(alias="a_objEzsigntemplatepackagemembership") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sLanguageNameX", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageAdminonly", "bEzsigntemplatepackageNeedvalidation", "bEzsigntemplatepackageIsactive", "sEzsignfoldertypeNameX", "bEzsigntemplatepackageEditallowed", "a_objEzsigntemplatepackagesigner", "a_objEzsigntemplatepackagemembership"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatedocumentID", "fkiLanguageID", "sEzdoctemplatedocumentNameX", "sLanguageNameX", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageAdminonly", "bEzsigntemplatepackageNeedvalidation", "bEzsigntemplatepackageIsactive", "sEzsignfoldertypeNameX", "bEzsigntemplatepackageEditallowed", "a_objEzsigntemplatepackagesigner", "a_objEzsigntemplatepackagemembership"] + + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezsigntemplatepackage_description') + def s_ezsigntemplatepackage_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value model_config = ConfigDict( populate_by_name=True, @@ -86,16 +105,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackagesigner (list) _items = [] if self.a_obj_ezsigntemplatepackagesigner: - for _item in self.a_obj_ezsigntemplatepackagesigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatepackagesigner in self.a_obj_ezsigntemplatepackagesigner: + if _item_a_obj_ezsigntemplatepackagesigner: + _items.append(_item_a_obj_ezsigntemplatepackagesigner.to_dict()) _dict['a_objEzsigntemplatepackagesigner'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackagemembership (list) _items = [] if self.a_obj_ezsigntemplatepackagemembership: - for _item in self.a_obj_ezsigntemplatepackagemembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatepackagemembership in self.a_obj_ezsigntemplatepackagemembership: + if _item_a_obj_ezsigntemplatepackagemembership: + _items.append(_item_a_obj_ezsigntemplatepackagemembership.to_dict()) _dict['a_objEzsigntemplatepackagemembership'] = _items return _dict @@ -111,7 +130,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatepackageID": obj.get("pkiEzsigntemplatepackageID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), "fkiLanguageID": obj.get("fkiLanguageID"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), "sLanguageNameX": obj.get("sLanguageNameX"), "sEzsigntemplatepackageDescription": obj.get("sEzsigntemplatepackageDescription"), "bEzsigntemplatepackageAdminonly": obj.get("bEzsigntemplatepackageAdminonly"), diff --git a/eZmaxApi/models/ezsigntemplatepackagemembership_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplatepackagemembership_create_object_v1_request.py index 64388e3b0..9049e9b08 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_create_object_v1_request.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackagemembership (list) _items = [] if self.a_obj_ezsigntemplatepackagemembership: - for _item in self.a_obj_ezsigntemplatepackagemembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatepackagemembership in self.a_obj_ezsigntemplatepackagemembership: + if _item_a_obj_ezsigntemplatepackagemembership: + _items.append(_item_a_obj_ezsigntemplatepackagemembership.to_dict()) _dict['a_objEzsigntemplatepackagemembership'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatepackagemembership_response_compound.py b/eZmaxApi/models/ezsigntemplatepackagemembership_response_compound.py index 14dafa21e..7eacd1e73 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_response_compound.py @@ -83,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackagesignermembership (list) _items = [] if self.a_obj_ezsigntemplatepackagesignermembership: - for _item in self.a_obj_ezsigntemplatepackagesignermembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatepackagesignermembership in self.a_obj_ezsigntemplatepackagesignermembership: + if _item_a_obj_ezsigntemplatepackagesignermembership: + _items.append(_item_a_obj_ezsigntemplatepackagesignermembership.to_dict()) _dict['a_objEzsigntemplatepackagesignermembership'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplatepackagesigner_create_object_v1_request.py index 7f49bdce1..a0d118049 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_create_object_v1_request.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackagesigner (list) _items = [] if self.a_obj_ezsigntemplatepackagesigner: - for _item in self.a_obj_ezsigntemplatepackagesigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatepackagesigner in self.a_obj_ezsigntemplatepackagesigner: + if _item_a_obj_ezsigntemplatepackagesigner: + _items.append(_item_a_obj_ezsigntemplatepackagesigner.to_dict()) _dict['a_objEzsigntemplatepackagesigner'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_request.py b/eZmaxApi/models/ezsigntemplatepackagesigner_request.py index d5e9f2d13..f86d7e988 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_request.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_request.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping from typing import Optional, Set from typing_extensions import Self @@ -30,8 +31,13 @@ class EzsigntemplatepackagesignerRequest(BaseModel): """ # noqa: E501 pki_ezsigntemplatepackagesigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackagesigner", alias="pkiEzsigntemplatepackagesignerID") fki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + b_ezsigntemplatepackagesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatepackagesignerReceivecopy") + e_ezsigntemplatepackagesigner_mapping: Optional[FieldEEzsigntemplatepackagesignerMapping] = Field(default=FieldEEzsigntemplatepackagesignerMapping.MANUAL, alias="eEzsigntemplatepackagesignerMapping") s_ezsigntemplatepackagesigner_description: StrictStr = Field(description="The description of the Ezsigntemplatepackagesigner", alias="sEzsigntemplatepackagesignerDescription") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepackagesignerDescription"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatepackageID", "fkiEzdoctemplatedocumentID", "fkiUserID", "fkiUsergroupID", "bEzsigntemplatepackagesignerReceivecopy", "eEzsigntemplatepackagesignerMapping", "sEzsigntemplatepackagesignerDescription"] model_config = ConfigDict( populate_by_name=True, @@ -86,6 +92,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatepackagesignerID": obj.get("pkiEzsigntemplatepackagesignerID"), "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "bEzsigntemplatepackagesignerReceivecopy": obj.get("bEzsigntemplatepackagesignerReceivecopy"), + "eEzsigntemplatepackagesignerMapping": obj.get("eEzsigntemplatepackagesignerMapping") if obj.get("eEzsigntemplatepackagesignerMapping") is not None else FieldEEzsigntemplatepackagesignerMapping.MANUAL, "sEzsigntemplatepackagesignerDescription": obj.get("sEzsigntemplatepackagesignerDescription") }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_request_compound.py b/eZmaxApi/models/ezsigntemplatepackagesigner_request_compound.py index 94c35156a..e01ee86f2 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_request_compound.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping from typing import Optional, Set from typing_extensions import Self @@ -30,8 +31,13 @@ class EzsigntemplatepackagesignerRequestCompound(BaseModel): """ # noqa: E501 pki_ezsigntemplatepackagesigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackagesigner", alias="pkiEzsigntemplatepackagesignerID") fki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + b_ezsigntemplatepackagesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatepackagesignerReceivecopy") + e_ezsigntemplatepackagesigner_mapping: Optional[FieldEEzsigntemplatepackagesignerMapping] = Field(default=FieldEEzsigntemplatepackagesignerMapping.MANUAL, alias="eEzsigntemplatepackagesignerMapping") s_ezsigntemplatepackagesigner_description: StrictStr = Field(description="The description of the Ezsigntemplatepackagesigner", alias="sEzsigntemplatepackagesignerDescription") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepackagesignerDescription"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatepackageID", "fkiEzdoctemplatedocumentID", "fkiUserID", "fkiUsergroupID", "bEzsigntemplatepackagesignerReceivecopy", "eEzsigntemplatepackagesignerMapping", "sEzsigntemplatepackagesignerDescription"] model_config = ConfigDict( populate_by_name=True, @@ -86,6 +92,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatepackagesignerID": obj.get("pkiEzsigntemplatepackagesignerID"), "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "bEzsigntemplatepackagesignerReceivecopy": obj.get("bEzsigntemplatepackagesignerReceivecopy"), + "eEzsigntemplatepackagesignerMapping": obj.get("eEzsigntemplatepackagesignerMapping") if obj.get("eEzsigntemplatepackagesignerMapping") is not None else FieldEEzsigntemplatepackagesignerMapping.MANUAL, "sEzsigntemplatepackagesignerDescription": obj.get("sEzsigntemplatepackagesignerDescription") }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_response.py b/eZmaxApi/models/ezsigntemplatepackagesigner_response.py index ae4bb1647..d8fee7997 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_response.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping from typing import Optional, Set from typing_extensions import Self @@ -30,8 +31,36 @@ class EzsigntemplatepackagesignerResponse(BaseModel): """ # noqa: E501 pki_ezsigntemplatepackagesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackagesigner", alias="pkiEzsigntemplatepackagesignerID") fki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + b_ezsigntemplatepackagesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatepackagesignerReceivecopy") + e_ezsigntemplatepackagesigner_mapping: Optional[FieldEEzsigntemplatepackagesignerMapping] = Field(default=FieldEEzsigntemplatepackagesignerMapping.MANUAL, alias="eEzsigntemplatepackagesignerMapping") s_ezsigntemplatepackagesigner_description: StrictStr = Field(description="The description of the Ezsigntemplatepackagesigner", alias="sEzsigntemplatepackagesignerDescription") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepackagesignerDescription"] + s_user_name: Optional[StrictStr] = Field(default=None, description="The description of the User in the language of the requester", alias="sUserName") + s_usergroup_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatepackageID", "fkiEzdoctemplatedocumentID", "fkiUserID", "fkiUsergroupID", "sEzdoctemplatedocumentNameX", "bEzsigntemplatepackagesignerReceivecopy", "eEzsigntemplatepackagesignerMapping", "sEzsigntemplatepackagesignerDescription", "sUserName", "sUsergroupNameX"] + + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_usergroup_name_x') + def s_usergroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value model_config = ConfigDict( populate_by_name=True, @@ -86,7 +115,15 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatepackagesignerID": obj.get("pkiEzsigntemplatepackagesignerID"), "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), - "sEzsigntemplatepackagesignerDescription": obj.get("sEzsigntemplatepackagesignerDescription") + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "bEzsigntemplatepackagesignerReceivecopy": obj.get("bEzsigntemplatepackagesignerReceivecopy"), + "eEzsigntemplatepackagesignerMapping": obj.get("eEzsigntemplatepackagesignerMapping") if obj.get("eEzsigntemplatepackagesignerMapping") is not None else FieldEEzsigntemplatepackagesignerMapping.MANUAL, + "sEzsigntemplatepackagesignerDescription": obj.get("sEzsigntemplatepackagesignerDescription"), + "sUserName": obj.get("sUserName"), + "sUsergroupNameX": obj.get("sUsergroupNameX") }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_response_compound.py b/eZmaxApi/models/ezsigntemplatepackagesigner_response_compound.py index 19de2f796..bfa1be448 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_response_compound.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping from typing import Optional, Set from typing_extensions import Self @@ -30,8 +31,36 @@ class EzsigntemplatepackagesignerResponseCompound(BaseModel): """ # noqa: E501 pki_ezsigntemplatepackagesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackagesigner", alias="pkiEzsigntemplatepackagesignerID") fki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + b_ezsigntemplatepackagesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatepackagesignerReceivecopy") + e_ezsigntemplatepackagesigner_mapping: Optional[FieldEEzsigntemplatepackagesignerMapping] = Field(default=FieldEEzsigntemplatepackagesignerMapping.MANUAL, alias="eEzsigntemplatepackagesignerMapping") s_ezsigntemplatepackagesigner_description: StrictStr = Field(description="The description of the Ezsigntemplatepackagesigner", alias="sEzsigntemplatepackagesignerDescription") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepackagesignerDescription"] + s_user_name: Optional[StrictStr] = Field(default=None, description="The description of the User in the language of the requester", alias="sUserName") + s_usergroup_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatepackageID", "fkiEzdoctemplatedocumentID", "fkiUserID", "fkiUsergroupID", "sEzdoctemplatedocumentNameX", "bEzsigntemplatepackagesignerReceivecopy", "eEzsigntemplatepackagesignerMapping", "sEzsigntemplatepackagesignerDescription", "sUserName", "sUsergroupNameX"] + + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_usergroup_name_x') + def s_usergroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value model_config = ConfigDict( populate_by_name=True, @@ -86,7 +115,15 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatepackagesignerID": obj.get("pkiEzsigntemplatepackagesignerID"), "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), - "sEzsigntemplatepackagesignerDescription": obj.get("sEzsigntemplatepackagesignerDescription") + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "bEzsigntemplatepackagesignerReceivecopy": obj.get("bEzsigntemplatepackagesignerReceivecopy"), + "eEzsigntemplatepackagesignerMapping": obj.get("eEzsigntemplatepackagesignerMapping") if obj.get("eEzsigntemplatepackagesignerMapping") is not None else FieldEEzsigntemplatepackagesignerMapping.MANUAL, + "sEzsigntemplatepackagesignerDescription": obj.get("sEzsigntemplatepackagesignerDescription"), + "sUserName": obj.get("sUserName"), + "sUsergroupNameX": obj.get("sUsergroupNameX") }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackagesignermembership_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplatepackagesignermembership_create_object_v1_request.py index e612afbcf..9ee421475 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_create_object_v1_request.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepackagesignermembership (list) _items = [] if self.a_obj_ezsigntemplatepackagesignermembership: - for _item in self.a_obj_ezsigntemplatepackagesignermembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatepackagesignermembership in self.a_obj_ezsigntemplatepackagesignermembership: + if _item_a_obj_ezsigntemplatepackagesignermembership: + _items.append(_item_a_obj_ezsigntemplatepackagesignermembership.to_dict()) _dict['a_objEzsigntemplatepackagesignermembership'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_request.py b/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_request.py new file mode 100644 index 000000000..122ea8e8b --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_request.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsignsigner_request_compound import EzsignsignerRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicCreateEzsignfolderV1Request(BaseModel): + """ + Request for POST /1/object/ezsigntemplatepublic/createEzsignfolder + """ # noqa: E501 + pks_ezmaxcustomer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The Ezmaxcustomer code", alias="pksEzmaxcustomerCode") + s_ezsigntemplatepublic_referenceid: Annotated[str, Field(strict=True)] = Field(description="The referenceid of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicReferenceid") + a_s_ezsigntemplatesigner_description: List[Annotated[str, Field(strict=True)]] = Field(alias="a_sEzsigntemplatesignerDescription") + a_obj_ezsignsigner: List[EzsignsignerRequestCompound] = Field(alias="a_objEzsignsigner") + __properties: ClassVar[List[str]] = ["pksEzmaxcustomerCode", "sEzsigntemplatepublicReferenceid", "a_sEzsigntemplatesignerDescription", "a_objEzsignsigner"] + + @field_validator('pks_ezmaxcustomer_code') + def pks_ezmaxcustomer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[a-z\d]{2,6}$", value): + raise ValueError(r"must validate the regular expression /^[a-z\d]{2,6}$/") + return value + + @field_validator('s_ezsigntemplatepublic_referenceid') + def s_ezsigntemplatepublic_referenceid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,36}$", value): + raise ValueError(r"must validate the regular expression /^.{0,36}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateEzsignfolderV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignsigner (list) + _items = [] + if self.a_obj_ezsignsigner: + for _item_a_obj_ezsignsigner in self.a_obj_ezsignsigner: + if _item_a_obj_ezsignsigner: + _items.append(_item_a_obj_ezsignsigner.to_dict()) + _dict['a_objEzsignsigner'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateEzsignfolderV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pksEzmaxcustomerCode": obj.get("pksEzmaxcustomerCode"), + "sEzsigntemplatepublicReferenceid": obj.get("sEzsigntemplatepublicReferenceid"), + "a_sEzsigntemplatesignerDescription": obj.get("a_sEzsigntemplatesignerDescription"), + "a_objEzsignsigner": [EzsignsignerRequestCompound.from_dict(_item) for _item in obj["a_objEzsignsigner"]] if obj.get("a_objEzsignsigner") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response.py new file mode 100644 index 000000000..690265451 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload import EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicCreateEzsignfolderV1Response(BaseModel): + """ + Response for POST /1/object/ezsigntemplatepublic/createEzsignfolder + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateEzsignfolderV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateEzsignfolderV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.py new file mode 100644 index 000000000..31b29a620 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/ezsigntemplatepublic/createEzsignfolder + """ # noqa: E501 + s_ezsigntemplatepublic_signingurl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url to sign the Ezsignfolder created by the Ezsigntemplatepublic. Only used when fkiUserLogintypeID is **No validation** or **Sms only**", alias="sEzsigntemplatepublicSigningurl") + __properties: ClassVar[List[str]] = ["sEzsigntemplatepublicSigningurl"] + + @field_validator('s_ezsigntemplatepublic_signingurl') + def s_ezsigntemplatepublic_signingurl_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sEzsigntemplatepublicSigningurl": obj.get("sEzsigntemplatepublicSigningurl") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_request.py new file mode 100644 index 000000000..9cb9da3af --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsigntemplatepublic_request_compound import EzsigntemplatepublicRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicCreateObjectV1Request(BaseModel): + """ + Request for POST /1/object/ezsigntemplatepublic + """ # noqa: E501 + a_obj_ezsigntemplatepublic: Annotated[List[EzsigntemplatepublicRequestCompound], Field(min_length=1)] = Field(alias="a_objEzsigntemplatepublic") + __properties: ClassVar[List[str]] = ["a_objEzsigntemplatepublic"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepublic (list) + _items = [] + if self.a_obj_ezsigntemplatepublic: + for _item_a_obj_ezsigntemplatepublic in self.a_obj_ezsigntemplatepublic: + if _item_a_obj_ezsigntemplatepublic: + _items.append(_item_a_obj_ezsigntemplatepublic.to_dict()) + _dict['a_objEzsigntemplatepublic'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsigntemplatepublic": [EzsigntemplatepublicRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatepublic"]] if obj.get("a_objEzsigntemplatepublic") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response.py new file mode 100644 index 000000000..57dcd436f --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response_m_payload import EzsigntemplatepublicCreateObjectV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicCreateObjectV1Response(BaseModel): + """ + Response for POST /1/object/ezsigntemplatepublic + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatepublicCreateObjectV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatepublicCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..0af082924 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicCreateObjectV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/ezsigntemplatepublic + """ # noqa: E501 + a_pki_ezsigntemplatepublic_id: List[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsigntemplatepublicID") + __properties: ClassVar[List[str]] = ["a_pkiEzsigntemplatepublicID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateObjectV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicCreateObjectV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzsigntemplatepublicID": obj.get("a_pkiEzsigntemplatepublicID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_request.py b/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_request.py new file mode 100644 index 000000000..5782fe5e8 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepublic_request_compound import EzsigntemplatepublicRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicEditObjectV1Request(BaseModel): + """ + Request for PUT /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} + """ # noqa: E501 + obj_ezsigntemplatepublic: EzsigntemplatepublicRequestCompound = Field(alias="objEzsigntemplatepublic") + __properties: ClassVar[List[str]] = ["objEzsigntemplatepublic"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicEditObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplatepublic + if self.obj_ezsigntemplatepublic: + _dict['objEzsigntemplatepublic'] = self.obj_ezsigntemplatepublic.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicEditObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsigntemplatepublic": EzsigntemplatepublicRequestCompound.from_dict(obj["objEzsigntemplatepublic"]) if obj.get("objEzsigntemplatepublic") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_response.py new file mode 100644 index 000000000..762d38086 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicEditObjectV1Response(BaseModel): + """ + Response for PUT /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicEditObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicEditObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request.py b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request.py new file mode 100644 index 000000000..0a6d41cbb --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request(BaseModel): + """ + Request for POST /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails + """ # noqa: E501 + pks_ezmaxcustomer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The Ezmaxcustomer code", alias="pksEzmaxcustomerCode") + s_ezsigntemplatepublic_referenceid: Annotated[str, Field(strict=True)] = Field(description="The referenceid of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicReferenceid") + __properties: ClassVar[List[str]] = ["pksEzmaxcustomerCode", "sEzsigntemplatepublicReferenceid"] + + @field_validator('pks_ezmaxcustomer_code') + def pks_ezmaxcustomer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[a-z\d]{2,6}$", value): + raise ValueError(r"must validate the regular expression /^[a-z\d]{2,6}$/") + return value + + @field_validator('s_ezsigntemplatepublic_referenceid') + def s_ezsigntemplatepublic_referenceid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,36}$", value): + raise ValueError(r"must validate the regular expression /^.{0,36}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pksEzmaxcustomerCode": obj.get("pksEzmaxcustomerCode"), + "sEzsigntemplatepublicReferenceid": obj.get("sEzsigntemplatepublicReferenceid") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py new file mode 100644 index 000000000..e35a960ea --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response(BaseModel): + """ + Response for POST /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py new file mode 100644 index 000000000..0dde6fe95 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.custom_branding_response import CustomBrandingResponse +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails + """ # noqa: E501 + obj_branding: Optional[CustomBrandingResponse] = Field(default=None, alias="objBranding") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + a_s_ezsigntemplatesigner_description: List[Annotated[str, Field(strict=True)]] = Field(alias="a_sEzsigntemplatesignerDescription") + __properties: ClassVar[List[str]] = ["objBranding", "fkiUserlogintypeID", "a_sEzsigntemplatesignerDescription"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_branding + if self.obj_branding: + _dict['objBranding'] = self.obj_branding.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objBranding": CustomBrandingResponse.from_dict(obj["objBranding"]) if obj.get("objBranding") is not None else None, + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "a_sEzsigntemplatesignerDescription": obj.get("a_sEzsigntemplatesignerDescription") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response.py new file mode 100644 index 000000000..763139449 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response_m_payload import EzsigntemplatepublicGetFormsDataV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicGetFormsDataV1Response(BaseModel): + """ + Response for GET /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/getFormsData + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatepublicGetFormsDataV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetFormsDataV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetFormsDataV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatepublicGetFormsDataV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response_m_payload.py new file mode 100644 index 000000000..7cacfe0c3 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_forms_data_folder_response import CustomFormsDataFolderResponse +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicGetFormsDataV1ResponseMPayload(BaseModel): + """ + Payload for GET/1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/getFormsData + """ # noqa: E501 + a_obj_forms_data_folder: List[CustomFormsDataFolderResponse] = Field(alias="a_objFormsDataFolder") + __properties: ClassVar[List[str]] = ["a_objFormsDataFolder"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetFormsDataV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_forms_data_folder (list) + _items = [] + if self.a_obj_forms_data_folder: + for _item_a_obj_forms_data_folder in self.a_obj_forms_data_folder: + if _item_a_obj_forms_data_folder: + _items.append(_item_a_obj_forms_data_folder.to_dict()) + _dict['a_objFormsDataFolder'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetFormsDataV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objFormsDataFolder": [CustomFormsDataFolderResponse.from_dict(_item) for _item in obj["a_objFormsDataFolder"]] if obj.get("a_objFormsDataFolder") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response.py new file mode 100644 index 000000000..a8d106643 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload import EzsigntemplatepublicGetListV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicGetListV1Response(BaseModel): + """ + Response for GET /1/object/ezsigntemplatepublic/getList + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatepublicGetListV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayloadGetList.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatepublicGetListV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response_m_payload.py new file mode 100644 index 000000000..398b0d372 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response_m_payload.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepublic_list_element import EzsigntemplatepublicListElement +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicGetListV1ResponseMPayload(BaseModel): + """ + Payload for GET /1/object/ezsigntemplatepublic/getList + """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") + a_obj_ezsigntemplatepublic: List[EzsigntemplatepublicListElement] = Field(alias="a_objEzsigntemplatepublic") + __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objEzsigntemplatepublic"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatepublic (list) + _items = [] + if self.a_obj_ezsigntemplatepublic: + for _item_a_obj_ezsigntemplatepublic in self.a_obj_ezsigntemplatepublic: + if _item_a_obj_ezsigntemplatepublic: + _items.append(_item_a_obj_ezsigntemplatepublic.to_dict()) + _dict['a_objEzsigntemplatepublic'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iRowReturned": obj.get("iRowReturned"), + "iRowFiltered": obj.get("iRowFiltered"), + "a_objEzsigntemplatepublic": [EzsigntemplatepublicListElement.from_dict(_item) for _item in obj["a_objEzsigntemplatepublic"]] if obj.get("a_objEzsigntemplatepublic") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response.py new file mode 100644 index 000000000..c47be0382 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response_m_payload import EzsigntemplatepublicGetObjectV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicGetObjectV2Response(BaseModel): + """ + Response for GET /2/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatepublicGetObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatepublicGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..eb315fbdc --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepublic_response_compound import EzsigntemplatepublicResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicGetObjectV2ResponseMPayload(BaseModel): + """ + Payload for GET /2/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} + """ # noqa: E501 + obj_ezsigntemplatepublic: EzsigntemplatepublicResponseCompound = Field(alias="objEzsigntemplatepublic") + __properties: ClassVar[List[str]] = ["objEzsigntemplatepublic"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplatepublic + if self.obj_ezsigntemplatepublic: + _dict['objEzsigntemplatepublic'] = self.obj_ezsigntemplatepublic.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicGetObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsigntemplatepublic": EzsigntemplatepublicResponseCompound.from_dict(obj["objEzsigntemplatepublic"]) if obj.get("objEzsigntemplatepublic") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_list_element.py b/eZmaxApi/models/ezsigntemplatepublic_list_element.py new file mode 100644 index 000000000..1ec03b912 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_list_element.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicListElement(BaseModel): + """ + A Ezsigntemplatepublic List Element + """ # noqa: E501 + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepublic", alias="pkiEzsigntemplatepublicID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + s_ezsignfoldertype_name_x: StrictStr = Field(description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + fki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + s_ezsigntemplatepublic_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicDescription") + b_ezsigntemplatepublic_isactive: StrictBool = Field(description="Whether the ezsigntemplatepublic is active or not", alias="bEzsigntemplatepublicIsactive") + t_ezsigntemplatepublic_note: Annotated[str, Field(strict=True)] = Field(description="The note of the Ezsigntemplatepublic", alias="tEzsigntemplatepublicNote") + e_ezsigntemplatepublic_limittype: FieldEEzsigntemplatepublicLimittype = Field(alias="eEzsigntemplatepublicLimittype") + i_ezsigntemplatepublic_limit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limit of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimit") + i_ezsigntemplatepublic_limitexceeded: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limitexceeded of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimitexceeded") + dt_ezsigntemplatepublic_limitexceededsince: Annotated[str, Field(strict=True)] = Field(description="The limitexceededsince of the Ezsigntemplatepublic", alias="dtEzsigntemplatepublicLimitexceededsince") + i_ezsignfolder: StrictInt = Field(description="The total number of Ezsignfolders using the Ezsigntemplatepublic", alias="iEzsignfolder") + i_ezsigndocument: StrictInt = Field(description="The total number of Ezsigndocuments using the Ezsigntemplatepublic", alias="iEzsigndocument") + s_ezsigntemplatepublic_ezsigntemplatedescription: Annotated[str, Field(strict=True)] = Field(description="The Ezsigntemplate/Ezsigntemplatepackage description", alias="sEzsigntemplatepublicEzsigntemplatedescription") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepublicID", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "fkiUserlogintypeID", "fkiEzsigntemplateID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepublicDescription", "bEzsigntemplatepublicIsactive", "tEzsigntemplatepublicNote", "eEzsigntemplatepublicLimittype", "iEzsigntemplatepublicLimit", "iEzsigntemplatepublicLimitexceeded", "dtEzsigntemplatepublicLimitexceededsince", "iEzsignfolder", "iEzsigndocument", "sEzsigntemplatepublicEzsigntemplatedescription"] + + @field_validator('s_ezsigntemplatepublic_description') + def s_ezsigntemplatepublic_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('t_ezsigntemplatepublic_note') + def t_ezsigntemplatepublic_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + + @field_validator('dt_ezsigntemplatepublic_limitexceededsince') + def dt_ezsigntemplatepublic_limitexceededsince_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('s_ezsigntemplatepublic_ezsigntemplatedescription') + def s_ezsigntemplatepublic_ezsigntemplatedescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,80}$", value): + raise ValueError(r"must validate the regular expression /^.{1,80}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicListElement from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicListElement from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepublicID": obj.get("pkiEzsigntemplatepublicID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "sEzsigntemplatepublicDescription": obj.get("sEzsigntemplatepublicDescription"), + "bEzsigntemplatepublicIsactive": obj.get("bEzsigntemplatepublicIsactive"), + "tEzsigntemplatepublicNote": obj.get("tEzsigntemplatepublicNote"), + "eEzsigntemplatepublicLimittype": obj.get("eEzsigntemplatepublicLimittype"), + "iEzsigntemplatepublicLimit": obj.get("iEzsigntemplatepublicLimit"), + "iEzsigntemplatepublicLimitexceeded": obj.get("iEzsigntemplatepublicLimitexceeded"), + "dtEzsigntemplatepublicLimitexceededsince": obj.get("dtEzsigntemplatepublicLimitexceededsince"), + "iEzsignfolder": obj.get("iEzsignfolder"), + "iEzsigndocument": obj.get("iEzsigndocument"), + "sEzsigntemplatepublicEzsigntemplatedescription": obj.get("sEzsigntemplatepublicEzsigntemplatedescription") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_request.py b/eZmaxApi/models/ezsigntemplatepublic_request.py new file mode 100644 index 000000000..101c86200 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_request.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicRequest(BaseModel): + """ + A Ezsigntemplatepublic Object + """ # noqa: E501 + pki_ezsigntemplatepublic_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepublic", alias="pkiEzsigntemplatepublicID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + fki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + s_ezsigntemplatepublic_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicDescription") + b_ezsigntemplatepublic_isactive: StrictBool = Field(description="Whether the ezsigntemplatepublic is active or not", alias="bEzsigntemplatepublicIsactive") + t_ezsigntemplatepublic_note: Annotated[str, Field(strict=True)] = Field(description="The note of the Ezsigntemplatepublic", alias="tEzsigntemplatepublicNote") + e_ezsigntemplatepublic_limittype: FieldEEzsigntemplatepublicLimittype = Field(alias="eEzsigntemplatepublicLimittype") + i_ezsigntemplatepublic_limit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limit of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimit") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepublicID", "fkiEzsignfoldertypeID", "fkiUserlogintypeID", "fkiEzsigntemplateID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepublicDescription", "bEzsigntemplatepublicIsactive", "tEzsigntemplatepublicNote", "eEzsigntemplatepublicLimittype", "iEzsigntemplatepublicLimit"] + + @field_validator('s_ezsigntemplatepublic_description') + def s_ezsigntemplatepublic_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('t_ezsigntemplatepublic_note') + def t_ezsigntemplatepublic_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepublicID": obj.get("pkiEzsigntemplatepublicID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "sEzsigntemplatepublicDescription": obj.get("sEzsigntemplatepublicDescription"), + "bEzsigntemplatepublicIsactive": obj.get("bEzsigntemplatepublicIsactive"), + "tEzsigntemplatepublicNote": obj.get("tEzsigntemplatepublicNote"), + "eEzsigntemplatepublicLimittype": obj.get("eEzsigntemplatepublicLimittype"), + "iEzsigntemplatepublicLimit": obj.get("iEzsigntemplatepublicLimit") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_request_compound.py b/eZmaxApi/models/ezsigntemplatepublic_request_compound.py new file mode 100644 index 000000000..7c47e623c --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_request_compound.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicRequestCompound(BaseModel): + """ + A Ezsigntemplatepublic Object and children + """ # noqa: E501 + pki_ezsigntemplatepublic_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepublic", alias="pkiEzsigntemplatepublicID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + fki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + s_ezsigntemplatepublic_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicDescription") + b_ezsigntemplatepublic_isactive: StrictBool = Field(description="Whether the ezsigntemplatepublic is active or not", alias="bEzsigntemplatepublicIsactive") + t_ezsigntemplatepublic_note: Annotated[str, Field(strict=True)] = Field(description="The note of the Ezsigntemplatepublic", alias="tEzsigntemplatepublicNote") + e_ezsigntemplatepublic_limittype: FieldEEzsigntemplatepublicLimittype = Field(alias="eEzsigntemplatepublicLimittype") + i_ezsigntemplatepublic_limit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limit of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimit") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepublicID", "fkiEzsignfoldertypeID", "fkiUserlogintypeID", "fkiEzsigntemplateID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepublicDescription", "bEzsigntemplatepublicIsactive", "tEzsigntemplatepublicNote", "eEzsigntemplatepublicLimittype", "iEzsigntemplatepublicLimit"] + + @field_validator('s_ezsigntemplatepublic_description') + def s_ezsigntemplatepublic_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('t_ezsigntemplatepublic_note') + def t_ezsigntemplatepublic_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepublicID": obj.get("pkiEzsigntemplatepublicID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "sEzsigntemplatepublicDescription": obj.get("sEzsigntemplatepublicDescription"), + "bEzsigntemplatepublicIsactive": obj.get("bEzsigntemplatepublicIsactive"), + "tEzsigntemplatepublicNote": obj.get("tEzsigntemplatepublicNote"), + "eEzsigntemplatepublicLimittype": obj.get("eEzsigntemplatepublicLimittype"), + "iEzsigntemplatepublicLimit": obj.get("iEzsigntemplatepublicLimit") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py new file mode 100644 index 000000000..3c501d3e3 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload import EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicResetLimitExceededCounterV1Response(BaseModel): + """ + Response for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetLimitExceededCounter + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResetLimitExceededCounterV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResetLimitExceededCounterV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.py new file mode 100644 index 000000000..a558c142f --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetLimitExceededCounter + """ # noqa: E501 + dt_ezsigntemplatepublic_limitexceededsince: Annotated[str, Field(strict=True)] = Field(description="The limitexceededsince of the Ezsigntemplatepublic", alias="dtEzsigntemplatepublicLimitexceededsince") + __properties: ClassVar[List[str]] = ["dtEzsigntemplatepublicLimitexceededsince"] + + @field_validator('dt_ezsigntemplatepublic_limitexceededsince') + def dt_ezsigntemplatepublic_limitexceededsince_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dtEzsigntemplatepublicLimitexceededsince": obj.get("dtEzsigntemplatepublicLimitexceededsince") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response.py new file mode 100644 index 000000000..9e4c3dace --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response_m_payload import EzsigntemplatepublicResetUrlV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicResetUrlV1Response(BaseModel): + """ + Response for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetUrl + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatepublicResetUrlV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResetUrlV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResetUrlV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatepublicResetUrlV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response_m_payload.py new file mode 100644 index 000000000..c57814f51 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicResetUrlV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetUrl + """ # noqa: E501 + s_ezsigntemplatepublic_url: Annotated[str, Field(strict=True)] = Field(description="The url of the Ezsigntemplatepublic You can add these value as query parameters to prefill the corresponding role |Parameter|Description| |-|-| |sEzsigntemplatesignerDescription|The role to fill| |sContactFirstname|The contact firstname| |sContactLastname|The contact lastname| |sEmailAddress|The contact email| |sPhoneE164|The contact phone number| |sPhoneE164Cell|The contact cell phone number|", alias="sEzsigntemplatepublicUrl") + __properties: ClassVar[List[str]] = ["sEzsigntemplatepublicUrl"] + + @field_validator('s_ezsigntemplatepublic_url') + def s_ezsigntemplatepublic_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResetUrlV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResetUrlV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sEzsigntemplatepublicUrl": obj.get("sEzsigntemplatepublicUrl") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_response.py b/eZmaxApi/models/ezsigntemplatepublic_response.py new file mode 100644 index 000000000..067c68bbb --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_response.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicResponse(BaseModel): + """ + A Ezsigntemplatepublic Object + """ # noqa: E501 + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepublic", alias="pkiEzsigntemplatepublicID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + s_ezsignfoldertype_name_x: StrictStr = Field(description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + s_userlogintype_description_x: StrictStr = Field(description="The description of the Userlogintype in the language of the requester", alias="sUserlogintypeDescriptionX") + fki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + s_ezsigntemplatepublic_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicDescription") + s_ezsigntemplatepublic_referenceid: Annotated[str, Field(strict=True)] = Field(description="The referenceid of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicReferenceid") + b_ezsigntemplatepublic_isactive: StrictBool = Field(description="Whether the ezsigntemplatepublic is active or not", alias="bEzsigntemplatepublicIsactive") + t_ezsigntemplatepublic_note: Annotated[str, Field(strict=True)] = Field(description="The note of the Ezsigntemplatepublic", alias="tEzsigntemplatepublicNote") + e_ezsigntemplatepublic_limittype: FieldEEzsigntemplatepublicLimittype = Field(alias="eEzsigntemplatepublicLimittype") + i_ezsigntemplatepublic_limit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limit of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimit") + i_ezsigntemplatepublic_limitexceeded: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limitexceeded of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimitexceeded") + dt_ezsigntemplatepublic_limitexceededsince: Annotated[str, Field(strict=True)] = Field(description="The limitexceededsince of the Ezsigntemplatepublic", alias="dtEzsigntemplatepublicLimitexceededsince") + s_ezsigntemplatepublic_url: Annotated[str, Field(strict=True)] = Field(description="The url of the Ezsigntemplatepublic You can add these value as query parameters to prefill the corresponding role |Parameter|Description| |-|-| |sEzsigntemplatesignerDescription|The role to fill| |sContactFirstname|The contact firstname| |sContactLastname|The contact lastname| |sEmailAddress|The contact email| |sPhoneE164|The contact phone number| |sPhoneE164Cell|The contact cell phone number|", alias="sEzsigntemplatepublicUrl") + s_ezsigntemplatepublic_ezsigntemplatedescription: Annotated[str, Field(strict=True)] = Field(description="The Ezsigntemplate/Ezsigntemplatepackage description", alias="sEzsigntemplatepublicEzsigntemplatedescription") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepublicID", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "fkiUserlogintypeID", "sUserlogintypeDescriptionX", "fkiEzsigntemplateID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepublicDescription", "sEzsigntemplatepublicReferenceid", "bEzsigntemplatepublicIsactive", "tEzsigntemplatepublicNote", "eEzsigntemplatepublicLimittype", "iEzsigntemplatepublicLimit", "iEzsigntemplatepublicLimitexceeded", "dtEzsigntemplatepublicLimitexceededsince", "sEzsigntemplatepublicUrl", "sEzsigntemplatepublicEzsigntemplatedescription", "objAudit"] + + @field_validator('s_ezsigntemplatepublic_description') + def s_ezsigntemplatepublic_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplatepublic_referenceid') + def s_ezsigntemplatepublic_referenceid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,36}$", value): + raise ValueError(r"must validate the regular expression /^.{0,36}$/") + return value + + @field_validator('t_ezsigntemplatepublic_note') + def t_ezsigntemplatepublic_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + + @field_validator('dt_ezsigntemplatepublic_limitexceededsince') + def dt_ezsigntemplatepublic_limitexceededsince_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('s_ezsigntemplatepublic_url') + def s_ezsigntemplatepublic_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + @field_validator('s_ezsigntemplatepublic_ezsigntemplatedescription') + def s_ezsigntemplatepublic_ezsigntemplatedescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,80}$", value): + raise ValueError(r"must validate the regular expression /^.{1,80}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepublicID": obj.get("pkiEzsigntemplatepublicID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "sUserlogintypeDescriptionX": obj.get("sUserlogintypeDescriptionX"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "sEzsigntemplatepublicDescription": obj.get("sEzsigntemplatepublicDescription"), + "sEzsigntemplatepublicReferenceid": obj.get("sEzsigntemplatepublicReferenceid"), + "bEzsigntemplatepublicIsactive": obj.get("bEzsigntemplatepublicIsactive"), + "tEzsigntemplatepublicNote": obj.get("tEzsigntemplatepublicNote"), + "eEzsigntemplatepublicLimittype": obj.get("eEzsigntemplatepublicLimittype"), + "iEzsigntemplatepublicLimit": obj.get("iEzsigntemplatepublicLimit"), + "iEzsigntemplatepublicLimitexceeded": obj.get("iEzsigntemplatepublicLimitexceeded"), + "dtEzsigntemplatepublicLimitexceededsince": obj.get("dtEzsigntemplatepublicLimitexceededsince"), + "sEzsigntemplatepublicUrl": obj.get("sEzsigntemplatepublicUrl"), + "sEzsigntemplatepublicEzsigntemplatedescription": obj.get("sEzsigntemplatepublicEzsigntemplatedescription"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatepublic_response_compound.py b/eZmaxApi/models/ezsigntemplatepublic_response_compound.py new file mode 100644 index 000000000..32fee8654 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatepublic_response_compound.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_response import CustomEzsignfolderezsigntemplatepublicResponse +from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatepublicResponseCompound(BaseModel): + """ + A Ezsigntemplatepublic Object + """ # noqa: E501 + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepublic", alias="pkiEzsigntemplatepublicID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + s_ezsignfoldertype_name_x: StrictStr = Field(description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + s_userlogintype_description_x: StrictStr = Field(description="The description of the Userlogintype in the language of the requester", alias="sUserlogintypeDescriptionX") + fki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + s_ezsigntemplatepublic_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicDescription") + s_ezsigntemplatepublic_referenceid: Annotated[str, Field(strict=True)] = Field(description="The referenceid of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicReferenceid") + b_ezsigntemplatepublic_isactive: StrictBool = Field(description="Whether the ezsigntemplatepublic is active or not", alias="bEzsigntemplatepublicIsactive") + t_ezsigntemplatepublic_note: Annotated[str, Field(strict=True)] = Field(description="The note of the Ezsigntemplatepublic", alias="tEzsigntemplatepublicNote") + e_ezsigntemplatepublic_limittype: FieldEEzsigntemplatepublicLimittype = Field(alias="eEzsigntemplatepublicLimittype") + i_ezsigntemplatepublic_limit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limit of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimit") + i_ezsigntemplatepublic_limitexceeded: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limitexceeded of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimitexceeded") + dt_ezsigntemplatepublic_limitexceededsince: Annotated[str, Field(strict=True)] = Field(description="The limitexceededsince of the Ezsigntemplatepublic", alias="dtEzsigntemplatepublicLimitexceededsince") + s_ezsigntemplatepublic_url: Annotated[str, Field(strict=True)] = Field(description="The url of the Ezsigntemplatepublic You can add these value as query parameters to prefill the corresponding role |Parameter|Description| |-|-| |sEzsigntemplatesignerDescription|The role to fill| |sContactFirstname|The contact firstname| |sContactLastname|The contact lastname| |sEmailAddress|The contact email| |sPhoneE164|The contact phone number| |sPhoneE164Cell|The contact cell phone number|", alias="sEzsigntemplatepublicUrl") + s_ezsigntemplatepublic_ezsigntemplatedescription: Annotated[str, Field(strict=True)] = Field(description="The Ezsigntemplate/Ezsigntemplatepackage description", alias="sEzsigntemplatepublicEzsigntemplatedescription") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") + a_obj_ezsignfolderezsigntemplatepublic: List[CustomEzsignfolderezsigntemplatepublicResponse] = Field(alias="a_objEzsignfolderezsigntemplatepublic") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepublicID", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "fkiUserlogintypeID", "sUserlogintypeDescriptionX", "fkiEzsigntemplateID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepublicDescription", "sEzsigntemplatepublicReferenceid", "bEzsigntemplatepublicIsactive", "tEzsigntemplatepublicNote", "eEzsigntemplatepublicLimittype", "iEzsigntemplatepublicLimit", "iEzsigntemplatepublicLimitexceeded", "dtEzsigntemplatepublicLimitexceededsince", "sEzsigntemplatepublicUrl", "sEzsigntemplatepublicEzsigntemplatedescription", "objAudit", "a_objEzsignfolderezsigntemplatepublic"] + + @field_validator('s_ezsigntemplatepublic_description') + def s_ezsigntemplatepublic_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplatepublic_referenceid') + def s_ezsigntemplatepublic_referenceid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,36}$", value): + raise ValueError(r"must validate the regular expression /^.{0,36}$/") + return value + + @field_validator('t_ezsigntemplatepublic_note') + def t_ezsigntemplatepublic_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + + @field_validator('dt_ezsigntemplatepublic_limitexceededsince') + def dt_ezsigntemplatepublic_limitexceededsince_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('s_ezsigntemplatepublic_url') + def s_ezsigntemplatepublic_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + @field_validator('s_ezsigntemplatepublic_ezsigntemplatedescription') + def s_ezsigntemplatepublic_ezsigntemplatedescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,80}$", value): + raise ValueError(r"must validate the regular expression /^.{1,80}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignfolderezsigntemplatepublic (list) + _items = [] + if self.a_obj_ezsignfolderezsigntemplatepublic: + for _item_a_obj_ezsignfolderezsigntemplatepublic in self.a_obj_ezsignfolderezsigntemplatepublic: + if _item_a_obj_ezsignfolderezsigntemplatepublic: + _items.append(_item_a_obj_ezsignfolderezsigntemplatepublic.to_dict()) + _dict['a_objEzsignfolderezsigntemplatepublic'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatepublicResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepublicID": obj.get("pkiEzsigntemplatepublicID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "sUserlogintypeDescriptionX": obj.get("sUserlogintypeDescriptionX"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "sEzsigntemplatepublicDescription": obj.get("sEzsigntemplatepublicDescription"), + "sEzsigntemplatepublicReferenceid": obj.get("sEzsigntemplatepublicReferenceid"), + "bEzsigntemplatepublicIsactive": obj.get("bEzsigntemplatepublicIsactive"), + "tEzsigntemplatepublicNote": obj.get("tEzsigntemplatepublicNote"), + "eEzsigntemplatepublicLimittype": obj.get("eEzsigntemplatepublicLimittype"), + "iEzsigntemplatepublicLimit": obj.get("iEzsigntemplatepublicLimit"), + "iEzsigntemplatepublicLimitexceeded": obj.get("iEzsigntemplatepublicLimitexceeded"), + "dtEzsigntemplatepublicLimitexceededsince": obj.get("dtEzsigntemplatepublicLimitexceededsince"), + "sEzsigntemplatepublicUrl": obj.get("sEzsigntemplatepublicUrl"), + "sEzsigntemplatepublicEzsigntemplatedescription": obj.get("sEzsigntemplatepublicEzsigntemplatedescription"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "a_objEzsignfolderezsigntemplatepublic": [CustomEzsignfolderezsigntemplatepublicResponse.from_dict(_item) for _item in obj["a_objEzsignfolderezsigntemplatepublic"]] if obj.get("a_objEzsignfolderezsigntemplatepublic") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignature_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplatesignature_create_object_v1_request.py deleted file mode 100644 index 7ea0bf488..000000000 --- a/eZmaxApi/models/ezsigntemplatesignature_create_object_v1_request.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from eZmaxApi.models.ezsigntemplatesignature_request_compound import EzsigntemplatesignatureRequestCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplatesignatureCreateObjectV1Request(BaseModel): - """ - Request for POST /1/object/ezsigntemplatesignature - """ # noqa: E501 - a_obj_ezsigntemplatesignature: Annotated[List[EzsigntemplatesignatureRequestCompound], Field(min_length=1)] = Field(alias="a_objEzsigntemplatesignature") - __properties: ClassVar[List[str]] = ["a_objEzsigntemplatesignature"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureCreateObjectV1Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesignature (list) - _items = [] - if self.a_obj_ezsigntemplatesignature: - for _item in self.a_obj_ezsigntemplatesignature: - if _item: - _items.append(_item.to_dict()) - _dict['a_objEzsigntemplatesignature'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureCreateObjectV1Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_objEzsigntemplatesignature": [EzsigntemplatesignatureRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatesignature"]] if obj.get("a_objEzsigntemplatesignature") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplatesignature_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatesignature_create_object_v1_response.py deleted file mode 100644 index 8d4799f1e..000000000 --- a/eZmaxApi/models/ezsigntemplatesignature_create_object_v1_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response_m_payload import EzsigntemplatesignatureCreateObjectV1ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplatesignatureCreateObjectV1Response(BaseModel): - """ - Response for POST /1/object/ezsigntemplatesignature - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsigntemplatesignatureCreateObjectV1ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureCreateObjectV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureCreateObjectV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsigntemplatesignatureCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplatesignature_create_object_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatesignature_create_object_v1_response_m_payload.py deleted file mode 100644 index 9d5ce5305..000000000 --- a/eZmaxApi/models/ezsigntemplatesignature_create_object_v1_response_m_payload.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplatesignatureCreateObjectV1ResponseMPayload(BaseModel): - """ - Payload for POST /1/object/ezsigntemplatesignature - """ # noqa: E501 - a_pki_ezsigntemplatesignature_id: Annotated[List[Annotated[int, Field(strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsigntemplatesignatureID") - __properties: ClassVar[List[str]] = ["a_pkiEzsigntemplatesignatureID"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureCreateObjectV1ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureCreateObjectV1ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "a_pkiEzsigntemplatesignatureID": obj.get("a_pkiEzsigntemplatesignatureID") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_request.py b/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_request.py new file mode 100644 index 000000000..4dd636140 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.ezsigntemplatesignature_request_compound_v2 import EzsigntemplatesignatureRequestCompoundV2 +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignatureCreateObjectV2Request(BaseModel): + """ + Request for POST /2/object/ezsigntemplatesignature + """ # noqa: E501 + a_obj_ezsigntemplatesignature: Annotated[List[EzsigntemplatesignatureRequestCompoundV2], Field(min_length=1)] = Field(alias="a_objEzsigntemplatesignature") + __properties: ClassVar[List[str]] = ["a_objEzsigntemplatesignature"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureCreateObjectV2Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesignature (list) + _items = [] + if self.a_obj_ezsigntemplatesignature: + for _item_a_obj_ezsigntemplatesignature in self.a_obj_ezsigntemplatesignature: + if _item_a_obj_ezsigntemplatesignature: + _items.append(_item_a_obj_ezsigntemplatesignature.to_dict()) + _dict['a_objEzsigntemplatesignature'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureCreateObjectV2Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objEzsigntemplatesignature": [EzsigntemplatesignatureRequestCompoundV2.from_dict(_item) for _item in obj["a_objEzsigntemplatesignature"]] if obj.get("a_objEzsigntemplatesignature") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response.py b/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response.py new file mode 100644 index 000000000..ebe96baea --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response_m_payload import EzsigntemplatesignatureCreateObjectV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignatureCreateObjectV2Response(BaseModel): + """ + Response for POST /2/object/ezsigntemplatesignature + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatesignatureCreateObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureCreateObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureCreateObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatesignatureCreateObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response_m_payload.py b/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response_m_payload.py new file mode 100644 index 000000000..33659e16b --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignatureCreateObjectV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/ezsigntemplatesignature + """ # noqa: E501 + a_pki_ezsigntemplatesignature_id: Annotated[List[Annotated[int, Field(strict=True, ge=0)]], Field(min_length=1)] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiEzsigntemplatesignatureID") + __properties: ClassVar[List[str]] = ["a_pkiEzsigntemplatesignatureID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureCreateObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureCreateObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiEzsigntemplatesignatureID": obj.get("a_pkiEzsigntemplatesignatureID") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignature_edit_object_v1_request.py b/eZmaxApi/models/ezsigntemplatesignature_edit_object_v1_request.py deleted file mode 100644 index 1985c8793..000000000 --- a/eZmaxApi/models/ezsigntemplatesignature_edit_object_v1_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatesignature_request_compound import EzsigntemplatesignatureRequestCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplatesignatureEditObjectV1Request(BaseModel): - """ - Request for PUT /1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} - """ # noqa: E501 - obj_ezsigntemplatesignature: EzsigntemplatesignatureRequestCompound = Field(alias="objEzsigntemplatesignature") - __properties: ClassVar[List[str]] = ["objEzsigntemplatesignature"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureEditObjectV1Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplatesignature - if self.obj_ezsigntemplatesignature: - _dict['objEzsigntemplatesignature'] = self.obj_ezsigntemplatesignature.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureEditObjectV1Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsigntemplatesignature": EzsigntemplatesignatureRequestCompound.from_dict(obj["objEzsigntemplatesignature"]) if obj.get("objEzsigntemplatesignature") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplatesignature_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplatesignature_edit_object_v1_response.py deleted file mode 100644 index 055654730..000000000 --- a/eZmaxApi/models/ezsigntemplatesignature_edit_object_v1_response.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplatesignatureEditObjectV1Response(BaseModel): - """ - Response for PUT /1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureEditObjectV1Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureEditObjectV1Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_request.py b/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_request.py new file mode 100644 index 000000000..9c7bd1d10 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatesignature_request_compound_v2 import EzsigntemplatesignatureRequestCompoundV2 +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignatureEditObjectV2Request(BaseModel): + """ + Request for PUT /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} + """ # noqa: E501 + obj_ezsigntemplatesignature: EzsigntemplatesignatureRequestCompoundV2 = Field(alias="objEzsigntemplatesignature") + __properties: ClassVar[List[str]] = ["objEzsigntemplatesignature"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureEditObjectV2Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplatesignature + if self.obj_ezsigntemplatesignature: + _dict['objEzsigntemplatesignature'] = self.obj_ezsigntemplatesignature.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureEditObjectV2Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsigntemplatesignature": EzsigntemplatesignatureRequestCompoundV2.from_dict(obj["objEzsigntemplatesignature"]) if obj.get("objEzsigntemplatesignature") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_response.py b/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_response.py new file mode 100644 index 000000000..635624cc7 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignatureEditObjectV2Response(BaseModel): + """ + Response for PUT /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureEditObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureEditObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignature_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatesignature_get_object_v2_response.py deleted file mode 100644 index d668c9f61..000000000 --- a/eZmaxApi/models/ezsigntemplatesignature_get_object_v2_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response_m_payload import EzsigntemplatesignatureGetObjectV2ResponseMPayload -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplatesignatureGetObjectV2Response(BaseModel): - """ - Response for GET /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} - """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") - m_payload: EzsigntemplatesignatureGetObjectV2ResponseMPayload = Field(alias="mPayload") - __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureGetObjectV2Response from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_debug_payload - if self.obj_debug_payload: - _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_debug - if self.obj_debug: - _dict['objDebug'] = self.obj_debug.to_dict() - # override the default output from pydantic by calling `to_dict()` of m_payload - if self.m_payload: - _dict['mPayload'] = self.m_payload.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureGetObjectV2Response from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, - "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsigntemplatesignatureGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplatesignature_get_object_v2_response_m_payload.py b/eZmaxApi/models/ezsigntemplatesignature_get_object_v2_response_m_payload.py deleted file mode 100644 index 598e03b6a..000000000 --- a/eZmaxApi/models/ezsigntemplatesignature_get_object_v2_response_m_payload.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatesignature_response_compound import EzsigntemplatesignatureResponseCompound -from typing import Optional, Set -from typing_extensions import Self - -class EzsigntemplatesignatureGetObjectV2ResponseMPayload(BaseModel): - """ - Payload for GET /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} - """ # noqa: E501 - obj_ezsigntemplatesignature: EzsigntemplatesignatureResponseCompound = Field(alias="objEzsigntemplatesignature") - __properties: ClassVar[List[str]] = ["objEzsigntemplatesignature"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureGetObjectV2ResponseMPayload from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplatesignature - if self.obj_ezsigntemplatesignature: - _dict['objEzsigntemplatesignature'] = self.obj_ezsigntemplatesignature.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of EzsigntemplatesignatureGetObjectV2ResponseMPayload from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objEzsigntemplatesignature": EzsigntemplatesignatureResponseCompound.from_dict(obj["objEzsigntemplatesignature"]) if obj.get("objEzsigntemplatesignature") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response.py b/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response.py new file mode 100644 index 000000000..04654a151 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response_m_payload import EzsigntemplatesignatureGetObjectV3ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignatureGetObjectV3Response(BaseModel): + """ + Response for GET /3/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigntemplatesignatureGetObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureGetObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureGetObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsigntemplatesignatureGetObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response_m_payload.py b/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..f015c5ed1 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatesignature_response_compound_v3 import EzsigntemplatesignatureResponseCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignatureGetObjectV3ResponseMPayload(BaseModel): + """ + Payload for GET /3/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} + """ # noqa: E501 + obj_ezsigntemplatesignature: EzsigntemplatesignatureResponseCompoundV3 = Field(alias="objEzsigntemplatesignature") + __properties: ClassVar[List[str]] = ["objEzsigntemplatesignature"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureGetObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsigntemplatesignature + if self.obj_ezsigntemplatesignature: + _dict['objEzsigntemplatesignature'] = self.obj_ezsigntemplatesignature.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureGetObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsigntemplatesignature": EzsigntemplatesignatureResponseCompoundV3.from_dict(obj["objEzsigntemplatesignature"]) if obj.get("objEzsigntemplatesignature") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignature_request.py b/eZmaxApi/models/ezsigntemplatesignature_request.py index 95bbe2028..cae958d83 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_request.py +++ b/eZmaxApi/models/ezsigntemplatesignature_request.py @@ -23,6 +23,7 @@ from typing_extensions import Annotated from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplatesignature_font import FieldEEzsigntemplatesignatureFont from eZmaxApi.models.field_e_ezsigntemplatesignature_positioning import FieldEEzsigntemplatesignaturePositioning @@ -40,6 +41,8 @@ class EzsigntemplatesignatureRequest(BaseModel): fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") fki_ezsigntemplatesigner_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerIDValidation") + b_ezsigntemplatesignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureHandwritten") + b_ezsigntemplatesignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureReason") e_ezsigntemplatesignature_positioning: Optional[FieldEEzsigntemplatesignaturePositioning] = Field(default=None, alias="eEzsigntemplatesignaturePositioning") i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") i_ezsigntemplatesignature_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignatureX") @@ -48,6 +51,7 @@ class EzsigntemplatesignatureRequest(BaseModel): i_ezsigntemplatesignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight.", alias="iEzsigntemplatesignatureHeight") i_ezsigntemplatesignature_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to sign", alias="iEzsigntemplatesignatureStep") e_ezsigntemplatesignature_type: FieldEEzsigntemplatesignatureType = Field(alias="eEzsigntemplatesignatureType") + e_ezsigntemplatesignature_consultationtrigger: Optional[FieldEEzsigntemplatesignatureConsultationtrigger] = Field(default=None, alias="eEzsigntemplatesignatureConsultationtrigger") t_ezsigntemplatesignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature", alias="tEzsigntemplatesignatureTooltip") e_ezsigntemplatesignature_tooltipposition: Optional[FieldEEzsigntemplatesignatureTooltipposition] = Field(default=None, alias="eEzsigntemplatesignatureTooltipposition") e_ezsigntemplatesignature_font: Optional[FieldEEzsigntemplatesignatureFont] = Field(default=None, alias="eEzsigntemplatesignatureFont") @@ -56,14 +60,16 @@ class EzsigntemplatesignatureRequest(BaseModel): s_ezsigntemplatesignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="sEzsigntemplatesignatureAttachmentdescription") i_ezsigntemplatesignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="iEzsigntemplatesignatureValidationstep") i_ezsigntemplatesignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea**", alias="iEzsigntemplatesignatureMaxlength") + s_ezsigntemplatesignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplatesignatureDefaultvalue") s_ezsigntemplatesignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea**", alias="sEzsigntemplatesignatureRegexp") e_ezsigntemplatesignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplatesignatureTextvalidation") + s_ezsigntemplatesignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplatesignatureTextvalidationcustommessage") e_ezsigntemplatesignature_dependencyrequirement: Optional[FieldEEzsigntemplatesignatureDependencyrequirement] = Field(default=None, alias="eEzsigntemplatesignatureDependencyrequirement") s_ezsigntemplatesignature_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="sEzsigntemplatesignaturePositioningpattern") i_ezsigntemplatesignature_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsetx") i_ezsigntemplatesignature_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsety") e_ezsigntemplatesignature_positioningoccurence: Optional[FieldEEzsigntemplatesignaturePositioningoccurence] = Field(default=None, alias="eEzsigntemplatesignaturePositioningoccurence") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "bEzsigntemplatesignatureRequired", "eEzsigntemplatesignatureAttachmentnamesource", "sEzsigntemplatesignatureAttachmentdescription", "iEzsigntemplatesignatureValidationstep", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "bEzsigntemplatesignatureHandwritten", "bEzsigntemplatesignatureReason", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "eEzsigntemplatesignatureConsultationtrigger", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "bEzsigntemplatesignatureRequired", "eEzsigntemplatesignatureAttachmentnamesource", "sEzsigntemplatesignatureAttachmentdescription", "iEzsigntemplatesignatureValidationstep", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureDefaultvalue", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "sEzsigntemplatesignatureTextvalidationcustommessage", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence"] @field_validator('s_ezsigntemplatesignature_regexp') def s_ezsigntemplatesignature_regexp_validate_regular_expression(cls, value): @@ -140,6 +146,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), "fkiEzsigntemplatesignerIDValidation": obj.get("fkiEzsigntemplatesignerIDValidation"), + "bEzsigntemplatesignatureHandwritten": obj.get("bEzsigntemplatesignatureHandwritten"), + "bEzsigntemplatesignatureReason": obj.get("bEzsigntemplatesignatureReason"), "eEzsigntemplatesignaturePositioning": obj.get("eEzsigntemplatesignaturePositioning"), "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), "iEzsigntemplatesignatureX": obj.get("iEzsigntemplatesignatureX"), @@ -148,6 +156,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplatesignatureHeight": obj.get("iEzsigntemplatesignatureHeight"), "iEzsigntemplatesignatureStep": obj.get("iEzsigntemplatesignatureStep"), "eEzsigntemplatesignatureType": obj.get("eEzsigntemplatesignatureType"), + "eEzsigntemplatesignatureConsultationtrigger": obj.get("eEzsigntemplatesignatureConsultationtrigger"), "tEzsigntemplatesignatureTooltip": obj.get("tEzsigntemplatesignatureTooltip"), "eEzsigntemplatesignatureTooltipposition": obj.get("eEzsigntemplatesignatureTooltipposition"), "eEzsigntemplatesignatureFont": obj.get("eEzsigntemplatesignatureFont"), @@ -156,8 +165,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsigntemplatesignatureAttachmentdescription": obj.get("sEzsigntemplatesignatureAttachmentdescription"), "iEzsigntemplatesignatureValidationstep": obj.get("iEzsigntemplatesignatureValidationstep"), "iEzsigntemplatesignatureMaxlength": obj.get("iEzsigntemplatesignatureMaxlength"), + "sEzsigntemplatesignatureDefaultvalue": obj.get("sEzsigntemplatesignatureDefaultvalue"), "sEzsigntemplatesignatureRegexp": obj.get("sEzsigntemplatesignatureRegexp"), "eEzsigntemplatesignatureTextvalidation": obj.get("eEzsigntemplatesignatureTextvalidation"), + "sEzsigntemplatesignatureTextvalidationcustommessage": obj.get("sEzsigntemplatesignatureTextvalidationcustommessage"), "eEzsigntemplatesignatureDependencyrequirement": obj.get("eEzsigntemplatesignatureDependencyrequirement"), "sEzsigntemplatesignaturePositioningpattern": obj.get("sEzsigntemplatesignaturePositioningpattern"), "iEzsigntemplatesignaturePositioningoffsetx": obj.get("iEzsigntemplatesignaturePositioningoffsetx"), diff --git a/eZmaxApi/models/ezsigntemplatesignature_request_compound.py b/eZmaxApi/models/ezsigntemplatesignature_request_compound.py index 032c3cea9..711e9fbfd 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatesignature_request_compound.py @@ -25,6 +25,7 @@ from eZmaxApi.models.ezsigntemplateelementdependency_request_compound import EzsigntemplateelementdependencyRequestCompound from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound import EzsigntemplatesignaturecustomdateRequestCompound from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplatesignature_font import FieldEEzsigntemplatesignatureFont from eZmaxApi.models.field_e_ezsigntemplatesignature_positioning import FieldEEzsigntemplatesignaturePositioning @@ -42,6 +43,8 @@ class EzsigntemplatesignatureRequestCompound(BaseModel): fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") fki_ezsigntemplatesigner_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerIDValidation") + b_ezsigntemplatesignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureHandwritten") + b_ezsigntemplatesignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureReason") e_ezsigntemplatesignature_positioning: Optional[FieldEEzsigntemplatesignaturePositioning] = Field(default=None, alias="eEzsigntemplatesignaturePositioning") i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") i_ezsigntemplatesignature_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignatureX") @@ -50,6 +53,7 @@ class EzsigntemplatesignatureRequestCompound(BaseModel): i_ezsigntemplatesignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight.", alias="iEzsigntemplatesignatureHeight") i_ezsigntemplatesignature_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to sign", alias="iEzsigntemplatesignatureStep") e_ezsigntemplatesignature_type: FieldEEzsigntemplatesignatureType = Field(alias="eEzsigntemplatesignatureType") + e_ezsigntemplatesignature_consultationtrigger: Optional[FieldEEzsigntemplatesignatureConsultationtrigger] = Field(default=None, alias="eEzsigntemplatesignatureConsultationtrigger") t_ezsigntemplatesignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature", alias="tEzsigntemplatesignatureTooltip") e_ezsigntemplatesignature_tooltipposition: Optional[FieldEEzsigntemplatesignatureTooltipposition] = Field(default=None, alias="eEzsigntemplatesignatureTooltipposition") e_ezsigntemplatesignature_font: Optional[FieldEEzsigntemplatesignatureFont] = Field(default=None, alias="eEzsigntemplatesignatureFont") @@ -58,8 +62,10 @@ class EzsigntemplatesignatureRequestCompound(BaseModel): s_ezsigntemplatesignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="sEzsigntemplatesignatureAttachmentdescription") i_ezsigntemplatesignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="iEzsigntemplatesignatureValidationstep") i_ezsigntemplatesignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea**", alias="iEzsigntemplatesignatureMaxlength") + s_ezsigntemplatesignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplatesignatureDefaultvalue") s_ezsigntemplatesignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea**", alias="sEzsigntemplatesignatureRegexp") e_ezsigntemplatesignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplatesignatureTextvalidation") + s_ezsigntemplatesignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplatesignatureTextvalidationcustommessage") e_ezsigntemplatesignature_dependencyrequirement: Optional[FieldEEzsigntemplatesignatureDependencyrequirement] = Field(default=None, alias="eEzsigntemplatesignatureDependencyrequirement") s_ezsigntemplatesignature_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="sEzsigntemplatesignaturePositioningpattern") i_ezsigntemplatesignature_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsetx") @@ -68,7 +74,7 @@ class EzsigntemplatesignatureRequestCompound(BaseModel): b_ezsigntemplatesignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**)", alias="bEzsigntemplatesignatureCustomdate") a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateRequestCompound]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "bEzsigntemplatesignatureRequired", "eEzsigntemplatesignatureAttachmentnamesource", "sEzsigntemplatesignatureAttachmentdescription", "iEzsigntemplatesignatureValidationstep", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence", "bEzsigntemplatesignatureCustomdate", "a_objEzsigntemplatesignaturecustomdate", "a_objEzsigntemplateelementdependency"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "bEzsigntemplatesignatureHandwritten", "bEzsigntemplatesignatureReason", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "eEzsigntemplatesignatureConsultationtrigger", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "bEzsigntemplatesignatureRequired", "eEzsigntemplatesignatureAttachmentnamesource", "sEzsigntemplatesignatureAttachmentdescription", "iEzsigntemplatesignatureValidationstep", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureDefaultvalue", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "sEzsigntemplatesignatureTextvalidationcustommessage", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence", "bEzsigntemplatesignatureCustomdate", "a_objEzsigntemplatesignaturecustomdate", "a_objEzsigntemplateelementdependency"] @field_validator('s_ezsigntemplatesignature_regexp') def s_ezsigntemplatesignature_regexp_validate_regular_expression(cls, value): @@ -132,16 +138,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesignaturecustomdate (list) _items = [] if self.a_obj_ezsigntemplatesignaturecustomdate: - for _item in self.a_obj_ezsigntemplatesignaturecustomdate: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatesignaturecustomdate in self.a_obj_ezsigntemplatesignaturecustomdate: + if _item_a_obj_ezsigntemplatesignaturecustomdate: + _items.append(_item_a_obj_ezsigntemplatesignaturecustomdate.to_dict()) _dict['a_objEzsigntemplatesignaturecustomdate'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateelementdependency (list) _items = [] if self.a_obj_ezsigntemplateelementdependency: - for _item in self.a_obj_ezsigntemplateelementdependency: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateelementdependency in self.a_obj_ezsigntemplateelementdependency: + if _item_a_obj_ezsigntemplateelementdependency: + _items.append(_item_a_obj_ezsigntemplateelementdependency.to_dict()) _dict['a_objEzsigntemplateelementdependency'] = _items return _dict @@ -159,6 +165,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), "fkiEzsigntemplatesignerIDValidation": obj.get("fkiEzsigntemplatesignerIDValidation"), + "bEzsigntemplatesignatureHandwritten": obj.get("bEzsigntemplatesignatureHandwritten"), + "bEzsigntemplatesignatureReason": obj.get("bEzsigntemplatesignatureReason"), "eEzsigntemplatesignaturePositioning": obj.get("eEzsigntemplatesignaturePositioning"), "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), "iEzsigntemplatesignatureX": obj.get("iEzsigntemplatesignatureX"), @@ -167,6 +175,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplatesignatureHeight": obj.get("iEzsigntemplatesignatureHeight"), "iEzsigntemplatesignatureStep": obj.get("iEzsigntemplatesignatureStep"), "eEzsigntemplatesignatureType": obj.get("eEzsigntemplatesignatureType"), + "eEzsigntemplatesignatureConsultationtrigger": obj.get("eEzsigntemplatesignatureConsultationtrigger"), "tEzsigntemplatesignatureTooltip": obj.get("tEzsigntemplatesignatureTooltip"), "eEzsigntemplatesignatureTooltipposition": obj.get("eEzsigntemplatesignatureTooltipposition"), "eEzsigntemplatesignatureFont": obj.get("eEzsigntemplatesignatureFont"), @@ -175,8 +184,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsigntemplatesignatureAttachmentdescription": obj.get("sEzsigntemplatesignatureAttachmentdescription"), "iEzsigntemplatesignatureValidationstep": obj.get("iEzsigntemplatesignatureValidationstep"), "iEzsigntemplatesignatureMaxlength": obj.get("iEzsigntemplatesignatureMaxlength"), + "sEzsigntemplatesignatureDefaultvalue": obj.get("sEzsigntemplatesignatureDefaultvalue"), "sEzsigntemplatesignatureRegexp": obj.get("sEzsigntemplatesignatureRegexp"), "eEzsigntemplatesignatureTextvalidation": obj.get("eEzsigntemplatesignatureTextvalidation"), + "sEzsigntemplatesignatureTextvalidationcustommessage": obj.get("sEzsigntemplatesignatureTextvalidationcustommessage"), "eEzsigntemplatesignatureDependencyrequirement": obj.get("eEzsigntemplatesignatureDependencyrequirement"), "sEzsigntemplatesignaturePositioningpattern": obj.get("sEzsigntemplatesignaturePositioningpattern"), "iEzsigntemplatesignaturePositioningoffsetx": obj.get("iEzsigntemplatesignaturePositioningoffsetx"), diff --git a/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py b/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py new file mode 100644 index 000000000..d0bbf5d08 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.enum_textvalidation import EnumTextvalidation +from eZmaxApi.models.ezsigntemplateelementdependency_request_compound import EzsigntemplateelementdependencyRequestCompound +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound_v2 import EzsigntemplatesignaturecustomdateRequestCompoundV2 +from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger +from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement +from eZmaxApi.models.field_e_ezsigntemplatesignature_font import FieldEEzsigntemplatesignatureFont +from eZmaxApi.models.field_e_ezsigntemplatesignature_positioning import FieldEEzsigntemplatesignaturePositioning +from eZmaxApi.models.field_e_ezsigntemplatesignature_positioningoccurence import FieldEEzsigntemplatesignaturePositioningoccurence +from eZmaxApi.models.field_e_ezsigntemplatesignature_tooltipposition import FieldEEzsigntemplatesignatureTooltipposition +from eZmaxApi.models.field_e_ezsigntemplatesignature_type import FieldEEzsigntemplatesignatureType +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignatureRequestCompoundV2(BaseModel): + """ + A Ezsigntemplatesignature Object and children + """ # noqa: E501 + pki_ezsigntemplatesignature_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesignature", alias="pkiEzsigntemplatesignatureID") + fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") + fki_ezsigntemplatesigner_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerIDValidation") + b_ezsigntemplatesignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureHandwritten") + b_ezsigntemplatesignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureReason") + e_ezsigntemplatesignature_positioning: Optional[FieldEEzsigntemplatesignaturePositioning] = Field(default=None, alias="eEzsigntemplatesignaturePositioning") + i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") + i_ezsigntemplatesignature_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignatureX") + i_ezsigntemplatesignature_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplatesignatureY") + i_ezsigntemplatesignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth.", alias="iEzsigntemplatesignatureWidth") + i_ezsigntemplatesignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight.", alias="iEzsigntemplatesignatureHeight") + i_ezsigntemplatesignature_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to sign", alias="iEzsigntemplatesignatureStep") + e_ezsigntemplatesignature_type: FieldEEzsigntemplatesignatureType = Field(alias="eEzsigntemplatesignatureType") + e_ezsigntemplatesignature_consultationtrigger: Optional[FieldEEzsigntemplatesignatureConsultationtrigger] = Field(default=None, alias="eEzsigntemplatesignatureConsultationtrigger") + t_ezsigntemplatesignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature", alias="tEzsigntemplatesignatureTooltip") + e_ezsigntemplatesignature_tooltipposition: Optional[FieldEEzsigntemplatesignatureTooltipposition] = Field(default=None, alias="eEzsigntemplatesignatureTooltipposition") + e_ezsigntemplatesignature_font: Optional[FieldEEzsigntemplatesignatureFont] = Field(default=None, alias="eEzsigntemplatesignatureFont") + b_ezsigntemplatesignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments.", alias="bEzsigntemplatesignatureRequired") + e_ezsigntemplatesignature_attachmentnamesource: Optional[FieldEEzsigntemplatesignatureAttachmentnamesource] = Field(default=None, alias="eEzsigntemplatesignatureAttachmentnamesource") + s_ezsigntemplatesignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="sEzsigntemplatesignatureAttachmentdescription") + i_ezsigntemplatesignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="iEzsigntemplatesignatureValidationstep") + i_ezsigntemplatesignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea**", alias="iEzsigntemplatesignatureMaxlength") + s_ezsigntemplatesignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplatesignatureDefaultvalue") + s_ezsigntemplatesignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea**", alias="sEzsigntemplatesignatureRegexp") + e_ezsigntemplatesignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplatesignatureTextvalidation") + s_ezsigntemplatesignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplatesignatureTextvalidationcustommessage") + e_ezsigntemplatesignature_dependencyrequirement: Optional[FieldEEzsigntemplatesignatureDependencyrequirement] = Field(default=None, alias="eEzsigntemplatesignatureDependencyrequirement") + s_ezsigntemplatesignature_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="sEzsigntemplatesignaturePositioningpattern") + i_ezsigntemplatesignature_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsetx") + i_ezsigntemplatesignature_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsety") + e_ezsigntemplatesignature_positioningoccurence: Optional[FieldEEzsigntemplatesignaturePositioningoccurence] = Field(default=None, alias="eEzsigntemplatesignaturePositioningoccurence") + b_ezsigntemplatesignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**)", alias="bEzsigntemplatesignatureCustomdate") + a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateRequestCompoundV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") + a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "bEzsigntemplatesignatureHandwritten", "bEzsigntemplatesignatureReason", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "eEzsigntemplatesignatureConsultationtrigger", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "bEzsigntemplatesignatureRequired", "eEzsigntemplatesignatureAttachmentnamesource", "sEzsigntemplatesignatureAttachmentdescription", "iEzsigntemplatesignatureValidationstep", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureDefaultvalue", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "sEzsigntemplatesignatureTextvalidationcustommessage", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence", "bEzsigntemplatesignatureCustomdate", "a_objEzsigntemplatesignaturecustomdate", "a_objEzsigntemplateelementdependency"] + + @field_validator('s_ezsigntemplatesignature_regexp') + def s_ezsigntemplatesignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + + @field_validator('s_ezsigntemplatesignature_positioningpattern') + def s_ezsigntemplatesignature_positioningpattern_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,30}$", value): + raise ValueError(r"must validate the regular expression /^.{0,30}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureRequestCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesignaturecustomdate (list) + _items = [] + if self.a_obj_ezsigntemplatesignaturecustomdate: + for _item_a_obj_ezsigntemplatesignaturecustomdate in self.a_obj_ezsigntemplatesignaturecustomdate: + if _item_a_obj_ezsigntemplatesignaturecustomdate: + _items.append(_item_a_obj_ezsigntemplatesignaturecustomdate.to_dict()) + _dict['a_objEzsigntemplatesignaturecustomdate'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateelementdependency (list) + _items = [] + if self.a_obj_ezsigntemplateelementdependency: + for _item_a_obj_ezsigntemplateelementdependency in self.a_obj_ezsigntemplateelementdependency: + if _item_a_obj_ezsigntemplateelementdependency: + _items.append(_item_a_obj_ezsigntemplateelementdependency.to_dict()) + _dict['a_objEzsigntemplateelementdependency'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureRequestCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatesignatureID": obj.get("pkiEzsigntemplatesignatureID"), + "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), + "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), + "fkiEzsigntemplatesignerIDValidation": obj.get("fkiEzsigntemplatesignerIDValidation"), + "bEzsigntemplatesignatureHandwritten": obj.get("bEzsigntemplatesignatureHandwritten"), + "bEzsigntemplatesignatureReason": obj.get("bEzsigntemplatesignatureReason"), + "eEzsigntemplatesignaturePositioning": obj.get("eEzsigntemplatesignaturePositioning"), + "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), + "iEzsigntemplatesignatureX": obj.get("iEzsigntemplatesignatureX"), + "iEzsigntemplatesignatureY": obj.get("iEzsigntemplatesignatureY"), + "iEzsigntemplatesignatureWidth": obj.get("iEzsigntemplatesignatureWidth"), + "iEzsigntemplatesignatureHeight": obj.get("iEzsigntemplatesignatureHeight"), + "iEzsigntemplatesignatureStep": obj.get("iEzsigntemplatesignatureStep"), + "eEzsigntemplatesignatureType": obj.get("eEzsigntemplatesignatureType"), + "eEzsigntemplatesignatureConsultationtrigger": obj.get("eEzsigntemplatesignatureConsultationtrigger"), + "tEzsigntemplatesignatureTooltip": obj.get("tEzsigntemplatesignatureTooltip"), + "eEzsigntemplatesignatureTooltipposition": obj.get("eEzsigntemplatesignatureTooltipposition"), + "eEzsigntemplatesignatureFont": obj.get("eEzsigntemplatesignatureFont"), + "bEzsigntemplatesignatureRequired": obj.get("bEzsigntemplatesignatureRequired"), + "eEzsigntemplatesignatureAttachmentnamesource": obj.get("eEzsigntemplatesignatureAttachmentnamesource"), + "sEzsigntemplatesignatureAttachmentdescription": obj.get("sEzsigntemplatesignatureAttachmentdescription"), + "iEzsigntemplatesignatureValidationstep": obj.get("iEzsigntemplatesignatureValidationstep"), + "iEzsigntemplatesignatureMaxlength": obj.get("iEzsigntemplatesignatureMaxlength"), + "sEzsigntemplatesignatureDefaultvalue": obj.get("sEzsigntemplatesignatureDefaultvalue"), + "sEzsigntemplatesignatureRegexp": obj.get("sEzsigntemplatesignatureRegexp"), + "eEzsigntemplatesignatureTextvalidation": obj.get("eEzsigntemplatesignatureTextvalidation"), + "sEzsigntemplatesignatureTextvalidationcustommessage": obj.get("sEzsigntemplatesignatureTextvalidationcustommessage"), + "eEzsigntemplatesignatureDependencyrequirement": obj.get("eEzsigntemplatesignatureDependencyrequirement"), + "sEzsigntemplatesignaturePositioningpattern": obj.get("sEzsigntemplatesignaturePositioningpattern"), + "iEzsigntemplatesignaturePositioningoffsetx": obj.get("iEzsigntemplatesignaturePositioningoffsetx"), + "iEzsigntemplatesignaturePositioningoffsety": obj.get("iEzsigntemplatesignaturePositioningoffsety"), + "eEzsigntemplatesignaturePositioningoccurence": obj.get("eEzsigntemplatesignaturePositioningoccurence"), + "bEzsigntemplatesignatureCustomdate": obj.get("bEzsigntemplatesignatureCustomdate"), + "a_objEzsigntemplatesignaturecustomdate": [EzsigntemplatesignaturecustomdateRequestCompoundV2.from_dict(_item) for _item in obj["a_objEzsigntemplatesignaturecustomdate"]] if obj.get("a_objEzsigntemplatesignaturecustomdate") is not None else None, + "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignature_response.py b/eZmaxApi/models/ezsigntemplatesignature_response.py index 943d5fcf7..6412de9cf 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_response.py @@ -23,6 +23,7 @@ from typing_extensions import Annotated from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplatesignature_font import FieldEEzsigntemplatesignatureFont from eZmaxApi.models.field_e_ezsigntemplatesignature_positioning import FieldEEzsigntemplatesignaturePositioning @@ -40,6 +41,8 @@ class EzsigntemplatesignatureResponse(BaseModel): fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") fki_ezsigntemplatesigner_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerIDValidation") + b_ezsigntemplatesignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureHandwritten") + b_ezsigntemplatesignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureReason") e_ezsigntemplatesignature_positioning: Optional[FieldEEzsigntemplatesignaturePositioning] = Field(default=None, alias="eEzsigntemplatesignaturePositioning") i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") i_ezsigntemplatesignature_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignatureX") @@ -48,6 +51,7 @@ class EzsigntemplatesignatureResponse(BaseModel): i_ezsigntemplatesignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight.", alias="iEzsigntemplatesignatureHeight") i_ezsigntemplatesignature_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to sign", alias="iEzsigntemplatesignatureStep") e_ezsigntemplatesignature_type: FieldEEzsigntemplatesignatureType = Field(alias="eEzsigntemplatesignatureType") + e_ezsigntemplatesignature_consultationtrigger: Optional[FieldEEzsigntemplatesignatureConsultationtrigger] = Field(default=None, alias="eEzsigntemplatesignatureConsultationtrigger") t_ezsigntemplatesignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature", alias="tEzsigntemplatesignatureTooltip") e_ezsigntemplatesignature_tooltipposition: Optional[FieldEEzsigntemplatesignatureTooltipposition] = Field(default=None, alias="eEzsigntemplatesignatureTooltipposition") e_ezsigntemplatesignature_font: Optional[FieldEEzsigntemplatesignatureFont] = Field(default=None, alias="eEzsigntemplatesignatureFont") @@ -56,14 +60,16 @@ class EzsigntemplatesignatureResponse(BaseModel): e_ezsigntemplatesignature_attachmentnamesource: Optional[FieldEEzsigntemplatesignatureAttachmentnamesource] = Field(default=None, alias="eEzsigntemplatesignatureAttachmentnamesource") b_ezsigntemplatesignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments.", alias="bEzsigntemplatesignatureRequired") i_ezsigntemplatesignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea**", alias="iEzsigntemplatesignatureMaxlength") + s_ezsigntemplatesignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplatesignatureDefaultvalue") s_ezsigntemplatesignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea**", alias="sEzsigntemplatesignatureRegexp") e_ezsigntemplatesignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplatesignatureTextvalidation") + s_ezsigntemplatesignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplatesignatureTextvalidationcustommessage") e_ezsigntemplatesignature_dependencyrequirement: Optional[FieldEEzsigntemplatesignatureDependencyrequirement] = Field(default=None, alias="eEzsigntemplatesignatureDependencyrequirement") s_ezsigntemplatesignature_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="sEzsigntemplatesignaturePositioningpattern") i_ezsigntemplatesignature_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsetx") i_ezsigntemplatesignature_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsety") e_ezsigntemplatesignature_positioningoccurence: Optional[FieldEEzsigntemplatesignaturePositioningoccurence] = Field(default=None, alias="eEzsigntemplatesignaturePositioningoccurence") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "iEzsigntemplatesignatureValidationstep", "sEzsigntemplatesignatureAttachmentdescription", "eEzsigntemplatesignatureAttachmentnamesource", "bEzsigntemplatesignatureRequired", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "bEzsigntemplatesignatureHandwritten", "bEzsigntemplatesignatureReason", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "eEzsigntemplatesignatureConsultationtrigger", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "iEzsigntemplatesignatureValidationstep", "sEzsigntemplatesignatureAttachmentdescription", "eEzsigntemplatesignatureAttachmentnamesource", "bEzsigntemplatesignatureRequired", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureDefaultvalue", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "sEzsigntemplatesignatureTextvalidationcustommessage", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence"] @field_validator('s_ezsigntemplatesignature_regexp') def s_ezsigntemplatesignature_regexp_validate_regular_expression(cls, value): @@ -140,6 +146,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), "fkiEzsigntemplatesignerIDValidation": obj.get("fkiEzsigntemplatesignerIDValidation"), + "bEzsigntemplatesignatureHandwritten": obj.get("bEzsigntemplatesignatureHandwritten"), + "bEzsigntemplatesignatureReason": obj.get("bEzsigntemplatesignatureReason"), "eEzsigntemplatesignaturePositioning": obj.get("eEzsigntemplatesignaturePositioning"), "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), "iEzsigntemplatesignatureX": obj.get("iEzsigntemplatesignatureX"), @@ -148,6 +156,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplatesignatureHeight": obj.get("iEzsigntemplatesignatureHeight"), "iEzsigntemplatesignatureStep": obj.get("iEzsigntemplatesignatureStep"), "eEzsigntemplatesignatureType": obj.get("eEzsigntemplatesignatureType"), + "eEzsigntemplatesignatureConsultationtrigger": obj.get("eEzsigntemplatesignatureConsultationtrigger"), "tEzsigntemplatesignatureTooltip": obj.get("tEzsigntemplatesignatureTooltip"), "eEzsigntemplatesignatureTooltipposition": obj.get("eEzsigntemplatesignatureTooltipposition"), "eEzsigntemplatesignatureFont": obj.get("eEzsigntemplatesignatureFont"), @@ -156,8 +165,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsigntemplatesignatureAttachmentnamesource": obj.get("eEzsigntemplatesignatureAttachmentnamesource"), "bEzsigntemplatesignatureRequired": obj.get("bEzsigntemplatesignatureRequired"), "iEzsigntemplatesignatureMaxlength": obj.get("iEzsigntemplatesignatureMaxlength"), + "sEzsigntemplatesignatureDefaultvalue": obj.get("sEzsigntemplatesignatureDefaultvalue"), "sEzsigntemplatesignatureRegexp": obj.get("sEzsigntemplatesignatureRegexp"), "eEzsigntemplatesignatureTextvalidation": obj.get("eEzsigntemplatesignatureTextvalidation"), + "sEzsigntemplatesignatureTextvalidationcustommessage": obj.get("sEzsigntemplatesignatureTextvalidationcustommessage"), "eEzsigntemplatesignatureDependencyrequirement": obj.get("eEzsigntemplatesignatureDependencyrequirement"), "sEzsigntemplatesignaturePositioningpattern": obj.get("sEzsigntemplatesignaturePositioningpattern"), "iEzsigntemplatesignaturePositioningoffsetx": obj.get("iEzsigntemplatesignaturePositioningoffsetx"), diff --git a/eZmaxApi/models/ezsigntemplatesignature_response_compound.py b/eZmaxApi/models/ezsigntemplatesignature_response_compound.py index 2ffa9ed5f..740487d7f 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatesignature_response_compound.py @@ -25,6 +25,7 @@ from eZmaxApi.models.ezsigntemplateelementdependency_response_compound import EzsigntemplateelementdependencyResponseCompound from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound import EzsigntemplatesignaturecustomdateResponseCompound from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplatesignature_font import FieldEEzsigntemplatesignatureFont from eZmaxApi.models.field_e_ezsigntemplatesignature_positioning import FieldEEzsigntemplatesignaturePositioning @@ -42,6 +43,8 @@ class EzsigntemplatesignatureResponseCompound(BaseModel): fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") fki_ezsigntemplatesigner_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerIDValidation") + b_ezsigntemplatesignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureHandwritten") + b_ezsigntemplatesignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureReason") e_ezsigntemplatesignature_positioning: Optional[FieldEEzsigntemplatesignaturePositioning] = Field(default=None, alias="eEzsigntemplatesignaturePositioning") i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") i_ezsigntemplatesignature_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignatureX") @@ -50,6 +53,7 @@ class EzsigntemplatesignatureResponseCompound(BaseModel): i_ezsigntemplatesignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight.", alias="iEzsigntemplatesignatureHeight") i_ezsigntemplatesignature_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to sign", alias="iEzsigntemplatesignatureStep") e_ezsigntemplatesignature_type: FieldEEzsigntemplatesignatureType = Field(alias="eEzsigntemplatesignatureType") + e_ezsigntemplatesignature_consultationtrigger: Optional[FieldEEzsigntemplatesignatureConsultationtrigger] = Field(default=None, alias="eEzsigntemplatesignatureConsultationtrigger") t_ezsigntemplatesignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature", alias="tEzsigntemplatesignatureTooltip") e_ezsigntemplatesignature_tooltipposition: Optional[FieldEEzsigntemplatesignatureTooltipposition] = Field(default=None, alias="eEzsigntemplatesignatureTooltipposition") e_ezsigntemplatesignature_font: Optional[FieldEEzsigntemplatesignatureFont] = Field(default=None, alias="eEzsigntemplatesignatureFont") @@ -58,8 +62,10 @@ class EzsigntemplatesignatureResponseCompound(BaseModel): e_ezsigntemplatesignature_attachmentnamesource: Optional[FieldEEzsigntemplatesignatureAttachmentnamesource] = Field(default=None, alias="eEzsigntemplatesignatureAttachmentnamesource") b_ezsigntemplatesignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments.", alias="bEzsigntemplatesignatureRequired") i_ezsigntemplatesignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea**", alias="iEzsigntemplatesignatureMaxlength") + s_ezsigntemplatesignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplatesignatureDefaultvalue") s_ezsigntemplatesignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea**", alias="sEzsigntemplatesignatureRegexp") e_ezsigntemplatesignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplatesignatureTextvalidation") + s_ezsigntemplatesignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplatesignatureTextvalidationcustommessage") e_ezsigntemplatesignature_dependencyrequirement: Optional[FieldEEzsigntemplatesignatureDependencyrequirement] = Field(default=None, alias="eEzsigntemplatesignatureDependencyrequirement") s_ezsigntemplatesignature_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="sEzsigntemplatesignaturePositioningpattern") i_ezsigntemplatesignature_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsetx") @@ -68,7 +74,7 @@ class EzsigntemplatesignatureResponseCompound(BaseModel): b_ezsigntemplatesignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**)", alias="bEzsigntemplatesignatureCustomdate") a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateResponseCompound]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "iEzsigntemplatesignatureValidationstep", "sEzsigntemplatesignatureAttachmentdescription", "eEzsigntemplatesignatureAttachmentnamesource", "bEzsigntemplatesignatureRequired", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence", "bEzsigntemplatesignatureCustomdate", "a_objEzsigntemplatesignaturecustomdate", "a_objEzsigntemplateelementdependency"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "bEzsigntemplatesignatureHandwritten", "bEzsigntemplatesignatureReason", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "eEzsigntemplatesignatureConsultationtrigger", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "iEzsigntemplatesignatureValidationstep", "sEzsigntemplatesignatureAttachmentdescription", "eEzsigntemplatesignatureAttachmentnamesource", "bEzsigntemplatesignatureRequired", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureDefaultvalue", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "sEzsigntemplatesignatureTextvalidationcustommessage", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence", "bEzsigntemplatesignatureCustomdate", "a_objEzsigntemplatesignaturecustomdate", "a_objEzsigntemplateelementdependency"] @field_validator('s_ezsigntemplatesignature_regexp') def s_ezsigntemplatesignature_regexp_validate_regular_expression(cls, value): @@ -132,16 +138,16 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesignaturecustomdate (list) _items = [] if self.a_obj_ezsigntemplatesignaturecustomdate: - for _item in self.a_obj_ezsigntemplatesignaturecustomdate: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatesignaturecustomdate in self.a_obj_ezsigntemplatesignaturecustomdate: + if _item_a_obj_ezsigntemplatesignaturecustomdate: + _items.append(_item_a_obj_ezsigntemplatesignaturecustomdate.to_dict()) _dict['a_objEzsigntemplatesignaturecustomdate'] = _items # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateelementdependency (list) _items = [] if self.a_obj_ezsigntemplateelementdependency: - for _item in self.a_obj_ezsigntemplateelementdependency: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplateelementdependency in self.a_obj_ezsigntemplateelementdependency: + if _item_a_obj_ezsigntemplateelementdependency: + _items.append(_item_a_obj_ezsigntemplateelementdependency.to_dict()) _dict['a_objEzsigntemplateelementdependency'] = _items return _dict @@ -159,6 +165,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), "fkiEzsigntemplatesignerIDValidation": obj.get("fkiEzsigntemplatesignerIDValidation"), + "bEzsigntemplatesignatureHandwritten": obj.get("bEzsigntemplatesignatureHandwritten"), + "bEzsigntemplatesignatureReason": obj.get("bEzsigntemplatesignatureReason"), "eEzsigntemplatesignaturePositioning": obj.get("eEzsigntemplatesignaturePositioning"), "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), "iEzsigntemplatesignatureX": obj.get("iEzsigntemplatesignatureX"), @@ -167,6 +175,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplatesignatureHeight": obj.get("iEzsigntemplatesignatureHeight"), "iEzsigntemplatesignatureStep": obj.get("iEzsigntemplatesignatureStep"), "eEzsigntemplatesignatureType": obj.get("eEzsigntemplatesignatureType"), + "eEzsigntemplatesignatureConsultationtrigger": obj.get("eEzsigntemplatesignatureConsultationtrigger"), "tEzsigntemplatesignatureTooltip": obj.get("tEzsigntemplatesignatureTooltip"), "eEzsigntemplatesignatureTooltipposition": obj.get("eEzsigntemplatesignatureTooltipposition"), "eEzsigntemplatesignatureFont": obj.get("eEzsigntemplatesignatureFont"), @@ -175,8 +184,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsigntemplatesignatureAttachmentnamesource": obj.get("eEzsigntemplatesignatureAttachmentnamesource"), "bEzsigntemplatesignatureRequired": obj.get("bEzsigntemplatesignatureRequired"), "iEzsigntemplatesignatureMaxlength": obj.get("iEzsigntemplatesignatureMaxlength"), + "sEzsigntemplatesignatureDefaultvalue": obj.get("sEzsigntemplatesignatureDefaultvalue"), "sEzsigntemplatesignatureRegexp": obj.get("sEzsigntemplatesignatureRegexp"), "eEzsigntemplatesignatureTextvalidation": obj.get("eEzsigntemplatesignatureTextvalidation"), + "sEzsigntemplatesignatureTextvalidationcustommessage": obj.get("sEzsigntemplatesignatureTextvalidationcustommessage"), "eEzsigntemplatesignatureDependencyrequirement": obj.get("eEzsigntemplatesignatureDependencyrequirement"), "sEzsigntemplatesignaturePositioningpattern": obj.get("sEzsigntemplatesignaturePositioningpattern"), "iEzsigntemplatesignaturePositioningoffsetx": obj.get("iEzsigntemplatesignaturePositioningoffsetx"), diff --git a/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py b/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py new file mode 100644 index 000000000..28fbaa7af --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.enum_textvalidation import EnumTextvalidation +from eZmaxApi.models.ezsigntemplateelementdependency_response_compound import EzsigntemplateelementdependencyResponseCompound +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound_v2 import EzsigntemplatesignaturecustomdateResponseCompoundV2 +from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource +from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger +from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement +from eZmaxApi.models.field_e_ezsigntemplatesignature_font import FieldEEzsigntemplatesignatureFont +from eZmaxApi.models.field_e_ezsigntemplatesignature_positioning import FieldEEzsigntemplatesignaturePositioning +from eZmaxApi.models.field_e_ezsigntemplatesignature_positioningoccurence import FieldEEzsigntemplatesignaturePositioningoccurence +from eZmaxApi.models.field_e_ezsigntemplatesignature_tooltipposition import FieldEEzsigntemplatesignatureTooltipposition +from eZmaxApi.models.field_e_ezsigntemplatesignature_type import FieldEEzsigntemplatesignatureType +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignatureResponseCompoundV3(BaseModel): + """ + A Ezsigntemplatesignature Object + """ # noqa: E501 + pki_ezsigntemplatesignature_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesignature", alias="pkiEzsigntemplatesignatureID") + fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") + fki_ezsigntemplatesigner_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerIDValidation") + b_ezsigntemplatesignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureHandwritten") + b_ezsigntemplatesignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureReason") + e_ezsigntemplatesignature_positioning: Optional[FieldEEzsigntemplatesignaturePositioning] = Field(default=None, alias="eEzsigntemplatesignaturePositioning") + i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") + i_ezsigntemplatesignature_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignatureX") + i_ezsigntemplatesignature_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplatesignatureY") + i_ezsigntemplatesignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth.", alias="iEzsigntemplatesignatureWidth") + i_ezsigntemplatesignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight.", alias="iEzsigntemplatesignatureHeight") + i_ezsigntemplatesignature_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to sign", alias="iEzsigntemplatesignatureStep") + e_ezsigntemplatesignature_type: FieldEEzsigntemplatesignatureType = Field(alias="eEzsigntemplatesignatureType") + e_ezsigntemplatesignature_consultationtrigger: Optional[FieldEEzsigntemplatesignatureConsultationtrigger] = Field(default=None, alias="eEzsigntemplatesignatureConsultationtrigger") + t_ezsigntemplatesignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature", alias="tEzsigntemplatesignatureTooltip") + e_ezsigntemplatesignature_tooltipposition: Optional[FieldEEzsigntemplatesignatureTooltipposition] = Field(default=None, alias="eEzsigntemplatesignatureTooltipposition") + e_ezsigntemplatesignature_font: Optional[FieldEEzsigntemplatesignatureFont] = Field(default=None, alias="eEzsigntemplatesignatureFont") + i_ezsigntemplatesignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="iEzsigntemplatesignatureValidationstep") + s_ezsigntemplatesignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="sEzsigntemplatesignatureAttachmentdescription") + e_ezsigntemplatesignature_attachmentnamesource: Optional[FieldEEzsigntemplatesignatureAttachmentnamesource] = Field(default=None, alias="eEzsigntemplatesignatureAttachmentnamesource") + b_ezsigntemplatesignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments.", alias="bEzsigntemplatesignatureRequired") + i_ezsigntemplatesignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea**", alias="iEzsigntemplatesignatureMaxlength") + s_ezsigntemplatesignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplatesignatureDefaultvalue") + s_ezsigntemplatesignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea**", alias="sEzsigntemplatesignatureRegexp") + e_ezsigntemplatesignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplatesignatureTextvalidation") + s_ezsigntemplatesignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplatesignatureTextvalidationcustommessage") + e_ezsigntemplatesignature_dependencyrequirement: Optional[FieldEEzsigntemplatesignatureDependencyrequirement] = Field(default=None, alias="eEzsigntemplatesignatureDependencyrequirement") + s_ezsigntemplatesignature_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="sEzsigntemplatesignaturePositioningpattern") + i_ezsigntemplatesignature_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsetx") + i_ezsigntemplatesignature_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsety") + e_ezsigntemplatesignature_positioningoccurence: Optional[FieldEEzsigntemplatesignaturePositioningoccurence] = Field(default=None, alias="eEzsigntemplatesignaturePositioningoccurence") + b_ezsigntemplatesignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**)", alias="bEzsigntemplatesignatureCustomdate") + a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateResponseCompoundV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") + a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "bEzsigntemplatesignatureHandwritten", "bEzsigntemplatesignatureReason", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "eEzsigntemplatesignatureConsultationtrigger", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "iEzsigntemplatesignatureValidationstep", "sEzsigntemplatesignatureAttachmentdescription", "eEzsigntemplatesignatureAttachmentnamesource", "bEzsigntemplatesignatureRequired", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureDefaultvalue", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "sEzsigntemplatesignatureTextvalidationcustommessage", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence", "bEzsigntemplatesignatureCustomdate", "a_objEzsigntemplatesignaturecustomdate", "a_objEzsigntemplateelementdependency"] + + @field_validator('s_ezsigntemplatesignature_regexp') + def s_ezsigntemplatesignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + + @field_validator('s_ezsigntemplatesignature_positioningpattern') + def s_ezsigntemplatesignature_positioningpattern_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,30}$", value): + raise ValueError(r"must validate the regular expression /^.{0,30}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureResponseCompoundV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesignaturecustomdate (list) + _items = [] + if self.a_obj_ezsigntemplatesignaturecustomdate: + for _item_a_obj_ezsigntemplatesignaturecustomdate in self.a_obj_ezsigntemplatesignaturecustomdate: + if _item_a_obj_ezsigntemplatesignaturecustomdate: + _items.append(_item_a_obj_ezsigntemplatesignaturecustomdate.to_dict()) + _dict['a_objEzsigntemplatesignaturecustomdate'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplateelementdependency (list) + _items = [] + if self.a_obj_ezsigntemplateelementdependency: + for _item_a_obj_ezsigntemplateelementdependency in self.a_obj_ezsigntemplateelementdependency: + if _item_a_obj_ezsigntemplateelementdependency: + _items.append(_item_a_obj_ezsigntemplateelementdependency.to_dict()) + _dict['a_objEzsigntemplateelementdependency'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignatureResponseCompoundV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatesignatureID": obj.get("pkiEzsigntemplatesignatureID"), + "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), + "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), + "fkiEzsigntemplatesignerIDValidation": obj.get("fkiEzsigntemplatesignerIDValidation"), + "bEzsigntemplatesignatureHandwritten": obj.get("bEzsigntemplatesignatureHandwritten"), + "bEzsigntemplatesignatureReason": obj.get("bEzsigntemplatesignatureReason"), + "eEzsigntemplatesignaturePositioning": obj.get("eEzsigntemplatesignaturePositioning"), + "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), + "iEzsigntemplatesignatureX": obj.get("iEzsigntemplatesignatureX"), + "iEzsigntemplatesignatureY": obj.get("iEzsigntemplatesignatureY"), + "iEzsigntemplatesignatureWidth": obj.get("iEzsigntemplatesignatureWidth"), + "iEzsigntemplatesignatureHeight": obj.get("iEzsigntemplatesignatureHeight"), + "iEzsigntemplatesignatureStep": obj.get("iEzsigntemplatesignatureStep"), + "eEzsigntemplatesignatureType": obj.get("eEzsigntemplatesignatureType"), + "eEzsigntemplatesignatureConsultationtrigger": obj.get("eEzsigntemplatesignatureConsultationtrigger"), + "tEzsigntemplatesignatureTooltip": obj.get("tEzsigntemplatesignatureTooltip"), + "eEzsigntemplatesignatureTooltipposition": obj.get("eEzsigntemplatesignatureTooltipposition"), + "eEzsigntemplatesignatureFont": obj.get("eEzsigntemplatesignatureFont"), + "iEzsigntemplatesignatureValidationstep": obj.get("iEzsigntemplatesignatureValidationstep"), + "sEzsigntemplatesignatureAttachmentdescription": obj.get("sEzsigntemplatesignatureAttachmentdescription"), + "eEzsigntemplatesignatureAttachmentnamesource": obj.get("eEzsigntemplatesignatureAttachmentnamesource"), + "bEzsigntemplatesignatureRequired": obj.get("bEzsigntemplatesignatureRequired"), + "iEzsigntemplatesignatureMaxlength": obj.get("iEzsigntemplatesignatureMaxlength"), + "sEzsigntemplatesignatureDefaultvalue": obj.get("sEzsigntemplatesignatureDefaultvalue"), + "sEzsigntemplatesignatureRegexp": obj.get("sEzsigntemplatesignatureRegexp"), + "eEzsigntemplatesignatureTextvalidation": obj.get("eEzsigntemplatesignatureTextvalidation"), + "sEzsigntemplatesignatureTextvalidationcustommessage": obj.get("sEzsigntemplatesignatureTextvalidationcustommessage"), + "eEzsigntemplatesignatureDependencyrequirement": obj.get("eEzsigntemplatesignatureDependencyrequirement"), + "sEzsigntemplatesignaturePositioningpattern": obj.get("sEzsigntemplatesignaturePositioningpattern"), + "iEzsigntemplatesignaturePositioningoffsetx": obj.get("iEzsigntemplatesignaturePositioningoffsetx"), + "iEzsigntemplatesignaturePositioningoffsety": obj.get("iEzsigntemplatesignaturePositioningoffsety"), + "eEzsigntemplatesignaturePositioningoccurence": obj.get("eEzsigntemplatesignaturePositioningoccurence"), + "bEzsigntemplatesignatureCustomdate": obj.get("bEzsigntemplatesignatureCustomdate"), + "a_objEzsigntemplatesignaturecustomdate": [EzsigntemplatesignaturecustomdateResponseCompoundV2.from_dict(_item) for _item in obj["a_objEzsigntemplatesignaturecustomdate"]] if obj.get("a_objEzsigntemplatesignaturecustomdate") is not None else None, + "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignaturecustomdate_request_compound_v2.py b/eZmaxApi/models/ezsigntemplatesignaturecustomdate_request_compound_v2.py new file mode 100644 index 000000000..482b3f502 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignaturecustomdate_request_compound_v2.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignaturecustomdateRequestCompoundV2(BaseModel): + """ + An Ezsigntemplatesignaturecustomdate Object and children to create a complete structure + """ # noqa: E501 + pki_ezsigntemplatesignaturecustomdate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesignaturecustomdate", alias="pkiEzsigntemplatesignaturecustomdateID") + i_ezsigntemplatesignaturecustomdate_offsetx: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the left of the signature, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignaturecustomdateOffsetx") + i_ezsigntemplatesignaturecustomdate_offsety: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the top of the signature, you would use \"200\" for the Y coordinate.", alias="iEzsigntemplatesignaturecustomdateOffsety") + s_ezsigntemplatesignaturecustomdate_format: StrictStr = Field(description="The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | ", alias="sEzsigntemplatesignaturecustomdateFormat") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignaturecustomdateID", "iEzsigntemplatesignaturecustomdateOffsetx", "iEzsigntemplatesignaturecustomdateOffsety", "sEzsigntemplatesignaturecustomdateFormat"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignaturecustomdateRequestCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignaturecustomdateRequestCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatesignaturecustomdateID": obj.get("pkiEzsigntemplatesignaturecustomdateID"), + "iEzsigntemplatesignaturecustomdateOffsetx": obj.get("iEzsigntemplatesignaturecustomdateOffsetx"), + "iEzsigntemplatesignaturecustomdateOffsety": obj.get("iEzsigntemplatesignaturecustomdateOffsety"), + "sEzsigntemplatesignaturecustomdateFormat": obj.get("sEzsigntemplatesignaturecustomdateFormat") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignaturecustomdate_request_v2.py b/eZmaxApi/models/ezsigntemplatesignaturecustomdate_request_v2.py new file mode 100644 index 000000000..707449347 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignaturecustomdate_request_v2.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignaturecustomdateRequestV2(BaseModel): + """ + An Ezsigntemplatesignaturecustomdate Object + """ # noqa: E501 + pki_ezsigntemplatesignaturecustomdate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesignaturecustomdate", alias="pkiEzsigntemplatesignaturecustomdateID") + i_ezsigntemplatesignaturecustomdate_offsetx: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the left of the signature, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignaturecustomdateOffsetx") + i_ezsigntemplatesignaturecustomdate_offsety: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the top of the signature, you would use \"200\" for the Y coordinate.", alias="iEzsigntemplatesignaturecustomdateOffsety") + s_ezsigntemplatesignaturecustomdate_format: StrictStr = Field(description="The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | ", alias="sEzsigntemplatesignaturecustomdateFormat") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignaturecustomdateID", "iEzsigntemplatesignaturecustomdateOffsetx", "iEzsigntemplatesignaturecustomdateOffsety", "sEzsigntemplatesignaturecustomdateFormat"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignaturecustomdateRequestV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignaturecustomdateRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatesignaturecustomdateID": obj.get("pkiEzsigntemplatesignaturecustomdateID"), + "iEzsigntemplatesignaturecustomdateOffsetx": obj.get("iEzsigntemplatesignaturecustomdateOffsetx"), + "iEzsigntemplatesignaturecustomdateOffsety": obj.get("iEzsigntemplatesignaturecustomdateOffsety"), + "sEzsigntemplatesignaturecustomdateFormat": obj.get("sEzsigntemplatesignaturecustomdateFormat") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignaturecustomdate_response_compound_v2.py b/eZmaxApi/models/ezsigntemplatesignaturecustomdate_response_compound_v2.py new file mode 100644 index 000000000..16f80d4e0 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignaturecustomdate_response_compound_v2.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignaturecustomdateResponseCompoundV2(BaseModel): + """ + An Ezsigntemplatesignaturecustomdate Object and children to create a complete structure + """ # noqa: E501 + pki_ezsigntemplatesignaturecustomdate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesignaturecustomdate", alias="pkiEzsigntemplatesignaturecustomdateID") + i_ezsigntemplatesignaturecustomdate_offsetx: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the left of the signature, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignaturecustomdateOffsetx") + i_ezsigntemplatesignaturecustomdate_offsety: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the top of the signature, you would use \"200\" for the Y coordinate.", alias="iEzsigntemplatesignaturecustomdateOffsety") + s_ezsigntemplatesignaturecustomdate_format: StrictStr = Field(description="The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | ", alias="sEzsigntemplatesignaturecustomdateFormat") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignaturecustomdateID", "iEzsigntemplatesignaturecustomdateOffsetx", "iEzsigntemplatesignaturecustomdateOffsety", "sEzsigntemplatesignaturecustomdateFormat"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignaturecustomdateResponseCompoundV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignaturecustomdateResponseCompoundV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatesignaturecustomdateID": obj.get("pkiEzsigntemplatesignaturecustomdateID"), + "iEzsigntemplatesignaturecustomdateOffsetx": obj.get("iEzsigntemplatesignaturecustomdateOffsetx"), + "iEzsigntemplatesignaturecustomdateOffsety": obj.get("iEzsigntemplatesignaturecustomdateOffsety"), + "sEzsigntemplatesignaturecustomdateFormat": obj.get("sEzsigntemplatesignaturecustomdateFormat") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesignaturecustomdate_response_v2.py b/eZmaxApi/models/ezsigntemplatesignaturecustomdate_response_v2.py new file mode 100644 index 000000000..d9c749d58 --- /dev/null +++ b/eZmaxApi/models/ezsigntemplatesignaturecustomdate_response_v2.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class EzsigntemplatesignaturecustomdateResponseV2(BaseModel): + """ + An Ezsigntemplatesignaturecustomdate Object + """ # noqa: E501 + pki_ezsigntemplatesignaturecustomdate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesignaturecustomdate", alias="pkiEzsigntemplatesignaturecustomdateID") + i_ezsigntemplatesignaturecustomdate_offsetx: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the left of the signature, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignaturecustomdateOffsetx") + i_ezsigntemplatesignaturecustomdate_offsety: StrictInt = Field(description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignaturecustomdate on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignaturecustomdate 2 inches from the top of the signature, you would use \"200\" for the Y coordinate.", alias="iEzsigntemplatesignaturecustomdateOffsety") + s_ezsigntemplatesignaturecustomdate_format: StrictStr = Field(description="The custom date format to use You can use the codes below and they will be replaced at signature time. Text values like month and day names will be rendered in the proper language. Other text will be left as-is. The codes examples below are based on the following datetime: Thursday, January 6, 2022 at 08:07:09 EST For example, the format \"Signature date: {MM}/{DD}/{YYYY} {hh}:{mm}\" would become \"Signature date: 01/06/2022 08:07\" **Year** | Code | Example | | - | - | | {YYYY} | 2022 | | {YY} | 22 | **Month** | Code | Example | | - | - | | {MonthCapitalize} | Janvier | | {Month} | janvier | | {MM} | 01 | | {M} | 1 | **Day** | Code | Example | | - | - | | {DayCapitalize} | Jeudi | | {Day} | jeudi | | {DD} | 06 | | {D} | 6 | **Hour** | Code | Example | | - | - | | {hh} | 08 | **Minute** | Code | Example | | - | - | | {mm} | 07 | **Second** | Code | Example | | - | - | | {ss} | 09 | **Timezone** | Code | Example | | - | - | | {Z} | EST | **Time** | Code | Example | | - | - | | {Time} | 08:07:09 | | {TimeZ} | 08:07:09 EST | **Date** | Code | Example | | - | - | | {Date} | 2022-01-06 | | {DateText} | 1er Janvier 2022 | **Full** | Code | Example | | - | - | | {DateTime} | 2022-01-06 08:07:09 | | {DateTimeZ} | 2022-01-06 08:07:09 EST | ", alias="sEzsigntemplatesignaturecustomdateFormat") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignaturecustomdateID", "iEzsigntemplatesignaturecustomdateOffsetx", "iEzsigntemplatesignaturecustomdateOffsety", "sEzsigntemplatesignaturecustomdateFormat"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsigntemplatesignaturecustomdateResponseV2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsigntemplatesignaturecustomdateResponseV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatesignaturecustomdateID": obj.get("pkiEzsigntemplatesignaturecustomdateID"), + "iEzsigntemplatesignaturecustomdateOffsetx": obj.get("iEzsigntemplatesignaturecustomdateOffsetx"), + "iEzsigntemplatesignaturecustomdateOffsety": obj.get("iEzsigntemplatesignaturecustomdateOffsety"), + "sEzsigntemplatesignaturecustomdateFormat": obj.get("sEzsigntemplatesignaturecustomdateFormat") + }) + return _obj + + diff --git a/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_request.py b/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_request.py index 3e15e1aab..10347b236 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_request.py +++ b/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntemplatesigner (list) _items = [] if self.a_obj_ezsigntemplatesigner: - for _item in self.a_obj_ezsigntemplatesigner: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntemplatesigner in self.a_obj_ezsigntemplatesigner: + if _item_a_obj_ezsigntemplatesigner: + _items.append(_item_a_obj_ezsigntemplatesigner.to_dict()) _dict['a_objEzsigntemplatesigner'] = _items return _dict diff --git a/eZmaxApi/models/ezsigntemplatesigner_request.py b/eZmaxApi/models/ezsigntemplatesigner_request.py index 52f0a0c93..7bc17869f 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_request.py +++ b/eZmaxApi/models/ezsigntemplatesigner_request.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping from typing import Optional, Set from typing_extensions import Self @@ -30,8 +31,13 @@ class EzsigntemplatesignerRequest(BaseModel): """ # noqa: E501 pki_ezsigntemplatesigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="pkiEzsigntemplatesignerID") fki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + b_ezsigntemplatesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatesignerReceivecopy") + e_ezsigntemplatesigner_mapping: Optional[FieldEEzsigntemplatesignerMapping] = Field(default=None, alias="eEzsigntemplatesignerMapping") s_ezsigntemplatesigner_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatesigner", alias="sEzsigntemplatesignerDescription") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignerID", "fkiEzsigntemplateID", "sEzsigntemplatesignerDescription"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignerID", "fkiEzsigntemplateID", "fkiUserID", "fkiUsergroupID", "fkiEzdoctemplatedocumentID", "bEzsigntemplatesignerReceivecopy", "eEzsigntemplatesignerMapping", "sEzsigntemplatesignerDescription"] @field_validator('s_ezsigntemplatesigner_description') def s_ezsigntemplatesigner_description_validate_regular_expression(cls, value): @@ -93,6 +99,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatesignerID": obj.get("pkiEzsigntemplatesignerID"), "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "bEzsigntemplatesignerReceivecopy": obj.get("bEzsigntemplatesignerReceivecopy"), + "eEzsigntemplatesignerMapping": obj.get("eEzsigntemplatesignerMapping"), "sEzsigntemplatesignerDescription": obj.get("sEzsigntemplatesignerDescription") }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatesigner_request_compound.py b/eZmaxApi/models/ezsigntemplatesigner_request_compound.py index 980da6c6d..96b08f4e3 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatesigner_request_compound.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping from typing import Optional, Set from typing_extensions import Self @@ -30,8 +31,13 @@ class EzsigntemplatesignerRequestCompound(BaseModel): """ # noqa: E501 pki_ezsigntemplatesigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="pkiEzsigntemplatesignerID") fki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + b_ezsigntemplatesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatesignerReceivecopy") + e_ezsigntemplatesigner_mapping: Optional[FieldEEzsigntemplatesignerMapping] = Field(default=None, alias="eEzsigntemplatesignerMapping") s_ezsigntemplatesigner_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatesigner", alias="sEzsigntemplatesignerDescription") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignerID", "fkiEzsigntemplateID", "sEzsigntemplatesignerDescription"] + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignerID", "fkiEzsigntemplateID", "fkiUserID", "fkiUsergroupID", "fkiEzdoctemplatedocumentID", "bEzsigntemplatesignerReceivecopy", "eEzsigntemplatesignerMapping", "sEzsigntemplatesignerDescription"] @field_validator('s_ezsigntemplatesigner_description') def s_ezsigntemplatesigner_description_validate_regular_expression(cls, value): @@ -93,6 +99,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatesignerID": obj.get("pkiEzsigntemplatesignerID"), "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "bEzsigntemplatesignerReceivecopy": obj.get("bEzsigntemplatesignerReceivecopy"), + "eEzsigntemplatesignerMapping": obj.get("eEzsigntemplatesignerMapping"), "sEzsigntemplatesignerDescription": obj.get("sEzsigntemplatesignerDescription") }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatesigner_response.py b/eZmaxApi/models/ezsigntemplatesigner_response.py index a6620ac2e..b4aa2dd23 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_response.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping from typing import Optional, Set from typing_extensions import Self @@ -30,8 +31,15 @@ class EzsigntemplatesignerResponse(BaseModel): """ # noqa: E501 pki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="pkiEzsigntemplatesignerID") fki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + b_ezsigntemplatesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatesignerReceivecopy") + e_ezsigntemplatesigner_mapping: Optional[FieldEEzsigntemplatesignerMapping] = Field(default=None, alias="eEzsigntemplatesignerMapping") s_ezsigntemplatesigner_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatesigner", alias="sEzsigntemplatesignerDescription") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignerID", "fkiEzsigntemplateID", "sEzsigntemplatesignerDescription"] + s_user_name: Optional[StrictStr] = Field(default=None, description="The description of the User in the language of the requester", alias="sUserName") + s_usergroup_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignerID", "fkiEzsigntemplateID", "fkiUserID", "fkiUsergroupID", "fkiEzdoctemplatedocumentID", "bEzsigntemplatesignerReceivecopy", "eEzsigntemplatesignerMapping", "sEzsigntemplatesignerDescription", "sUserName", "sUsergroupNameX"] @field_validator('s_ezsigntemplatesigner_description') def s_ezsigntemplatesigner_description_validate_regular_expression(cls, value): @@ -40,6 +48,16 @@ def s_ezsigntemplatesigner_description_validate_regular_expression(cls, value): raise ValueError(r"must validate the regular expression /^.{1,50}$/") return value + @field_validator('s_usergroup_name_x') + def s_usergroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -93,7 +111,14 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatesignerID": obj.get("pkiEzsigntemplatesignerID"), "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), - "sEzsigntemplatesignerDescription": obj.get("sEzsigntemplatesignerDescription") + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "bEzsigntemplatesignerReceivecopy": obj.get("bEzsigntemplatesignerReceivecopy"), + "eEzsigntemplatesignerMapping": obj.get("eEzsigntemplatesignerMapping"), + "sEzsigntemplatesignerDescription": obj.get("sEzsigntemplatesignerDescription"), + "sUserName": obj.get("sUserName"), + "sUsergroupNameX": obj.get("sUsergroupNameX") }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatesigner_response_compound.py b/eZmaxApi/models/ezsigntemplatesigner_response_compound.py index eed1143e3..654cb0dc9 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatesigner_response_compound.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping from typing import Optional, Set from typing_extensions import Self @@ -30,8 +31,15 @@ class EzsigntemplatesignerResponseCompound(BaseModel): """ # noqa: E501 pki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="pkiEzsigntemplatesignerID") fki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + b_ezsigntemplatesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatesignerReceivecopy") + e_ezsigntemplatesigner_mapping: Optional[FieldEEzsigntemplatesignerMapping] = Field(default=None, alias="eEzsigntemplatesignerMapping") s_ezsigntemplatesigner_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatesigner", alias="sEzsigntemplatesignerDescription") - __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignerID", "fkiEzsigntemplateID", "sEzsigntemplatesignerDescription"] + s_user_name: Optional[StrictStr] = Field(default=None, description="The description of the User in the language of the requester", alias="sUserName") + s_usergroup_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") + __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignerID", "fkiEzsigntemplateID", "fkiUserID", "fkiUsergroupID", "fkiEzdoctemplatedocumentID", "bEzsigntemplatesignerReceivecopy", "eEzsigntemplatesignerMapping", "sEzsigntemplatesignerDescription", "sUserName", "sUsergroupNameX"] @field_validator('s_ezsigntemplatesigner_description') def s_ezsigntemplatesigner_description_validate_regular_expression(cls, value): @@ -40,6 +48,16 @@ def s_ezsigntemplatesigner_description_validate_regular_expression(cls, value): raise ValueError(r"must validate the regular expression /^.{1,50}$/") return value + @field_validator('s_usergroup_name_x') + def s_usergroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -93,7 +111,14 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigntemplatesignerID": obj.get("pkiEzsigntemplatesignerID"), "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), - "sEzsigntemplatesignerDescription": obj.get("sEzsigntemplatesignerDescription") + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "bEzsigntemplatesignerReceivecopy": obj.get("bEzsigntemplatesignerReceivecopy"), + "eEzsigntemplatesignerMapping": obj.get("eEzsigntemplatesignerMapping"), + "sEzsigntemplatesignerDescription": obj.get("sEzsigntemplatesignerDescription"), + "sUserName": obj.get("sUserName"), + "sUsergroupNameX": obj.get("sUsergroupNameX") }) return _obj diff --git a/eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response_m_payload.py index 197b1125c..5adef051b 100644 --- a/eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsigntsarequirement (list) _items = [] if self.a_obj_ezsigntsarequirement: - for _item in self.a_obj_ezsigntsarequirement: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_ezsigntsarequirement in self.a_obj_ezsigntsarequirement: + if _item_a_obj_ezsigntsarequirement: + _items.append(_item_a_obj_ezsigntsarequirement.to_dict()) _dict['a_objEzsigntsarequirement'] = _items return _dict diff --git a/eZmaxApi/models/ezsignuser_edit_object_v1_request.py b/eZmaxApi/models/ezsignuser_edit_object_v1_request.py new file mode 100644 index 000000000..c04eb120c --- /dev/null +++ b/eZmaxApi/models/ezsignuser_edit_object_v1_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignuser_request_compound import EzsignuserRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsignuserEditObjectV1Request(BaseModel): + """ + Request for PUT /1/object/ezsignuser/{pkiEzsignuserID} + """ # noqa: E501 + obj_ezsignuser: EzsignuserRequestCompound = Field(alias="objEzsignuser") + __properties: ClassVar[List[str]] = ["objEzsignuser"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignuserEditObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignuser + if self.obj_ezsignuser: + _dict['objEzsignuser'] = self.obj_ezsignuser.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignuserEditObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignuser": EzsignuserRequestCompound.from_dict(obj["objEzsignuser"]) if obj.get("objEzsignuser") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignuser_edit_object_v1_response.py b/eZmaxApi/models/ezsignuser_edit_object_v1_response.py new file mode 100644 index 000000000..8753b045f --- /dev/null +++ b/eZmaxApi/models/ezsignuser_edit_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignuserEditObjectV1Response(BaseModel): + """ + Response for PUT /1/object/ezsignuser/{pkiEzsignuserID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignuserEditObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignuserEditObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignuser_get_object_v2_response.py b/eZmaxApi/models/ezsignuser_get_object_v2_response.py new file mode 100644 index 000000000..8c90a53f1 --- /dev/null +++ b/eZmaxApi/models/ezsignuser_get_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignuser_get_object_v2_response_m_payload import EzsignuserGetObjectV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class EzsignuserGetObjectV2Response(BaseModel): + """ + Response for GET /2/object/ezsignuser/{pkiEzsignuserID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignuserGetObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignuserGetObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignuserGetObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": EzsignuserGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignuser_get_object_v2_response_m_payload.py b/eZmaxApi/models/ezsignuser_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..f7f20ccf0 --- /dev/null +++ b/eZmaxApi/models/ezsignuser_get_object_v2_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignuser_response_compound import EzsignuserResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsignuserGetObjectV2ResponseMPayload(BaseModel): + """ + Payload for GET /2/object/ezsignuser/{pkiEzsignuserID} + """ # noqa: E501 + obj_ezsignuser: EzsignuserResponseCompound = Field(alias="objEzsignuser") + __properties: ClassVar[List[str]] = ["objEzsignuser"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignuserGetObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignuser + if self.obj_ezsignuser: + _dict['objEzsignuser'] = self.obj_ezsignuser.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignuserGetObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objEzsignuser": EzsignuserResponseCompound.from_dict(obj["objEzsignuser"]) if obj.get("objEzsignuser") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignuser_request.py b/eZmaxApi/models/ezsignuser_request.py new file mode 100644 index 000000000..4613ed601 --- /dev/null +++ b/eZmaxApi/models/ezsignuser_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.contact_request_compound_v2 import ContactRequestCompoundV2 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignuserRequest(BaseModel): + """ + A Ezsignuser Object + """ # noqa: E501 + pki_ezsignuser_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignuser", alias="pkiEzsignuserID") + fki_contact_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contact", alias="fkiContactID") + obj_contact: ContactRequestCompoundV2 = Field(alias="objContact") + __properties: ClassVar[List[str]] = ["pkiEzsignuserID", "fkiContactID", "objContact"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignuserRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_contact + if self.obj_contact: + _dict['objContact'] = self.obj_contact.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignuserRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignuserID": obj.get("pkiEzsignuserID"), + "fkiContactID": obj.get("fkiContactID"), + "objContact": ContactRequestCompoundV2.from_dict(obj["objContact"]) if obj.get("objContact") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignuser_request_compound.py b/eZmaxApi/models/ezsignuser_request_compound.py new file mode 100644 index 000000000..5aeabbb41 --- /dev/null +++ b/eZmaxApi/models/ezsignuser_request_compound.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.contact_request_compound_v2 import ContactRequestCompoundV2 +from typing import Optional, Set +from typing_extensions import Self + +class EzsignuserRequestCompound(BaseModel): + """ + A Ezsignuser Object and children + """ # noqa: E501 + pki_ezsignuser_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignuser", alias="pkiEzsignuserID") + fki_contact_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contact", alias="fkiContactID") + obj_contact: ContactRequestCompoundV2 = Field(alias="objContact") + __properties: ClassVar[List[str]] = ["pkiEzsignuserID", "fkiContactID", "objContact"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignuserRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_contact + if self.obj_contact: + _dict['objContact'] = self.obj_contact.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignuserRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignuserID": obj.get("pkiEzsignuserID"), + "fkiContactID": obj.get("fkiContactID"), + "objContact": ContactRequestCompoundV2.from_dict(obj["objContact"]) if obj.get("objContact") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignuser_response.py b/eZmaxApi/models/ezsignuser_response.py new file mode 100644 index 000000000..6bc9efc07 --- /dev/null +++ b/eZmaxApi/models/ezsignuser_response.py @@ -0,0 +1,103 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.contact_response_compound import ContactResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsignuserResponse(BaseModel): + """ + A Ezsignuser Object + """ # noqa: E501 + pki_ezsignuser_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignuser", alias="pkiEzsignuserID") + fki_contact_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contact", alias="fkiContactID") + obj_contact: ContactResponseCompound = Field(alias="objContact") + obj_audit: CommonAudit = Field(alias="objAudit") + __properties: ClassVar[List[str]] = ["pkiEzsignuserID", "fkiContactID", "objContact", "objAudit"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignuserResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_contact + if self.obj_contact: + _dict['objContact'] = self.obj_contact.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignuserResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignuserID": obj.get("pkiEzsignuserID"), + "fkiContactID": obj.get("fkiContactID"), + "objContact": ContactResponseCompound.from_dict(obj["objContact"]) if obj.get("objContact") is not None else None, + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignuser_response_compound.py b/eZmaxApi/models/ezsignuser_response_compound.py new file mode 100644 index 000000000..9e785ee8a --- /dev/null +++ b/eZmaxApi/models/ezsignuser_response_compound.py @@ -0,0 +1,103 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.contact_response_compound import ContactResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class EzsignuserResponseCompound(BaseModel): + """ + A Ezsignuser Object + """ # noqa: E501 + pki_ezsignuser_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignuser", alias="pkiEzsignuserID") + fki_contact_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contact", alias="fkiContactID") + obj_contact: ContactResponseCompound = Field(alias="objContact") + obj_audit: CommonAudit = Field(alias="objAudit") + __properties: ClassVar[List[str]] = ["pkiEzsignuserID", "fkiContactID", "objContact", "objAudit"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EzsignuserResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_contact + if self.obj_contact: + _dict['objContact'] = self.obj_contact.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_audit + if self.obj_audit: + _dict['objAudit'] = self.obj_audit.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EzsignuserResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignuserID": obj.get("pkiEzsignuserID"), + "fkiContactID": obj.get("fkiContactID"), + "objContact": ContactResponseCompound.from_dict(obj["objContact"]) if obj.get("objContact") is not None else None, + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/field_e_activesession_ezsign.py b/eZmaxApi/models/field_e_activesession_ezsign.py new file mode 100644 index 000000000..a09a13a18 --- /dev/null +++ b/eZmaxApi/models/field_e_activesession_ezsign.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEActivesessionEzsign(str, Enum): + """ + Clone rights for eZsign folders. + """ + + """ + allowed enum values + """ + NO = 'No' + READ = 'Read' + MODIFY = 'Modify' + FULL = 'Full' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEActivesessionEzsign from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_activesession_ezsignaccess.py b/eZmaxApi/models/field_e_activesession_ezsignaccess.py new file mode 100644 index 000000000..da12a53e5 --- /dev/null +++ b/eZmaxApi/models/field_e_activesession_ezsignaccess.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEActivesessionEzsignaccess(str, Enum): + """ + Whether the user is subscribed to eZsign and who pays for the subscription + """ + + """ + allowed enum values + """ + NO = 'No' + PAIDBYOFFICE = 'PaidByOffice' + PERDOCUMENT = 'PerDocument' + PREPAID = 'Prepaid' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEActivesessionEzsignaccess from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_activesession_ezsignprepaid.py b/eZmaxApi/models/field_e_activesession_ezsignprepaid.py new file mode 100644 index 000000000..1f368cecb --- /dev/null +++ b/eZmaxApi/models/field_e_activesession_ezsignprepaid.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEActivesessionEzsignprepaid(str, Enum): + """ + eZsign subscription level + """ + + """ + allowed enum values + """ + NO = 'No' + BASIC = 'Basic' + STANDARD = 'Standard' + PRO = 'Pro' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEActivesessionEzsignprepaid from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_activesession_realestateinprogress.py b/eZmaxApi/models/field_e_activesession_realestateinprogress.py new file mode 100644 index 000000000..9befdb754 --- /dev/null +++ b/eZmaxApi/models/field_e_activesession_realestateinprogress.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEActivesessionRealestateinprogress(str, Enum): + """ + Clone rights for active real estate folders + """ + + """ + allowed enum values + """ + NO = 'No' + READ = 'Read' + MODIFY = 'Modify' + CREATE = 'Create' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEActivesessionRealestateinprogress from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_authenticationexternal_type.py b/eZmaxApi/models/field_e_authenticationexternal_type.py new file mode 100644 index 000000000..86ec7776f --- /dev/null +++ b/eZmaxApi/models/field_e_authenticationexternal_type.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEAuthenticationexternalType(str, Enum): + """ + The type of the Authenticationexternal + """ + + """ + allowed enum values + """ + SALESFORCE = 'Salesforce' + SALESFORCESANDBOX = 'SalesforceSandbox' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEAuthenticationexternalType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_branding_alignlogo.py b/eZmaxApi/models/field_e_branding_alignlogo.py new file mode 100644 index 000000000..08f91c2a9 --- /dev/null +++ b/eZmaxApi/models/field_e_branding_alignlogo.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEBrandingAlignlogo(str, Enum): + """ + Alignment of logo for the Branding. + """ + + """ + allowed enum values + """ + CENTER = 'Center' + LEFT = 'Left' + RIGHT = 'Right' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEBrandingAlignlogo from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_branding_logointerface.py b/eZmaxApi/models/field_e_branding_logointerface.py deleted file mode 100644 index f909161c3..000000000 --- a/eZmaxApi/models/field_e_branding_logointerface.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import json -from enum import Enum -from typing_extensions import Self - - -class FieldEBrandingLogointerface(str, Enum): - """ - The logo for the Branding. Select the value 'Default' if you want to use the default logo and delete the custom one if you used one - """ - - """ - allowed enum values - """ - DEFAULT = 'Default' - JPEG = 'JPEG' - PNG = 'PNG' - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of FieldEBrandingLogointerface from a JSON string""" - return cls(json.loads(json_str)) - - diff --git a/eZmaxApi/models/field_e_colleague_ezsign.py b/eZmaxApi/models/field_e_colleague_ezsign.py new file mode 100644 index 000000000..7eec27109 --- /dev/null +++ b/eZmaxApi/models/field_e_colleague_ezsign.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEColleagueEzsign(str, Enum): + """ + The permission of the cloning user for Ezsign + """ + + """ + allowed enum values + """ + NO = 'No' + READ = 'Read' + MODIFY = 'Modify' + FULL = 'Full' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEColleagueEzsign from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_colleague_realestateinprogess.py b/eZmaxApi/models/field_e_colleague_realestateinprogess.py new file mode 100644 index 000000000..a5134dd1f --- /dev/null +++ b/eZmaxApi/models/field_e_colleague_realestateinprogess.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEColleagueRealestateinprogess(str, Enum): + """ + The permission of the cloning user for Realestate + """ + + """ + allowed enum values + """ + NO = 'No' + READ = 'Read' + MODIFY = 'Modify' + CREATE = 'Create' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEColleagueRealestateinprogess from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_contact_type.py b/eZmaxApi/models/field_e_contact_type.py new file mode 100644 index 000000000..6dfd2e79c --- /dev/null +++ b/eZmaxApi/models/field_e_contact_type.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEContactType(str, Enum): + """ + The type of the Contact + """ + + """ + allowed enum values + """ + AGENT = 'Agent' + ASSISTANT = 'Assistant' + BANKACCOUNT = 'BankAccount' + BORROWER = 'Borrower' + BUYER = 'Buyer' + COMPANY = 'Company' + CONTRACTCREATOR = 'ContractCreator' + CREDITCARDMERCHANT = 'Creditcardmerchant' + CUSTOMER = 'Customer' + DEPOSITRECEIPT = 'Depositreceipt' + EMPLOYEE = 'Employee' + EXTERNALBROKER = 'ExternalBroker' + EZSIGNSIGNER = 'EzsignSigner' + EZSIGNUSER = 'EzsignUser' + EZCOMAGENT = 'EzcomAgent' + EZCOMAPPROVER = 'EzcomApprover' + FINANCIALINSTITUTION = 'FinancialInstitution' + FRANCHISEBROKER = 'FranchiseBroker' + FRANCHISEFRANCHISECONTACT = 'Franchisefranchisecontact' + FRANCHISEFRANCHISESIGNATORY = 'Franchisefranchisesignatory' + FRANCHISEOFFICEBROKER = 'FranchiseOfficeBroker' + FRANCHISECOMPANY = 'FranchiseCompany' + FRANCHISEOWNER = 'FranchiseOwner' + LEAD = 'Lead' + MARKETINGCAMPAIGNSAMPLE = 'MarketingCampaignSample' + NOTARY = 'Notary' + PAYER = 'Payer' + PETOWNER = 'Petowner' + PRIVATETO = 'PrivateTo' + REWARDMEMBER = 'RewardMember' + REWARDREPRESENTATIVE = 'RewardRepresentative' + SELLER = 'Seller' + SHARED = 'Shared' + SUPPLIER = 'Supplier' + SURVEY = 'Survey' + INSPECTOR = 'Inspector' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEContactType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_contactinformations_type.py b/eZmaxApi/models/field_e_contactinformations_type.py new file mode 100644 index 000000000..296ac12df --- /dev/null +++ b/eZmaxApi/models/field_e_contactinformations_type.py @@ -0,0 +1,47 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEContactinformationsType(str, Enum): + """ + The type of the Contactinformations + """ + + """ + allowed enum values + """ + BANKACCOUNT = 'BankAccount' + CONTACTOBJECT = 'ContactObject' + CREDITCARD = 'CreditCard' + CUSTOMER = 'Customer' + EXTERNALBROKER = 'ExternalBroker' + EXTERNALBROKERFIRM = 'ExternalBrokerFirm' + EZCOMCOMPANY = 'EzcomCompany' + FINANCIALINSTITUTION = 'FinancialInstitution' + FRANCHISECOMPANY = 'FranchiseCompany' + FRANCHISEOFFICE = 'FranchiseOffice' + SUPPLIER = 'Supplier' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEContactinformationsType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_creditcardtransaction_avsresult.py b/eZmaxApi/models/field_e_creditcardtransaction_avsresult.py new file mode 100644 index 000000000..98c4c8e7d --- /dev/null +++ b/eZmaxApi/models/field_e_creditcardtransaction_avsresult.py @@ -0,0 +1,41 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldECreditcardtransactionAvsresult(str, Enum): + """ + The result for the address validation + """ + + """ + allowed enum values + """ + MATCH = 'Match' + NOMATCH = 'NoMatch' + PARTIALMATCH = 'PartialMatch' + NOTIMPLEMENTED = 'NotImplemented' + NOTVERIFIED = 'NotVerified' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldECreditcardtransactionAvsresult from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_creditcardtransaction_cvdresult.py b/eZmaxApi/models/field_e_creditcardtransaction_cvdresult.py new file mode 100644 index 000000000..d0d731985 --- /dev/null +++ b/eZmaxApi/models/field_e_creditcardtransaction_cvdresult.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldECreditcardtransactionCvdresult(str, Enum): + """ + The result for the cvd validation + """ + + """ + allowed enum values + """ + MATCH = 'Match' + NOMATCH = 'NoMatch' + NOTVERIFIED = 'NotVerified' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldECreditcardtransactionCvdresult from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_customer_marketingcorrespondence.py b/eZmaxApi/models/field_e_customer_marketingcorrespondence.py new file mode 100644 index 000000000..4fafefdb4 --- /dev/null +++ b/eZmaxApi/models/field_e_customer_marketingcorrespondence.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldECustomerMarketingcorrespondence(str, Enum): + """ + The marketingcorrespondence of the Customer + """ + + """ + allowed enum values + """ + NO = 'No' + EMAIL = 'Email' + MAIL = 'Mail' + ANY = 'Any' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldECustomerMarketingcorrespondence from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_customer_type.py b/eZmaxApi/models/field_e_customer_type.py new file mode 100644 index 000000000..cc02bf64e --- /dev/null +++ b/eZmaxApi/models/field_e_customer_type.py @@ -0,0 +1,41 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldECustomerType(str, Enum): + """ + The type of the Customer + """ + + """ + allowed enum values + """ + NORMAL = 'Normal' + VETRX_MINUS_SERVER = 'Vetrx-Server' + REWARD_MINUS_ADMINISTRATION = 'Reward-Administration' + REWARD_MINUS_REPRESENTATIVE = 'Reward-Representative' + REWARD_MINUS_SERVER = 'Reward-Server' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldECustomerType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezdoctemplatedocument_privacylevel.py b/eZmaxApi/models/field_e_ezdoctemplatedocument_privacylevel.py new file mode 100644 index 000000000..608635317 --- /dev/null +++ b/eZmaxApi/models/field_e_ezdoctemplatedocument_privacylevel.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzdoctemplatedocumentPrivacylevel(str, Enum): + """ + The Privacy level of the Ezdoctemplatedocument. * **User** is for personal templates use and cannot be shared * **Ezsignfoldertype** and **Company** is for shared template + """ + + """ + allowed enum values + """ + COMPANY = 'Company' + EZSIGNFOLDERTYPE = 'Ezsignfoldertype' + USER = 'User' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzdoctemplatedocumentPrivacylevel from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsigndocumentlog_type.py b/eZmaxApi/models/field_e_ezsigndocumentlog_type.py index 24abebffd..7df590933 100644 --- a/eZmaxApi/models/field_e_ezsigndocumentlog_type.py +++ b/eZmaxApi/models/field_e_ezsigndocumentlog_type.py @@ -45,8 +45,10 @@ class FieldEEzsigndocumentlogType(str, Enum): CHANGELIMITDATE = 'Changelimitdate' UNSIGN = 'Unsign' IMPORTFROMINSTANET = 'ImportFromInstanet' + CREATEDFROMEZSIGNTEMPLATEPUBLIC = 'CreatedFromEzsigntemplatepublic' SENDEMAIL = 'SendEmail' FORMCOMPLETION = 'FormCompletion' + FORMSAVEASDRAFT = 'FormSaveAsDraft' SIGNATUREATTACHMENTADD = 'SignatureAttachmentAdd' SIGNATUREATTACHMENTVALIDATION = 'SignatureAttachmentValidation' SIGNATUREATTACHMENTREFUSED = 'SignatureAttachmentRefused' @@ -58,6 +60,7 @@ class FieldEEzsigndocumentlogType(str, Enum): REGENERATEPAGE = 'RegeneratePage' REGENERATEPAGEFORM = 'RegeneratePageForm' REASSIGN = 'Reassign' + DOCUMENTCOMPLETION = 'DocumentCompletion' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/eZmaxApi/models/field_e_ezsignfolder_documentdependency.py b/eZmaxApi/models/field_e_ezsignfolder_documentdependency.py new file mode 100644 index 000000000..126d7270c --- /dev/null +++ b/eZmaxApi/models/field_e_ezsignfolder_documentdependency.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsignfolderDocumentdependency(str, Enum): + """ + Indicates if document dependencies apply to all users or just to Ezsignsigner + """ + + """ + allowed enum values + """ + ALL = 'All' + EZSIGNSIGNERONLY = 'EzsignsignerOnly' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsignfolderDocumentdependency from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsignfolder_messageorder.py b/eZmaxApi/models/field_e_ezsignfolder_messageorder.py new file mode 100644 index 000000000..3d9fe7142 --- /dev/null +++ b/eZmaxApi/models/field_e_ezsignfolder_messageorder.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsignfolderMessageorder(str, Enum): + """ + Message order of the Ezsignfolder. + """ + + """ + allowed enum values + """ + GLOBALFIRST = 'GlobalFirst' + PRIVATEFIRST = 'PrivateFirst' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsignfolderMessageorder from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsignfoldertype_documentdependency.py b/eZmaxApi/models/field_e_ezsignfoldertype_documentdependency.py new file mode 100644 index 000000000..30a3db0e8 --- /dev/null +++ b/eZmaxApi/models/field_e_ezsignfoldertype_documentdependency.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsignfoldertypeDocumentdependency(str, Enum): + """ + Indicates if document dependencies apply to all users or just to Ezsignsigner + """ + + """ + allowed enum values + """ + ALL = 'All' + EZSIGNSIGNERONLY = 'EzsignsignerOnly' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsignfoldertypeDocumentdependency from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsignfoldertype_pdfanoncompliantaction.py b/eZmaxApi/models/field_e_ezsignfoldertype_pdfanoncompliantaction.py new file mode 100644 index 000000000..58f58254b --- /dev/null +++ b/eZmaxApi/models/field_e_ezsignfoldertype_pdfanoncompliantaction.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsignfoldertypePdfanoncompliantaction(str, Enum): + """ + The Action to do if the PDFA is non compliant of the Ezsignfolder type. * **Reject** is for rejecting the document * **Convert** is for converting to the fkiPdfalevelIDConvert configured + """ + + """ + allowed enum values + """ + REJECT = 'Reject' + CONVERT = 'Convert' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsignfoldertypePdfanoncompliantaction from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsignfoldertype_pdfarequirement.py b/eZmaxApi/models/field_e_ezsignfoldertype_pdfarequirement.py new file mode 100644 index 000000000..0885c1a77 --- /dev/null +++ b/eZmaxApi/models/field_e_ezsignfoldertype_pdfarequirement.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsignfoldertypePdfarequirement(str, Enum): + """ + The PDF/a requirement of the Ezsignfolder type. * **None** is for not enforcing the PDF/a * **Declared** is to check the value declared by the document * **Verified** is to verify the document to see the compliance. May takes more time processing the document + """ + + """ + allowed enum values + """ + NONE = 'None' + DECLARED = 'Declared' + VERIFIED = 'Verified' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsignfoldertypePdfarequirement from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsignfoldertype_signeraccess.py b/eZmaxApi/models/field_e_ezsignfoldertype_signeraccess.py new file mode 100644 index 000000000..e76bc98f1 --- /dev/null +++ b/eZmaxApi/models/field_e_ezsignfoldertype_signeraccess.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsignfoldertypeSigneraccess(str, Enum): + """ + Indicates which documents the user has access to. + """ + + """ + allowed enum values + """ + NO = 'No' + SIGNERDOCUMENTS = 'SignerDocuments' + ALLDOCUMENTS = 'AllDocuments' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsignfoldertypeSigneraccess from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsignsignature_consultationtrigger.py b/eZmaxApi/models/field_e_ezsignsignature_consultationtrigger.py new file mode 100644 index 000000000..983877955 --- /dev/null +++ b/eZmaxApi/models/field_e_ezsignsignature_consultationtrigger.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsignsignatureConsultationtrigger(str, Enum): + """ + Indicates when the “consultation” type signature must be signed. 1. **Automatic** When the document is displayed . 2. **Manual** The user must indicate that he has viewed the document. + """ + + """ + allowed enum values + """ + AUTOMATIC = 'Automatic' + MANUAL = 'Manual' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsignsignatureConsultationtrigger from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsignsignature_font.py b/eZmaxApi/models/field_e_ezsignsignature_font.py index 46609c491..7839bcdaf 100644 --- a/eZmaxApi/models/field_e_ezsignsignature_font.py +++ b/eZmaxApi/models/field_e_ezsignsignature_font.py @@ -21,7 +21,7 @@ class FieldEEzsignsignatureFont(str, Enum): """ - The font of the signature. This can only be set if eEzsignsignatureType is **Name** or **Initials** + The font of the signature. This can only be set if eEzsignsignatureType is **Name** or **Initials** **Deprecated** """ """ diff --git a/eZmaxApi/models/field_e_ezsignsignature_type.py b/eZmaxApi/models/field_e_ezsignsignature_type.py index c8fab6662..2184d42c1 100644 --- a/eZmaxApi/models/field_e_ezsignsignature_type.py +++ b/eZmaxApi/models/field_e_ezsignsignature_type.py @@ -21,7 +21,7 @@ class FieldEEzsignsignatureType(str, Enum): """ - The type of signature. 1. **Acknowledgement** is for an acknowledgment of receipt. 2. **City** is to request the city where the document is signed. 3. **Handwritten** is for a handwritten kind of signature where users needs to \"draw\" their signature on screen. 4. **Initials** is a simple \"click to add initials\" block. 5. **Name** is a simple \"Click to sign\" block. This is the most common block of signature. 6. **NameReason** is to ask for a signing reason. 7. **Attachments** is to ask for files as attachment that may be validate in another step. 8. **FieldText** is to ask for a short text. 9. **Fieldtextarea** is to ask for a text + The type of signature. 1. **Acknowledgement** is for an acknowledgment of receipt. 2. **City** is to request the city where the document is signed. 3. **Handwritten** is for a handwritten kind of signature where users needs to \"draw\" their signature on screen. **DEPRECATED** 4. **Initials** is a simple \"click to add initials\" block. 5. **Name** is a simple \"Click to sign\" block. This is the most common block of signature. **DEPRECATED** 6. **NameReason** is to ask for a signing reason. 7. **Attachments** is to ask for files as attachment that may be validate in another step. 8. **FieldText** is to ask for a short text. 9. **Fieldtextarea** is to ask for a text 10. **Signature** is the type replacing **Name** and **Handwritten** and will support a font or svg """ """ @@ -38,6 +38,7 @@ class FieldEEzsignsignatureType(str, Enum): FIELDTEXT = 'FieldText' FIELDTEXTAREA = 'FieldTextarea' CONSULTATION = 'Consultation' + SIGNATURE = 'Signature' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/eZmaxApi/models/field_e_ezsigntemplate_recognition.py b/eZmaxApi/models/field_e_ezsigntemplate_recognition.py new file mode 100644 index 000000000..7ae3085e6 --- /dev/null +++ b/eZmaxApi/models/field_e_ezsigntemplate_recognition.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsigntemplateRecognition(str, Enum): + """ + Indicates whether we use the name or the content to recognize the templates to be automatically applied to documents + """ + + """ + allowed enum values + """ + NO = 'No' + FILENAME = 'Filename' + CONTENT = 'Content' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsigntemplateRecognition from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsigntemplate_type.py b/eZmaxApi/models/field_e_ezsigntemplate_type.py index 486fb7071..8ed67d2a3 100644 --- a/eZmaxApi/models/field_e_ezsigntemplate_type.py +++ b/eZmaxApi/models/field_e_ezsigntemplate_type.py @@ -21,7 +21,7 @@ class FieldEEzsigntemplateType(str, Enum): """ - The Type of Ezsigntemplate + The Type of Ezsigntemplate **Usergroup** is now deprecated and replace with **Ezsignfoldertype** """ """ @@ -30,6 +30,7 @@ class FieldEEzsigntemplateType(str, Enum): USER = 'User' USERGROUP = 'Usergroup' COMPANY = 'Company' + EZSIGNFOLDERTYPE = 'Ezsignfoldertype' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/eZmaxApi/models/field_e_ezsigntemplatedocumentpagerecognition_operator.py b/eZmaxApi/models/field_e_ezsigntemplatedocumentpagerecognition_operator.py new file mode 100644 index 000000000..65f8eafee --- /dev/null +++ b/eZmaxApi/models/field_e_ezsigntemplatedocumentpagerecognition_operator.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsigntemplatedocumentpagerecognitionOperator(str, Enum): + """ + The operator of the Ezsigntemplatedocumentpagerecognition + """ + + """ + allowed enum values + """ + EQ = 'eq' + IN = 'in' + SIMILAR = 'similar' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsigntemplatedocumentpagerecognitionOperator from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsigntemplatedocumentpagerecognition_section.py b/eZmaxApi/models/field_e_ezsigntemplatedocumentpagerecognition_section.py new file mode 100644 index 000000000..fb4f0b8f0 --- /dev/null +++ b/eZmaxApi/models/field_e_ezsigntemplatedocumentpagerecognition_section.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsigntemplatedocumentpagerecognitionSection(str, Enum): + """ + The section of the Ezsigntemplatedocumentpagerecognition + """ + + """ + allowed enum values + """ + FIRSTLINE = 'FirstLine' + LASTLINE = 'LastLine' + PAGE = 'Page' + REGION = 'Region' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsigntemplatedocumentpagerecognitionSection from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsigntemplatepackagesigner_mapping.py b/eZmaxApi/models/field_e_ezsigntemplatepackagesigner_mapping.py new file mode 100644 index 000000000..50fd25213 --- /dev/null +++ b/eZmaxApi/models/field_e_ezsigntemplatepackagesigner_mapping.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsigntemplatepackagesignerMapping(str, Enum): + """ + Mapping configuration to use when package is apply. 1. **Manual** User need to choose mapping manually. 2. **Creator** mapping will be set to creator of folderS. 3. **User** mapping will be set to fkiUserID 4. **Usergroup** mapping will be set to fkiUsergroupID. + """ + + """ + allowed enum values + """ + MANUAL = 'Manual' + CREATOR = 'Creator' + USER = 'User' + USERGROUP = 'Usergroup' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsigntemplatepackagesignerMapping from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsigntemplatepublic_limittype.py b/eZmaxApi/models/field_e_ezsigntemplatepublic_limittype.py new file mode 100644 index 000000000..1dbe8cfa7 --- /dev/null +++ b/eZmaxApi/models/field_e_ezsigntemplatepublic_limittype.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsigntemplatepublicLimittype(str, Enum): + """ + The limittype of the Ezsigntemplatepublic + """ + + """ + allowed enum values + """ + HOUR = 'Hour' + DAY = 'Day' + MONTH = 'Month' + TOTAL = 'Total' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsigntemplatepublicLimittype from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsigntemplatesignature_consultationtrigger.py b/eZmaxApi/models/field_e_ezsigntemplatesignature_consultationtrigger.py new file mode 100644 index 000000000..ab4cb600d --- /dev/null +++ b/eZmaxApi/models/field_e_ezsigntemplatesignature_consultationtrigger.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsigntemplatesignatureConsultationtrigger(str, Enum): + """ + Indicates when the “consultation” type signature must be signed. 1. **Automatic** When the document is displayed . 2. **Manual** The user must indicate that he has viewed the document. + """ + + """ + allowed enum values + """ + AUTOMATIC = 'Automatic' + MANUAL = 'Manual' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsigntemplatesignatureConsultationtrigger from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_ezsigntemplatesignature_font.py b/eZmaxApi/models/field_e_ezsigntemplatesignature_font.py index 6b8177bd9..f10c95db2 100644 --- a/eZmaxApi/models/field_e_ezsigntemplatesignature_font.py +++ b/eZmaxApi/models/field_e_ezsigntemplatesignature_font.py @@ -21,7 +21,7 @@ class FieldEEzsigntemplatesignatureFont(str, Enum): """ - The font of the signature. This can only be set if eEzsigntemplatesignatureType is **Name** or **Initials** + The font of the signature. This can only be set if eEzsigntemplatesignatureType is **Name** or **Initials** **Deprecated** """ """ diff --git a/eZmaxApi/models/field_e_ezsigntemplatesignature_type.py b/eZmaxApi/models/field_e_ezsigntemplatesignature_type.py index b36fa02c3..c63024e12 100644 --- a/eZmaxApi/models/field_e_ezsigntemplatesignature_type.py +++ b/eZmaxApi/models/field_e_ezsigntemplatesignature_type.py @@ -21,7 +21,7 @@ class FieldEEzsigntemplatesignatureType(str, Enum): """ - The type of signature. 1. **Acknowledgement** is for an acknowledgment of receipt. 2. **City** is to request the city where the document is signed. 3. **Handwritten** is for a handwritten kind of signature where users needs to \"draw\" their signature on screen. 4. **Initials** is a simple \"click to add initials\" block. 5. **Name** is a simple \"Click to sign\" block. This is the most common block of signature. 6. **NameReason** is to ask for a signing reason. 7. **Attachments** is to ask for files as attachment that may be validate in another step. + The type of signature. 1. **Acknowledgement** is for an acknowledgment of receipt. 2. **City** is to request the city where the document is signed. 3. **Handwritten** is for a handwritten kind of signature where users needs to \"draw\" their signature on screen. **Deprecated** 4. **Initials** is a simple \"click to add initials\" block. 5. **Name** is a simple \"Click to sign\" block. This is the most common block of signature. **Deprecated** 6. **NameReason** is to ask for a signing reason. 7. **Attachments** is to ask for files as attachment that may be validate in another step. 8. **Signature** is replacing **Name** and **Handwritten**. Will be normal or handwritten once signed """ """ @@ -37,6 +37,7 @@ class FieldEEzsigntemplatesignatureType(str, Enum): FIELDTEXT = 'FieldText' FIELDTEXTAREA = 'FieldTextarea' CONSULTATION = 'Consultation' + SIGNATURE = 'Signature' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/eZmaxApi/models/field_e_ezsigntemplatesigner_mapping.py b/eZmaxApi/models/field_e_ezsigntemplatesigner_mapping.py new file mode 100644 index 000000000..93ed6fc41 --- /dev/null +++ b/eZmaxApi/models/field_e_ezsigntemplatesigner_mapping.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldEEzsigntemplatesignerMapping(str, Enum): + """ + Mapping configuration to use when template is apply to an document. 1. **Manual** User need to choose mapping manually. 2. **Creator** mapping will be set to creator of template. 3. **User** mapping will be set to fkiUserID 4. **Usergroup** mapping will be set to fkiUsergroupID. + """ + + """ + allowed enum values + """ + MANUAL = 'Manual' + CREATOR = 'Creator' + USER = 'User' + USERGROUP = 'Usergroup' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldEEzsigntemplatesignerMapping from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_e_signature_preference.py b/eZmaxApi/models/field_e_signature_preference.py new file mode 100644 index 000000000..e5c88de1c --- /dev/null +++ b/eZmaxApi/models/field_e_signature_preference.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FieldESignaturePreference(str, Enum): + """ + The Preference of the Signature + """ + + """ + allowed enum values + """ + TEXT = 'Text' + HANDWRITTEN = 'Handwritten' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FieldESignaturePreference from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/eZmaxApi/models/field_pks_ezmaxclient_os.py b/eZmaxApi/models/field_pks_ezmaxclient_os.py index b40dbff5c..531c41531 100644 --- a/eZmaxApi/models/field_pks_ezmaxclient_os.py +++ b/eZmaxApi/models/field_pks_ezmaxclient_os.py @@ -27,6 +27,7 @@ class FieldPksEzmaxclientOs(str, Enum): """ allowed enum values """ + ANDROID = 'Android' IOS = 'iOS' IPADOS = 'iPadOS' MACOS = 'macOS' diff --git a/eZmaxApi/models/font_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/font_get_autocomplete_v2_response_m_payload.py index efb84a753..64b05d28c 100644 --- a/eZmaxApi/models/font_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/font_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_font (list) _items = [] if self.a_obj_font: - for _item in self.a_obj_font: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_font in self.a_obj_font: + if _item_a_obj_font: + _items.append(_item_a_obj_font.to_dict()) _dict['a_objFont'] = _items return _dict diff --git a/eZmaxApi/models/franchisebroker_autocomplete_element_response.py b/eZmaxApi/models/franchisebroker_autocomplete_element_response.py index 111d8048e..13123d74a 100644 --- a/eZmaxApi/models/franchisebroker_autocomplete_element_response.py +++ b/eZmaxApi/models/franchisebroker_autocomplete_element_response.py @@ -28,7 +28,7 @@ class FranchisebrokerAutocompleteElementResponse(BaseModel): """ A Franchisebroker AutocompleteElement Response """ # noqa: E501 - s_franchisebroker_name: StrictStr = Field(description="The name of the Franchisebroker in the language of the requester", alias="sFranchisebrokerName") + s_franchisebroker_name: StrictStr = Field(description="The name of the Franchisebroker", alias="sFranchisebrokerName") pki_franchisebroker_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Franchisebroker", alias="pkiFranchisebrokerID") b_franchisebroker_isactive: StrictBool = Field(description="Whether the Franchisebroker is active or not", alias="bFranchisebrokerIsactive") __properties: ClassVar[List[str]] = ["sFranchisebrokerName", "pkiFranchisebrokerID", "bFranchisebrokerIsactive"] diff --git a/eZmaxApi/models/franchisebroker_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/franchisebroker_get_autocomplete_v2_response_m_payload.py index d42c064f6..f76a8e70a 100644 --- a/eZmaxApi/models/franchisebroker_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/franchisebroker_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_franchisebroker (list) _items = [] if self.a_obj_franchisebroker: - for _item in self.a_obj_franchisebroker: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_franchisebroker in self.a_obj_franchisebroker: + if _item_a_obj_franchisebroker: + _items.append(_item_a_obj_franchisebroker.to_dict()) _dict['a_objFranchisebroker'] = _items return _dict diff --git a/eZmaxApi/models/franchiseoffice_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/franchiseoffice_get_autocomplete_v2_response_m_payload.py index 53613e944..9d381d05c 100644 --- a/eZmaxApi/models/franchiseoffice_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/franchiseoffice_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_franchiseoffice (list) _items = [] if self.a_obj_franchiseoffice: - for _item in self.a_obj_franchiseoffice: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_franchiseoffice in self.a_obj_franchiseoffice: + if _item_a_obj_franchiseoffice: + _items.append(_item_a_obj_franchiseoffice.to_dict()) _dict['a_objFranchiseoffice'] = _items return _dict diff --git a/eZmaxApi/models/franchisereferalincome_create_object_v2_request.py b/eZmaxApi/models/franchisereferalincome_create_object_v2_request.py index 8656042a4..9f4ce5e56 100644 --- a/eZmaxApi/models/franchisereferalincome_create_object_v2_request.py +++ b/eZmaxApi/models/franchisereferalincome_create_object_v2_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_franchisereferalincome (list) _items = [] if self.a_obj_franchisereferalincome: - for _item in self.a_obj_franchisereferalincome: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_franchisereferalincome in self.a_obj_franchisereferalincome: + if _item_a_obj_franchisereferalincome: + _items.append(_item_a_obj_franchisereferalincome.to_dict()) _dict['a_objFranchisereferalincome'] = _items return _dict diff --git a/eZmaxApi/models/franchisereferalincome_request_compound.py b/eZmaxApi/models/franchisereferalincome_request_compound.py index e1327485f..1295937e7 100644 --- a/eZmaxApi/models/franchisereferalincome_request_compound.py +++ b/eZmaxApi/models/franchisereferalincome_request_compound.py @@ -91,9 +91,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_contact (list) _items = [] if self.a_obj_contact: - for _item in self.a_obj_contact: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_contact in self.a_obj_contact: + if _item_a_obj_contact: + _items.append(_item_a_obj_contact.to_dict()) _dict['a_objContact'] = _items return _dict diff --git a/eZmaxApi/models/glaccount_autocomplete_element_response.py b/eZmaxApi/models/glaccount_autocomplete_element_response.py new file mode 100644 index 000000000..c0b52d5a2 --- /dev/null +++ b/eZmaxApi/models/glaccount_autocomplete_element_response.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class GlaccountAutocompleteElementResponse(BaseModel): + """ + A Glaccount AutocompleteElement Response + """ # noqa: E501 + pki_glaccount_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccount", alias="pkiGlaccountID") + i_glaccount_code: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Code of the Glaccount", alias="iGlaccountCode") + s_glaccount_description_x: StrictStr = Field(description="The Description for the Glaccount in the language of the requester", alias="sGlaccountDescriptionX") + b_glaccount_isactive: StrictBool = Field(description="Whether the Glaccount is active or not", alias="bGlaccountIsactive") + __properties: ClassVar[List[str]] = ["pkiGlaccountID", "iGlaccountCode", "sGlaccountDescriptionX", "bGlaccountIsactive"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GlaccountAutocompleteElementResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GlaccountAutocompleteElementResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiGlaccountID": obj.get("pkiGlaccountID"), + "iGlaccountCode": obj.get("iGlaccountCode"), + "sGlaccountDescriptionX": obj.get("sGlaccountDescriptionX"), + "bGlaccountIsactive": obj.get("bGlaccountIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/glaccount_get_autocomplete_v2_response.py b/eZmaxApi/models/glaccount_get_autocomplete_v2_response.py new file mode 100644 index 000000000..2b48a8a66 --- /dev/null +++ b/eZmaxApi/models/glaccount_get_autocomplete_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.glaccount_get_autocomplete_v2_response_m_payload import GlaccountGetAutocompleteV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class GlaccountGetAutocompleteV2Response(BaseModel): + """ + Response for GET /2/object/glaccount/getAutocomplete + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: GlaccountGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GlaccountGetAutocompleteV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GlaccountGetAutocompleteV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": GlaccountGetAutocompleteV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/glaccount_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/glaccount_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..4b6d20952 --- /dev/null +++ b/eZmaxApi/models/glaccount_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.glaccount_autocomplete_element_response import GlaccountAutocompleteElementResponse +from typing import Optional, Set +from typing_extensions import Self + +class GlaccountGetAutocompleteV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/glaccount/getAutocomplete + """ # noqa: E501 + a_obj_glaccount: List[GlaccountAutocompleteElementResponse] = Field(description="An array of Glaccount autocomplete element response.", alias="a_objGlaccount") + __properties: ClassVar[List[str]] = ["a_objGlaccount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GlaccountGetAutocompleteV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_glaccount (list) + _items = [] + if self.a_obj_glaccount: + for _item_a_obj_glaccount in self.a_obj_glaccount: + if _item_a_obj_glaccount: + _items.append(_item_a_obj_glaccount.to_dict()) + _dict['a_objGlaccount'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GlaccountGetAutocompleteV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objGlaccount": [GlaccountAutocompleteElementResponse.from_dict(_item) for _item in obj["a_objGlaccount"]] if obj.get("a_objGlaccount") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/glaccountcontainer_autocomplete_element_response.py b/eZmaxApi/models/glaccountcontainer_autocomplete_element_response.py new file mode 100644 index 000000000..029208e33 --- /dev/null +++ b/eZmaxApi/models/glaccountcontainer_autocomplete_element_response.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class GlaccountcontainerAutocompleteElementResponse(BaseModel): + """ + A Glaccountcontainer AutocompleteElement Response + """ # noqa: E501 + pki_glaccountcontainer_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="pkiGlaccountcontainerID") + s_glaccountcontainer_longcode: StrictStr = Field(description="The Code for the Glaccountcontainer", alias="sGlaccountcontainerLongcode") + s_glaccountcontainer_longdescription_x: StrictStr = Field(description="The Description for the Glaccountcontainer in the language of the requester", alias="sGlaccountcontainerLongdescriptionX") + b_glaccountcontainer_isactive: StrictBool = Field(description="Whether the glaccountcontainer is active or not", alias="bGlaccountcontainerIsactive") + __properties: ClassVar[List[str]] = ["pkiGlaccountcontainerID", "sGlaccountcontainerLongcode", "sGlaccountcontainerLongdescriptionX", "bGlaccountcontainerIsactive"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GlaccountcontainerAutocompleteElementResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GlaccountcontainerAutocompleteElementResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiGlaccountcontainerID": obj.get("pkiGlaccountcontainerID"), + "sGlaccountcontainerLongcode": obj.get("sGlaccountcontainerLongcode"), + "sGlaccountcontainerLongdescriptionX": obj.get("sGlaccountcontainerLongdescriptionX"), + "bGlaccountcontainerIsactive": obj.get("bGlaccountcontainerIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response.py b/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response.py new file mode 100644 index 000000000..ae80812ff --- /dev/null +++ b/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response_m_payload import GlaccountcontainerGetAutocompleteV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class GlaccountcontainerGetAutocompleteV2Response(BaseModel): + """ + Response for GET /2/object/glaccountcontainer/getAutocomplete + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: GlaccountcontainerGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GlaccountcontainerGetAutocompleteV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GlaccountcontainerGetAutocompleteV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": GlaccountcontainerGetAutocompleteV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..9f823b8e7 --- /dev/null +++ b/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.glaccountcontainer_autocomplete_element_response import GlaccountcontainerAutocompleteElementResponse +from typing import Optional, Set +from typing_extensions import Self + +class GlaccountcontainerGetAutocompleteV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/glaccountcontainer/getAutocomplete + """ # noqa: E501 + a_obj_glaccountcontainer: List[GlaccountcontainerAutocompleteElementResponse] = Field(description="An array of Glaccountcontainer autocomplete element response.", alias="a_objGlaccountcontainer") + __properties: ClassVar[List[str]] = ["a_objGlaccountcontainer"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GlaccountcontainerGetAutocompleteV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_glaccountcontainer (list) + _items = [] + if self.a_obj_glaccountcontainer: + for _item_a_obj_glaccountcontainer in self.a_obj_glaccountcontainer: + if _item_a_obj_glaccountcontainer: + _items.append(_item_a_obj_glaccountcontainer.to_dict()) + _dict['a_objGlaccountcontainer'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GlaccountcontainerGetAutocompleteV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objGlaccountcontainer": [GlaccountcontainerAutocompleteElementResponse.from_dict(_item) for _item in obj["a_objGlaccountcontainer"]] if obj.get("a_objGlaccountcontainer") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscription_get_attachments_v1_response_m_payload.py b/eZmaxApi/models/inscription_get_attachments_v1_response_m_payload.py index d968f766a..994c6a12a 100644 --- a/eZmaxApi/models/inscription_get_attachments_v1_response_m_payload.py +++ b/eZmaxApi/models/inscription_get_attachments_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attachmentdocumenttype (list) _items = [] if self.a_obj_attachmentdocumenttype: - for _item in self.a_obj_attachmentdocumenttype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attachmentdocumenttype in self.a_obj_attachmentdocumenttype: + if _item_a_obj_attachmentdocumenttype: + _items.append(_item_a_obj_attachmentdocumenttype.to_dict()) _dict['a_objAttachmentdocumenttype'] = _items return _dict diff --git a/eZmaxApi/models/inscription_get_communication_count_v1_response.py b/eZmaxApi/models/inscription_get_communication_count_v1_response.py new file mode 100644 index 000000000..766f6f91e --- /dev/null +++ b/eZmaxApi/models/inscription_get_communication_count_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.inscription_get_communication_count_v1_response_m_payload import InscriptionGetCommunicationCountV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InscriptionGetCommunicationCountV1Response(BaseModel): + """ + Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationCount + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InscriptionGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptionGetCommunicationCountV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptionGetCommunicationCountV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InscriptionGetCommunicationCountV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscription_get_communication_count_v1_response_m_payload.py b/eZmaxApi/models/inscription_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..4d9717c89 --- /dev/null +++ b/eZmaxApi/models/inscription_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class InscriptionGetCommunicationCountV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationCount + """ # noqa: E501 + i_communication_count: StrictInt = Field(description="The count of Communication.", alias="iCommunicationCount") + __properties: ClassVar[List[str]] = ["iCommunicationCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptionGetCommunicationCountV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptionGetCommunicationCountV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iCommunicationCount": obj.get("iCommunicationCount") + }) + return _obj + + diff --git a/eZmaxApi/models/inscription_get_communication_list_v1_response_m_payload.py b/eZmaxApi/models/inscription_get_communication_list_v1_response_m_payload.py index 5c39ccf04..903a8f5cc 100644 --- a/eZmaxApi/models/inscription_get_communication_list_v1_response_m_payload.py +++ b/eZmaxApi/models/inscription_get_communication_list_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) _items = [] if self.a_obj_communication: - for _item in self.a_obj_communication: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) _dict['a_objCommunication'] = _items return _dict diff --git a/eZmaxApi/models/inscription_get_communicationrecipients_v1_response.py b/eZmaxApi/models/inscription_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..4bdda2be9 --- /dev/null +++ b/eZmaxApi/models/inscription_get_communicationrecipients_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response_m_payload import InscriptionGetCommunicationrecipientsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InscriptionGetCommunicationrecipientsV1Response(BaseModel): + """ + Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InscriptionGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptionGetCommunicationrecipientsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptionGetCommunicationrecipientsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InscriptionGetCommunicationrecipientsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscription_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/inscription_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..e1595af30 --- /dev/null +++ b/eZmaxApi/models/inscription_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse +from typing import Optional, Set +from typing_extensions import Self + +class InscriptionGetCommunicationrecipientsV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationrecipients + """ # noqa: E501 + a_obj_communicationrecipientsgroup: List[CustomCommunicationrecipientsgroupResponse] = Field(alias="a_objCommunicationrecipientsgroup") + __properties: ClassVar[List[str]] = ["a_objCommunicationrecipientsgroup"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptionGetCommunicationrecipientsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsgroup (list) + _items = [] + if self.a_obj_communicationrecipientsgroup: + for _item_a_obj_communicationrecipientsgroup in self.a_obj_communicationrecipientsgroup: + if _item_a_obj_communicationrecipientsgroup: + _items.append(_item_a_obj_communicationrecipientsgroup.to_dict()) + _dict['a_objCommunicationrecipientsgroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptionGetCommunicationrecipientsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationrecipientsgroup": [CustomCommunicationrecipientsgroupResponse.from_dict(_item) for _item in obj["a_objCommunicationrecipientsgroup"]] if obj.get("a_objCommunicationrecipientsgroup") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscription_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/inscription_get_communicationsenders_v1_response_m_payload.py index 9d783b44b..1ec5431b5 100644 --- a/eZmaxApi/models/inscription_get_communicationsenders_v1_response_m_payload.py +++ b/eZmaxApi/models/inscription_get_communicationsenders_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationsenders (list) _items = [] if self.a_obj_communicationsenders: - for _item in self.a_obj_communicationsenders: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communicationsenders in self.a_obj_communicationsenders: + if _item_a_obj_communicationsenders: + _items.append(_item_a_obj_communicationsenders.to_dict()) _dict['a_objCommunicationsenders'] = _items return _dict diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response.py new file mode 100644 index 000000000..61687ebc4 --- /dev/null +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InscriptionnotauthenticatedGetCommunicationCountV1Response(BaseModel): + """ + Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationCount + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationCountV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationCountV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..0e2a08780 --- /dev/null +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationCount + """ # noqa: E501 + i_communication_count: StrictInt = Field(description="The count of Communication.", alias="iCommunicationCount") + __properties: ClassVar[List[str]] = ["iCommunicationCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iCommunicationCount": obj.get("iCommunicationCount") + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py index 025d3c315..d12041e9a 100644 --- a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) _items = [] if self.a_obj_communication: - for _item in self.a_obj_communication: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) _dict['a_objCommunication'] = _items return _dict diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..027331baf --- /dev/null +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InscriptionnotauthenticatedGetCommunicationrecipientsV1Response(BaseModel): + """ + Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationrecipientsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationrecipientsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..f72f75900 --- /dev/null +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse +from typing import Optional, Set +from typing_extensions import Self + +class InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients + """ # noqa: E501 + a_obj_communicationrecipientsgroup: List[CustomCommunicationrecipientsgroupResponse] = Field(alias="a_objCommunicationrecipientsgroup") + __properties: ClassVar[List[str]] = ["a_objCommunicationrecipientsgroup"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsgroup (list) + _items = [] + if self.a_obj_communicationrecipientsgroup: + for _item_a_obj_communicationrecipientsgroup in self.a_obj_communicationrecipientsgroup: + if _item_a_obj_communicationrecipientsgroup: + _items.append(_item_a_obj_communicationrecipientsgroup.to_dict()) + _dict['a_objCommunicationrecipientsgroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationrecipientsgroup": [CustomCommunicationrecipientsgroupResponse.from_dict(_item) for _item in obj["a_objCommunicationrecipientsgroup"]] if obj.get("a_objCommunicationrecipientsgroup") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..f43c56ff6 --- /dev/null +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InscriptionnotauthenticatedGetCommunicationsendersV1Response(BaseModel): + """ + Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationsendersV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationsendersV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..2af43180e --- /dev/null +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse +from typing import Optional, Set +from typing_extensions import Self + +class InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationsenders + """ # noqa: E501 + a_obj_communicationsenders: List[CustomCommunicationsenderResponse] = Field(alias="a_objCommunicationsenders") + __properties: ClassVar[List[str]] = ["a_objCommunicationsenders"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationsenders (list) + _items = [] + if self.a_obj_communicationsenders: + for _item_a_obj_communicationsenders in self.a_obj_communicationsenders: + if _item_a_obj_communicationsenders: + _items.append(_item_a_obj_communicationsenders.to_dict()) + _dict['a_objCommunicationsenders'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationsenders": [CustomCommunicationsenderResponse.from_dict(_item) for _item in obj["a_objCommunicationsenders"]] if obj.get("a_objCommunicationsenders") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response.py b/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response.py new file mode 100644 index 000000000..32a79475c --- /dev/null +++ b/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response_m_payload import InscriptiontempGetCommunicationCountV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InscriptiontempGetCommunicationCountV1Response(BaseModel): + """ + Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationCount + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InscriptiontempGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationCountV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationCountV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InscriptiontempGetCommunicationCountV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response_m_payload.py b/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..d15af8b20 --- /dev/null +++ b/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class InscriptiontempGetCommunicationCountV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationCount + """ # noqa: E501 + i_communication_count: StrictInt = Field(description="The count of Communication.", alias="iCommunicationCount") + __properties: ClassVar[List[str]] = ["iCommunicationCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationCountV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationCountV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iCommunicationCount": obj.get("iCommunicationCount") + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response_m_payload.py b/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response_m_payload.py index e862dcf6b..680c6190d 100644 --- a/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response_m_payload.py +++ b/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) _items = [] if self.a_obj_communication: - for _item in self.a_obj_communication: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) _dict['a_objCommunication'] = _items return _dict diff --git a/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response.py b/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..c535063ba --- /dev/null +++ b/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response_m_payload import InscriptiontempGetCommunicationrecipientsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InscriptiontempGetCommunicationrecipientsV1Response(BaseModel): + """ + Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InscriptiontempGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationrecipientsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationrecipientsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..a91244eb8 --- /dev/null +++ b/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse +from typing import Optional, Set +from typing_extensions import Self + +class InscriptiontempGetCommunicationrecipientsV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients + """ # noqa: E501 + a_obj_communicationrecipientsgroup: List[CustomCommunicationrecipientsgroupResponse] = Field(alias="a_objCommunicationrecipientsgroup") + __properties: ClassVar[List[str]] = ["a_objCommunicationrecipientsgroup"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationrecipientsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsgroup (list) + _items = [] + if self.a_obj_communicationrecipientsgroup: + for _item_a_obj_communicationrecipientsgroup in self.a_obj_communicationrecipientsgroup: + if _item_a_obj_communicationrecipientsgroup: + _items.append(_item_a_obj_communicationrecipientsgroup.to_dict()) + _dict['a_objCommunicationrecipientsgroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationrecipientsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationrecipientsgroup": [CustomCommunicationrecipientsgroupResponse.from_dict(_item) for _item in obj["a_objCommunicationrecipientsgroup"]] if obj.get("a_objCommunicationrecipientsgroup") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response.py b/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..e4d3550f1 --- /dev/null +++ b/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response_m_payload import InscriptiontempGetCommunicationsendersV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InscriptiontempGetCommunicationsendersV1Response(BaseModel): + """ + Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InscriptiontempGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationsendersV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationsendersV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InscriptiontempGetCommunicationsendersV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..49ab2950e --- /dev/null +++ b/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse +from typing import Optional, Set +from typing_extensions import Self + +class InscriptiontempGetCommunicationsendersV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationsenders + """ # noqa: E501 + a_obj_communicationsenders: List[CustomCommunicationsenderResponse] = Field(alias="a_objCommunicationsenders") + __properties: ClassVar[List[str]] = ["a_objCommunicationsenders"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationsendersV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationsenders (list) + _items = [] + if self.a_obj_communicationsenders: + for _item_a_obj_communicationsenders in self.a_obj_communicationsenders: + if _item_a_obj_communicationsenders: + _items.append(_item_a_obj_communicationsenders.to_dict()) + _dict['a_objCommunicationsenders'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InscriptiontempGetCommunicationsendersV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationsenders": [CustomCommunicationsenderResponse.from_dict(_item) for _item in obj["a_objCommunicationsenders"]] if obj.get("a_objCommunicationsenders") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/invoice_get_attachments_v1_response_m_payload.py b/eZmaxApi/models/invoice_get_attachments_v1_response_m_payload.py index 933824f79..e2f39d3b0 100644 --- a/eZmaxApi/models/invoice_get_attachments_v1_response_m_payload.py +++ b/eZmaxApi/models/invoice_get_attachments_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attachmentdocumenttype (list) _items = [] if self.a_obj_attachmentdocumenttype: - for _item in self.a_obj_attachmentdocumenttype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attachmentdocumenttype in self.a_obj_attachmentdocumenttype: + if _item_a_obj_attachmentdocumenttype: + _items.append(_item_a_obj_attachmentdocumenttype.to_dict()) _dict['a_objAttachmentdocumenttype'] = _items return _dict diff --git a/eZmaxApi/models/invoice_get_communication_count_v1_response.py b/eZmaxApi/models/invoice_get_communication_count_v1_response.py new file mode 100644 index 000000000..5add09680 --- /dev/null +++ b/eZmaxApi/models/invoice_get_communication_count_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.invoice_get_communication_count_v1_response_m_payload import InvoiceGetCommunicationCountV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InvoiceGetCommunicationCountV1Response(BaseModel): + """ + Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationCount + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InvoiceGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationCountV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationCountV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InvoiceGetCommunicationCountV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/invoice_get_communication_count_v1_response_m_payload.py b/eZmaxApi/models/invoice_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..dcbc3bb07 --- /dev/null +++ b/eZmaxApi/models/invoice_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class InvoiceGetCommunicationCountV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationCount + """ # noqa: E501 + i_communication_count: StrictInt = Field(description="The count of Communication.", alias="iCommunicationCount") + __properties: ClassVar[List[str]] = ["iCommunicationCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationCountV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationCountV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iCommunicationCount": obj.get("iCommunicationCount") + }) + return _obj + + diff --git a/eZmaxApi/models/invoice_get_communication_list_v1_response_m_payload.py b/eZmaxApi/models/invoice_get_communication_list_v1_response_m_payload.py index 6d226a109..ef84159f7 100644 --- a/eZmaxApi/models/invoice_get_communication_list_v1_response_m_payload.py +++ b/eZmaxApi/models/invoice_get_communication_list_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) _items = [] if self.a_obj_communication: - for _item in self.a_obj_communication: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) _dict['a_objCommunication'] = _items return _dict diff --git a/eZmaxApi/models/invoice_get_communicationrecipients_v1_response.py b/eZmaxApi/models/invoice_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..58a61c43f --- /dev/null +++ b/eZmaxApi/models/invoice_get_communicationrecipients_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response_m_payload import InvoiceGetCommunicationrecipientsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InvoiceGetCommunicationrecipientsV1Response(BaseModel): + """ + Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InvoiceGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationrecipientsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationrecipientsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InvoiceGetCommunicationrecipientsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/invoice_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/invoice_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..083f947d5 --- /dev/null +++ b/eZmaxApi/models/invoice_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse +from typing import Optional, Set +from typing_extensions import Self + +class InvoiceGetCommunicationrecipientsV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients + """ # noqa: E501 + a_obj_communicationrecipientsgroup: List[CustomCommunicationrecipientsgroupResponse] = Field(alias="a_objCommunicationrecipientsgroup") + __properties: ClassVar[List[str]] = ["a_objCommunicationrecipientsgroup"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationrecipientsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsgroup (list) + _items = [] + if self.a_obj_communicationrecipientsgroup: + for _item_a_obj_communicationrecipientsgroup in self.a_obj_communicationrecipientsgroup: + if _item_a_obj_communicationrecipientsgroup: + _items.append(_item_a_obj_communicationrecipientsgroup.to_dict()) + _dict['a_objCommunicationrecipientsgroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationrecipientsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationrecipientsgroup": [CustomCommunicationrecipientsgroupResponse.from_dict(_item) for _item in obj["a_objCommunicationrecipientsgroup"]] if obj.get("a_objCommunicationrecipientsgroup") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/invoice_get_communicationsenders_v1_response.py b/eZmaxApi/models/invoice_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..e7fde380a --- /dev/null +++ b/eZmaxApi/models/invoice_get_communicationsenders_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.invoice_get_communicationsenders_v1_response_m_payload import InvoiceGetCommunicationsendersV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class InvoiceGetCommunicationsendersV1Response(BaseModel): + """ + Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: InvoiceGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationsendersV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationsendersV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": InvoiceGetCommunicationsendersV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/invoice_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/invoice_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..d52290e65 --- /dev/null +++ b/eZmaxApi/models/invoice_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse +from typing import Optional, Set +from typing_extensions import Self + +class InvoiceGetCommunicationsendersV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationsenders + """ # noqa: E501 + a_obj_communicationsenders: List[CustomCommunicationsenderResponse] = Field(alias="a_objCommunicationsenders") + __properties: ClassVar[List[str]] = ["a_objCommunicationsenders"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationsendersV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationsenders (list) + _items = [] + if self.a_obj_communicationsenders: + for _item_a_obj_communicationsenders in self.a_obj_communicationsenders: + if _item_a_obj_communicationsenders: + _items.append(_item_a_obj_communicationsenders.to_dict()) + _dict['a_objCommunicationsenders'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InvoiceGetCommunicationsendersV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationsenders": [CustomCommunicationsenderResponse.from_dict(_item) for _item in obj["a_objCommunicationsenders"]] if obj.get("a_objCommunicationsenders") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/language_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/language_get_autocomplete_v2_response_m_payload.py index ff9d95d11..a3fcc8576 100644 --- a/eZmaxApi/models/language_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/language_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_language (list) _items = [] if self.a_obj_language: - for _item in self.a_obj_language: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_language in self.a_obj_language: + if _item_a_obj_language: + _items.append(_item_a_obj_language.to_dict()) _dict['a_objLanguage'] = _items return _dict diff --git a/eZmaxApi/models/module_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/module_get_autocomplete_v2_response_m_payload.py index 50237b14d..2383aa3e4 100644 --- a/eZmaxApi/models/module_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/module_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_module (list) _items = [] if self.a_obj_module: - for _item in self.a_obj_module: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_module in self.a_obj_module: + if _item_a_obj_module: + _items.append(_item_a_obj_module.to_dict()) _dict['a_objModule'] = _items return _dict diff --git a/eZmaxApi/models/module_response_compound.py b/eZmaxApi/models/module_response_compound.py index b3e627ccd..6cdbea9df 100644 --- a/eZmaxApi/models/module_response_compound.py +++ b/eZmaxApi/models/module_response_compound.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_modulesection (list) _items = [] if self.a_obj_modulesection: - for _item in self.a_obj_modulesection: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_modulesection in self.a_obj_modulesection: + if _item_a_obj_modulesection: + _items.append(_item_a_obj_modulesection.to_dict()) _dict['a_objModulesection'] = _items return _dict diff --git a/eZmaxApi/models/modulegroup_get_all_v1_response_m_payload.py b/eZmaxApi/models/modulegroup_get_all_v1_response_m_payload.py index 6e6b15f0e..81109b000 100644 --- a/eZmaxApi/models/modulegroup_get_all_v1_response_m_payload.py +++ b/eZmaxApi/models/modulegroup_get_all_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_modulegroup (list) _items = [] if self.a_obj_modulegroup: - for _item in self.a_obj_modulegroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_modulegroup in self.a_obj_modulegroup: + if _item_a_obj_modulegroup: + _items.append(_item_a_obj_modulegroup.to_dict()) _dict['a_objModulegroup'] = _items return _dict diff --git a/eZmaxApi/models/modulegroup_response_compound.py b/eZmaxApi/models/modulegroup_response_compound.py index 7b413e512..ad79332e8 100644 --- a/eZmaxApi/models/modulegroup_response_compound.py +++ b/eZmaxApi/models/modulegroup_response_compound.py @@ -83,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_module (list) _items = [] if self.a_obj_module: - for _item in self.a_obj_module: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_module in self.a_obj_module: + if _item_a_obj_module: + _items.append(_item_a_obj_module.to_dict()) _dict['a_objModule'] = _items return _dict diff --git a/eZmaxApi/models/modulesection_response_compound.py b/eZmaxApi/models/modulesection_response_compound.py index e12722f7a..acbc8752d 100644 --- a/eZmaxApi/models/modulesection_response_compound.py +++ b/eZmaxApi/models/modulesection_response_compound.py @@ -78,9 +78,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_permission (list) _items = [] if self.a_obj_permission: - for _item in self.a_obj_permission: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_permission in self.a_obj_permission: + if _item_a_obj_permission: + _items.append(_item_a_obj_permission.to_dict()) _dict['a_objPermission'] = _items return _dict diff --git a/eZmaxApi/models/multilingual_ezdoctemplatedocument_name.py b/eZmaxApi/models/multilingual_ezdoctemplatedocument_name.py new file mode 100644 index 000000000..1e53c6809 --- /dev/null +++ b/eZmaxApi/models/multilingual_ezdoctemplatedocument_name.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class MultilingualEzdoctemplatedocumentName(BaseModel): + """ + The name1 of the Ezdoctemplatedocument + """ # noqa: E501 + s_ezdoctemplatedocument_name1: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name1 of the Ezdoctemplatedocument", alias="sEzdoctemplatedocumentName1") + s_ezdoctemplatedocument_name2: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name2 of the Ezdoctemplatedocument", alias="sEzdoctemplatedocumentName2") + __properties: ClassVar[List[str]] = ["sEzdoctemplatedocumentName1", "sEzdoctemplatedocumentName2"] + + @field_validator('s_ezdoctemplatedocument_name1') + def s_ezdoctemplatedocument_name1_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezdoctemplatedocument_name2') + def s_ezdoctemplatedocument_name2_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MultilingualEzdoctemplatedocumentName from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MultilingualEzdoctemplatedocumentName from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sEzdoctemplatedocumentName1": obj.get("sEzdoctemplatedocumentName1"), + "sEzdoctemplatedocumentName2": obj.get("sEzdoctemplatedocumentName2") + }) + return _obj + + diff --git a/eZmaxApi/models/multilingual_supply_description.py b/eZmaxApi/models/multilingual_supply_description.py new file mode 100644 index 000000000..2ebffdec4 --- /dev/null +++ b/eZmaxApi/models/multilingual_supply_description.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class MultilingualSupplyDescription(BaseModel): + """ + The description1 of the Supply + """ # noqa: E501 + s_supply_description1: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Supply in French", alias="sSupplyDescription1") + s_supply_description2: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Supply in English", alias="sSupplyDescription2") + __properties: ClassVar[List[str]] = ["sSupplyDescription1", "sSupplyDescription2"] + + @field_validator('s_supply_description1') + def s_supply_description1_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_supply_description2') + def s_supply_description2_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MultilingualSupplyDescription from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MultilingualSupplyDescription from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sSupplyDescription1": obj.get("sSupplyDescription1"), + "sSupplyDescription2": obj.get("sSupplyDescription2") + }) + return _obj + + diff --git a/eZmaxApi/models/notificationsection_get_notificationtests_v1_response_m_payload.py b/eZmaxApi/models/notificationsection_get_notificationtests_v1_response_m_payload.py index 830b3c666..c8c6785aa 100644 --- a/eZmaxApi/models/notificationsection_get_notificationtests_v1_response_m_payload.py +++ b/eZmaxApi/models/notificationsection_get_notificationtests_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_notificationsubsection (list) _items = [] if self.a_obj_notificationsubsection: - for _item in self.a_obj_notificationsubsection: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_notificationsubsection in self.a_obj_notificationsubsection: + if _item_a_obj_notificationsubsection: + _items.append(_item_a_obj_notificationsubsection.to_dict()) _dict['a_objNotificationsubsection'] = _items return _dict diff --git a/eZmaxApi/models/otherincome_get_communication_count_v1_response.py b/eZmaxApi/models/otherincome_get_communication_count_v1_response.py new file mode 100644 index 000000000..63357dc24 --- /dev/null +++ b/eZmaxApi/models/otherincome_get_communication_count_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.otherincome_get_communication_count_v1_response_m_payload import OtherincomeGetCommunicationCountV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class OtherincomeGetCommunicationCountV1Response(BaseModel): + """ + Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationCount + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: OtherincomeGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationCountV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationCountV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": OtherincomeGetCommunicationCountV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/otherincome_get_communication_count_v1_response_m_payload.py b/eZmaxApi/models/otherincome_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..09ea7eb69 --- /dev/null +++ b/eZmaxApi/models/otherincome_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class OtherincomeGetCommunicationCountV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationCount + """ # noqa: E501 + i_communication_count: StrictInt = Field(description="The count of Communication.", alias="iCommunicationCount") + __properties: ClassVar[List[str]] = ["iCommunicationCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationCountV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationCountV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iCommunicationCount": obj.get("iCommunicationCount") + }) + return _obj + + diff --git a/eZmaxApi/models/otherincome_get_communication_list_v1_response_m_payload.py b/eZmaxApi/models/otherincome_get_communication_list_v1_response_m_payload.py index 3534a259e..088502c61 100644 --- a/eZmaxApi/models/otherincome_get_communication_list_v1_response_m_payload.py +++ b/eZmaxApi/models/otherincome_get_communication_list_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) _items = [] if self.a_obj_communication: - for _item in self.a_obj_communication: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) _dict['a_objCommunication'] = _items return _dict diff --git a/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response.py b/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..fa6232a42 --- /dev/null +++ b/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response_m_payload import OtherincomeGetCommunicationrecipientsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class OtherincomeGetCommunicationrecipientsV1Response(BaseModel): + """ + Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: OtherincomeGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationrecipientsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationrecipientsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": OtherincomeGetCommunicationrecipientsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..a1ca57e26 --- /dev/null +++ b/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse +from typing import Optional, Set +from typing_extensions import Self + +class OtherincomeGetCommunicationrecipientsV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients + """ # noqa: E501 + a_obj_communicationrecipientsgroup: List[CustomCommunicationrecipientsgroupResponse] = Field(alias="a_objCommunicationrecipientsgroup") + __properties: ClassVar[List[str]] = ["a_objCommunicationrecipientsgroup"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationrecipientsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsgroup (list) + _items = [] + if self.a_obj_communicationrecipientsgroup: + for _item_a_obj_communicationrecipientsgroup in self.a_obj_communicationrecipientsgroup: + if _item_a_obj_communicationrecipientsgroup: + _items.append(_item_a_obj_communicationrecipientsgroup.to_dict()) + _dict['a_objCommunicationrecipientsgroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationrecipientsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationrecipientsgroup": [CustomCommunicationrecipientsgroupResponse.from_dict(_item) for _item in obj["a_objCommunicationrecipientsgroup"]] if obj.get("a_objCommunicationrecipientsgroup") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/otherincome_get_communicationsenders_v1_response.py b/eZmaxApi/models/otherincome_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..d2d46cec1 --- /dev/null +++ b/eZmaxApi/models/otherincome_get_communicationsenders_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response_m_payload import OtherincomeGetCommunicationsendersV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class OtherincomeGetCommunicationsendersV1Response(BaseModel): + """ + Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: OtherincomeGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationsendersV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationsendersV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": OtherincomeGetCommunicationsendersV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/otherincome_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/otherincome_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..8cc993ea9 --- /dev/null +++ b/eZmaxApi/models/otherincome_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse +from typing import Optional, Set +from typing_extensions import Self + +class OtherincomeGetCommunicationsendersV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationsenders + """ # noqa: E501 + a_obj_communicationsenders: List[CustomCommunicationsenderResponse] = Field(alias="a_objCommunicationsenders") + __properties: ClassVar[List[str]] = ["a_objCommunicationsenders"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationsendersV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationsenders (list) + _items = [] + if self.a_obj_communicationsenders: + for _item_a_obj_communicationsenders in self.a_obj_communicationsenders: + if _item_a_obj_communicationsenders: + _items.append(_item_a_obj_communicationsenders.to_dict()) + _dict['a_objCommunicationsenders'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OtherincomeGetCommunicationsendersV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationsenders": [CustomCommunicationsenderResponse.from_dict(_item) for _item in obj["a_objCommunicationsenders"]] if obj.get("a_objCommunicationsenders") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/paymentterm_create_object_v1_request.py b/eZmaxApi/models/paymentterm_create_object_v1_request.py index 8b479a25b..d1ae81e4a 100644 --- a/eZmaxApi/models/paymentterm_create_object_v1_request.py +++ b/eZmaxApi/models/paymentterm_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_paymentterm (list) _items = [] if self.a_obj_paymentterm: - for _item in self.a_obj_paymentterm: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_paymentterm in self.a_obj_paymentterm: + if _item_a_obj_paymentterm: + _items.append(_item_a_obj_paymentterm.to_dict()) _dict['a_objPaymentterm'] = _items return _dict diff --git a/eZmaxApi/models/paymentterm_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/paymentterm_get_autocomplete_v2_response_m_payload.py index eb9a944ce..9c0cbb36e 100644 --- a/eZmaxApi/models/paymentterm_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/paymentterm_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_paymentterm (list) _items = [] if self.a_obj_paymentterm: - for _item in self.a_obj_paymentterm: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_paymentterm in self.a_obj_paymentterm: + if _item_a_obj_paymentterm: + _items.append(_item_a_obj_paymentterm.to_dict()) _dict['a_objPaymentterm'] = _items return _dict diff --git a/eZmaxApi/models/paymentterm_get_list_v1_response_m_payload.py b/eZmaxApi/models/paymentterm_get_list_v1_response_m_payload.py index ffaac51cf..26780b87f 100644 --- a/eZmaxApi/models/paymentterm_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/paymentterm_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_paymentterm (list) _items = [] if self.a_obj_paymentterm: - for _item in self.a_obj_paymentterm: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_paymentterm in self.a_obj_paymentterm: + if _item_a_obj_paymentterm: + _items.append(_item_a_obj_paymentterm.to_dict()) _dict['a_objPaymentterm'] = _items return _dict diff --git a/eZmaxApi/models/pdfalevel_autocomplete_element_response.py b/eZmaxApi/models/pdfalevel_autocomplete_element_response.py new file mode 100644 index 000000000..9dc83f243 --- /dev/null +++ b/eZmaxApi/models/pdfalevel_autocomplete_element_response.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class PdfalevelAutocompleteElementResponse(BaseModel): + """ + A Pdfalevel AutocompleteElement Response + """ # noqa: E501 + pki_pdfalevel_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Pdfalevel", alias="pkiPdfalevelID") + s_pdfalevel_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Pdfalevel", alias="sPdfalevelName") + b_pdfalevel_isactive: StrictBool = Field(description="Whether the Pdfalevel is active or not", alias="bPdfalevelIsactive") + __properties: ClassVar[List[str]] = ["pkiPdfalevelID", "sPdfalevelName", "bPdfalevelIsactive"] + + @field_validator('s_pdfalevel_name') + def s_pdfalevel_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,15}$", value): + raise ValueError(r"must validate the regular expression /^.{0,15}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PdfalevelAutocompleteElementResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PdfalevelAutocompleteElementResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiPdfalevelID": obj.get("pkiPdfalevelID"), + "sPdfalevelName": obj.get("sPdfalevelName"), + "bPdfalevelIsactive": obj.get("bPdfalevelIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response.py b/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response.py new file mode 100644 index 000000000..86634e4ab --- /dev/null +++ b/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response_m_payload import PdfalevelGetAutocompleteV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class PdfalevelGetAutocompleteV2Response(BaseModel): + """ + Response for GET /2/object/pdfalevel/getAutocomplete + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: PdfalevelGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PdfalevelGetAutocompleteV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PdfalevelGetAutocompleteV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": PdfalevelGetAutocompleteV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..15b2f908e --- /dev/null +++ b/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.pdfalevel_autocomplete_element_response import PdfalevelAutocompleteElementResponse +from typing import Optional, Set +from typing_extensions import Self + +class PdfalevelGetAutocompleteV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/pdfalevel/getAutocomplete + """ # noqa: E501 + a_obj_pdfalevel: List[PdfalevelAutocompleteElementResponse] = Field(description="An array of Pdfalevel autocomplete element response.", alias="a_objPdfalevel") + __properties: ClassVar[List[str]] = ["a_objPdfalevel"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PdfalevelGetAutocompleteV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_pdfalevel (list) + _items = [] + if self.a_obj_pdfalevel: + for _item_a_obj_pdfalevel in self.a_obj_pdfalevel: + if _item_a_obj_pdfalevel: + _items.append(_item_a_obj_pdfalevel.to_dict()) + _dict['a_objPdfalevel'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PdfalevelGetAutocompleteV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objPdfalevel": [PdfalevelAutocompleteElementResponse.from_dict(_item) for _item in obj["a_objPdfalevel"]] if obj.get("a_objPdfalevel") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/period_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/period_get_autocomplete_v2_response_m_payload.py index b2006e394..fb98bcb30 100644 --- a/eZmaxApi/models/period_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/period_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_period (list) _items = [] if self.a_obj_period: - for _item in self.a_obj_period: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_period in self.a_obj_period: + if _item_a_obj_period: + _items.append(_item_a_obj_period.to_dict()) _dict['a_objPeriod'] = _items return _dict diff --git a/eZmaxApi/models/permission_create_object_v1_request.py b/eZmaxApi/models/permission_create_object_v1_request.py index 09c90eb8a..270b3a43f 100644 --- a/eZmaxApi/models/permission_create_object_v1_request.py +++ b/eZmaxApi/models/permission_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_permission (list) _items = [] if self.a_obj_permission: - for _item in self.a_obj_permission: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_permission in self.a_obj_permission: + if _item_a_obj_permission: + _items.append(_item_a_obj_permission.to_dict()) _dict['a_objPermission'] = _items return _dict diff --git a/eZmaxApi/models/phonetype_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/phonetype_get_autocomplete_v2_response_m_payload.py index 8bec8750b..68fe3b57c 100644 --- a/eZmaxApi/models/phonetype_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/phonetype_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_phonetype (list) _items = [] if self.a_obj_phonetype: - for _item in self.a_obj_phonetype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_phonetype in self.a_obj_phonetype: + if _item_a_obj_phonetype: + _items.append(_item_a_obj_phonetype.to_dict()) _dict['a_objPhonetype'] = _items return _dict diff --git a/eZmaxApi/models/province_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/province_get_autocomplete_v2_response_m_payload.py index 391ca3b41..cd5eacc9c 100644 --- a/eZmaxApi/models/province_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/province_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_province (list) _items = [] if self.a_obj_province: - for _item in self.a_obj_province: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_province in self.a_obj_province: + if _item_a_obj_province: + _items.append(_item_a_obj_province.to_dict()) _dict['a_objProvince'] = _items return _dict diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response.py b/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response.py new file mode 100644 index 000000000..f1345529e --- /dev/null +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class RejectedoffertopurchaseGetCommunicationCountV1Response(BaseModel): + """ + Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationCount + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationCountV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationCountV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response_m_payload.py b/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..bc9449bba --- /dev/null +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationCount + """ # noqa: E501 + i_communication_count: StrictInt = Field(description="The count of Communication.", alias="iCommunicationCount") + __properties: ClassVar[List[str]] = ["iCommunicationCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iCommunicationCount": obj.get("iCommunicationCount") + }) + return _obj + + diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py b/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py index cf519cb08..14e122759 100644 --- a/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) _items = [] if self.a_obj_communication: - for _item in self.a_obj_communication: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) _dict['a_objCommunication'] = _items return _dict diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response.py b/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..1b514a15f --- /dev/null +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class RejectedoffertopurchaseGetCommunicationrecipientsV1Response(BaseModel): + """ + Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationrecipientsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationrecipientsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..c6bd0e191 --- /dev/null +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse +from typing import Optional, Set +from typing_extensions import Self + +class RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients + """ # noqa: E501 + a_obj_communicationrecipientsgroup: List[CustomCommunicationrecipientsgroupResponse] = Field(alias="a_objCommunicationrecipientsgroup") + __properties: ClassVar[List[str]] = ["a_objCommunicationrecipientsgroup"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsgroup (list) + _items = [] + if self.a_obj_communicationrecipientsgroup: + for _item_a_obj_communicationrecipientsgroup in self.a_obj_communicationrecipientsgroup: + if _item_a_obj_communicationrecipientsgroup: + _items.append(_item_a_obj_communicationrecipientsgroup.to_dict()) + _dict['a_objCommunicationrecipientsgroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationrecipientsgroup": [CustomCommunicationrecipientsgroupResponse.from_dict(_item) for _item in obj["a_objCommunicationrecipientsgroup"]] if obj.get("a_objCommunicationrecipientsgroup") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response.py b/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..ad2ed3154 --- /dev/null +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class RejectedoffertopurchaseGetCommunicationsendersV1Response(BaseModel): + """ + Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationsendersV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationsendersV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..16597b137 --- /dev/null +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse +from typing import Optional, Set +from typing_extensions import Self + +class RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationsenders + """ # noqa: E501 + a_obj_communicationsenders: List[CustomCommunicationsenderResponse] = Field(alias="a_objCommunicationsenders") + __properties: ClassVar[List[str]] = ["a_objCommunicationsenders"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationsenders (list) + _items = [] + if self.a_obj_communicationsenders: + for _item_a_obj_communicationsenders in self.a_obj_communicationsenders: + if _item_a_obj_communicationsenders: + _items.append(_item_a_obj_communicationsenders.to_dict()) + _dict['a_objCommunicationsenders'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationsenders": [CustomCommunicationsenderResponse.from_dict(_item) for _item in obj["a_objCommunicationsenders"]] if obj.get("a_objCommunicationsenders") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/scim_group.py b/eZmaxApi/models/scim_group.py index 0365c1478..d4512d3fd 100644 --- a/eZmaxApi/models/scim_group.py +++ b/eZmaxApi/models/scim_group.py @@ -83,9 +83,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in members (list) _items = [] if self.members: - for _item in self.members: - if _item: - _items.append(_item.to_dict()) + for _item_members in self.members: + if _item_members: + _items.append(_item_members.to_dict()) _dict['members'] = _items return _dict diff --git a/eZmaxApi/models/scim_service_provider_config.py b/eZmaxApi/models/scim_service_provider_config.py index 485f1a32e..92b52dd7d 100644 --- a/eZmaxApi/models/scim_service_provider_config.py +++ b/eZmaxApi/models/scim_service_provider_config.py @@ -86,9 +86,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in authentication_schemes (list) _items = [] if self.authentication_schemes: - for _item in self.authentication_schemes: - if _item: - _items.append(_item.to_dict()) + for _item_authentication_schemes in self.authentication_schemes: + if _item_authentication_schemes: + _items.append(_item_authentication_schemes.to_dict()) _dict['authenticationSchemes'] = _items # override the default output from pydantic by calling `to_dict()` of bulk if self.bulk: diff --git a/eZmaxApi/models/scim_user.py b/eZmaxApi/models/scim_user.py index cc99b3024..5db1d5721 100644 --- a/eZmaxApi/models/scim_user.py +++ b/eZmaxApi/models/scim_user.py @@ -76,9 +76,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in emails (list) _items = [] if self.emails: - for _item in self.emails: - if _item: - _items.append(_item.to_dict()) + for _item_emails in self.emails: + if _item_emails: + _items.append(_item_emails.to_dict()) _dict['emails'] = _items return _dict diff --git a/eZmaxApi/models/scim_user_list.py b/eZmaxApi/models/scim_user_list.py index b9ed57c9f..92c52a465 100644 --- a/eZmaxApi/models/scim_user_list.py +++ b/eZmaxApi/models/scim_user_list.py @@ -77,9 +77,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in resources (list) _items = [] if self.resources: - for _item in self.resources: - if _item: - _items.append(_item.to_dict()) + for _item_resources in self.resources: + if _item_resources: + _items.append(_item_resources.to_dict()) _dict['Resources'] = _items return _dict diff --git a/eZmaxApi/models/secretquestion_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/secretquestion_get_autocomplete_v2_response_m_payload.py index 159dca440..0a04da0af 100644 --- a/eZmaxApi/models/secretquestion_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/secretquestion_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_secretquestion (list) _items = [] if self.a_obj_secretquestion: - for _item in self.a_obj_secretquestion: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_secretquestion in self.a_obj_secretquestion: + if _item_a_obj_secretquestion: + _items.append(_item_a_obj_secretquestion.to_dict()) _dict['a_objSecretquestion'] = _items return _dict diff --git a/eZmaxApi/models/sessionhistory_get_list_v1_response_m_payload.py b/eZmaxApi/models/sessionhistory_get_list_v1_response_m_payload.py index 4a3800df2..185c50c91 100644 --- a/eZmaxApi/models/sessionhistory_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/sessionhistory_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_sessionhistory (list) _items = [] if self.a_obj_sessionhistory: - for _item in self.a_obj_sessionhistory: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_sessionhistory in self.a_obj_sessionhistory: + if _item_a_obj_sessionhistory: + _items.append(_item_a_obj_sessionhistory.to_dict()) _dict['a_objSessionhistory'] = _items return _dict diff --git a/eZmaxApi/models/signature_create_object_v1_request.py b/eZmaxApi/models/signature_create_object_v1_request.py index 78ad08f3b..4fa28b239 100644 --- a/eZmaxApi/models/signature_create_object_v1_request.py +++ b/eZmaxApi/models/signature_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_signature (list) _items = [] if self.a_obj_signature: - for _item in self.a_obj_signature: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_signature in self.a_obj_signature: + if _item_a_obj_signature: + _items.append(_item_a_obj_signature.to_dict()) _dict['a_objSignature'] = _items return _dict diff --git a/eZmaxApi/models/signature_get_object_v3_response.py b/eZmaxApi/models/signature_get_object_v3_response.py new file mode 100644 index 000000000..92a114436 --- /dev/null +++ b/eZmaxApi/models/signature_get_object_v3_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.signature_get_object_v3_response_m_payload import SignatureGetObjectV3ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class SignatureGetObjectV3Response(BaseModel): + """ + Response for GET /3/object/signature/{pkiSignatureID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: SignatureGetObjectV3ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SignatureGetObjectV3Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SignatureGetObjectV3Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": SignatureGetObjectV3ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/signature_get_object_v3_response_m_payload.py b/eZmaxApi/models/signature_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..cf887a559 --- /dev/null +++ b/eZmaxApi/models/signature_get_object_v3_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.signature_response_compound_v3 import SignatureResponseCompoundV3 +from typing import Optional, Set +from typing_extensions import Self + +class SignatureGetObjectV3ResponseMPayload(BaseModel): + """ + Payload for GET /3/object/signature/{pkiSignatureID} + """ # noqa: E501 + obj_signature: SignatureResponseCompoundV3 = Field(alias="objSignature") + __properties: ClassVar[List[str]] = ["objSignature"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SignatureGetObjectV3ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_signature + if self.obj_signature: + _dict['objSignature'] = self.obj_signature.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SignatureGetObjectV3ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objSignature": SignatureResponseCompoundV3.from_dict(obj["objSignature"]) if obj.get("objSignature") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/signature_request.py b/eZmaxApi/models/signature_request.py index 8e8060bd4..fc69dca09 100644 --- a/eZmaxApi/models/signature_request.py +++ b/eZmaxApi/models/signature_request.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_signature_preference import FieldESignaturePreference from typing import Optional, Set from typing_extensions import Self @@ -29,12 +30,28 @@ class SignatureRequest(BaseModel): A Signature Object """ # noqa: E501 pki_signature_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Signature", alias="pkiSignatureID") - t_signature_svg: Annotated[str, Field(strict=True)] = Field(description="The svg of the Signature", alias="tSignatureSvg") - __properties: ClassVar[List[str]] = ["pkiSignatureID", "tSignatureSvg"] + fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + e_signature_preference: FieldESignaturePreference = Field(alias="eSignaturePreference") + t_signature_svg: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The svg of the Signature", alias="tSignatureSvg") + t_signature_svginitials: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The svg of the Initials", alias="tSignatureSvginitials") + __properties: ClassVar[List[str]] = ["pkiSignatureID", "fkiFontID", "eSignaturePreference", "tSignatureSvg", "tSignatureSvginitials"] @field_validator('t_signature_svg') def t_signature_svg_validate_regular_expression(cls, value): """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{60,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{60,65535}$/") + return value + + @field_validator('t_signature_svginitials') + def t_signature_svginitials_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + if not re.match(r"^.{60,65535}$", value): raise ValueError(r"must validate the regular expression /^.{60,65535}$/") return value @@ -91,7 +108,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiSignatureID": obj.get("pkiSignatureID"), - "tSignatureSvg": obj.get("tSignatureSvg") + "fkiFontID": obj.get("fkiFontID"), + "eSignaturePreference": obj.get("eSignaturePreference"), + "tSignatureSvg": obj.get("tSignatureSvg"), + "tSignatureSvginitials": obj.get("tSignatureSvginitials") }) return _obj diff --git a/eZmaxApi/models/signature_request_compound.py b/eZmaxApi/models/signature_request_compound.py index d47c5229f..9d5fb7fb7 100644 --- a/eZmaxApi/models/signature_request_compound.py +++ b/eZmaxApi/models/signature_request_compound.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.field_e_signature_preference import FieldESignaturePreference from typing import Optional, Set from typing_extensions import Self @@ -29,12 +30,28 @@ class SignatureRequestCompound(BaseModel): A Signature Object and children """ # noqa: E501 pki_signature_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Signature", alias="pkiSignatureID") - t_signature_svg: Annotated[str, Field(strict=True)] = Field(description="The svg of the Signature", alias="tSignatureSvg") - __properties: ClassVar[List[str]] = ["pkiSignatureID", "tSignatureSvg"] + fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + e_signature_preference: FieldESignaturePreference = Field(alias="eSignaturePreference") + t_signature_svg: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The svg of the Signature", alias="tSignatureSvg") + t_signature_svginitials: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The svg of the Initials", alias="tSignatureSvginitials") + __properties: ClassVar[List[str]] = ["pkiSignatureID", "fkiFontID", "eSignaturePreference", "tSignatureSvg", "tSignatureSvginitials"] @field_validator('t_signature_svg') def t_signature_svg_validate_regular_expression(cls, value): """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{60,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{60,65535}$/") + return value + + @field_validator('t_signature_svginitials') + def t_signature_svginitials_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + if not re.match(r"^.{60,65535}$", value): raise ValueError(r"must validate the regular expression /^.{60,65535}$/") return value @@ -91,7 +108,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiSignatureID": obj.get("pkiSignatureID"), - "tSignatureSvg": obj.get("tSignatureSvg") + "fkiFontID": obj.get("fkiFontID"), + "eSignaturePreference": obj.get("eSignaturePreference"), + "tSignatureSvg": obj.get("tSignatureSvg"), + "tSignatureSvginitials": obj.get("tSignatureSvginitials") }) return _obj diff --git a/eZmaxApi/models/signature_response.py b/eZmaxApi/models/signature_response.py index 3b0618386..ebd6a0ab0 100644 --- a/eZmaxApi/models/signature_response.py +++ b/eZmaxApi/models/signature_response.py @@ -19,7 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -29,12 +29,27 @@ class SignatureResponse(BaseModel): A Signature Object """ # noqa: E501 pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Signature", alias="pkiSignatureID") - s_signature_url: Annotated[str, Field(strict=True)] = Field(description="The URL of the SVG file for the Signature", alias="sSignatureUrl") - __properties: ClassVar[List[str]] = ["pkiSignatureID", "sSignatureUrl"] + fki_font_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontID") + s_signature_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The URL of the SVG file for the Signature", alias="sSignatureUrl") + s_signature_urlinitials: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The URL of the SVG file for the Initials", alias="sSignatureUrlinitials") + __properties: ClassVar[List[str]] = ["pkiSignatureID", "fkiFontID", "sSignatureUrl", "sSignatureUrlinitials"] @field_validator('s_signature_url') def s_signature_url_validate_regular_expression(cls, value): """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + @field_validator('s_signature_urlinitials') + def s_signature_urlinitials_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") return value @@ -91,7 +106,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiSignatureID": obj.get("pkiSignatureID"), - "sSignatureUrl": obj.get("sSignatureUrl") + "fkiFontID": obj.get("fkiFontID"), + "sSignatureUrl": obj.get("sSignatureUrl"), + "sSignatureUrlinitials": obj.get("sSignatureUrlinitials") }) return _obj diff --git a/eZmaxApi/models/signature_response_compound.py b/eZmaxApi/models/signature_response_compound.py index 2d96033dc..d8d12cee4 100644 --- a/eZmaxApi/models/signature_response_compound.py +++ b/eZmaxApi/models/signature_response_compound.py @@ -19,7 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -29,12 +29,27 @@ class SignatureResponseCompound(BaseModel): A Signature Object """ # noqa: E501 pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Signature", alias="pkiSignatureID") - s_signature_url: Annotated[str, Field(strict=True)] = Field(description="The URL of the SVG file for the Signature", alias="sSignatureUrl") - __properties: ClassVar[List[str]] = ["pkiSignatureID", "sSignatureUrl"] + fki_font_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontID") + s_signature_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The URL of the SVG file for the Signature", alias="sSignatureUrl") + s_signature_urlinitials: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The URL of the SVG file for the Initials", alias="sSignatureUrlinitials") + __properties: ClassVar[List[str]] = ["pkiSignatureID", "fkiFontID", "sSignatureUrl", "sSignatureUrlinitials"] @field_validator('s_signature_url') def s_signature_url_validate_regular_expression(cls, value): """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + @field_validator('s_signature_urlinitials') + def s_signature_urlinitials_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") return value @@ -91,7 +106,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiSignatureID": obj.get("pkiSignatureID"), - "sSignatureUrl": obj.get("sSignatureUrl") + "fkiFontID": obj.get("fkiFontID"), + "sSignatureUrl": obj.get("sSignatureUrl"), + "sSignatureUrlinitials": obj.get("sSignatureUrlinitials") }) return _obj diff --git a/eZmaxApi/models/signature_response_compound_v3.py b/eZmaxApi/models/signature_response_compound_v3.py new file mode 100644 index 000000000..1ff8ac4bd --- /dev/null +++ b/eZmaxApi/models/signature_response_compound_v3.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.field_e_signature_preference import FieldESignaturePreference +from typing import Optional, Set +from typing_extensions import Self + +class SignatureResponseCompoundV3(BaseModel): + """ + A Signature Object + """ # noqa: E501 + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Signature", alias="pkiSignatureID") + fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + e_signature_preference: FieldESignaturePreference = Field(alias="eSignaturePreference") + b_signature_svg: StrictBool = Field(description="Whether the signature has a SVG or not", alias="bSignatureSvg") + b_signature_svginitials: StrictBool = Field(description="Whether the initials has a SVG or not", alias="bSignatureSvginitials") + __properties: ClassVar[List[str]] = ["pkiSignatureID", "fkiFontID", "eSignaturePreference", "bSignatureSvg", "bSignatureSvginitials"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SignatureResponseCompoundV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SignatureResponseCompoundV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSignatureID": obj.get("pkiSignatureID"), + "fkiFontID": obj.get("fkiFontID"), + "eSignaturePreference": obj.get("eSignaturePreference"), + "bSignatureSvg": obj.get("bSignatureSvg"), + "bSignatureSvginitials": obj.get("bSignatureSvginitials") + }) + return _obj + + diff --git a/eZmaxApi/models/signature_response_v3.py b/eZmaxApi/models/signature_response_v3.py new file mode 100644 index 000000000..17a586c33 --- /dev/null +++ b/eZmaxApi/models/signature_response_v3.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.field_e_signature_preference import FieldESignaturePreference +from typing import Optional, Set +from typing_extensions import Self + +class SignatureResponseV3(BaseModel): + """ + A Signature Object + """ # noqa: E501 + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Signature", alias="pkiSignatureID") + fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + e_signature_preference: FieldESignaturePreference = Field(alias="eSignaturePreference") + b_signature_svg: StrictBool = Field(description="Whether the signature has a SVG or not", alias="bSignatureSvg") + b_signature_svginitials: StrictBool = Field(description="Whether the initials has a SVG or not", alias="bSignatureSvginitials") + __properties: ClassVar[List[str]] = ["pkiSignatureID", "fkiFontID", "eSignaturePreference", "bSignatureSvg", "bSignatureSvginitials"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SignatureResponseV3 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SignatureResponseV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSignatureID": obj.get("pkiSignatureID"), + "fkiFontID": obj.get("fkiFontID"), + "eSignaturePreference": obj.get("eSignaturePreference"), + "bSignatureSvg": obj.get("bSignatureSvg"), + "bSignatureSvginitials": obj.get("bSignatureSvginitials") + }) + return _obj + + diff --git a/eZmaxApi/models/subnet_create_object_v1_request.py b/eZmaxApi/models/subnet_create_object_v1_request.py index 3d9c2d4f6..cb0e0750d 100644 --- a/eZmaxApi/models/subnet_create_object_v1_request.py +++ b/eZmaxApi/models/subnet_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_subnet (list) _items = [] if self.a_obj_subnet: - for _item in self.a_obj_subnet: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_subnet in self.a_obj_subnet: + if _item_a_obj_subnet: + _items.append(_item_a_obj_subnet.to_dict()) _dict['a_objSubnet'] = _items return _dict diff --git a/eZmaxApi/models/supply_autocomplete_element_response.py b/eZmaxApi/models/supply_autocomplete_element_response.py new file mode 100644 index 000000000..0bc40d7fe --- /dev/null +++ b/eZmaxApi/models/supply_autocomplete_element_response.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class SupplyAutocompleteElementResponse(BaseModel): + """ + A Supply AutocompleteElement Response + """ # noqa: E501 + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Supply", alias="pkiSupplyID") + s_supply_description_x: Annotated[str, Field(strict=True)] = Field(description="The description of the Supply in the language of the requester", alias="sSupplyDescriptionX") + b_supply_isactive: StrictBool = Field(description="Whether the supply is active or not", alias="bSupplyIsactive") + __properties: ClassVar[List[str]] = ["pkiSupplyID", "sSupplyDescriptionX", "bSupplyIsactive"] + + @field_validator('s_supply_description_x') + def s_supply_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyAutocompleteElementResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyAutocompleteElementResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSupplyID": obj.get("pkiSupplyID"), + "sSupplyDescriptionX": obj.get("sSupplyDescriptionX"), + "bSupplyIsactive": obj.get("bSupplyIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/supply_create_object_v1_request.py b/eZmaxApi/models/supply_create_object_v1_request.py new file mode 100644 index 000000000..627cd5e1b --- /dev/null +++ b/eZmaxApi/models/supply_create_object_v1_request.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from eZmaxApi.models.supply_request_compound import SupplyRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class SupplyCreateObjectV1Request(BaseModel): + """ + Request for POST /1/object/supply + """ # noqa: E501 + a_obj_supply: Annotated[List[SupplyRequestCompound], Field(min_length=1)] = Field(alias="a_objSupply") + __properties: ClassVar[List[str]] = ["a_objSupply"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyCreateObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_supply (list) + _items = [] + if self.a_obj_supply: + for _item_a_obj_supply in self.a_obj_supply: + if _item_a_obj_supply: + _items.append(_item_a_obj_supply.to_dict()) + _dict['a_objSupply'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyCreateObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objSupply": [SupplyRequestCompound.from_dict(_item) for _item in obj["a_objSupply"]] if obj.get("a_objSupply") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_create_object_v1_response.py b/eZmaxApi/models/supply_create_object_v1_response.py new file mode 100644 index 000000000..066451553 --- /dev/null +++ b/eZmaxApi/models/supply_create_object_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.supply_create_object_v1_response_m_payload import SupplyCreateObjectV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class SupplyCreateObjectV1Response(BaseModel): + """ + Response for POST /1/object/supply + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: SupplyCreateObjectV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyCreateObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyCreateObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": SupplyCreateObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_create_object_v1_response_m_payload.py b/eZmaxApi/models/supply_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..a084c8a12 --- /dev/null +++ b/eZmaxApi/models/supply_create_object_v1_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class SupplyCreateObjectV1ResponseMPayload(BaseModel): + """ + Payload for POST /1/object/supply + """ # noqa: E501 + a_pki_supply_id: List[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(description="An array of unique IDs representing the object that were requested to be created. They are returned in the same order as the array containing the objects to be created that was sent in the request.", alias="a_pkiSupplyID") + __properties: ClassVar[List[str]] = ["a_pkiSupplyID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyCreateObjectV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyCreateObjectV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiSupplyID": obj.get("a_pkiSupplyID") + }) + return _obj + + diff --git a/eZmaxApi/models/supply_delete_object_v1_response.py b/eZmaxApi/models/supply_delete_object_v1_response.py new file mode 100644 index 000000000..997d1e60a --- /dev/null +++ b/eZmaxApi/models/supply_delete_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class SupplyDeleteObjectV1Response(BaseModel): + """ + Response for DELETE /1/object/supply/{pkiSupplyID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyDeleteObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyDeleteObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_edit_object_v1_request.py b/eZmaxApi/models/supply_edit_object_v1_request.py new file mode 100644 index 000000000..bce824493 --- /dev/null +++ b/eZmaxApi/models/supply_edit_object_v1_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.supply_request_compound import SupplyRequestCompound +from typing import Optional, Set +from typing_extensions import Self + +class SupplyEditObjectV1Request(BaseModel): + """ + Request for PUT /1/object/supply/{pkiSupplyID} + """ # noqa: E501 + obj_supply: SupplyRequestCompound = Field(alias="objSupply") + __properties: ClassVar[List[str]] = ["objSupply"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyEditObjectV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_supply + if self.obj_supply: + _dict['objSupply'] = self.obj_supply.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyEditObjectV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objSupply": SupplyRequestCompound.from_dict(obj["objSupply"]) if obj.get("objSupply") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_edit_object_v1_response.py b/eZmaxApi/models/supply_edit_object_v1_response.py new file mode 100644 index 000000000..2f9a80e14 --- /dev/null +++ b/eZmaxApi/models/supply_edit_object_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class SupplyEditObjectV1Response(BaseModel): + """ + Response for PUT /1/object/supply/{pkiSupplyID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyEditObjectV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyEditObjectV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_get_autocomplete_v2_response.py b/eZmaxApi/models/supply_get_autocomplete_v2_response.py new file mode 100644 index 000000000..3df081f6e --- /dev/null +++ b/eZmaxApi/models/supply_get_autocomplete_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.supply_get_autocomplete_v2_response_m_payload import SupplyGetAutocompleteV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class SupplyGetAutocompleteV2Response(BaseModel): + """ + Response for GET /2/object/supply/getAutocomplete + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: SupplyGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyGetAutocompleteV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyGetAutocompleteV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": SupplyGetAutocompleteV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/supply_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..3f479b27c --- /dev/null +++ b/eZmaxApi/models/supply_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.supply_autocomplete_element_response import SupplyAutocompleteElementResponse +from typing import Optional, Set +from typing_extensions import Self + +class SupplyGetAutocompleteV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/supply/getAutocomplete + """ # noqa: E501 + a_obj_supply: List[SupplyAutocompleteElementResponse] = Field(description="An array of Supply autocomplete element response.", alias="a_objSupply") + __properties: ClassVar[List[str]] = ["a_objSupply"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyGetAutocompleteV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_supply (list) + _items = [] + if self.a_obj_supply: + for _item_a_obj_supply in self.a_obj_supply: + if _item_a_obj_supply: + _items.append(_item_a_obj_supply.to_dict()) + _dict['a_objSupply'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyGetAutocompleteV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objSupply": [SupplyAutocompleteElementResponse.from_dict(_item) for _item in obj["a_objSupply"]] if obj.get("a_objSupply") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_get_list_v1_response.py b/eZmaxApi/models/supply_get_list_v1_response.py new file mode 100644 index 000000000..ccd18bcff --- /dev/null +++ b/eZmaxApi/models/supply_get_list_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.supply_get_list_v1_response_m_payload import SupplyGetListV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class SupplyGetListV1Response(BaseModel): + """ + Response for GET /1/object/supply/getList + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: SupplyGetListV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyGetListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyGetListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayloadGetList.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": SupplyGetListV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_get_list_v1_response_m_payload.py b/eZmaxApi/models/supply_get_list_v1_response_m_payload.py new file mode 100644 index 000000000..13a83b689 --- /dev/null +++ b/eZmaxApi/models/supply_get_list_v1_response_m_payload.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.supply_list_element import SupplyListElement +from typing import Optional, Set +from typing_extensions import Self + +class SupplyGetListV1ResponseMPayload(BaseModel): + """ + Payload for GET /1/object/supply/getList + """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") + a_obj_supply: List[SupplyListElement] = Field(alias="a_objSupply") + __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objSupply"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyGetListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_supply (list) + _items = [] + if self.a_obj_supply: + for _item_a_obj_supply in self.a_obj_supply: + if _item_a_obj_supply: + _items.append(_item_a_obj_supply.to_dict()) + _dict['a_objSupply'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyGetListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iRowReturned": obj.get("iRowReturned"), + "iRowFiltered": obj.get("iRowFiltered"), + "a_objSupply": [SupplyListElement.from_dict(_item) for _item in obj["a_objSupply"]] if obj.get("a_objSupply") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_get_object_v2_response.py b/eZmaxApi/models/supply_get_object_v2_response.py new file mode 100644 index 000000000..cc1ff4779 --- /dev/null +++ b/eZmaxApi/models/supply_get_object_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.supply_get_object_v2_response_m_payload import SupplyGetObjectV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class SupplyGetObjectV2Response(BaseModel): + """ + Response for GET /2/object/supply/{pkiSupplyID} + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: SupplyGetObjectV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyGetObjectV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyGetObjectV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": SupplyGetObjectV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_get_object_v2_response_m_payload.py b/eZmaxApi/models/supply_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..486d7dcfd --- /dev/null +++ b/eZmaxApi/models/supply_get_object_v2_response_m_payload.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.supply_response_compound import SupplyResponseCompound +from typing import Optional, Set +from typing_extensions import Self + +class SupplyGetObjectV2ResponseMPayload(BaseModel): + """ + Payload for GET /2/object/supply/{pkiSupplyID} + """ # noqa: E501 + obj_supply: SupplyResponseCompound = Field(alias="objSupply") + __properties: ClassVar[List[str]] = ["objSupply"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyGetObjectV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_supply + if self.obj_supply: + _dict['objSupply'] = self.obj_supply.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyGetObjectV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objSupply": SupplyResponseCompound.from_dict(obj["objSupply"]) if obj.get("objSupply") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/supply_list_element.py b/eZmaxApi/models/supply_list_element.py new file mode 100644 index 000000000..55f4e4a76 --- /dev/null +++ b/eZmaxApi/models/supply_list_element.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class SupplyListElement(BaseModel): + """ + A Supply List Element + """ # noqa: E501 + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Supply", alias="pkiSupplyID") + fki_glaccount_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccount", alias="fkiGlaccountID") + fki_glaccountcontainer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_variableexpense_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Variableexpense", alias="fkiVariableexpenseID") + s_supply_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Supply", alias="sSupplyCode") + s_supply_description_x: Annotated[str, Field(strict=True)] = Field(description="The description of the Supply in the language of the requester", alias="sSupplyDescriptionX") + d_supply_unitprice: Annotated[str, Field(min_length=4, strict=True, max_length=13)] = Field(description="The unit price of the Supply", alias="dSupplyUnitprice") + b_supply_isactive: StrictBool = Field(description="Whether the supply is active or not", alias="bSupplyIsactive") + b_supply_variableprice: StrictBool = Field(description="Whether if the price is variable", alias="bSupplyVariableprice") + s_glaccount_description_x: Optional[StrictStr] = Field(default=None, description="The Description for the Glaccount in the language of the requester", alias="sGlaccountDescriptionX") + s_glaccountcontainer_longdescription_x: Optional[StrictStr] = Field(default=None, description="The Description for the Glaccountcontainer in the language of the requester", alias="sGlaccountcontainerLongdescriptionX") + s_variableexpense_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Variableexpense in the language of the requester", alias="sVariableexpenseDescriptionX") + __properties: ClassVar[List[str]] = ["pkiSupplyID", "fkiGlaccountID", "fkiGlaccountcontainerID", "fkiVariableexpenseID", "sSupplyCode", "sSupplyDescriptionX", "dSupplyUnitprice", "bSupplyIsactive", "bSupplyVariableprice", "sGlaccountDescriptionX", "sGlaccountcontainerLongdescriptionX", "sVariableexpenseDescriptionX"] + + @field_validator('s_supply_code') + def s_supply_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,5}$", value): + raise ValueError(r"must validate the regular expression /^.{0,5}$/") + return value + + @field_validator('s_supply_description_x') + def s_supply_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('d_supply_unitprice') + def d_supply_unitprice_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('s_variableexpense_description_x') + def s_variableexpense_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,40}$", value): + raise ValueError(r"must validate the regular expression /^.{0,40}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyListElement from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyListElement from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSupplyID": obj.get("pkiSupplyID"), + "fkiGlaccountID": obj.get("fkiGlaccountID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiVariableexpenseID": obj.get("fkiVariableexpenseID"), + "sSupplyCode": obj.get("sSupplyCode"), + "sSupplyDescriptionX": obj.get("sSupplyDescriptionX"), + "dSupplyUnitprice": obj.get("dSupplyUnitprice"), + "bSupplyIsactive": obj.get("bSupplyIsactive"), + "bSupplyVariableprice": obj.get("bSupplyVariableprice"), + "sGlaccountDescriptionX": obj.get("sGlaccountDescriptionX"), + "sGlaccountcontainerLongdescriptionX": obj.get("sGlaccountcontainerLongdescriptionX"), + "sVariableexpenseDescriptionX": obj.get("sVariableexpenseDescriptionX") + }) + return _obj + + diff --git a/eZmaxApi/models/supply_request.py b/eZmaxApi/models/supply_request.py new file mode 100644 index 000000000..dbb5b9218 --- /dev/null +++ b/eZmaxApi/models/supply_request.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.multilingual_supply_description import MultilingualSupplyDescription +from typing import Optional, Set +from typing_extensions import Self + +class SupplyRequest(BaseModel): + """ + A Supply Object + """ # noqa: E501 + pki_supply_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Supply", alias="pkiSupplyID") + fki_glaccount_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccount", alias="fkiGlaccountID") + fki_glaccountcontainer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_variableexpense_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Variableexpense", alias="fkiVariableexpenseID") + s_supply_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Supply", alias="sSupplyCode") + obj_supply_description: MultilingualSupplyDescription = Field(alias="objSupplyDescription") + d_supply_unitprice: Annotated[str, Field(min_length=4, strict=True, max_length=13)] = Field(description="The unit price of the Supply", alias="dSupplyUnitprice") + b_supply_isactive: StrictBool = Field(description="Whether the supply is active or not", alias="bSupplyIsactive") + b_supply_variableprice: StrictBool = Field(description="Whether if the price is variable", alias="bSupplyVariableprice") + __properties: ClassVar[List[str]] = ["pkiSupplyID", "fkiGlaccountID", "fkiGlaccountcontainerID", "fkiVariableexpenseID", "sSupplyCode", "objSupplyDescription", "dSupplyUnitprice", "bSupplyIsactive", "bSupplyVariableprice"] + + @field_validator('s_supply_code') + def s_supply_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,5}$", value): + raise ValueError(r"must validate the regular expression /^.{0,5}$/") + return value + + @field_validator('d_supply_unitprice') + def d_supply_unitprice_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_supply_description + if self.obj_supply_description: + _dict['objSupplyDescription'] = self.obj_supply_description.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSupplyID": obj.get("pkiSupplyID"), + "fkiGlaccountID": obj.get("fkiGlaccountID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiVariableexpenseID": obj.get("fkiVariableexpenseID"), + "sSupplyCode": obj.get("sSupplyCode"), + "objSupplyDescription": MultilingualSupplyDescription.from_dict(obj["objSupplyDescription"]) if obj.get("objSupplyDescription") is not None else None, + "dSupplyUnitprice": obj.get("dSupplyUnitprice"), + "bSupplyIsactive": obj.get("bSupplyIsactive"), + "bSupplyVariableprice": obj.get("bSupplyVariableprice") + }) + return _obj + + diff --git a/eZmaxApi/models/supply_request_compound.py b/eZmaxApi/models/supply_request_compound.py new file mode 100644 index 000000000..91414a8ac --- /dev/null +++ b/eZmaxApi/models/supply_request_compound.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.multilingual_supply_description import MultilingualSupplyDescription +from typing import Optional, Set +from typing_extensions import Self + +class SupplyRequestCompound(BaseModel): + """ + A Supply Object and children + """ # noqa: E501 + pki_supply_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Supply", alias="pkiSupplyID") + fki_glaccount_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccount", alias="fkiGlaccountID") + fki_glaccountcontainer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_variableexpense_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Variableexpense", alias="fkiVariableexpenseID") + s_supply_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Supply", alias="sSupplyCode") + obj_supply_description: MultilingualSupplyDescription = Field(alias="objSupplyDescription") + d_supply_unitprice: Annotated[str, Field(min_length=4, strict=True, max_length=13)] = Field(description="The unit price of the Supply", alias="dSupplyUnitprice") + b_supply_isactive: StrictBool = Field(description="Whether the supply is active or not", alias="bSupplyIsactive") + b_supply_variableprice: StrictBool = Field(description="Whether if the price is variable", alias="bSupplyVariableprice") + __properties: ClassVar[List[str]] = ["pkiSupplyID", "fkiGlaccountID", "fkiGlaccountcontainerID", "fkiVariableexpenseID", "sSupplyCode", "objSupplyDescription", "dSupplyUnitprice", "bSupplyIsactive", "bSupplyVariableprice"] + + @field_validator('s_supply_code') + def s_supply_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,5}$", value): + raise ValueError(r"must validate the regular expression /^.{0,5}$/") + return value + + @field_validator('d_supply_unitprice') + def d_supply_unitprice_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_supply_description + if self.obj_supply_description: + _dict['objSupplyDescription'] = self.obj_supply_description.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSupplyID": obj.get("pkiSupplyID"), + "fkiGlaccountID": obj.get("fkiGlaccountID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiVariableexpenseID": obj.get("fkiVariableexpenseID"), + "sSupplyCode": obj.get("sSupplyCode"), + "objSupplyDescription": MultilingualSupplyDescription.from_dict(obj["objSupplyDescription"]) if obj.get("objSupplyDescription") is not None else None, + "dSupplyUnitprice": obj.get("dSupplyUnitprice"), + "bSupplyIsactive": obj.get("bSupplyIsactive"), + "bSupplyVariableprice": obj.get("bSupplyVariableprice") + }) + return _obj + + diff --git a/eZmaxApi/models/supply_response.py b/eZmaxApi/models/supply_response.py new file mode 100644 index 000000000..61d18256d --- /dev/null +++ b/eZmaxApi/models/supply_response.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.multilingual_supply_description import MultilingualSupplyDescription +from typing import Optional, Set +from typing_extensions import Self + +class SupplyResponse(BaseModel): + """ + A Supply Object + """ # noqa: E501 + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Supply", alias="pkiSupplyID") + fki_glaccount_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccount", alias="fkiGlaccountID") + fki_glaccountcontainer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_variableexpense_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Variableexpense", alias="fkiVariableexpenseID") + s_supply_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Supply", alias="sSupplyCode") + obj_supply_description: MultilingualSupplyDescription = Field(alias="objSupplyDescription") + d_supply_unitprice: Annotated[str, Field(min_length=4, strict=True, max_length=13)] = Field(description="The unit price of the Supply", alias="dSupplyUnitprice") + b_supply_isactive: StrictBool = Field(description="Whether the supply is active or not", alias="bSupplyIsactive") + b_supply_variableprice: StrictBool = Field(description="Whether if the price is variable", alias="bSupplyVariableprice") + s_glaccount_description_x: Optional[StrictStr] = Field(default=None, description="The Description for the Glaccount in the language of the requester", alias="sGlaccountDescriptionX") + s_glaccountcontainer_longdescription_x: Optional[StrictStr] = Field(default=None, description="The Description for the Glaccountcontainer in the language of the requester", alias="sGlaccountcontainerLongdescriptionX") + s_variableexpense_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Variableexpense in the language of the requester", alias="sVariableexpenseDescriptionX") + __properties: ClassVar[List[str]] = ["pkiSupplyID", "fkiGlaccountID", "fkiGlaccountcontainerID", "fkiVariableexpenseID", "sSupplyCode", "objSupplyDescription", "dSupplyUnitprice", "bSupplyIsactive", "bSupplyVariableprice", "sGlaccountDescriptionX", "sGlaccountcontainerLongdescriptionX", "sVariableexpenseDescriptionX"] + + @field_validator('s_supply_code') + def s_supply_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,5}$", value): + raise ValueError(r"must validate the regular expression /^.{0,5}$/") + return value + + @field_validator('d_supply_unitprice') + def d_supply_unitprice_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('s_variableexpense_description_x') + def s_variableexpense_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,40}$", value): + raise ValueError(r"must validate the regular expression /^.{0,40}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_supply_description + if self.obj_supply_description: + _dict['objSupplyDescription'] = self.obj_supply_description.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSupplyID": obj.get("pkiSupplyID"), + "fkiGlaccountID": obj.get("fkiGlaccountID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiVariableexpenseID": obj.get("fkiVariableexpenseID"), + "sSupplyCode": obj.get("sSupplyCode"), + "objSupplyDescription": MultilingualSupplyDescription.from_dict(obj["objSupplyDescription"]) if obj.get("objSupplyDescription") is not None else None, + "dSupplyUnitprice": obj.get("dSupplyUnitprice"), + "bSupplyIsactive": obj.get("bSupplyIsactive"), + "bSupplyVariableprice": obj.get("bSupplyVariableprice"), + "sGlaccountDescriptionX": obj.get("sGlaccountDescriptionX"), + "sGlaccountcontainerLongdescriptionX": obj.get("sGlaccountcontainerLongdescriptionX"), + "sVariableexpenseDescriptionX": obj.get("sVariableexpenseDescriptionX") + }) + return _obj + + diff --git a/eZmaxApi/models/supply_response_compound.py b/eZmaxApi/models/supply_response_compound.py new file mode 100644 index 000000000..29dc98724 --- /dev/null +++ b/eZmaxApi/models/supply_response_compound.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.multilingual_supply_description import MultilingualSupplyDescription +from typing import Optional, Set +from typing_extensions import Self + +class SupplyResponseCompound(BaseModel): + """ + A Supply Object + """ # noqa: E501 + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Supply", alias="pkiSupplyID") + fki_glaccount_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccount", alias="fkiGlaccountID") + fki_glaccountcontainer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_variableexpense_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Variableexpense", alias="fkiVariableexpenseID") + s_supply_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Supply", alias="sSupplyCode") + obj_supply_description: MultilingualSupplyDescription = Field(alias="objSupplyDescription") + d_supply_unitprice: Annotated[str, Field(min_length=4, strict=True, max_length=13)] = Field(description="The unit price of the Supply", alias="dSupplyUnitprice") + b_supply_isactive: StrictBool = Field(description="Whether the supply is active or not", alias="bSupplyIsactive") + b_supply_variableprice: StrictBool = Field(description="Whether if the price is variable", alias="bSupplyVariableprice") + s_glaccount_description_x: Optional[StrictStr] = Field(default=None, description="The Description for the Glaccount in the language of the requester", alias="sGlaccountDescriptionX") + s_glaccountcontainer_longdescription_x: Optional[StrictStr] = Field(default=None, description="The Description for the Glaccountcontainer in the language of the requester", alias="sGlaccountcontainerLongdescriptionX") + s_variableexpense_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Variableexpense in the language of the requester", alias="sVariableexpenseDescriptionX") + __properties: ClassVar[List[str]] = ["pkiSupplyID", "fkiGlaccountID", "fkiGlaccountcontainerID", "fkiVariableexpenseID", "sSupplyCode", "objSupplyDescription", "dSupplyUnitprice", "bSupplyIsactive", "bSupplyVariableprice", "sGlaccountDescriptionX", "sGlaccountcontainerLongdescriptionX", "sVariableexpenseDescriptionX"] + + @field_validator('s_supply_code') + def s_supply_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,5}$", value): + raise ValueError(r"must validate the regular expression /^.{0,5}$/") + return value + + @field_validator('d_supply_unitprice') + def d_supply_unitprice_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('s_variableexpense_description_x') + def s_variableexpense_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,40}$", value): + raise ValueError(r"must validate the regular expression /^.{0,40}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupplyResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_supply_description + if self.obj_supply_description: + _dict['objSupplyDescription'] = self.obj_supply_description.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupplyResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSupplyID": obj.get("pkiSupplyID"), + "fkiGlaccountID": obj.get("fkiGlaccountID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiVariableexpenseID": obj.get("fkiVariableexpenseID"), + "sSupplyCode": obj.get("sSupplyCode"), + "objSupplyDescription": MultilingualSupplyDescription.from_dict(obj["objSupplyDescription"]) if obj.get("objSupplyDescription") is not None else None, + "dSupplyUnitprice": obj.get("dSupplyUnitprice"), + "bSupplyIsactive": obj.get("bSupplyIsactive"), + "bSupplyVariableprice": obj.get("bSupplyVariableprice"), + "sGlaccountDescriptionX": obj.get("sGlaccountDescriptionX"), + "sGlaccountcontainerLongdescriptionX": obj.get("sGlaccountcontainerLongdescriptionX"), + "sVariableexpenseDescriptionX": obj.get("sVariableexpenseDescriptionX") + }) + return _obj + + diff --git a/eZmaxApi/models/systemconfiguration_request.py b/eZmaxApi/models/systemconfiguration_request.py index a3a0da6d0..fef1eedfa 100644 --- a/eZmaxApi/models/systemconfiguration_request.py +++ b/eZmaxApi/models/systemconfiguration_request.py @@ -34,6 +34,7 @@ class SystemconfigurationRequest(BaseModel): A Systemconfiguration Object """ # noqa: E501 pki_systemconfiguration_id: Optional[Annotated[int, Field(le=1, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Systemconfiguration", alias="pkiSystemconfigurationID") + fki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="fkiBrandingID") e_systemconfiguration_newexternaluseraction: FieldESystemconfigurationNewexternaluseraction = Field(alias="eSystemconfigurationNewexternaluseraction") e_systemconfiguration_language1: FieldESystemconfigurationLanguage1 = Field(alias="eSystemconfigurationLanguage1") e_systemconfiguration_language2: FieldESystemconfigurationLanguage2 = Field(alias="eSystemconfigurationLanguage2") @@ -44,7 +45,7 @@ class SystemconfigurationRequest(BaseModel): b_systemconfiguration_sspr: StrictBool = Field(description="Whether if we allow SSPR", alias="bSystemconfigurationSspr") dt_systemconfiguration_readonlyexpirationstart: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The start date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationstart") dt_systemconfiguration_readonlyexpirationend: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The end date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationend") - __properties: ClassVar[List[str]] = ["pkiSystemconfigurationID", "eSystemconfigurationNewexternaluseraction", "eSystemconfigurationLanguage1", "eSystemconfigurationLanguage2", "eSystemconfigurationEzsign", "eSystemconfigurationEzsignofficeplan", "bSystemconfigurationEzsignpaidbyoffice", "bSystemconfigurationEzsignpersonnal", "bSystemconfigurationSspr", "dtSystemconfigurationReadonlyexpirationstart", "dtSystemconfigurationReadonlyexpirationend"] + __properties: ClassVar[List[str]] = ["pkiSystemconfigurationID", "fkiBrandingID", "eSystemconfigurationNewexternaluseraction", "eSystemconfigurationLanguage1", "eSystemconfigurationLanguage2", "eSystemconfigurationEzsign", "eSystemconfigurationEzsignofficeplan", "bSystemconfigurationEzsignpaidbyoffice", "bSystemconfigurationEzsignpersonnal", "bSystemconfigurationSspr", "dtSystemconfigurationReadonlyexpirationstart", "dtSystemconfigurationReadonlyexpirationend"] @field_validator('dt_systemconfiguration_readonlyexpirationstart') def dt_systemconfiguration_readonlyexpirationstart_validate_regular_expression(cls, value): @@ -118,6 +119,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiSystemconfigurationID": obj.get("pkiSystemconfigurationID"), + "fkiBrandingID": obj.get("fkiBrandingID"), "eSystemconfigurationNewexternaluseraction": obj.get("eSystemconfigurationNewexternaluseraction"), "eSystemconfigurationLanguage1": obj.get("eSystemconfigurationLanguage1"), "eSystemconfigurationLanguage2": obj.get("eSystemconfigurationLanguage2"), diff --git a/eZmaxApi/models/systemconfiguration_request_compound.py b/eZmaxApi/models/systemconfiguration_request_compound.py index d807a418f..eb0b19261 100644 --- a/eZmaxApi/models/systemconfiguration_request_compound.py +++ b/eZmaxApi/models/systemconfiguration_request_compound.py @@ -34,6 +34,7 @@ class SystemconfigurationRequestCompound(BaseModel): A Systemconfiguration Object and children """ # noqa: E501 pki_systemconfiguration_id: Optional[Annotated[int, Field(le=1, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Systemconfiguration", alias="pkiSystemconfigurationID") + fki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="fkiBrandingID") e_systemconfiguration_newexternaluseraction: FieldESystemconfigurationNewexternaluseraction = Field(alias="eSystemconfigurationNewexternaluseraction") e_systemconfiguration_language1: FieldESystemconfigurationLanguage1 = Field(alias="eSystemconfigurationLanguage1") e_systemconfiguration_language2: FieldESystemconfigurationLanguage2 = Field(alias="eSystemconfigurationLanguage2") @@ -44,7 +45,7 @@ class SystemconfigurationRequestCompound(BaseModel): b_systemconfiguration_sspr: StrictBool = Field(description="Whether if we allow SSPR", alias="bSystemconfigurationSspr") dt_systemconfiguration_readonlyexpirationstart: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The start date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationstart") dt_systemconfiguration_readonlyexpirationend: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The end date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationend") - __properties: ClassVar[List[str]] = ["pkiSystemconfigurationID", "eSystemconfigurationNewexternaluseraction", "eSystemconfigurationLanguage1", "eSystemconfigurationLanguage2", "eSystemconfigurationEzsign", "eSystemconfigurationEzsignofficeplan", "bSystemconfigurationEzsignpaidbyoffice", "bSystemconfigurationEzsignpersonnal", "bSystemconfigurationSspr", "dtSystemconfigurationReadonlyexpirationstart", "dtSystemconfigurationReadonlyexpirationend"] + __properties: ClassVar[List[str]] = ["pkiSystemconfigurationID", "fkiBrandingID", "eSystemconfigurationNewexternaluseraction", "eSystemconfigurationLanguage1", "eSystemconfigurationLanguage2", "eSystemconfigurationEzsign", "eSystemconfigurationEzsignofficeplan", "bSystemconfigurationEzsignpaidbyoffice", "bSystemconfigurationEzsignpersonnal", "bSystemconfigurationSspr", "dtSystemconfigurationReadonlyexpirationstart", "dtSystemconfigurationReadonlyexpirationend"] @field_validator('dt_systemconfiguration_readonlyexpirationstart') def dt_systemconfiguration_readonlyexpirationstart_validate_regular_expression(cls, value): @@ -118,6 +119,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiSystemconfigurationID": obj.get("pkiSystemconfigurationID"), + "fkiBrandingID": obj.get("fkiBrandingID"), "eSystemconfigurationNewexternaluseraction": obj.get("eSystemconfigurationNewexternaluseraction"), "eSystemconfigurationLanguage1": obj.get("eSystemconfigurationLanguage1"), "eSystemconfigurationLanguage2": obj.get("eSystemconfigurationLanguage2"), diff --git a/eZmaxApi/models/systemconfiguration_response.py b/eZmaxApi/models/systemconfiguration_response.py index 6fbdb5afc..84270da6d 100644 --- a/eZmaxApi/models/systemconfiguration_response.py +++ b/eZmaxApi/models/systemconfiguration_response.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.custom_branding_response import CustomBrandingResponse from eZmaxApi.models.field_e_systemconfiguration_ezsign import FieldESystemconfigurationEzsign from eZmaxApi.models.field_e_systemconfiguration_ezsignofficeplan import FieldESystemconfigurationEzsignofficeplan from eZmaxApi.models.field_e_systemconfiguration_language1 import FieldESystemconfigurationLanguage1 @@ -35,6 +36,7 @@ class SystemconfigurationResponse(BaseModel): """ # noqa: E501 pki_systemconfiguration_id: Annotated[int, Field(le=1, strict=True, ge=1)] = Field(description="The unique ID of the Systemconfiguration", alias="pkiSystemconfigurationID") fki_systemconfigurationtype_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Systemconfigurationtype", alias="fkiSystemconfigurationtypeID") + fki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="fkiBrandingID") s_systemconfigurationtype_description_x: StrictStr = Field(description="The description of the Systemconfigurationtype in the language of the requester", alias="sSystemconfigurationtypeDescriptionX") e_systemconfiguration_newexternaluseraction: FieldESystemconfigurationNewexternaluseraction = Field(alias="eSystemconfigurationNewexternaluseraction") e_systemconfiguration_language1: FieldESystemconfigurationLanguage1 = Field(alias="eSystemconfigurationLanguage1") @@ -43,11 +45,13 @@ class SystemconfigurationResponse(BaseModel): e_systemconfiguration_ezsignofficeplan: Optional[FieldESystemconfigurationEzsignofficeplan] = Field(default=None, alias="eSystemconfigurationEzsignofficeplan") b_systemconfiguration_ezsignpaidbyoffice: Optional[StrictBool] = Field(default=None, description="Whether if Ezsign is paid by the company or not", alias="bSystemconfigurationEzsignpaidbyoffice") b_systemconfiguration_ezsignpersonnal: StrictBool = Field(description="Whether if we allow the creation of personal files in eZsign", alias="bSystemconfigurationEzsignpersonnal") + b_systemconfiguration_hascreditcardmerchant: Optional[StrictBool] = Field(default=None, description="Whether there is a creditcard merchant configured or not", alias="bSystemconfigurationHascreditcardmerchant") b_systemconfiguration_isdisposalactive: Optional[StrictBool] = Field(default=None, description="Whether is Disposal processus is active or not", alias="bSystemconfigurationIsdisposalactive") b_systemconfiguration_sspr: StrictBool = Field(description="Whether if we allow SSPR", alias="bSystemconfigurationSspr") dt_systemconfiguration_readonlyexpirationstart: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The start date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationstart") dt_systemconfiguration_readonlyexpirationend: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The end date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationend") - __properties: ClassVar[List[str]] = ["pkiSystemconfigurationID", "fkiSystemconfigurationtypeID", "sSystemconfigurationtypeDescriptionX", "eSystemconfigurationNewexternaluseraction", "eSystemconfigurationLanguage1", "eSystemconfigurationLanguage2", "eSystemconfigurationEzsign", "eSystemconfigurationEzsignofficeplan", "bSystemconfigurationEzsignpaidbyoffice", "bSystemconfigurationEzsignpersonnal", "bSystemconfigurationIsdisposalactive", "bSystemconfigurationSspr", "dtSystemconfigurationReadonlyexpirationstart", "dtSystemconfigurationReadonlyexpirationend"] + obj_branding: Optional[CustomBrandingResponse] = Field(default=None, alias="objBranding") + __properties: ClassVar[List[str]] = ["pkiSystemconfigurationID", "fkiSystemconfigurationtypeID", "fkiBrandingID", "sSystemconfigurationtypeDescriptionX", "eSystemconfigurationNewexternaluseraction", "eSystemconfigurationLanguage1", "eSystemconfigurationLanguage2", "eSystemconfigurationEzsign", "eSystemconfigurationEzsignofficeplan", "bSystemconfigurationEzsignpaidbyoffice", "bSystemconfigurationEzsignpersonnal", "bSystemconfigurationHascreditcardmerchant", "bSystemconfigurationIsdisposalactive", "bSystemconfigurationSspr", "dtSystemconfigurationReadonlyexpirationstart", "dtSystemconfigurationReadonlyexpirationend", "objBranding"] @field_validator('dt_systemconfiguration_readonlyexpirationstart') def dt_systemconfiguration_readonlyexpirationstart_validate_regular_expression(cls, value): @@ -108,6 +112,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_branding + if self.obj_branding: + _dict['objBranding'] = self.obj_branding.to_dict() return _dict @classmethod @@ -122,6 +129,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiSystemconfigurationID": obj.get("pkiSystemconfigurationID"), "fkiSystemconfigurationtypeID": obj.get("fkiSystemconfigurationtypeID"), + "fkiBrandingID": obj.get("fkiBrandingID"), "sSystemconfigurationtypeDescriptionX": obj.get("sSystemconfigurationtypeDescriptionX"), "eSystemconfigurationNewexternaluseraction": obj.get("eSystemconfigurationNewexternaluseraction"), "eSystemconfigurationLanguage1": obj.get("eSystemconfigurationLanguage1"), @@ -130,10 +138,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eSystemconfigurationEzsignofficeplan": obj.get("eSystemconfigurationEzsignofficeplan"), "bSystemconfigurationEzsignpaidbyoffice": obj.get("bSystemconfigurationEzsignpaidbyoffice"), "bSystemconfigurationEzsignpersonnal": obj.get("bSystemconfigurationEzsignpersonnal"), + "bSystemconfigurationHascreditcardmerchant": obj.get("bSystemconfigurationHascreditcardmerchant"), "bSystemconfigurationIsdisposalactive": obj.get("bSystemconfigurationIsdisposalactive"), "bSystemconfigurationSspr": obj.get("bSystemconfigurationSspr"), "dtSystemconfigurationReadonlyexpirationstart": obj.get("dtSystemconfigurationReadonlyexpirationstart"), - "dtSystemconfigurationReadonlyexpirationend": obj.get("dtSystemconfigurationReadonlyexpirationend") + "dtSystemconfigurationReadonlyexpirationend": obj.get("dtSystemconfigurationReadonlyexpirationend"), + "objBranding": CustomBrandingResponse.from_dict(obj["objBranding"]) if obj.get("objBranding") is not None else None }) return _obj diff --git a/eZmaxApi/models/systemconfiguration_response_compound.py b/eZmaxApi/models/systemconfiguration_response_compound.py index 9854201d8..1a8a6d5c9 100644 --- a/eZmaxApi/models/systemconfiguration_response_compound.py +++ b/eZmaxApi/models/systemconfiguration_response_compound.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.custom_branding_response import CustomBrandingResponse from eZmaxApi.models.field_e_systemconfiguration_ezsign import FieldESystemconfigurationEzsign from eZmaxApi.models.field_e_systemconfiguration_ezsignofficeplan import FieldESystemconfigurationEzsignofficeplan from eZmaxApi.models.field_e_systemconfiguration_language1 import FieldESystemconfigurationLanguage1 @@ -35,6 +36,7 @@ class SystemconfigurationResponseCompound(BaseModel): """ # noqa: E501 pki_systemconfiguration_id: Annotated[int, Field(le=1, strict=True, ge=1)] = Field(description="The unique ID of the Systemconfiguration", alias="pkiSystemconfigurationID") fki_systemconfigurationtype_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Systemconfigurationtype", alias="fkiSystemconfigurationtypeID") + fki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="fkiBrandingID") s_systemconfigurationtype_description_x: StrictStr = Field(description="The description of the Systemconfigurationtype in the language of the requester", alias="sSystemconfigurationtypeDescriptionX") e_systemconfiguration_newexternaluseraction: FieldESystemconfigurationNewexternaluseraction = Field(alias="eSystemconfigurationNewexternaluseraction") e_systemconfiguration_language1: FieldESystemconfigurationLanguage1 = Field(alias="eSystemconfigurationLanguage1") @@ -43,11 +45,13 @@ class SystemconfigurationResponseCompound(BaseModel): e_systemconfiguration_ezsignofficeplan: Optional[FieldESystemconfigurationEzsignofficeplan] = Field(default=None, alias="eSystemconfigurationEzsignofficeplan") b_systemconfiguration_ezsignpaidbyoffice: Optional[StrictBool] = Field(default=None, description="Whether if Ezsign is paid by the company or not", alias="bSystemconfigurationEzsignpaidbyoffice") b_systemconfiguration_ezsignpersonnal: StrictBool = Field(description="Whether if we allow the creation of personal files in eZsign", alias="bSystemconfigurationEzsignpersonnal") + b_systemconfiguration_hascreditcardmerchant: Optional[StrictBool] = Field(default=None, description="Whether there is a creditcard merchant configured or not", alias="bSystemconfigurationHascreditcardmerchant") b_systemconfiguration_isdisposalactive: Optional[StrictBool] = Field(default=None, description="Whether is Disposal processus is active or not", alias="bSystemconfigurationIsdisposalactive") b_systemconfiguration_sspr: StrictBool = Field(description="Whether if we allow SSPR", alias="bSystemconfigurationSspr") dt_systemconfiguration_readonlyexpirationstart: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The start date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationstart") dt_systemconfiguration_readonlyexpirationend: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The end date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationend") - __properties: ClassVar[List[str]] = ["pkiSystemconfigurationID", "fkiSystemconfigurationtypeID", "sSystemconfigurationtypeDescriptionX", "eSystemconfigurationNewexternaluseraction", "eSystemconfigurationLanguage1", "eSystemconfigurationLanguage2", "eSystemconfigurationEzsign", "eSystemconfigurationEzsignofficeplan", "bSystemconfigurationEzsignpaidbyoffice", "bSystemconfigurationEzsignpersonnal", "bSystemconfigurationIsdisposalactive", "bSystemconfigurationSspr", "dtSystemconfigurationReadonlyexpirationstart", "dtSystemconfigurationReadonlyexpirationend"] + obj_branding: Optional[CustomBrandingResponse] = Field(default=None, alias="objBranding") + __properties: ClassVar[List[str]] = ["pkiSystemconfigurationID", "fkiSystemconfigurationtypeID", "fkiBrandingID", "sSystemconfigurationtypeDescriptionX", "eSystemconfigurationNewexternaluseraction", "eSystemconfigurationLanguage1", "eSystemconfigurationLanguage2", "eSystemconfigurationEzsign", "eSystemconfigurationEzsignofficeplan", "bSystemconfigurationEzsignpaidbyoffice", "bSystemconfigurationEzsignpersonnal", "bSystemconfigurationHascreditcardmerchant", "bSystemconfigurationIsdisposalactive", "bSystemconfigurationSspr", "dtSystemconfigurationReadonlyexpirationstart", "dtSystemconfigurationReadonlyexpirationend", "objBranding"] @field_validator('dt_systemconfiguration_readonlyexpirationstart') def dt_systemconfiguration_readonlyexpirationstart_validate_regular_expression(cls, value): @@ -108,6 +112,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_branding + if self.obj_branding: + _dict['objBranding'] = self.obj_branding.to_dict() return _dict @classmethod @@ -122,6 +129,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiSystemconfigurationID": obj.get("pkiSystemconfigurationID"), "fkiSystemconfigurationtypeID": obj.get("fkiSystemconfigurationtypeID"), + "fkiBrandingID": obj.get("fkiBrandingID"), "sSystemconfigurationtypeDescriptionX": obj.get("sSystemconfigurationtypeDescriptionX"), "eSystemconfigurationNewexternaluseraction": obj.get("eSystemconfigurationNewexternaluseraction"), "eSystemconfigurationLanguage1": obj.get("eSystemconfigurationLanguage1"), @@ -130,10 +138,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eSystemconfigurationEzsignofficeplan": obj.get("eSystemconfigurationEzsignofficeplan"), "bSystemconfigurationEzsignpaidbyoffice": obj.get("bSystemconfigurationEzsignpaidbyoffice"), "bSystemconfigurationEzsignpersonnal": obj.get("bSystemconfigurationEzsignpersonnal"), + "bSystemconfigurationHascreditcardmerchant": obj.get("bSystemconfigurationHascreditcardmerchant"), "bSystemconfigurationIsdisposalactive": obj.get("bSystemconfigurationIsdisposalactive"), "bSystemconfigurationSspr": obj.get("bSystemconfigurationSspr"), "dtSystemconfigurationReadonlyexpirationstart": obj.get("dtSystemconfigurationReadonlyexpirationstart"), - "dtSystemconfigurationReadonlyexpirationend": obj.get("dtSystemconfigurationReadonlyexpirationend") + "dtSystemconfigurationReadonlyexpirationend": obj.get("dtSystemconfigurationReadonlyexpirationend"), + "objBranding": CustomBrandingResponse.from_dict(obj["objBranding"]) if obj.get("objBranding") is not None else None }) return _obj diff --git a/eZmaxApi/models/taxassignment_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/taxassignment_get_autocomplete_v2_response_m_payload.py index a1a538b12..a93732554 100644 --- a/eZmaxApi/models/taxassignment_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/taxassignment_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_taxassignment (list) _items = [] if self.a_obj_taxassignment: - for _item in self.a_obj_taxassignment: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_taxassignment in self.a_obj_taxassignment: + if _item_a_obj_taxassignment: + _items.append(_item_a_obj_taxassignment.to_dict()) _dict['a_objTaxassignment'] = _items return _dict diff --git a/eZmaxApi/models/textstylestatic_request.py b/eZmaxApi/models/textstylestatic_request.py new file mode 100644 index 000000000..9ac1494d9 --- /dev/null +++ b/eZmaxApi/models/textstylestatic_request.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class TextstylestaticRequest(BaseModel): + """ + A Textstylestatic Object + """ # noqa: E501 + fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + b_textstylestatic_bold: StrictBool = Field(description="Whether the Textstylestatic is Bold or not", alias="bTextstylestaticBold") + b_textstylestatic_underline: StrictBool = Field(description="Whether the Textstylestatic is Underline or not", alias="bTextstylestaticUnderline") + b_textstylestatic_italic: StrictBool = Field(description="Whether the Textstylestatic is Italic or not", alias="bTextstylestaticItalic") + b_textstylestatic_strikethrough: StrictBool = Field(description="Whether the Textstylestatic is Strikethrough or not", alias="bTextstylestaticStrikethrough") + i_textstylestatic_fontcolor: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The int32 representation of the Fontcolor. For example, RGB color #39435B would be 3752795", alias="iTextstylestaticFontcolor") + i_textstylestatic_size: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The Size for the Font of the Textstylestatic", alias="iTextstylestaticSize") + __properties: ClassVar[List[str]] = ["fkiFontID", "bTextstylestaticBold", "bTextstylestaticUnderline", "bTextstylestaticItalic", "bTextstylestaticStrikethrough", "iTextstylestaticFontcolor", "iTextstylestaticSize"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TextstylestaticRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TextstylestaticRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiFontID": obj.get("fkiFontID"), + "bTextstylestaticBold": obj.get("bTextstylestaticBold"), + "bTextstylestaticUnderline": obj.get("bTextstylestaticUnderline"), + "bTextstylestaticItalic": obj.get("bTextstylestaticItalic"), + "bTextstylestaticStrikethrough": obj.get("bTextstylestaticStrikethrough"), + "iTextstylestaticFontcolor": obj.get("iTextstylestaticFontcolor"), + "iTextstylestaticSize": obj.get("iTextstylestaticSize") + }) + return _obj + + diff --git a/eZmaxApi/models/textstylestatic_request_compound.py b/eZmaxApi/models/textstylestatic_request_compound.py new file mode 100644 index 000000000..7f6d0b2ba --- /dev/null +++ b/eZmaxApi/models/textstylestatic_request_compound.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class TextstylestaticRequestCompound(BaseModel): + """ + A Textstylestatic Object and children + """ # noqa: E501 + fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + b_textstylestatic_bold: StrictBool = Field(description="Whether the Textstylestatic is Bold or not", alias="bTextstylestaticBold") + b_textstylestatic_underline: StrictBool = Field(description="Whether the Textstylestatic is Underline or not", alias="bTextstylestaticUnderline") + b_textstylestatic_italic: StrictBool = Field(description="Whether the Textstylestatic is Italic or not", alias="bTextstylestaticItalic") + b_textstylestatic_strikethrough: StrictBool = Field(description="Whether the Textstylestatic is Strikethrough or not", alias="bTextstylestaticStrikethrough") + i_textstylestatic_fontcolor: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The int32 representation of the Fontcolor. For example, RGB color #39435B would be 3752795", alias="iTextstylestaticFontcolor") + i_textstylestatic_size: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The Size for the Font of the Textstylestatic", alias="iTextstylestaticSize") + __properties: ClassVar[List[str]] = ["fkiFontID", "bTextstylestaticBold", "bTextstylestaticUnderline", "bTextstylestaticItalic", "bTextstylestaticStrikethrough", "iTextstylestaticFontcolor", "iTextstylestaticSize"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TextstylestaticRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TextstylestaticRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiFontID": obj.get("fkiFontID"), + "bTextstylestaticBold": obj.get("bTextstylestaticBold"), + "bTextstylestaticUnderline": obj.get("bTextstylestaticUnderline"), + "bTextstylestaticItalic": obj.get("bTextstylestaticItalic"), + "bTextstylestaticStrikethrough": obj.get("bTextstylestaticStrikethrough"), + "iTextstylestaticFontcolor": obj.get("iTextstylestaticFontcolor"), + "iTextstylestaticSize": obj.get("iTextstylestaticSize") + }) + return _obj + + diff --git a/eZmaxApi/models/textstylestatic_response.py b/eZmaxApi/models/textstylestatic_response.py index 28753ca8f..47d9909f5 100644 --- a/eZmaxApi/models/textstylestatic_response.py +++ b/eZmaxApi/models/textstylestatic_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set @@ -30,13 +30,21 @@ class TextstylestaticResponse(BaseModel): """ # noqa: E501 pki_textstylestatic_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Textstylestatic", alias="pkiTextstylestaticID") fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + s_font_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Font", alias="sFontName") b_textstylestatic_bold: StrictBool = Field(description="Whether the Textstylestatic is Bold or not", alias="bTextstylestaticBold") b_textstylestatic_underline: StrictBool = Field(description="Whether the Textstylestatic is Underline or not", alias="bTextstylestaticUnderline") b_textstylestatic_italic: StrictBool = Field(description="Whether the Textstylestatic is Italic or not", alias="bTextstylestaticItalic") b_textstylestatic_strikethrough: StrictBool = Field(description="Whether the Textstylestatic is Strikethrough or not", alias="bTextstylestaticStrikethrough") i_textstylestatic_fontcolor: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The int32 representation of the Fontcolor. For example, RGB color #39435B would be 3752795", alias="iTextstylestaticFontcolor") i_textstylestatic_size: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The Size for the Font of the Textstylestatic", alias="iTextstylestaticSize") - __properties: ClassVar[List[str]] = ["pkiTextstylestaticID", "fkiFontID", "bTextstylestaticBold", "bTextstylestaticUnderline", "bTextstylestaticItalic", "bTextstylestaticStrikethrough", "iTextstylestaticFontcolor", "iTextstylestaticSize"] + __properties: ClassVar[List[str]] = ["pkiTextstylestaticID", "fkiFontID", "sFontName", "bTextstylestaticBold", "bTextstylestaticUnderline", "bTextstylestaticItalic", "bTextstylestaticStrikethrough", "iTextstylestaticFontcolor", "iTextstylestaticSize"] + + @field_validator('s_font_name') + def s_font_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value model_config = ConfigDict( populate_by_name=True, @@ -91,6 +99,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiTextstylestaticID": obj.get("pkiTextstylestaticID"), "fkiFontID": obj.get("fkiFontID"), + "sFontName": obj.get("sFontName"), "bTextstylestaticBold": obj.get("bTextstylestaticBold"), "bTextstylestaticUnderline": obj.get("bTextstylestaticUnderline"), "bTextstylestaticItalic": obj.get("bTextstylestaticItalic"), diff --git a/eZmaxApi/models/textstylestatic_response_compound.py b/eZmaxApi/models/textstylestatic_response_compound.py index 1beafd11e..b4b31c654 100644 --- a/eZmaxApi/models/textstylestatic_response_compound.py +++ b/eZmaxApi/models/textstylestatic_response_compound.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set @@ -30,13 +30,21 @@ class TextstylestaticResponseCompound(BaseModel): """ # noqa: E501 pki_textstylestatic_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Textstylestatic", alias="pkiTextstylestaticID") fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + s_font_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Font", alias="sFontName") b_textstylestatic_bold: StrictBool = Field(description="Whether the Textstylestatic is Bold or not", alias="bTextstylestaticBold") b_textstylestatic_underline: StrictBool = Field(description="Whether the Textstylestatic is Underline or not", alias="bTextstylestaticUnderline") b_textstylestatic_italic: StrictBool = Field(description="Whether the Textstylestatic is Italic or not", alias="bTextstylestaticItalic") b_textstylestatic_strikethrough: StrictBool = Field(description="Whether the Textstylestatic is Strikethrough or not", alias="bTextstylestaticStrikethrough") i_textstylestatic_fontcolor: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The int32 representation of the Fontcolor. For example, RGB color #39435B would be 3752795", alias="iTextstylestaticFontcolor") i_textstylestatic_size: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The Size for the Font of the Textstylestatic", alias="iTextstylestaticSize") - __properties: ClassVar[List[str]] = ["pkiTextstylestaticID", "fkiFontID", "bTextstylestaticBold", "bTextstylestaticUnderline", "bTextstylestaticItalic", "bTextstylestaticStrikethrough", "iTextstylestaticFontcolor", "iTextstylestaticSize"] + __properties: ClassVar[List[str]] = ["pkiTextstylestaticID", "fkiFontID", "sFontName", "bTextstylestaticBold", "bTextstylestaticUnderline", "bTextstylestaticItalic", "bTextstylestaticStrikethrough", "iTextstylestaticFontcolor", "iTextstylestaticSize"] + + @field_validator('s_font_name') + def s_font_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value model_config = ConfigDict( populate_by_name=True, @@ -91,6 +99,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiTextstylestaticID": obj.get("pkiTextstylestaticID"), "fkiFontID": obj.get("fkiFontID"), + "sFontName": obj.get("sFontName"), "bTextstylestaticBold": obj.get("bTextstylestaticBold"), "bTextstylestaticUnderline": obj.get("bTextstylestaticUnderline"), "bTextstylestaticItalic": obj.get("bTextstylestaticItalic"), diff --git a/eZmaxApi/models/timezone_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/timezone_get_autocomplete_v2_response_m_payload.py index 5171ef2f8..ee9fef083 100644 --- a/eZmaxApi/models/timezone_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/timezone_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_timezone (list) _items = [] if self.a_obj_timezone: - for _item in self.a_obj_timezone: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_timezone in self.a_obj_timezone: + if _item_a_obj_timezone: + _items.append(_item_a_obj_timezone.to_dict()) _dict['a_objTimezone'] = _items return _dict diff --git a/eZmaxApi/models/tranqcontract_get_communication_count_v1_response.py b/eZmaxApi/models/tranqcontract_get_communication_count_v1_response.py new file mode 100644 index 000000000..94120aa38 --- /dev/null +++ b/eZmaxApi/models/tranqcontract_get_communication_count_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response_m_payload import TranqcontractGetCommunicationCountV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class TranqcontractGetCommunicationCountV1Response(BaseModel): + """ + Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCount + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: TranqcontractGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationCountV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationCountV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": TranqcontractGetCommunicationCountV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/tranqcontract_get_communication_count_v1_response_m_payload.py b/eZmaxApi/models/tranqcontract_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..1291b2a2d --- /dev/null +++ b/eZmaxApi/models/tranqcontract_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class TranqcontractGetCommunicationCountV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCount + """ # noqa: E501 + i_communication_count: StrictInt = Field(description="The count of Communication.", alias="iCommunicationCount") + __properties: ClassVar[List[str]] = ["iCommunicationCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationCountV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationCountV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iCommunicationCount": obj.get("iCommunicationCount") + }) + return _obj + + diff --git a/eZmaxApi/models/tranqcontract_get_communication_list_v1_response.py b/eZmaxApi/models/tranqcontract_get_communication_list_v1_response.py new file mode 100644 index 000000000..a7a860e71 --- /dev/null +++ b/eZmaxApi/models/tranqcontract_get_communication_list_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload import TranqcontractGetCommunicationListV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class TranqcontractGetCommunicationListV1Response(BaseModel): + """ + Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationList + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: TranqcontractGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayloadGetList.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": TranqcontractGetCommunicationListV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/tranqcontract_get_communication_list_v1_response_m_payload.py b/eZmaxApi/models/tranqcontract_get_communication_list_v1_response_m_payload.py new file mode 100644 index 000000000..30d039518 --- /dev/null +++ b/eZmaxApi/models/tranqcontract_get_communication_list_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse +from typing import Optional, Set +from typing_extensions import Self + +class TranqcontractGetCommunicationListV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationList + """ # noqa: E501 + a_obj_communication: List[CustomCommunicationListElementResponse] = Field(alias="a_objCommunication") + __properties: ClassVar[List[str]] = ["a_objCommunication"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communication (list) + _items = [] + if self.a_obj_communication: + for _item_a_obj_communication in self.a_obj_communication: + if _item_a_obj_communication: + _items.append(_item_a_obj_communication.to_dict()) + _dict['a_objCommunication'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunication": [CustomCommunicationListElementResponse.from_dict(_item) for _item in obj["a_objCommunication"]] if obj.get("a_objCommunication") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response.py b/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..e433c9b2e --- /dev/null +++ b/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response_m_payload import TranqcontractGetCommunicationrecipientsV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class TranqcontractGetCommunicationrecipientsV1Response(BaseModel): + """ + Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: TranqcontractGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationrecipientsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationrecipientsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": TranqcontractGetCommunicationrecipientsV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..57d7d52f1 --- /dev/null +++ b/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse +from typing import Optional, Set +from typing_extensions import Self + +class TranqcontractGetCommunicationrecipientsV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients + """ # noqa: E501 + a_obj_communicationrecipientsgroup: List[CustomCommunicationrecipientsgroupResponse] = Field(alias="a_objCommunicationrecipientsgroup") + __properties: ClassVar[List[str]] = ["a_objCommunicationrecipientsgroup"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationrecipientsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationrecipientsgroup (list) + _items = [] + if self.a_obj_communicationrecipientsgroup: + for _item_a_obj_communicationrecipientsgroup in self.a_obj_communicationrecipientsgroup: + if _item_a_obj_communicationrecipientsgroup: + _items.append(_item_a_obj_communicationrecipientsgroup.to_dict()) + _dict['a_objCommunicationrecipientsgroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationrecipientsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationrecipientsgroup": [CustomCommunicationrecipientsgroupResponse.from_dict(_item) for _item in obj["a_objCommunicationrecipientsgroup"]] if obj.get("a_objCommunicationrecipientsgroup") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response.py b/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..a5d02ce8d --- /dev/null +++ b/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response_m_payload import TranqcontractGetCommunicationsendersV1ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class TranqcontractGetCommunicationsendersV1Response(BaseModel): + """ + Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: TranqcontractGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationsendersV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationsendersV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": TranqcontractGetCommunicationsendersV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..8dcdf9da4 --- /dev/null +++ b/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse +from typing import Optional, Set +from typing_extensions import Self + +class TranqcontractGetCommunicationsendersV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationsenders + """ # noqa: E501 + a_obj_communicationsenders: List[CustomCommunicationsenderResponse] = Field(alias="a_objCommunicationsenders") + __properties: ClassVar[List[str]] = ["a_objCommunicationsenders"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationsendersV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_communicationsenders (list) + _items = [] + if self.a_obj_communicationsenders: + for _item_a_obj_communicationsenders in self.a_obj_communicationsenders: + if _item_a_obj_communicationsenders: + _items.append(_item_a_obj_communicationsenders.to_dict()) + _dict['a_objCommunicationsenders'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TranqcontractGetCommunicationsendersV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objCommunicationsenders": [CustomCommunicationsenderResponse.from_dict(_item) for _item in obj["a_objCommunicationsenders"]] if obj.get("a_objCommunicationsenders") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/user_create_object_v1_request.py b/eZmaxApi/models/user_create_object_v1_request.py index c514dc66b..8f80f9637 100644 --- a/eZmaxApi/models/user_create_object_v1_request.py +++ b/eZmaxApi/models/user_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_user (list) _items = [] if self.a_obj_user: - for _item in self.a_obj_user: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_user in self.a_obj_user: + if _item_a_obj_user: + _items.append(_item_a_obj_user.to_dict()) _dict['a_objUser'] = _items return _dict diff --git a/eZmaxApi/models/user_create_object_v2_request.py b/eZmaxApi/models/user_create_object_v2_request.py index 418bebeec..2f883f87d 100644 --- a/eZmaxApi/models/user_create_object_v2_request.py +++ b/eZmaxApi/models/user_create_object_v2_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_user (list) _items = [] if self.a_obj_user: - for _item in self.a_obj_user: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_user in self.a_obj_user: + if _item_a_obj_user: + _items.append(_item_a_obj_user.to_dict()) _dict['a_objUser'] = _items return _dict diff --git a/eZmaxApi/models/user_edit_colleagues_v2_request.py b/eZmaxApi/models/user_edit_colleagues_v2_request.py new file mode 100644 index 000000000..1b3189211 --- /dev/null +++ b/eZmaxApi/models/user_edit_colleagues_v2_request.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.colleague_request_compound_v2 import ColleagueRequestCompoundV2 +from typing import Optional, Set +from typing_extensions import Self + +class UserEditColleaguesV2Request(BaseModel): + """ + Request for PUT /2/object/user/{pkiUserID}/editColleagues + """ # noqa: E501 + a_obj_colleague: List[ColleagueRequestCompoundV2] = Field(alias="a_objColleague") + __properties: ClassVar[List[str]] = ["a_objColleague"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserEditColleaguesV2Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_colleague (list) + _items = [] + if self.a_obj_colleague: + for _item_a_obj_colleague in self.a_obj_colleague: + if _item_a_obj_colleague: + _items.append(_item_a_obj_colleague.to_dict()) + _dict['a_objColleague'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserEditColleaguesV2Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objColleague": [ColleagueRequestCompoundV2.from_dict(_item) for _item in obj["a_objColleague"]] if obj.get("a_objColleague") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/user_edit_colleagues_v2_response.py b/eZmaxApi/models/user_edit_colleagues_v2_response.py new file mode 100644 index 000000000..4baa62d57 --- /dev/null +++ b/eZmaxApi/models/user_edit_colleagues_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.user_edit_colleagues_v2_response_m_payload import UserEditColleaguesV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class UserEditColleaguesV2Response(BaseModel): + """ + Response for PUT /2/object/user/{pkiUserID}/editColleagues + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: UserEditColleaguesV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserEditColleaguesV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserEditColleaguesV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": UserEditColleaguesV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/user_edit_colleagues_v2_response_m_payload.py b/eZmaxApi/models/user_edit_colleagues_v2_response_m_payload.py new file mode 100644 index 000000000..e7aaadb2c --- /dev/null +++ b/eZmaxApi/models/user_edit_colleagues_v2_response_m_payload.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class UserEditColleaguesV2ResponseMPayload(BaseModel): + """ + Payload for PUT /2/object/user/{pkiUserID}/editColleagues + """ # noqa: E501 + a_pki_colleague_id: List[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(alias="a_pkiColleagueID") + __properties: ClassVar[List[str]] = ["a_pkiColleagueID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserEditColleaguesV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserEditColleaguesV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_pkiColleagueID": obj.get("a_pkiColleagueID") + }) + return _obj + + diff --git a/eZmaxApi/models/user_edit_permissions_v1_request.py b/eZmaxApi/models/user_edit_permissions_v1_request.py index 623d36d57..160226d91 100644 --- a/eZmaxApi/models/user_edit_permissions_v1_request.py +++ b/eZmaxApi/models/user_edit_permissions_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_permission (list) _items = [] if self.a_obj_permission: - for _item in self.a_obj_permission: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_permission in self.a_obj_permission: + if _item_a_obj_permission: + _items.append(_item_a_obj_permission.to_dict()) _dict['a_objPermission'] = _items return _dict diff --git a/eZmaxApi/models/user_get_apikeys_v1_response_m_payload.py b/eZmaxApi/models/user_get_apikeys_v1_response_m_payload.py index efc510f77..cce90694e 100644 --- a/eZmaxApi/models/user_get_apikeys_v1_response_m_payload.py +++ b/eZmaxApi/models/user_get_apikeys_v1_response_m_payload.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_apikey (list) _items = [] if self.a_obj_apikey: - for _item in self.a_obj_apikey: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_apikey in self.a_obj_apikey: + if _item_a_obj_apikey: + _items.append(_item_a_obj_apikey.to_dict()) _dict['a_objApikey'] = _items return _dict diff --git a/eZmaxApi/models/user_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/user_get_autocomplete_v2_response_m_payload.py index 6d599e3b5..644363db9 100644 --- a/eZmaxApi/models/user_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/user_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_user (list) _items = [] if self.a_obj_user: - for _item in self.a_obj_user: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_user in self.a_obj_user: + if _item_a_obj_user: + _items.append(_item_a_obj_user.to_dict()) _dict['a_objUser'] = _items return _dict diff --git a/eZmaxApi/models/user_get_colleagues_v2_response.py b/eZmaxApi/models/user_get_colleagues_v2_response.py new file mode 100644 index 000000000..9c63cdf9c --- /dev/null +++ b/eZmaxApi/models/user_get_colleagues_v2_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.user_get_colleagues_v2_response_m_payload import UserGetColleaguesV2ResponseMPayload +from typing import Optional, Set +from typing_extensions import Self + +class UserGetColleaguesV2Response(BaseModel): + """ + Response for GET /2/object/user/{pkiUserID}/getColleagues + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: UserGetColleaguesV2ResponseMPayload = Field(alias="mPayload") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGetColleaguesV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGetColleaguesV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, + "mPayload": UserGetColleaguesV2ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/user_get_colleagues_v2_response_m_payload.py b/eZmaxApi/models/user_get_colleagues_v2_response_m_payload.py new file mode 100644 index 000000000..0a9901447 --- /dev/null +++ b/eZmaxApi/models/user_get_colleagues_v2_response_m_payload.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.colleague_response_compound_v2 import ColleagueResponseCompoundV2 +from typing import Optional, Set +from typing_extensions import Self + +class UserGetColleaguesV2ResponseMPayload(BaseModel): + """ + Response for GET /2/object/user/{pkiUserID}/getColleagues + """ # noqa: E501 + a_obj_colleague: List[ColleagueResponseCompoundV2] = Field(alias="a_objColleague") + a_obj_colleague_clonable: List[ColleagueResponseCompoundV2] = Field(alias="a_objColleagueClonable") + __properties: ClassVar[List[str]] = ["a_objColleague", "a_objColleagueClonable"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGetColleaguesV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_colleague (list) + _items = [] + if self.a_obj_colleague: + for _item_a_obj_colleague in self.a_obj_colleague: + if _item_a_obj_colleague: + _items.append(_item_a_obj_colleague.to_dict()) + _dict['a_objColleague'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_colleague_clonable (list) + _items = [] + if self.a_obj_colleague_clonable: + for _item_a_obj_colleague_clonable in self.a_obj_colleague_clonable: + if _item_a_obj_colleague_clonable: + _items.append(_item_a_obj_colleague_clonable.to_dict()) + _dict['a_objColleagueClonable'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGetColleaguesV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "a_objColleague": [ColleagueResponseCompoundV2.from_dict(_item) for _item in obj["a_objColleague"]] if obj.get("a_objColleague") is not None else None, + "a_objColleagueClonable": [ColleagueResponseCompoundV2.from_dict(_item) for _item in obj["a_objColleagueClonable"]] if obj.get("a_objColleagueClonable") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/user_get_effective_permissions_v1_response_m_payload.py b/eZmaxApi/models/user_get_effective_permissions_v1_response_m_payload.py index 1605550e9..1bd5ed443 100644 --- a/eZmaxApi/models/user_get_effective_permissions_v1_response_m_payload.py +++ b/eZmaxApi/models/user_get_effective_permissions_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_modulegroup (list) _items = [] if self.a_obj_modulegroup: - for _item in self.a_obj_modulegroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_modulegroup in self.a_obj_modulegroup: + if _item_a_obj_modulegroup: + _items.append(_item_a_obj_modulegroup.to_dict()) _dict['a_objModulegroup'] = _items return _dict diff --git a/eZmaxApi/models/user_get_list_v1_response_m_payload.py b/eZmaxApi/models/user_get_list_v1_response_m_payload.py index e20e19388..f951ddf78 100644 --- a/eZmaxApi/models/user_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/user_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_user (list) _items = [] if self.a_obj_user: - for _item in self.a_obj_user: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_user in self.a_obj_user: + if _item_a_obj_user: + _items.append(_item_a_obj_user.to_dict()) _dict['a_objUser'] = _items return _dict diff --git a/eZmaxApi/models/user_get_permissions_v1_response_m_payload.py b/eZmaxApi/models/user_get_permissions_v1_response_m_payload.py index f01fba74e..acd2679ba 100644 --- a/eZmaxApi/models/user_get_permissions_v1_response_m_payload.py +++ b/eZmaxApi/models/user_get_permissions_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_modulegroup (list) _items = [] if self.a_obj_modulegroup: - for _item in self.a_obj_modulegroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_modulegroup in self.a_obj_modulegroup: + if _item_a_obj_modulegroup: + _items.append(_item_a_obj_modulegroup.to_dict()) _dict['a_objModulegroup'] = _items return _dict diff --git a/eZmaxApi/models/user_get_subnets_v1_response_m_payload.py b/eZmaxApi/models/user_get_subnets_v1_response_m_payload.py index 1804b85d4..6dbb9c66e 100644 --- a/eZmaxApi/models/user_get_subnets_v1_response_m_payload.py +++ b/eZmaxApi/models/user_get_subnets_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_subnet (list) _items = [] if self.a_obj_subnet: - for _item in self.a_obj_subnet: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_subnet in self.a_obj_subnet: + if _item_a_obj_subnet: + _items.append(_item_a_obj_subnet.to_dict()) _dict['a_objSubnet'] = _items return _dict diff --git a/eZmaxApi/models/user_get_usergroupexternals_v1_response_m_payload.py b/eZmaxApi/models/user_get_usergroupexternals_v1_response_m_payload.py index 3faabc04d..dde6c64f0 100644 --- a/eZmaxApi/models/user_get_usergroupexternals_v1_response_m_payload.py +++ b/eZmaxApi/models/user_get_usergroupexternals_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupexternal (list) _items = [] if self.a_obj_usergroupexternal: - for _item in self.a_obj_usergroupexternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupexternal in self.a_obj_usergroupexternal: + if _item_a_obj_usergroupexternal: + _items.append(_item_a_obj_usergroupexternal.to_dict()) _dict['a_objUsergroupexternal'] = _items return _dict diff --git a/eZmaxApi/models/user_get_usergroups_v1_response_m_payload.py b/eZmaxApi/models/user_get_usergroups_v1_response_m_payload.py index e55d2955c..1c7bc3d75 100644 --- a/eZmaxApi/models/user_get_usergroups_v1_response_m_payload.py +++ b/eZmaxApi/models/user_get_usergroups_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup (list) _items = [] if self.a_obj_usergroup: - for _item in self.a_obj_usergroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroup in self.a_obj_usergroup: + if _item_a_obj_usergroup: + _items.append(_item_a_obj_usergroup.to_dict()) _dict['a_objUsergroup'] = _items return _dict diff --git a/eZmaxApi/models/usergroup_create_object_v1_request.py b/eZmaxApi/models/usergroup_create_object_v1_request.py index cd865661f..adb45c726 100644 --- a/eZmaxApi/models/usergroup_create_object_v1_request.py +++ b/eZmaxApi/models/usergroup_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup (list) _items = [] if self.a_obj_usergroup: - for _item in self.a_obj_usergroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroup in self.a_obj_usergroup: + if _item_a_obj_usergroup: + _items.append(_item_a_obj_usergroup.to_dict()) _dict['a_objUsergroup'] = _items return _dict diff --git a/eZmaxApi/models/usergroup_edit_permissions_v1_request.py b/eZmaxApi/models/usergroup_edit_permissions_v1_request.py index 69c5924f2..6a6d61e13 100644 --- a/eZmaxApi/models/usergroup_edit_permissions_v1_request.py +++ b/eZmaxApi/models/usergroup_edit_permissions_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_permission (list) _items = [] if self.a_obj_permission: - for _item in self.a_obj_permission: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_permission in self.a_obj_permission: + if _item_a_obj_permission: + _items.append(_item_a_obj_permission.to_dict()) _dict['a_objPermission'] = _items return _dict diff --git a/eZmaxApi/models/usergroup_edit_usergroupdelegations_v1_request.py b/eZmaxApi/models/usergroup_edit_usergroupdelegations_v1_request.py index bde70a73b..46fdd23c5 100644 --- a/eZmaxApi/models/usergroup_edit_usergroupdelegations_v1_request.py +++ b/eZmaxApi/models/usergroup_edit_usergroupdelegations_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupdelegation (list) _items = [] if self.a_obj_usergroupdelegation: - for _item in self.a_obj_usergroupdelegation: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupdelegation in self.a_obj_usergroupdelegation: + if _item_a_obj_usergroupdelegation: + _items.append(_item_a_obj_usergroupdelegation.to_dict()) _dict['a_objUsergroupdelegation'] = _items return _dict diff --git a/eZmaxApi/models/usergroup_edit_usergroupmemberships_v1_request.py b/eZmaxApi/models/usergroup_edit_usergroupmemberships_v1_request.py index e2b7646df..e33784afa 100644 --- a/eZmaxApi/models/usergroup_edit_usergroupmemberships_v1_request.py +++ b/eZmaxApi/models/usergroup_edit_usergroupmemberships_v1_request.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupmembership (list) _items = [] if self.a_obj_usergroupmembership: - for _item in self.a_obj_usergroupmembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupmembership in self.a_obj_usergroupmembership: + if _item_a_obj_usergroupmembership: + _items.append(_item_a_obj_usergroupmembership.to_dict()) _dict['a_objUsergroupmembership'] = _items return _dict diff --git a/eZmaxApi/models/usergroup_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/usergroup_get_autocomplete_v2_response_m_payload.py index 5d7664a1f..43a470c2e 100644 --- a/eZmaxApi/models/usergroup_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/usergroup_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup (list) _items = [] if self.a_obj_usergroup: - for _item in self.a_obj_usergroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroup in self.a_obj_usergroup: + if _item_a_obj_usergroup: + _items.append(_item_a_obj_usergroup.to_dict()) _dict['a_objUsergroup'] = _items return _dict diff --git a/eZmaxApi/models/usergroup_get_list_v1_response_m_payload.py b/eZmaxApi/models/usergroup_get_list_v1_response_m_payload.py index d51287bf4..1c0505fe3 100644 --- a/eZmaxApi/models/usergroup_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroup_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup (list) _items = [] if self.a_obj_usergroup: - for _item in self.a_obj_usergroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroup in self.a_obj_usergroup: + if _item_a_obj_usergroup: + _items.append(_item_a_obj_usergroup.to_dict()) _dict['a_objUsergroup'] = _items return _dict diff --git a/eZmaxApi/models/usergroup_get_permissions_v1_response_m_payload.py b/eZmaxApi/models/usergroup_get_permissions_v1_response_m_payload.py index f4bf209ef..a6cc59ac4 100644 --- a/eZmaxApi/models/usergroup_get_permissions_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroup_get_permissions_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_modulegroup (list) _items = [] if self.a_obj_modulegroup: - for _item in self.a_obj_modulegroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_modulegroup in self.a_obj_modulegroup: + if _item_a_obj_modulegroup: + _items.append(_item_a_obj_modulegroup.to_dict()) _dict['a_objModulegroup'] = _items return _dict diff --git a/eZmaxApi/models/usergroup_get_usergroupdelegations_v1_response_m_payload.py b/eZmaxApi/models/usergroup_get_usergroupdelegations_v1_response_m_payload.py index 30dcbcca5..4d2a331b2 100644 --- a/eZmaxApi/models/usergroup_get_usergroupdelegations_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroup_get_usergroupdelegations_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupdelegation (list) _items = [] if self.a_obj_usergroupdelegation: - for _item in self.a_obj_usergroupdelegation: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupdelegation in self.a_obj_usergroupdelegation: + if _item_a_obj_usergroupdelegation: + _items.append(_item_a_obj_usergroupdelegation.to_dict()) _dict['a_objUsergroupdelegation'] = _items return _dict diff --git a/eZmaxApi/models/usergroup_get_usergroupmemberships_v1_response_m_payload.py b/eZmaxApi/models/usergroup_get_usergroupmemberships_v1_response_m_payload.py index fd8d2629e..e2df0c107 100644 --- a/eZmaxApi/models/usergroup_get_usergroupmemberships_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroup_get_usergroupmemberships_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupmembership (list) _items = [] if self.a_obj_usergroupmembership: - for _item in self.a_obj_usergroupmembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupmembership in self.a_obj_usergroupmembership: + if _item_a_obj_usergroupmembership: + _items.append(_item_a_obj_usergroupmembership.to_dict()) _dict['a_objUsergroupmembership'] = _items return _dict diff --git a/eZmaxApi/models/usergroup_request.py b/eZmaxApi/models/usergroup_request.py index 9cf5f7196..165ff2601 100644 --- a/eZmaxApi/models/usergroup_request.py +++ b/eZmaxApi/models/usergroup_request.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.email_request import EmailRequest from eZmaxApi.models.multilingual_usergroup_name import MultilingualUsergroupName from typing import Optional, Set from typing_extensions import Self @@ -30,8 +31,9 @@ class UsergroupRequest(BaseModel): A Usergroup Object """ # noqa: E501 pki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="pkiUsergroupID") + obj_email: Optional[EmailRequest] = Field(default=None, alias="objEmail") obj_usergroup_name: MultilingualUsergroupName = Field(alias="objUsergroupName") - __properties: ClassVar[List[str]] = ["pkiUsergroupID", "objUsergroupName"] + __properties: ClassVar[List[str]] = ["pkiUsergroupID", "objEmail", "objUsergroupName"] model_config = ConfigDict( populate_by_name=True, @@ -72,6 +74,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_email + if self.obj_email: + _dict['objEmail'] = self.obj_email.to_dict() # override the default output from pydantic by calling `to_dict()` of obj_usergroup_name if self.obj_usergroup_name: _dict['objUsergroupName'] = self.obj_usergroup_name.to_dict() @@ -88,6 +93,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiUsergroupID": obj.get("pkiUsergroupID"), + "objEmail": EmailRequest.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, "objUsergroupName": MultilingualUsergroupName.from_dict(obj["objUsergroupName"]) if obj.get("objUsergroupName") is not None else None }) return _obj diff --git a/eZmaxApi/models/usergroup_request_compound.py b/eZmaxApi/models/usergroup_request_compound.py index c11d9612d..c169d25a7 100644 --- a/eZmaxApi/models/usergroup_request_compound.py +++ b/eZmaxApi/models/usergroup_request_compound.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.email_request import EmailRequest from eZmaxApi.models.multilingual_usergroup_name import MultilingualUsergroupName from typing import Optional, Set from typing_extensions import Self @@ -30,8 +31,9 @@ class UsergroupRequestCompound(BaseModel): A Usergroup Object and children """ # noqa: E501 pki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="pkiUsergroupID") + obj_email: Optional[EmailRequest] = Field(default=None, alias="objEmail") obj_usergroup_name: MultilingualUsergroupName = Field(alias="objUsergroupName") - __properties: ClassVar[List[str]] = ["pkiUsergroupID", "objUsergroupName"] + __properties: ClassVar[List[str]] = ["pkiUsergroupID", "objEmail", "objUsergroupName"] model_config = ConfigDict( populate_by_name=True, @@ -72,6 +74,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_email + if self.obj_email: + _dict['objEmail'] = self.obj_email.to_dict() # override the default output from pydantic by calling `to_dict()` of obj_usergroup_name if self.obj_usergroup_name: _dict['objUsergroupName'] = self.obj_usergroup_name.to_dict() @@ -88,6 +93,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiUsergroupID": obj.get("pkiUsergroupID"), + "objEmail": EmailRequest.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, "objUsergroupName": MultilingualUsergroupName.from_dict(obj["objUsergroupName"]) if obj.get("objUsergroupName") is not None else None }) return _obj diff --git a/eZmaxApi/models/usergroup_response.py b/eZmaxApi/models/usergroup_response.py index cd03c91cd..33db7c551 100644 --- a/eZmaxApi/models/usergroup_response.py +++ b/eZmaxApi/models/usergroup_response.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.email_request import EmailRequest from eZmaxApi.models.multilingual_usergroup_name import MultilingualUsergroupName from typing import Optional, Set from typing_extensions import Self @@ -32,7 +33,8 @@ class UsergroupResponse(BaseModel): pki_usergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Usergroup", alias="pkiUsergroupID") obj_usergroup_name: MultilingualUsergroupName = Field(alias="objUsergroupName") s_usergroup_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") - __properties: ClassVar[List[str]] = ["pkiUsergroupID", "objUsergroupName", "sUsergroupNameX"] + obj_email: Optional[EmailRequest] = Field(default=None, alias="objEmail") + __properties: ClassVar[List[str]] = ["pkiUsergroupID", "objUsergroupName", "sUsergroupNameX", "objEmail"] @field_validator('s_usergroup_name_x') def s_usergroup_name_x_validate_regular_expression(cls, value): @@ -86,6 +88,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of obj_usergroup_name if self.obj_usergroup_name: _dict['objUsergroupName'] = self.obj_usergroup_name.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_email + if self.obj_email: + _dict['objEmail'] = self.obj_email.to_dict() return _dict @classmethod @@ -100,7 +105,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiUsergroupID": obj.get("pkiUsergroupID"), "objUsergroupName": MultilingualUsergroupName.from_dict(obj["objUsergroupName"]) if obj.get("objUsergroupName") is not None else None, - "sUsergroupNameX": obj.get("sUsergroupNameX") + "sUsergroupNameX": obj.get("sUsergroupNameX"), + "objEmail": EmailRequest.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None }) return _obj diff --git a/eZmaxApi/models/usergroup_response_compound.py b/eZmaxApi/models/usergroup_response_compound.py index 78983ef13..f1a73c847 100644 --- a/eZmaxApi/models/usergroup_response_compound.py +++ b/eZmaxApi/models/usergroup_response_compound.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.email_request import EmailRequest from eZmaxApi.models.multilingual_usergroup_name import MultilingualUsergroupName from typing import Optional, Set from typing_extensions import Self @@ -32,7 +33,8 @@ class UsergroupResponseCompound(BaseModel): pki_usergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Usergroup", alias="pkiUsergroupID") obj_usergroup_name: MultilingualUsergroupName = Field(alias="objUsergroupName") s_usergroup_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") - __properties: ClassVar[List[str]] = ["pkiUsergroupID", "objUsergroupName", "sUsergroupNameX"] + obj_email: Optional[EmailRequest] = Field(default=None, alias="objEmail") + __properties: ClassVar[List[str]] = ["pkiUsergroupID", "objUsergroupName", "sUsergroupNameX", "objEmail"] @field_validator('s_usergroup_name_x') def s_usergroup_name_x_validate_regular_expression(cls, value): @@ -86,6 +88,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of obj_usergroup_name if self.obj_usergroup_name: _dict['objUsergroupName'] = self.obj_usergroup_name.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_email + if self.obj_email: + _dict['objEmail'] = self.obj_email.to_dict() return _dict @classmethod @@ -100,7 +105,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiUsergroupID": obj.get("pkiUsergroupID"), "objUsergroupName": MultilingualUsergroupName.from_dict(obj["objUsergroupName"]) if obj.get("objUsergroupName") is not None else None, - "sUsergroupNameX": obj.get("sUsergroupNameX") + "sUsergroupNameX": obj.get("sUsergroupNameX"), + "objEmail": EmailRequest.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None }) return _obj diff --git a/eZmaxApi/models/usergroupdelegation_create_object_v1_request.py b/eZmaxApi/models/usergroupdelegation_create_object_v1_request.py index 6c0d40072..46aa0fb3d 100644 --- a/eZmaxApi/models/usergroupdelegation_create_object_v1_request.py +++ b/eZmaxApi/models/usergroupdelegation_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupdelegation (list) _items = [] if self.a_obj_usergroupdelegation: - for _item in self.a_obj_usergroupdelegation: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupdelegation in self.a_obj_usergroupdelegation: + if _item_a_obj_usergroupdelegation: + _items.append(_item_a_obj_usergroupdelegation.to_dict()) _dict['a_objUsergroupdelegation'] = _items return _dict diff --git a/eZmaxApi/models/usergroupexternal_create_object_v1_request.py b/eZmaxApi/models/usergroupexternal_create_object_v1_request.py index f65571223..0fee8b046 100644 --- a/eZmaxApi/models/usergroupexternal_create_object_v1_request.py +++ b/eZmaxApi/models/usergroupexternal_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupexternal (list) _items = [] if self.a_obj_usergroupexternal: - for _item in self.a_obj_usergroupexternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupexternal in self.a_obj_usergroupexternal: + if _item_a_obj_usergroupexternal: + _items.append(_item_a_obj_usergroupexternal.to_dict()) _dict['a_objUsergroupexternal'] = _items return _dict diff --git a/eZmaxApi/models/usergroupexternal_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/usergroupexternal_get_autocomplete_v2_response_m_payload.py index 3c2aef055..e3951554e 100644 --- a/eZmaxApi/models/usergroupexternal_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/usergroupexternal_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupexternal (list) _items = [] if self.a_obj_usergroupexternal: - for _item in self.a_obj_usergroupexternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupexternal in self.a_obj_usergroupexternal: + if _item_a_obj_usergroupexternal: + _items.append(_item_a_obj_usergroupexternal.to_dict()) _dict['a_objUsergroupexternal'] = _items return _dict diff --git a/eZmaxApi/models/usergroupexternal_get_list_v1_response_m_payload.py b/eZmaxApi/models/usergroupexternal_get_list_v1_response_m_payload.py index b46823ec5..9837cb2f8 100644 --- a/eZmaxApi/models/usergroupexternal_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroupexternal_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupexternal (list) _items = [] if self.a_obj_usergroupexternal: - for _item in self.a_obj_usergroupexternal: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupexternal in self.a_obj_usergroupexternal: + if _item_a_obj_usergroupexternal: + _items.append(_item_a_obj_usergroupexternal.to_dict()) _dict['a_objUsergroupexternal'] = _items return _dict diff --git a/eZmaxApi/models/usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.py b/eZmaxApi/models/usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.py index 232aa3a3a..2cb4d4c8b 100644 --- a/eZmaxApi/models/usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupexternalmembership (list) _items = [] if self.a_obj_usergroupexternalmembership: - for _item in self.a_obj_usergroupexternalmembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupexternalmembership in self.a_obj_usergroupexternalmembership: + if _item_a_obj_usergroupexternalmembership: + _items.append(_item_a_obj_usergroupexternalmembership.to_dict()) _dict['a_objUsergroupexternalmembership'] = _items return _dict diff --git a/eZmaxApi/models/usergroupexternal_get_usergroups_v1_response_m_payload.py b/eZmaxApi/models/usergroupexternal_get_usergroups_v1_response_m_payload.py index 32601b7fd..1624a9c87 100644 --- a/eZmaxApi/models/usergroupexternal_get_usergroups_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroupexternal_get_usergroups_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroup (list) _items = [] if self.a_obj_usergroup: - for _item in self.a_obj_usergroup: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroup in self.a_obj_usergroup: + if _item_a_obj_usergroup: + _items.append(_item_a_obj_usergroup.to_dict()) _dict['a_objUsergroup'] = _items return _dict diff --git a/eZmaxApi/models/usergroupmembership_create_object_v1_request.py b/eZmaxApi/models/usergroupmembership_create_object_v1_request.py index e85d64c85..6e91b1d3e 100644 --- a/eZmaxApi/models/usergroupmembership_create_object_v1_request.py +++ b/eZmaxApi/models/usergroupmembership_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_usergroupmembership (list) _items = [] if self.a_obj_usergroupmembership: - for _item in self.a_obj_usergroupmembership: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_usergroupmembership in self.a_obj_usergroupmembership: + if _item_a_obj_usergroupmembership: + _items.append(_item_a_obj_usergroupmembership.to_dict()) _dict['a_objUsergroupmembership'] = _items return _dict diff --git a/eZmaxApi/models/userlogintype_autocomplete_element_response.py b/eZmaxApi/models/userlogintype_autocomplete_element_response.py index e374530ab..ee9804b40 100644 --- a/eZmaxApi/models/userlogintype_autocomplete_element_response.py +++ b/eZmaxApi/models/userlogintype_autocomplete_element_response.py @@ -28,7 +28,7 @@ class UserlogintypeAutocompleteElementResponse(BaseModel): """ A Userlogintype AutocompleteElement Response """ # noqa: E501 - pki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**|", alias="pkiUserlogintypeID") + pki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="pkiUserlogintypeID") s_userlogintype_description_x: StrictStr = Field(description="The description of the Userlogintype in the language of the requester", alias="sUserlogintypeDescriptionX") b_userlogintype_isactive: StrictBool = Field(description="Whether the Userlogintype is active or not", alias="bUserlogintypeIsactive") __properties: ClassVar[List[str]] = ["pkiUserlogintypeID", "sUserlogintypeDescriptionX", "bUserlogintypeIsactive"] diff --git a/eZmaxApi/models/userlogintype_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/userlogintype_get_autocomplete_v2_response_m_payload.py index 13aafc564..18845822b 100644 --- a/eZmaxApi/models/userlogintype_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/userlogintype_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_userlogintype (list) _items = [] if self.a_obj_userlogintype: - for _item in self.a_obj_userlogintype: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_userlogintype in self.a_obj_userlogintype: + if _item_a_obj_userlogintype: + _items.append(_item_a_obj_userlogintype.to_dict()) _dict['a_objUserlogintype'] = _items return _dict diff --git a/eZmaxApi/models/userlogintype_response.py b/eZmaxApi/models/userlogintype_response.py index 4ad0d355e..974930567 100644 --- a/eZmaxApi/models/userlogintype_response.py +++ b/eZmaxApi/models/userlogintype_response.py @@ -29,7 +29,7 @@ class UserlogintypeResponse(BaseModel): """ An Userlogintype Object """ # noqa: E501 - pki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**|", alias="pkiUserlogintypeID") + pki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="pkiUserlogintypeID") obj_userlogintype_description: MultilingualUserlogintypeDescription = Field(alias="objUserlogintypeDescription") s_userlogintype_description_x: StrictStr = Field(description="The description of the Userlogintype in the language of the requester", alias="sUserlogintypeDescriptionX") __properties: ClassVar[List[str]] = ["pkiUserlogintypeID", "objUserlogintypeDescription", "sUserlogintypeDescriptionX"] diff --git a/eZmaxApi/models/userstaged_get_list_v1_response_m_payload.py b/eZmaxApi/models/userstaged_get_list_v1_response_m_payload.py index 055cdd555..ba840c634 100644 --- a/eZmaxApi/models/userstaged_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/userstaged_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_userstaged (list) _items = [] if self.a_obj_userstaged: - for _item in self.a_obj_userstaged: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_userstaged in self.a_obj_userstaged: + if _item_a_obj_userstaged: + _items.append(_item_a_obj_userstaged.to_dict()) _dict['a_objUserstaged'] = _items return _dict diff --git a/eZmaxApi/models/variableexpense_create_object_v1_request.py b/eZmaxApi/models/variableexpense_create_object_v1_request.py index 13b0719fe..74296b9d9 100644 --- a/eZmaxApi/models/variableexpense_create_object_v1_request.py +++ b/eZmaxApi/models/variableexpense_create_object_v1_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_variableexpense (list) _items = [] if self.a_obj_variableexpense: - for _item in self.a_obj_variableexpense: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_variableexpense in self.a_obj_variableexpense: + if _item_a_obj_variableexpense: + _items.append(_item_a_obj_variableexpense.to_dict()) _dict['a_objVariableexpense'] = _items return _dict diff --git a/eZmaxApi/models/variableexpense_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/variableexpense_get_autocomplete_v2_response_m_payload.py index cad9d5c36..b32666361 100644 --- a/eZmaxApi/models/variableexpense_get_autocomplete_v2_response_m_payload.py +++ b/eZmaxApi/models/variableexpense_get_autocomplete_v2_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_variableexpense (list) _items = [] if self.a_obj_variableexpense: - for _item in self.a_obj_variableexpense: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_variableexpense in self.a_obj_variableexpense: + if _item_a_obj_variableexpense: + _items.append(_item_a_obj_variableexpense.to_dict()) _dict['a_objVariableexpense'] = _items return _dict diff --git a/eZmaxApi/models/variableexpense_get_list_v1_response_m_payload.py b/eZmaxApi/models/variableexpense_get_list_v1_response_m_payload.py index d38b82bf1..a929d9025 100644 --- a/eZmaxApi/models/variableexpense_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/variableexpense_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_variableexpense (list) _items = [] if self.a_obj_variableexpense: - for _item in self.a_obj_variableexpense: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_variableexpense in self.a_obj_variableexpense: + if _item_a_obj_variableexpense: + _items.append(_item_a_obj_variableexpense.to_dict()) _dict['a_objVariableexpense'] = _items return _dict diff --git a/eZmaxApi/models/webhook_create_object_v2_request.py b/eZmaxApi/models/webhook_create_object_v2_request.py index 59de36022..dbaa721da 100644 --- a/eZmaxApi/models/webhook_create_object_v2_request.py +++ b/eZmaxApi/models/webhook_create_object_v2_request.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_webhook (list) _items = [] if self.a_obj_webhook: - for _item in self.a_obj_webhook: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_webhook in self.a_obj_webhook: + if _item_a_obj_webhook: + _items.append(_item_a_obj_webhook.to_dict()) _dict['a_objWebhook'] = _items return _dict diff --git a/eZmaxApi/models/webhook_create_object_v2_response_m_payload.py b/eZmaxApi/models/webhook_create_object_v2_response_m_payload.py index 07cbe7814..229495919 100644 --- a/eZmaxApi/models/webhook_create_object_v2_response_m_payload.py +++ b/eZmaxApi/models/webhook_create_object_v2_response_m_payload.py @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_webhook (list) _items = [] if self.a_obj_webhook: - for _item in self.a_obj_webhook: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_webhook in self.a_obj_webhook: + if _item_a_obj_webhook: + _items.append(_item_a_obj_webhook.to_dict()) _dict['a_objWebhook'] = _items return _dict diff --git a/eZmaxApi/models/webhook_ezsign_document_completed.py b/eZmaxApi/models/webhook_ezsign_document_completed.py index 21b190e69..23423fdbe 100644 --- a/eZmaxApi/models/webhook_ezsign_document_completed.py +++ b/eZmaxApi/models/webhook_ezsign_document_completed.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_ezsigndocument if self.obj_ezsigndocument: diff --git a/eZmaxApi/models/webhook_ezsign_document_form_completed.py b/eZmaxApi/models/webhook_ezsign_document_form_completed.py index 3962545ca..d2d9cf0dc 100644 --- a/eZmaxApi/models/webhook_ezsign_document_form_completed.py +++ b/eZmaxApi/models/webhook_ezsign_document_form_completed.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_ezsigndocument if self.obj_ezsigndocument: diff --git a/eZmaxApi/models/webhook_ezsign_document_unsent.py b/eZmaxApi/models/webhook_ezsign_document_unsent.py index 68302b3a6..312c38f65 100644 --- a/eZmaxApi/models/webhook_ezsign_document_unsent.py +++ b/eZmaxApi/models/webhook_ezsign_document_unsent.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_ezsigndocument if self.obj_ezsigndocument: diff --git a/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py b/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py index 1c8410e3d..86f562195 100644 --- a/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py +++ b/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py @@ -82,9 +82,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_ezsignfolder if self.obj_ezsignfolder: diff --git a/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py b/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py index f348dc4b3..9f177e1c0 100644 --- a/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py +++ b/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py @@ -82,9 +82,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_ezsignfolder if self.obj_ezsignfolder: diff --git a/eZmaxApi/models/webhook_ezsign_folder_completed.py b/eZmaxApi/models/webhook_ezsign_folder_completed.py index 04565f028..193af9c10 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_completed.py +++ b/eZmaxApi/models/webhook_ezsign_folder_completed.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_ezsignfolder if self.obj_ezsignfolder: diff --git a/eZmaxApi/models/webhook_ezsign_folder_disposed.py b/eZmaxApi/models/webhook_ezsign_folder_disposed.py index 5af252ffa..319010b32 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_disposed.py +++ b/eZmaxApi/models/webhook_ezsign_folder_disposed.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_ezsignfolder if self.obj_ezsignfolder: diff --git a/eZmaxApi/models/webhook_ezsign_folder_sent.py b/eZmaxApi/models/webhook_ezsign_folder_sent.py index aa0296d2a..f75375648 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_sent.py +++ b/eZmaxApi/models/webhook_ezsign_folder_sent.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_ezsignfolder if self.obj_ezsignfolder: diff --git a/eZmaxApi/models/webhook_ezsign_folder_unsent.py b/eZmaxApi/models/webhook_ezsign_folder_unsent.py index abeacde6d..9629651e9 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_unsent.py +++ b/eZmaxApi/models/webhook_ezsign_folder_unsent.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_ezsignfolder if self.obj_ezsignfolder: diff --git a/eZmaxApi/models/webhook_ezsign_signature_signed.py b/eZmaxApi/models/webhook_ezsign_signature_signed.py index 7e6fbe676..c0f0cffba 100644 --- a/eZmaxApi/models/webhook_ezsign_signature_signed.py +++ b/eZmaxApi/models/webhook_ezsign_signature_signed.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_ezsignsignature if self.obj_ezsignsignature: diff --git a/eZmaxApi/models/webhook_get_history_v1_response_m_payload.py b/eZmaxApi/models/webhook_get_history_v1_response_m_payload.py index a0a698e2f..0a10d664f 100644 --- a/eZmaxApi/models/webhook_get_history_v1_response_m_payload.py +++ b/eZmaxApi/models/webhook_get_history_v1_response_m_payload.py @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_webhooklog (list) _items = [] if self.a_obj_webhooklog: - for _item in self.a_obj_webhooklog: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_webhooklog in self.a_obj_webhooklog: + if _item_a_obj_webhooklog: + _items.append(_item_a_obj_webhooklog.to_dict()) _dict['a_objWebhooklog'] = _items return _dict diff --git a/eZmaxApi/models/webhook_get_list_v1_response_m_payload.py b/eZmaxApi/models/webhook_get_list_v1_response_m_payload.py index 0152ddcfb..2441da0a2 100644 --- a/eZmaxApi/models/webhook_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/webhook_get_list_v1_response_m_payload.py @@ -75,9 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_webhook (list) _items = [] if self.a_obj_webhook: - for _item in self.a_obj_webhook: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_webhook in self.a_obj_webhook: + if _item_a_obj_webhook: + _items.append(_item_a_obj_webhook.to_dict()) _dict['a_objWebhook'] = _items return _dict diff --git a/eZmaxApi/models/webhook_request.py b/eZmaxApi/models/webhook_request.py index d92d19bb6..d72a362fe 100644 --- a/eZmaxApi/models/webhook_request.py +++ b/eZmaxApi/models/webhook_request.py @@ -32,6 +32,7 @@ class WebhookRequest(BaseModel): A Webhook Object """ # noqa: E501 pki_webhook_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Webhook", alias="pkiWebhookID") + fki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="fkiAuthenticationexternalID") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") s_webhook_description: StrictStr = Field(description="The description of the Webhook", alias="sWebhookDescription") e_webhook_module: FieldEWebhookModule = Field(alias="eWebhookModule") @@ -42,7 +43,7 @@ class WebhookRequest(BaseModel): b_webhook_isactive: StrictBool = Field(description="Whether the Webhook is active or not", alias="bWebhookIsactive") b_webhook_issigned: Optional[StrictBool] = Field(default=None, description="Whether the requests will be signed or not", alias="bWebhookIssigned") b_webhook_skipsslvalidation: StrictBool = Field(description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use", alias="bWebhookSkipsslvalidation") - __properties: ClassVar[List[str]] = ["pkiWebhookID", "fkiEzsignfoldertypeID", "sWebhookDescription", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation"] + __properties: ClassVar[List[str]] = ["pkiWebhookID", "fkiAuthenticationexternalID", "fkiEzsignfoldertypeID", "sWebhookDescription", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation"] @field_validator('s_webhook_url') def s_webhook_url_validate_regular_expression(cls, value): @@ -103,6 +104,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiWebhookID": obj.get("pkiWebhookID"), + "fkiAuthenticationexternalID": obj.get("fkiAuthenticationexternalID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), "sWebhookDescription": obj.get("sWebhookDescription"), "eWebhookModule": obj.get("eWebhookModule"), diff --git a/eZmaxApi/models/webhook_request_compound.py b/eZmaxApi/models/webhook_request_compound.py index 846f4032f..d61a1b94c 100644 --- a/eZmaxApi/models/webhook_request_compound.py +++ b/eZmaxApi/models/webhook_request_compound.py @@ -33,6 +33,7 @@ class WebhookRequestCompound(BaseModel): A Webhook Object and children """ # noqa: E501 pki_webhook_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Webhook", alias="pkiWebhookID") + fki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="fkiAuthenticationexternalID") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") s_webhook_description: StrictStr = Field(description="The description of the Webhook", alias="sWebhookDescription") e_webhook_module: FieldEWebhookModule = Field(alias="eWebhookModule") @@ -44,7 +45,7 @@ class WebhookRequestCompound(BaseModel): b_webhook_issigned: Optional[StrictBool] = Field(default=None, description="Whether the requests will be signed or not", alias="bWebhookIssigned") b_webhook_skipsslvalidation: StrictBool = Field(description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use", alias="bWebhookSkipsslvalidation") a_obj_webhookheader: Optional[List[WebhookheaderRequestCompound]] = Field(default=None, alias="a_objWebhookheader") - __properties: ClassVar[List[str]] = ["pkiWebhookID", "fkiEzsignfoldertypeID", "sWebhookDescription", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "a_objWebhookheader"] + __properties: ClassVar[List[str]] = ["pkiWebhookID", "fkiAuthenticationexternalID", "fkiEzsignfoldertypeID", "sWebhookDescription", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "a_objWebhookheader"] @field_validator('s_webhook_url') def s_webhook_url_validate_regular_expression(cls, value): @@ -95,9 +96,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_webhookheader (list) _items = [] if self.a_obj_webhookheader: - for _item in self.a_obj_webhookheader: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_webhookheader in self.a_obj_webhookheader: + if _item_a_obj_webhookheader: + _items.append(_item_a_obj_webhookheader.to_dict()) _dict['a_objWebhookheader'] = _items return _dict @@ -112,6 +113,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiWebhookID": obj.get("pkiWebhookID"), + "fkiAuthenticationexternalID": obj.get("fkiAuthenticationexternalID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), "sWebhookDescription": obj.get("sWebhookDescription"), "eWebhookModule": obj.get("eWebhookModule"), diff --git a/eZmaxApi/models/webhook_response.py b/eZmaxApi/models/webhook_response.py index 06d866853..f688db3dc 100644 --- a/eZmaxApi/models/webhook_response.py +++ b/eZmaxApi/models/webhook_response.py @@ -33,6 +33,7 @@ class WebhookResponse(BaseModel): A webhook object """ # noqa: E501 pki_webhook_id: StrictInt = Field(description="The unique ID of the Webhook", alias="pkiWebhookID") + fki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="fkiAuthenticationexternalID") s_webhook_description: StrictStr = Field(description="The description of the Webhook", alias="sWebhookDescription") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") @@ -46,8 +47,9 @@ class WebhookResponse(BaseModel): b_webhook_isactive: StrictBool = Field(description="Whether the Webhook is active or not", alias="bWebhookIsactive") b_webhook_issigned: StrictBool = Field(description="Whether the requests will be signed or not", alias="bWebhookIssigned") b_webhook_skipsslvalidation: StrictBool = Field(description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use", alias="bWebhookSkipsslvalidation") + s_authenticationexternal_description: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") obj_audit: CommonAudit = Field(alias="objAudit") - __properties: ClassVar[List[str]] = ["pkiWebhookID", "sWebhookDescription", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "sWebhookApikey", "sWebhookSecret", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "objAudit"] + __properties: ClassVar[List[str]] = ["pkiWebhookID", "fkiAuthenticationexternalID", "sWebhookDescription", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "sWebhookApikey", "sWebhookSecret", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "sAuthenticationexternalDescription", "objAudit"] @field_validator('s_webhook_url') def s_webhook_url_validate_regular_expression(cls, value): @@ -56,6 +58,16 @@ def s_webhook_url_validate_regular_expression(cls, value): raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") return value + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -111,6 +123,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiWebhookID": obj.get("pkiWebhookID"), + "fkiAuthenticationexternalID": obj.get("fkiAuthenticationexternalID"), "sWebhookDescription": obj.get("sWebhookDescription"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), @@ -124,6 +137,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bWebhookIsactive": obj.get("bWebhookIsactive"), "bWebhookIssigned": obj.get("bWebhookIssigned"), "bWebhookSkipsslvalidation": obj.get("bWebhookSkipsslvalidation"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_response_compound.py b/eZmaxApi/models/webhook_response_compound.py index e74a30b1b..876527caf 100644 --- a/eZmaxApi/models/webhook_response_compound.py +++ b/eZmaxApi/models/webhook_response_compound.py @@ -34,6 +34,7 @@ class WebhookResponseCompound(BaseModel): A Webhook Object """ # noqa: E501 pki_webhook_id: StrictInt = Field(description="The unique ID of the Webhook", alias="pkiWebhookID") + fki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="fkiAuthenticationexternalID") s_webhook_description: StrictStr = Field(description="The description of the Webhook", alias="sWebhookDescription") fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") @@ -47,10 +48,11 @@ class WebhookResponseCompound(BaseModel): b_webhook_isactive: StrictBool = Field(description="Whether the Webhook is active or not", alias="bWebhookIsactive") b_webhook_issigned: StrictBool = Field(description="Whether the requests will be signed or not", alias="bWebhookIssigned") b_webhook_skipsslvalidation: StrictBool = Field(description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use", alias="bWebhookSkipsslvalidation") + s_authenticationexternal_description: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") obj_audit: CommonAudit = Field(alias="objAudit") s_webhook_event: Optional[StrictStr] = Field(default=None, description="The concatenated string to describe the Webhook event", alias="sWebhookEvent") a_obj_webhookheader: Optional[List[WebhookheaderResponseCompound]] = Field(default=None, alias="a_objWebhookheader") - __properties: ClassVar[List[str]] = ["pkiWebhookID", "sWebhookDescription", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "sWebhookApikey", "sWebhookSecret", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "objAudit", "sWebhookEvent", "a_objWebhookheader"] + __properties: ClassVar[List[str]] = ["pkiWebhookID", "fkiAuthenticationexternalID", "sWebhookDescription", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "sWebhookApikey", "sWebhookSecret", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "sAuthenticationexternalDescription", "objAudit", "sWebhookEvent", "a_objWebhookheader"] @field_validator('s_webhook_url') def s_webhook_url_validate_regular_expression(cls, value): @@ -59,6 +61,16 @@ def s_webhook_url_validate_regular_expression(cls, value): raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") return value + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -104,9 +116,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_webhookheader (list) _items = [] if self.a_obj_webhookheader: - for _item in self.a_obj_webhookheader: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_webhookheader in self.a_obj_webhookheader: + if _item_a_obj_webhookheader: + _items.append(_item_a_obj_webhookheader.to_dict()) _dict['a_objWebhookheader'] = _items return _dict @@ -121,6 +133,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiWebhookID": obj.get("pkiWebhookID"), + "fkiAuthenticationexternalID": obj.get("fkiAuthenticationexternalID"), "sWebhookDescription": obj.get("sWebhookDescription"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), @@ -134,6 +147,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bWebhookIsactive": obj.get("bWebhookIsactive"), "bWebhookIssigned": obj.get("bWebhookIssigned"), "bWebhookSkipsslvalidation": obj.get("bWebhookSkipsslvalidation"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, "sWebhookEvent": obj.get("sWebhookEvent"), "a_objWebhookheader": [WebhookheaderResponseCompound.from_dict(_item) for _item in obj["a_objWebhookheader"]] if obj.get("a_objWebhookheader") is not None else None diff --git a/eZmaxApi/models/webhook_send_webhook_v1_request.py b/eZmaxApi/models/webhook_send_webhook_v1_request.py new file mode 100644 index 000000000..38607e680 --- /dev/null +++ b/eZmaxApi/models/webhook_send_webhook_v1_request.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.custom_e_webhook_ezsignevent import CustomEWebhookEzsignevent +from eZmaxApi.models.field_e_webhook_managementevent import FieldEWebhookManagementevent +from eZmaxApi.models.field_e_webhook_module import FieldEWebhookModule +from typing import Optional, Set +from typing_extensions import Self + +class WebhookSendWebhookV1Request(BaseModel): + """ + Request for POST /1/object/webhook/sendWebhook + """ # noqa: E501 + e_webhook_module: FieldEWebhookModule = Field(alias="eWebhookModule") + e_webhook_ezsignevent: Optional[CustomEWebhookEzsignevent] = Field(default=None, alias="eWebhookEzsignevent") + e_webhook_managementevent: Optional[FieldEWebhookManagementevent] = Field(default=None, alias="eWebhookManagementevent") + fki_ezsignfolder_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfolder", alias="fkiEzsignfolderID") + fki_ezsigndocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + fki_ezsignsigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigner", alias="fkiEzsignsignerID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_userstaged_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Userstaged", alias="fkiUserstagedID") + __properties: ClassVar[List[str]] = ["eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "fkiEzsignfolderID", "fkiEzsigndocumentID", "fkiEzsignsignerID", "fkiUserID", "fkiUserstagedID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebhookSendWebhookV1Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebhookSendWebhookV1Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "eWebhookModule": obj.get("eWebhookModule"), + "eWebhookEzsignevent": obj.get("eWebhookEzsignevent"), + "eWebhookManagementevent": obj.get("eWebhookManagementevent"), + "fkiEzsignfolderID": obj.get("fkiEzsignfolderID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "fkiEzsignsignerID": obj.get("fkiEzsignsignerID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUserstagedID": obj.get("fkiUserstagedID") + }) + return _obj + + diff --git a/eZmaxApi/models/webhook_send_webhook_v1_response.py b/eZmaxApi/models/webhook_send_webhook_v1_response.py new file mode 100644 index 000000000..c193d6cd8 --- /dev/null +++ b/eZmaxApi/models/webhook_send_webhook_v1_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from typing import Optional, Set +from typing_extensions import Self + +class WebhookSendWebhookV1Response(BaseModel): + """ + Response for POST /1/object/webhook/sendWebhook + """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebhookSendWebhookV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebhookSendWebhookV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/webhook_user_user_created.py b/eZmaxApi/models/webhook_user_user_created.py index f747f8a68..1af0a5efb 100644 --- a/eZmaxApi/models/webhook_user_user_created.py +++ b/eZmaxApi/models/webhook_user_user_created.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_user if self.obj_user: diff --git a/eZmaxApi/models/webhook_userstaged_userstaged_created.py b/eZmaxApi/models/webhook_userstaged_userstaged_created.py index d8b844894..84f47aa20 100644 --- a/eZmaxApi/models/webhook_userstaged_userstaged_created.py +++ b/eZmaxApi/models/webhook_userstaged_userstaged_created.py @@ -80,9 +80,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of each item in a_obj_attempt (list) _items = [] if self.a_obj_attempt: - for _item in self.a_obj_attempt: - if _item: - _items.append(_item.to_dict()) + for _item_a_obj_attempt in self.a_obj_attempt: + if _item_a_obj_attempt: + _items.append(_item_a_obj_attempt.to_dict()) _dict['a_objAttempt'] = _items # override the default output from pydantic by calling `to_dict()` of obj_userstaged if self.obj_userstaged: diff --git a/eZmaxApi/models/website_request.py b/eZmaxApi/models/website_request.py index 1fe3ae004..00f8971d1 100644 --- a/eZmaxApi/models/website_request.py +++ b/eZmaxApi/models/website_request.py @@ -19,7 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -28,9 +28,10 @@ class WebsiteRequest(BaseModel): """ A Website Object """ # noqa: E501 + pki_website_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Website Default", alias="pkiWebsiteID") fki_websitetype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Websitetype. Valid values: |Value|Description| |-|-| |1|Website| |2|Twitter| |3|Facebook| |4|Survey|", alias="fkiWebsitetypeID") s_website_address: StrictStr = Field(description="The URL of the website.", alias="sWebsiteAddress") - __properties: ClassVar[List[str]] = ["fkiWebsitetypeID", "sWebsiteAddress"] + __properties: ClassVar[List[str]] = ["pkiWebsiteID", "fkiWebsitetypeID", "sWebsiteAddress"] model_config = ConfigDict( populate_by_name=True, @@ -83,6 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "pkiWebsiteID": obj.get("pkiWebsiteID"), "fkiWebsitetypeID": obj.get("fkiWebsitetypeID"), "sWebsiteAddress": obj.get("sWebsiteAddress") }) diff --git a/eZmaxApi/models/website_request_compound.py b/eZmaxApi/models/website_request_compound.py index 34c271ab5..8e2c756a4 100644 --- a/eZmaxApi/models/website_request_compound.py +++ b/eZmaxApi/models/website_request_compound.py @@ -19,7 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -28,9 +28,10 @@ class WebsiteRequestCompound(BaseModel): """ A Website Object and children to create a complete structure """ # noqa: E501 + pki_website_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Website Default", alias="pkiWebsiteID") fki_websitetype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Websitetype. Valid values: |Value|Description| |-|-| |1|Website| |2|Twitter| |3|Facebook| |4|Survey|", alias="fkiWebsitetypeID") s_website_address: StrictStr = Field(description="The URL of the website.", alias="sWebsiteAddress") - __properties: ClassVar[List[str]] = ["fkiWebsitetypeID", "sWebsiteAddress"] + __properties: ClassVar[List[str]] = ["pkiWebsiteID", "fkiWebsitetypeID", "sWebsiteAddress"] model_config = ConfigDict( populate_by_name=True, @@ -83,6 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "pkiWebsiteID": obj.get("pkiWebsiteID"), "fkiWebsitetypeID": obj.get("fkiWebsitetypeID"), "sWebsiteAddress": obj.get("sWebsiteAddress") }) diff --git a/eZmaxApi/models/website_response.py b/eZmaxApi/models/website_response.py new file mode 100644 index 000000000..99a3fc845 --- /dev/null +++ b/eZmaxApi/models/website_response.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class WebsiteResponse(BaseModel): + """ + A Website Object + """ # noqa: E501 + pki_website_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Website Default", alias="pkiWebsiteID") + fki_websitetype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Websitetype. Valid values: |Value|Description| |-|-| |1|Website| |2|Twitter| |3|Facebook| |4|Survey|", alias="fkiWebsitetypeID") + s_website_address: StrictStr = Field(description="The URL of the website.", alias="sWebsiteAddress") + __properties: ClassVar[List[str]] = ["pkiWebsiteID", "fkiWebsitetypeID", "sWebsiteAddress"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebsiteResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebsiteResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiWebsiteID": obj.get("pkiWebsiteID"), + "fkiWebsitetypeID": obj.get("fkiWebsitetypeID"), + "sWebsiteAddress": obj.get("sWebsiteAddress") + }) + return _obj + + diff --git a/eZmaxApi/models/website_response_compound.py b/eZmaxApi/models/website_response_compound.py new file mode 100644 index 000000000..7c5960611 --- /dev/null +++ b/eZmaxApi/models/website_response_compound.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class WebsiteResponseCompound(BaseModel): + """ + A Website Object and children to create a complete structure + """ # noqa: E501 + pki_website_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Website Default", alias="pkiWebsiteID") + fki_websitetype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Websitetype. Valid values: |Value|Description| |-|-| |1|Website| |2|Twitter| |3|Facebook| |4|Survey|", alias="fkiWebsitetypeID") + s_website_address: StrictStr = Field(description="The URL of the website.", alias="sWebsiteAddress") + __properties: ClassVar[List[str]] = ["pkiWebsiteID", "fkiWebsitetypeID", "sWebsiteAddress"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebsiteResponseCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebsiteResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiWebsiteID": obj.get("pkiWebsiteID"), + "fkiWebsitetypeID": obj.get("fkiWebsitetypeID"), + "sWebsiteAddress": obj.get("sWebsiteAddress") + }) + return _obj + + diff --git a/eZmaxApi/rest.py b/eZmaxApi/rest.py index 1cfc63087..6d692e231 100644 --- a/eZmaxApi/rest.py +++ b/eZmaxApi/rest.py @@ -203,6 +203,8 @@ def request( # Content-Type which generated by urllib3 will be # overwritten. del headers['Content-Type'] + # Ensures that dict objects are serialized + post_params = [(a, json.dumps(b)) if isinstance(b, dict) else (a,b) for a, b in post_params] r = self.pool_manager.request( method, url, @@ -224,7 +226,7 @@ def request( headers=headers, preload_content=False ) - elif headers['Content-Type'] == 'text/plain' and isinstance(body, bool): + elif headers['Content-Type'].startswith('text/') and isinstance(body, bool): request_body = "true" if body else "false" r = self.pool_manager.request( method, diff --git a/openapitools.json b/openapitools.json index 557168821..f80faaa6d 100644 --- a/openapitools.json +++ b/openapitools.json @@ -2,6 +2,6 @@ "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { - "version": "7.4.0" + "version": "7.9.0" } } diff --git a/pyproject.toml b/pyproject.toml index 912bf9c7a..0d76c05e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,19 +10,20 @@ keywords = ["OpenAPI", "OpenAPI-Generator", "eZmax API Definition (Full)"] include = ["eZmaxApi/py.typed"] [tool.poetry.dependencies] -python = "^3.7" +python = "^3.8" -urllib3 = ">= 1.25.3" -python-dateutil = ">=2.8.2" -pydantic = ">=2" -typing-extensions = ">=4.7.1" +urllib3 = ">= 1.25.3 < 3.0.0" +python-dateutil = ">= 2.8.2" +pydantic = ">= 2" +typing-extensions = ">= 4.7.1" [tool.poetry.dev-dependencies] -pytest = ">=7.2.1" -tox = ">=3.9.0" -flake8 = ">=4.0.0" -types-python-dateutil = ">=2.8.19.14" -mypy = "1.4.1" +pytest = ">= 7.2.1" +pytest-cov = ">= 2.8.1" +tox = ">= 3.9.0" +flake8 = ">= 4.0.0" +types-python-dateutil = ">= 2.8.19.14" +mypy = ">= 1.5" [build-system] diff --git a/requirements.txt b/requirements.txt index cc85509ec..67f7f68df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.25.3, < 2.1.0 +urllib3 >= 1.25.3, < 3.0.0 +python_dateutil >= 2.8.2 pydantic >= 2 typing-extensions >= 4.7.1 diff --git a/setup.py b/setup.py index 2c0110011..0ca11113f 100644 --- a/setup.py +++ b/setup.py @@ -23,10 +23,10 @@ # http://pypi.python.org/pypi/setuptools NAME = "eZmaxApi" VERSION = "1.2.1" -PYTHON_REQUIRES = ">=3.7" +PYTHON_REQUIRES = ">= 3.8" REQUIRES = [ - "urllib3 >= 1.25.3, < 2.1.0", - "python-dateutil", + "urllib3 >= 1.25.3, < 3.0.0", + "python-dateutil >= 2.8.2", "pydantic >= 2", "typing-extensions >= 4.7.1", ] diff --git a/test-requirements.txt b/test-requirements.txt index 8e6d8cb13..e98555c11 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1,6 @@ -pytest~=7.1.3 -pytest-cov>=2.8.1 -pytest-randomly>=3.12.0 -mypy>=1.4.1 -types-python-dateutil>=2.8.19 +pytest >= 7.2.1 +pytest-cov >= 2.8.1 +tox >= 3.9.0 +flake8 >= 4.0.0 +types-python-dateutil >= 2.8.19.14 +mypy >= 1.5 diff --git a/test/test_activesession_generate_federation_token_v1_request.py b/test/test_activesession_generate_federation_token_v1_request.py new file mode 100644 index 000000000..4d81cb9ba --- /dev/null +++ b/test/test_activesession_generate_federation_token_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.activesession_generate_federation_token_v1_request import ActivesessionGenerateFederationTokenV1Request + +class TestActivesessionGenerateFederationTokenV1Request(unittest.TestCase): + """ActivesessionGenerateFederationTokenV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ActivesessionGenerateFederationTokenV1Request: + """Test ActivesessionGenerateFederationTokenV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ActivesessionGenerateFederationTokenV1Request` + """ + model = ActivesessionGenerateFederationTokenV1Request() + if include_optional: + return ActivesessionGenerateFederationTokenV1Request( + fks_ezmaxcustomer_code = 'demo' + ) + else: + return ActivesessionGenerateFederationTokenV1Request( + fks_ezmaxcustomer_code = 'demo', + ) + """ + + def testActivesessionGenerateFederationTokenV1Request(self): + """Test ActivesessionGenerateFederationTokenV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_activesession_generate_federation_token_v1_response.py b/test/test_activesession_generate_federation_token_v1_response.py new file mode 100644 index 000000000..9bcf6e966 --- /dev/null +++ b/test/test_activesession_generate_federation_token_v1_response.py @@ -0,0 +1,78 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.activesession_generate_federation_token_v1_response import ActivesessionGenerateFederationTokenV1Response + +class TestActivesessionGenerateFederationTokenV1Response(unittest.TestCase): + """ActivesessionGenerateFederationTokenV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ActivesessionGenerateFederationTokenV1Response: + """Test ActivesessionGenerateFederationTokenV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ActivesessionGenerateFederationTokenV1Response` + """ + model = ActivesessionGenerateFederationTokenV1Response() + if include_optional: + return ActivesessionGenerateFederationTokenV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.activesession_generate_federation_token_v1_response_m_payload.activesession-generateFederationToken-v1-Response-mPayload( + obj_apikeyfederation = eZmaxApi.models.custom_apikeyfederation.Custom-Apikeyfederation( + s_apikeyfederation_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H'qT\\{i H'qT\\{ ActivesessionGenerateFederationTokenV1ResponseMPayload: + """Test ActivesessionGenerateFederationTokenV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ActivesessionGenerateFederationTokenV1ResponseMPayload` + """ + model = ActivesessionGenerateFederationTokenV1ResponseMPayload() + if include_optional: + return ActivesessionGenerateFederationTokenV1ResponseMPayload( + obj_apikeyfederation = eZmaxApi.models.custom_apikeyfederation.Custom-Apikeyfederation( + s_apikeyfederation_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H'qT\\{i H'qT\\{ ActivesessionGetCurrentV1Response: """Test ActivesessionGetCurrentV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ActivesessionGetCurrentV1Response` diff --git a/test/test_activesession_get_current_v1_response_m_payload.py b/test/test_activesession_get_current_v1_response_m_payload.py index d918d5882..31c3b7188 100644 --- a/test/test_activesession_get_current_v1_response_m_payload.py +++ b/test/test_activesession_get_current_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ActivesessionGetCurrentV1ResponseMPayload: """Test ActivesessionGetCurrentV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ActivesessionGetCurrentV1ResponseMPayload` @@ -44,13 +44,23 @@ def make_instance(self, include_optional) -> ActivesessionGetCurrentV1ResponseMP s_department_name_x = 'Head Office', b_activesession_debug = False, b_activesession_issuperadmin = False, + b_activesession_attachment = False, + b_activesession_canafe = False, + b_activesession_financial = False, + b_activesession_realestatecompleted = False, + e_activesession_ezsign = 'Full', + e_activesession_ezsignaccess = 'Prepaid', + e_activesession_ezsignprepaid = 'Basic', + e_activesession_realestateinprogress = 'Create', pks_customer_code = 'demo', fki_systemconfigurationtype_id = 28, fki_signature_id = 12, + fki_ezsignuser_id = 94, b_systemconfiguration_ezsignpaidbyoffice = True, e_systemconfiguration_ezsignofficeplan = 'Standard', e_user_ezsignaccess = 'PaidByOffice', e_user_ezsignprepaid = 'Basic', + b_user_ezsigntrial = False, dt_user_ezsignprepaidexpiration = '2020-12-31', a_pki_permission_id = [ 53 @@ -94,6 +104,7 @@ def make_instance(self, include_optional) -> ActivesessionGetCurrentV1ResponseMP s_department_name_x = 'Head Office', b_activesession_debug = False, b_activesession_issuperadmin = False, + e_activesession_ezsignaccess = 'Prepaid', pks_customer_code = 'demo', fki_systemconfigurationtype_id = 28, e_user_ezsignaccess = 'PaidByOffice', diff --git a/test/test_activesession_get_list_v1_response.py b/test/test_activesession_get_list_v1_response.py index a05aba4eb..a4c7a8f08 100644 --- a/test/test_activesession_get_list_v1_response.py +++ b/test/test_activesession_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ActivesessionGetListV1Response: """Test ActivesessionGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ActivesessionGetListV1Response` diff --git a/test/test_activesession_get_list_v1_response_m_payload.py b/test/test_activesession_get_list_v1_response_m_payload.py index 145153802..d427622e4 100644 --- a/test/test_activesession_get_list_v1_response_m_payload.py +++ b/test/test_activesession_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ActivesessionGetListV1ResponseMPayload: """Test ActivesessionGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ActivesessionGetListV1ResponseMPayload` diff --git a/test/test_activesession_list_element.py b/test/test_activesession_list_element.py index 8e8e8e01e..87f201d92 100644 --- a/test/test_activesession_list_element.py +++ b/test/test_activesession_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ActivesessionListElement: """Test ActivesessionListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ActivesessionListElement` diff --git a/test/test_activesession_response.py b/test/test_activesession_response.py index f620ed301..7dd0f5c58 100644 --- a/test/test_activesession_response.py +++ b/test/test_activesession_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ActivesessionResponse: """Test ActivesessionResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ActivesessionResponse` @@ -44,6 +44,14 @@ def make_instance(self, include_optional) -> ActivesessionResponse: s_department_name_x = 'Head Office', b_activesession_debug = False, b_activesession_issuperadmin = False, + b_activesession_attachment = False, + b_activesession_canafe = False, + b_activesession_financial = False, + b_activesession_realestatecompleted = False, + e_activesession_ezsign = 'Full', + e_activesession_ezsignaccess = 'Prepaid', + e_activesession_ezsignprepaid = 'Basic', + e_activesession_realestateinprogress = 'Create', pks_customer_code = 'demo', fki_systemconfigurationtype_id = 28, fki_signature_id = 12 @@ -58,6 +66,7 @@ def make_instance(self, include_optional) -> ActivesessionResponse: s_department_name_x = 'Head Office', b_activesession_debug = False, b_activesession_issuperadmin = False, + e_activesession_ezsignaccess = 'Prepaid', pks_customer_code = 'demo', fki_systemconfigurationtype_id = 28, ) diff --git a/test/test_activesession_response_compound.py b/test/test_activesession_response_compound.py index 8e7d26c70..2d5f3f3a2 100644 --- a/test/test_activesession_response_compound.py +++ b/test/test_activesession_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ActivesessionResponseCompound: """Test ActivesessionResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ActivesessionResponseCompound` @@ -44,13 +44,23 @@ def make_instance(self, include_optional) -> ActivesessionResponseCompound: s_department_name_x = 'Head Office', b_activesession_debug = False, b_activesession_issuperadmin = False, + b_activesession_attachment = False, + b_activesession_canafe = False, + b_activesession_financial = False, + b_activesession_realestatecompleted = False, + e_activesession_ezsign = 'Full', + e_activesession_ezsignaccess = 'Prepaid', + e_activesession_ezsignprepaid = 'Basic', + e_activesession_realestateinprogress = 'Create', pks_customer_code = 'demo', fki_systemconfigurationtype_id = 28, fki_signature_id = 12, + fki_ezsignuser_id = 94, b_systemconfiguration_ezsignpaidbyoffice = True, e_systemconfiguration_ezsignofficeplan = 'Standard', e_user_ezsignaccess = 'PaidByOffice', e_user_ezsignprepaid = 'Basic', + b_user_ezsigntrial = False, dt_user_ezsignprepaidexpiration = '2020-12-31', a_pki_permission_id = [ 53 @@ -94,6 +104,7 @@ def make_instance(self, include_optional) -> ActivesessionResponseCompound: s_department_name_x = 'Head Office', b_activesession_debug = False, b_activesession_issuperadmin = False, + e_activesession_ezsignaccess = 'Prepaid', pks_customer_code = 'demo', fki_systemconfigurationtype_id = 28, e_user_ezsignaccess = 'PaidByOffice', diff --git a/test/test_activesession_response_compound_apikey.py b/test/test_activesession_response_compound_apikey.py index 2d6ada669..00329f710 100644 --- a/test/test_activesession_response_compound_apikey.py +++ b/test/test_activesession_response_compound_apikey.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ActivesessionResponseCompoundApikey: """Test ActivesessionResponseCompoundApikey - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ActivesessionResponseCompoundApikey` diff --git a/test/test_activesession_response_compound_user.py b/test/test_activesession_response_compound_user.py index 497b6ffed..d286aa385 100644 --- a/test/test_activesession_response_compound_user.py +++ b/test/test_activesession_response_compound_user.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ActivesessionResponseCompoundUser: """Test ActivesessionResponseCompoundUser - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ActivesessionResponseCompoundUser` diff --git a/test/test_address_request.py b/test/test_address_request.py index 3c9c432a0..698a52e48 100644 --- a/test/test_address_request.py +++ b/test/test_address_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> AddressRequest: """Test AddressRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `AddressRequest` @@ -36,6 +36,7 @@ def make_instance(self, include_optional) -> AddressRequest: model = AddressRequest() if include_optional: return AddressRequest( + pki_address_id = 142, fki_addresstype_id = 1, s_address_civic = '2540', s_address_street = 'Daniel-Johnson Blvd.', @@ -52,7 +53,6 @@ def make_instance(self, include_optional) -> AddressRequest: fki_addresstype_id = 1, s_address_civic = '2540', s_address_street = 'Daniel-Johnson Blvd.', - s_address_suite = '610', s_address_city = 'Laval', fki_province_id = 11, fki_country_id = 1, diff --git a/test/test_address_request_compound.py b/test/test_address_request_compound.py index aa3921361..6ce310957 100644 --- a/test/test_address_request_compound.py +++ b/test/test_address_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> AddressRequestCompound: """Test AddressRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `AddressRequestCompound` @@ -36,6 +36,7 @@ def make_instance(self, include_optional) -> AddressRequestCompound: model = AddressRequestCompound() if include_optional: return AddressRequestCompound( + pki_address_id = 142, fki_addresstype_id = 1, s_address_civic = '2540', s_address_street = 'Daniel-Johnson Blvd.', @@ -52,7 +53,6 @@ def make_instance(self, include_optional) -> AddressRequestCompound: fki_addresstype_id = 1, s_address_civic = '2540', s_address_street = 'Daniel-Johnson Blvd.', - s_address_suite = '610', s_address_city = 'Laval', fki_province_id = 11, fki_country_id = 1, diff --git a/test/test_address_response.py b/test/test_address_response.py new file mode 100644 index 000000000..a7a3643a9 --- /dev/null +++ b/test/test_address_response.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.address_response import AddressResponse + +class TestAddressResponse(unittest.TestCase): + """AddressResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AddressResponse: + """Test AddressResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AddressResponse` + """ + model = AddressResponse() + if include_optional: + return AddressResponse( + pki_address_id = 142, + fki_addresstype_id = 1, + s_address_civic = '2540', + s_address_street = 'Daniel-Johnson Blvd.', + s_address_suite = '610', + s_address_city = 'Laval', + fki_province_id = 11, + s_province_name_x = 'Quebec', + fki_country_id = 1, + s_country_name_x = 'Canada', + s_address_zip = 'H7T2S3', + f_address_longitude = 'doej', + f_address_latitude = 'doej' + ) + else: + return AddressResponse( + pki_address_id = 142, + fki_addresstype_id = 1, + s_address_civic = '2540', + s_address_street = 'Daniel-Johnson Blvd.', + s_address_city = 'Laval', + fki_province_id = 11, + s_province_name_x = 'Quebec', + fki_country_id = 1, + s_country_name_x = 'Canada', + s_address_zip = 'H7T2S3', + ) + """ + + def testAddressResponse(self): + """Test AddressResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_address_response_compound.py b/test/test_address_response_compound.py new file mode 100644 index 000000000..0d92d4856 --- /dev/null +++ b/test/test_address_response_compound.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.address_response_compound import AddressResponseCompound + +class TestAddressResponseCompound(unittest.TestCase): + """AddressResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AddressResponseCompound: + """Test AddressResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AddressResponseCompound` + """ + model = AddressResponseCompound() + if include_optional: + return AddressResponseCompound( + pki_address_id = 142, + fki_addresstype_id = 1, + s_address_civic = '2540', + s_address_street = 'Daniel-Johnson Blvd.', + s_address_suite = '610', + s_address_city = 'Laval', + fki_province_id = 11, + s_province_name_x = 'Quebec', + fki_country_id = 1, + s_country_name_x = 'Canada', + s_address_zip = 'H7T2S3', + f_address_longitude = 'doej', + f_address_latitude = 'doej' + ) + else: + return AddressResponseCompound( + pki_address_id = 142, + fki_addresstype_id = 1, + s_address_civic = '2540', + s_address_street = 'Daniel-Johnson Blvd.', + s_address_city = 'Laval', + fki_province_id = 11, + s_province_name_x = 'Quebec', + fki_country_id = 1, + s_country_name_x = 'Canada', + s_address_zip = 'H7T2S3', + ) + """ + + def testAddressResponseCompound(self): + """Test AddressResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_apikey_create_object_v2_request.py b/test/test_apikey_create_object_v2_request.py index 5366ef809..d124fab6e 100644 --- a/test/test_apikey_create_object_v2_request.py +++ b/test/test_apikey_create_object_v2_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyCreateObjectV2Request: """Test ApikeyCreateObjectV2Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyCreateObjectV2Request` diff --git a/test/test_apikey_create_object_v2_response.py b/test/test_apikey_create_object_v2_response.py index fdd671c32..649724043 100644 --- a/test/test_apikey_create_object_v2_response.py +++ b/test/test_apikey_create_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyCreateObjectV2Response: """Test ApikeyCreateObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyCreateObjectV2Response` diff --git a/test/test_apikey_create_object_v2_response_m_payload.py b/test/test_apikey_create_object_v2_response_m_payload.py index 5aee0486e..f14d2e37b 100644 --- a/test/test_apikey_create_object_v2_response_m_payload.py +++ b/test/test_apikey_create_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyCreateObjectV2ResponseMPayload: """Test ApikeyCreateObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyCreateObjectV2ResponseMPayload` diff --git a/test/test_apikey_edit_object_v1_request.py b/test/test_apikey_edit_object_v1_request.py index f8173a703..2b87e0b69 100644 --- a/test/test_apikey_edit_object_v1_request.py +++ b/test/test_apikey_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyEditObjectV1Request: """Test ApikeyEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyEditObjectV1Request` diff --git a/test/test_apikey_edit_object_v1_response.py b/test/test_apikey_edit_object_v1_response.py index 9f6a6ec8d..83f99ce70 100644 --- a/test/test_apikey_edit_object_v1_response.py +++ b/test/test_apikey_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyEditObjectV1Response: """Test ApikeyEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyEditObjectV1Response` diff --git a/test/test_apikey_edit_permissions_v1_request.py b/test/test_apikey_edit_permissions_v1_request.py index cfc7e907f..206a3b891 100644 --- a/test/test_apikey_edit_permissions_v1_request.py +++ b/test/test_apikey_edit_permissions_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyEditPermissionsV1Request: """Test ApikeyEditPermissionsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyEditPermissionsV1Request` diff --git a/test/test_apikey_edit_permissions_v1_response.py b/test/test_apikey_edit_permissions_v1_response.py index 5839f15e2..bfd6ad753 100644 --- a/test/test_apikey_edit_permissions_v1_response.py +++ b/test/test_apikey_edit_permissions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyEditPermissionsV1Response: """Test ApikeyEditPermissionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyEditPermissionsV1Response` diff --git a/test/test_apikey_edit_permissions_v1_response_m_payload.py b/test/test_apikey_edit_permissions_v1_response_m_payload.py index 861cbc219..f753d94ea 100644 --- a/test/test_apikey_edit_permissions_v1_response_m_payload.py +++ b/test/test_apikey_edit_permissions_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyEditPermissionsV1ResponseMPayload: """Test ApikeyEditPermissionsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyEditPermissionsV1ResponseMPayload` diff --git a/test/test_apikey_generate_delegated_credentials_v1_request.py b/test/test_apikey_generate_delegated_credentials_v1_request.py new file mode 100644 index 000000000..c2a14a81a --- /dev/null +++ b/test/test_apikey_generate_delegated_credentials_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_request import ApikeyGenerateDelegatedCredentialsV1Request + +class TestApikeyGenerateDelegatedCredentialsV1Request(unittest.TestCase): + """ApikeyGenerateDelegatedCredentialsV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ApikeyGenerateDelegatedCredentialsV1Request: + """Test ApikeyGenerateDelegatedCredentialsV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ApikeyGenerateDelegatedCredentialsV1Request` + """ + model = ApikeyGenerateDelegatedCredentialsV1Request() + if include_optional: + return ApikeyGenerateDelegatedCredentialsV1Request( + i_expiration_minutes = 1 + ) + else: + return ApikeyGenerateDelegatedCredentialsV1Request( + i_expiration_minutes = 1, + ) + """ + + def testApikeyGenerateDelegatedCredentialsV1Request(self): + """Test ApikeyGenerateDelegatedCredentialsV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_apikey_generate_delegated_credentials_v1_response.py b/test/test_apikey_generate_delegated_credentials_v1_response.py new file mode 100644 index 000000000..89c0da611 --- /dev/null +++ b/test/test_apikey_generate_delegated_credentials_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response import ApikeyGenerateDelegatedCredentialsV1Response + +class TestApikeyGenerateDelegatedCredentialsV1Response(unittest.TestCase): + """ApikeyGenerateDelegatedCredentialsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ApikeyGenerateDelegatedCredentialsV1Response: + """Test ApikeyGenerateDelegatedCredentialsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ApikeyGenerateDelegatedCredentialsV1Response` + """ + model = ApikeyGenerateDelegatedCredentialsV1Response() + if include_optional: + return ApikeyGenerateDelegatedCredentialsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.apikey_generate_delegated_credentials_v1_response_m_payload.apikey-generateDelegatedCredentials-v1-Response-mPayload( + obj_apikey = eZmaxApi.models.custom_apikey.Custom-Apikey( + s_apikey_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H'qT\\{i H'qT\\{ ApikeyGenerateDelegatedCredentialsV1ResponseMPayload: + """Test ApikeyGenerateDelegatedCredentialsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ApikeyGenerateDelegatedCredentialsV1ResponseMPayload` + """ + model = ApikeyGenerateDelegatedCredentialsV1ResponseMPayload() + if include_optional: + return ApikeyGenerateDelegatedCredentialsV1ResponseMPayload( + obj_apikey = eZmaxApi.models.custom_apikey.Custom-Apikey( + s_apikey_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H'qT\\{i H'qT\\{ ApikeyGetCorsV1Response: """Test ApikeyGetCorsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyGetCorsV1Response` diff --git a/test/test_apikey_get_cors_v1_response_m_payload.py b/test/test_apikey_get_cors_v1_response_m_payload.py index a19ce33e5..5a34651bf 100644 --- a/test/test_apikey_get_cors_v1_response_m_payload.py +++ b/test/test_apikey_get_cors_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyGetCorsV1ResponseMPayload: """Test ApikeyGetCorsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyGetCorsV1ResponseMPayload` diff --git a/test/test_apikey_get_list_v1_response.py b/test/test_apikey_get_list_v1_response.py index 5b324fb06..a228f3880 100644 --- a/test/test_apikey_get_list_v1_response.py +++ b/test/test_apikey_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyGetListV1Response: """Test ApikeyGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyGetListV1Response` diff --git a/test/test_apikey_get_list_v1_response_m_payload.py b/test/test_apikey_get_list_v1_response_m_payload.py index 122c9475d..23b89da0b 100644 --- a/test/test_apikey_get_list_v1_response_m_payload.py +++ b/test/test_apikey_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyGetListV1ResponseMPayload: """Test ApikeyGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyGetListV1ResponseMPayload` diff --git a/test/test_apikey_get_object_v2_response.py b/test/test_apikey_get_object_v2_response.py index 3d3652c08..258967099 100644 --- a/test/test_apikey_get_object_v2_response.py +++ b/test/test_apikey_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyGetObjectV2Response: """Test ApikeyGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyGetObjectV2Response` diff --git a/test/test_apikey_get_object_v2_response_m_payload.py b/test/test_apikey_get_object_v2_response_m_payload.py index f1acfb03b..4f9a1907f 100644 --- a/test/test_apikey_get_object_v2_response_m_payload.py +++ b/test/test_apikey_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyGetObjectV2ResponseMPayload: """Test ApikeyGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyGetObjectV2ResponseMPayload` diff --git a/test/test_apikey_get_permissions_v1_response.py b/test/test_apikey_get_permissions_v1_response.py index 6b9e94344..84619bc69 100644 --- a/test/test_apikey_get_permissions_v1_response.py +++ b/test/test_apikey_get_permissions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyGetPermissionsV1Response: """Test ApikeyGetPermissionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyGetPermissionsV1Response` diff --git a/test/test_apikey_get_permissions_v1_response_m_payload.py b/test/test_apikey_get_permissions_v1_response_m_payload.py index 82ca3a74a..cc6ec8216 100644 --- a/test/test_apikey_get_permissions_v1_response_m_payload.py +++ b/test/test_apikey_get_permissions_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyGetPermissionsV1ResponseMPayload: """Test ApikeyGetPermissionsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyGetPermissionsV1ResponseMPayload` diff --git a/test/test_apikey_get_subnets_v1_response.py b/test/test_apikey_get_subnets_v1_response.py index 2cf4c1a32..5bd04cd58 100644 --- a/test/test_apikey_get_subnets_v1_response.py +++ b/test/test_apikey_get_subnets_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyGetSubnetsV1Response: """Test ApikeyGetSubnetsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyGetSubnetsV1Response` diff --git a/test/test_apikey_get_subnets_v1_response_m_payload.py b/test/test_apikey_get_subnets_v1_response_m_payload.py index 96ebc52c7..000ad2ec0 100644 --- a/test/test_apikey_get_subnets_v1_response_m_payload.py +++ b/test/test_apikey_get_subnets_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyGetSubnetsV1ResponseMPayload: """Test ApikeyGetSubnetsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyGetSubnetsV1ResponseMPayload` diff --git a/test/test_apikey_list_element.py b/test/test_apikey_list_element.py index 1c9ee6eae..14b262487 100644 --- a/test/test_apikey_list_element.py +++ b/test/test_apikey_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyListElement: """Test ApikeyListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyListElement` diff --git a/test/test_apikey_regenerate_v1_request.py b/test/test_apikey_regenerate_v1_request.py index d4d1a41c8..2c648888f 100644 --- a/test/test_apikey_regenerate_v1_request.py +++ b/test/test_apikey_regenerate_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyRegenerateV1Request: """Test ApikeyRegenerateV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyRegenerateV1Request` diff --git a/test/test_apikey_regenerate_v1_response.py b/test/test_apikey_regenerate_v1_response.py index 2093a1401..b4e1a5b6e 100644 --- a/test/test_apikey_regenerate_v1_response.py +++ b/test/test_apikey_regenerate_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyRegenerateV1Response: """Test ApikeyRegenerateV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyRegenerateV1Response` diff --git a/test/test_apikey_regenerate_v1_response_m_payload.py b/test/test_apikey_regenerate_v1_response_m_payload.py index 0ea9b8203..1a46168ad 100644 --- a/test/test_apikey_regenerate_v1_response_m_payload.py +++ b/test/test_apikey_regenerate_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyRegenerateV1ResponseMPayload: """Test ApikeyRegenerateV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyRegenerateV1ResponseMPayload` diff --git a/test/test_apikey_request.py b/test/test_apikey_request.py index be3485c22..2c52f509c 100644 --- a/test/test_apikey_request.py +++ b/test/test_apikey_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyRequest: """Test ApikeyRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyRequest` diff --git a/test/test_apikey_request_compound.py b/test/test_apikey_request_compound.py index 431bb7edb..111cd5279 100644 --- a/test/test_apikey_request_compound.py +++ b/test/test_apikey_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyRequestCompound: """Test ApikeyRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyRequestCompound` diff --git a/test/test_apikey_response.py b/test/test_apikey_response.py index d880a5297..9ed7fded4 100644 --- a/test/test_apikey_response.py +++ b/test/test_apikey_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyResponse: """Test ApikeyResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyResponse` diff --git a/test/test_apikey_response_compound.py b/test/test_apikey_response_compound.py index 5d1bcdca6..8399bea91 100644 --- a/test/test_apikey_response_compound.py +++ b/test/test_apikey_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ApikeyResponseCompound: """Test ApikeyResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ApikeyResponseCompound` diff --git a/test/test_attachment_get_attachmentlogs_v1_response.py b/test/test_attachment_get_attachmentlogs_v1_response.py index 1b24af993..119176102 100644 --- a/test/test_attachment_get_attachmentlogs_v1_response.py +++ b/test/test_attachment_get_attachmentlogs_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> AttachmentGetAttachmentlogsV1Response: """Test AttachmentGetAttachmentlogsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `AttachmentGetAttachmentlogsV1Response` diff --git a/test/test_attachment_get_attachmentlogs_v1_response_m_payload.py b/test/test_attachment_get_attachmentlogs_v1_response_m_payload.py index 5e62d8fac..70bdd9ce0 100644 --- a/test/test_attachment_get_attachmentlogs_v1_response_m_payload.py +++ b/test/test_attachment_get_attachmentlogs_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> AttachmentGetAttachmentlogsV1ResponseMPayload: """Test AttachmentGetAttachmentlogsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `AttachmentGetAttachmentlogsV1ResponseMPayload` diff --git a/test/test_attachment_get_download_url_v1_response.py b/test/test_attachment_get_download_url_v1_response.py deleted file mode 100644 index 57c390e1a..000000000 --- a/test/test_attachment_get_download_url_v1_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.attachment_get_download_url_v1_response import AttachmentGetDownloadUrlV1Response - -class TestAttachmentGetDownloadUrlV1Response(unittest.TestCase): - """AttachmentGetDownloadUrlV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AttachmentGetDownloadUrlV1Response: - """Test AttachmentGetDownloadUrlV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AttachmentGetDownloadUrlV1Response` - """ - model = AttachmentGetDownloadUrlV1Response() - if include_optional: - return AttachmentGetDownloadUrlV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = {"sDownloadUrl":"http://www.example.com/document.pdf"} - ) - else: - return AttachmentGetDownloadUrlV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = {"sDownloadUrl":"http://www.example.com/document.pdf"}, - ) - """ - - def testAttachmentGetDownloadUrlV1Response(self): - """Test AttachmentGetDownloadUrlV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_attachment_get_download_url_v1_response_m_payload.py b/test/test_attachment_get_download_url_v1_response_m_payload.py deleted file mode 100644 index 2fe204f86..000000000 --- a/test/test_attachment_get_download_url_v1_response_m_payload.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.attachment_get_download_url_v1_response_m_payload import AttachmentGetDownloadUrlV1ResponseMPayload - -class TestAttachmentGetDownloadUrlV1ResponseMPayload(unittest.TestCase): - """AttachmentGetDownloadUrlV1ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AttachmentGetDownloadUrlV1ResponseMPayload: - """Test AttachmentGetDownloadUrlV1ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AttachmentGetDownloadUrlV1ResponseMPayload` - """ - model = AttachmentGetDownloadUrlV1ResponseMPayload() - if include_optional: - return AttachmentGetDownloadUrlV1ResponseMPayload( - s_download_url = 'http://www.example.com/document.pdf' - ) - else: - return AttachmentGetDownloadUrlV1ResponseMPayload( - s_download_url = 'http://www.example.com/document.pdf', - ) - """ - - def testAttachmentGetDownloadUrlV1ResponseMPayload(self): - """Test AttachmentGetDownloadUrlV1ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_attachment_response.py b/test/test_attachment_response.py index 11619077a..53b7e0042 100644 --- a/test/test_attachment_response.py +++ b/test/test_attachment_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> AttachmentResponse: """Test AttachmentResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `AttachmentResponse` diff --git a/test/test_attachment_response_compound.py b/test/test_attachment_response_compound.py index 9642538ea..10a5d1ac1 100644 --- a/test/test_attachment_response_compound.py +++ b/test/test_attachment_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> AttachmentResponseCompound: """Test AttachmentResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `AttachmentResponseCompound` diff --git a/test/test_attachmentlog_response.py b/test/test_attachmentlog_response.py index d3a9db2e9..2163b405a 100644 --- a/test/test_attachmentlog_response.py +++ b/test/test_attachmentlog_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> AttachmentlogResponse: """Test AttachmentlogResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `AttachmentlogResponse` diff --git a/test/test_attachmentlog_response_compound.py b/test/test_attachmentlog_response_compound.py index 8ebd258cc..f9fae3e74 100644 --- a/test/test_attachmentlog_response_compound.py +++ b/test/test_attachmentlog_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> AttachmentlogResponseCompound: """Test AttachmentlogResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `AttachmentlogResponseCompound` diff --git a/test/test_attempt_response.py b/test/test_attempt_response.py index 7ce4808f1..5458db4d8 100644 --- a/test/test_attempt_response.py +++ b/test/test_attempt_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> AttemptResponse: """Test AttemptResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `AttemptResponse` diff --git a/test/test_attempt_response_compound.py b/test/test_attempt_response_compound.py index 9be8096a2..1806ce6db 100644 --- a/test/test_attempt_response_compound.py +++ b/test/test_attempt_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> AttemptResponseCompound: """Test AttemptResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `AttemptResponseCompound` diff --git a/test/test_authenticationexternal_autocomplete_element_response.py b/test/test_authenticationexternal_autocomplete_element_response.py new file mode 100644 index 000000000..656d5da65 --- /dev/null +++ b/test/test_authenticationexternal_autocomplete_element_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_autocomplete_element_response import AuthenticationexternalAutocompleteElementResponse + +class TestAuthenticationexternalAutocompleteElementResponse(unittest.TestCase): + """AuthenticationexternalAutocompleteElementResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalAutocompleteElementResponse: + """Test AuthenticationexternalAutocompleteElementResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalAutocompleteElementResponse` + """ + model = AuthenticationexternalAutocompleteElementResponse() + if include_optional: + return AuthenticationexternalAutocompleteElementResponse( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + b_authenticationexternal_isactive = True + ) + else: + return AuthenticationexternalAutocompleteElementResponse( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + b_authenticationexternal_isactive = True, + ) + """ + + def testAuthenticationexternalAutocompleteElementResponse(self): + """Test AuthenticationexternalAutocompleteElementResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_create_object_v1_request.py b/test/test_authenticationexternal_create_object_v1_request.py new file mode 100644 index 000000000..0509092f3 --- /dev/null +++ b/test/test_authenticationexternal_create_object_v1_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_create_object_v1_request import AuthenticationexternalCreateObjectV1Request + +class TestAuthenticationexternalCreateObjectV1Request(unittest.TestCase): + """AuthenticationexternalCreateObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalCreateObjectV1Request: + """Test AuthenticationexternalCreateObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalCreateObjectV1Request` + """ + model = AuthenticationexternalCreateObjectV1Request() + if include_optional: + return AuthenticationexternalCreateObjectV1Request( + a_obj_authenticationexternal = [ + eZmaxApi.models.authenticationexternal_request_compound.authenticationexternal-RequestCompound() + ] + ) + else: + return AuthenticationexternalCreateObjectV1Request( + a_obj_authenticationexternal = [ + eZmaxApi.models.authenticationexternal_request_compound.authenticationexternal-RequestCompound() + ], + ) + """ + + def testAuthenticationexternalCreateObjectV1Request(self): + """Test AuthenticationexternalCreateObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_create_object_v1_response.py b/test/test_authenticationexternal_create_object_v1_response.py new file mode 100644 index 000000000..e6b98f3e0 --- /dev/null +++ b/test/test_authenticationexternal_create_object_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_create_object_v1_response import AuthenticationexternalCreateObjectV1Response + +class TestAuthenticationexternalCreateObjectV1Response(unittest.TestCase): + """AuthenticationexternalCreateObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalCreateObjectV1Response: + """Test AuthenticationexternalCreateObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalCreateObjectV1Response` + """ + model = AuthenticationexternalCreateObjectV1Response() + if include_optional: + return AuthenticationexternalCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.authenticationexternal_create_object_v1_response_m_payload.authenticationexternal-createObject-v1-Response-mPayload( + a_pki_authenticationexternal_id = [ + 56 + ], ) + ) + else: + return AuthenticationexternalCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.authenticationexternal_create_object_v1_response_m_payload.authenticationexternal-createObject-v1-Response-mPayload( + a_pki_authenticationexternal_id = [ + 56 + ], ), + ) + """ + + def testAuthenticationexternalCreateObjectV1Response(self): + """Test AuthenticationexternalCreateObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_create_object_v1_response_m_payload.py b/test/test_authenticationexternal_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..df3bcc9d2 --- /dev/null +++ b/test/test_authenticationexternal_create_object_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_create_object_v1_response_m_payload import AuthenticationexternalCreateObjectV1ResponseMPayload + +class TestAuthenticationexternalCreateObjectV1ResponseMPayload(unittest.TestCase): + """AuthenticationexternalCreateObjectV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalCreateObjectV1ResponseMPayload: + """Test AuthenticationexternalCreateObjectV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalCreateObjectV1ResponseMPayload` + """ + model = AuthenticationexternalCreateObjectV1ResponseMPayload() + if include_optional: + return AuthenticationexternalCreateObjectV1ResponseMPayload( + a_pki_authenticationexternal_id = [ + 56 + ] + ) + else: + return AuthenticationexternalCreateObjectV1ResponseMPayload( + a_pki_authenticationexternal_id = [ + 56 + ], + ) + """ + + def testAuthenticationexternalCreateObjectV1ResponseMPayload(self): + """Test AuthenticationexternalCreateObjectV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_delete_object_v1_response.py b/test/test_authenticationexternal_delete_object_v1_response.py new file mode 100644 index 000000000..51f9bee62 --- /dev/null +++ b/test/test_authenticationexternal_delete_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_delete_object_v1_response import AuthenticationexternalDeleteObjectV1Response + +class TestAuthenticationexternalDeleteObjectV1Response(unittest.TestCase): + """AuthenticationexternalDeleteObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalDeleteObjectV1Response: + """Test AuthenticationexternalDeleteObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalDeleteObjectV1Response` + """ + model = AuthenticationexternalDeleteObjectV1Response() + if include_optional: + return AuthenticationexternalDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return AuthenticationexternalDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testAuthenticationexternalDeleteObjectV1Response(self): + """Test AuthenticationexternalDeleteObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_edit_object_v1_request.py b/test/test_authenticationexternal_edit_object_v1_request.py new file mode 100644 index 000000000..c4e0a6780 --- /dev/null +++ b/test/test_authenticationexternal_edit_object_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_edit_object_v1_request import AuthenticationexternalEditObjectV1Request + +class TestAuthenticationexternalEditObjectV1Request(unittest.TestCase): + """AuthenticationexternalEditObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalEditObjectV1Request: + """Test AuthenticationexternalEditObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalEditObjectV1Request` + """ + model = AuthenticationexternalEditObjectV1Request() + if include_optional: + return AuthenticationexternalEditObjectV1Request( + obj_authenticationexternal = eZmaxApi.models.authenticationexternal_request_compound.authenticationexternal-RequestCompound() + ) + else: + return AuthenticationexternalEditObjectV1Request( + obj_authenticationexternal = eZmaxApi.models.authenticationexternal_request_compound.authenticationexternal-RequestCompound(), + ) + """ + + def testAuthenticationexternalEditObjectV1Request(self): + """Test AuthenticationexternalEditObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_edit_object_v1_response.py b/test/test_authenticationexternal_edit_object_v1_response.py new file mode 100644 index 000000000..476fa28b4 --- /dev/null +++ b/test/test_authenticationexternal_edit_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_edit_object_v1_response import AuthenticationexternalEditObjectV1Response + +class TestAuthenticationexternalEditObjectV1Response(unittest.TestCase): + """AuthenticationexternalEditObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalEditObjectV1Response: + """Test AuthenticationexternalEditObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalEditObjectV1Response` + """ + model = AuthenticationexternalEditObjectV1Response() + if include_optional: + return AuthenticationexternalEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return AuthenticationexternalEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testAuthenticationexternalEditObjectV1Response(self): + """Test AuthenticationexternalEditObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_get_autocomplete_v2_response.py b/test/test_authenticationexternal_get_autocomplete_v2_response.py new file mode 100644 index 000000000..f6abeb49b --- /dev/null +++ b/test/test_authenticationexternal_get_autocomplete_v2_response.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response import AuthenticationexternalGetAutocompleteV2Response + +class TestAuthenticationexternalGetAutocompleteV2Response(unittest.TestCase): + """AuthenticationexternalGetAutocompleteV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalGetAutocompleteV2Response: + """Test AuthenticationexternalGetAutocompleteV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalGetAutocompleteV2Response` + """ + model = AuthenticationexternalGetAutocompleteV2Response() + if include_optional: + return AuthenticationexternalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response_m_payload.authenticationexternal-getAutocomplete-v2-Response-mPayload( + a_obj_authenticationexternal = [ + eZmaxApi.models.authenticationexternal_autocomplete_element_response.authenticationexternal-AutocompleteElement-Response( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + b_authenticationexternal_isactive = True, ) + ], ) + ) + else: + return AuthenticationexternalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response_m_payload.authenticationexternal-getAutocomplete-v2-Response-mPayload( + a_obj_authenticationexternal = [ + eZmaxApi.models.authenticationexternal_autocomplete_element_response.authenticationexternal-AutocompleteElement-Response( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + b_authenticationexternal_isactive = True, ) + ], ), + ) + """ + + def testAuthenticationexternalGetAutocompleteV2Response(self): + """Test AuthenticationexternalGetAutocompleteV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_get_autocomplete_v2_response_m_payload.py b/test/test_authenticationexternal_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..d17933394 --- /dev/null +++ b/test/test_authenticationexternal_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response_m_payload import AuthenticationexternalGetAutocompleteV2ResponseMPayload + +class TestAuthenticationexternalGetAutocompleteV2ResponseMPayload(unittest.TestCase): + """AuthenticationexternalGetAutocompleteV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalGetAutocompleteV2ResponseMPayload: + """Test AuthenticationexternalGetAutocompleteV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalGetAutocompleteV2ResponseMPayload` + """ + model = AuthenticationexternalGetAutocompleteV2ResponseMPayload() + if include_optional: + return AuthenticationexternalGetAutocompleteV2ResponseMPayload( + a_obj_authenticationexternal = [ + eZmaxApi.models.authenticationexternal_autocomplete_element_response.authenticationexternal-AutocompleteElement-Response( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + b_authenticationexternal_isactive = True, ) + ] + ) + else: + return AuthenticationexternalGetAutocompleteV2ResponseMPayload( + a_obj_authenticationexternal = [ + eZmaxApi.models.authenticationexternal_autocomplete_element_response.authenticationexternal-AutocompleteElement-Response( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + b_authenticationexternal_isactive = True, ) + ], + ) + """ + + def testAuthenticationexternalGetAutocompleteV2ResponseMPayload(self): + """Test AuthenticationexternalGetAutocompleteV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_get_list_v1_response.py b/test/test_authenticationexternal_get_list_v1_response.py new file mode 100644 index 000000000..cc8ebfd6f --- /dev/null +++ b/test/test_authenticationexternal_get_list_v1_response.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_get_list_v1_response import AuthenticationexternalGetListV1Response + +class TestAuthenticationexternalGetListV1Response(unittest.TestCase): + """AuthenticationexternalGetListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalGetListV1Response: + """Test AuthenticationexternalGetListV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalGetListV1Response` + """ + model = AuthenticationexternalGetListV1Response() + if include_optional: + return AuthenticationexternalGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.authenticationexternal_get_list_v1_response_m_payload.authenticationexternal-getList-v1-Response-mPayload() + ) + else: + return AuthenticationexternalGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.authenticationexternal_get_list_v1_response_m_payload.authenticationexternal-getList-v1-Response-mPayload(), + ) + """ + + def testAuthenticationexternalGetListV1Response(self): + """Test AuthenticationexternalGetListV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_get_list_v1_response_m_payload.py b/test/test_authenticationexternal_get_list_v1_response_m_payload.py new file mode 100644 index 000000000..e0a5d2ac9 --- /dev/null +++ b/test/test_authenticationexternal_get_list_v1_response_m_payload.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_get_list_v1_response_m_payload import AuthenticationexternalGetListV1ResponseMPayload + +class TestAuthenticationexternalGetListV1ResponseMPayload(unittest.TestCase): + """AuthenticationexternalGetListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalGetListV1ResponseMPayload: + """Test AuthenticationexternalGetListV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalGetListV1ResponseMPayload` + """ + model = AuthenticationexternalGetListV1ResponseMPayload() + if include_optional: + return AuthenticationexternalGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, + a_obj_authenticationexternal = [ + eZmaxApi.models.authenticationexternal_list_element.authenticationexternal-ListElement( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + b_authenticationexternal_connected = True, ) + ] + ) + else: + return AuthenticationexternalGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, + a_obj_authenticationexternal = [ + eZmaxApi.models.authenticationexternal_list_element.authenticationexternal-ListElement( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + b_authenticationexternal_connected = True, ) + ], + ) + """ + + def testAuthenticationexternalGetListV1ResponseMPayload(self): + """Test AuthenticationexternalGetListV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_get_object_v2_response.py b/test/test_authenticationexternal_get_object_v2_response.py new file mode 100644 index 000000000..069d9f465 --- /dev/null +++ b/test/test_authenticationexternal_get_object_v2_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_get_object_v2_response import AuthenticationexternalGetObjectV2Response + +class TestAuthenticationexternalGetObjectV2Response(unittest.TestCase): + """AuthenticationexternalGetObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalGetObjectV2Response: + """Test AuthenticationexternalGetObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalGetObjectV2Response` + """ + model = AuthenticationexternalGetObjectV2Response() + if include_optional: + return AuthenticationexternalGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.authenticationexternal_get_object_v2_response_m_payload.authenticationexternal-getObject-v2-Response-mPayload( + obj_authenticationexternal = eZmaxApi.models.authenticationexternal_response_compound.authenticationexternal-ResponseCompound(), ) + ) + else: + return AuthenticationexternalGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.authenticationexternal_get_object_v2_response_m_payload.authenticationexternal-getObject-v2-Response-mPayload( + obj_authenticationexternal = eZmaxApi.models.authenticationexternal_response_compound.authenticationexternal-ResponseCompound(), ), + ) + """ + + def testAuthenticationexternalGetObjectV2Response(self): + """Test AuthenticationexternalGetObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_get_object_v2_response_m_payload.py b/test/test_authenticationexternal_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..3f874f753 --- /dev/null +++ b/test/test_authenticationexternal_get_object_v2_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_get_object_v2_response_m_payload import AuthenticationexternalGetObjectV2ResponseMPayload + +class TestAuthenticationexternalGetObjectV2ResponseMPayload(unittest.TestCase): + """AuthenticationexternalGetObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalGetObjectV2ResponseMPayload: + """Test AuthenticationexternalGetObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalGetObjectV2ResponseMPayload` + """ + model = AuthenticationexternalGetObjectV2ResponseMPayload() + if include_optional: + return AuthenticationexternalGetObjectV2ResponseMPayload( + obj_authenticationexternal = eZmaxApi.models.authenticationexternal_response_compound.authenticationexternal-ResponseCompound() + ) + else: + return AuthenticationexternalGetObjectV2ResponseMPayload( + obj_authenticationexternal = eZmaxApi.models.authenticationexternal_response_compound.authenticationexternal-ResponseCompound(), + ) + """ + + def testAuthenticationexternalGetObjectV2ResponseMPayload(self): + """Test AuthenticationexternalGetObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_list_element.py b/test/test_authenticationexternal_list_element.py new file mode 100644 index 000000000..1d4a9b13c --- /dev/null +++ b/test/test_authenticationexternal_list_element.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_list_element import AuthenticationexternalListElement + +class TestAuthenticationexternalListElement(unittest.TestCase): + """AuthenticationexternalListElement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalListElement: + """Test AuthenticationexternalListElement + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalListElement` + """ + model = AuthenticationexternalListElement() + if include_optional: + return AuthenticationexternalListElement( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + b_authenticationexternal_connected = True + ) + else: + return AuthenticationexternalListElement( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + b_authenticationexternal_connected = True, + ) + """ + + def testAuthenticationexternalListElement(self): + """Test AuthenticationexternalListElement""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_request.py b/test/test_authenticationexternal_request.py new file mode 100644 index 000000000..9e9ab6a27 --- /dev/null +++ b/test/test_authenticationexternal_request.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_request import AuthenticationexternalRequest + +class TestAuthenticationexternalRequest(unittest.TestCase): + """AuthenticationexternalRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalRequest: + """Test AuthenticationexternalRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalRequest` + """ + model = AuthenticationexternalRequest() + if include_optional: + return AuthenticationexternalRequest( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce' + ) + else: + return AuthenticationexternalRequest( + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + ) + """ + + def testAuthenticationexternalRequest(self): + """Test AuthenticationexternalRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_request_compound.py b/test/test_authenticationexternal_request_compound.py new file mode 100644 index 000000000..59d6b1b03 --- /dev/null +++ b/test/test_authenticationexternal_request_compound.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_request_compound import AuthenticationexternalRequestCompound + +class TestAuthenticationexternalRequestCompound(unittest.TestCase): + """AuthenticationexternalRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalRequestCompound: + """Test AuthenticationexternalRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalRequestCompound` + """ + model = AuthenticationexternalRequestCompound() + if include_optional: + return AuthenticationexternalRequestCompound( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce' + ) + else: + return AuthenticationexternalRequestCompound( + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + ) + """ + + def testAuthenticationexternalRequestCompound(self): + """Test AuthenticationexternalRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_reset_authorization_v1_response.py b/test/test_authenticationexternal_reset_authorization_v1_response.py new file mode 100644 index 000000000..11f636b55 --- /dev/null +++ b/test/test_authenticationexternal_reset_authorization_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_reset_authorization_v1_response import AuthenticationexternalResetAuthorizationV1Response + +class TestAuthenticationexternalResetAuthorizationV1Response(unittest.TestCase): + """AuthenticationexternalResetAuthorizationV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalResetAuthorizationV1Response: + """Test AuthenticationexternalResetAuthorizationV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalResetAuthorizationV1Response` + """ + model = AuthenticationexternalResetAuthorizationV1Response() + if include_optional: + return AuthenticationexternalResetAuthorizationV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return AuthenticationexternalResetAuthorizationV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testAuthenticationexternalResetAuthorizationV1Response(self): + """Test AuthenticationexternalResetAuthorizationV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_response.py b/test/test_authenticationexternal_response.py new file mode 100644 index 000000000..6ee887073 --- /dev/null +++ b/test/test_authenticationexternal_response.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_response import AuthenticationexternalResponse + +class TestAuthenticationexternalResponse(unittest.TestCase): + """AuthenticationexternalResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalResponse: + """Test AuthenticationexternalResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalResponse` + """ + model = AuthenticationexternalResponse() + if include_optional: + return AuthenticationexternalResponse( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + b_authenticationexternal_connected = True, + s_authenticationexternal_authorizationurl = 'http://www.website.com/authorize.php', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) + ) + else: + return AuthenticationexternalResponse( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + ) + """ + + def testAuthenticationexternalResponse(self): + """Test AuthenticationexternalResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_authenticationexternal_response_compound.py b/test/test_authenticationexternal_response_compound.py new file mode 100644 index 000000000..072d77964 --- /dev/null +++ b/test/test_authenticationexternal_response_compound.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.authenticationexternal_response_compound import AuthenticationexternalResponseCompound + +class TestAuthenticationexternalResponseCompound(unittest.TestCase): + """AuthenticationexternalResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AuthenticationexternalResponseCompound: + """Test AuthenticationexternalResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthenticationexternalResponseCompound` + """ + model = AuthenticationexternalResponseCompound() + if include_optional: + return AuthenticationexternalResponseCompound( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + b_authenticationexternal_connected = True, + s_authenticationexternal_authorizationurl = 'http://www.website.com/authorize.php', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) + ) + else: + return AuthenticationexternalResponseCompound( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + ) + """ + + def testAuthenticationexternalResponseCompound(self): + """Test AuthenticationexternalResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_billingentityexternal_autocomplete_element_response.py b/test/test_billingentityexternal_autocomplete_element_response.py index ac806bbab..1a8deb059 100644 --- a/test/test_billingentityexternal_autocomplete_element_response.py +++ b/test/test_billingentityexternal_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityexternalAutocompleteElementResponse: """Test BillingentityexternalAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityexternalAutocompleteElementResponse` diff --git a/test/test_billingentityexternal_generate_federation_token_v1_request.py b/test/test_billingentityexternal_generate_federation_token_v1_request.py new file mode 100644 index 000000000..5572490f0 --- /dev/null +++ b/test/test_billingentityexternal_generate_federation_token_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_request import BillingentityexternalGenerateFederationTokenV1Request + +class TestBillingentityexternalGenerateFederationTokenV1Request(unittest.TestCase): + """BillingentityexternalGenerateFederationTokenV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BillingentityexternalGenerateFederationTokenV1Request: + """Test BillingentityexternalGenerateFederationTokenV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BillingentityexternalGenerateFederationTokenV1Request` + """ + model = BillingentityexternalGenerateFederationTokenV1Request() + if include_optional: + return BillingentityexternalGenerateFederationTokenV1Request( + fks_ezmaxcustomer_code = 'demo' + ) + else: + return BillingentityexternalGenerateFederationTokenV1Request( + fks_ezmaxcustomer_code = 'demo', + ) + """ + + def testBillingentityexternalGenerateFederationTokenV1Request(self): + """Test BillingentityexternalGenerateFederationTokenV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_billingentityexternal_generate_federation_token_v1_response.py b/test/test_billingentityexternal_generate_federation_token_v1_response.py new file mode 100644 index 000000000..c1839ed5c --- /dev/null +++ b/test/test_billingentityexternal_generate_federation_token_v1_response.py @@ -0,0 +1,78 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response import BillingentityexternalGenerateFederationTokenV1Response + +class TestBillingentityexternalGenerateFederationTokenV1Response(unittest.TestCase): + """BillingentityexternalGenerateFederationTokenV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BillingentityexternalGenerateFederationTokenV1Response: + """Test BillingentityexternalGenerateFederationTokenV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BillingentityexternalGenerateFederationTokenV1Response` + """ + model = BillingentityexternalGenerateFederationTokenV1Response() + if include_optional: + return BillingentityexternalGenerateFederationTokenV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response_m_payload.billingentityexternal-generateFederationToken-v1-Response-mPayload( + obj_apikeyfederation = eZmaxApi.models.custom_apikeyfederation.Custom-Apikeyfederation( + s_apikeyfederation_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H'qT\\{i H'qT\\{ BillingentityexternalGenerateFederationTokenV1ResponseMPayload: + """Test BillingentityexternalGenerateFederationTokenV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BillingentityexternalGenerateFederationTokenV1ResponseMPayload` + """ + model = BillingentityexternalGenerateFederationTokenV1ResponseMPayload() + if include_optional: + return BillingentityexternalGenerateFederationTokenV1ResponseMPayload( + obj_apikeyfederation = eZmaxApi.models.custom_apikeyfederation.Custom-Apikeyfederation( + s_apikeyfederation_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H'qT\\{i H'qT\\{ BillingentityexternalGetAutocompleteV2Response: """Test BillingentityexternalGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityexternalGetAutocompleteV2Response` diff --git a/test/test_billingentityexternal_get_autocomplete_v2_response_m_payload.py b/test/test_billingentityexternal_get_autocomplete_v2_response_m_payload.py index e906f3b27..66f3ef581 100644 --- a/test/test_billingentityexternal_get_autocomplete_v2_response_m_payload.py +++ b/test/test_billingentityexternal_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityexternalGetAutocompleteV2ResponseMPayload: """Test BillingentityexternalGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityexternalGetAutocompleteV2ResponseMPayload` diff --git a/test/test_billingentityinternal_autocomplete_element_response.py b/test/test_billingentityinternal_autocomplete_element_response.py index 8f2899d0f..3e551fd87 100644 --- a/test/test_billingentityinternal_autocomplete_element_response.py +++ b/test/test_billingentityinternal_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalAutocompleteElementResponse: """Test BillingentityinternalAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalAutocompleteElementResponse` diff --git a/test/test_billingentityinternal_create_object_v1_request.py b/test/test_billingentityinternal_create_object_v1_request.py index ef8624ac6..0116b1ddd 100644 --- a/test/test_billingentityinternal_create_object_v1_request.py +++ b/test/test_billingentityinternal_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalCreateObjectV1Request: """Test BillingentityinternalCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalCreateObjectV1Request` diff --git a/test/test_billingentityinternal_create_object_v1_response.py b/test/test_billingentityinternal_create_object_v1_response.py index e34d75c25..7c353d483 100644 --- a/test/test_billingentityinternal_create_object_v1_response.py +++ b/test/test_billingentityinternal_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalCreateObjectV1Response: """Test BillingentityinternalCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalCreateObjectV1Response` diff --git a/test/test_billingentityinternal_create_object_v1_response_m_payload.py b/test/test_billingentityinternal_create_object_v1_response_m_payload.py index ac72efa29..998bc650f 100644 --- a/test/test_billingentityinternal_create_object_v1_response_m_payload.py +++ b/test/test_billingentityinternal_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalCreateObjectV1ResponseMPayload: """Test BillingentityinternalCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalCreateObjectV1ResponseMPayload` diff --git a/test/test_billingentityinternal_edit_object_v1_request.py b/test/test_billingentityinternal_edit_object_v1_request.py index 13c0e8083..2e768e543 100644 --- a/test/test_billingentityinternal_edit_object_v1_request.py +++ b/test/test_billingentityinternal_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalEditObjectV1Request: """Test BillingentityinternalEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalEditObjectV1Request` diff --git a/test/test_billingentityinternal_edit_object_v1_response.py b/test/test_billingentityinternal_edit_object_v1_response.py index 56eff1553..2c868219e 100644 --- a/test/test_billingentityinternal_edit_object_v1_response.py +++ b/test/test_billingentityinternal_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalEditObjectV1Response: """Test BillingentityinternalEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalEditObjectV1Response` diff --git a/test/test_billingentityinternal_get_autocomplete_v2_response.py b/test/test_billingentityinternal_get_autocomplete_v2_response.py index 240a25e20..f7815d47f 100644 --- a/test/test_billingentityinternal_get_autocomplete_v2_response.py +++ b/test/test_billingentityinternal_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalGetAutocompleteV2Response: """Test BillingentityinternalGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalGetAutocompleteV2Response` diff --git a/test/test_billingentityinternal_get_autocomplete_v2_response_m_payload.py b/test/test_billingentityinternal_get_autocomplete_v2_response_m_payload.py index e1240ea73..3970e8d2a 100644 --- a/test/test_billingentityinternal_get_autocomplete_v2_response_m_payload.py +++ b/test/test_billingentityinternal_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalGetAutocompleteV2ResponseMPayload: """Test BillingentityinternalGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalGetAutocompleteV2ResponseMPayload` diff --git a/test/test_billingentityinternal_get_list_v1_response.py b/test/test_billingentityinternal_get_list_v1_response.py index d01a294ee..16e2ab206 100644 --- a/test/test_billingentityinternal_get_list_v1_response.py +++ b/test/test_billingentityinternal_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalGetListV1Response: """Test BillingentityinternalGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalGetListV1Response` diff --git a/test/test_billingentityinternal_get_list_v1_response_m_payload.py b/test/test_billingentityinternal_get_list_v1_response_m_payload.py index 3b754735d..f5b2a520f 100644 --- a/test/test_billingentityinternal_get_list_v1_response_m_payload.py +++ b/test/test_billingentityinternal_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalGetListV1ResponseMPayload: """Test BillingentityinternalGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalGetListV1ResponseMPayload` diff --git a/test/test_billingentityinternal_get_object_v2_response.py b/test/test_billingentityinternal_get_object_v2_response.py index f70f403e1..b8c9b9a33 100644 --- a/test/test_billingentityinternal_get_object_v2_response.py +++ b/test/test_billingentityinternal_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalGetObjectV2Response: """Test BillingentityinternalGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalGetObjectV2Response` diff --git a/test/test_billingentityinternal_get_object_v2_response_m_payload.py b/test/test_billingentityinternal_get_object_v2_response_m_payload.py index f58fa7bc3..a22c1d7e1 100644 --- a/test/test_billingentityinternal_get_object_v2_response_m_payload.py +++ b/test/test_billingentityinternal_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalGetObjectV2ResponseMPayload: """Test BillingentityinternalGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalGetObjectV2ResponseMPayload` diff --git a/test/test_billingentityinternal_list_element.py b/test/test_billingentityinternal_list_element.py index 185b33d31..152a0b6c1 100644 --- a/test/test_billingentityinternal_list_element.py +++ b/test/test_billingentityinternal_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalListElement: """Test BillingentityinternalListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalListElement` diff --git a/test/test_billingentityinternal_request.py b/test/test_billingentityinternal_request.py index a71774f2e..2ad86d5ee 100644 --- a/test/test_billingentityinternal_request.py +++ b/test/test_billingentityinternal_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalRequest: """Test BillingentityinternalRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalRequest` diff --git a/test/test_billingentityinternal_request_compound.py b/test/test_billingentityinternal_request_compound.py index 41b7cd63a..fb3955992 100644 --- a/test/test_billingentityinternal_request_compound.py +++ b/test/test_billingentityinternal_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalRequestCompound: """Test BillingentityinternalRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalRequestCompound` diff --git a/test/test_billingentityinternal_response.py b/test/test_billingentityinternal_response.py index a458af285..319a736d1 100644 --- a/test/test_billingentityinternal_response.py +++ b/test/test_billingentityinternal_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalResponse: """Test BillingentityinternalResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalResponse` diff --git a/test/test_billingentityinternal_response_compound.py b/test/test_billingentityinternal_response_compound.py index 48a601b3a..dc317cc8d 100644 --- a/test/test_billingentityinternal_response_compound.py +++ b/test/test_billingentityinternal_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalResponseCompound: """Test BillingentityinternalResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalResponseCompound` diff --git a/test/test_billingentityinternalproduct_request.py b/test/test_billingentityinternalproduct_request.py index 0a6d1c26e..160c3e513 100644 --- a/test/test_billingentityinternalproduct_request.py +++ b/test/test_billingentityinternalproduct_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalproductRequest: """Test BillingentityinternalproductRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalproductRequest` diff --git a/test/test_billingentityinternalproduct_request_compound.py b/test/test_billingentityinternalproduct_request_compound.py index 66336f1dd..5d6ff2ce3 100644 --- a/test/test_billingentityinternalproduct_request_compound.py +++ b/test/test_billingentityinternalproduct_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalproductRequestCompound: """Test BillingentityinternalproductRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalproductRequestCompound` diff --git a/test/test_billingentityinternalproduct_response.py b/test/test_billingentityinternalproduct_response.py index 2d73083b1..60ed12a8b 100644 --- a/test/test_billingentityinternalproduct_response.py +++ b/test/test_billingentityinternalproduct_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalproductResponse: """Test BillingentityinternalproductResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalproductResponse` diff --git a/test/test_billingentityinternalproduct_response_compound.py b/test/test_billingentityinternalproduct_response_compound.py index 3f3da3cf2..96fa86954 100644 --- a/test/test_billingentityinternalproduct_response_compound.py +++ b/test/test_billingentityinternalproduct_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BillingentityinternalproductResponseCompound: """Test BillingentityinternalproductResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BillingentityinternalproductResponseCompound` diff --git a/test/test_branding_autocomplete_element_response.py b/test/test_branding_autocomplete_element_response.py index 54039a2ec..af9a06305 100644 --- a/test/test_branding_autocomplete_element_response.py +++ b/test/test_branding_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BrandingAutocompleteElementResponse: """Test BrandingAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BrandingAutocompleteElementResponse` diff --git a/test/test_branding_create_object_v1_request.py b/test/test_branding_create_object_v1_request.py deleted file mode 100644 index 6b8e5d498..000000000 --- a/test/test_branding_create_object_v1_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_create_object_v1_request import BrandingCreateObjectV1Request - -class TestBrandingCreateObjectV1Request(unittest.TestCase): - """BrandingCreateObjectV1Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingCreateObjectV1Request: - """Test BrandingCreateObjectV1Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingCreateObjectV1Request` - """ - model = BrandingCreateObjectV1Request() - if include_optional: - return BrandingCreateObjectV1Request( - a_obj_branding = [ - eZmaxApi.models.branding_request_compound.branding-RequestCompound() - ] - ) - else: - return BrandingCreateObjectV1Request( - a_obj_branding = [ - eZmaxApi.models.branding_request_compound.branding-RequestCompound() - ], - ) - """ - - def testBrandingCreateObjectV1Request(self): - """Test BrandingCreateObjectV1Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_create_object_v1_response.py b/test/test_branding_create_object_v1_response.py deleted file mode 100644 index a94c9edc4..000000000 --- a/test/test_branding_create_object_v1_response.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_create_object_v1_response import BrandingCreateObjectV1Response - -class TestBrandingCreateObjectV1Response(unittest.TestCase): - """BrandingCreateObjectV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingCreateObjectV1Response: - """Test BrandingCreateObjectV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingCreateObjectV1Response` - """ - model = BrandingCreateObjectV1Response() - if include_optional: - return BrandingCreateObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.branding_create_object_v1_response_m_payload.branding-createObject-v1-Response-mPayload( - a_pki_branding_id = [ - 78 - ], ) - ) - else: - return BrandingCreateObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.branding_create_object_v1_response_m_payload.branding-createObject-v1-Response-mPayload( - a_pki_branding_id = [ - 78 - ], ), - ) - """ - - def testBrandingCreateObjectV1Response(self): - """Test BrandingCreateObjectV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_create_object_v1_response_m_payload.py b/test/test_branding_create_object_v1_response_m_payload.py deleted file mode 100644 index 1dc1eea9b..000000000 --- a/test/test_branding_create_object_v1_response_m_payload.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_create_object_v1_response_m_payload import BrandingCreateObjectV1ResponseMPayload - -class TestBrandingCreateObjectV1ResponseMPayload(unittest.TestCase): - """BrandingCreateObjectV1ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingCreateObjectV1ResponseMPayload: - """Test BrandingCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingCreateObjectV1ResponseMPayload` - """ - model = BrandingCreateObjectV1ResponseMPayload() - if include_optional: - return BrandingCreateObjectV1ResponseMPayload( - a_pki_branding_id = [ - 78 - ] - ) - else: - return BrandingCreateObjectV1ResponseMPayload( - a_pki_branding_id = [ - 78 - ], - ) - """ - - def testBrandingCreateObjectV1ResponseMPayload(self): - """Test BrandingCreateObjectV1ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_create_object_v2_request.py b/test/test_branding_create_object_v2_request.py new file mode 100644 index 000000000..ddd4ee194 --- /dev/null +++ b/test/test_branding_create_object_v2_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_create_object_v2_request import BrandingCreateObjectV2Request + +class TestBrandingCreateObjectV2Request(unittest.TestCase): + """BrandingCreateObjectV2Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingCreateObjectV2Request: + """Test BrandingCreateObjectV2Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingCreateObjectV2Request` + """ + model = BrandingCreateObjectV2Request() + if include_optional: + return BrandingCreateObjectV2Request( + a_obj_branding = [ + eZmaxApi.models.branding_request_compound_v2.branding-RequestCompoundV2() + ] + ) + else: + return BrandingCreateObjectV2Request( + a_obj_branding = [ + eZmaxApi.models.branding_request_compound_v2.branding-RequestCompoundV2() + ], + ) + """ + + def testBrandingCreateObjectV2Request(self): + """Test BrandingCreateObjectV2Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_branding_create_object_v2_response.py b/test/test_branding_create_object_v2_response.py new file mode 100644 index 000000000..cf70caaa7 --- /dev/null +++ b/test/test_branding_create_object_v2_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_create_object_v2_response import BrandingCreateObjectV2Response + +class TestBrandingCreateObjectV2Response(unittest.TestCase): + """BrandingCreateObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingCreateObjectV2Response: + """Test BrandingCreateObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingCreateObjectV2Response` + """ + model = BrandingCreateObjectV2Response() + if include_optional: + return BrandingCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.branding_create_object_v2_response_m_payload.branding-createObject-v2-Response-mPayload( + a_pki_branding_id = [ + 78 + ], ) + ) + else: + return BrandingCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.branding_create_object_v2_response_m_payload.branding-createObject-v2-Response-mPayload( + a_pki_branding_id = [ + 78 + ], ), + ) + """ + + def testBrandingCreateObjectV2Response(self): + """Test BrandingCreateObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_branding_create_object_v2_response_m_payload.py b/test/test_branding_create_object_v2_response_m_payload.py new file mode 100644 index 000000000..2f74e8147 --- /dev/null +++ b/test/test_branding_create_object_v2_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_create_object_v2_response_m_payload import BrandingCreateObjectV2ResponseMPayload + +class TestBrandingCreateObjectV2ResponseMPayload(unittest.TestCase): + """BrandingCreateObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingCreateObjectV2ResponseMPayload: + """Test BrandingCreateObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingCreateObjectV2ResponseMPayload` + """ + model = BrandingCreateObjectV2ResponseMPayload() + if include_optional: + return BrandingCreateObjectV2ResponseMPayload( + a_pki_branding_id = [ + 78 + ] + ) + else: + return BrandingCreateObjectV2ResponseMPayload( + a_pki_branding_id = [ + 78 + ], + ) + """ + + def testBrandingCreateObjectV2ResponseMPayload(self): + """Test BrandingCreateObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_branding_edit_object_v1_request.py b/test/test_branding_edit_object_v1_request.py deleted file mode 100644 index cbc153417..000000000 --- a/test/test_branding_edit_object_v1_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_edit_object_v1_request import BrandingEditObjectV1Request - -class TestBrandingEditObjectV1Request(unittest.TestCase): - """BrandingEditObjectV1Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingEditObjectV1Request: - """Test BrandingEditObjectV1Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingEditObjectV1Request` - """ - model = BrandingEditObjectV1Request() - if include_optional: - return BrandingEditObjectV1Request( - obj_branding = eZmaxApi.models.branding_request_compound.branding-RequestCompound() - ) - else: - return BrandingEditObjectV1Request( - obj_branding = eZmaxApi.models.branding_request_compound.branding-RequestCompound(), - ) - """ - - def testBrandingEditObjectV1Request(self): - """Test BrandingEditObjectV1Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_edit_object_v1_response.py b/test/test_branding_edit_object_v1_response.py deleted file mode 100644 index 5451f61ae..000000000 --- a/test/test_branding_edit_object_v1_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_edit_object_v1_response import BrandingEditObjectV1Response - -class TestBrandingEditObjectV1Response(unittest.TestCase): - """BrandingEditObjectV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingEditObjectV1Response: - """Test BrandingEditObjectV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingEditObjectV1Response` - """ - model = BrandingEditObjectV1Response() - if include_optional: - return BrandingEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} - ) - else: - return BrandingEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - ) - """ - - def testBrandingEditObjectV1Response(self): - """Test BrandingEditObjectV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_edit_object_v2_request.py b/test/test_branding_edit_object_v2_request.py new file mode 100644 index 000000000..d586c603f --- /dev/null +++ b/test/test_branding_edit_object_v2_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_edit_object_v2_request import BrandingEditObjectV2Request + +class TestBrandingEditObjectV2Request(unittest.TestCase): + """BrandingEditObjectV2Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingEditObjectV2Request: + """Test BrandingEditObjectV2Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingEditObjectV2Request` + """ + model = BrandingEditObjectV2Request() + if include_optional: + return BrandingEditObjectV2Request( + obj_branding = eZmaxApi.models.branding_request_compound_v2.branding-RequestCompoundV2() + ) + else: + return BrandingEditObjectV2Request( + obj_branding = eZmaxApi.models.branding_request_compound_v2.branding-RequestCompoundV2(), + ) + """ + + def testBrandingEditObjectV2Request(self): + """Test BrandingEditObjectV2Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_branding_edit_object_v2_response.py b/test/test_branding_edit_object_v2_response.py new file mode 100644 index 000000000..edb49dd05 --- /dev/null +++ b/test/test_branding_edit_object_v2_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_edit_object_v2_response import BrandingEditObjectV2Response + +class TestBrandingEditObjectV2Response(unittest.TestCase): + """BrandingEditObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingEditObjectV2Response: + """Test BrandingEditObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingEditObjectV2Response` + """ + model = BrandingEditObjectV2Response() + if include_optional: + return BrandingEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return BrandingEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testBrandingEditObjectV2Response(self): + """Test BrandingEditObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_branding_get_autocomplete_v2_response.py b/test/test_branding_get_autocomplete_v2_response.py index b0e1f9503..971af053a 100644 --- a/test/test_branding_get_autocomplete_v2_response.py +++ b/test/test_branding_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BrandingGetAutocompleteV2Response: """Test BrandingGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BrandingGetAutocompleteV2Response` diff --git a/test/test_branding_get_autocomplete_v2_response_m_payload.py b/test/test_branding_get_autocomplete_v2_response_m_payload.py index 5d8fdac33..8ee5c6479 100644 --- a/test/test_branding_get_autocomplete_v2_response_m_payload.py +++ b/test/test_branding_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BrandingGetAutocompleteV2ResponseMPayload: """Test BrandingGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BrandingGetAutocompleteV2ResponseMPayload` diff --git a/test/test_branding_get_list_v1_response.py b/test/test_branding_get_list_v1_response.py index b5112907e..2c0ee59a5 100644 --- a/test/test_branding_get_list_v1_response.py +++ b/test/test_branding_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BrandingGetListV1Response: """Test BrandingGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BrandingGetListV1Response` diff --git a/test/test_branding_get_list_v1_response_m_payload.py b/test/test_branding_get_list_v1_response_m_payload.py index 9f54d2a42..ebc9dc2b8 100644 --- a/test/test_branding_get_list_v1_response_m_payload.py +++ b/test/test_branding_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BrandingGetListV1ResponseMPayload: """Test BrandingGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BrandingGetListV1ResponseMPayload` diff --git a/test/test_branding_get_object_v2_response.py b/test/test_branding_get_object_v2_response.py deleted file mode 100644 index 887be16f9..000000000 --- a/test/test_branding_get_object_v2_response.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_get_object_v2_response import BrandingGetObjectV2Response - -class TestBrandingGetObjectV2Response(unittest.TestCase): - """BrandingGetObjectV2Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingGetObjectV2Response: - """Test BrandingGetObjectV2Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingGetObjectV2Response` - """ - model = BrandingGetObjectV2Response() - if include_optional: - return BrandingGetObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.branding_get_object_v2_response_m_payload.branding-getObject-v2-Response-mPayload( - obj_branding = eZmaxApi.models.branding_response_compound.branding-ResponseCompound(), ) - ) - else: - return BrandingGetObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.branding_get_object_v2_response_m_payload.branding-getObject-v2-Response-mPayload( - obj_branding = eZmaxApi.models.branding_response_compound.branding-ResponseCompound(), ), - ) - """ - - def testBrandingGetObjectV2Response(self): - """Test BrandingGetObjectV2Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_get_object_v2_response_m_payload.py b/test/test_branding_get_object_v2_response_m_payload.py deleted file mode 100644 index a6b3997e2..000000000 --- a/test/test_branding_get_object_v2_response_m_payload.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_get_object_v2_response_m_payload import BrandingGetObjectV2ResponseMPayload - -class TestBrandingGetObjectV2ResponseMPayload(unittest.TestCase): - """BrandingGetObjectV2ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingGetObjectV2ResponseMPayload: - """Test BrandingGetObjectV2ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingGetObjectV2ResponseMPayload` - """ - model = BrandingGetObjectV2ResponseMPayload() - if include_optional: - return BrandingGetObjectV2ResponseMPayload( - obj_branding = eZmaxApi.models.branding_response_compound.branding-ResponseCompound() - ) - else: - return BrandingGetObjectV2ResponseMPayload( - obj_branding = eZmaxApi.models.branding_response_compound.branding-ResponseCompound(), - ) - """ - - def testBrandingGetObjectV2ResponseMPayload(self): - """Test BrandingGetObjectV2ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_get_object_v3_response.py b/test/test_branding_get_object_v3_response.py new file mode 100644 index 000000000..652c227f3 --- /dev/null +++ b/test/test_branding_get_object_v3_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_get_object_v3_response import BrandingGetObjectV3Response + +class TestBrandingGetObjectV3Response(unittest.TestCase): + """BrandingGetObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingGetObjectV3Response: + """Test BrandingGetObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingGetObjectV3Response` + """ + model = BrandingGetObjectV3Response() + if include_optional: + return BrandingGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.branding_get_object_v3_response_m_payload.branding-getObject-v3-Response-mPayload( + obj_branding = eZmaxApi.models.branding_response_compound_v3.branding-ResponseCompoundV3(), ) + ) + else: + return BrandingGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.branding_get_object_v3_response_m_payload.branding-getObject-v3-Response-mPayload( + obj_branding = eZmaxApi.models.branding_response_compound_v3.branding-ResponseCompoundV3(), ), + ) + """ + + def testBrandingGetObjectV3Response(self): + """Test BrandingGetObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_branding_get_object_v3_response_m_payload.py b/test/test_branding_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..b63342590 --- /dev/null +++ b/test/test_branding_get_object_v3_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_get_object_v3_response_m_payload import BrandingGetObjectV3ResponseMPayload + +class TestBrandingGetObjectV3ResponseMPayload(unittest.TestCase): + """BrandingGetObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingGetObjectV3ResponseMPayload: + """Test BrandingGetObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingGetObjectV3ResponseMPayload` + """ + model = BrandingGetObjectV3ResponseMPayload() + if include_optional: + return BrandingGetObjectV3ResponseMPayload( + obj_branding = eZmaxApi.models.branding_response_compound_v3.branding-ResponseCompoundV3() + ) + else: + return BrandingGetObjectV3ResponseMPayload( + obj_branding = eZmaxApi.models.branding_response_compound_v3.branding-ResponseCompoundV3(), + ) + """ + + def testBrandingGetObjectV3ResponseMPayload(self): + """Test BrandingGetObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_branding_list_element.py b/test/test_branding_list_element.py index c1b91712f..0bd4e2ebb 100644 --- a/test/test_branding_list_element.py +++ b/test/test_branding_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BrandingListElement: """Test BrandingListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BrandingListElement` diff --git a/test/test_branding_request.py b/test/test_branding_request.py deleted file mode 100644 index a5e8c132d..000000000 --- a/test/test_branding_request.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_request import BrandingRequest - -class TestBrandingRequest(unittest.TestCase): - """BrandingRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingRequest: - """Test BrandingRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingRequest` - """ - model = BrandingRequest() - if include_optional: - return BrandingRequest( - pki_branding_id = 78, - obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( - s_branding_description1 = 'Compagnie X', - s_branding_description2 = 'Company X', ), - e_branding_logo = 'Default', - s_branding_base64 = '[B@2d10e0b1', - e_branding_logointerface = 'Default', - s_branding_logointerface_base64 = '[B@1c98290c', - i_branding_colortext = 3752795, - i_branding_colortextlinkbox = 0, - i_branding_colortextbutton = 16777215, - i_branding_colorbackground = 15658734, - i_branding_colorbackgroundbutton = 13577007, - i_branding_colorbackgroundsmallbox = 16777215, - i_branding_interfacecolor = 15658734, - s_branding_name = 'eZmax (Corp)', - s_email_address = 'email@example.com', - b_branding_isactive = True - ) - else: - return BrandingRequest( - obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( - s_branding_description1 = 'Compagnie X', - s_branding_description2 = 'Company X', ), - e_branding_logo = 'Default', - i_branding_colortext = 3752795, - i_branding_colortextlinkbox = 0, - i_branding_colortextbutton = 16777215, - i_branding_colorbackground = 15658734, - i_branding_colorbackgroundbutton = 13577007, - i_branding_colorbackgroundsmallbox = 16777215, - b_branding_isactive = True, - ) - """ - - def testBrandingRequest(self): - """Test BrandingRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_request_compound.py b/test/test_branding_request_compound.py deleted file mode 100644 index 6561d3a43..000000000 --- a/test/test_branding_request_compound.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_request_compound import BrandingRequestCompound - -class TestBrandingRequestCompound(unittest.TestCase): - """BrandingRequestCompound unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingRequestCompound: - """Test BrandingRequestCompound - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingRequestCompound` - """ - model = BrandingRequestCompound() - if include_optional: - return BrandingRequestCompound( - pki_branding_id = 78, - obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( - s_branding_description1 = 'Compagnie X', - s_branding_description2 = 'Company X', ), - e_branding_logo = 'Default', - s_branding_base64 = 'eyIkcmVmIjoiIy9jb21wb25lbnRzL2V4YW1wbGVzL1BuZ0FzQmFzZTY0L3ZhbHVlIn0=', - e_branding_logointerface = 'Default', - s_branding_logointerface_base64 = 'eyIkcmVmIjoiIy9jb21wb25lbnRzL2V4YW1wbGVzL1BuZ0FzQmFzZTY0L3ZhbHVlIn0=', - i_branding_colortext = 3752795, - i_branding_colortextlinkbox = 0, - i_branding_colortextbutton = 16777215, - i_branding_colorbackground = 15658734, - i_branding_colorbackgroundbutton = 13577007, - i_branding_colorbackgroundsmallbox = 16777215, - i_branding_interfacecolor = 15658734, - s_branding_name = 'eZmax (Corp)', - s_email_address = 'email@example.com', - b_branding_isactive = True - ) - else: - return BrandingRequestCompound( - obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( - s_branding_description1 = 'Compagnie X', - s_branding_description2 = 'Company X', ), - e_branding_logo = 'Default', - i_branding_colortext = 3752795, - i_branding_colortextlinkbox = 0, - i_branding_colortextbutton = 16777215, - i_branding_colorbackground = 15658734, - i_branding_colorbackgroundbutton = 13577007, - i_branding_colorbackgroundsmallbox = 16777215, - b_branding_isactive = True, - ) - """ - - def testBrandingRequestCompound(self): - """Test BrandingRequestCompound""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_request_compound_v2.py b/test/test_branding_request_compound_v2.py new file mode 100644 index 000000000..734daf54c --- /dev/null +++ b/test/test_branding_request_compound_v2.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_request_compound_v2 import BrandingRequestCompoundV2 + +class TestBrandingRequestCompoundV2(unittest.TestCase): + """BrandingRequestCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingRequestCompoundV2: + """Test BrandingRequestCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingRequestCompoundV2` + """ + model = BrandingRequestCompoundV2() + if include_optional: + return BrandingRequestCompoundV2( + pki_branding_id = 78, + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + e_branding_logo = 'Default', + e_branding_alignlogo = 'Center', + s_branding_base64 = 'eyIkcmVmIjoiIy9jb21wb25lbnRzL2V4YW1wbGVzL1BuZ0FzQmFzZTY0L3ZhbHVlIn0=', + i_branding_color = 15658734, + s_branding_name = 'eZmax (Corp)', + s_email_address = 'email@example.com', + b_branding_isactive = True + ) + else: + return BrandingRequestCompoundV2( + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + e_branding_logo = 'Default', + i_branding_color = 15658734, + b_branding_isactive = True, + ) + """ + + def testBrandingRequestCompoundV2(self): + """Test BrandingRequestCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_branding_request_v2.py b/test/test_branding_request_v2.py new file mode 100644 index 000000000..c443220a8 --- /dev/null +++ b/test/test_branding_request_v2.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_request_v2 import BrandingRequestV2 + +class TestBrandingRequestV2(unittest.TestCase): + """BrandingRequestV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingRequestV2: + """Test BrandingRequestV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingRequestV2` + """ + model = BrandingRequestV2() + if include_optional: + return BrandingRequestV2( + pki_branding_id = 78, + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + e_branding_logo = 'Default', + e_branding_alignlogo = 'Center', + s_branding_base64 = '[B@b91d8c4', + i_branding_color = 15658734, + s_branding_name = 'eZmax (Corp)', + s_email_address = 'email@example.com', + b_branding_isactive = True + ) + else: + return BrandingRequestV2( + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + e_branding_logo = 'Default', + i_branding_color = 15658734, + b_branding_isactive = True, + ) + """ + + def testBrandingRequestV2(self): + """Test BrandingRequestV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_branding_response.py b/test/test_branding_response.py deleted file mode 100644 index 95e4c97b9..000000000 --- a/test/test_branding_response.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_response import BrandingResponse - -class TestBrandingResponse(unittest.TestCase): - """BrandingResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingResponse: - """Test BrandingResponse - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingResponse` - """ - model = BrandingResponse() - if include_optional: - return BrandingResponse( - pki_branding_id = 78, - fki_email_id = 22, - obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( - s_branding_description1 = 'Compagnie X', - s_branding_description2 = 'Company X', ), - s_branding_description_x = 'Company X', - s_branding_name = 'eZmax (Corp)', - s_email_address = 'email@example.com', - e_branding_logo = 'Default', - e_branding_logointerface = 'Default', - i_branding_colortext = 3752795, - i_branding_colortextlinkbox = 0, - i_branding_colortextbutton = 16777215, - i_branding_colorbackground = 15658734, - i_branding_colorbackgroundbutton = 13577007, - i_branding_colorbackgroundsmallbox = 16777215, - i_branding_interfacecolor = 15658734, - b_branding_isactive = True - ) - else: - return BrandingResponse( - pki_branding_id = 78, - obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( - s_branding_description1 = 'Compagnie X', - s_branding_description2 = 'Company X', ), - s_branding_description_x = 'Company X', - e_branding_logo = 'Default', - i_branding_colortext = 3752795, - i_branding_colortextlinkbox = 0, - i_branding_colortextbutton = 16777215, - i_branding_colorbackground = 15658734, - i_branding_colorbackgroundbutton = 13577007, - i_branding_colorbackgroundsmallbox = 16777215, - b_branding_isactive = True, - ) - """ - - def testBrandingResponse(self): - """Test BrandingResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_response_compound.py b/test/test_branding_response_compound.py deleted file mode 100644 index ffadac10b..000000000 --- a/test/test_branding_response_compound.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.branding_response_compound import BrandingResponseCompound - -class TestBrandingResponseCompound(unittest.TestCase): - """BrandingResponseCompound unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BrandingResponseCompound: - """Test BrandingResponseCompound - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BrandingResponseCompound` - """ - model = BrandingResponseCompound() - if include_optional: - return BrandingResponseCompound( - pki_branding_id = 78, - fki_email_id = 22, - obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( - s_branding_description1 = 'Compagnie X', - s_branding_description2 = 'Company X', ), - s_branding_description_x = 'Company X', - s_branding_name = 'eZmax (Corp)', - s_email_address = 'email@example.com', - e_branding_logo = 'Default', - e_branding_logointerface = 'Default', - i_branding_colortext = 3752795, - i_branding_colortextlinkbox = 0, - i_branding_colortextbutton = 16777215, - i_branding_colorbackground = 15658734, - i_branding_colorbackgroundbutton = 13577007, - i_branding_colorbackgroundsmallbox = 16777215, - i_branding_interfacecolor = 15658734, - b_branding_isactive = True, - s_branding_logourl = 'http://www.example.com/logo.jpg', - s_branding_logointerfaceurl = 'http://www.example.com/logo.jpg' - ) - else: - return BrandingResponseCompound( - pki_branding_id = 78, - obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( - s_branding_description1 = 'Compagnie X', - s_branding_description2 = 'Company X', ), - s_branding_description_x = 'Company X', - e_branding_logo = 'Default', - i_branding_colortext = 3752795, - i_branding_colortextlinkbox = 0, - i_branding_colortextbutton = 16777215, - i_branding_colorbackground = 15658734, - i_branding_colorbackgroundbutton = 13577007, - i_branding_colorbackgroundsmallbox = 16777215, - b_branding_isactive = True, - ) - """ - - def testBrandingResponseCompound(self): - """Test BrandingResponseCompound""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_branding_response_compound_v3.py b/test/test_branding_response_compound_v3.py new file mode 100644 index 000000000..8d3472e50 --- /dev/null +++ b/test/test_branding_response_compound_v3.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_response_compound_v3 import BrandingResponseCompoundV3 + +class TestBrandingResponseCompoundV3(unittest.TestCase): + """BrandingResponseCompoundV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingResponseCompoundV3: + """Test BrandingResponseCompoundV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingResponseCompoundV3` + """ + model = BrandingResponseCompoundV3() + if include_optional: + return BrandingResponseCompoundV3( + pki_branding_id = 78, + fki_email_id = 22, + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + s_branding_description_x = 'Company X', + s_branding_name = 'eZmax (Corp)', + s_email_address = 'email@example.com', + e_branding_logo = 'Default', + e_branding_alignlogo = 'Center', + i_branding_color = 15658734, + b_branding_isactive = True, + s_branding_logourl = 'http://www.example.com/logo.jpg', + s_branding_logoemailurl = 'http://www.example.com/logo.jpg', + s_branding_logointerfaceurl = 'http://www.example.com/logo.jpg' + ) + else: + return BrandingResponseCompoundV3( + pki_branding_id = 78, + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + s_branding_description_x = 'Company X', + e_branding_logo = 'Default', + e_branding_alignlogo = 'Center', + i_branding_color = 15658734, + b_branding_isactive = True, + ) + """ + + def testBrandingResponseCompoundV3(self): + """Test BrandingResponseCompoundV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_branding_response_v3.py b/test/test_branding_response_v3.py new file mode 100644 index 000000000..da9df0930 --- /dev/null +++ b/test/test_branding_response_v3.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.branding_response_v3 import BrandingResponseV3 + +class TestBrandingResponseV3(unittest.TestCase): + """BrandingResponseV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BrandingResponseV3: + """Test BrandingResponseV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BrandingResponseV3` + """ + model = BrandingResponseV3() + if include_optional: + return BrandingResponseV3( + pki_branding_id = 78, + fki_email_id = 22, + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + s_branding_description_x = 'Company X', + s_branding_name = 'eZmax (Corp)', + s_email_address = 'email@example.com', + e_branding_logo = 'Default', + e_branding_alignlogo = 'Center', + i_branding_color = 15658734, + b_branding_isactive = True + ) + else: + return BrandingResponseV3( + pki_branding_id = 78, + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + s_branding_description_x = 'Company X', + e_branding_logo = 'Default', + e_branding_alignlogo = 'Center', + i_branding_color = 15658734, + b_branding_isactive = True, + ) + """ + + def testBrandingResponseV3(self): + """Test BrandingResponseV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_buyercontract_get_communication_count_v1_response.py b/test/test_buyercontract_get_communication_count_v1_response.py new file mode 100644 index 000000000..2f8d294fa --- /dev/null +++ b/test/test_buyercontract_get_communication_count_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.buyercontract_get_communication_count_v1_response import BuyercontractGetCommunicationCountV1Response + +class TestBuyercontractGetCommunicationCountV1Response(unittest.TestCase): + """BuyercontractGetCommunicationCountV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BuyercontractGetCommunicationCountV1Response: + """Test BuyercontractGetCommunicationCountV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BuyercontractGetCommunicationCountV1Response` + """ + model = BuyercontractGetCommunicationCountV1Response() + if include_optional: + return BuyercontractGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.buyercontract_get_communication_count_v1_response_m_payload.buyercontract-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ) + ) + else: + return BuyercontractGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.buyercontract_get_communication_count_v1_response_m_payload.buyercontract-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ), + ) + """ + + def testBuyercontractGetCommunicationCountV1Response(self): + """Test BuyercontractGetCommunicationCountV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_buyercontract_get_communication_count_v1_response_m_payload.py b/test/test_buyercontract_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..bd12487a4 --- /dev/null +++ b/test/test_buyercontract_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.buyercontract_get_communication_count_v1_response_m_payload import BuyercontractGetCommunicationCountV1ResponseMPayload + +class TestBuyercontractGetCommunicationCountV1ResponseMPayload(unittest.TestCase): + """BuyercontractGetCommunicationCountV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BuyercontractGetCommunicationCountV1ResponseMPayload: + """Test BuyercontractGetCommunicationCountV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BuyercontractGetCommunicationCountV1ResponseMPayload` + """ + model = BuyercontractGetCommunicationCountV1ResponseMPayload() + if include_optional: + return BuyercontractGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8 + ) + else: + return BuyercontractGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8, + ) + """ + + def testBuyercontractGetCommunicationCountV1ResponseMPayload(self): + """Test BuyercontractGetCommunicationCountV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_buyercontract_get_communication_list_v1_response.py b/test/test_buyercontract_get_communication_list_v1_response.py index 86faac671..7257b8912 100644 --- a/test/test_buyercontract_get_communication_list_v1_response.py +++ b/test/test_buyercontract_get_communication_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BuyercontractGetCommunicationListV1Response: """Test BuyercontractGetCommunicationListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BuyercontractGetCommunicationListV1Response` diff --git a/test/test_buyercontract_get_communication_list_v1_response_m_payload.py b/test/test_buyercontract_get_communication_list_v1_response_m_payload.py index 51e35a2b7..833233f89 100644 --- a/test/test_buyercontract_get_communication_list_v1_response_m_payload.py +++ b/test/test_buyercontract_get_communication_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> BuyercontractGetCommunicationListV1ResponseMPayload: """Test BuyercontractGetCommunicationListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `BuyercontractGetCommunicationListV1ResponseMPayload` diff --git a/test/test_buyercontract_get_communicationrecipients_v1_response.py b/test/test_buyercontract_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..7ea77b3ba --- /dev/null +++ b/test/test_buyercontract_get_communicationrecipients_v1_response.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response import BuyercontractGetCommunicationrecipientsV1Response + +class TestBuyercontractGetCommunicationrecipientsV1Response(unittest.TestCase): + """BuyercontractGetCommunicationrecipientsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BuyercontractGetCommunicationrecipientsV1Response: + """Test BuyercontractGetCommunicationrecipientsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BuyercontractGetCommunicationrecipientsV1Response` + """ + model = BuyercontractGetCommunicationrecipientsV1Response() + if include_optional: + return BuyercontractGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response_m_payload.buyercontract-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ) + ) + else: + return BuyercontractGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response_m_payload.buyercontract-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ), + ) + """ + + def testBuyercontractGetCommunicationrecipientsV1Response(self): + """Test BuyercontractGetCommunicationrecipientsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_buyercontract_get_communicationrecipients_v1_response_m_payload.py b/test/test_buyercontract_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..93c06a3c5 --- /dev/null +++ b/test/test_buyercontract_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response_m_payload import BuyercontractGetCommunicationrecipientsV1ResponseMPayload + +class TestBuyercontractGetCommunicationrecipientsV1ResponseMPayload(unittest.TestCase): + """BuyercontractGetCommunicationrecipientsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BuyercontractGetCommunicationrecipientsV1ResponseMPayload: + """Test BuyercontractGetCommunicationrecipientsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BuyercontractGetCommunicationrecipientsV1ResponseMPayload` + """ + model = BuyercontractGetCommunicationrecipientsV1ResponseMPayload() + if include_optional: + return BuyercontractGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ] + ) + else: + return BuyercontractGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], + ) + """ + + def testBuyercontractGetCommunicationrecipientsV1ResponseMPayload(self): + """Test BuyercontractGetCommunicationrecipientsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_buyercontract_get_communicationsenders_v1_response.py b/test/test_buyercontract_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..8cd620829 --- /dev/null +++ b/test/test_buyercontract_get_communicationsenders_v1_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response import BuyercontractGetCommunicationsendersV1Response + +class TestBuyercontractGetCommunicationsendersV1Response(unittest.TestCase): + """BuyercontractGetCommunicationsendersV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BuyercontractGetCommunicationsendersV1Response: + """Test BuyercontractGetCommunicationsendersV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BuyercontractGetCommunicationsendersV1Response` + """ + model = BuyercontractGetCommunicationsendersV1Response() + if include_optional: + return BuyercontractGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.buyercontract_get_communicationsenders_v1_response_m_payload.buyercontract-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ) + else: + return BuyercontractGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.buyercontract_get_communicationsenders_v1_response_m_payload.buyercontract-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ), + ) + """ + + def testBuyercontractGetCommunicationsendersV1Response(self): + """Test BuyercontractGetCommunicationsendersV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_buyercontract_get_communicationsenders_v1_response_m_payload.py b/test/test_buyercontract_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..e7832bba3 --- /dev/null +++ b/test/test_buyercontract_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response_m_payload import BuyercontractGetCommunicationsendersV1ResponseMPayload + +class TestBuyercontractGetCommunicationsendersV1ResponseMPayload(unittest.TestCase): + """BuyercontractGetCommunicationsendersV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BuyercontractGetCommunicationsendersV1ResponseMPayload: + """Test BuyercontractGetCommunicationsendersV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `BuyercontractGetCommunicationsendersV1ResponseMPayload` + """ + model = BuyercontractGetCommunicationsendersV1ResponseMPayload() + if include_optional: + return BuyercontractGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ] + ) + else: + return BuyercontractGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], + ) + """ + + def testBuyercontractGetCommunicationsendersV1ResponseMPayload(self): + """Test BuyercontractGetCommunicationsendersV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_clonehistory_get_list_v1_response.py b/test/test_clonehistory_get_list_v1_response.py index 6bc045699..621a9832f 100644 --- a/test/test_clonehistory_get_list_v1_response.py +++ b/test/test_clonehistory_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ClonehistoryGetListV1Response: """Test ClonehistoryGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ClonehistoryGetListV1Response` diff --git a/test/test_clonehistory_get_list_v1_response_m_payload.py b/test/test_clonehistory_get_list_v1_response_m_payload.py index 0670741e3..ba703d547 100644 --- a/test/test_clonehistory_get_list_v1_response_m_payload.py +++ b/test/test_clonehistory_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ClonehistoryGetListV1ResponseMPayload: """Test ClonehistoryGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ClonehistoryGetListV1ResponseMPayload` diff --git a/test/test_clonehistory_list_element.py b/test/test_clonehistory_list_element.py index 45e393be7..a567ad693 100644 --- a/test/test_clonehistory_list_element.py +++ b/test/test_clonehistory_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ClonehistoryListElement: """Test ClonehistoryListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ClonehistoryListElement` diff --git a/test/test_colleague_request_compound_v2.py b/test/test_colleague_request_compound_v2.py new file mode 100644 index 000000000..545803c05 --- /dev/null +++ b/test/test_colleague_request_compound_v2.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.colleague_request_compound_v2 import ColleagueRequestCompoundV2 + +class TestColleagueRequestCompoundV2(unittest.TestCase): + """ColleagueRequestCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ColleagueRequestCompoundV2: + """Test ColleagueRequestCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ColleagueRequestCompoundV2` + """ + model = ColleagueRequestCompoundV2() + if include_optional: + return ColleagueRequestCompoundV2( + pki_colleague_id = 60, + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + dt_colleague_from = '2020-12-31', + dt_colleague_to = '2020-12-31', + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create' + ) + else: + return ColleagueRequestCompoundV2( + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create', + ) + """ + + def testColleagueRequestCompoundV2(self): + """Test ColleagueRequestCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_colleague_request_v2.py b/test/test_colleague_request_v2.py new file mode 100644 index 000000000..fff8d9a00 --- /dev/null +++ b/test/test_colleague_request_v2.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.colleague_request_v2 import ColleagueRequestV2 + +class TestColleagueRequestV2(unittest.TestCase): + """ColleagueRequestV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ColleagueRequestV2: + """Test ColleagueRequestV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ColleagueRequestV2` + """ + model = ColleagueRequestV2() + if include_optional: + return ColleagueRequestV2( + pki_colleague_id = 60, + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + dt_colleague_from = '2020-12-31', + dt_colleague_to = '2020-12-31', + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create' + ) + else: + return ColleagueRequestV2( + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create', + ) + """ + + def testColleagueRequestV2(self): + """Test ColleagueRequestV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_colleague_response_compound_v2.py b/test/test_colleague_response_compound_v2.py new file mode 100644 index 000000000..2d854807f --- /dev/null +++ b/test/test_colleague_response_compound_v2.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.colleague_response_compound_v2 import ColleagueResponseCompoundV2 + +class TestColleagueResponseCompoundV2(unittest.TestCase): + """ColleagueResponseCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ColleagueResponseCompoundV2: + """Test ColleagueResponseCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ColleagueResponseCompoundV2` + """ + model = ColleagueResponseCompoundV2() + if include_optional: + return ColleagueResponseCompoundV2( + pki_colleague_id = 60, + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + dt_colleague_from = '2020-12-31', + dt_colleague_to = '2020-12-31', + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create', + obj_user_name = eZmaxApi.models.custom_user_name_response.Custom-UserName-Response( + s_user_lastname = 'Doe', + s_user_firstname = 'John', ), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) + ) + else: + return ColleagueResponseCompoundV2( + pki_colleague_id = 60, + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create', + obj_user_name = eZmaxApi.models.custom_user_name_response.Custom-UserName-Response( + s_user_lastname = 'Doe', + s_user_firstname = 'John', ), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + ) + """ + + def testColleagueResponseCompoundV2(self): + """Test ColleagueResponseCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_colleague_response_v2.py b/test/test_colleague_response_v2.py new file mode 100644 index 000000000..54b24ec0a --- /dev/null +++ b/test/test_colleague_response_v2.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.colleague_response_v2 import ColleagueResponseV2 + +class TestColleagueResponseV2(unittest.TestCase): + """ColleagueResponseV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ColleagueResponseV2: + """Test ColleagueResponseV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ColleagueResponseV2` + """ + model = ColleagueResponseV2() + if include_optional: + return ColleagueResponseV2( + pki_colleague_id = 60, + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + dt_colleague_from = '2020-12-31', + dt_colleague_to = '2020-12-31', + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create', + obj_user_name = eZmaxApi.models.custom_user_name_response.Custom-UserName-Response( + s_user_lastname = 'Doe', + s_user_firstname = 'John', ), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) + ) + else: + return ColleagueResponseV2( + pki_colleague_id = 60, + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create', + obj_user_name = eZmaxApi.models.custom_user_name_response.Custom-UserName-Response( + s_user_lastname = 'Doe', + s_user_firstname = 'John', ), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + ) + """ + + def testColleagueResponseV2(self): + """Test ColleagueResponseV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_common_audit.py b/test/test_common_audit.py index 404b3dde5..d598869db 100644 --- a/test/test_common_audit.py +++ b/test/test_common_audit.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonAudit: """Test CommonAudit - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonAudit` diff --git a/test/test_common_auditdetail.py b/test/test_common_auditdetail.py index 27eb19de0..4d01aa657 100644 --- a/test/test_common_auditdetail.py +++ b/test/test_common_auditdetail.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonAuditdetail: """Test CommonAuditdetail - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonAuditdetail` diff --git a/test/test_common_file.py b/test/test_common_file.py index f17694bc5..e29689538 100644 --- a/test/test_common_file.py +++ b/test/test_common_file.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonFile: """Test CommonFile - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonFile` @@ -38,7 +38,7 @@ def make_instance(self, include_optional) -> CommonFile: return CommonFile( s_file_name = 'example.pdf', s_file_url = '', - s_file_base64 = '[B@63c5efee', + s_file_base64 = '[B@7807ac2c', e_file_source = 'Base64' ) else: diff --git a/test/test_common_get_list_v1_response_m_payload.py b/test/test_common_get_list_v1_response_m_payload.py index 15c761a8b..5e461a38b 100644 --- a/test/test_common_get_list_v1_response_m_payload.py +++ b/test/test_common_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonGetListV1ResponseMPayload: """Test CommonGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonGetListV1ResponseMPayload` diff --git a/test/test_common_get_report_v1_response.py b/test/test_common_get_report_v1_response.py index 61eeaa459..b52235903 100644 --- a/test/test_common_get_report_v1_response.py +++ b/test/test_common_get_report_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonGetReportV1Response: """Test CommonGetReportV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonGetReportV1Response` diff --git a/test/test_common_get_report_v1_response_m_payload.py b/test/test_common_get_report_v1_response_m_payload.py index c85a36e17..3cfe4d315 100644 --- a/test/test_common_get_report_v1_response_m_payload.py +++ b/test/test_common_get_report_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonGetReportV1ResponseMPayload: """Test CommonGetReportV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonGetReportV1ResponseMPayload` diff --git a/test/test_common_report.py b/test/test_common_report.py index 8b44f5af3..bd428d90b 100644 --- a/test/test_common_report.py +++ b/test/test_common_report.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonReport: """Test CommonReport - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonReport` diff --git a/test/test_common_reportcell.py b/test/test_common_reportcell.py index 8d61e32d6..54d3876ff 100644 --- a/test/test_common_reportcell.py +++ b/test/test_common_reportcell.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonReportcell: """Test CommonReportcell - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonReportcell` diff --git a/test/test_common_reportcellstyle.py b/test/test_common_reportcellstyle.py index c9271a91b..450541b08 100644 --- a/test/test_common_reportcellstyle.py +++ b/test/test_common_reportcellstyle.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonReportcellstyle: """Test CommonReportcellstyle - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonReportcellstyle` diff --git a/test/test_common_reportcolumn.py b/test/test_common_reportcolumn.py index c88b08eea..68ed7890b 100644 --- a/test/test_common_reportcolumn.py +++ b/test/test_common_reportcolumn.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonReportcolumn: """Test CommonReportcolumn - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonReportcolumn` diff --git a/test/test_common_reportgroup.py b/test/test_common_reportgroup.py index 1b53bb0a7..beac95b2c 100644 --- a/test/test_common_reportgroup.py +++ b/test/test_common_reportgroup.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonReportgroup: """Test CommonReportgroup - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonReportgroup` diff --git a/test/test_common_reportrow.py b/test/test_common_reportrow.py index 57614d842..878d16654 100644 --- a/test/test_common_reportrow.py +++ b/test/test_common_reportrow.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonReportrow: """Test CommonReportrow - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonReportrow` diff --git a/test/test_common_reportsection.py b/test/test_common_reportsection.py index a655ff571..ce5d25f94 100644 --- a/test/test_common_reportsection.py +++ b/test/test_common_reportsection.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonReportsection: """Test CommonReportsection - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonReportsection` diff --git a/test/test_common_reportsubsection.py b/test/test_common_reportsubsection.py index 745eeeed1..1ecc6a839 100644 --- a/test/test_common_reportsubsection.py +++ b/test/test_common_reportsubsection.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonReportsubsection: """Test CommonReportsubsection - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonReportsubsection` diff --git a/test/test_common_reportsubsectionpart.py b/test/test_common_reportsubsectionpart.py index 8510f2bfc..432c4e318 100644 --- a/test/test_common_reportsubsectionpart.py +++ b/test/test_common_reportsubsectionpart.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonReportsubsectionpart: """Test CommonReportsubsectionpart - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonReportsubsectionpart` diff --git a/test/test_common_response.py b/test/test_common_response.py index 389fa1fd4..622fc1662 100644 --- a/test/test_common_response.py +++ b/test/test_common_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponse: """Test CommonResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponse` diff --git a/test/test_common_response_error.py b/test/test_common_response_error.py index 1c6760bcc..5251381e5 100644 --- a/test/test_common_response_error.py +++ b/test/test_common_response_error.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseError: """Test CommonResponseError - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseError` @@ -37,7 +37,10 @@ def make_instance(self, include_optional) -> CommonResponseError: if include_optional: return CommonResponseError( s_error_message = 'Invalid Signature Headers', - e_error_code = 'BADREQUEST' + e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ] ) else: return CommonResponseError( diff --git a/test/test_common_response_error_creditcard_validation.py b/test/test_common_response_error_creditcard_validation.py new file mode 100644 index 000000000..00041ec7c --- /dev/null +++ b/test/test_common_response_error_creditcard_validation.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.common_response_error_creditcard_validation import CommonResponseErrorCreditcardValidation + +class TestCommonResponseErrorCreditcardValidation(unittest.TestCase): + """CommonResponseErrorCreditcardValidation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommonResponseErrorCreditcardValidation: + """Test CommonResponseErrorCreditcardValidation + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CommonResponseErrorCreditcardValidation` + """ + model = CommonResponseErrorCreditcardValidation() + if include_optional: + return CommonResponseErrorCreditcardValidation( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ], + obj_creditcardtransactionresponse = eZmaxApi.models.custom_creditcardtransactionresponse_response.Custom-Creditcardtransactionresponse-Response( + s_creditcardtransaction_is_ocode = '01', + s_creditcardtransaction_responsecode = '027', + s_creditcardtransaction_responseterminalmessage = 'APPROVED', + e_creditcardtransaction_avsresult = 'Match', + e_creditcardtransaction_cvdresult = 'Match', ) + ) + else: + return CommonResponseErrorCreditcardValidation( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', + ) + """ + + def testCommonResponseErrorCreditcardValidation(self): + """Test CommonResponseErrorCreditcardValidation""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_common_response_error_ezsignform_validation.py b/test/test_common_response_error_ezsignform_validation.py index 581d2a321..a2c73d33d 100644 --- a/test/test_common_response_error_ezsignform_validation.py +++ b/test/test_common_response_error_ezsignform_validation.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseErrorEzsignformValidation: """Test CommonResponseErrorEzsignformValidation - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseErrorEzsignformValidation` @@ -38,6 +38,9 @@ def make_instance(self, include_optional) -> CommonResponseErrorEzsignformValida return CommonResponseErrorEzsignformValidation( s_error_message = 'Invalid Signature Headers', e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ], a_obj_ezsignformfielderror = [ eZmaxApi.models.custom_ezsignformfielderror_response.Custom-Ezsignformfielderror-Response() ] diff --git a/test/test_common_response_error_s_temporary_file_url.py b/test/test_common_response_error_s_temporary_file_url.py index 71b5a36da..737979218 100644 --- a/test/test_common_response_error_s_temporary_file_url.py +++ b/test/test_common_response_error_s_temporary_file_url.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseErrorSTemporaryFileUrl: """Test CommonResponseErrorSTemporaryFileUrl - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseErrorSTemporaryFileUrl` @@ -38,6 +38,9 @@ def make_instance(self, include_optional) -> CommonResponseErrorSTemporaryFileUr return CommonResponseErrorSTemporaryFileUrl( s_error_message = 'Invalid Signature Headers', e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ], s_temporary_file_url = 'http://www.example.com/document.pdf' ) else: diff --git a/test/test_common_response_error_too_many_requests.py b/test/test_common_response_error_too_many_requests.py index b786845d8..fcb0abac9 100644 --- a/test/test_common_response_error_too_many_requests.py +++ b/test/test_common_response_error_too_many_requests.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseErrorTooManyRequests: """Test CommonResponseErrorTooManyRequests - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseErrorTooManyRequests` @@ -37,7 +37,10 @@ def make_instance(self, include_optional) -> CommonResponseErrorTooManyRequests: if include_optional: return CommonResponseErrorTooManyRequests( s_error_message = 'Invalid Signature Headers', - e_error_code = 'BADREQUEST' + e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ] ) else: return CommonResponseErrorTooManyRequests( diff --git a/test/test_common_response_error_wrong_franchiseoffice.py b/test/test_common_response_error_wrong_franchiseoffice.py new file mode 100644 index 000000000..f435e13a1 --- /dev/null +++ b/test/test_common_response_error_wrong_franchiseoffice.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.common_response_error_wrong_franchiseoffice import CommonResponseErrorWrongFranchiseoffice + +class TestCommonResponseErrorWrongFranchiseoffice(unittest.TestCase): + """CommonResponseErrorWrongFranchiseoffice unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommonResponseErrorWrongFranchiseoffice: + """Test CommonResponseErrorWrongFranchiseoffice + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CommonResponseErrorWrongFranchiseoffice` + """ + model = CommonResponseErrorWrongFranchiseoffice() + if include_optional: + return CommonResponseErrorWrongFranchiseoffice( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ], + fki_franchiseagence_id = 117, + s_franchiseagence_name = 'Default', + fki_franchiseoffice_id = 50, + i_franchiseoffice_code = 'Default' + ) + else: + return CommonResponseErrorWrongFranchiseoffice( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', + fki_franchiseagence_id = 117, + s_franchiseagence_name = 'Default', + fki_franchiseoffice_id = 50, + i_franchiseoffice_code = 'Default', + ) + """ + + def testCommonResponseErrorWrongFranchiseoffice(self): + """Test CommonResponseErrorWrongFranchiseoffice""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_common_response_filter.py b/test/test_common_response_filter.py index 20adfebe0..742db4db4 100644 --- a/test/test_common_response_filter.py +++ b/test/test_common_response_filter.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseFilter: """Test CommonResponseFilter - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseFilter` diff --git a/test/test_common_response_get_list.py b/test/test_common_response_get_list.py index 9f1fbf11a..b7d6faaff 100644 --- a/test/test_common_response_get_list.py +++ b/test/test_common_response_get_list.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseGetList: """Test CommonResponseGetList - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseGetList` diff --git a/test/test_common_response_obj_debug.py b/test/test_common_response_obj_debug.py index dff4f89f7..e8e27d182 100644 --- a/test/test_common_response_obj_debug.py +++ b/test/test_common_response_obj_debug.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseObjDebug: """Test CommonResponseObjDebug - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseObjDebug` diff --git a/test/test_common_response_obj_debug_payload.py b/test/test_common_response_obj_debug_payload.py index b708c6af3..37fda4398 100644 --- a/test/test_common_response_obj_debug_payload.py +++ b/test/test_common_response_obj_debug_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseObjDebugPayload: """Test CommonResponseObjDebugPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseObjDebugPayload` diff --git a/test/test_common_response_obj_debug_payload_get_list.py b/test/test_common_response_obj_debug_payload_get_list.py index bbe754719..ec587ed96 100644 --- a/test/test_common_response_obj_debug_payload_get_list.py +++ b/test/test_common_response_obj_debug_payload_get_list.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseObjDebugPayloadGetList: """Test CommonResponseObjDebugPayloadGetList - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseObjDebugPayloadGetList` diff --git a/test/test_common_response_obj_sql_query.py b/test/test_common_response_obj_sql_query.py index 71ca85b6c..2141c3b11 100644 --- a/test/test_common_response_obj_sql_query.py +++ b/test/test_common_response_obj_sql_query.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseObjSQLQuery: """Test CommonResponseObjSQLQuery - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseObjSQLQuery` diff --git a/test/test_common_response_redirect_s_secretquestion_text_x.py b/test/test_common_response_redirect_s_secretquestion_text_x.py index 8e2673e60..6c4d7d2a8 100644 --- a/test/test_common_response_redirect_s_secretquestion_text_x.py +++ b/test/test_common_response_redirect_s_secretquestion_text_x.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseRedirectSSecretquestionTextX: """Test CommonResponseRedirectSSecretquestionTextX - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseRedirectSSecretquestionTextX` diff --git a/test/test_common_response_warning.py b/test/test_common_response_warning.py index c963c4783..b9595c629 100644 --- a/test/test_common_response_warning.py +++ b/test/test_common_response_warning.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonResponseWarning: """Test CommonResponseWarning - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonResponseWarning` diff --git a/test/test_common_webhook.py b/test/test_common_webhook.py index b8a90eae2..23e3412cb 100644 --- a/test/test_common_webhook.py +++ b/test/test_common_webhook.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommonWebhook: """Test CommonWebhook - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommonWebhook` diff --git a/test/test_communication_create_object_v1_response_m_payload.py b/test/test_communication_create_object_v1_response_m_payload.py deleted file mode 100644 index 5948bf407..000000000 --- a/test/test_communication_create_object_v1_response_m_payload.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.communication_create_object_v1_response_m_payload import CommunicationCreateObjectV1ResponseMPayload - -class TestCommunicationCreateObjectV1ResponseMPayload(unittest.TestCase): - """CommunicationCreateObjectV1ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommunicationCreateObjectV1ResponseMPayload: - """Test CommunicationCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CommunicationCreateObjectV1ResponseMPayload` - """ - model = CommunicationCreateObjectV1ResponseMPayload() - if include_optional: - return CommunicationCreateObjectV1ResponseMPayload( - a_pki_communication_id = [ - 1 - ] - ) - else: - return CommunicationCreateObjectV1ResponseMPayload( - a_pki_communication_id = [ - 1 - ], - ) - """ - - def testCommunicationCreateObjectV1ResponseMPayload(self): - """Test CommunicationCreateObjectV1ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_communication_request.py b/test/test_communication_request.py index 7b29741fd..bd481c1eb 100644 --- a/test/test_communication_request.py +++ b/test/test_communication_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationRequest: """Test CommunicationRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationRequest` diff --git a/test/test_communication_request_compound.py b/test/test_communication_request_compound.py index 5b8a7634f..2f43edacd 100644 --- a/test/test_communication_request_compound.py +++ b/test/test_communication_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationRequestCompound: """Test CommunicationRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationRequestCompound` @@ -57,7 +57,7 @@ def make_instance(self, include_optional) -> CommunicationRequestCompound: obj_communicationexternalattachment = eZmaxApi.models.common_file.Common-File( s_file_name = 'example.pdf', s_file_url = '', - s_file_base64 = '[B@63c5efee', + s_file_base64 = '[B@7807ac2c', e_file_source = 'Base64', ), ) ], a_obj_communicationrecipient = [ @@ -81,7 +81,7 @@ def make_instance(self, include_optional) -> CommunicationRequestCompound: obj_communicationexternalattachment = eZmaxApi.models.common_file.Common-File( s_file_name = 'example.pdf', s_file_url = '', - s_file_base64 = '[B@63c5efee', + s_file_base64 = '[B@7807ac2c', e_file_source = 'Base64', ), ) ], a_obj_communicationrecipient = [ diff --git a/test/test_communication_send_v1_request.py b/test/test_communication_send_v1_request.py index 9ac6ec7c3..ed6b82cde 100644 --- a/test/test_communication_send_v1_request.py +++ b/test/test_communication_send_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationSendV1Request: """Test CommunicationSendV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationSendV1Request` diff --git a/test/test_communication_send_v1_response.py b/test/test_communication_send_v1_response.py index dc44d5385..9782364e1 100644 --- a/test/test_communication_send_v1_response.py +++ b/test/test_communication_send_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationSendV1Response: """Test CommunicationSendV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationSendV1Response` @@ -45,7 +45,7 @@ def make_instance(self, include_optional) -> CommunicationSendV1Response: b_version_deprecated = False, dt_response_date = '2020-12-31 23:59:59', ), obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.communication_create_object_v1_response_m_payload.communication-createObject-v1-Response-mPayload( + m_payload = eZmaxApi.models.communication_send_v1_response_m_payload.communication-send-v1-Response-mPayload( a_pki_communication_id = [ 1 ], ) @@ -60,7 +60,7 @@ def make_instance(self, include_optional) -> CommunicationSendV1Response: ], b_version_deprecated = False, dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.communication_create_object_v1_response_m_payload.communication-createObject-v1-Response-mPayload( + m_payload = eZmaxApi.models.communication_send_v1_response_m_payload.communication-send-v1-Response-mPayload( a_pki_communication_id = [ 1 ], ), diff --git a/test/test_communication_send_v1_response_m_payload.py b/test/test_communication_send_v1_response_m_payload.py new file mode 100644 index 000000000..e248f0e39 --- /dev/null +++ b/test/test_communication_send_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.communication_send_v1_response_m_payload import CommunicationSendV1ResponseMPayload + +class TestCommunicationSendV1ResponseMPayload(unittest.TestCase): + """CommunicationSendV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommunicationSendV1ResponseMPayload: + """Test CommunicationSendV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CommunicationSendV1ResponseMPayload` + """ + model = CommunicationSendV1ResponseMPayload() + if include_optional: + return CommunicationSendV1ResponseMPayload( + a_pki_communication_id = [ + 1 + ] + ) + else: + return CommunicationSendV1ResponseMPayload( + a_pki_communication_id = [ + 1 + ], + ) + """ + + def testCommunicationSendV1ResponseMPayload(self): + """Test CommunicationSendV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_communicationattachment_request.py b/test/test_communicationattachment_request.py index db136480c..ebe68183a 100644 --- a/test/test_communicationattachment_request.py +++ b/test/test_communicationattachment_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationattachmentRequest: """Test CommunicationattachmentRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationattachmentRequest` diff --git a/test/test_communicationattachment_request_compound.py b/test/test_communicationattachment_request_compound.py index 079ddec3f..5dfeff8b5 100644 --- a/test/test_communicationattachment_request_compound.py +++ b/test/test_communicationattachment_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationattachmentRequestCompound: """Test CommunicationattachmentRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationattachmentRequestCompound` diff --git a/test/test_communicationexternalrecipient_request.py b/test/test_communicationexternalrecipient_request.py index e40f322c9..59bf2780e 100644 --- a/test/test_communicationexternalrecipient_request.py +++ b/test/test_communicationexternalrecipient_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationexternalrecipientRequest: """Test CommunicationexternalrecipientRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationexternalrecipientRequest` diff --git a/test/test_communicationexternalrecipient_request_compound.py b/test/test_communicationexternalrecipient_request_compound.py index 49d18bc15..6780b1c80 100644 --- a/test/test_communicationexternalrecipient_request_compound.py +++ b/test/test_communicationexternalrecipient_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationexternalrecipientRequestCompound: """Test CommunicationexternalrecipientRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationexternalrecipientRequestCompound` diff --git a/test/test_communicationrecipient_request.py b/test/test_communicationrecipient_request.py index 20058f098..ce1598c60 100644 --- a/test/test_communicationrecipient_request.py +++ b/test/test_communicationrecipient_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationrecipientRequest: """Test CommunicationrecipientRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationrecipientRequest` diff --git a/test/test_communicationrecipient_request_compound.py b/test/test_communicationrecipient_request_compound.py index 732dc67d4..c437e74fd 100644 --- a/test/test_communicationrecipient_request_compound.py +++ b/test/test_communicationrecipient_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationrecipientRequestCompound: """Test CommunicationrecipientRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationrecipientRequestCompound` diff --git a/test/test_communicationreference_request.py b/test/test_communicationreference_request.py index ddaf87758..6b58b75a0 100644 --- a/test/test_communicationreference_request.py +++ b/test/test_communicationreference_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationreferenceRequest: """Test CommunicationreferenceRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationreferenceRequest` diff --git a/test/test_communicationreference_request_compound.py b/test/test_communicationreference_request_compound.py index 7a79a1b5a..3e14579de 100644 --- a/test/test_communicationreference_request_compound.py +++ b/test/test_communicationreference_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CommunicationreferenceRequestCompound: """Test CommunicationreferenceRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CommunicationreferenceRequestCompound` diff --git a/test/test_company_autocomplete_element_response.py b/test/test_company_autocomplete_element_response.py index c077f97d3..b399f6b8e 100644 --- a/test/test_company_autocomplete_element_response.py +++ b/test/test_company_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CompanyAutocompleteElementResponse: """Test CompanyAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CompanyAutocompleteElementResponse` diff --git a/test/test_company_get_autocomplete_v2_response.py b/test/test_company_get_autocomplete_v2_response.py index 1d34d0b91..0fd8dae2c 100644 --- a/test/test_company_get_autocomplete_v2_response.py +++ b/test/test_company_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CompanyGetAutocompleteV2Response: """Test CompanyGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CompanyGetAutocompleteV2Response` diff --git a/test/test_company_get_autocomplete_v2_response_m_payload.py b/test/test_company_get_autocomplete_v2_response_m_payload.py index f692a04f9..9aab58b1e 100644 --- a/test/test_company_get_autocomplete_v2_response_m_payload.py +++ b/test/test_company_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CompanyGetAutocompleteV2ResponseMPayload: """Test CompanyGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CompanyGetAutocompleteV2ResponseMPayload` diff --git a/test/test_computed_e_ezsignfolder_access.py b/test/test_computed_e_ezsignfolder_access.py new file mode 100644 index 000000000..9663ef25a --- /dev/null +++ b/test/test_computed_e_ezsignfolder_access.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.computed_e_ezsignfolder_access import ComputedEEzsignfolderAccess + +class TestComputedEEzsignfolderAccess(unittest.TestCase): + """ComputedEEzsignfolderAccess unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testComputedEEzsignfolderAccess(self): + """Test ComputedEEzsignfolderAccess""" + # inst = ComputedEEzsignfolderAccess() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contact_request.py b/test/test_contact_request.py index e056b48cb..849975233 100644 --- a/test/test_contact_request.py +++ b/test/test_contact_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ContactRequest: """Test ContactRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ContactRequest` diff --git a/test/test_contact_request_compound.py b/test/test_contact_request_compound.py index 9c01ec67d..1f60e3236 100644 --- a/test/test_contact_request_compound.py +++ b/test/test_contact_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ContactRequestCompound: """Test ContactRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ContactRequestCompound` diff --git a/test/test_contact_request_compound_v2.py b/test/test_contact_request_compound_v2.py new file mode 100644 index 000000000..7da9161f0 --- /dev/null +++ b/test/test_contact_request_compound_v2.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contact_request_compound_v2 import ContactRequestCompoundV2 + +class TestContactRequestCompoundV2(unittest.TestCase): + """ContactRequestCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContactRequestCompoundV2: + """Test ContactRequestCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContactRequestCompoundV2` + """ + model = ContactRequestCompoundV2() + if include_optional: + return ContactRequestCompoundV2( + fki_contacttitle_id = 2, + fki_language_id = 2, + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', + dt_contact_birthdate = '1980-01-01', + s_contact_occupation = 'Programmer', + t_contact_note = 'This is a note', + b_contact_isactive = True, + obj_contactinformations = eZmaxApi.models.contactinformations_request_compound_v2.contactinformations-RequestCompoundV2() + ) + else: + return ContactRequestCompoundV2( + fki_contacttitle_id = 2, + fki_language_id = 2, + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + obj_contactinformations = eZmaxApi.models.contactinformations_request_compound_v2.contactinformations-RequestCompoundV2(), + ) + """ + + def testContactRequestCompoundV2(self): + """Test ContactRequestCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contact_request_v2.py b/test/test_contact_request_v2.py new file mode 100644 index 000000000..132da9932 --- /dev/null +++ b/test/test_contact_request_v2.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contact_request_v2 import ContactRequestV2 + +class TestContactRequestV2(unittest.TestCase): + """ContactRequestV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContactRequestV2: + """Test ContactRequestV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContactRequestV2` + """ + model = ContactRequestV2() + if include_optional: + return ContactRequestV2( + fki_contacttitle_id = 2, + fki_language_id = 2, + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', + dt_contact_birthdate = '1980-01-01', + s_contact_occupation = 'Programmer', + t_contact_note = 'This is a note', + b_contact_isactive = True, + obj_contactinformations = eZmaxApi.models.contactinformations_request_compound.contactinformations-RequestCompound() + ) + else: + return ContactRequestV2( + fki_contacttitle_id = 2, + fki_language_id = 2, + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + obj_contactinformations = eZmaxApi.models.contactinformations_request_compound.contactinformations-RequestCompound(), + ) + """ + + def testContactRequestV2(self): + """Test ContactRequestV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contact_response.py b/test/test_contact_response.py new file mode 100644 index 000000000..ebe34aac3 --- /dev/null +++ b/test/test_contact_response.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contact_response import ContactResponse + +class TestContactResponse(unittest.TestCase): + """ContactResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContactResponse: + """Test ContactResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContactResponse` + """ + model = ContactResponse() + if include_optional: + return ContactResponse( + pki_contact_id = 21, + fki_language_id = 2, + fki_contacttitle_id = 2, + fki_contactinformations_id = 55, + dt_contact_birthdate = '1980-01-01', + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', + s_contact_occupation = 'Programmer', + t_contact_note = 'This is a note', + b_contact_isactive = True, + obj_contactinformations = eZmaxApi.models.contactinformations_response_compound.contactinformations-ResponseCompound() + ) + else: + return ContactResponse( + pki_contact_id = 21, + fki_language_id = 2, + fki_contacttitle_id = 2, + fki_contactinformations_id = 55, + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + b_contact_isactive = True, + obj_contactinformations = eZmaxApi.models.contactinformations_response_compound.contactinformations-ResponseCompound(), + ) + """ + + def testContactResponse(self): + """Test ContactResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contact_response_compound.py b/test/test_contact_response_compound.py new file mode 100644 index 000000000..af79f3fb3 --- /dev/null +++ b/test/test_contact_response_compound.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contact_response_compound import ContactResponseCompound + +class TestContactResponseCompound(unittest.TestCase): + """ContactResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContactResponseCompound: + """Test ContactResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContactResponseCompound` + """ + model = ContactResponseCompound() + if include_optional: + return ContactResponseCompound( + pki_contact_id = 21, + fki_language_id = 2, + fki_contacttitle_id = 2, + fki_contactinformations_id = 55, + dt_contact_birthdate = '1980-01-01', + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', + s_contact_occupation = 'Programmer', + t_contact_note = 'This is a note', + b_contact_isactive = True, + obj_contactinformations = eZmaxApi.models.contactinformations_response_compound.contactinformations-ResponseCompound() + ) + else: + return ContactResponseCompound( + pki_contact_id = 21, + fki_language_id = 2, + fki_contacttitle_id = 2, + fki_contactinformations_id = 55, + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + b_contact_isactive = True, + obj_contactinformations = eZmaxApi.models.contactinformations_response_compound.contactinformations-ResponseCompound(), + ) + """ + + def testContactResponseCompound(self): + """Test ContactResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contactinformations_request.py b/test/test_contactinformations_request.py index f4530a629..b658d2b5a 100644 --- a/test/test_contactinformations_request.py +++ b/test/test_contactinformations_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ContactinformationsRequest: """Test ContactinformationsRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ContactinformationsRequest` diff --git a/test/test_contactinformations_request_compound.py b/test/test_contactinformations_request_compound.py index 528380c8a..c2da08ee9 100644 --- a/test/test_contactinformations_request_compound.py +++ b/test/test_contactinformations_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ContactinformationsRequestCompound: """Test ContactinformationsRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ContactinformationsRequestCompound` diff --git a/test/test_contactinformations_request_compound_v2.py b/test/test_contactinformations_request_compound_v2.py new file mode 100644 index 000000000..047ff334b --- /dev/null +++ b/test/test_contactinformations_request_compound_v2.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contactinformations_request_compound_v2 import ContactinformationsRequestCompoundV2 + +class TestContactinformationsRequestCompoundV2(unittest.TestCase): + """ContactinformationsRequestCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContactinformationsRequestCompoundV2: + """Test ContactinformationsRequestCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContactinformationsRequestCompoundV2` + """ + model = ContactinformationsRequestCompoundV2() + if include_optional: + return ContactinformationsRequestCompoundV2( + e_contactinformations_type = 'BankAccount', + i_address_default = 56, + i_phone_default = 56, + i_email_default = 56, + i_website_default = 56, + a_obj_address = [ + eZmaxApi.models.address_request_compound.address-RequestCompound() + ], + a_obj_phone = [ + eZmaxApi.models.phone_request_compound.phone-RequestCompound() + ], + a_obj_email = [ + eZmaxApi.models.email_request_compound.email-RequestCompound() + ], + a_obj_website = [ + eZmaxApi.models.website_request_compound.website-RequestCompound() + ] + ) + else: + return ContactinformationsRequestCompoundV2( + e_contactinformations_type = 'BankAccount', + i_address_default = 56, + i_phone_default = 56, + i_email_default = 56, + i_website_default = 56, + a_obj_address = [ + eZmaxApi.models.address_request_compound.address-RequestCompound() + ], + a_obj_phone = [ + eZmaxApi.models.phone_request_compound.phone-RequestCompound() + ], + a_obj_email = [ + eZmaxApi.models.email_request_compound.email-RequestCompound() + ], + a_obj_website = [ + eZmaxApi.models.website_request_compound.website-RequestCompound() + ], + ) + """ + + def testContactinformationsRequestCompoundV2(self): + """Test ContactinformationsRequestCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contactinformations_request_v2.py b/test/test_contactinformations_request_v2.py new file mode 100644 index 000000000..598645191 --- /dev/null +++ b/test/test_contactinformations_request_v2.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contactinformations_request_v2 import ContactinformationsRequestV2 + +class TestContactinformationsRequestV2(unittest.TestCase): + """ContactinformationsRequestV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContactinformationsRequestV2: + """Test ContactinformationsRequestV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContactinformationsRequestV2` + """ + model = ContactinformationsRequestV2() + if include_optional: + return ContactinformationsRequestV2( + e_contactinformations_type = 'BankAccount', + i_address_default = 56, + i_phone_default = 56, + i_email_default = 56, + i_website_default = 56 + ) + else: + return ContactinformationsRequestV2( + e_contactinformations_type = 'BankAccount', + i_address_default = 56, + i_phone_default = 56, + i_email_default = 56, + i_website_default = 56, + ) + """ + + def testContactinformationsRequestV2(self): + """Test ContactinformationsRequestV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contactinformations_response.py b/test/test_contactinformations_response.py new file mode 100644 index 000000000..91b6d85af --- /dev/null +++ b/test/test_contactinformations_response.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contactinformations_response import ContactinformationsResponse + +class TestContactinformationsResponse(unittest.TestCase): + """ContactinformationsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContactinformationsResponse: + """Test ContactinformationsResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContactinformationsResponse` + """ + model = ContactinformationsResponse() + if include_optional: + return ContactinformationsResponse( + pki_contactinformations_id = 55, + fki_address_id_default = 142, + fki_phone_id_default = 1, + fki_email_id_default = 22, + fki_website_id_default = 145, + e_contactinformations_type = 'BankAccount', + s_contactinformations_url = 'https://www.example.com', + obj_address_default = eZmaxApi.models.address_response_compound.address-ResponseCompound(), + obj_phone_default = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_email_default = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_website_default = eZmaxApi.models.website_response_compound.website-ResponseCompound() + ) + else: + return ContactinformationsResponse( + pki_contactinformations_id = 55, + e_contactinformations_type = 'BankAccount', + ) + """ + + def testContactinformationsResponse(self): + """Test ContactinformationsResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contactinformations_response_compound.py b/test/test_contactinformations_response_compound.py new file mode 100644 index 000000000..7c1fe8ba4 --- /dev/null +++ b/test/test_contactinformations_response_compound.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contactinformations_response_compound import ContactinformationsResponseCompound + +class TestContactinformationsResponseCompound(unittest.TestCase): + """ContactinformationsResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContactinformationsResponseCompound: + """Test ContactinformationsResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContactinformationsResponseCompound` + """ + model = ContactinformationsResponseCompound() + if include_optional: + return ContactinformationsResponseCompound( + pki_contactinformations_id = 55, + fki_address_id_default = 142, + fki_phone_id_default = 1, + fki_email_id_default = 22, + fki_website_id_default = 145, + e_contactinformations_type = 'BankAccount', + s_contactinformations_url = 'https://www.example.com', + obj_address_default = eZmaxApi.models.address_response_compound.address-ResponseCompound(), + obj_phone_default = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_email_default = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_website_default = eZmaxApi.models.website_response_compound.website-ResponseCompound(), + a_obj_address = [ + eZmaxApi.models.address_response_compound.address-ResponseCompound() + ], + a_obj_phone = [ + eZmaxApi.models.phone_response_compound.phone-ResponseCompound() + ], + a_obj_email = [ + eZmaxApi.models.email_response_compound.email-ResponseCompound() + ], + a_obj_website = [ + eZmaxApi.models.website_response_compound.website-ResponseCompound() + ] + ) + else: + return ContactinformationsResponseCompound( + pki_contactinformations_id = 55, + e_contactinformations_type = 'BankAccount', + a_obj_address = [ + eZmaxApi.models.address_response_compound.address-ResponseCompound() + ], + a_obj_phone = [ + eZmaxApi.models.phone_response_compound.phone-ResponseCompound() + ], + a_obj_email = [ + eZmaxApi.models.email_response_compound.email-ResponseCompound() + ], + a_obj_website = [ + eZmaxApi.models.website_response_compound.website-ResponseCompound() + ], + ) + """ + + def testContactinformationsResponseCompound(self): + """Test ContactinformationsResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contacttitle_autocomplete_element_response.py b/test/test_contacttitle_autocomplete_element_response.py new file mode 100644 index 000000000..cc60aada4 --- /dev/null +++ b/test/test_contacttitle_autocomplete_element_response.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contacttitle_autocomplete_element_response import ContacttitleAutocompleteElementResponse + +class TestContacttitleAutocompleteElementResponse(unittest.TestCase): + """ContacttitleAutocompleteElementResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContacttitleAutocompleteElementResponse: + """Test ContacttitleAutocompleteElementResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContacttitleAutocompleteElementResponse` + """ + model = ContacttitleAutocompleteElementResponse() + if include_optional: + return ContacttitleAutocompleteElementResponse( + pki_contacttitle_id = 2, + s_contacttitle_name_x = 'Sir' + ) + else: + return ContacttitleAutocompleteElementResponse( + pki_contacttitle_id = 2, + s_contacttitle_name_x = 'Sir', + ) + """ + + def testContacttitleAutocompleteElementResponse(self): + """Test ContacttitleAutocompleteElementResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contacttitle_get_autocomplete_v2_response.py b/test/test_contacttitle_get_autocomplete_v2_response.py new file mode 100644 index 000000000..aedc0b011 --- /dev/null +++ b/test/test_contacttitle_get_autocomplete_v2_response.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response import ContacttitleGetAutocompleteV2Response + +class TestContacttitleGetAutocompleteV2Response(unittest.TestCase): + """ContacttitleGetAutocompleteV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContacttitleGetAutocompleteV2Response: + """Test ContacttitleGetAutocompleteV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContacttitleGetAutocompleteV2Response` + """ + model = ContacttitleGetAutocompleteV2Response() + if include_optional: + return ContacttitleGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.contacttitle_get_autocomplete_v2_response_m_payload.contacttitle-getAutocomplete-v2-Response-mPayload( + a_obj_contacttitle = [ + eZmaxApi.models.contacttitle_autocomplete_element_response.contacttitle-AutocompleteElement-Response( + pki_contacttitle_id = 2, + s_contacttitle_name_x = 'Sir', ) + ], ) + ) + else: + return ContacttitleGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.contacttitle_get_autocomplete_v2_response_m_payload.contacttitle-getAutocomplete-v2-Response-mPayload( + a_obj_contacttitle = [ + eZmaxApi.models.contacttitle_autocomplete_element_response.contacttitle-AutocompleteElement-Response( + pki_contacttitle_id = 2, + s_contacttitle_name_x = 'Sir', ) + ], ), + ) + """ + + def testContacttitleGetAutocompleteV2Response(self): + """Test ContacttitleGetAutocompleteV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_contacttitle_get_autocomplete_v2_response_m_payload.py b/test/test_contacttitle_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..a3afea2fc --- /dev/null +++ b/test/test_contacttitle_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.contacttitle_get_autocomplete_v2_response_m_payload import ContacttitleGetAutocompleteV2ResponseMPayload + +class TestContacttitleGetAutocompleteV2ResponseMPayload(unittest.TestCase): + """ContacttitleGetAutocompleteV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContacttitleGetAutocompleteV2ResponseMPayload: + """Test ContacttitleGetAutocompleteV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ContacttitleGetAutocompleteV2ResponseMPayload` + """ + model = ContacttitleGetAutocompleteV2ResponseMPayload() + if include_optional: + return ContacttitleGetAutocompleteV2ResponseMPayload( + a_obj_contacttitle = [ + eZmaxApi.models.contacttitle_autocomplete_element_response.contacttitle-AutocompleteElement-Response( + pki_contacttitle_id = 2, + s_contacttitle_name_x = 'Sir', ) + ] + ) + else: + return ContacttitleGetAutocompleteV2ResponseMPayload( + a_obj_contacttitle = [ + eZmaxApi.models.contacttitle_autocomplete_element_response.contacttitle-AutocompleteElement-Response( + pki_contacttitle_id = 2, + s_contacttitle_name_x = 'Sir', ) + ], + ) + """ + + def testContacttitleGetAutocompleteV2ResponseMPayload(self): + """Test ContacttitleGetAutocompleteV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_cors_create_object_v1_request.py b/test/test_cors_create_object_v1_request.py index 8bd135e74..6bc494851 100644 --- a/test/test_cors_create_object_v1_request.py +++ b/test/test_cors_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsCreateObjectV1Request: """Test CorsCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsCreateObjectV1Request` diff --git a/test/test_cors_create_object_v1_response.py b/test/test_cors_create_object_v1_response.py index 8599cf382..a39b762ab 100644 --- a/test/test_cors_create_object_v1_response.py +++ b/test/test_cors_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsCreateObjectV1Response: """Test CorsCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsCreateObjectV1Response` diff --git a/test/test_cors_create_object_v1_response_m_payload.py b/test/test_cors_create_object_v1_response_m_payload.py index dab54b642..e163f8247 100644 --- a/test/test_cors_create_object_v1_response_m_payload.py +++ b/test/test_cors_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsCreateObjectV1ResponseMPayload: """Test CorsCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsCreateObjectV1ResponseMPayload` diff --git a/test/test_cors_delete_object_v1_response.py b/test/test_cors_delete_object_v1_response.py index f048cd21f..6cba75816 100644 --- a/test/test_cors_delete_object_v1_response.py +++ b/test/test_cors_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsDeleteObjectV1Response: """Test CorsDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsDeleteObjectV1Response` diff --git a/test/test_cors_edit_object_v1_request.py b/test/test_cors_edit_object_v1_request.py index c6224b1d7..1e4f904c0 100644 --- a/test/test_cors_edit_object_v1_request.py +++ b/test/test_cors_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsEditObjectV1Request: """Test CorsEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsEditObjectV1Request` diff --git a/test/test_cors_edit_object_v1_response.py b/test/test_cors_edit_object_v1_response.py index dccd2bbe4..dad1bff99 100644 --- a/test/test_cors_edit_object_v1_response.py +++ b/test/test_cors_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsEditObjectV1Response: """Test CorsEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsEditObjectV1Response` diff --git a/test/test_cors_get_object_v2_response.py b/test/test_cors_get_object_v2_response.py index 1766e89f2..56dee9bd3 100644 --- a/test/test_cors_get_object_v2_response.py +++ b/test/test_cors_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsGetObjectV2Response: """Test CorsGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsGetObjectV2Response` diff --git a/test/test_cors_get_object_v2_response_m_payload.py b/test/test_cors_get_object_v2_response_m_payload.py index 9b4f7a554..f9e274feb 100644 --- a/test/test_cors_get_object_v2_response_m_payload.py +++ b/test/test_cors_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsGetObjectV2ResponseMPayload: """Test CorsGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsGetObjectV2ResponseMPayload` diff --git a/test/test_cors_request.py b/test/test_cors_request.py index 02afcd6ce..140e480bb 100644 --- a/test/test_cors_request.py +++ b/test/test_cors_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsRequest: """Test CorsRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsRequest` diff --git a/test/test_cors_request_compound.py b/test/test_cors_request_compound.py index a5363c2db..550bf15c8 100644 --- a/test/test_cors_request_compound.py +++ b/test/test_cors_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsRequestCompound: """Test CorsRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsRequestCompound` diff --git a/test/test_cors_response.py b/test/test_cors_response.py index fc6fcedf6..8d113bc72 100644 --- a/test/test_cors_response.py +++ b/test/test_cors_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsResponse: """Test CorsResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsResponse` diff --git a/test/test_cors_response_compound.py b/test/test_cors_response_compound.py index cbdc83601..6f7f589e2 100644 --- a/test/test_cors_response_compound.py +++ b/test/test_cors_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CorsResponseCompound: """Test CorsResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CorsResponseCompound` diff --git a/test/test_country_autocomplete_element_response.py b/test/test_country_autocomplete_element_response.py index b2e18220e..0e622e013 100644 --- a/test/test_country_autocomplete_element_response.py +++ b/test/test_country_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CountryAutocompleteElementResponse: """Test CountryAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CountryAutocompleteElementResponse` diff --git a/test/test_country_get_autocomplete_v2_response.py b/test/test_country_get_autocomplete_v2_response.py index ba2bc1492..e868a1b7d 100644 --- a/test/test_country_get_autocomplete_v2_response.py +++ b/test/test_country_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CountryGetAutocompleteV2Response: """Test CountryGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CountryGetAutocompleteV2Response` diff --git a/test/test_country_get_autocomplete_v2_response_m_payload.py b/test/test_country_get_autocomplete_v2_response_m_payload.py index 49fe490e3..990bb5bb4 100644 --- a/test/test_country_get_autocomplete_v2_response_m_payload.py +++ b/test/test_country_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CountryGetAutocompleteV2ResponseMPayload: """Test CountryGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CountryGetAutocompleteV2ResponseMPayload` diff --git a/test/test_creditcardclient_autocomplete_element_response.py b/test/test_creditcardclient_autocomplete_element_response.py index 573dd87cc..8979f5297 100644 --- a/test/test_creditcardclient_autocomplete_element_response.py +++ b/test/test_creditcardclient_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientAutocompleteElementResponse: """Test CreditcardclientAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientAutocompleteElementResponse` @@ -37,14 +37,12 @@ def make_instance(self, include_optional) -> CreditcardclientAutocompleteElement if include_optional: return CreditcardclientAutocompleteElementResponse( pki_creditcardclient_id = 114, - s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True + s_creditcardclient_description = 'Visa' ) else: return CreditcardclientAutocompleteElementResponse( pki_creditcardclient_id = 114, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, ) """ diff --git a/test/test_creditcardclient_create_object_v1_request.py b/test/test_creditcardclient_create_object_v1_request.py index c96c16a53..ec2ce8cc4 100644 --- a/test/test_creditcardclient_create_object_v1_request.py +++ b/test/test_creditcardclient_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientCreateObjectV1Request: """Test CreditcardclientCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientCreateObjectV1Request` diff --git a/test/test_creditcardclient_create_object_v1_response.py b/test/test_creditcardclient_create_object_v1_response.py index f259fb27c..526c95821 100644 --- a/test/test_creditcardclient_create_object_v1_response.py +++ b/test/test_creditcardclient_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientCreateObjectV1Response: """Test CreditcardclientCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientCreateObjectV1Response` diff --git a/test/test_creditcardclient_create_object_v1_response_m_payload.py b/test/test_creditcardclient_create_object_v1_response_m_payload.py index 4dbaca5a2..84d65ef77 100644 --- a/test/test_creditcardclient_create_object_v1_response_m_payload.py +++ b/test/test_creditcardclient_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientCreateObjectV1ResponseMPayload: """Test CreditcardclientCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientCreateObjectV1ResponseMPayload` diff --git a/test/test_creditcardclient_delete_object_v1_response.py b/test/test_creditcardclient_delete_object_v1_response.py index 0cb3b37e6..b0ef5c770 100644 --- a/test/test_creditcardclient_delete_object_v1_response.py +++ b/test/test_creditcardclient_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientDeleteObjectV1Response: """Test CreditcardclientDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientDeleteObjectV1Response` diff --git a/test/test_creditcardclient_edit_object_v1_request.py b/test/test_creditcardclient_edit_object_v1_request.py index 6b05d2f5e..251319a97 100644 --- a/test/test_creditcardclient_edit_object_v1_request.py +++ b/test/test_creditcardclient_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientEditObjectV1Request: """Test CreditcardclientEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientEditObjectV1Request` diff --git a/test/test_creditcardclient_edit_object_v1_response.py b/test/test_creditcardclient_edit_object_v1_response.py index f878abf3a..1c886fd80 100644 --- a/test/test_creditcardclient_edit_object_v1_response.py +++ b/test/test_creditcardclient_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientEditObjectV1Response: """Test CreditcardclientEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientEditObjectV1Response` diff --git a/test/test_creditcardclient_get_autocomplete_v2_response.py b/test/test_creditcardclient_get_autocomplete_v2_response.py index eaf22c601..acfacdac5 100644 --- a/test/test_creditcardclient_get_autocomplete_v2_response.py +++ b/test/test_creditcardclient_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientGetAutocompleteV2Response: """Test CreditcardclientGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientGetAutocompleteV2Response` @@ -49,8 +49,7 @@ def make_instance(self, include_optional) -> CreditcardclientGetAutocompleteV2Re a_obj_creditcardclient = [ eZmaxApi.models.creditcardclient_autocomplete_element_response.creditcardclient-AutocompleteElement-Response( pki_creditcardclient_id = 114, - s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, ) + s_creditcardclient_description = 'Visa', ) ], ) ) else: @@ -67,8 +66,7 @@ def make_instance(self, include_optional) -> CreditcardclientGetAutocompleteV2Re a_obj_creditcardclient = [ eZmaxApi.models.creditcardclient_autocomplete_element_response.creditcardclient-AutocompleteElement-Response( pki_creditcardclient_id = 114, - s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, ) + s_creditcardclient_description = 'Visa', ) ], ), ) """ diff --git a/test/test_creditcardclient_get_autocomplete_v2_response_m_payload.py b/test/test_creditcardclient_get_autocomplete_v2_response_m_payload.py index 006cc5ba6..2a30fb686 100644 --- a/test/test_creditcardclient_get_autocomplete_v2_response_m_payload.py +++ b/test/test_creditcardclient_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientGetAutocompleteV2ResponseMPayload: """Test CreditcardclientGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientGetAutocompleteV2ResponseMPayload` @@ -39,8 +39,7 @@ def make_instance(self, include_optional) -> CreditcardclientGetAutocompleteV2Re a_obj_creditcardclient = [ eZmaxApi.models.creditcardclient_autocomplete_element_response.creditcardclient-AutocompleteElement-Response( pki_creditcardclient_id = 114, - s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, ) + s_creditcardclient_description = 'Visa', ) ] ) else: @@ -48,8 +47,7 @@ def make_instance(self, include_optional) -> CreditcardclientGetAutocompleteV2Re a_obj_creditcardclient = [ eZmaxApi.models.creditcardclient_autocomplete_element_response.creditcardclient-AutocompleteElement-Response( pki_creditcardclient_id = 114, - s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, ) + s_creditcardclient_description = 'Visa', ) ], ) """ diff --git a/test/test_creditcardclient_get_list_v1_response.py b/test/test_creditcardclient_get_list_v1_response.py index a0e5a1c1d..0d76e02ba 100644 --- a/test/test_creditcardclient_get_list_v1_response.py +++ b/test/test_creditcardclient_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientGetListV1Response: """Test CreditcardclientGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientGetListV1Response` diff --git a/test/test_creditcardclient_get_list_v1_response_m_payload.py b/test/test_creditcardclient_get_list_v1_response_m_payload.py index 41b04f58a..676fd38d5 100644 --- a/test/test_creditcardclient_get_list_v1_response_m_payload.py +++ b/test/test_creditcardclient_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientGetListV1ResponseMPayload: """Test CreditcardclientGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientGetListV1ResponseMPayload` @@ -42,15 +42,14 @@ def make_instance(self, include_optional) -> CreditcardclientGetListV1ResponseMP eZmaxApi.models.creditcardclient_list_element.creditcardclient-ListElement( pki_creditcardclient_id = 114, fki_creditcarddetail_id = 53, + fki_creditcardtype_id = 2, b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, b_creditcardclient_allowedtranquillit = True, i_creditcarddetail_expirationmonth = 10, i_creditcarddetail_expirationyear = 2024, - s_creditcarddetail_numbermasked = 'XXXX XXXX XXXX 4242', ) + i_creditcarddetail_lastdigits = 4242, ) ] ) else: @@ -61,15 +60,14 @@ def make_instance(self, include_optional) -> CreditcardclientGetListV1ResponseMP eZmaxApi.models.creditcardclient_list_element.creditcardclient-ListElement( pki_creditcardclient_id = 114, fki_creditcarddetail_id = 53, + fki_creditcardtype_id = 2, b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, b_creditcardclient_allowedtranquillit = True, i_creditcarddetail_expirationmonth = 10, i_creditcarddetail_expirationyear = 2024, - s_creditcarddetail_numbermasked = 'XXXX XXXX XXXX 4242', ) + i_creditcarddetail_lastdigits = 4242, ) ], ) """ diff --git a/test/test_creditcardclient_get_object_v2_response.py b/test/test_creditcardclient_get_object_v2_response.py index de7724c3d..7f6485200 100644 --- a/test/test_creditcardclient_get_object_v2_response.py +++ b/test/test_creditcardclient_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientGetObjectV2Response: """Test CreditcardclientGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientGetObjectV2Response` diff --git a/test/test_creditcardclient_get_object_v2_response_m_payload.py b/test/test_creditcardclient_get_object_v2_response_m_payload.py index 70a6aa0f6..3e77e1806 100644 --- a/test/test_creditcardclient_get_object_v2_response_m_payload.py +++ b/test/test_creditcardclient_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientGetObjectV2ResponseMPayload: """Test CreditcardclientGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientGetObjectV2ResponseMPayload` diff --git a/test/test_creditcardclient_list_element.py b/test/test_creditcardclient_list_element.py index ac9c53a97..69a4e695c 100644 --- a/test/test_creditcardclient_list_element.py +++ b/test/test_creditcardclient_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientListElement: """Test CreditcardclientListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientListElement` @@ -38,29 +38,27 @@ def make_instance(self, include_optional) -> CreditcardclientListElement: return CreditcardclientListElement( pki_creditcardclient_id = 114, fki_creditcarddetail_id = 53, + fki_creditcardtype_id = 2, b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, b_creditcardclient_allowedtranquillit = True, i_creditcarddetail_expirationmonth = 10, i_creditcarddetail_expirationyear = 2024, - s_creditcarddetail_numbermasked = 'XXXX XXXX XXXX 4242' + i_creditcarddetail_lastdigits = 4242 ) else: return CreditcardclientListElement( pki_creditcardclient_id = 114, fki_creditcarddetail_id = 53, + fki_creditcardtype_id = 2, b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, b_creditcardclient_allowedtranquillit = True, i_creditcarddetail_expirationmonth = 10, i_creditcarddetail_expirationyear = 2024, - s_creditcarddetail_numbermasked = 'XXXX XXXX XXXX 4242', + i_creditcarddetail_lastdigits = 4242, ) """ diff --git a/test/test_creditcardclient_patch_object_v1_request.py b/test/test_creditcardclient_patch_object_v1_request.py new file mode 100644 index 000000000..3d88910bd --- /dev/null +++ b/test/test_creditcardclient_patch_object_v1_request.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.creditcardclient_patch_object_v1_request import CreditcardclientPatchObjectV1Request + +class TestCreditcardclientPatchObjectV1Request(unittest.TestCase): + """CreditcardclientPatchObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CreditcardclientPatchObjectV1Request: + """Test CreditcardclientPatchObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CreditcardclientPatchObjectV1Request` + """ + model = CreditcardclientPatchObjectV1Request() + if include_optional: + return CreditcardclientPatchObjectV1Request( + obj_creditcardclient = eZmaxApi.models.creditcardclient_request_patch.creditcardclient-RequestPatch( + b_creditcardclientrelation_isdefault = True, ) + ) + else: + return CreditcardclientPatchObjectV1Request( + obj_creditcardclient = eZmaxApi.models.creditcardclient_request_patch.creditcardclient-RequestPatch( + b_creditcardclientrelation_isdefault = True, ), + ) + """ + + def testCreditcardclientPatchObjectV1Request(self): + """Test CreditcardclientPatchObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_creditcardclient_patch_object_v1_response.py b/test/test_creditcardclient_patch_object_v1_response.py new file mode 100644 index 000000000..b1ef1a75b --- /dev/null +++ b/test/test_creditcardclient_patch_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.creditcardclient_patch_object_v1_response import CreditcardclientPatchObjectV1Response + +class TestCreditcardclientPatchObjectV1Response(unittest.TestCase): + """CreditcardclientPatchObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CreditcardclientPatchObjectV1Response: + """Test CreditcardclientPatchObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CreditcardclientPatchObjectV1Response` + """ + model = CreditcardclientPatchObjectV1Response() + if include_optional: + return CreditcardclientPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return CreditcardclientPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testCreditcardclientPatchObjectV1Response(self): + """Test CreditcardclientPatchObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_creditcardclient_request.py b/test/test_creditcardclient_request.py index 37db771df..18dc538c8 100644 --- a/test/test_creditcardclient_request.py +++ b/test/test_creditcardclient_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientRequest: """Test CreditcardclientRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientRequest` @@ -40,9 +40,8 @@ def make_instance(self, include_optional) -> CreditcardclientRequest: fks_creditcardtoken_id = '6B29FC40-CA47-1067-B31D-00DD010662DA', b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, + b_creditcardclient_allowedezsign = True, b_creditcardclient_allowedtranquillit = True, obj_creditcarddetail = eZmaxApi.models.creditcarddetail_request.creditcarddetail-Request( i_creditcarddetail_expirationmonth = 10, @@ -56,9 +55,8 @@ def make_instance(self, include_optional) -> CreditcardclientRequest: return CreditcardclientRequest( b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, + b_creditcardclient_allowedezsign = True, b_creditcardclient_allowedtranquillit = True, obj_creditcarddetail = eZmaxApi.models.creditcarddetail_request.creditcarddetail-Request( i_creditcarddetail_expirationmonth = 10, diff --git a/test/test_creditcardclient_request_compound.py b/test/test_creditcardclient_request_compound.py index bf77e08f2..836ae2810 100644 --- a/test/test_creditcardclient_request_compound.py +++ b/test/test_creditcardclient_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientRequestCompound: """Test CreditcardclientRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientRequestCompound` @@ -40,9 +40,8 @@ def make_instance(self, include_optional) -> CreditcardclientRequestCompound: fks_creditcardtoken_id = '6B29FC40-CA47-1067-B31D-00DD010662DA', b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, + b_creditcardclient_allowedezsign = True, b_creditcardclient_allowedtranquillit = True, obj_creditcarddetail = eZmaxApi.models.creditcarddetail_request.creditcarddetail-Request( i_creditcarddetail_expirationmonth = 10, @@ -56,9 +55,8 @@ def make_instance(self, include_optional) -> CreditcardclientRequestCompound: return CreditcardclientRequestCompound( b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, + b_creditcardclient_allowedezsign = True, b_creditcardclient_allowedtranquillit = True, obj_creditcarddetail = eZmaxApi.models.creditcarddetail_request.creditcarddetail-Request( i_creditcarddetail_expirationmonth = 10, diff --git a/test/test_creditcardclient_request_patch.py b/test/test_creditcardclient_request_patch.py new file mode 100644 index 000000000..dbfd4ac51 --- /dev/null +++ b/test/test_creditcardclient_request_patch.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.creditcardclient_request_patch import CreditcardclientRequestPatch + +class TestCreditcardclientRequestPatch(unittest.TestCase): + """CreditcardclientRequestPatch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CreditcardclientRequestPatch: + """Test CreditcardclientRequestPatch + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CreditcardclientRequestPatch` + """ + model = CreditcardclientRequestPatch() + if include_optional: + return CreditcardclientRequestPatch( + b_creditcardclientrelation_isdefault = True + ) + else: + return CreditcardclientRequestPatch( + ) + """ + + def testCreditcardclientRequestPatch(self): + """Test CreditcardclientRequestPatch""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_creditcardclient_response.py b/test/test_creditcardclient_response.py index f3a5a196c..4c4b6fead 100644 --- a/test/test_creditcardclient_response.py +++ b/test/test_creditcardclient_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientResponse: """Test CreditcardclientResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientResponse` @@ -40,9 +40,7 @@ def make_instance(self, include_optional) -> CreditcardclientResponse: fki_creditcarddetail_id = 53, b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, b_creditcardclient_allowedtranquillit = True, obj_creditcarddetail = eZmaxApi.models.creditcarddetail_response_compound.creditcarddetail-ResponseCompound() ) @@ -52,9 +50,7 @@ def make_instance(self, include_optional) -> CreditcardclientResponse: fki_creditcarddetail_id = 53, b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, b_creditcardclient_allowedtranquillit = True, obj_creditcarddetail = eZmaxApi.models.creditcarddetail_response_compound.creditcarddetail-ResponseCompound(), ) diff --git a/test/test_creditcardclient_response_compound.py b/test/test_creditcardclient_response_compound.py index 53ced8c1b..aecf62653 100644 --- a/test/test_creditcardclient_response_compound.py +++ b/test/test_creditcardclient_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardclientResponseCompound: """Test CreditcardclientResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardclientResponseCompound` @@ -40,9 +40,7 @@ def make_instance(self, include_optional) -> CreditcardclientResponseCompound: fki_creditcarddetail_id = 53, b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, b_creditcardclient_allowedtranquillit = True, obj_creditcarddetail = eZmaxApi.models.creditcarddetail_response_compound.creditcarddetail-ResponseCompound() ) @@ -52,9 +50,7 @@ def make_instance(self, include_optional) -> CreditcardclientResponseCompound: fki_creditcarddetail_id = 53, b_creditcardclientrelation_isdefault = True, s_creditcardclient_description = 'Visa', - b_creditcardclient_isactive = True, - b_creditcardclient_allowedagencypayment = True, - b_creditcardclient_allowedroyallepageprotection = True, + b_creditcardclient_allowedcompanypayment = True, b_creditcardclient_allowedtranquillit = True, obj_creditcarddetail = eZmaxApi.models.creditcarddetail_response_compound.creditcarddetail-ResponseCompound(), ) diff --git a/test/test_creditcarddetail_request.py b/test/test_creditcarddetail_request.py index 0808f70ef..4340dd443 100644 --- a/test/test_creditcarddetail_request.py +++ b/test/test_creditcarddetail_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcarddetailRequest: """Test CreditcarddetailRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcarddetailRequest` @@ -46,6 +46,9 @@ def make_instance(self, include_optional) -> CreditcarddetailRequest: return CreditcarddetailRequest( i_creditcarddetail_expirationmonth = 10, i_creditcarddetail_expirationyear = 2024, + s_creditcarddetail_civic = '2500', + s_creditcarddetail_street = 'Daniel-Johnson Blvd.', + s_creditcarddetail_zip = 'H7T 2P6', ) """ diff --git a/test/test_creditcarddetail_response.py b/test/test_creditcarddetail_response.py index d3ae2545c..ac94f8db0 100644 --- a/test/test_creditcarddetail_response.py +++ b/test/test_creditcarddetail_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcarddetailResponse: """Test CreditcarddetailResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcarddetailResponse` @@ -38,7 +38,7 @@ def make_instance(self, include_optional) -> CreditcarddetailResponse: return CreditcarddetailResponse( pki_creditcarddetail_id = 53, fki_creditcardtype_id = 2, - s_creditcarddetail_numbermasked = 'XXXX XXXX XXXX 4242', + i_creditcarddetail_lastdigits = 4242, i_creditcarddetail_expirationmonth = 10, i_creditcarddetail_expirationyear = 2024, s_creditcarddetail_civic = '2500', @@ -49,7 +49,7 @@ def make_instance(self, include_optional) -> CreditcarddetailResponse: return CreditcarddetailResponse( pki_creditcarddetail_id = 53, fki_creditcardtype_id = 2, - s_creditcarddetail_numbermasked = 'XXXX XXXX XXXX 4242', + i_creditcarddetail_lastdigits = 4242, i_creditcarddetail_expirationmonth = 10, i_creditcarddetail_expirationyear = 2024, s_creditcarddetail_civic = '2500', diff --git a/test/test_creditcarddetail_response_compound.py b/test/test_creditcarddetail_response_compound.py index fadca0037..886461690 100644 --- a/test/test_creditcarddetail_response_compound.py +++ b/test/test_creditcarddetail_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcarddetailResponseCompound: """Test CreditcarddetailResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcarddetailResponseCompound` @@ -38,7 +38,7 @@ def make_instance(self, include_optional) -> CreditcarddetailResponseCompound: return CreditcarddetailResponseCompound( pki_creditcarddetail_id = 53, fki_creditcardtype_id = 2, - s_creditcarddetail_numbermasked = 'XXXX XXXX XXXX 4242', + i_creditcarddetail_lastdigits = 4242, i_creditcarddetail_expirationmonth = 10, i_creditcarddetail_expirationyear = 2024, s_creditcarddetail_civic = '2500', @@ -49,7 +49,7 @@ def make_instance(self, include_optional) -> CreditcarddetailResponseCompound: return CreditcarddetailResponseCompound( pki_creditcarddetail_id = 53, fki_creditcardtype_id = 2, - s_creditcarddetail_numbermasked = 'XXXX XXXX XXXX 4242', + i_creditcarddetail_lastdigits = 4242, i_creditcarddetail_expirationmonth = 10, i_creditcarddetail_expirationyear = 2024, s_creditcarddetail_civic = '2500', diff --git a/test/test_creditcardtype_autocomplete_element_response.py b/test/test_creditcardtype_autocomplete_element_response.py index bcbb1bee2..dc01c92d0 100644 --- a/test/test_creditcardtype_autocomplete_element_response.py +++ b/test/test_creditcardtype_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardtypeAutocompleteElementResponse: """Test CreditcardtypeAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardtypeAutocompleteElementResponse` diff --git a/test/test_creditcardtype_get_autocomplete_v2_response.py b/test/test_creditcardtype_get_autocomplete_v2_response.py index d12647090..cfb484c52 100644 --- a/test/test_creditcardtype_get_autocomplete_v2_response.py +++ b/test/test_creditcardtype_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardtypeGetAutocompleteV2Response: """Test CreditcardtypeGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardtypeGetAutocompleteV2Response` diff --git a/test/test_creditcardtype_get_autocomplete_v2_response_m_payload.py b/test/test_creditcardtype_get_autocomplete_v2_response_m_payload.py index 49b0fd466..e206b1bdb 100644 --- a/test/test_creditcardtype_get_autocomplete_v2_response_m_payload.py +++ b/test/test_creditcardtype_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CreditcardtypeGetAutocompleteV2ResponseMPayload: """Test CreditcardtypeGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CreditcardtypeGetAutocompleteV2ResponseMPayload` diff --git a/test/test_custom_apikey.py b/test/test_custom_apikey.py new file mode 100644 index 000000000..4af0555f6 --- /dev/null +++ b/test/test_custom_apikey.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.custom_apikey import CustomApikey + +class TestCustomApikey(unittest.TestCase): + """CustomApikey unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomApikey: + """Test CustomApikey + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomApikey` + """ + model = CustomApikey() + if include_optional: + return CustomApikey( + s_apikey_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H'qT\\{i H'qT\\{ CustomApikeyfederation: + """Test CustomApikeyfederation + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomApikeyfederation` + """ + model = CustomApikeyfederation() + if include_optional: + return CustomApikeyfederation( + s_apikeyfederation_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H'qT\\{i H'qT\\{ CustomAttachmentResponse: """Test CustomAttachmentResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomAttachmentResponse` diff --git a/test/test_custom_attachmentdocumenttype_response.py b/test/test_custom_attachmentdocumenttype_response.py index 2c09fec85..89762c025 100644 --- a/test/test_custom_attachmentdocumenttype_response.py +++ b/test/test_custom_attachmentdocumenttype_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomAttachmentdocumenttypeResponse: """Test CustomAttachmentdocumenttypeResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomAttachmentdocumenttypeResponse` diff --git a/test/test_custom_branding_response.py b/test/test_custom_branding_response.py new file mode 100644 index 000000000..9631de7d8 --- /dev/null +++ b/test/test_custom_branding_response.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.custom_branding_response import CustomBrandingResponse + +class TestCustomBrandingResponse(unittest.TestCase): + """CustomBrandingResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomBrandingResponse: + """Test CustomBrandingResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomBrandingResponse` + """ + model = CustomBrandingResponse() + if include_optional: + return CustomBrandingResponse( + i_branding_color = 15658734, + s_branding_logointerfaceurl = 'http://www.example.com/logo.jpg' + ) + else: + return CustomBrandingResponse( + i_branding_color = 15658734, + s_branding_logointerfaceurl = 'http://www.example.com/logo.jpg', + ) + """ + + def testCustomBrandingResponse(self): + """Test CustomBrandingResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_custom_communication_list_element_response.py b/test/test_custom_communication_list_element_response.py index 07e22fabe..fe29abc89 100644 --- a/test/test_custom_communication_list_element_response.py +++ b/test/test_custom_communication_list_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomCommunicationListElementResponse: """Test CustomCommunicationListElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomCommunicationListElementResponse` diff --git a/test/test_custom_communicationattachment_request.py b/test/test_custom_communicationattachment_request.py index 4afb44cb9..be5069a9f 100644 --- a/test/test_custom_communicationattachment_request.py +++ b/test/test_custom_communicationattachment_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomCommunicationattachmentRequest: """Test CustomCommunicationattachmentRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomCommunicationattachmentRequest` @@ -40,7 +40,7 @@ def make_instance(self, include_optional) -> CustomCommunicationattachmentReques obj_communicationexternalattachment = eZmaxApi.models.common_file.Common-File( s_file_name = 'example.pdf', s_file_url = '', - s_file_base64 = '[B@63c5efee', + s_file_base64 = '[B@7807ac2c', e_file_source = 'Base64', ) ) else: diff --git a/test/test_custom_communicationrecipientsgroup_response.py b/test/test_custom_communicationrecipientsgroup_response.py index 59bab5e94..2f01358d9 100644 --- a/test/test_custom_communicationrecipientsgroup_response.py +++ b/test/test_custom_communicationrecipientsgroup_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomCommunicationrecipientsgroupResponse: """Test CustomCommunicationrecipientsgroupResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomCommunicationrecipientsgroupResponse` diff --git a/test/test_custom_communicationrecipientsrecipient_response.py b/test/test_custom_communicationrecipientsrecipient_response.py index 2d20f828d..2cda5a04f 100644 --- a/test/test_custom_communicationrecipientsrecipient_response.py +++ b/test/test_custom_communicationrecipientsrecipient_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomCommunicationrecipientsrecipientResponse: """Test CustomCommunicationrecipientsrecipientResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomCommunicationrecipientsrecipientResponse` diff --git a/test/test_custom_communicationsender_request.py b/test/test_custom_communicationsender_request.py index 4fc5df4ca..87903bfd1 100644 --- a/test/test_custom_communicationsender_request.py +++ b/test/test_custom_communicationsender_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomCommunicationsenderRequest: """Test CustomCommunicationsenderRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomCommunicationsenderRequest` diff --git a/test/test_custom_communicationsender_response.py b/test/test_custom_communicationsender_response.py index d1826e710..e793627f1 100644 --- a/test/test_custom_communicationsender_response.py +++ b/test/test_custom_communicationsender_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomCommunicationsenderResponse: """Test CustomCommunicationsenderResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomCommunicationsenderResponse` diff --git a/test/test_custom_contact_name_response.py b/test/test_custom_contact_name_response.py index 5e4996ad3..bf92ee988 100644 --- a/test/test_custom_contact_name_response.py +++ b/test/test_custom_contact_name_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomContactNameResponse: """Test CustomContactNameResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomContactNameResponse` diff --git a/test/test_custom_create_ezsignelements_positioned_by_word_request.py b/test/test_custom_create_ezsignelements_positioned_by_word_request.py index 4eae0a0c5..bfc4d1e47 100644 --- a/test/test_custom_create_ezsignelements_positioned_by_word_request.py +++ b/test/test_custom_create_ezsignelements_positioned_by_word_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomCreateEzsignelementsPositionedByWordRequest: """Test CustomCreateEzsignelementsPositionedByWordRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomCreateEzsignelementsPositionedByWordRequest` diff --git a/test/test_custom_creditcardtransaction_response.py b/test/test_custom_creditcardtransaction_response.py index f011c7868..b6e6b8e35 100644 --- a/test/test_custom_creditcardtransaction_response.py +++ b/test/test_custom_creditcardtransaction_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomCreditcardtransactionResponse: """Test CustomCreditcardtransactionResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomCreditcardtransactionResponse` diff --git a/test/test_custom_creditcardtransactionresponse_response.py b/test/test_custom_creditcardtransactionresponse_response.py new file mode 100644 index 000000000..83c62d476 --- /dev/null +++ b/test/test_custom_creditcardtransactionresponse_response.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.custom_creditcardtransactionresponse_response import CustomCreditcardtransactionresponseResponse + +class TestCustomCreditcardtransactionresponseResponse(unittest.TestCase): + """CustomCreditcardtransactionresponseResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomCreditcardtransactionresponseResponse: + """Test CustomCreditcardtransactionresponseResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomCreditcardtransactionresponseResponse` + """ + model = CustomCreditcardtransactionresponseResponse() + if include_optional: + return CustomCreditcardtransactionresponseResponse( + s_creditcardtransaction_is_ocode = '01', + s_creditcardtransaction_responsecode = '027', + s_creditcardtransaction_responseterminalmessage = 'APPROVED', + e_creditcardtransaction_avsresult = 'Match', + e_creditcardtransaction_cvdresult = 'Match' + ) + else: + return CustomCreditcardtransactionresponseResponse( + s_creditcardtransaction_is_ocode = '01', + s_creditcardtransaction_responsecode = '027', + s_creditcardtransaction_responseterminalmessage = 'APPROVED', + ) + """ + + def testCustomCreditcardtransactionresponseResponse(self): + """Test CustomCreditcardtransactionresponseResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_custom_discussionconfiguration_response.py b/test/test_custom_discussionconfiguration_response.py index 2df2faedf..6160aa310 100644 --- a/test/test_custom_discussionconfiguration_response.py +++ b/test/test_custom_discussionconfiguration_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomDiscussionconfigurationResponse: """Test CustomDiscussionconfigurationResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomDiscussionconfigurationResponse` diff --git a/test/test_custom_dnsrecord_response.py b/test/test_custom_dnsrecord_response.py new file mode 100644 index 000000000..d8981250d --- /dev/null +++ b/test/test_custom_dnsrecord_response.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.custom_dnsrecord_response import CustomDnsrecordResponse + +class TestCustomDnsrecordResponse(unittest.TestCase): + """CustomDnsrecordResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomDnsrecordResponse: + """Test CustomDnsrecordResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomDnsrecordResponse` + """ + model = CustomDnsrecordResponse() + if include_optional: + return CustomDnsrecordResponse( + e_dnsrecord_type = 'CNAME', + e_dnsrecord_validation = 'Match', + s_dnsrecord_name = '', + s_dnsrecord_value = '', + s_dnsrecord_expectedvalue = '', + b_dnsrecord_must_match = True + ) + else: + return CustomDnsrecordResponse( + e_dnsrecord_type = 'CNAME', + e_dnsrecord_validation = 'Match', + s_dnsrecord_name = '', + b_dnsrecord_must_match = True, + ) + """ + + def testCustomDnsrecordResponse(self): + """Test CustomDnsrecordResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_custom_dropdown_element_request.py b/test/test_custom_dropdown_element_request.py index 515330fdb..f40b19b45 100644 --- a/test/test_custom_dropdown_element_request.py +++ b/test/test_custom_dropdown_element_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomDropdownElementRequest: """Test CustomDropdownElementRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomDropdownElementRequest` diff --git a/test/test_custom_dropdown_element_request_compound.py b/test/test_custom_dropdown_element_request_compound.py index 7cd9a45ec..98bebe3a9 100644 --- a/test/test_custom_dropdown_element_request_compound.py +++ b/test/test_custom_dropdown_element_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomDropdownElementRequestCompound: """Test CustomDropdownElementRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomDropdownElementRequestCompound` diff --git a/test/test_custom_dropdown_element_response.py b/test/test_custom_dropdown_element_response.py index a082f045b..11a0d2f90 100644 --- a/test/test_custom_dropdown_element_response.py +++ b/test/test_custom_dropdown_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomDropdownElementResponse: """Test CustomDropdownElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomDropdownElementResponse` diff --git a/test/test_custom_dropdown_element_response_compound.py b/test/test_custom_dropdown_element_response_compound.py index 787f4a184..d340d3563 100644 --- a/test/test_custom_dropdown_element_response_compound.py +++ b/test/test_custom_dropdown_element_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomDropdownElementResponseCompound: """Test CustomDropdownElementResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomDropdownElementResponseCompound` diff --git a/test/test_custom_e_webhook_ezsignevent.py b/test/test_custom_e_webhook_ezsignevent.py new file mode 100644 index 000000000..e445d0ff4 --- /dev/null +++ b/test/test_custom_e_webhook_ezsignevent.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.custom_e_webhook_ezsignevent import CustomEWebhookEzsignevent + +class TestCustomEWebhookEzsignevent(unittest.TestCase): + """CustomEWebhookEzsignevent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCustomEWebhookEzsignevent(self): + """Test CustomEWebhookEzsignevent""" + # inst = CustomEWebhookEzsignevent() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_custom_ezmaxinvoicing_ezsigndocument_response.py b/test/test_custom_ezmaxinvoicing_ezsigndocument_response.py index d78abca9e..728423a1e 100644 --- a/test/test_custom_ezmaxinvoicing_ezsigndocument_response.py +++ b/test/test_custom_ezmaxinvoicing_ezsigndocument_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzmaxinvoicingEzsigndocumentResponse: """Test CustomEzmaxinvoicingEzsigndocumentResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzmaxinvoicingEzsigndocumentResponse` diff --git a/test/test_custom_ezmaxinvoicing_ezsignfolder_response.py b/test/test_custom_ezmaxinvoicing_ezsignfolder_response.py index da8d0801d..b9cece5b9 100644 --- a/test/test_custom_ezmaxinvoicing_ezsignfolder_response.py +++ b/test/test_custom_ezmaxinvoicing_ezsignfolder_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzmaxinvoicingEzsignfolderResponse: """Test CustomEzmaxinvoicingEzsignfolderResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzmaxinvoicingEzsignfolderResponse` diff --git a/test/test_custom_ezmaxpricing_response.py b/test/test_custom_ezmaxpricing_response.py index 612024007..37c420e44 100644 --- a/test/test_custom_ezmaxpricing_response.py +++ b/test/test_custom_ezmaxpricing_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzmaxpricingResponse: """Test CustomEzmaxpricingResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzmaxpricingResponse` diff --git a/test/test_custom_ezsigndocument_ezsignsignatures_automatic_response.py b/test/test_custom_ezsigndocument_ezsignsignatures_automatic_response.py index ba4116ad7..088f9f903 100644 --- a/test/test_custom_ezsigndocument_ezsignsignatures_automatic_response.py +++ b/test/test_custom_ezsigndocument_ezsignsignatures_automatic_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsigndocumentEzsignsignaturesAutomaticResponse: """Test CustomEzsigndocumentEzsignsignaturesAutomaticResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsigndocumentEzsignsignaturesAutomaticResponse` diff --git a/test/test_custom_ezsigndocument_request.py b/test/test_custom_ezsigndocument_request.py new file mode 100644 index 000000000..d4c75ee2e --- /dev/null +++ b/test/test_custom_ezsigndocument_request.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.custom_ezsigndocument_request import CustomEzsigndocumentRequest + +class TestCustomEzsigndocumentRequest(unittest.TestCase): + """CustomEzsigndocumentRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomEzsigndocumentRequest: + """Test CustomEzsigndocumentRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomEzsigndocumentRequest` + """ + model = CustomEzsigndocumentRequest() + if include_optional: + return CustomEzsigndocumentRequest( + pki_ezsigndocument_id = 97, + a_obj_ezsigndocumentdependency = [ + eZmaxApi.models.ezsigndocumentdependency_request_compound.ezsigndocumentdependency-RequestCompound() + ] + ) + else: + return CustomEzsigndocumentRequest( + pki_ezsigndocument_id = 97, + a_obj_ezsigndocumentdependency = [ + eZmaxApi.models.ezsigndocumentdependency_request_compound.ezsigndocumentdependency-RequestCompound() + ], + ) + """ + + def testCustomEzsigndocumentRequest(self): + """Test CustomEzsigndocumentRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_custom_ezsignfolder_ezsignsignatures_automatic_response.py b/test/test_custom_ezsignfolder_ezsignsignatures_automatic_response.py index fa15e391d..01641ecfa 100644 --- a/test/test_custom_ezsignfolder_ezsignsignatures_automatic_response.py +++ b/test/test_custom_ezsignfolder_ezsignsignatures_automatic_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignfolderEzsignsignaturesAutomaticResponse: """Test CustomEzsignfolderEzsignsignaturesAutomaticResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignfolderEzsignsignaturesAutomaticResponse` diff --git a/test/test_custom_ezsignfolderezsigntemplatepublic_response.py b/test/test_custom_ezsignfolderezsigntemplatepublic_response.py new file mode 100644 index 000000000..5cf5b5900 --- /dev/null +++ b/test/test_custom_ezsignfolderezsigntemplatepublic_response.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_response import CustomEzsignfolderezsigntemplatepublicResponse + +class TestCustomEzsignfolderezsigntemplatepublicResponse(unittest.TestCase): + """CustomEzsignfolderezsigntemplatepublicResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomEzsignfolderezsigntemplatepublicResponse: + """Test CustomEzsignfolderezsigntemplatepublicResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomEzsignfolderezsigntemplatepublicResponse` + """ + model = CustomEzsignfolderezsigntemplatepublicResponse() + if include_optional: + return CustomEzsignfolderezsigntemplatepublicResponse( + pki_ezsignfolder_id = 33, + s_ezsignfolder_description = 'Test eZsign Folder', + e_ezsignfolder_step = 'Completed', + i_ezsignfolder_signaturetotal = 4, + i_ezsignfolder_formfieldtotal = 4, + i_ezsignfolder_signaturesigned = 3, + a_obj_ezsignfolderezsigntemplatepublic_signer = [ + eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_signer_response.Custom-EzsignfolderezsigntemplatepublicSigner-Response( + fki_user_id = 70, + fki_ezsignsignergroup_id = 27, + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_ezsignsignergroup_description_x = 'HR', ) + ] + ) + else: + return CustomEzsignfolderezsigntemplatepublicResponse( + pki_ezsignfolder_id = 33, + s_ezsignfolder_description = 'Test eZsign Folder', + e_ezsignfolder_step = 'Completed', + i_ezsignfolder_signaturetotal = 4, + i_ezsignfolder_formfieldtotal = 4, + i_ezsignfolder_signaturesigned = 3, + ) + """ + + def testCustomEzsignfolderezsigntemplatepublicResponse(self): + """Test CustomEzsignfolderezsigntemplatepublicResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_custom_ezsignfolderezsigntemplatepublic_signer_response.py b/test/test_custom_ezsignfolderezsigntemplatepublic_signer_response.py new file mode 100644 index 000000000..a1d399c4a --- /dev/null +++ b/test/test_custom_ezsignfolderezsigntemplatepublic_signer_response.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_signer_response import CustomEzsignfolderezsigntemplatepublicSignerResponse + +class TestCustomEzsignfolderezsigntemplatepublicSignerResponse(unittest.TestCase): + """CustomEzsignfolderezsigntemplatepublicSignerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomEzsignfolderezsigntemplatepublicSignerResponse: + """Test CustomEzsignfolderezsigntemplatepublicSignerResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomEzsignfolderezsigntemplatepublicSignerResponse` + """ + model = CustomEzsignfolderezsigntemplatepublicSignerResponse() + if include_optional: + return CustomEzsignfolderezsigntemplatepublicSignerResponse( + fki_user_id = 70, + fki_ezsignsignergroup_id = 27, + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_ezsignsignergroup_description_x = 'HR' + ) + else: + return CustomEzsignfolderezsigntemplatepublicSignerResponse( + ) + """ + + def testCustomEzsignfolderezsigntemplatepublicSignerResponse(self): + """Test CustomEzsignfolderezsigntemplatepublicSignerResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py b/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py index 18d064012..ef2ce1598 100644 --- a/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py +++ b/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignfoldersignerassociationActionableElementResponse: """Test CustomEzsignfoldersignerassociationActionableElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignfoldersignerassociationActionableElementResponse` diff --git a/test/test_custom_ezsignfoldersignerassociationstatus_response.py b/test/test_custom_ezsignfoldersignerassociationstatus_response.py index 746806afd..bf022396e 100644 --- a/test/test_custom_ezsignfoldersignerassociationstatus_response.py +++ b/test/test_custom_ezsignfoldersignerassociationstatus_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignfoldersignerassociationstatusResponse: """Test CustomEzsignfoldersignerassociationstatusResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignfoldersignerassociationstatusResponse` @@ -45,7 +45,8 @@ def make_instance(self, include_optional) -> CustomEzsignfoldersignerassociation e_ezsignsignaturestatus_steptype = 'Form', i_ezsignsignaturestatus_step = 1, i_ezsignsignaturestatus_total = 2, - i_ezsignsignaturestatus_signed = 1, ) + i_ezsignsignaturestatus_signed = 1, + i_ezsignsignaturestatus_conditional = 1, ) ] ) else: @@ -56,7 +57,8 @@ def make_instance(self, include_optional) -> CustomEzsignfoldersignerassociation e_ezsignsignaturestatus_steptype = 'Form', i_ezsignsignaturestatus_step = 1, i_ezsignsignaturestatus_total = 2, - i_ezsignsignaturestatus_signed = 1, ) + i_ezsignsignaturestatus_signed = 1, + i_ezsignsignaturestatus_conditional = 1, ) ], ) """ diff --git a/test/test_custom_ezsignfoldertransmission_response.py b/test/test_custom_ezsignfoldertransmission_response.py index 181fb0aa3..4d9991684 100644 --- a/test/test_custom_ezsignfoldertransmission_response.py +++ b/test/test_custom_ezsignfoldertransmission_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignfoldertransmissionResponse: """Test CustomEzsignfoldertransmissionResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignfoldertransmissionResponse` @@ -40,6 +40,7 @@ def make_instance(self, include_optional) -> CustomEzsignfoldertransmissionRespo s_ezsignfolder_description = 'Test eZsign Folder', e_ezsignfolder_step = 'Completed', i_ezsignfolder_signaturetotal = 4, + i_ezsignfolder_formfieldtotal = 4, i_ezsignfolder_signaturesigned = 3, a_obj_ezsignfoldertransmission_signer = [ eZmaxApi.models.custom_ezsignfoldertransmission_signer_response.Custom-EzsignfoldertransmissionSigner-Response( @@ -54,6 +55,7 @@ def make_instance(self, include_optional) -> CustomEzsignfoldertransmissionRespo s_ezsignfolder_description = 'Test eZsign Folder', e_ezsignfolder_step = 'Completed', i_ezsignfolder_signaturetotal = 4, + i_ezsignfolder_formfieldtotal = 4, i_ezsignfolder_signaturesigned = 3, a_obj_ezsignfoldertransmission_signer = [ eZmaxApi.models.custom_ezsignfoldertransmission_signer_response.Custom-EzsignfoldertransmissionSigner-Response( diff --git a/test/test_custom_ezsignfoldertransmission_signer_response.py b/test/test_custom_ezsignfoldertransmission_signer_response.py index b61dac2da..b12c424a9 100644 --- a/test/test_custom_ezsignfoldertransmission_signer_response.py +++ b/test/test_custom_ezsignfoldertransmission_signer_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignfoldertransmissionSignerResponse: """Test CustomEzsignfoldertransmissionSignerResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignfoldertransmissionSignerResponse` diff --git a/test/test_custom_ezsignfoldertype_response.py b/test/test_custom_ezsignfoldertype_response.py index 117bbde9b..802b496c9 100644 --- a/test/test_custom_ezsignfoldertype_response.py +++ b/test/test_custom_ezsignfoldertype_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignfoldertypeResponse: """Test CustomEzsignfoldertypeResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignfoldertypeResponse` @@ -37,14 +37,22 @@ def make_instance(self, include_optional) -> CustomEzsignfoldertypeResponse: if include_optional: return CustomEzsignfoldertypeResponse( pki_ezsignfoldertype_id = 5, + fki_font_id_annotation = 1, + fki_font_id_formfield = 1, + fki_font_id_signature = 1, s_ezsignfoldertype_name_x = 'Default', b_ezsignfoldertype_sendproofezsignsigner = False, b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_automaticsignature = False, b_ezsignfoldertype_delegate = True, b_ezsignfoldertype_discussion = True, b_ezsignfoldertype_reassignezsignsigner = True, - b_ezsignfoldertype_reassignuser = True + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + i_ezsignfoldertype_deadlinedays = 5, + i_ezsignfoldertype_fontsizeannotation = 10, + i_ezsignfoldertype_fontsizeformfield = 12 ) else: return CustomEzsignfoldertypeResponse( diff --git a/test/test_custom_ezsignformfield_request.py b/test/test_custom_ezsignformfield_request.py index cc95f8d30..a01c9b07a 100644 --- a/test/test_custom_ezsignformfield_request.py +++ b/test/test_custom_ezsignformfield_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignformfieldRequest: """Test CustomEzsignformfieldRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignformfieldRequest` diff --git a/test/test_custom_ezsignformfielderror_response.py b/test/test_custom_ezsignformfielderror_response.py index 74226db34..0b45864d5 100644 --- a/test/test_custom_ezsignformfielderror_response.py +++ b/test/test_custom_ezsignformfielderror_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignformfielderrorResponse: """Test CustomEzsignformfielderrorResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignformfielderrorResponse` diff --git a/test/test_custom_ezsignformfielderrortest_response.py b/test/test_custom_ezsignformfielderrortest_response.py index f998e86b5..e8e1baa6f 100644 --- a/test/test_custom_ezsignformfielderrortest_response.py +++ b/test/test_custom_ezsignformfielderrortest_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignformfielderrortestResponse: """Test CustomEzsignformfielderrortestResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignformfielderrortestResponse` diff --git a/test/test_custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py b/test/test_custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py index 7c63a9181..0ae45247c 100644 --- a/test/test_custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py +++ b/test/test_custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest: """Test CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest` @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> CustomEzsignformfieldgroupCreateEzs i_ezsignformfieldgroup_maxlength = 75, b_ezsignformfieldgroup_encrypted = True, s_ezsignformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsignformfieldgroup_textvalidationcustommessage = 'Phone number', t_ezsignformfieldgroup_tooltip = 'Please enter a valid email address', e_ezsignformfieldgroup_tooltipposition = 'TopLeft', e_ezsignformfieldgroup_textvalidation = 'None', diff --git a/test/test_custom_ezsignformfieldgroup_request.py b/test/test_custom_ezsignformfieldgroup_request.py index c4de602fb..d3890f323 100644 --- a/test/test_custom_ezsignformfieldgroup_request.py +++ b/test/test_custom_ezsignformfieldgroup_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignformfieldgroupRequest: """Test CustomEzsignformfieldgroupRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignformfieldgroupRequest` diff --git a/test/test_custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py b/test/test_custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py index 54ae0a1d7..2b83b9bc1 100644 --- a/test/test_custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py +++ b/test/test_custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest: """Test CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest` @@ -50,12 +50,17 @@ def make_instance(self, include_optional) -> CustomEzsignsignatureCreateEzsignel e_ezsignsignature_tooltipposition = 'TopLeft', e_ezsignsignature_font = 'Normal', fki_ezsignfoldersignerassociation_id_validation = 20, + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, b_ezsignsignature_required = True, e_ezsignsignature_attachmentnamesource = 'Description', s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_consultationtrigger = 'Manual', i_ezsignsignature_validationstep = 1, i_ezsignsignature_maxlength = 75, + s_ezsignsignature_defaultvalue = 'Foo', e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', e_ezsignsignature_dependencyrequirement = 'AllOf', b_ezsignsignature_customdate = True, diff --git a/test/test_custom_ezsignsignature_ezsignsignatures_automatic_response.py b/test/test_custom_ezsignsignature_ezsignsignatures_automatic_response.py index f38adc13e..f0116d0b4 100644 --- a/test/test_custom_ezsignsignature_ezsignsignatures_automatic_response.py +++ b/test/test_custom_ezsignsignature_ezsignsignatures_automatic_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignsignatureEzsignsignaturesAutomaticResponse: """Test CustomEzsignsignatureEzsignsignaturesAutomaticResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignsignatureEzsignsignaturesAutomaticResponse` diff --git a/test/test_custom_ezsignsignaturestatus_response.py b/test/test_custom_ezsignsignaturestatus_response.py index 57f848f49..6f1245858 100644 --- a/test/test_custom_ezsignsignaturestatus_response.py +++ b/test/test_custom_ezsignsignaturestatus_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomEzsignsignaturestatusResponse: """Test CustomEzsignsignaturestatusResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomEzsignsignaturestatusResponse` @@ -39,7 +39,8 @@ def make_instance(self, include_optional) -> CustomEzsignsignaturestatusResponse e_ezsignsignaturestatus_steptype = 'Form', i_ezsignsignaturestatus_step = 1, i_ezsignsignaturestatus_total = 2, - i_ezsignsignaturestatus_signed = 1 + i_ezsignsignaturestatus_signed = 1, + i_ezsignsignaturestatus_conditional = 1 ) else: return CustomEzsignsignaturestatusResponse( @@ -47,6 +48,7 @@ def make_instance(self, include_optional) -> CustomEzsignsignaturestatusResponse i_ezsignsignaturestatus_step = 1, i_ezsignsignaturestatus_total = 2, i_ezsignsignaturestatus_signed = 1, + i_ezsignsignaturestatus_conditional = 1, ) """ diff --git a/test/test_custom_form_data_document_response.py b/test/test_custom_form_data_document_response.py index ddaef85b7..80cfc41d3 100644 --- a/test/test_custom_form_data_document_response.py +++ b/test/test_custom_form_data_document_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomFormDataDocumentResponse: """Test CustomFormDataDocumentResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomFormDataDocumentResponse` diff --git a/test/test_custom_form_data_ezsignformfield_response.py b/test/test_custom_form_data_ezsignformfield_response.py index 317dcb7e6..1743910fe 100644 --- a/test/test_custom_form_data_ezsignformfield_response.py +++ b/test/test_custom_form_data_ezsignformfield_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomFormDataEzsignformfieldResponse: """Test CustomFormDataEzsignformfieldResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomFormDataEzsignformfieldResponse` diff --git a/test/test_custom_form_data_ezsignformfieldgroup_response.py b/test/test_custom_form_data_ezsignformfieldgroup_response.py index 26380d46e..b013d066a 100644 --- a/test/test_custom_form_data_ezsignformfieldgroup_response.py +++ b/test/test_custom_form_data_ezsignformfieldgroup_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomFormDataEzsignformfieldgroupResponse: """Test CustomFormDataEzsignformfieldgroupResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomFormDataEzsignformfieldgroupResponse` diff --git a/test/test_custom_form_data_signer_response.py b/test/test_custom_form_data_signer_response.py index 444136c39..7a381e5d7 100644 --- a/test/test_custom_form_data_signer_response.py +++ b/test/test_custom_form_data_signer_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomFormDataSignerResponse: """Test CustomFormDataSignerResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomFormDataSignerResponse` diff --git a/test/test_custom_forms_data_folder_response.py b/test/test_custom_forms_data_folder_response.py index 9640b7733..4f5fcaea0 100644 --- a/test/test_custom_forms_data_folder_response.py +++ b/test/test_custom_forms_data_folder_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomFormsDataFolderResponse: """Test CustomFormsDataFolderResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomFormsDataFolderResponse` diff --git a/test/test_custom_import_ezsigntemplatepackage_relation_request.py b/test/test_custom_import_ezsigntemplatepackage_relation_request.py index 69d963ae7..953ac8ead 100644 --- a/test/test_custom_import_ezsigntemplatepackage_relation_request.py +++ b/test/test_custom_import_ezsigntemplatepackage_relation_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomImportEzsigntemplatepackageRelationRequest: """Test CustomImportEzsigntemplatepackageRelationRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomImportEzsigntemplatepackageRelationRequest` diff --git a/test/test_custom_notificationsubsectiongetnotificationtests_response.py b/test/test_custom_notificationsubsectiongetnotificationtests_response.py index b480f2478..be9ce330a 100644 --- a/test/test_custom_notificationsubsectiongetnotificationtests_response.py +++ b/test/test_custom_notificationsubsectiongetnotificationtests_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomNotificationsubsectiongetnotificationtestsResponse: """Test CustomNotificationsubsectiongetnotificationtestsResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomNotificationsubsectiongetnotificationtestsResponse` diff --git a/test/test_custom_notificationtestgetnotificationtests_response.py b/test/test_custom_notificationtestgetnotificationtests_response.py index aaf4bc316..1a7cb1a1c 100644 --- a/test/test_custom_notificationtestgetnotificationtests_response.py +++ b/test/test_custom_notificationtestgetnotificationtests_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomNotificationtestgetnotificationtestsResponse: """Test CustomNotificationtestgetnotificationtestsResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomNotificationtestgetnotificationtestsResponse` diff --git a/test/test_custom_timezone_with_code_response.py b/test/test_custom_timezone_with_code_response.py new file mode 100644 index 000000000..ef8e409d0 --- /dev/null +++ b/test/test_custom_timezone_with_code_response.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse + +class TestCustomTimezoneWithCodeResponse(unittest.TestCase): + """CustomTimezoneWithCodeResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomTimezoneWithCodeResponse: + """Test CustomTimezoneWithCodeResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomTimezoneWithCodeResponse` + """ + model = CustomTimezoneWithCodeResponse() + if include_optional: + return CustomTimezoneWithCodeResponse( + s_timezone_name = '', + s_code = 'EST' + ) + else: + return CustomTimezoneWithCodeResponse( + s_timezone_name = '', + s_code = 'EST', + ) + """ + + def testCustomTimezoneWithCodeResponse(self): + """Test CustomTimezoneWithCodeResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_custom_user_name_response.py b/test/test_custom_user_name_response.py new file mode 100644 index 000000000..82cde6c41 --- /dev/null +++ b/test/test_custom_user_name_response.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.custom_user_name_response import CustomUserNameResponse + +class TestCustomUserNameResponse(unittest.TestCase): + """CustomUserNameResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomUserNameResponse: + """Test CustomUserNameResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomUserNameResponse` + """ + model = CustomUserNameResponse() + if include_optional: + return CustomUserNameResponse( + s_user_lastname = 'Doe', + s_user_firstname = 'John' + ) + else: + return CustomUserNameResponse( + s_user_lastname = 'Doe', + s_user_firstname = 'John', + ) + """ + + def testCustomUserNameResponse(self): + """Test CustomUserNameResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_custom_user_response.py b/test/test_custom_user_response.py deleted file mode 100644 index 9cfe89ee2..000000000 --- a/test/test_custom_user_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.custom_user_response import CustomUserResponse - -class TestCustomUserResponse(unittest.TestCase): - """CustomUserResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CustomUserResponse: - """Test CustomUserResponse - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CustomUserResponse` - """ - model = CustomUserResponse() - if include_optional: - return CustomUserResponse( - pki_user_id = 70, - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_email_address = 'email@example.com' - ) - else: - return CustomUserResponse( - pki_user_id = 70, - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_email_address = 'email@example.com', - ) - """ - - def testCustomUserResponse(self): - """Test CustomUserResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_custom_webhook_response.py b/test/test_custom_webhook_response.py index 97c10863b..08a9709be 100644 --- a/test/test_custom_webhook_response.py +++ b/test/test_custom_webhook_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomWebhookResponse: """Test CustomWebhookResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomWebhookResponse` @@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> CustomWebhookResponse: if include_optional: return CustomWebhookResponse( pki_webhook_id = 77, + fki_authenticationexternal_id = 56, s_webhook_description = 'Import into our system', fki_ezsignfoldertype_id = 5, s_ezsignfoldertype_name_x = 'Default', @@ -50,6 +51,7 @@ def make_instance(self, include_optional) -> CustomWebhookResponse: b_webhook_isactive = True, b_webhook_issigned = True, b_webhook_skipsslvalidation = False, + s_authenticationexternal_description = 'Authentification', obj_audit = eZmaxApi.models.common_audit.Common-Audit( obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( fki_user_id = 70, @@ -72,7 +74,8 @@ def make_instance(self, include_optional) -> CustomWebhookResponse: eZmaxApi.models.webhookheader_response_compound.webhookheader-ResponseCompound() ], pks_customer_code = 'demo', - b_webhook_test = True + b_webhook_test = True, + e_webhook_emittype = 'Automatic' ) else: return CustomWebhookResponse( diff --git a/test/test_custom_webhooklog_response.py b/test/test_custom_webhooklog_response.py index a57cacc3a..35db73d08 100644 --- a/test/test_custom_webhooklog_response.py +++ b/test/test_custom_webhooklog_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomWebhooklogResponse: """Test CustomWebhooklogResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomWebhooklogResponse` diff --git a/test/test_custom_word_position_occurence_response.py b/test/test_custom_word_position_occurence_response.py index ca776aa3f..d1a10f726 100644 --- a/test/test_custom_word_position_occurence_response.py +++ b/test/test_custom_word_position_occurence_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomWordPositionOccurenceResponse: """Test CustomWordPositionOccurenceResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomWordPositionOccurenceResponse` diff --git a/test/test_custom_word_position_word_response.py b/test/test_custom_word_position_word_response.py index 83b943047..aa559f021 100644 --- a/test/test_custom_word_position_word_response.py +++ b/test/test_custom_word_position_word_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> CustomWordPositionWordResponse: """Test CustomWordPositionWordResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `CustomWordPositionWordResponse` diff --git a/test/test_customer_create_object_v1_request.py b/test/test_customer_create_object_v1_request.py new file mode 100644 index 000000000..3d3c4c7f8 --- /dev/null +++ b/test/test_customer_create_object_v1_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.customer_create_object_v1_request import CustomerCreateObjectV1Request + +class TestCustomerCreateObjectV1Request(unittest.TestCase): + """CustomerCreateObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomerCreateObjectV1Request: + """Test CustomerCreateObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomerCreateObjectV1Request` + """ + model = CustomerCreateObjectV1Request() + if include_optional: + return CustomerCreateObjectV1Request( + a_obj_customer = [ + eZmaxApi.models.customer_request_compound.customer-RequestCompound() + ] + ) + else: + return CustomerCreateObjectV1Request( + a_obj_customer = [ + eZmaxApi.models.customer_request_compound.customer-RequestCompound() + ], + ) + """ + + def testCustomerCreateObjectV1Request(self): + """Test CustomerCreateObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_customer_create_object_v1_response.py b/test/test_customer_create_object_v1_response.py new file mode 100644 index 000000000..96bce682a --- /dev/null +++ b/test/test_customer_create_object_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.customer_create_object_v1_response import CustomerCreateObjectV1Response + +class TestCustomerCreateObjectV1Response(unittest.TestCase): + """CustomerCreateObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomerCreateObjectV1Response: + """Test CustomerCreateObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomerCreateObjectV1Response` + """ + model = CustomerCreateObjectV1Response() + if include_optional: + return CustomerCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.customer_create_object_v1_response_m_payload.customer-createObject-v1-Response-mPayload( + a_pki_customer_id = [ + 18 + ], ) + ) + else: + return CustomerCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.customer_create_object_v1_response_m_payload.customer-createObject-v1-Response-mPayload( + a_pki_customer_id = [ + 18 + ], ), + ) + """ + + def testCustomerCreateObjectV1Response(self): + """Test CustomerCreateObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_customer_create_object_v1_response_m_payload.py b/test/test_customer_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..f159714d2 --- /dev/null +++ b/test/test_customer_create_object_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.customer_create_object_v1_response_m_payload import CustomerCreateObjectV1ResponseMPayload + +class TestCustomerCreateObjectV1ResponseMPayload(unittest.TestCase): + """CustomerCreateObjectV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomerCreateObjectV1ResponseMPayload: + """Test CustomerCreateObjectV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomerCreateObjectV1ResponseMPayload` + """ + model = CustomerCreateObjectV1ResponseMPayload() + if include_optional: + return CustomerCreateObjectV1ResponseMPayload( + a_pki_customer_id = [ + 18 + ] + ) + else: + return CustomerCreateObjectV1ResponseMPayload( + a_pki_customer_id = [ + 18 + ], + ) + """ + + def testCustomerCreateObjectV1ResponseMPayload(self): + """Test CustomerCreateObjectV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_customer_get_object_v2_response.py b/test/test_customer_get_object_v2_response.py new file mode 100644 index 000000000..bd992fe13 --- /dev/null +++ b/test/test_customer_get_object_v2_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.customer_get_object_v2_response import CustomerGetObjectV2Response + +class TestCustomerGetObjectV2Response(unittest.TestCase): + """CustomerGetObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomerGetObjectV2Response: + """Test CustomerGetObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomerGetObjectV2Response` + """ + model = CustomerGetObjectV2Response() + if include_optional: + return CustomerGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.customer_get_object_v2_response_m_payload.customer-getObject-v2-Response-mPayload( + obj_customer = eZmaxApi.models.customer_response_compound.customer-ResponseCompound(), ) + ) + else: + return CustomerGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.customer_get_object_v2_response_m_payload.customer-getObject-v2-Response-mPayload( + obj_customer = eZmaxApi.models.customer_response_compound.customer-ResponseCompound(), ), + ) + """ + + def testCustomerGetObjectV2Response(self): + """Test CustomerGetObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_customer_get_object_v2_response_m_payload.py b/test/test_customer_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..ea63d544e --- /dev/null +++ b/test/test_customer_get_object_v2_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.customer_get_object_v2_response_m_payload import CustomerGetObjectV2ResponseMPayload + +class TestCustomerGetObjectV2ResponseMPayload(unittest.TestCase): + """CustomerGetObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomerGetObjectV2ResponseMPayload: + """Test CustomerGetObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomerGetObjectV2ResponseMPayload` + """ + model = CustomerGetObjectV2ResponseMPayload() + if include_optional: + return CustomerGetObjectV2ResponseMPayload( + obj_customer = eZmaxApi.models.customer_response_compound.customer-ResponseCompound() + ) + else: + return CustomerGetObjectV2ResponseMPayload( + obj_customer = eZmaxApi.models.customer_response_compound.customer-ResponseCompound(), + ) + """ + + def testCustomerGetObjectV2ResponseMPayload(self): + """Test CustomerGetObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_customer_request.py b/test/test_customer_request.py new file mode 100644 index 000000000..ea28a79c1 --- /dev/null +++ b/test/test_customer_request.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.customer_request import CustomerRequest + +class TestCustomerRequest(unittest.TestCase): + """CustomerRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomerRequest: + """Test CustomerRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomerRequest` + """ + model = CustomerRequest() + if include_optional: + return CustomerRequest( + pki_customer_id = 18, + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + efki_user_id = 70, + efks_customer_code = 'EZMA1', + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', + importid = 'jUR,rZ#UM/?' + ) + else: + return CustomerRequest( + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', + ) + """ + + def testCustomerRequest(self): + """Test CustomerRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_customer_request_compound.py b/test/test_customer_request_compound.py new file mode 100644 index 000000000..c6cb4216b --- /dev/null +++ b/test/test_customer_request_compound.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.customer_request_compound import CustomerRequestCompound + +class TestCustomerRequestCompound(unittest.TestCase): + """CustomerRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomerRequestCompound: + """Test CustomerRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomerRequestCompound` + """ + model = CustomerRequestCompound() + if include_optional: + return CustomerRequestCompound( + pki_customer_id = 18, + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + efki_user_id = 70, + efks_customer_code = 'EZMA1', + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', + importid = 'jUR,rZ#UM/?' + ) + else: + return CustomerRequestCompound( + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', + ) + """ + + def testCustomerRequestCompound(self): + """Test CustomerRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_customer_response.py b/test/test_customer_response.py new file mode 100644 index 000000000..d63627773 --- /dev/null +++ b/test/test_customer_response.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.customer_response import CustomerResponse + +class TestCustomerResponse(unittest.TestCase): + """CustomerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomerResponse: + """Test CustomerResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomerResponse` + """ + model = CustomerResponse() + if include_optional: + return CustomerResponse( + pki_customer_id = 18, + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + efki_user_id = 70, + efks_customer_code = 'EZMA1', + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', + importid = 'jUR,rZ#UM/?' + ) + else: + return CustomerResponse( + pki_customer_id = 18, + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', + ) + """ + + def testCustomerResponse(self): + """Test CustomerResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_customer_response_compound.py b/test/test_customer_response_compound.py new file mode 100644 index 000000000..cfec6066a --- /dev/null +++ b/test/test_customer_response_compound.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.customer_response_compound import CustomerResponseCompound + +class TestCustomerResponseCompound(unittest.TestCase): + """CustomerResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomerResponseCompound: + """Test CustomerResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CustomerResponseCompound` + """ + model = CustomerResponseCompound() + if include_optional: + return CustomerResponseCompound( + pki_customer_id = 18, + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + efki_user_id = 70, + efks_customer_code = 'EZMA1', + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', + importid = 'jUR,rZ#UM/?' + ) + else: + return CustomerResponseCompound( + pki_customer_id = 18, + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', + ) + """ + + def testCustomerResponseCompound(self): + """Test CustomerResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_department_autocomplete_element_response.py b/test/test_department_autocomplete_element_response.py index db4214279..abcbcb846 100644 --- a/test/test_department_autocomplete_element_response.py +++ b/test/test_department_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DepartmentAutocompleteElementResponse: """Test DepartmentAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DepartmentAutocompleteElementResponse` diff --git a/test/test_department_get_autocomplete_v2_response.py b/test/test_department_get_autocomplete_v2_response.py index 6373d5be1..70a0c4d75 100644 --- a/test/test_department_get_autocomplete_v2_response.py +++ b/test/test_department_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DepartmentGetAutocompleteV2Response: """Test DepartmentGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DepartmentGetAutocompleteV2Response` diff --git a/test/test_department_get_autocomplete_v2_response_m_payload.py b/test/test_department_get_autocomplete_v2_response_m_payload.py index 88bfe7c20..340bd37c9 100644 --- a/test/test_department_get_autocomplete_v2_response_m_payload.py +++ b/test/test_department_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DepartmentGetAutocompleteV2ResponseMPayload: """Test DepartmentGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DepartmentGetAutocompleteV2ResponseMPayload` diff --git a/test/test_discussion_create_object_v1_request.py b/test/test_discussion_create_object_v1_request.py index 59344e9a8..bd090a53a 100644 --- a/test/test_discussion_create_object_v1_request.py +++ b/test/test_discussion_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionCreateObjectV1Request: """Test DiscussionCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionCreateObjectV1Request` diff --git a/test/test_discussion_create_object_v1_response.py b/test/test_discussion_create_object_v1_response.py index ee2704330..dd0e9a005 100644 --- a/test/test_discussion_create_object_v1_response.py +++ b/test/test_discussion_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionCreateObjectV1Response: """Test DiscussionCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionCreateObjectV1Response` diff --git a/test/test_discussion_create_object_v1_response_m_payload.py b/test/test_discussion_create_object_v1_response_m_payload.py index 54cd3dcbc..0ff894cd8 100644 --- a/test/test_discussion_create_object_v1_response_m_payload.py +++ b/test/test_discussion_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionCreateObjectV1ResponseMPayload: """Test DiscussionCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionCreateObjectV1ResponseMPayload` diff --git a/test/test_discussion_delete_object_v1_response.py b/test/test_discussion_delete_object_v1_response.py index da3e18c5c..b839ef643 100644 --- a/test/test_discussion_delete_object_v1_response.py +++ b/test/test_discussion_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionDeleteObjectV1Response: """Test DiscussionDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionDeleteObjectV1Response` diff --git a/test/test_discussion_get_object_v2_response.py b/test/test_discussion_get_object_v2_response.py index eda5f6d7c..a2b97d552 100644 --- a/test/test_discussion_get_object_v2_response.py +++ b/test/test_discussion_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionGetObjectV2Response: """Test DiscussionGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionGetObjectV2Response` diff --git a/test/test_discussion_get_object_v2_response_m_payload.py b/test/test_discussion_get_object_v2_response_m_payload.py index c9eae7e61..8a2ee5081 100644 --- a/test/test_discussion_get_object_v2_response_m_payload.py +++ b/test/test_discussion_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionGetObjectV2ResponseMPayload: """Test DiscussionGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionGetObjectV2ResponseMPayload` diff --git a/test/test_discussion_patch_object_v1_request.py b/test/test_discussion_patch_object_v1_request.py index d67510f18..fe5b0504d 100644 --- a/test/test_discussion_patch_object_v1_request.py +++ b/test/test_discussion_patch_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionPatchObjectV1Request: """Test DiscussionPatchObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionPatchObjectV1Request` diff --git a/test/test_discussion_patch_object_v1_response.py b/test/test_discussion_patch_object_v1_response.py index e69cfcee4..39c70b8a3 100644 --- a/test/test_discussion_patch_object_v1_response.py +++ b/test/test_discussion_patch_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionPatchObjectV1Response: """Test DiscussionPatchObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionPatchObjectV1Response` diff --git a/test/test_discussion_request.py b/test/test_discussion_request.py index 4c5568ace..2bcf5a9d3 100644 --- a/test/test_discussion_request.py +++ b/test/test_discussion_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionRequest: """Test DiscussionRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionRequest` diff --git a/test/test_discussion_request_compound.py b/test/test_discussion_request_compound.py index c4c834c7a..fb3f7e988 100644 --- a/test/test_discussion_request_compound.py +++ b/test/test_discussion_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionRequestCompound: """Test DiscussionRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionRequestCompound` diff --git a/test/test_discussion_request_patch.py b/test/test_discussion_request_patch.py index 078640176..005114f99 100644 --- a/test/test_discussion_request_patch.py +++ b/test/test_discussion_request_patch.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionRequestPatch: """Test DiscussionRequestPatch - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionRequestPatch` diff --git a/test/test_discussion_response.py b/test/test_discussion_response.py index 2b96dc0f7..6925f37d7 100644 --- a/test/test_discussion_response.py +++ b/test/test_discussion_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionResponse: """Test DiscussionResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionResponse` diff --git a/test/test_discussion_response_compound.py b/test/test_discussion_response_compound.py index 90e827ef7..b0c22e4eb 100644 --- a/test/test_discussion_response_compound.py +++ b/test/test_discussion_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionResponseCompound: """Test DiscussionResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionResponseCompound` diff --git a/test/test_discussion_update_discussionreadstatus_v1_request.py b/test/test_discussion_update_discussionreadstatus_v1_request.py index 9e5f0f58c..67d2b0e3b 100644 --- a/test/test_discussion_update_discussionreadstatus_v1_request.py +++ b/test/test_discussion_update_discussionreadstatus_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionUpdateDiscussionreadstatusV1Request: """Test DiscussionUpdateDiscussionreadstatusV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionUpdateDiscussionreadstatusV1Request` diff --git a/test/test_discussion_update_discussionreadstatus_v1_response.py b/test/test_discussion_update_discussionreadstatus_v1_response.py index fd64a9dfb..256775614 100644 --- a/test/test_discussion_update_discussionreadstatus_v1_response.py +++ b/test/test_discussion_update_discussionreadstatus_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionUpdateDiscussionreadstatusV1Response: """Test DiscussionUpdateDiscussionreadstatusV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionUpdateDiscussionreadstatusV1Response` diff --git a/test/test_discussionmembership_create_object_v1_request.py b/test/test_discussionmembership_create_object_v1_request.py index 8be78374d..9a7a0931a 100644 --- a/test/test_discussionmembership_create_object_v1_request.py +++ b/test/test_discussionmembership_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmembershipCreateObjectV1Request: """Test DiscussionmembershipCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmembershipCreateObjectV1Request` diff --git a/test/test_discussionmembership_create_object_v1_response.py b/test/test_discussionmembership_create_object_v1_response.py index afc728fd6..eaf118adc 100644 --- a/test/test_discussionmembership_create_object_v1_response.py +++ b/test/test_discussionmembership_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmembershipCreateObjectV1Response: """Test DiscussionmembershipCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmembershipCreateObjectV1Response` diff --git a/test/test_discussionmembership_create_object_v1_response_m_payload.py b/test/test_discussionmembership_create_object_v1_response_m_payload.py index ec106b6b8..93acb6483 100644 --- a/test/test_discussionmembership_create_object_v1_response_m_payload.py +++ b/test/test_discussionmembership_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmembershipCreateObjectV1ResponseMPayload: """Test DiscussionmembershipCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmembershipCreateObjectV1ResponseMPayload` diff --git a/test/test_discussionmembership_delete_object_v1_response.py b/test/test_discussionmembership_delete_object_v1_response.py index 08dce3d0a..3102e8505 100644 --- a/test/test_discussionmembership_delete_object_v1_response.py +++ b/test/test_discussionmembership_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmembershipDeleteObjectV1Response: """Test DiscussionmembershipDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmembershipDeleteObjectV1Response` diff --git a/test/test_discussionmembership_request.py b/test/test_discussionmembership_request.py index 29087eaf5..733c75b60 100644 --- a/test/test_discussionmembership_request.py +++ b/test/test_discussionmembership_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmembershipRequest: """Test DiscussionmembershipRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmembershipRequest` diff --git a/test/test_discussionmembership_request_compound.py b/test/test_discussionmembership_request_compound.py index 6acd1e589..ab07cb1ba 100644 --- a/test/test_discussionmembership_request_compound.py +++ b/test/test_discussionmembership_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmembershipRequestCompound: """Test DiscussionmembershipRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmembershipRequestCompound` diff --git a/test/test_discussionmembership_response.py b/test/test_discussionmembership_response.py index dbe33f0de..30938386a 100644 --- a/test/test_discussionmembership_response.py +++ b/test/test_discussionmembership_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmembershipResponse: """Test DiscussionmembershipResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmembershipResponse` diff --git a/test/test_discussionmembership_response_compound.py b/test/test_discussionmembership_response_compound.py index f1aa6a2ef..36ff12bdf 100644 --- a/test/test_discussionmembership_response_compound.py +++ b/test/test_discussionmembership_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmembershipResponseCompound: """Test DiscussionmembershipResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmembershipResponseCompound` diff --git a/test/test_discussionmessage_create_object_v1_request.py b/test/test_discussionmessage_create_object_v1_request.py index 2a4bfd2f1..a294208e5 100644 --- a/test/test_discussionmessage_create_object_v1_request.py +++ b/test/test_discussionmessage_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessageCreateObjectV1Request: """Test DiscussionmessageCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessageCreateObjectV1Request` diff --git a/test/test_discussionmessage_create_object_v1_response.py b/test/test_discussionmessage_create_object_v1_response.py index df3bd231f..6bc58a02d 100644 --- a/test/test_discussionmessage_create_object_v1_response.py +++ b/test/test_discussionmessage_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessageCreateObjectV1Response: """Test DiscussionmessageCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessageCreateObjectV1Response` diff --git a/test/test_discussionmessage_create_object_v1_response_m_payload.py b/test/test_discussionmessage_create_object_v1_response_m_payload.py index 5b23b4b53..5204043c9 100644 --- a/test/test_discussionmessage_create_object_v1_response_m_payload.py +++ b/test/test_discussionmessage_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessageCreateObjectV1ResponseMPayload: """Test DiscussionmessageCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessageCreateObjectV1ResponseMPayload` diff --git a/test/test_discussionmessage_delete_object_v1_response.py b/test/test_discussionmessage_delete_object_v1_response.py index 6d8304ea7..44be46dd3 100644 --- a/test/test_discussionmessage_delete_object_v1_response.py +++ b/test/test_discussionmessage_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessageDeleteObjectV1Response: """Test DiscussionmessageDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessageDeleteObjectV1Response` diff --git a/test/test_discussionmessage_patch_object_v1_request.py b/test/test_discussionmessage_patch_object_v1_request.py index 644821a93..a5cd137e6 100644 --- a/test/test_discussionmessage_patch_object_v1_request.py +++ b/test/test_discussionmessage_patch_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessagePatchObjectV1Request: """Test DiscussionmessagePatchObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessagePatchObjectV1Request` diff --git a/test/test_discussionmessage_patch_object_v1_response.py b/test/test_discussionmessage_patch_object_v1_response.py index 39ef649ae..e07b55139 100644 --- a/test/test_discussionmessage_patch_object_v1_response.py +++ b/test/test_discussionmessage_patch_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessagePatchObjectV1Response: """Test DiscussionmessagePatchObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessagePatchObjectV1Response` diff --git a/test/test_discussionmessage_request.py b/test/test_discussionmessage_request.py index 4fd1247fe..c60043727 100644 --- a/test/test_discussionmessage_request.py +++ b/test/test_discussionmessage_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessageRequest: """Test DiscussionmessageRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessageRequest` diff --git a/test/test_discussionmessage_request_compound.py b/test/test_discussionmessage_request_compound.py index ecf981957..78cb58117 100644 --- a/test/test_discussionmessage_request_compound.py +++ b/test/test_discussionmessage_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessageRequestCompound: """Test DiscussionmessageRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessageRequestCompound` diff --git a/test/test_discussionmessage_request_patch.py b/test/test_discussionmessage_request_patch.py index 2218cfbec..2bb3ea0fb 100644 --- a/test/test_discussionmessage_request_patch.py +++ b/test/test_discussionmessage_request_patch.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessageRequestPatch: """Test DiscussionmessageRequestPatch - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessageRequestPatch` diff --git a/test/test_discussionmessage_response.py b/test/test_discussionmessage_response.py index d75341ca0..dd7bf2856 100644 --- a/test/test_discussionmessage_response.py +++ b/test/test_discussionmessage_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessageResponse: """Test DiscussionmessageResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessageResponse` diff --git a/test/test_discussionmessage_response_compound.py b/test/test_discussionmessage_response_compound.py index ce8929b33..f9e530050 100644 --- a/test/test_discussionmessage_response_compound.py +++ b/test/test_discussionmessage_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> DiscussionmessageResponseCompound: """Test DiscussionmessageResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `DiscussionmessageResponseCompound` diff --git a/test/test_domain_create_object_v1_request.py b/test/test_domain_create_object_v1_request.py new file mode 100644 index 000000000..9394a529c --- /dev/null +++ b/test/test_domain_create_object_v1_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_create_object_v1_request import DomainCreateObjectV1Request + +class TestDomainCreateObjectV1Request(unittest.TestCase): + """DomainCreateObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainCreateObjectV1Request: + """Test DomainCreateObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainCreateObjectV1Request` + """ + model = DomainCreateObjectV1Request() + if include_optional: + return DomainCreateObjectV1Request( + a_obj_domain = [ + eZmaxApi.models.domain_request_compound.domain-RequestCompound() + ] + ) + else: + return DomainCreateObjectV1Request( + a_obj_domain = [ + eZmaxApi.models.domain_request_compound.domain-RequestCompound() + ], + ) + """ + + def testDomainCreateObjectV1Request(self): + """Test DomainCreateObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_create_object_v1_response.py b/test/test_domain_create_object_v1_response.py new file mode 100644 index 000000000..018160c92 --- /dev/null +++ b/test/test_domain_create_object_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_create_object_v1_response import DomainCreateObjectV1Response + +class TestDomainCreateObjectV1Response(unittest.TestCase): + """DomainCreateObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainCreateObjectV1Response: + """Test DomainCreateObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainCreateObjectV1Response` + """ + model = DomainCreateObjectV1Response() + if include_optional: + return DomainCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.domain_create_object_v1_response_m_payload.domain-createObject-v1-Response-mPayload( + a_pki_domain_id = [ + 96 + ], ) + ) + else: + return DomainCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.domain_create_object_v1_response_m_payload.domain-createObject-v1-Response-mPayload( + a_pki_domain_id = [ + 96 + ], ), + ) + """ + + def testDomainCreateObjectV1Response(self): + """Test DomainCreateObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_create_object_v1_response_m_payload.py b/test/test_domain_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..675b1059f --- /dev/null +++ b/test/test_domain_create_object_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_create_object_v1_response_m_payload import DomainCreateObjectV1ResponseMPayload + +class TestDomainCreateObjectV1ResponseMPayload(unittest.TestCase): + """DomainCreateObjectV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainCreateObjectV1ResponseMPayload: + """Test DomainCreateObjectV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainCreateObjectV1ResponseMPayload` + """ + model = DomainCreateObjectV1ResponseMPayload() + if include_optional: + return DomainCreateObjectV1ResponseMPayload( + a_pki_domain_id = [ + 96 + ] + ) + else: + return DomainCreateObjectV1ResponseMPayload( + a_pki_domain_id = [ + 96 + ], + ) + """ + + def testDomainCreateObjectV1ResponseMPayload(self): + """Test DomainCreateObjectV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_delete_object_v1_response.py b/test/test_domain_delete_object_v1_response.py new file mode 100644 index 000000000..c7697181e --- /dev/null +++ b/test/test_domain_delete_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_delete_object_v1_response import DomainDeleteObjectV1Response + +class TestDomainDeleteObjectV1Response(unittest.TestCase): + """DomainDeleteObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainDeleteObjectV1Response: + """Test DomainDeleteObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainDeleteObjectV1Response` + """ + model = DomainDeleteObjectV1Response() + if include_optional: + return DomainDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return DomainDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testDomainDeleteObjectV1Response(self): + """Test DomainDeleteObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_get_list_v1_response.py b/test/test_domain_get_list_v1_response.py new file mode 100644 index 000000000..75b7700bd --- /dev/null +++ b/test/test_domain_get_list_v1_response.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_get_list_v1_response import DomainGetListV1Response + +class TestDomainGetListV1Response(unittest.TestCase): + """DomainGetListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainGetListV1Response: + """Test DomainGetListV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainGetListV1Response` + """ + model = DomainGetListV1Response() + if include_optional: + return DomainGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.domain_get_list_v1_response_m_payload.domain-getList-v1-Response-mPayload() + ) + else: + return DomainGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.domain_get_list_v1_response_m_payload.domain-getList-v1-Response-mPayload(), + ) + """ + + def testDomainGetListV1Response(self): + """Test DomainGetListV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_get_list_v1_response_m_payload.py b/test/test_domain_get_list_v1_response_m_payload.py new file mode 100644 index 000000000..6436bc07c --- /dev/null +++ b/test/test_domain_get_list_v1_response_m_payload.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_get_list_v1_response_m_payload import DomainGetListV1ResponseMPayload + +class TestDomainGetListV1ResponseMPayload(unittest.TestCase): + """DomainGetListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainGetListV1ResponseMPayload: + """Test DomainGetListV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainGetListV1ResponseMPayload` + """ + model = DomainGetListV1ResponseMPayload() + if include_optional: + return DomainGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, + a_obj_domain = [ + eZmaxApi.models.domain_list_element.domain-ListElement( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca', ) + ] + ) + else: + return DomainGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, + a_obj_domain = [ + eZmaxApi.models.domain_list_element.domain-ListElement( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca', ) + ], + ) + """ + + def testDomainGetListV1ResponseMPayload(self): + """Test DomainGetListV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_get_object_v2_response.py b/test/test_domain_get_object_v2_response.py new file mode 100644 index 000000000..2e4295744 --- /dev/null +++ b/test/test_domain_get_object_v2_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_get_object_v2_response import DomainGetObjectV2Response + +class TestDomainGetObjectV2Response(unittest.TestCase): + """DomainGetObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainGetObjectV2Response: + """Test DomainGetObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainGetObjectV2Response` + """ + model = DomainGetObjectV2Response() + if include_optional: + return DomainGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.domain_get_object_v2_response_m_payload.domain-getObject-v2-Response-mPayload( + obj_domain = eZmaxApi.models.domain_response_compound.domain-ResponseCompound(), ) + ) + else: + return DomainGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.domain_get_object_v2_response_m_payload.domain-getObject-v2-Response-mPayload( + obj_domain = eZmaxApi.models.domain_response_compound.domain-ResponseCompound(), ), + ) + """ + + def testDomainGetObjectV2Response(self): + """Test DomainGetObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_get_object_v2_response_m_payload.py b/test/test_domain_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..87ae1267c --- /dev/null +++ b/test/test_domain_get_object_v2_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_get_object_v2_response_m_payload import DomainGetObjectV2ResponseMPayload + +class TestDomainGetObjectV2ResponseMPayload(unittest.TestCase): + """DomainGetObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainGetObjectV2ResponseMPayload: + """Test DomainGetObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainGetObjectV2ResponseMPayload` + """ + model = DomainGetObjectV2ResponseMPayload() + if include_optional: + return DomainGetObjectV2ResponseMPayload( + obj_domain = eZmaxApi.models.domain_response_compound.domain-ResponseCompound() + ) + else: + return DomainGetObjectV2ResponseMPayload( + obj_domain = eZmaxApi.models.domain_response_compound.domain-ResponseCompound(), + ) + """ + + def testDomainGetObjectV2ResponseMPayload(self): + """Test DomainGetObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_list_element.py b/test/test_domain_list_element.py new file mode 100644 index 000000000..51078d952 --- /dev/null +++ b/test/test_domain_list_element.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_list_element import DomainListElement + +class TestDomainListElement(unittest.TestCase): + """DomainListElement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainListElement: + """Test DomainListElement + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainListElement` + """ + model = DomainListElement() + if include_optional: + return DomainListElement( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca' + ) + else: + return DomainListElement( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca', + ) + """ + + def testDomainListElement(self): + """Test DomainListElement""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_request.py b/test/test_domain_request.py new file mode 100644 index 000000000..3c820d415 --- /dev/null +++ b/test/test_domain_request.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_request import DomainRequest + +class TestDomainRequest(unittest.TestCase): + """DomainRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainRequest: + """Test DomainRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainRequest` + """ + model = DomainRequest() + if include_optional: + return DomainRequest( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca' + ) + else: + return DomainRequest( + s_domain_name = 'ezsign.ca', + ) + """ + + def testDomainRequest(self): + """Test DomainRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_request_compound.py b/test/test_domain_request_compound.py new file mode 100644 index 000000000..bb898591c --- /dev/null +++ b/test/test_domain_request_compound.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_request_compound import DomainRequestCompound + +class TestDomainRequestCompound(unittest.TestCase): + """DomainRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainRequestCompound: + """Test DomainRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainRequestCompound` + """ + model = DomainRequestCompound() + if include_optional: + return DomainRequestCompound( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca' + ) + else: + return DomainRequestCompound( + s_domain_name = 'ezsign.ca', + ) + """ + + def testDomainRequestCompound(self): + """Test DomainRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_response.py b/test/test_domain_response.py new file mode 100644 index 000000000..faff75fb5 --- /dev/null +++ b/test/test_domain_response.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_response import DomainResponse + +class TestDomainResponse(unittest.TestCase): + """DomainResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainResponse: + """Test DomainResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainResponse` + """ + model = DomainResponse() + if include_optional: + return DomainResponse( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca', + b_domain_validdkim = True, + b_domain_validmailfrom = True, + b_domain_validcustomer = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) + ) + else: + return DomainResponse( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca', + b_domain_validdkim = True, + b_domain_validmailfrom = True, + b_domain_validcustomer = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + ) + """ + + def testDomainResponse(self): + """Test DomainResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domain_response_compound.py b/test/test_domain_response_compound.py new file mode 100644 index 000000000..a4fe5cd9a --- /dev/null +++ b/test/test_domain_response_compound.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.domain_response_compound import DomainResponseCompound + +class TestDomainResponseCompound(unittest.TestCase): + """DomainResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DomainResponseCompound: + """Test DomainResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DomainResponseCompound` + """ + model = DomainResponseCompound() + if include_optional: + return DomainResponseCompound( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca', + b_domain_validdkim = True, + b_domain_validmailfrom = True, + b_domain_validcustomer = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + a_obj_dnsrecord = [ + eZmaxApi.models.custom_dnsrecord_response.Custom-Dnsrecord-Response() + ] + ) + else: + return DomainResponseCompound( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca', + b_domain_validdkim = True, + b_domain_validmailfrom = True, + b_domain_validcustomer = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + a_obj_dnsrecord = [ + eZmaxApi.models.custom_dnsrecord_response.Custom-Dnsrecord-Response() + ], + ) + """ + + def testDomainResponseCompound(self): + """Test DomainResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_electronicfundstransfer_get_communication_count_v1_response.py b/test/test_electronicfundstransfer_get_communication_count_v1_response.py new file mode 100644 index 000000000..7f1cbde55 --- /dev/null +++ b/test/test_electronicfundstransfer_get_communication_count_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response import ElectronicfundstransferGetCommunicationCountV1Response + +class TestElectronicfundstransferGetCommunicationCountV1Response(unittest.TestCase): + """ElectronicfundstransferGetCommunicationCountV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunicationCountV1Response: + """Test ElectronicfundstransferGetCommunicationCountV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ElectronicfundstransferGetCommunicationCountV1Response` + """ + model = ElectronicfundstransferGetCommunicationCountV1Response() + if include_optional: + return ElectronicfundstransferGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response_m_payload.electronicfundstransfer-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ) + ) + else: + return ElectronicfundstransferGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response_m_payload.electronicfundstransfer-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ), + ) + """ + + def testElectronicfundstransferGetCommunicationCountV1Response(self): + """Test ElectronicfundstransferGetCommunicationCountV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_electronicfundstransfer_get_communication_count_v1_response_m_payload.py b/test/test_electronicfundstransfer_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..bb3a8f67f --- /dev/null +++ b/test/test_electronicfundstransfer_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response_m_payload import ElectronicfundstransferGetCommunicationCountV1ResponseMPayload + +class TestElectronicfundstransferGetCommunicationCountV1ResponseMPayload(unittest.TestCase): + """ElectronicfundstransferGetCommunicationCountV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunicationCountV1ResponseMPayload: + """Test ElectronicfundstransferGetCommunicationCountV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ElectronicfundstransferGetCommunicationCountV1ResponseMPayload` + """ + model = ElectronicfundstransferGetCommunicationCountV1ResponseMPayload() + if include_optional: + return ElectronicfundstransferGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8 + ) + else: + return ElectronicfundstransferGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8, + ) + """ + + def testElectronicfundstransferGetCommunicationCountV1ResponseMPayload(self): + """Test ElectronicfundstransferGetCommunicationCountV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_electronicfundstransfer_get_communication_list_v1_response.py b/test/test_electronicfundstransfer_get_communication_list_v1_response.py index 551289a44..fb3f93f1c 100644 --- a/test/test_electronicfundstransfer_get_communication_list_v1_response.py +++ b/test/test_electronicfundstransfer_get_communication_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunicationListV1Response: """Test ElectronicfundstransferGetCommunicationListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ElectronicfundstransferGetCommunicationListV1Response` diff --git a/test/test_electronicfundstransfer_get_communication_list_v1_response_m_payload.py b/test/test_electronicfundstransfer_get_communication_list_v1_response_m_payload.py index f4a9175db..81e0ab389 100644 --- a/test/test_electronicfundstransfer_get_communication_list_v1_response_m_payload.py +++ b/test/test_electronicfundstransfer_get_communication_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunicationListV1ResponseMPayload: """Test ElectronicfundstransferGetCommunicationListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ElectronicfundstransferGetCommunicationListV1ResponseMPayload` diff --git a/test/test_electronicfundstransfer_get_communicationrecipients_v1_response.py b/test/test_electronicfundstransfer_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..761c43001 --- /dev/null +++ b/test/test_electronicfundstransfer_get_communicationrecipients_v1_response.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response import ElectronicfundstransferGetCommunicationrecipientsV1Response + +class TestElectronicfundstransferGetCommunicationrecipientsV1Response(unittest.TestCase): + """ElectronicfundstransferGetCommunicationrecipientsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunicationrecipientsV1Response: + """Test ElectronicfundstransferGetCommunicationrecipientsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ElectronicfundstransferGetCommunicationrecipientsV1Response` + """ + model = ElectronicfundstransferGetCommunicationrecipientsV1Response() + if include_optional: + return ElectronicfundstransferGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.electronicfundstransfer-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ) + ) + else: + return ElectronicfundstransferGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.electronicfundstransfer-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ), + ) + """ + + def testElectronicfundstransferGetCommunicationrecipientsV1Response(self): + """Test ElectronicfundstransferGetCommunicationrecipientsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.py b/test/test_electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..074e6edcb --- /dev/null +++ b/test/test_electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload import ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload + +class TestElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload(unittest.TestCase): + """ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload: + """Test ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload` + """ + model = ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload() + if include_optional: + return ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ] + ) + else: + return ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], + ) + """ + + def testElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload(self): + """Test ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_electronicfundstransfer_get_communicationsenders_v1_response.py b/test/test_electronicfundstransfer_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..f669155aa --- /dev/null +++ b/test/test_electronicfundstransfer_get_communicationsenders_v1_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response import ElectronicfundstransferGetCommunicationsendersV1Response + +class TestElectronicfundstransferGetCommunicationsendersV1Response(unittest.TestCase): + """ElectronicfundstransferGetCommunicationsendersV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunicationsendersV1Response: + """Test ElectronicfundstransferGetCommunicationsendersV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ElectronicfundstransferGetCommunicationsendersV1Response` + """ + model = ElectronicfundstransferGetCommunicationsendersV1Response() + if include_optional: + return ElectronicfundstransferGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response_m_payload.electronicfundstransfer-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ) + else: + return ElectronicfundstransferGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response_m_payload.electronicfundstransfer-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ), + ) + """ + + def testElectronicfundstransferGetCommunicationsendersV1Response(self): + """Test ElectronicfundstransferGetCommunicationsendersV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_electronicfundstransfer_get_communicationsenders_v1_response_m_payload.py b/test/test_electronicfundstransfer_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..cb7a1eb62 --- /dev/null +++ b/test/test_electronicfundstransfer_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response_m_payload import ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload + +class TestElectronicfundstransferGetCommunicationsendersV1ResponseMPayload(unittest.TestCase): + """ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload: + """Test ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload` + """ + model = ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload() + if include_optional: + return ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ] + ) + else: + return ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], + ) + """ + + def testElectronicfundstransferGetCommunicationsendersV1ResponseMPayload(self): + """Test ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_email_request.py b/test/test_email_request.py index ee4ff6a16..dc43150f7 100644 --- a/test/test_email_request.py +++ b/test/test_email_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EmailRequest: """Test EmailRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EmailRequest` diff --git a/test/test_email_request_compound.py b/test/test_email_request_compound.py index df81e6b14..a6dbf1982 100644 --- a/test/test_email_request_compound.py +++ b/test/test_email_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EmailRequestCompound: """Test EmailRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EmailRequestCompound` diff --git a/test/test_email_response.py b/test/test_email_response.py index e93fed558..fd95083f3 100644 --- a/test/test_email_response.py +++ b/test/test_email_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EmailResponse: """Test EmailResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EmailResponse` diff --git a/test/test_email_response_compound.py b/test/test_email_response_compound.py index 508c5bdc0..cad08860c 100644 --- a/test/test_email_response_compound.py +++ b/test/test_email_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EmailResponseCompound: """Test EmailResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EmailResponseCompound` diff --git a/test/test_emailtype_autocomplete_element_response.py b/test/test_emailtype_autocomplete_element_response.py index 2dde98cb2..6f1edafcb 100644 --- a/test/test_emailtype_autocomplete_element_response.py +++ b/test/test_emailtype_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EmailtypeAutocompleteElementResponse: """Test EmailtypeAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EmailtypeAutocompleteElementResponse` diff --git a/test/test_emailtype_get_autocomplete_v2_response.py b/test/test_emailtype_get_autocomplete_v2_response.py index fe74e3a77..c7d6a94dc 100644 --- a/test/test_emailtype_get_autocomplete_v2_response.py +++ b/test/test_emailtype_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EmailtypeGetAutocompleteV2Response: """Test EmailtypeGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EmailtypeGetAutocompleteV2Response` diff --git a/test/test_emailtype_get_autocomplete_v2_response_m_payload.py b/test/test_emailtype_get_autocomplete_v2_response_m_payload.py index 3b0cf608f..75eb5cddc 100644 --- a/test/test_emailtype_get_autocomplete_v2_response_m_payload.py +++ b/test/test_emailtype_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EmailtypeGetAutocompleteV2ResponseMPayload: """Test EmailtypeGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EmailtypeGetAutocompleteV2ResponseMPayload` diff --git a/test/test_ezdoctemplatedocument_autocomplete_element_response.py b/test/test_ezdoctemplatedocument_autocomplete_element_response.py new file mode 100644 index 000000000..f9cb2843a --- /dev/null +++ b/test/test_ezdoctemplatedocument_autocomplete_element_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response import EzdoctemplatedocumentAutocompleteElementResponse + +class TestEzdoctemplatedocumentAutocompleteElementResponse(unittest.TestCase): + """EzdoctemplatedocumentAutocompleteElementResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentAutocompleteElementResponse: + """Test EzdoctemplatedocumentAutocompleteElementResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentAutocompleteElementResponse` + """ + model = EzdoctemplatedocumentAutocompleteElementResponse() + if include_optional: + return EzdoctemplatedocumentAutocompleteElementResponse( + pki_ezdoctemplatedocument_id = 95, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + b_ezdoctemplatedocument_isactive = True + ) + else: + return EzdoctemplatedocumentAutocompleteElementResponse( + pki_ezdoctemplatedocument_id = 95, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + b_ezdoctemplatedocument_isactive = True, + ) + """ + + def testEzdoctemplatedocumentAutocompleteElementResponse(self): + """Test EzdoctemplatedocumentAutocompleteElementResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_create_object_v1_request.py b/test/test_ezdoctemplatedocument_create_object_v1_request.py new file mode 100644 index 000000000..d24358348 --- /dev/null +++ b/test/test_ezdoctemplatedocument_create_object_v1_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_request import EzdoctemplatedocumentCreateObjectV1Request + +class TestEzdoctemplatedocumentCreateObjectV1Request(unittest.TestCase): + """EzdoctemplatedocumentCreateObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentCreateObjectV1Request: + """Test EzdoctemplatedocumentCreateObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentCreateObjectV1Request` + """ + model = EzdoctemplatedocumentCreateObjectV1Request() + if include_optional: + return EzdoctemplatedocumentCreateObjectV1Request( + a_obj_ezdoctemplatedocument = [ + eZmaxApi.models.ezdoctemplatedocument_request_compound.ezdoctemplatedocument-RequestCompound() + ] + ) + else: + return EzdoctemplatedocumentCreateObjectV1Request( + a_obj_ezdoctemplatedocument = [ + eZmaxApi.models.ezdoctemplatedocument_request_compound.ezdoctemplatedocument-RequestCompound() + ], + ) + """ + + def testEzdoctemplatedocumentCreateObjectV1Request(self): + """Test EzdoctemplatedocumentCreateObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_create_object_v1_response.py b/test/test_ezdoctemplatedocument_create_object_v1_response.py new file mode 100644 index 000000000..957544835 --- /dev/null +++ b/test/test_ezdoctemplatedocument_create_object_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response import EzdoctemplatedocumentCreateObjectV1Response + +class TestEzdoctemplatedocumentCreateObjectV1Response(unittest.TestCase): + """EzdoctemplatedocumentCreateObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentCreateObjectV1Response: + """Test EzdoctemplatedocumentCreateObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentCreateObjectV1Response` + """ + model = EzdoctemplatedocumentCreateObjectV1Response() + if include_optional: + return EzdoctemplatedocumentCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response_m_payload.ezdoctemplatedocument-createObject-v1-Response-mPayload( + a_pki_ezdoctemplatedocument_id = [ + 95 + ], ) + ) + else: + return EzdoctemplatedocumentCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response_m_payload.ezdoctemplatedocument-createObject-v1-Response-mPayload( + a_pki_ezdoctemplatedocument_id = [ + 95 + ], ), + ) + """ + + def testEzdoctemplatedocumentCreateObjectV1Response(self): + """Test EzdoctemplatedocumentCreateObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_create_object_v1_response_m_payload.py b/test/test_ezdoctemplatedocument_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..c81190a95 --- /dev/null +++ b/test/test_ezdoctemplatedocument_create_object_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response_m_payload import EzdoctemplatedocumentCreateObjectV1ResponseMPayload + +class TestEzdoctemplatedocumentCreateObjectV1ResponseMPayload(unittest.TestCase): + """EzdoctemplatedocumentCreateObjectV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentCreateObjectV1ResponseMPayload: + """Test EzdoctemplatedocumentCreateObjectV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentCreateObjectV1ResponseMPayload` + """ + model = EzdoctemplatedocumentCreateObjectV1ResponseMPayload() + if include_optional: + return EzdoctemplatedocumentCreateObjectV1ResponseMPayload( + a_pki_ezdoctemplatedocument_id = [ + 95 + ] + ) + else: + return EzdoctemplatedocumentCreateObjectV1ResponseMPayload( + a_pki_ezdoctemplatedocument_id = [ + 95 + ], + ) + """ + + def testEzdoctemplatedocumentCreateObjectV1ResponseMPayload(self): + """Test EzdoctemplatedocumentCreateObjectV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_edit_object_v1_request.py b/test/test_ezdoctemplatedocument_edit_object_v1_request.py new file mode 100644 index 000000000..b19f7061f --- /dev/null +++ b/test/test_ezdoctemplatedocument_edit_object_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_request import EzdoctemplatedocumentEditObjectV1Request + +class TestEzdoctemplatedocumentEditObjectV1Request(unittest.TestCase): + """EzdoctemplatedocumentEditObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentEditObjectV1Request: + """Test EzdoctemplatedocumentEditObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentEditObjectV1Request` + """ + model = EzdoctemplatedocumentEditObjectV1Request() + if include_optional: + return EzdoctemplatedocumentEditObjectV1Request( + obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_request_compound.ezdoctemplatedocument-RequestCompound() + ) + else: + return EzdoctemplatedocumentEditObjectV1Request( + obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_request_compound.ezdoctemplatedocument-RequestCompound(), + ) + """ + + def testEzdoctemplatedocumentEditObjectV1Request(self): + """Test EzdoctemplatedocumentEditObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_edit_object_v1_response.py b/test/test_ezdoctemplatedocument_edit_object_v1_response.py new file mode 100644 index 000000000..eebf1d5fd --- /dev/null +++ b/test/test_ezdoctemplatedocument_edit_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_response import EzdoctemplatedocumentEditObjectV1Response + +class TestEzdoctemplatedocumentEditObjectV1Response(unittest.TestCase): + """EzdoctemplatedocumentEditObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentEditObjectV1Response: + """Test EzdoctemplatedocumentEditObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentEditObjectV1Response` + """ + model = EzdoctemplatedocumentEditObjectV1Response() + if include_optional: + return EzdoctemplatedocumentEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzdoctemplatedocumentEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzdoctemplatedocumentEditObjectV1Response(self): + """Test EzdoctemplatedocumentEditObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_get_autocomplete_v2_response.py b/test/test_ezdoctemplatedocument_get_autocomplete_v2_response.py new file mode 100644 index 000000000..e871edd1a --- /dev/null +++ b/test/test_ezdoctemplatedocument_get_autocomplete_v2_response.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response import EzdoctemplatedocumentGetAutocompleteV2Response + +class TestEzdoctemplatedocumentGetAutocompleteV2Response(unittest.TestCase): + """EzdoctemplatedocumentGetAutocompleteV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentGetAutocompleteV2Response: + """Test EzdoctemplatedocumentGetAutocompleteV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentGetAutocompleteV2Response` + """ + model = EzdoctemplatedocumentGetAutocompleteV2Response() + if include_optional: + return EzdoctemplatedocumentGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.ezdoctemplatedocument-getAutocomplete-v2-Response-mPayload( + a_obj_ezdoctemplatedocument = [ + eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response.ezdoctemplatedocument-AutocompleteElement-Response( + pki_ezdoctemplatedocument_id = 95, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + b_ezdoctemplatedocument_isactive = True, ) + ], ) + ) + else: + return EzdoctemplatedocumentGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.ezdoctemplatedocument-getAutocomplete-v2-Response-mPayload( + a_obj_ezdoctemplatedocument = [ + eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response.ezdoctemplatedocument-AutocompleteElement-Response( + pki_ezdoctemplatedocument_id = 95, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + b_ezdoctemplatedocument_isactive = True, ) + ], ), + ) + """ + + def testEzdoctemplatedocumentGetAutocompleteV2Response(self): + """Test EzdoctemplatedocumentGetAutocompleteV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.py b/test/test_ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..9dfec0657 --- /dev/null +++ b/test/test_ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload import EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload + +class TestEzdoctemplatedocumentGetAutocompleteV2ResponseMPayload(unittest.TestCase): + """EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload: + """Test EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload` + """ + model = EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload() + if include_optional: + return EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload( + a_obj_ezdoctemplatedocument = [ + eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response.ezdoctemplatedocument-AutocompleteElement-Response( + pki_ezdoctemplatedocument_id = 95, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + b_ezdoctemplatedocument_isactive = True, ) + ] + ) + else: + return EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload( + a_obj_ezdoctemplatedocument = [ + eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response.ezdoctemplatedocument-AutocompleteElement-Response( + pki_ezdoctemplatedocument_id = 95, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + b_ezdoctemplatedocument_isactive = True, ) + ], + ) + """ + + def testEzdoctemplatedocumentGetAutocompleteV2ResponseMPayload(self): + """Test EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_get_list_v1_response.py b/test/test_ezdoctemplatedocument_get_list_v1_response.py new file mode 100644 index 000000000..888fdfaa4 --- /dev/null +++ b/test/test_ezdoctemplatedocument_get_list_v1_response.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response import EzdoctemplatedocumentGetListV1Response + +class TestEzdoctemplatedocumentGetListV1Response(unittest.TestCase): + """EzdoctemplatedocumentGetListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentGetListV1Response: + """Test EzdoctemplatedocumentGetListV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentGetListV1Response` + """ + model = EzdoctemplatedocumentGetListV1Response() + if include_optional: + return EzdoctemplatedocumentGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload.ezdoctemplatedocument-getList-v1-Response-mPayload() + ) + else: + return EzdoctemplatedocumentGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload.ezdoctemplatedocument-getList-v1-Response-mPayload(), + ) + """ + + def testEzdoctemplatedocumentGetListV1Response(self): + """Test EzdoctemplatedocumentGetListV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_get_list_v1_response_m_payload.py b/test/test_ezdoctemplatedocument_get_list_v1_response_m_payload.py new file mode 100644 index 000000000..a3e8f234e --- /dev/null +++ b/test/test_ezdoctemplatedocument_get_list_v1_response_m_payload.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload import EzdoctemplatedocumentGetListV1ResponseMPayload + +class TestEzdoctemplatedocumentGetListV1ResponseMPayload(unittest.TestCase): + """EzdoctemplatedocumentGetListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentGetListV1ResponseMPayload: + """Test EzdoctemplatedocumentGetListV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentGetListV1ResponseMPayload` + """ + model = EzdoctemplatedocumentGetListV1ResponseMPayload() + if include_optional: + return EzdoctemplatedocumentGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, + a_obj_ezdoctemplatedocument = [ + eZmaxApi.models.ezdoctemplatedocument_list_element.ezdoctemplatedocument-ListElement( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + s_ezsignfoldertype_name_x = 'Default', + s_ezdoctemplatetype_description_x = 'Real Estate', + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + e_ezdoctemplatedocument_privacylevel = 'Company', + b_ezdoctemplatedocument_isactive = True, + s_ezdoctemplatedocument_name_x = 'Standard Contract', ) + ] + ) + else: + return EzdoctemplatedocumentGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, + a_obj_ezdoctemplatedocument = [ + eZmaxApi.models.ezdoctemplatedocument_list_element.ezdoctemplatedocument-ListElement( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + s_ezsignfoldertype_name_x = 'Default', + s_ezdoctemplatetype_description_x = 'Real Estate', + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + e_ezdoctemplatedocument_privacylevel = 'Company', + b_ezdoctemplatedocument_isactive = True, + s_ezdoctemplatedocument_name_x = 'Standard Contract', ) + ], + ) + """ + + def testEzdoctemplatedocumentGetListV1ResponseMPayload(self): + """Test EzdoctemplatedocumentGetListV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_get_object_v2_response.py b/test/test_ezdoctemplatedocument_get_object_v2_response.py new file mode 100644 index 000000000..ceeb3979b --- /dev/null +++ b/test/test_ezdoctemplatedocument_get_object_v2_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response import EzdoctemplatedocumentGetObjectV2Response + +class TestEzdoctemplatedocumentGetObjectV2Response(unittest.TestCase): + """EzdoctemplatedocumentGetObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentGetObjectV2Response: + """Test EzdoctemplatedocumentGetObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentGetObjectV2Response` + """ + model = EzdoctemplatedocumentGetObjectV2Response() + if include_optional: + return EzdoctemplatedocumentGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response_m_payload.ezdoctemplatedocument-getObject-v2-Response-mPayload( + obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_response_compound.ezdoctemplatedocument-ResponseCompound(), ) + ) + else: + return EzdoctemplatedocumentGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response_m_payload.ezdoctemplatedocument-getObject-v2-Response-mPayload( + obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_response_compound.ezdoctemplatedocument-ResponseCompound(), ), + ) + """ + + def testEzdoctemplatedocumentGetObjectV2Response(self): + """Test EzdoctemplatedocumentGetObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_get_object_v2_response_m_payload.py b/test/test_ezdoctemplatedocument_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..2c6dd843e --- /dev/null +++ b/test/test_ezdoctemplatedocument_get_object_v2_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response_m_payload import EzdoctemplatedocumentGetObjectV2ResponseMPayload + +class TestEzdoctemplatedocumentGetObjectV2ResponseMPayload(unittest.TestCase): + """EzdoctemplatedocumentGetObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentGetObjectV2ResponseMPayload: + """Test EzdoctemplatedocumentGetObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentGetObjectV2ResponseMPayload` + """ + model = EzdoctemplatedocumentGetObjectV2ResponseMPayload() + if include_optional: + return EzdoctemplatedocumentGetObjectV2ResponseMPayload( + obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_response_compound.ezdoctemplatedocument-ResponseCompound() + ) + else: + return EzdoctemplatedocumentGetObjectV2ResponseMPayload( + obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_response_compound.ezdoctemplatedocument-ResponseCompound(), + ) + """ + + def testEzdoctemplatedocumentGetObjectV2ResponseMPayload(self): + """Test EzdoctemplatedocumentGetObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_list_element.py b/test/test_ezdoctemplatedocument_list_element.py new file mode 100644 index 000000000..e66439ac8 --- /dev/null +++ b/test/test_ezdoctemplatedocument_list_element.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_list_element import EzdoctemplatedocumentListElement + +class TestEzdoctemplatedocumentListElement(unittest.TestCase): + """EzdoctemplatedocumentListElement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentListElement: + """Test EzdoctemplatedocumentListElement + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentListElement` + """ + model = EzdoctemplatedocumentListElement() + if include_optional: + return EzdoctemplatedocumentListElement( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + s_ezsignfoldertype_name_x = 'Default', + s_ezdoctemplatetype_description_x = 'Real Estate', + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + e_ezdoctemplatedocument_privacylevel = 'Company', + b_ezdoctemplatedocument_isactive = True, + s_ezdoctemplatedocument_name_x = 'Standard Contract' + ) + else: + return EzdoctemplatedocumentListElement( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + b_ezdoctemplatedocument_isactive = True, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + ) + """ + + def testEzdoctemplatedocumentListElement(self): + """Test EzdoctemplatedocumentListElement""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_patch_object_v1_request.py b/test/test_ezdoctemplatedocument_patch_object_v1_request.py new file mode 100644 index 000000000..0d62c4e8c --- /dev/null +++ b/test/test_ezdoctemplatedocument_patch_object_v1_request.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_request import EzdoctemplatedocumentPatchObjectV1Request + +class TestEzdoctemplatedocumentPatchObjectV1Request(unittest.TestCase): + """EzdoctemplatedocumentPatchObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentPatchObjectV1Request: + """Test EzdoctemplatedocumentPatchObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentPatchObjectV1Request` + """ + model = EzdoctemplatedocumentPatchObjectV1Request() + if include_optional: + return EzdoctemplatedocumentPatchObjectV1Request( + obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_request_patch.ezdoctemplatedocument-RequestPatch( + e_ezdoctemplatedocument_format = 'Docx', + s_ezdoctemplatedocument_fields = 'jUR,rZ#UM/?R,Fp^l6$ARj', + s_ezdoctemplatedocument_base64 = '[B@4b6166aa', ) + ) + else: + return EzdoctemplatedocumentPatchObjectV1Request( + obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_request_patch.ezdoctemplatedocument-RequestPatch( + e_ezdoctemplatedocument_format = 'Docx', + s_ezdoctemplatedocument_fields = 'jUR,rZ#UM/?R,Fp^l6$ARj', + s_ezdoctemplatedocument_base64 = '[B@4b6166aa', ), + ) + """ + + def testEzdoctemplatedocumentPatchObjectV1Request(self): + """Test EzdoctemplatedocumentPatchObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_patch_object_v1_response.py b/test/test_ezdoctemplatedocument_patch_object_v1_response.py new file mode 100644 index 000000000..4d63b6dda --- /dev/null +++ b/test/test_ezdoctemplatedocument_patch_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_response import EzdoctemplatedocumentPatchObjectV1Response + +class TestEzdoctemplatedocumentPatchObjectV1Response(unittest.TestCase): + """EzdoctemplatedocumentPatchObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentPatchObjectV1Response: + """Test EzdoctemplatedocumentPatchObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentPatchObjectV1Response` + """ + model = EzdoctemplatedocumentPatchObjectV1Response() + if include_optional: + return EzdoctemplatedocumentPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzdoctemplatedocumentPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzdoctemplatedocumentPatchObjectV1Response(self): + """Test EzdoctemplatedocumentPatchObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_request.py b/test/test_ezdoctemplatedocument_request.py new file mode 100644 index 000000000..825c8a348 --- /dev/null +++ b/test/test_ezdoctemplatedocument_request.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_request import EzdoctemplatedocumentRequest + +class TestEzdoctemplatedocumentRequest(unittest.TestCase): + """EzdoctemplatedocumentRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentRequest: + """Test EzdoctemplatedocumentRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentRequest` + """ + model = EzdoctemplatedocumentRequest() + if include_optional: + return EzdoctemplatedocumentRequest( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + e_ezdoctemplatedocument_privacylevel = 'Company', + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ) + ) + else: + return EzdoctemplatedocumentRequest( + fki_language_id = 2, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ), + ) + """ + + def testEzdoctemplatedocumentRequest(self): + """Test EzdoctemplatedocumentRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_request_compound.py b/test/test_ezdoctemplatedocument_request_compound.py new file mode 100644 index 000000000..2c37e6395 --- /dev/null +++ b/test/test_ezdoctemplatedocument_request_compound.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_request_compound import EzdoctemplatedocumentRequestCompound + +class TestEzdoctemplatedocumentRequestCompound(unittest.TestCase): + """EzdoctemplatedocumentRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentRequestCompound: + """Test EzdoctemplatedocumentRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentRequestCompound` + """ + model = EzdoctemplatedocumentRequestCompound() + if include_optional: + return EzdoctemplatedocumentRequestCompound( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + e_ezdoctemplatedocument_privacylevel = 'Company', + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ) + ) + else: + return EzdoctemplatedocumentRequestCompound( + fki_language_id = 2, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ), + ) + """ + + def testEzdoctemplatedocumentRequestCompound(self): + """Test EzdoctemplatedocumentRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_request_patch.py b/test/test_ezdoctemplatedocument_request_patch.py new file mode 100644 index 000000000..a2822677e --- /dev/null +++ b/test/test_ezdoctemplatedocument_request_patch.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_request_patch import EzdoctemplatedocumentRequestPatch + +class TestEzdoctemplatedocumentRequestPatch(unittest.TestCase): + """EzdoctemplatedocumentRequestPatch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentRequestPatch: + """Test EzdoctemplatedocumentRequestPatch + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentRequestPatch` + """ + model = EzdoctemplatedocumentRequestPatch() + if include_optional: + return EzdoctemplatedocumentRequestPatch( + e_ezdoctemplatedocument_format = 'Docx', + s_ezdoctemplatedocument_fields = 'jUR,rZ#UM/?R,Fp^l6$ARj', + s_ezdoctemplatedocument_base64 = '[B@4b6166aa' + ) + else: + return EzdoctemplatedocumentRequestPatch( + ) + """ + + def testEzdoctemplatedocumentRequestPatch(self): + """Test EzdoctemplatedocumentRequestPatch""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_response.py b/test/test_ezdoctemplatedocument_response.py new file mode 100644 index 000000000..79bb5b6df --- /dev/null +++ b/test/test_ezdoctemplatedocument_response.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_response import EzdoctemplatedocumentResponse + +class TestEzdoctemplatedocumentResponse(unittest.TestCase): + """EzdoctemplatedocumentResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentResponse: + """Test EzdoctemplatedocumentResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentResponse` + """ + model = EzdoctemplatedocumentResponse() + if include_optional: + return EzdoctemplatedocumentResponse( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + e_ezdoctemplatedocument_privacylevel = 'Company', + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ), + s_ezdoctemplatedocument_name_x = 'Standard Contract', + s_ezsignfoldertype_name_x = 'Default', + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + s_ezdoctemplatetype_description_x = 'Real Estate' + ) + else: + return EzdoctemplatedocumentResponse( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ), + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + s_ezdoctemplatetype_description_x = 'Real Estate', + ) + """ + + def testEzdoctemplatedocumentResponse(self): + """Test EzdoctemplatedocumentResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatedocument_response_compound.py b/test/test_ezdoctemplatedocument_response_compound.py new file mode 100644 index 000000000..6b159eaf1 --- /dev/null +++ b/test/test_ezdoctemplatedocument_response_compound.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatedocument_response_compound import EzdoctemplatedocumentResponseCompound + +class TestEzdoctemplatedocumentResponseCompound(unittest.TestCase): + """EzdoctemplatedocumentResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatedocumentResponseCompound: + """Test EzdoctemplatedocumentResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatedocumentResponseCompound` + """ + model = EzdoctemplatedocumentResponseCompound() + if include_optional: + return EzdoctemplatedocumentResponseCompound( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + e_ezdoctemplatedocument_privacylevel = 'Company', + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ), + s_ezdoctemplatedocument_name_x = 'Standard Contract', + s_ezsignfoldertype_name_x = 'Default', + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + s_ezdoctemplatetype_description_x = 'Real Estate' + ) + else: + return EzdoctemplatedocumentResponseCompound( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ), + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + s_ezdoctemplatetype_description_x = 'Real Estate', + ) + """ + + def testEzdoctemplatedocumentResponseCompound(self): + """Test EzdoctemplatedocumentResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatefieldtypecategory_autocomplete_element_response.py b/test/test_ezdoctemplatefieldtypecategory_autocomplete_element_response.py new file mode 100644 index 000000000..957006544 --- /dev/null +++ b/test/test_ezdoctemplatefieldtypecategory_autocomplete_element_response.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response import EzdoctemplatefieldtypecategoryAutocompleteElementResponse + +class TestEzdoctemplatefieldtypecategoryAutocompleteElementResponse(unittest.TestCase): + """EzdoctemplatefieldtypecategoryAutocompleteElementResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatefieldtypecategoryAutocompleteElementResponse: + """Test EzdoctemplatefieldtypecategoryAutocompleteElementResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatefieldtypecategoryAutocompleteElementResponse` + """ + model = EzdoctemplatefieldtypecategoryAutocompleteElementResponse() + if include_optional: + return EzdoctemplatefieldtypecategoryAutocompleteElementResponse( + pki_ezdoctemplatefieldtypecategory_id = 4, + fki_ezdoctemplatetype_id = 7, + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + b_ezdoctemplatefieldtypecategory_isactive = True + ) + else: + return EzdoctemplatefieldtypecategoryAutocompleteElementResponse( + pki_ezdoctemplatefieldtypecategory_id = 4, + fki_ezdoctemplatetype_id = 7, + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + b_ezdoctemplatefieldtypecategory_isactive = True, + ) + """ + + def testEzdoctemplatefieldtypecategoryAutocompleteElementResponse(self): + """Test EzdoctemplatefieldtypecategoryAutocompleteElementResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py b/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py new file mode 100644 index 000000000..8f37ef0f3 --- /dev/null +++ b/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response import EzdoctemplatefieldtypecategoryGetAutocompleteV2Response + +class TestEzdoctemplatefieldtypecategoryGetAutocompleteV2Response(unittest.TestCase): + """EzdoctemplatefieldtypecategoryGetAutocompleteV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatefieldtypecategoryGetAutocompleteV2Response: + """Test EzdoctemplatefieldtypecategoryGetAutocompleteV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatefieldtypecategoryGetAutocompleteV2Response` + """ + model = EzdoctemplatefieldtypecategoryGetAutocompleteV2Response() + if include_optional: + return EzdoctemplatefieldtypecategoryGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.ezdoctemplatefieldtypecategory-getAutocomplete-v2-Response-mPayload( + a_obj_ezdoctemplatefieldtypecategory = [ + eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response.ezdoctemplatefieldtypecategory-AutocompleteElement-Response( + pki_ezdoctemplatefieldtypecategory_id = 4, + fki_ezdoctemplatetype_id = 7, + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + b_ezdoctemplatefieldtypecategory_isactive = True, ) + ], ) + ) + else: + return EzdoctemplatefieldtypecategoryGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.ezdoctemplatefieldtypecategory-getAutocomplete-v2-Response-mPayload( + a_obj_ezdoctemplatefieldtypecategory = [ + eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response.ezdoctemplatefieldtypecategory-AutocompleteElement-Response( + pki_ezdoctemplatefieldtypecategory_id = 4, + fki_ezdoctemplatetype_id = 7, + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + b_ezdoctemplatefieldtypecategory_isactive = True, ) + ], ), + ) + """ + + def testEzdoctemplatefieldtypecategoryGetAutocompleteV2Response(self): + """Test EzdoctemplatefieldtypecategoryGetAutocompleteV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.py b/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..b7d8f6c35 --- /dev/null +++ b/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload import EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload + +class TestEzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload(unittest.TestCase): + """EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload: + """Test EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload` + """ + model = EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload() + if include_optional: + return EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload( + a_obj_ezdoctemplatefieldtypecategory = [ + eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response.ezdoctemplatefieldtypecategory-AutocompleteElement-Response( + pki_ezdoctemplatefieldtypecategory_id = 4, + fki_ezdoctemplatetype_id = 7, + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + b_ezdoctemplatefieldtypecategory_isactive = True, ) + ] + ) + else: + return EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload( + a_obj_ezdoctemplatefieldtypecategory = [ + eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response.ezdoctemplatefieldtypecategory-AutocompleteElement-Response( + pki_ezdoctemplatefieldtypecategory_id = 4, + fki_ezdoctemplatetype_id = 7, + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + b_ezdoctemplatefieldtypecategory_isactive = True, ) + ], + ) + """ + + def testEzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload(self): + """Test EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatetype_autocomplete_element_response.py b/test/test_ezdoctemplatetype_autocomplete_element_response.py new file mode 100644 index 000000000..a6c76f473 --- /dev/null +++ b/test/test_ezdoctemplatetype_autocomplete_element_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response import EzdoctemplatetypeAutocompleteElementResponse + +class TestEzdoctemplatetypeAutocompleteElementResponse(unittest.TestCase): + """EzdoctemplatetypeAutocompleteElementResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatetypeAutocompleteElementResponse: + """Test EzdoctemplatetypeAutocompleteElementResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatetypeAutocompleteElementResponse` + """ + model = EzdoctemplatetypeAutocompleteElementResponse() + if include_optional: + return EzdoctemplatetypeAutocompleteElementResponse( + pki_ezdoctemplatetype_id = 7, + s_ezdoctemplatetype_description_x = 'Real Estate', + b_ezdoctemplatetype_isactive = True + ) + else: + return EzdoctemplatetypeAutocompleteElementResponse( + pki_ezdoctemplatetype_id = 7, + s_ezdoctemplatetype_description_x = 'Real Estate', + b_ezdoctemplatetype_isactive = True, + ) + """ + + def testEzdoctemplatetypeAutocompleteElementResponse(self): + """Test EzdoctemplatetypeAutocompleteElementResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatetype_get_autocomplete_v2_response.py b/test/test_ezdoctemplatetype_get_autocomplete_v2_response.py new file mode 100644 index 000000000..8abf378a3 --- /dev/null +++ b/test/test_ezdoctemplatetype_get_autocomplete_v2_response.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response import EzdoctemplatetypeGetAutocompleteV2Response + +class TestEzdoctemplatetypeGetAutocompleteV2Response(unittest.TestCase): + """EzdoctemplatetypeGetAutocompleteV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatetypeGetAutocompleteV2Response: + """Test EzdoctemplatetypeGetAutocompleteV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatetypeGetAutocompleteV2Response` + """ + model = EzdoctemplatetypeGetAutocompleteV2Response() + if include_optional: + return EzdoctemplatetypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response_m_payload.ezdoctemplatetype-getAutocomplete-v2-Response-mPayload( + a_obj_ezdoctemplatetype = [ + eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response.ezdoctemplatetype-AutocompleteElement-Response( + pki_ezdoctemplatetype_id = 7, + s_ezdoctemplatetype_description_x = 'Real Estate', + b_ezdoctemplatetype_isactive = True, ) + ], ) + ) + else: + return EzdoctemplatetypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response_m_payload.ezdoctemplatetype-getAutocomplete-v2-Response-mPayload( + a_obj_ezdoctemplatetype = [ + eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response.ezdoctemplatetype-AutocompleteElement-Response( + pki_ezdoctemplatetype_id = 7, + s_ezdoctemplatetype_description_x = 'Real Estate', + b_ezdoctemplatetype_isactive = True, ) + ], ), + ) + """ + + def testEzdoctemplatetypeGetAutocompleteV2Response(self): + """Test EzdoctemplatetypeGetAutocompleteV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezdoctemplatetype_get_autocomplete_v2_response_m_payload.py b/test/test_ezdoctemplatetype_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..f11c8afb7 --- /dev/null +++ b/test/test_ezdoctemplatetype_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response_m_payload import EzdoctemplatetypeGetAutocompleteV2ResponseMPayload + +class TestEzdoctemplatetypeGetAutocompleteV2ResponseMPayload(unittest.TestCase): + """EzdoctemplatetypeGetAutocompleteV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzdoctemplatetypeGetAutocompleteV2ResponseMPayload: + """Test EzdoctemplatetypeGetAutocompleteV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzdoctemplatetypeGetAutocompleteV2ResponseMPayload` + """ + model = EzdoctemplatetypeGetAutocompleteV2ResponseMPayload() + if include_optional: + return EzdoctemplatetypeGetAutocompleteV2ResponseMPayload( + a_obj_ezdoctemplatetype = [ + eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response.ezdoctemplatetype-AutocompleteElement-Response( + pki_ezdoctemplatetype_id = 7, + s_ezdoctemplatetype_description_x = 'Real Estate', + b_ezdoctemplatetype_isactive = True, ) + ] + ) + else: + return EzdoctemplatetypeGetAutocompleteV2ResponseMPayload( + a_obj_ezdoctemplatetype = [ + eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response.ezdoctemplatetype-AutocompleteElement-Response( + pki_ezdoctemplatetype_id = 7, + s_ezdoctemplatetype_description_x = 'Real Estate', + b_ezdoctemplatetype_isactive = True, ) + ], + ) + """ + + def testEzdoctemplatetypeGetAutocompleteV2ResponseMPayload(self): + """Test EzdoctemplatetypeGetAutocompleteV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezmaxinvoicing_autocomplete_element_response.py b/test/test_ezmaxinvoicing_autocomplete_element_response.py index 0a95c5bfc..4419dffd4 100644 --- a/test/test_ezmaxinvoicing_autocomplete_element_response.py +++ b/test/test_ezmaxinvoicing_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingAutocompleteElementResponse: """Test EzmaxinvoicingAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingAutocompleteElementResponse` diff --git a/test/test_ezmaxinvoicing_get_autocomplete_v2_response.py b/test/test_ezmaxinvoicing_get_autocomplete_v2_response.py index 0d939e23b..064faebf8 100644 --- a/test/test_ezmaxinvoicing_get_autocomplete_v2_response.py +++ b/test/test_ezmaxinvoicing_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingGetAutocompleteV2Response: """Test EzmaxinvoicingGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingGetAutocompleteV2Response` diff --git a/test/test_ezmaxinvoicing_get_autocomplete_v2_response_m_payload.py b/test/test_ezmaxinvoicing_get_autocomplete_v2_response_m_payload.py index 01d6167b8..e589a520a 100644 --- a/test/test_ezmaxinvoicing_get_autocomplete_v2_response_m_payload.py +++ b/test/test_ezmaxinvoicing_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingGetAutocompleteV2ResponseMPayload: """Test EzmaxinvoicingGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingGetAutocompleteV2ResponseMPayload` diff --git a/test/test_ezmaxinvoicing_get_object_v2_response.py b/test/test_ezmaxinvoicing_get_object_v2_response.py index 7e79d75a4..227c57261 100644 --- a/test/test_ezmaxinvoicing_get_object_v2_response.py +++ b/test/test_ezmaxinvoicing_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingGetObjectV2Response: """Test EzmaxinvoicingGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingGetObjectV2Response` diff --git a/test/test_ezmaxinvoicing_get_object_v2_response_m_payload.py b/test/test_ezmaxinvoicing_get_object_v2_response_m_payload.py index 5f9519d15..13de992af 100644 --- a/test/test_ezmaxinvoicing_get_object_v2_response_m_payload.py +++ b/test/test_ezmaxinvoicing_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingGetObjectV2ResponseMPayload: """Test EzmaxinvoicingGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingGetObjectV2ResponseMPayload` diff --git a/test/test_ezmaxinvoicing_get_provisional_v1_response.py b/test/test_ezmaxinvoicing_get_provisional_v1_response.py index 9a35fd5ab..ce13ccb74 100644 --- a/test/test_ezmaxinvoicing_get_provisional_v1_response.py +++ b/test/test_ezmaxinvoicing_get_provisional_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingGetProvisionalV1Response: """Test EzmaxinvoicingGetProvisionalV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingGetProvisionalV1Response` diff --git a/test/test_ezmaxinvoicing_get_provisional_v1_response_m_payload.py b/test/test_ezmaxinvoicing_get_provisional_v1_response_m_payload.py index 6382361dd..fd018bafc 100644 --- a/test/test_ezmaxinvoicing_get_provisional_v1_response_m_payload.py +++ b/test/test_ezmaxinvoicing_get_provisional_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingGetProvisionalV1ResponseMPayload: """Test EzmaxinvoicingGetProvisionalV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingGetProvisionalV1ResponseMPayload` diff --git a/test/test_ezmaxinvoicing_response.py b/test/test_ezmaxinvoicing_response.py index 108cbfe9a..e2941854a 100644 --- a/test/test_ezmaxinvoicing_response.py +++ b/test/test_ezmaxinvoicing_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingResponse: """Test EzmaxinvoicingResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingResponse` diff --git a/test/test_ezmaxinvoicing_response_compound.py b/test/test_ezmaxinvoicing_response_compound.py index 3d91b28f7..49a05b854 100644 --- a/test/test_ezmaxinvoicing_response_compound.py +++ b/test/test_ezmaxinvoicing_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingResponseCompound: """Test EzmaxinvoicingResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingResponseCompound` diff --git a/test/test_ezmaxinvoicingagent_response.py b/test/test_ezmaxinvoicingagent_response.py index 2fa64dc20..c1356b230 100644 --- a/test/test_ezmaxinvoicingagent_response.py +++ b/test/test_ezmaxinvoicingagent_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingagentResponse: """Test EzmaxinvoicingagentResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingagentResponse` diff --git a/test/test_ezmaxinvoicingagent_response_compound.py b/test/test_ezmaxinvoicingagent_response_compound.py index d9473f844..c6a78d882 100644 --- a/test/test_ezmaxinvoicingagent_response_compound.py +++ b/test/test_ezmaxinvoicingagent_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingagentResponseCompound: """Test EzmaxinvoicingagentResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingagentResponseCompound` diff --git a/test/test_ezmaxinvoicingcommission_response.py b/test/test_ezmaxinvoicingcommission_response.py index 726deb3cf..623790660 100644 --- a/test/test_ezmaxinvoicingcommission_response.py +++ b/test/test_ezmaxinvoicingcommission_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingcommissionResponse: """Test EzmaxinvoicingcommissionResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingcommissionResponse` diff --git a/test/test_ezmaxinvoicingcommission_response_compound.py b/test/test_ezmaxinvoicingcommission_response_compound.py index 1d11ae6b2..d94ef0608 100644 --- a/test/test_ezmaxinvoicingcommission_response_compound.py +++ b/test/test_ezmaxinvoicingcommission_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingcommissionResponseCompound: """Test EzmaxinvoicingcommissionResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingcommissionResponseCompound` diff --git a/test/test_ezmaxinvoicingcontract_response.py b/test/test_ezmaxinvoicingcontract_response.py index 143c793ec..490eccbb3 100644 --- a/test/test_ezmaxinvoicingcontract_response.py +++ b/test/test_ezmaxinvoicingcontract_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingcontractResponse: """Test EzmaxinvoicingcontractResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingcontractResponse` diff --git a/test/test_ezmaxinvoicingcontract_response_compound.py b/test/test_ezmaxinvoicingcontract_response_compound.py index 624e13189..8a54a730f 100644 --- a/test/test_ezmaxinvoicingcontract_response_compound.py +++ b/test/test_ezmaxinvoicingcontract_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingcontractResponseCompound: """Test EzmaxinvoicingcontractResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingcontractResponseCompound` diff --git a/test/test_ezmaxinvoicingsummaryexternal_response.py b/test/test_ezmaxinvoicingsummaryexternal_response.py index 836e0c10a..9f9179a58 100644 --- a/test/test_ezmaxinvoicingsummaryexternal_response.py +++ b/test/test_ezmaxinvoicingsummaryexternal_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingsummaryexternalResponse: """Test EzmaxinvoicingsummaryexternalResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingsummaryexternalResponse` diff --git a/test/test_ezmaxinvoicingsummaryexternal_response_compound.py b/test/test_ezmaxinvoicingsummaryexternal_response_compound.py index 616cbb746..bda842a9b 100644 --- a/test/test_ezmaxinvoicingsummaryexternal_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryexternal_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingsummaryexternalResponseCompound: """Test EzmaxinvoicingsummaryexternalResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingsummaryexternalResponseCompound` diff --git a/test/test_ezmaxinvoicingsummaryexternaldetail_response.py b/test/test_ezmaxinvoicingsummaryexternaldetail_response.py index e31bf098d..5a548453a 100644 --- a/test/test_ezmaxinvoicingsummaryexternaldetail_response.py +++ b/test/test_ezmaxinvoicingsummaryexternaldetail_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingsummaryexternaldetailResponse: """Test EzmaxinvoicingsummaryexternaldetailResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingsummaryexternaldetailResponse` diff --git a/test/test_ezmaxinvoicingsummaryexternaldetail_response_compound.py b/test/test_ezmaxinvoicingsummaryexternaldetail_response_compound.py index a7fcbfc71..116ecb3d3 100644 --- a/test/test_ezmaxinvoicingsummaryexternaldetail_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryexternaldetail_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingsummaryexternaldetailResponseCompound: """Test EzmaxinvoicingsummaryexternaldetailResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingsummaryexternaldetailResponseCompound` diff --git a/test/test_ezmaxinvoicingsummaryglobal_response.py b/test/test_ezmaxinvoicingsummaryglobal_response.py index f106d73f9..a2672fda6 100644 --- a/test/test_ezmaxinvoicingsummaryglobal_response.py +++ b/test/test_ezmaxinvoicingsummaryglobal_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingsummaryglobalResponse: """Test EzmaxinvoicingsummaryglobalResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingsummaryglobalResponse` diff --git a/test/test_ezmaxinvoicingsummaryglobal_response_compound.py b/test/test_ezmaxinvoicingsummaryglobal_response_compound.py index 93f3f896a..62bd5fdf5 100644 --- a/test/test_ezmaxinvoicingsummaryglobal_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryglobal_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingsummaryglobalResponseCompound: """Test EzmaxinvoicingsummaryglobalResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingsummaryglobalResponseCompound` diff --git a/test/test_ezmaxinvoicingsummaryinternal_response.py b/test/test_ezmaxinvoicingsummaryinternal_response.py index 0fcb45c0c..3c9970f1f 100644 --- a/test/test_ezmaxinvoicingsummaryinternal_response.py +++ b/test/test_ezmaxinvoicingsummaryinternal_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingsummaryinternalResponse: """Test EzmaxinvoicingsummaryinternalResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingsummaryinternalResponse` diff --git a/test/test_ezmaxinvoicingsummaryinternal_response_compound.py b/test/test_ezmaxinvoicingsummaryinternal_response_compound.py index 2eae03fb7..01b1324e7 100644 --- a/test/test_ezmaxinvoicingsummaryinternal_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryinternal_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingsummaryinternalResponseCompound: """Test EzmaxinvoicingsummaryinternalResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingsummaryinternalResponseCompound` diff --git a/test/test_ezmaxinvoicingsummaryinternaldetail_response.py b/test/test_ezmaxinvoicingsummaryinternaldetail_response.py index e9879aa6e..49cc1a150 100644 --- a/test/test_ezmaxinvoicingsummaryinternaldetail_response.py +++ b/test/test_ezmaxinvoicingsummaryinternaldetail_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingsummaryinternaldetailResponse: """Test EzmaxinvoicingsummaryinternaldetailResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingsummaryinternaldetailResponse` diff --git a/test/test_ezmaxinvoicingsummaryinternaldetail_response_compound.py b/test/test_ezmaxinvoicingsummaryinternaldetail_response_compound.py index 35ebe6a45..da4d9c72d 100644 --- a/test/test_ezmaxinvoicingsummaryinternaldetail_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryinternaldetail_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicingsummaryinternaldetailResponseCompound: """Test EzmaxinvoicingsummaryinternaldetailResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicingsummaryinternaldetailResponseCompound` diff --git a/test/test_ezmaxinvoicinguser_response.py b/test/test_ezmaxinvoicinguser_response.py index 6021d6bb3..7b610d19f 100644 --- a/test/test_ezmaxinvoicinguser_response.py +++ b/test/test_ezmaxinvoicinguser_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicinguserResponse: """Test EzmaxinvoicinguserResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicinguserResponse` diff --git a/test/test_ezmaxinvoicinguser_response_compound.py b/test/test_ezmaxinvoicinguser_response_compound.py index 7285f91d0..01cef9a42 100644 --- a/test/test_ezmaxinvoicinguser_response_compound.py +++ b/test/test_ezmaxinvoicinguser_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxinvoicinguserResponseCompound: """Test EzmaxinvoicinguserResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxinvoicinguserResponseCompound` diff --git a/test/test_ezmaxproduct_autocomplete_element_response.py b/test/test_ezmaxproduct_autocomplete_element_response.py index 855624e76..ba0db4fd2 100644 --- a/test/test_ezmaxproduct_autocomplete_element_response.py +++ b/test/test_ezmaxproduct_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxproductAutocompleteElementResponse: """Test EzmaxproductAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxproductAutocompleteElementResponse` diff --git a/test/test_ezmaxproduct_get_autocomplete_v2_response.py b/test/test_ezmaxproduct_get_autocomplete_v2_response.py index f05024c03..7487cdfd9 100644 --- a/test/test_ezmaxproduct_get_autocomplete_v2_response.py +++ b/test/test_ezmaxproduct_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxproductGetAutocompleteV2Response: """Test EzmaxproductGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxproductGetAutocompleteV2Response` diff --git a/test/test_ezmaxproduct_get_autocomplete_v2_response_m_payload.py b/test/test_ezmaxproduct_get_autocomplete_v2_response_m_payload.py index 15d5b51f8..54a87923d 100644 --- a/test/test_ezmaxproduct_get_autocomplete_v2_response_m_payload.py +++ b/test/test_ezmaxproduct_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzmaxproductGetAutocompleteV2ResponseMPayload: """Test EzmaxproductGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzmaxproductGetAutocompleteV2ResponseMPayload` diff --git a/test/test_ezsign_suggest_signers_v1_response.py b/test/test_ezsign_suggest_signers_v1_response.py deleted file mode 100644 index f7051b682..000000000 --- a/test/test_ezsign_suggest_signers_v1_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsign_suggest_signers_v1_response import EzsignSuggestSignersV1Response - -class TestEzsignSuggestSignersV1Response(unittest.TestCase): - """EzsignSuggestSignersV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignSuggestSignersV1Response: - """Test EzsignSuggestSignersV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignSuggestSignersV1Response` - """ - model = EzsignSuggestSignersV1Response() - if include_optional: - return EzsignSuggestSignersV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsign_suggest_signers_v1_response_m_payload.ezsign-suggestSigners-v1-Response-mPayload( - a_obj_ezsignfoldersignerassociation = [ - eZmaxApi.models.ezsignfoldersignerassociation_response_compound.ezsignfoldersignerassociation-ResponseCompound() - ], - a_obj_user_team = [ - eZmaxApi.models.custom_user_response.Custom-User-Response( - pki_user_id = 70, - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_email_address = 'email@example.com', ) - ], - a_obj_user = [ - eZmaxApi.models.custom_user_response.Custom-User-Response( - pki_user_id = 70, - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_email_address = 'email@example.com', ) - ], ) - ) - else: - return EzsignSuggestSignersV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsign_suggest_signers_v1_response_m_payload.ezsign-suggestSigners-v1-Response-mPayload( - a_obj_ezsignfoldersignerassociation = [ - eZmaxApi.models.ezsignfoldersignerassociation_response_compound.ezsignfoldersignerassociation-ResponseCompound() - ], - a_obj_user_team = [ - eZmaxApi.models.custom_user_response.Custom-User-Response( - pki_user_id = 70, - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_email_address = 'email@example.com', ) - ], - a_obj_user = [ - eZmaxApi.models.custom_user_response.Custom-User-Response( - pki_user_id = 70, - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_email_address = 'email@example.com', ) - ], ), - ) - """ - - def testEzsignSuggestSignersV1Response(self): - """Test EzsignSuggestSignersV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsign_suggest_signers_v1_response_m_payload.py b/test/test_ezsign_suggest_signers_v1_response_m_payload.py deleted file mode 100644 index fbabe5310..000000000 --- a/test/test_ezsign_suggest_signers_v1_response_m_payload.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsign_suggest_signers_v1_response_m_payload import EzsignSuggestSignersV1ResponseMPayload - -class TestEzsignSuggestSignersV1ResponseMPayload(unittest.TestCase): - """EzsignSuggestSignersV1ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignSuggestSignersV1ResponseMPayload: - """Test EzsignSuggestSignersV1ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignSuggestSignersV1ResponseMPayload` - """ - model = EzsignSuggestSignersV1ResponseMPayload() - if include_optional: - return EzsignSuggestSignersV1ResponseMPayload( - a_obj_ezsignfoldersignerassociation = [ - eZmaxApi.models.ezsignfoldersignerassociation_response_compound.ezsignfoldersignerassociation-ResponseCompound() - ], - a_obj_user_team = [ - eZmaxApi.models.custom_user_response.Custom-User-Response( - pki_user_id = 70, - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_email_address = 'email@example.com', ) - ], - a_obj_user = [ - eZmaxApi.models.custom_user_response.Custom-User-Response( - pki_user_id = 70, - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_email_address = 'email@example.com', ) - ] - ) - else: - return EzsignSuggestSignersV1ResponseMPayload( - a_obj_ezsignfoldersignerassociation = [ - eZmaxApi.models.ezsignfoldersignerassociation_response_compound.ezsignfoldersignerassociation-ResponseCompound() - ], - a_obj_user_team = [ - eZmaxApi.models.custom_user_response.Custom-User-Response( - pki_user_id = 70, - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_email_address = 'email@example.com', ) - ], - a_obj_user = [ - eZmaxApi.models.custom_user_response.Custom-User-Response( - pki_user_id = 70, - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_email_address = 'email@example.com', ) - ], - ) - """ - - def testEzsignSuggestSignersV1ResponseMPayload(self): - """Test EzsignSuggestSignersV1ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsign_suggest_templates_v1_response.py b/test/test_ezsign_suggest_templates_v1_response.py deleted file mode 100644 index 7fd439ae1..000000000 --- a/test/test_ezsign_suggest_templates_v1_response.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsign_suggest_templates_v1_response import EzsignSuggestTemplatesV1Response - -class TestEzsignSuggestTemplatesV1Response(unittest.TestCase): - """EzsignSuggestTemplatesV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignSuggestTemplatesV1Response: - """Test EzsignSuggestTemplatesV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignSuggestTemplatesV1Response` - """ - model = EzsignSuggestTemplatesV1Response() - if include_optional: - return EzsignSuggestTemplatesV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsign_suggest_templates_v1_response_m_payload.ezsign-suggestTemplates-v1-Response-mPayload( - a_obj_ezsigntemplate = [ - eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound() - ], - a_obj_ezsigntemplatepackage = [ - eZmaxApi.models.ezsigntemplatepackage_response_compound.ezsigntemplatepackage-ResponseCompound() - ], - a_obj_ezsigntemplateglobal = [ - eZmaxApi.models.ezsigntemplateglobal_response_compound.ezsigntemplateglobal-ResponseCompound() - ], ) - ) - else: - return EzsignSuggestTemplatesV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsign_suggest_templates_v1_response_m_payload.ezsign-suggestTemplates-v1-Response-mPayload( - a_obj_ezsigntemplate = [ - eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound() - ], - a_obj_ezsigntemplatepackage = [ - eZmaxApi.models.ezsigntemplatepackage_response_compound.ezsigntemplatepackage-ResponseCompound() - ], - a_obj_ezsigntemplateglobal = [ - eZmaxApi.models.ezsigntemplateglobal_response_compound.ezsigntemplateglobal-ResponseCompound() - ], ), - ) - """ - - def testEzsignSuggestTemplatesV1Response(self): - """Test EzsignSuggestTemplatesV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsign_suggest_templates_v1_response_m_payload.py b/test/test_ezsign_suggest_templates_v1_response_m_payload.py deleted file mode 100644 index 117a936f8..000000000 --- a/test/test_ezsign_suggest_templates_v1_response_m_payload.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsign_suggest_templates_v1_response_m_payload import EzsignSuggestTemplatesV1ResponseMPayload - -class TestEzsignSuggestTemplatesV1ResponseMPayload(unittest.TestCase): - """EzsignSuggestTemplatesV1ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignSuggestTemplatesV1ResponseMPayload: - """Test EzsignSuggestTemplatesV1ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignSuggestTemplatesV1ResponseMPayload` - """ - model = EzsignSuggestTemplatesV1ResponseMPayload() - if include_optional: - return EzsignSuggestTemplatesV1ResponseMPayload( - a_obj_ezsigntemplate = [ - eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound() - ], - a_obj_ezsigntemplatepackage = [ - eZmaxApi.models.ezsigntemplatepackage_response_compound.ezsigntemplatepackage-ResponseCompound() - ], - a_obj_ezsigntemplateglobal = [ - eZmaxApi.models.ezsigntemplateglobal_response_compound.ezsigntemplateglobal-ResponseCompound() - ] - ) - else: - return EzsignSuggestTemplatesV1ResponseMPayload( - a_obj_ezsigntemplate = [ - eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound() - ], - a_obj_ezsigntemplatepackage = [ - eZmaxApi.models.ezsigntemplatepackage_response_compound.ezsigntemplatepackage-ResponseCompound() - ], - a_obj_ezsigntemplateglobal = [ - eZmaxApi.models.ezsigntemplateglobal_response_compound.ezsigntemplateglobal-ResponseCompound() - ], - ) - """ - - def testEzsignSuggestTemplatesV1ResponseMPayload(self): - """Test EzsignSuggestTemplatesV1ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignannotation_create_object_v1_request.py b/test/test_ezsignannotation_create_object_v1_request.py new file mode 100644 index 000000000..c452eccc3 --- /dev/null +++ b/test/test_ezsignannotation_create_object_v1_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignannotation_create_object_v1_request import EzsignannotationCreateObjectV1Request + +class TestEzsignannotationCreateObjectV1Request(unittest.TestCase): + """EzsignannotationCreateObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignannotationCreateObjectV1Request: + """Test EzsignannotationCreateObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignannotationCreateObjectV1Request` + """ + model = EzsignannotationCreateObjectV1Request() + if include_optional: + return EzsignannotationCreateObjectV1Request( + a_obj_ezsignannotation = [ + eZmaxApi.models.ezsignannotation_request_compound.ezsignannotation-RequestCompound() + ] + ) + else: + return EzsignannotationCreateObjectV1Request( + a_obj_ezsignannotation = [ + eZmaxApi.models.ezsignannotation_request_compound.ezsignannotation-RequestCompound() + ], + ) + """ + + def testEzsignannotationCreateObjectV1Request(self): + """Test EzsignannotationCreateObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignannotation_create_object_v1_response.py b/test/test_ezsignannotation_create_object_v1_response.py new file mode 100644 index 000000000..2ea1fdfd6 --- /dev/null +++ b/test/test_ezsignannotation_create_object_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignannotation_create_object_v1_response import EzsignannotationCreateObjectV1Response + +class TestEzsignannotationCreateObjectV1Response(unittest.TestCase): + """EzsignannotationCreateObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignannotationCreateObjectV1Response: + """Test EzsignannotationCreateObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignannotationCreateObjectV1Response` + """ + model = EzsignannotationCreateObjectV1Response() + if include_optional: + return EzsignannotationCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignannotation_create_object_v1_response_m_payload.ezsignannotation-createObject-v1-Response-mPayload( + a_pki_ezsignannotation_id = [ + 113 + ], ) + ) + else: + return EzsignannotationCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignannotation_create_object_v1_response_m_payload.ezsignannotation-createObject-v1-Response-mPayload( + a_pki_ezsignannotation_id = [ + 113 + ], ), + ) + """ + + def testEzsignannotationCreateObjectV1Response(self): + """Test EzsignannotationCreateObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignannotation_create_object_v1_response_m_payload.py b/test/test_ezsignannotation_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..baa39bcbf --- /dev/null +++ b/test/test_ezsignannotation_create_object_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignannotation_create_object_v1_response_m_payload import EzsignannotationCreateObjectV1ResponseMPayload + +class TestEzsignannotationCreateObjectV1ResponseMPayload(unittest.TestCase): + """EzsignannotationCreateObjectV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignannotationCreateObjectV1ResponseMPayload: + """Test EzsignannotationCreateObjectV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignannotationCreateObjectV1ResponseMPayload` + """ + model = EzsignannotationCreateObjectV1ResponseMPayload() + if include_optional: + return EzsignannotationCreateObjectV1ResponseMPayload( + a_pki_ezsignannotation_id = [ + 113 + ] + ) + else: + return EzsignannotationCreateObjectV1ResponseMPayload( + a_pki_ezsignannotation_id = [ + 113 + ], + ) + """ + + def testEzsignannotationCreateObjectV1ResponseMPayload(self): + """Test EzsignannotationCreateObjectV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignannotation_delete_object_v1_response.py b/test/test_ezsignannotation_delete_object_v1_response.py new file mode 100644 index 000000000..4741b7874 --- /dev/null +++ b/test/test_ezsignannotation_delete_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignannotation_delete_object_v1_response import EzsignannotationDeleteObjectV1Response + +class TestEzsignannotationDeleteObjectV1Response(unittest.TestCase): + """EzsignannotationDeleteObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignannotationDeleteObjectV1Response: + """Test EzsignannotationDeleteObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignannotationDeleteObjectV1Response` + """ + model = EzsignannotationDeleteObjectV1Response() + if include_optional: + return EzsignannotationDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsignannotationDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsignannotationDeleteObjectV1Response(self): + """Test EzsignannotationDeleteObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignannotation_edit_object_v1_request.py b/test/test_ezsignannotation_edit_object_v1_request.py new file mode 100644 index 000000000..790a68874 --- /dev/null +++ b/test/test_ezsignannotation_edit_object_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignannotation_edit_object_v1_request import EzsignannotationEditObjectV1Request + +class TestEzsignannotationEditObjectV1Request(unittest.TestCase): + """EzsignannotationEditObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignannotationEditObjectV1Request: + """Test EzsignannotationEditObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignannotationEditObjectV1Request` + """ + model = EzsignannotationEditObjectV1Request() + if include_optional: + return EzsignannotationEditObjectV1Request( + obj_ezsignannotation = eZmaxApi.models.ezsignannotation_request_compound.ezsignannotation-RequestCompound() + ) + else: + return EzsignannotationEditObjectV1Request( + obj_ezsignannotation = eZmaxApi.models.ezsignannotation_request_compound.ezsignannotation-RequestCompound(), + ) + """ + + def testEzsignannotationEditObjectV1Request(self): + """Test EzsignannotationEditObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignannotation_edit_object_v1_response.py b/test/test_ezsignannotation_edit_object_v1_response.py new file mode 100644 index 000000000..367fc5f6e --- /dev/null +++ b/test/test_ezsignannotation_edit_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignannotation_edit_object_v1_response import EzsignannotationEditObjectV1Response + +class TestEzsignannotationEditObjectV1Response(unittest.TestCase): + """EzsignannotationEditObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignannotationEditObjectV1Response: + """Test EzsignannotationEditObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignannotationEditObjectV1Response` + """ + model = EzsignannotationEditObjectV1Response() + if include_optional: + return EzsignannotationEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsignannotationEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsignannotationEditObjectV1Response(self): + """Test EzsignannotationEditObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignannotation_get_object_v2_response.py b/test/test_ezsignannotation_get_object_v2_response.py new file mode 100644 index 000000000..cb3e72877 --- /dev/null +++ b/test/test_ezsignannotation_get_object_v2_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignannotation_get_object_v2_response import EzsignannotationGetObjectV2Response + +class TestEzsignannotationGetObjectV2Response(unittest.TestCase): + """EzsignannotationGetObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignannotationGetObjectV2Response: + """Test EzsignannotationGetObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignannotationGetObjectV2Response` + """ + model = EzsignannotationGetObjectV2Response() + if include_optional: + return EzsignannotationGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignannotation_get_object_v2_response_m_payload.ezsignannotation-getObject-v2-Response-mPayload( + obj_ezsignannotation = eZmaxApi.models.ezsignannotation_response_compound.ezsignannotation-ResponseCompound(), ) + ) + else: + return EzsignannotationGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignannotation_get_object_v2_response_m_payload.ezsignannotation-getObject-v2-Response-mPayload( + obj_ezsignannotation = eZmaxApi.models.ezsignannotation_response_compound.ezsignannotation-ResponseCompound(), ), + ) + """ + + def testEzsignannotationGetObjectV2Response(self): + """Test EzsignannotationGetObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignannotation_get_object_v2_response_m_payload.py b/test/test_ezsignannotation_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..713d71911 --- /dev/null +++ b/test/test_ezsignannotation_get_object_v2_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignannotation_get_object_v2_response_m_payload import EzsignannotationGetObjectV2ResponseMPayload + +class TestEzsignannotationGetObjectV2ResponseMPayload(unittest.TestCase): + """EzsignannotationGetObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignannotationGetObjectV2ResponseMPayload: + """Test EzsignannotationGetObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignannotationGetObjectV2ResponseMPayload` + """ + model = EzsignannotationGetObjectV2ResponseMPayload() + if include_optional: + return EzsignannotationGetObjectV2ResponseMPayload( + obj_ezsignannotation = eZmaxApi.models.ezsignannotation_response_compound.ezsignannotation-ResponseCompound() + ) + else: + return EzsignannotationGetObjectV2ResponseMPayload( + obj_ezsignannotation = eZmaxApi.models.ezsignannotation_response_compound.ezsignannotation-ResponseCompound(), + ) + """ + + def testEzsignannotationGetObjectV2ResponseMPayload(self): + """Test EzsignannotationGetObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignannotation_request.py b/test/test_ezsignannotation_request.py new file mode 100644 index 000000000..7e877fc3e --- /dev/null +++ b/test/test_ezsignannotation_request.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignannotation_request import EzsignannotationRequest + +class TestEzsignannotationRequest(unittest.TestCase): + """EzsignannotationRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignannotationRequest: + """Test EzsignannotationRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignannotationRequest` + """ + model = EzsignannotationRequest() + if include_optional: + return EzsignannotationRequest( + pki_ezsignannotation_id = 113, + fki_ezsigndocument_id = 97, + e_ezsignannotation_horizontalalignment = 'Center', + e_ezsignannotation_verticalalignment = 'Bottom', + e_ezsignannotation_type = 'Text', + i_ezsignannotation_x = 50, + i_ezsignannotation_y = 50, + i_ezsignannotation_width = 75, + i_ezsignannotation_height = 25, + s_ezsignannotation_text = 'Sample', + i_ezsignpage_pagenumber = 1 + ) + else: + return EzsignannotationRequest( + fki_ezsigndocument_id = 97, + e_ezsignannotation_type = 'Text', + i_ezsignannotation_x = 50, + i_ezsignannotation_y = 50, + i_ezsignpage_pagenumber = 1, + ) + """ + + def testEzsignannotationRequest(self): + """Test EzsignannotationRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignannotation_request_compound.py b/test/test_ezsignannotation_request_compound.py new file mode 100644 index 000000000..bfe5f6da0 --- /dev/null +++ b/test/test_ezsignannotation_request_compound.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignannotation_request_compound import EzsignannotationRequestCompound + +class TestEzsignannotationRequestCompound(unittest.TestCase): + """EzsignannotationRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignannotationRequestCompound: + """Test EzsignannotationRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignannotationRequestCompound` + """ + model = EzsignannotationRequestCompound() + if include_optional: + return EzsignannotationRequestCompound( + pki_ezsignannotation_id = 113, + fki_ezsigndocument_id = 97, + e_ezsignannotation_horizontalalignment = 'Center', + e_ezsignannotation_verticalalignment = 'Bottom', + e_ezsignannotation_type = 'Text', + i_ezsignannotation_x = 50, + i_ezsignannotation_y = 50, + i_ezsignannotation_width = 75, + i_ezsignannotation_height = 25, + s_ezsignannotation_text = 'Sample', + i_ezsignpage_pagenumber = 1, + obj_textstylestatic = eZmaxApi.models.textstylestatic_request_compound.textstylestatic-RequestCompound() + ) + else: + return EzsignannotationRequestCompound( + fki_ezsigndocument_id = 97, + e_ezsignannotation_type = 'Text', + i_ezsignannotation_x = 50, + i_ezsignannotation_y = 50, + i_ezsignpage_pagenumber = 1, + ) + """ + + def testEzsignannotationRequestCompound(self): + """Test EzsignannotationRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignannotation_response.py b/test/test_ezsignannotation_response.py index ddddabce2..86e25f6ae 100644 --- a/test/test_ezsignannotation_response.py +++ b/test/test_ezsignannotation_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignannotationResponse: """Test EzsignannotationResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignannotationResponse` diff --git a/test/test_ezsignannotation_response_compound.py b/test/test_ezsignannotation_response_compound.py index a2975efd1..725fa5fa4 100644 --- a/test/test_ezsignannotation_response_compound.py +++ b/test/test_ezsignannotation_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignannotationResponseCompound: """Test EzsignannotationResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignannotationResponseCompound` diff --git a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_request.py b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_request.py deleted file mode 100644 index 88f6c5a86..000000000 --- a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_request.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_request import EzsignbulksendCreateEzsignbulksendtransmissionV1Request - -class TestEzsignbulksendCreateEzsignbulksendtransmissionV1Request(unittest.TestCase): - """EzsignbulksendCreateEzsignbulksendtransmissionV1Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignbulksendCreateEzsignbulksendtransmissionV1Request: - """Test EzsignbulksendCreateEzsignbulksendtransmissionV1Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignbulksendCreateEzsignbulksendtransmissionV1Request` - """ - model = EzsignbulksendCreateEzsignbulksendtransmissionV1Request() - if include_optional: - return EzsignbulksendCreateEzsignbulksendtransmissionV1Request( - fki_userlogintype_id = 2, - fki_ezsigntsarequirement_id = 1, - s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', - dt_ezsigndocument_duedate = '2020-12-31 23:59:59', - e_ezsignfolder_sendreminderfrequency = 'None', - t_extra_message = 'Hi John, - -This is the document I need you to review. - -Could you sign it before Monday please. - -Best Regards. - -Mary', - s_csv_base64 = 'YQ==' - ) - else: - return EzsignbulksendCreateEzsignbulksendtransmissionV1Request( - fki_userlogintype_id = 2, - s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', - dt_ezsigndocument_duedate = '2020-12-31 23:59:59', - e_ezsignfolder_sendreminderfrequency = 'None', - t_extra_message = 'Hi John, - -This is the document I need you to review. - -Could you sign it before Monday please. - -Best Regards. - -Mary', - s_csv_base64 = 'YQ==', - ) - """ - - def testEzsignbulksendCreateEzsignbulksendtransmissionV1Request(self): - """Test EzsignbulksendCreateEzsignbulksendtransmissionV1Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_response.py b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_response.py deleted file mode 100644 index 07057b44b..000000000 --- a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_response.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response import EzsignbulksendCreateEzsignbulksendtransmissionV1Response - -class TestEzsignbulksendCreateEzsignbulksendtransmissionV1Response(unittest.TestCase): - """EzsignbulksendCreateEzsignbulksendtransmissionV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignbulksendCreateEzsignbulksendtransmissionV1Response: - """Test EzsignbulksendCreateEzsignbulksendtransmissionV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignbulksendCreateEzsignbulksendtransmissionV1Response` - """ - model = EzsignbulksendCreateEzsignbulksendtransmissionV1Response() - if include_optional: - return EzsignbulksendCreateEzsignbulksendtransmissionV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.ezsignbulksend-createEzsignbulksendtransmission-v1-Response-mPayload( - obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response.ezsignbulksendtransmission-Response( - pki_ezsignbulksendtransmission_id = 21, - fki_ezsignbulksend_id = 8, - s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', - i_ezsignbulksendtransmission_errors = 1, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ), ) - ) - else: - return EzsignbulksendCreateEzsignbulksendtransmissionV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.ezsignbulksend-createEzsignbulksendtransmission-v1-Response-mPayload( - obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response.ezsignbulksendtransmission-Response( - pki_ezsignbulksendtransmission_id = 21, - fki_ezsignbulksend_id = 8, - s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', - i_ezsignbulksendtransmission_errors = 1, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ), ), - ) - """ - - def testEzsignbulksendCreateEzsignbulksendtransmissionV1Response(self): - """Test EzsignbulksendCreateEzsignbulksendtransmissionV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.py b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.py deleted file mode 100644 index ac40100f4..000000000 --- a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v1_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload - -class TestEzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload(unittest.TestCase): - """EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload: - """Test EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload` - """ - model = EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload() - if include_optional: - return EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload( - obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response.ezsignbulksendtransmission-Response( - pki_ezsignbulksendtransmission_id = 21, - fki_ezsignbulksend_id = 8, - s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', - i_ezsignbulksendtransmission_errors = 1, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) - ) - else: - return EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload( - obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response.ezsignbulksendtransmission-Response( - pki_ezsignbulksendtransmission_id = 21, - fki_ezsignbulksend_id = 8, - s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', - i_ezsignbulksendtransmission_errors = 1, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ), - ) - """ - - def testEzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload(self): - """Test EzsignbulksendCreateEzsignbulksendtransmissionV1ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_request.py b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_request.py new file mode 100644 index 000000000..5e72c89ac --- /dev/null +++ b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_request.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_request import EzsignbulksendCreateEzsignbulksendtransmissionV2Request + +class TestEzsignbulksendCreateEzsignbulksendtransmissionV2Request(unittest.TestCase): + """EzsignbulksendCreateEzsignbulksendtransmissionV2Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignbulksendCreateEzsignbulksendtransmissionV2Request: + """Test EzsignbulksendCreateEzsignbulksendtransmissionV2Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignbulksendCreateEzsignbulksendtransmissionV2Request` + """ + model = EzsignbulksendCreateEzsignbulksendtransmissionV2Request() + if include_optional: + return EzsignbulksendCreateEzsignbulksendtransmissionV2Request( + fki_userlogintype_id = 2, + fki_ezsigntsarequirement_id = 1, + s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', + dt_ezsigndocument_duedate = '2020-12-31 23:59:59', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + t_extra_message = 'Hi John, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + s_csv_base64 = 'YQ==' + ) + else: + return EzsignbulksendCreateEzsignbulksendtransmissionV2Request( + fki_userlogintype_id = 2, + s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', + dt_ezsigndocument_duedate = '2020-12-31 23:59:59', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + t_extra_message = 'Hi John, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + s_csv_base64 = 'YQ==', + ) + """ + + def testEzsignbulksendCreateEzsignbulksendtransmissionV2Request(self): + """Test EzsignbulksendCreateEzsignbulksendtransmissionV2Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py new file mode 100644 index 000000000..77072d7d1 --- /dev/null +++ b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response import EzsignbulksendCreateEzsignbulksendtransmissionV2Response + +class TestEzsignbulksendCreateEzsignbulksendtransmissionV2Response(unittest.TestCase): + """EzsignbulksendCreateEzsignbulksendtransmissionV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignbulksendCreateEzsignbulksendtransmissionV2Response: + """Test EzsignbulksendCreateEzsignbulksendtransmissionV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignbulksendCreateEzsignbulksendtransmissionV2Response` + """ + model = EzsignbulksendCreateEzsignbulksendtransmissionV2Response() + if include_optional: + return EzsignbulksendCreateEzsignbulksendtransmissionV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.ezsignbulksend-createEzsignbulksendtransmission-v2-Response-mPayload( + obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response.ezsignbulksendtransmission-Response( + pki_ezsignbulksendtransmission_id = 21, + fki_ezsignbulksend_id = 8, + s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', + i_ezsignbulksendtransmission_errors = 1, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ), ) + ) + else: + return EzsignbulksendCreateEzsignbulksendtransmissionV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.ezsignbulksend-createEzsignbulksendtransmission-v2-Response-mPayload( + obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response.ezsignbulksendtransmission-Response( + pki_ezsignbulksendtransmission_id = 21, + fki_ezsignbulksend_id = 8, + s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', + i_ezsignbulksendtransmission_errors = 1, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ), ), + ) + """ + + def testEzsignbulksendCreateEzsignbulksendtransmissionV2Response(self): + """Test EzsignbulksendCreateEzsignbulksendtransmissionV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.py b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.py new file mode 100644 index 000000000..0e1264531 --- /dev/null +++ b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload + +class TestEzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload(unittest.TestCase): + """EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload: + """Test EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload` + """ + model = EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload() + if include_optional: + return EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload( + obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response.ezsignbulksendtransmission-Response( + pki_ezsignbulksendtransmission_id = 21, + fki_ezsignbulksend_id = 8, + s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', + i_ezsignbulksendtransmission_errors = 1, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) + ) + else: + return EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload( + obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response.ezsignbulksendtransmission-Response( + pki_ezsignbulksendtransmission_id = 21, + fki_ezsignbulksend_id = 8, + s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', + i_ezsignbulksendtransmission_errors = 1, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ), + ) + """ + + def testEzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload(self): + """Test EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignbulksend_create_object_v1_request.py b/test/test_ezsignbulksend_create_object_v1_request.py index af78cec60..404db40d2 100644 --- a/test/test_ezsignbulksend_create_object_v1_request.py +++ b/test/test_ezsignbulksend_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendCreateObjectV1Request: """Test EzsignbulksendCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendCreateObjectV1Request` diff --git a/test/test_ezsignbulksend_create_object_v1_response.py b/test/test_ezsignbulksend_create_object_v1_response.py index 2ecb3b5d3..821cac6e2 100644 --- a/test/test_ezsignbulksend_create_object_v1_response.py +++ b/test/test_ezsignbulksend_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendCreateObjectV1Response: """Test EzsignbulksendCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendCreateObjectV1Response` diff --git a/test/test_ezsignbulksend_create_object_v1_response_m_payload.py b/test/test_ezsignbulksend_create_object_v1_response_m_payload.py index 6ea1e5a32..bb936590b 100644 --- a/test/test_ezsignbulksend_create_object_v1_response_m_payload.py +++ b/test/test_ezsignbulksend_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendCreateObjectV1ResponseMPayload: """Test EzsignbulksendCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsignbulksend_delete_object_v1_response.py b/test/test_ezsignbulksend_delete_object_v1_response.py index 0941d40d0..9a4916a6f 100644 --- a/test/test_ezsignbulksend_delete_object_v1_response.py +++ b/test/test_ezsignbulksend_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendDeleteObjectV1Response: """Test EzsignbulksendDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendDeleteObjectV1Response` diff --git a/test/test_ezsignbulksend_edit_object_v1_request.py b/test/test_ezsignbulksend_edit_object_v1_request.py index fda2838f3..805b55f0f 100644 --- a/test/test_ezsignbulksend_edit_object_v1_request.py +++ b/test/test_ezsignbulksend_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendEditObjectV1Request: """Test EzsignbulksendEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendEditObjectV1Request` diff --git a/test/test_ezsignbulksend_edit_object_v1_response.py b/test/test_ezsignbulksend_edit_object_v1_response.py index 1f9538000..70c20afe7 100644 --- a/test/test_ezsignbulksend_edit_object_v1_response.py +++ b/test/test_ezsignbulksend_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendEditObjectV1Response: """Test EzsignbulksendEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendEditObjectV1Response` diff --git a/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py b/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py index fb0164478..c7fccb1b9 100644 --- a/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py +++ b/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendGetEzsignbulksendtransmissionsV1Response: """Test EzsignbulksendGetEzsignbulksendtransmissionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendGetEzsignbulksendtransmissionsV1Response` diff --git a/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.py b/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.py index c0f6f4860..dea2f3672 100644 --- a/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.py +++ b/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload: """Test EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload` diff --git a/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py b/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py index 5baf305ca..9a6461f44 100644 --- a/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendGetEzsignsignaturesAutomaticV1Response: """Test EzsignbulksendGetEzsignsignaturesAutomaticV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendGetEzsignsignaturesAutomaticV1Response` diff --git a/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.py b/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.py index 32c570033..0bafa5aca 100644 --- a/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.py +++ b/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload: """Test EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload` diff --git a/test/test_ezsignbulksend_get_forms_data_v1_response.py b/test/test_ezsignbulksend_get_forms_data_v1_response.py index c1c0cbbce..6391dce90 100644 --- a/test/test_ezsignbulksend_get_forms_data_v1_response.py +++ b/test/test_ezsignbulksend_get_forms_data_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendGetFormsDataV1Response: """Test EzsignbulksendGetFormsDataV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendGetFormsDataV1Response` diff --git a/test/test_ezsignbulksend_get_forms_data_v1_response_m_payload.py b/test/test_ezsignbulksend_get_forms_data_v1_response_m_payload.py index 8a60dc54c..a799f18b4 100644 --- a/test/test_ezsignbulksend_get_forms_data_v1_response_m_payload.py +++ b/test/test_ezsignbulksend_get_forms_data_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendGetFormsDataV1ResponseMPayload: """Test EzsignbulksendGetFormsDataV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendGetFormsDataV1ResponseMPayload` diff --git a/test/test_ezsignbulksend_get_list_v1_response.py b/test/test_ezsignbulksend_get_list_v1_response.py index efd6cdf4e..3e042f899 100644 --- a/test/test_ezsignbulksend_get_list_v1_response.py +++ b/test/test_ezsignbulksend_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendGetListV1Response: """Test EzsignbulksendGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendGetListV1Response` diff --git a/test/test_ezsignbulksend_get_list_v1_response_m_payload.py b/test/test_ezsignbulksend_get_list_v1_response_m_payload.py index 80184c7e2..7a385aa12 100644 --- a/test/test_ezsignbulksend_get_list_v1_response_m_payload.py +++ b/test/test_ezsignbulksend_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendGetListV1ResponseMPayload: """Test EzsignbulksendGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendGetListV1ResponseMPayload` diff --git a/test/test_ezsignbulksend_get_object_v2_response.py b/test/test_ezsignbulksend_get_object_v2_response.py index 553b3f22c..de87b6d53 100644 --- a/test/test_ezsignbulksend_get_object_v2_response.py +++ b/test/test_ezsignbulksend_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendGetObjectV2Response: """Test EzsignbulksendGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendGetObjectV2Response` diff --git a/test/test_ezsignbulksend_get_object_v2_response_m_payload.py b/test/test_ezsignbulksend_get_object_v2_response_m_payload.py index 63e71ba53..1520c24eb 100644 --- a/test/test_ezsignbulksend_get_object_v2_response_m_payload.py +++ b/test/test_ezsignbulksend_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendGetObjectV2ResponseMPayload: """Test EzsignbulksendGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignbulksend_list_element.py b/test/test_ezsignbulksend_list_element.py index 87ef9b481..79c2fbc49 100644 --- a/test/test_ezsignbulksend_list_element.py +++ b/test/test_ezsignbulksend_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendListElement: """Test EzsignbulksendListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendListElement` diff --git a/test/test_ezsignbulksend_reorder_v1_request.py b/test/test_ezsignbulksend_reorder_v1_request.py index 7649ed84e..c4d631136 100644 --- a/test/test_ezsignbulksend_reorder_v1_request.py +++ b/test/test_ezsignbulksend_reorder_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendReorderV1Request: """Test EzsignbulksendReorderV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendReorderV1Request` diff --git a/test/test_ezsignbulksend_reorder_v1_response.py b/test/test_ezsignbulksend_reorder_v1_response.py index b409deee3..831e09126 100644 --- a/test/test_ezsignbulksend_reorder_v1_response.py +++ b/test/test_ezsignbulksend_reorder_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendReorderV1Response: """Test EzsignbulksendReorderV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendReorderV1Response` diff --git a/test/test_ezsignbulksend_request.py b/test/test_ezsignbulksend_request.py index d65bd36d8..8c79e5cf7 100644 --- a/test/test_ezsignbulksend_request.py +++ b/test/test_ezsignbulksend_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendRequest: """Test EzsignbulksendRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendRequest` diff --git a/test/test_ezsignbulksend_request_compound.py b/test/test_ezsignbulksend_request_compound.py index 64fab967f..a6b786147 100644 --- a/test/test_ezsignbulksend_request_compound.py +++ b/test/test_ezsignbulksend_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendRequestCompound: """Test EzsignbulksendRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendRequestCompound` diff --git a/test/test_ezsignbulksend_response.py b/test/test_ezsignbulksend_response.py index 92482b86c..79724d76a 100644 --- a/test/test_ezsignbulksend_response.py +++ b/test/test_ezsignbulksend_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendResponse: """Test EzsignbulksendResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendResponse` diff --git a/test/test_ezsignbulksend_response_compound.py b/test/test_ezsignbulksend_response_compound.py index 7162750e9..f5009b968 100644 --- a/test/test_ezsignbulksend_response_compound.py +++ b/test/test_ezsignbulksend_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendResponseCompound: """Test EzsignbulksendResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendResponseCompound` diff --git a/test/test_ezsignbulksenddocumentmapping_create_object_v1_request.py b/test/test_ezsignbulksenddocumentmapping_create_object_v1_request.py index 4f52aff03..d7c91fa75 100644 --- a/test/test_ezsignbulksenddocumentmapping_create_object_v1_request.py +++ b/test/test_ezsignbulksenddocumentmapping_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingCreateObjectV1Request: """Test EzsignbulksenddocumentmappingCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksenddocumentmappingCreateObjectV1Request` diff --git a/test/test_ezsignbulksenddocumentmapping_create_object_v1_response.py b/test/test_ezsignbulksenddocumentmapping_create_object_v1_response.py index 40073e2ec..4de89a5a6 100644 --- a/test/test_ezsignbulksenddocumentmapping_create_object_v1_response.py +++ b/test/test_ezsignbulksenddocumentmapping_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingCreateObjectV1Response: """Test EzsignbulksenddocumentmappingCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksenddocumentmappingCreateObjectV1Response` diff --git a/test/test_ezsignbulksenddocumentmapping_create_object_v1_response_m_payload.py b/test/test_ezsignbulksenddocumentmapping_create_object_v1_response_m_payload.py index 2cf787afc..50358838b 100644 --- a/test/test_ezsignbulksenddocumentmapping_create_object_v1_response_m_payload.py +++ b/test/test_ezsignbulksenddocumentmapping_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload: """Test EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsignbulksenddocumentmapping_delete_object_v1_response.py b/test/test_ezsignbulksenddocumentmapping_delete_object_v1_response.py index 4da17440f..0a7e3c70c 100644 --- a/test/test_ezsignbulksenddocumentmapping_delete_object_v1_response.py +++ b/test/test_ezsignbulksenddocumentmapping_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingDeleteObjectV1Response: """Test EzsignbulksenddocumentmappingDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksenddocumentmappingDeleteObjectV1Response` diff --git a/test/test_ezsignbulksenddocumentmapping_get_object_v2_response.py b/test/test_ezsignbulksenddocumentmapping_get_object_v2_response.py index c1d8e50eb..52864b469 100644 --- a/test/test_ezsignbulksenddocumentmapping_get_object_v2_response.py +++ b/test/test_ezsignbulksenddocumentmapping_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingGetObjectV2Response: """Test EzsignbulksenddocumentmappingGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksenddocumentmappingGetObjectV2Response` diff --git a/test/test_ezsignbulksenddocumentmapping_get_object_v2_response_m_payload.py b/test/test_ezsignbulksenddocumentmapping_get_object_v2_response_m_payload.py index b106f71cf..a99d9f3f7 100644 --- a/test/test_ezsignbulksenddocumentmapping_get_object_v2_response_m_payload.py +++ b/test/test_ezsignbulksenddocumentmapping_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload: """Test EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignbulksenddocumentmapping_request.py b/test/test_ezsignbulksenddocumentmapping_request.py index aa2f1f696..4ddb82045 100644 --- a/test/test_ezsignbulksenddocumentmapping_request.py +++ b/test/test_ezsignbulksenddocumentmapping_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingRequest: """Test EzsignbulksenddocumentmappingRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksenddocumentmappingRequest` diff --git a/test/test_ezsignbulksenddocumentmapping_request_compound.py b/test/test_ezsignbulksenddocumentmapping_request_compound.py index 0d033d155..523977877 100644 --- a/test/test_ezsignbulksenddocumentmapping_request_compound.py +++ b/test/test_ezsignbulksenddocumentmapping_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingRequestCompound: """Test EzsignbulksenddocumentmappingRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksenddocumentmappingRequestCompound` diff --git a/test/test_ezsignbulksenddocumentmapping_response.py b/test/test_ezsignbulksenddocumentmapping_response.py index 90dbe2910..454976e33 100644 --- a/test/test_ezsignbulksenddocumentmapping_response.py +++ b/test/test_ezsignbulksenddocumentmapping_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingResponse: """Test EzsignbulksenddocumentmappingResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksenddocumentmappingResponse` diff --git a/test/test_ezsignbulksenddocumentmapping_response_compound.py b/test/test_ezsignbulksenddocumentmapping_response_compound.py index fea85910c..ece45bbcc 100644 --- a/test/test_ezsignbulksenddocumentmapping_response_compound.py +++ b/test/test_ezsignbulksenddocumentmapping_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingResponseCompound: """Test EzsignbulksenddocumentmappingResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksenddocumentmappingResponseCompound` diff --git a/test/test_ezsignbulksendsignermapping_create_object_v1_request.py b/test/test_ezsignbulksendsignermapping_create_object_v1_request.py index eb60c6884..57bb5f734 100644 --- a/test/test_ezsignbulksendsignermapping_create_object_v1_request.py +++ b/test/test_ezsignbulksendsignermapping_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendsignermappingCreateObjectV1Request: """Test EzsignbulksendsignermappingCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendsignermappingCreateObjectV1Request` diff --git a/test/test_ezsignbulksendsignermapping_create_object_v1_response.py b/test/test_ezsignbulksendsignermapping_create_object_v1_response.py index 3f7c385e3..e8d570cf7 100644 --- a/test/test_ezsignbulksendsignermapping_create_object_v1_response.py +++ b/test/test_ezsignbulksendsignermapping_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendsignermappingCreateObjectV1Response: """Test EzsignbulksendsignermappingCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendsignermappingCreateObjectV1Response` diff --git a/test/test_ezsignbulksendsignermapping_create_object_v1_response_m_payload.py b/test/test_ezsignbulksendsignermapping_create_object_v1_response_m_payload.py index b69fadcdd..a0a9f31d5 100644 --- a/test/test_ezsignbulksendsignermapping_create_object_v1_response_m_payload.py +++ b/test/test_ezsignbulksendsignermapping_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendsignermappingCreateObjectV1ResponseMPayload: """Test EzsignbulksendsignermappingCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendsignermappingCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsignbulksendsignermapping_delete_object_v1_response.py b/test/test_ezsignbulksendsignermapping_delete_object_v1_response.py index 5ebe5c19e..e07740c7f 100644 --- a/test/test_ezsignbulksendsignermapping_delete_object_v1_response.py +++ b/test/test_ezsignbulksendsignermapping_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendsignermappingDeleteObjectV1Response: """Test EzsignbulksendsignermappingDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendsignermappingDeleteObjectV1Response` diff --git a/test/test_ezsignbulksendsignermapping_get_object_v2_response.py b/test/test_ezsignbulksendsignermapping_get_object_v2_response.py index 3512bdfdb..299bd7b91 100644 --- a/test/test_ezsignbulksendsignermapping_get_object_v2_response.py +++ b/test/test_ezsignbulksendsignermapping_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendsignermappingGetObjectV2Response: """Test EzsignbulksendsignermappingGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendsignermappingGetObjectV2Response` diff --git a/test/test_ezsignbulksendsignermapping_get_object_v2_response_m_payload.py b/test/test_ezsignbulksendsignermapping_get_object_v2_response_m_payload.py index 3aa40050a..a6b9da225 100644 --- a/test/test_ezsignbulksendsignermapping_get_object_v2_response_m_payload.py +++ b/test/test_ezsignbulksendsignermapping_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendsignermappingGetObjectV2ResponseMPayload: """Test EzsignbulksendsignermappingGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendsignermappingGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignbulksendsignermapping_request.py b/test/test_ezsignbulksendsignermapping_request.py index 16e769623..a4ead253a 100644 --- a/test/test_ezsignbulksendsignermapping_request.py +++ b/test/test_ezsignbulksendsignermapping_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendsignermappingRequest: """Test EzsignbulksendsignermappingRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendsignermappingRequest` diff --git a/test/test_ezsignbulksendsignermapping_request_compound.py b/test/test_ezsignbulksendsignermapping_request_compound.py index 53ec526b6..d6cd2ffb1 100644 --- a/test/test_ezsignbulksendsignermapping_request_compound.py +++ b/test/test_ezsignbulksendsignermapping_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendsignermappingRequestCompound: """Test EzsignbulksendsignermappingRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendsignermappingRequestCompound` diff --git a/test/test_ezsignbulksendsignermapping_response.py b/test/test_ezsignbulksendsignermapping_response.py index 92b7a20e4..1641f9580 100644 --- a/test/test_ezsignbulksendsignermapping_response.py +++ b/test/test_ezsignbulksendsignermapping_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendsignermappingResponse: """Test EzsignbulksendsignermappingResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendsignermappingResponse` diff --git a/test/test_ezsignbulksendsignermapping_response_compound.py b/test/test_ezsignbulksendsignermapping_response_compound.py index de3f5d0c8..da97b6911 100644 --- a/test/test_ezsignbulksendsignermapping_response_compound.py +++ b/test/test_ezsignbulksendsignermapping_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendsignermappingResponseCompound: """Test EzsignbulksendsignermappingResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendsignermappingResponseCompound` diff --git a/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py b/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py index 5d1551463..068a6b9db 100644 --- a/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response: """Test EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response` diff --git a/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.py b/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.py index dabfd2f23..931c1a900 100644 --- a/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.py +++ b/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload: """Test EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload` diff --git a/test/test_ezsignbulksendtransmission_get_forms_data_v1_response.py b/test/test_ezsignbulksendtransmission_get_forms_data_v1_response.py index a4a9c7281..67fefa804 100644 --- a/test/test_ezsignbulksendtransmission_get_forms_data_v1_response.py +++ b/test/test_ezsignbulksendtransmission_get_forms_data_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetFormsDataV1Response: """Test EzsignbulksendtransmissionGetFormsDataV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendtransmissionGetFormsDataV1Response` diff --git a/test/test_ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.py b/test/test_ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.py index 1832337f7..5f5e84613 100644 --- a/test/test_ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.py +++ b/test/test_ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload: """Test EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload` diff --git a/test/test_ezsignbulksendtransmission_get_object_v2_response.py b/test/test_ezsignbulksendtransmission_get_object_v2_response.py index bfaa2a379..6e88cbc70 100644 --- a/test/test_ezsignbulksendtransmission_get_object_v2_response.py +++ b/test/test_ezsignbulksendtransmission_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetObjectV2Response: """Test EzsignbulksendtransmissionGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendtransmissionGetObjectV2Response` diff --git a/test/test_ezsignbulksendtransmission_get_object_v2_response_m_payload.py b/test/test_ezsignbulksendtransmission_get_object_v2_response_m_payload.py index d8978568e..82d848d6e 100644 --- a/test/test_ezsignbulksendtransmission_get_object_v2_response_m_payload.py +++ b/test/test_ezsignbulksendtransmission_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetObjectV2ResponseMPayload: """Test EzsignbulksendtransmissionGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendtransmissionGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignbulksendtransmission_response.py b/test/test_ezsignbulksendtransmission_response.py index df937c849..bdaf6f940 100644 --- a/test/test_ezsignbulksendtransmission_response.py +++ b/test/test_ezsignbulksendtransmission_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendtransmissionResponse: """Test EzsignbulksendtransmissionResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendtransmissionResponse` diff --git a/test/test_ezsignbulksendtransmission_response_compound.py b/test/test_ezsignbulksendtransmission_response_compound.py index edf27e3b2..af1d20336 100644 --- a/test/test_ezsignbulksendtransmission_response_compound.py +++ b/test/test_ezsignbulksendtransmission_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignbulksendtransmissionResponseCompound: """Test EzsignbulksendtransmissionResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignbulksendtransmissionResponseCompound` @@ -63,6 +63,7 @@ def make_instance(self, include_optional) -> EzsignbulksendtransmissionResponseC s_ezsignfolder_description = 'Test eZsign Folder', e_ezsignfolder_step = 'Completed', i_ezsignfolder_signaturetotal = 4, + i_ezsignfolder_formfieldtotal = 4, i_ezsignfolder_signaturesigned = 3, a_obj_ezsignfoldertransmission_signer = [ eZmaxApi.models.custom_ezsignfoldertransmission_signer_response.Custom-EzsignfoldertransmissionSigner-Response( @@ -101,6 +102,7 @@ def make_instance(self, include_optional) -> EzsignbulksendtransmissionResponseC s_ezsignfolder_description = 'Test eZsign Folder', e_ezsignfolder_step = 'Completed', i_ezsignfolder_signaturetotal = 4, + i_ezsignfolder_formfieldtotal = 4, i_ezsignfolder_signaturesigned = 3, a_obj_ezsignfoldertransmission_signer = [ eZmaxApi.models.custom_ezsignfoldertransmission_signer_response.Custom-EzsignfoldertransmissionSigner-Response( diff --git a/test/test_ezsigndiscussion_create_object_v1_request.py b/test/test_ezsigndiscussion_create_object_v1_request.py index 06fd038f7..83bd46188 100644 --- a/test/test_ezsigndiscussion_create_object_v1_request.py +++ b/test/test_ezsigndiscussion_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndiscussionCreateObjectV1Request: """Test EzsigndiscussionCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndiscussionCreateObjectV1Request` diff --git a/test/test_ezsigndiscussion_create_object_v1_response.py b/test/test_ezsigndiscussion_create_object_v1_response.py index 5e62969ed..67543f636 100644 --- a/test/test_ezsigndiscussion_create_object_v1_response.py +++ b/test/test_ezsigndiscussion_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndiscussionCreateObjectV1Response: """Test EzsigndiscussionCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndiscussionCreateObjectV1Response` diff --git a/test/test_ezsigndiscussion_create_object_v1_response_m_payload.py b/test/test_ezsigndiscussion_create_object_v1_response_m_payload.py index 67cb78463..ddb67593a 100644 --- a/test/test_ezsigndiscussion_create_object_v1_response_m_payload.py +++ b/test/test_ezsigndiscussion_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndiscussionCreateObjectV1ResponseMPayload: """Test EzsigndiscussionCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndiscussionCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsigndiscussion_delete_object_v1_response.py b/test/test_ezsigndiscussion_delete_object_v1_response.py index d5c4c4104..58aa6012c 100644 --- a/test/test_ezsigndiscussion_delete_object_v1_response.py +++ b/test/test_ezsigndiscussion_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndiscussionDeleteObjectV1Response: """Test EzsigndiscussionDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndiscussionDeleteObjectV1Response` diff --git a/test/test_ezsigndiscussion_get_object_v2_response.py b/test/test_ezsigndiscussion_get_object_v2_response.py index d10767de1..a0cd28048 100644 --- a/test/test_ezsigndiscussion_get_object_v2_response.py +++ b/test/test_ezsigndiscussion_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndiscussionGetObjectV2Response: """Test EzsigndiscussionGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndiscussionGetObjectV2Response` diff --git a/test/test_ezsigndiscussion_get_object_v2_response_m_payload.py b/test/test_ezsigndiscussion_get_object_v2_response_m_payload.py index 6a1c05b42..97f1232a1 100644 --- a/test/test_ezsigndiscussion_get_object_v2_response_m_payload.py +++ b/test/test_ezsigndiscussion_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndiscussionGetObjectV2ResponseMPayload: """Test EzsigndiscussionGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndiscussionGetObjectV2ResponseMPayload` diff --git a/test/test_ezsigndiscussion_request.py b/test/test_ezsigndiscussion_request.py index 534bb1603..7333447fc 100644 --- a/test/test_ezsigndiscussion_request.py +++ b/test/test_ezsigndiscussion_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndiscussionRequest: """Test EzsigndiscussionRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndiscussionRequest` diff --git a/test/test_ezsigndiscussion_request_compound.py b/test/test_ezsigndiscussion_request_compound.py index aa66d79e2..624fbab29 100644 --- a/test/test_ezsigndiscussion_request_compound.py +++ b/test/test_ezsigndiscussion_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndiscussionRequestCompound: """Test EzsigndiscussionRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndiscussionRequestCompound` diff --git a/test/test_ezsigndiscussion_response.py b/test/test_ezsigndiscussion_response.py index 3f8dba888..d94036818 100644 --- a/test/test_ezsigndiscussion_response.py +++ b/test/test_ezsigndiscussion_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndiscussionResponse: """Test EzsigndiscussionResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndiscussionResponse` diff --git a/test/test_ezsigndiscussion_response_compound.py b/test/test_ezsigndiscussion_response_compound.py index 4f7cbc564..576eee711 100644 --- a/test/test_ezsigndiscussion_response_compound.py +++ b/test/test_ezsigndiscussion_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndiscussionResponseCompound: """Test EzsigndiscussionResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndiscussionResponseCompound` diff --git a/test/test_ezsigndocument_apply_ezsigntemplate_v1_request.py b/test/test_ezsigndocument_apply_ezsigntemplate_v1_request.py index 4247f3315..cc6239914 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplate_v1_request.py +++ b/test/test_ezsigndocument_apply_ezsigntemplate_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplateV1Request: """Test EzsigndocumentApplyEzsigntemplateV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentApplyEzsigntemplateV1Request` diff --git a/test/test_ezsigndocument_apply_ezsigntemplate_v1_response.py b/test/test_ezsigndocument_apply_ezsigntemplate_v1_response.py index 746e5d2a3..f8e145f26 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplate_v1_response.py +++ b/test/test_ezsigndocument_apply_ezsigntemplate_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplateV1Response: """Test EzsigndocumentApplyEzsigntemplateV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentApplyEzsigntemplateV1Response` diff --git a/test/test_ezsigndocument_apply_ezsigntemplate_v2_request.py b/test/test_ezsigndocument_apply_ezsigntemplate_v2_request.py index 91a576456..42dd240f1 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplate_v2_request.py +++ b/test/test_ezsigndocument_apply_ezsigntemplate_v2_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplateV2Request: """Test EzsigndocumentApplyEzsigntemplateV2Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentApplyEzsigntemplateV2Request` diff --git a/test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py b/test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py index 3f19c4b37..96d018d3c 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py +++ b/test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplateV2Response: """Test EzsigndocumentApplyEzsigntemplateV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentApplyEzsigntemplateV2Response` diff --git a/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_request.py b/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_request.py index 2ec5bcd5e..d363ba41a 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_request.py +++ b/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplateglobalV1Request: """Test EzsigndocumentApplyEzsigntemplateglobalV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentApplyEzsigntemplateglobalV1Request` diff --git a/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py b/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py index 1c93ba1e6..8cf1cf2b5 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py +++ b/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplateglobalV1Response: """Test EzsigndocumentApplyEzsigntemplateglobalV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentApplyEzsigntemplateglobalV1Response` diff --git a/test/test_ezsigndocument_create_element_v3_response.py b/test/test_ezsigndocument_create_element_v3_response.py new file mode 100644 index 000000000..25bcf3d7c --- /dev/null +++ b/test/test_ezsigndocument_create_element_v3_response.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_create_element_v3_response import EzsigndocumentCreateElementV3Response + +class TestEzsigndocumentCreateElementV3Response(unittest.TestCase): + """EzsigndocumentCreateElementV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentCreateElementV3Response: + """Test EzsigndocumentCreateElementV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentCreateElementV3Response` + """ + model = EzsigndocumentCreateElementV3Response() + if include_optional: + return EzsigndocumentCreateElementV3Response( + pki_ezsigndocument_id = 97, + a_obj_matchingtemplate = [ + eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response.ezsigndocument-matchingtemplate-v3-Response( + pki_ezsigntemplate_id = 36, + pki_ezsigntemplateglobal_id = 36, ) + ] + ) + else: + return EzsigndocumentCreateElementV3Response( + pki_ezsigndocument_id = 97, + a_obj_matchingtemplate = [ + eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response.ezsigndocument-matchingtemplate-v3-Response( + pki_ezsigntemplate_id = 36, + pki_ezsigntemplateglobal_id = 36, ) + ], + ) + """ + + def testEzsigndocumentCreateElementV3Response(self): + """Test EzsigndocumentCreateElementV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.py b/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.py index 97838a3a5..248fe5da4 100644 --- a/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.py +++ b/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentCreateEzsignelementsPositionedByWordV1Request: """Test EzsigndocumentCreateEzsignelementsPositionedByWordV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentCreateEzsignelementsPositionedByWordV1Request` diff --git a/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py b/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py index 6a579c987..01383ca4d 100644 --- a/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py +++ b/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentCreateEzsignelementsPositionedByWordV1Response: """Test EzsigndocumentCreateEzsignelementsPositionedByWordV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentCreateEzsignelementsPositionedByWordV1Response` diff --git a/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload.py b/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload.py index bd4daa690..e67a2426e 100644 --- a/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload.py +++ b/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload: """Test EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload` diff --git a/test/test_ezsigndocument_create_object_v1_request.py b/test/test_ezsigndocument_create_object_v1_request.py index 1b920bbe3..cb9dbd701 100644 --- a/test/test_ezsigndocument_create_object_v1_request.py +++ b/test/test_ezsigndocument_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV1Request: """Test EzsigndocumentCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentCreateObjectV1Request` @@ -44,7 +44,7 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV1Request fki_language_id = 2, e_ezsigndocument_source = 'Base64', e_ezsigndocument_format = 'Pdf', - s_ezsigndocument_base64 = '[B@172ca72b', + s_ezsigndocument_base64 = '[B@a77614d', s_ezsigndocument_url = 'http://www.example.com/document.pdf', b_ezsigndocument_forcerepair = True, s_ezsigndocument_password = 'SecretPassword123', diff --git a/test/test_ezsigndocument_create_object_v1_response.py b/test/test_ezsigndocument_create_object_v1_response.py index fe135358e..d2266ef1a 100644 --- a/test/test_ezsigndocument_create_object_v1_response.py +++ b/test/test_ezsigndocument_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV1Response: """Test EzsigndocumentCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentCreateObjectV1Response` diff --git a/test/test_ezsigndocument_create_object_v1_response_m_payload.py b/test/test_ezsigndocument_create_object_v1_response_m_payload.py index b4ffb66ad..ea9de0c84 100644 --- a/test/test_ezsigndocument_create_object_v1_response_m_payload.py +++ b/test/test_ezsigndocument_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV1ResponseMPayload: """Test EzsigndocumentCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsigndocument_create_object_v2_request.py b/test/test_ezsigndocument_create_object_v2_request.py index a9131322a..824f99b07 100644 --- a/test/test_ezsigndocument_create_object_v2_request.py +++ b/test/test_ezsigndocument_create_object_v2_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV2Request: """Test EzsigndocumentCreateObjectV2Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentCreateObjectV2Request` diff --git a/test/test_ezsigndocument_create_object_v2_response.py b/test/test_ezsigndocument_create_object_v2_response.py index dff4a01e0..96ca4c94c 100644 --- a/test/test_ezsigndocument_create_object_v2_response.py +++ b/test/test_ezsigndocument_create_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV2Response: """Test EzsigndocumentCreateObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentCreateObjectV2Response` diff --git a/test/test_ezsigndocument_create_object_v2_response_m_payload.py b/test/test_ezsigndocument_create_object_v2_response_m_payload.py index cb7daeec2..f9d1bf95c 100644 --- a/test/test_ezsigndocument_create_object_v2_response_m_payload.py +++ b/test/test_ezsigndocument_create_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV2ResponseMPayload: """Test EzsigndocumentCreateObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentCreateObjectV2ResponseMPayload` diff --git a/test/test_ezsigndocument_create_object_v3_request.py b/test/test_ezsigndocument_create_object_v3_request.py new file mode 100644 index 000000000..3912980ce --- /dev/null +++ b/test/test_ezsigndocument_create_object_v3_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_create_object_v3_request import EzsigndocumentCreateObjectV3Request + +class TestEzsigndocumentCreateObjectV3Request(unittest.TestCase): + """EzsigndocumentCreateObjectV3Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV3Request: + """Test EzsigndocumentCreateObjectV3Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentCreateObjectV3Request` + """ + model = EzsigndocumentCreateObjectV3Request() + if include_optional: + return EzsigndocumentCreateObjectV3Request( + a_obj_ezsigndocument = [ + eZmaxApi.models.ezsigndocument_request_compound.ezsigndocument-RequestCompound() + ] + ) + else: + return EzsigndocumentCreateObjectV3Request( + a_obj_ezsigndocument = [ + eZmaxApi.models.ezsigndocument_request_compound.ezsigndocument-RequestCompound() + ], + ) + """ + + def testEzsigndocumentCreateObjectV3Request(self): + """Test EzsigndocumentCreateObjectV3Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_create_object_v3_response.py b/test/test_ezsigndocument_create_object_v3_response.py new file mode 100644 index 000000000..3488da668 --- /dev/null +++ b/test/test_ezsigndocument_create_object_v3_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_create_object_v3_response import EzsigndocumentCreateObjectV3Response + +class TestEzsigndocumentCreateObjectV3Response(unittest.TestCase): + """EzsigndocumentCreateObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV3Response: + """Test EzsigndocumentCreateObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentCreateObjectV3Response` + """ + model = EzsigndocumentCreateObjectV3Response() + if include_optional: + return EzsigndocumentCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigndocument_create_object_v3_response_m_payload.ezsigndocument-createObject-v3-Response-mPayload( + a_obj_ezsigndocument = [ + eZmaxApi.models.ezsigndocument_create_element_v3_response.ezsigndocument-createElement-v3-Response( + pki_ezsigndocument_id = 97, + a_obj_matchingtemplate = [ + eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response.ezsigndocument-matchingtemplate-v3-Response( + pki_ezsigntemplate_id = 36, + pki_ezsigntemplateglobal_id = 36, ) + ], ) + ], ) + ) + else: + return EzsigndocumentCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigndocument_create_object_v3_response_m_payload.ezsigndocument-createObject-v3-Response-mPayload( + a_obj_ezsigndocument = [ + eZmaxApi.models.ezsigndocument_create_element_v3_response.ezsigndocument-createElement-v3-Response( + pki_ezsigndocument_id = 97, + a_obj_matchingtemplate = [ + eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response.ezsigndocument-matchingtemplate-v3-Response( + pki_ezsigntemplate_id = 36, + pki_ezsigntemplateglobal_id = 36, ) + ], ) + ], ), + ) + """ + + def testEzsigndocumentCreateObjectV3Response(self): + """Test EzsigndocumentCreateObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_create_object_v3_response_m_payload.py b/test/test_ezsigndocument_create_object_v3_response_m_payload.py new file mode 100644 index 000000000..35adf9cb0 --- /dev/null +++ b/test/test_ezsigndocument_create_object_v3_response_m_payload.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_create_object_v3_response_m_payload import EzsigndocumentCreateObjectV3ResponseMPayload + +class TestEzsigndocumentCreateObjectV3ResponseMPayload(unittest.TestCase): + """EzsigndocumentCreateObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV3ResponseMPayload: + """Test EzsigndocumentCreateObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentCreateObjectV3ResponseMPayload` + """ + model = EzsigndocumentCreateObjectV3ResponseMPayload() + if include_optional: + return EzsigndocumentCreateObjectV3ResponseMPayload( + a_obj_ezsigndocument = [ + eZmaxApi.models.ezsigndocument_create_element_v3_response.ezsigndocument-createElement-v3-Response( + pki_ezsigndocument_id = 97, + a_obj_matchingtemplate = [ + eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response.ezsigndocument-matchingtemplate-v3-Response( + pki_ezsigntemplate_id = 36, + pki_ezsigntemplateglobal_id = 36, ) + ], ) + ] + ) + else: + return EzsigndocumentCreateObjectV3ResponseMPayload( + a_obj_ezsigndocument = [ + eZmaxApi.models.ezsigndocument_create_element_v3_response.ezsigndocument-createElement-v3-Response( + pki_ezsigndocument_id = 97, + a_obj_matchingtemplate = [ + eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response.ezsigndocument-matchingtemplate-v3-Response( + pki_ezsigntemplate_id = 36, + pki_ezsigntemplateglobal_id = 36, ) + ], ) + ], + ) + """ + + def testEzsigndocumentCreateObjectV3ResponseMPayload(self): + """Test EzsigndocumentCreateObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_decline_to_sign_v1_request.py b/test/test_ezsigndocument_decline_to_sign_v1_request.py index 70a00bc69..eb0a2b3f9 100644 --- a/test/test_ezsigndocument_decline_to_sign_v1_request.py +++ b/test/test_ezsigndocument_decline_to_sign_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentDeclineToSignV1Request: """Test EzsigndocumentDeclineToSignV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentDeclineToSignV1Request` diff --git a/test/test_ezsigndocument_decline_to_sign_v1_response.py b/test/test_ezsigndocument_decline_to_sign_v1_response.py index 317e49a34..2d4fce6e3 100644 --- a/test/test_ezsigndocument_decline_to_sign_v1_response.py +++ b/test/test_ezsigndocument_decline_to_sign_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentDeclineToSignV1Response: """Test EzsigndocumentDeclineToSignV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentDeclineToSignV1Response` diff --git a/test/test_ezsigndocument_delete_object_v1_response.py b/test/test_ezsigndocument_delete_object_v1_response.py index 2bc1ffd29..bcf53bf42 100644 --- a/test/test_ezsigndocument_delete_object_v1_response.py +++ b/test/test_ezsigndocument_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentDeleteObjectV1Response: """Test EzsigndocumentDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentDeleteObjectV1Response` diff --git a/test/test_ezsigndocument_edit_ezsignannotations_v1_request.py b/test/test_ezsigndocument_edit_ezsignannotations_v1_request.py new file mode 100644 index 000000000..792b8febb --- /dev/null +++ b/test/test_ezsigndocument_edit_ezsignannotations_v1_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_request import EzsigndocumentEditEzsignannotationsV1Request + +class TestEzsigndocumentEditEzsignannotationsV1Request(unittest.TestCase): + """EzsigndocumentEditEzsignannotationsV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentEditEzsignannotationsV1Request: + """Test EzsigndocumentEditEzsignannotationsV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentEditEzsignannotationsV1Request` + """ + model = EzsigndocumentEditEzsignannotationsV1Request() + if include_optional: + return EzsigndocumentEditEzsignannotationsV1Request( + a_obj_ezsignannotation = [ + eZmaxApi.models.ezsignannotation_request_compound.ezsignannotation-RequestCompound() + ] + ) + else: + return EzsigndocumentEditEzsignannotationsV1Request( + a_obj_ezsignannotation = [ + eZmaxApi.models.ezsignannotation_request_compound.ezsignannotation-RequestCompound() + ], + ) + """ + + def testEzsigndocumentEditEzsignannotationsV1Request(self): + """Test EzsigndocumentEditEzsignannotationsV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_edit_ezsignannotations_v1_response.py b/test/test_ezsigndocument_edit_ezsignannotations_v1_response.py new file mode 100644 index 000000000..4d1838221 --- /dev/null +++ b/test/test_ezsigndocument_edit_ezsignannotations_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response import EzsigndocumentEditEzsignannotationsV1Response + +class TestEzsigndocumentEditEzsignannotationsV1Response(unittest.TestCase): + """EzsigndocumentEditEzsignannotationsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentEditEzsignannotationsV1Response: + """Test EzsigndocumentEditEzsignannotationsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentEditEzsignannotationsV1Response` + """ + model = EzsigndocumentEditEzsignannotationsV1Response() + if include_optional: + return EzsigndocumentEditEzsignannotationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response_m_payload.ezsigndocument-editEzsignannotations-v1-Response-mPayload( + a_pki_ezsignannotation_id = [ + 113 + ], ) + ) + else: + return EzsigndocumentEditEzsignannotationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response_m_payload.ezsigndocument-editEzsignannotations-v1-Response-mPayload( + a_pki_ezsignannotation_id = [ + 113 + ], ), + ) + """ + + def testEzsigndocumentEditEzsignannotationsV1Response(self): + """Test EzsigndocumentEditEzsignannotationsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_edit_ezsignannotations_v1_response_m_payload.py b/test/test_ezsigndocument_edit_ezsignannotations_v1_response_m_payload.py new file mode 100644 index 000000000..1e0c63c13 --- /dev/null +++ b/test/test_ezsigndocument_edit_ezsignannotations_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response_m_payload import EzsigndocumentEditEzsignannotationsV1ResponseMPayload + +class TestEzsigndocumentEditEzsignannotationsV1ResponseMPayload(unittest.TestCase): + """EzsigndocumentEditEzsignannotationsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentEditEzsignannotationsV1ResponseMPayload: + """Test EzsigndocumentEditEzsignannotationsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentEditEzsignannotationsV1ResponseMPayload` + """ + model = EzsigndocumentEditEzsignannotationsV1ResponseMPayload() + if include_optional: + return EzsigndocumentEditEzsignannotationsV1ResponseMPayload( + a_pki_ezsignannotation_id = [ + 113 + ] + ) + else: + return EzsigndocumentEditEzsignannotationsV1ResponseMPayload( + a_pki_ezsignannotation_id = [ + 113 + ], + ) + """ + + def testEzsigndocumentEditEzsignannotationsV1ResponseMPayload(self): + """Test EzsigndocumentEditEzsignannotationsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_request.py b/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_request.py index c4af991fc..3839fd5ca 100644 --- a/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_request.py +++ b/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentEditEzsignformfieldgroupsV1Request: """Test EzsigndocumentEditEzsignformfieldgroupsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentEditEzsignformfieldgroupsV1Request` diff --git a/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py b/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py index 9ad7e36fb..6a75aacd6 100644 --- a/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py +++ b/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentEditEzsignformfieldgroupsV1Response: """Test EzsigndocumentEditEzsignformfieldgroupsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentEditEzsignformfieldgroupsV1Response` diff --git a/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload.py b/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload.py index 06f51af4e..da049846b 100644 --- a/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload.py +++ b/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload: """Test EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload` diff --git a/test/test_ezsigndocument_edit_ezsignsignatures_v1_request.py b/test/test_ezsigndocument_edit_ezsignsignatures_v1_request.py index c88e02b0b..073603eca 100644 --- a/test/test_ezsigndocument_edit_ezsignsignatures_v1_request.py +++ b/test/test_ezsigndocument_edit_ezsignsignatures_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentEditEzsignsignaturesV1Request: """Test EzsigndocumentEditEzsignsignaturesV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentEditEzsignsignaturesV1Request` diff --git a/test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py b/test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py index 3c17f5186..ec840d8ed 100644 --- a/test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py +++ b/test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentEditEzsignsignaturesV1Response: """Test EzsigndocumentEditEzsignsignaturesV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentEditEzsignsignaturesV1Response` diff --git a/test/test_ezsigndocument_edit_ezsignsignatures_v1_response_m_payload.py b/test/test_ezsigndocument_edit_ezsignsignatures_v1_response_m_payload.py index be0aa64ba..894541cef 100644 --- a/test/test_ezsigndocument_edit_ezsignsignatures_v1_response_m_payload.py +++ b/test/test_ezsigndocument_edit_ezsignsignatures_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentEditEzsignsignaturesV1ResponseMPayload: """Test EzsigndocumentEditEzsignsignaturesV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentEditEzsignsignaturesV1ResponseMPayload` diff --git a/test/test_ezsigndocument_edit_object_v1_request.py b/test/test_ezsigndocument_edit_object_v1_request.py new file mode 100644 index 000000000..82b42723d --- /dev/null +++ b/test/test_ezsigndocument_edit_object_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_edit_object_v1_request import EzsigndocumentEditObjectV1Request + +class TestEzsigndocumentEditObjectV1Request(unittest.TestCase): + """EzsigndocumentEditObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentEditObjectV1Request: + """Test EzsigndocumentEditObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentEditObjectV1Request` + """ + model = EzsigndocumentEditObjectV1Request() + if include_optional: + return EzsigndocumentEditObjectV1Request( + obj_ezsigndocument = eZmaxApi.models.ezsigndocument_request_compound.ezsigndocument-RequestCompound() + ) + else: + return EzsigndocumentEditObjectV1Request( + obj_ezsigndocument = eZmaxApi.models.ezsigndocument_request_compound.ezsigndocument-RequestCompound(), + ) + """ + + def testEzsigndocumentEditObjectV1Request(self): + """Test EzsigndocumentEditObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_edit_object_v1_response.py b/test/test_ezsigndocument_edit_object_v1_response.py new file mode 100644 index 000000000..e0548db27 --- /dev/null +++ b/test/test_ezsigndocument_edit_object_v1_response.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_edit_object_v1_response import EzsigndocumentEditObjectV1Response + +class TestEzsigndocumentEditObjectV1Response(unittest.TestCase): + """EzsigndocumentEditObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentEditObjectV1Response: + """Test EzsigndocumentEditObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentEditObjectV1Response` + """ + model = EzsigndocumentEditObjectV1Response() + if include_optional: + return EzsigndocumentEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + a_obj_warning = [ + eZmaxApi.models.common_response_warning.Common-Response-Warning( + s_warning_message = '', + e_warning_code = '', ) + ] + ) + else: + return EzsigndocumentEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsigndocumentEditObjectV1Response(self): + """Test EzsigndocumentEditObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_end_prematurely_v1_response.py b/test/test_ezsigndocument_end_prematurely_v1_response.py index 1fefa13a6..86f7837d7 100644 --- a/test/test_ezsigndocument_end_prematurely_v1_response.py +++ b/test/test_ezsigndocument_end_prematurely_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentEndPrematurelyV1Response: """Test EzsigndocumentEndPrematurelyV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentEndPrematurelyV1Response` diff --git a/test/test_ezsigndocument_extract_text_v1_request.py b/test/test_ezsigndocument_extract_text_v1_request.py new file mode 100644 index 000000000..190ba7650 --- /dev/null +++ b/test/test_ezsigndocument_extract_text_v1_request.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_extract_text_v1_request import EzsigndocumentExtractTextV1Request + +class TestEzsigndocumentExtractTextV1Request(unittest.TestCase): + """EzsigndocumentExtractTextV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentExtractTextV1Request: + """Test EzsigndocumentExtractTextV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentExtractTextV1Request` + """ + model = EzsigndocumentExtractTextV1Request() + if include_optional: + return EzsigndocumentExtractTextV1Request( + i_page = 1, + e_section = 'Region', + i_x = 1, + i_y = 1, + i_width = 1, + i_height = 1 + ) + else: + return EzsigndocumentExtractTextV1Request( + i_page = 1, + ) + """ + + def testEzsigndocumentExtractTextV1Request(self): + """Test EzsigndocumentExtractTextV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_extract_text_v1_response.py b/test/test_ezsigndocument_extract_text_v1_response.py new file mode 100644 index 000000000..2f2668a07 --- /dev/null +++ b/test/test_ezsigndocument_extract_text_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_extract_text_v1_response import EzsigndocumentExtractTextV1Response + +class TestEzsigndocumentExtractTextV1Response(unittest.TestCase): + """EzsigndocumentExtractTextV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentExtractTextV1Response: + """Test EzsigndocumentExtractTextV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentExtractTextV1Response` + """ + model = EzsigndocumentExtractTextV1Response() + if include_optional: + return EzsigndocumentExtractTextV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigndocument_extract_text_v1_response_m_payload.ezsigndocument-extractText-v1-Response-mPayload( + s_text = 'Text extract from document', ) + ) + else: + return EzsigndocumentExtractTextV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigndocument_extract_text_v1_response_m_payload.ezsigndocument-extractText-v1-Response-mPayload( + s_text = 'Text extract from document', ), + ) + """ + + def testEzsigndocumentExtractTextV1Response(self): + """Test EzsigndocumentExtractTextV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_extract_text_v1_response_m_payload.py b/test/test_ezsigndocument_extract_text_v1_response_m_payload.py new file mode 100644 index 000000000..943272270 --- /dev/null +++ b/test/test_ezsigndocument_extract_text_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_extract_text_v1_response_m_payload import EzsigndocumentExtractTextV1ResponseMPayload + +class TestEzsigndocumentExtractTextV1ResponseMPayload(unittest.TestCase): + """EzsigndocumentExtractTextV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentExtractTextV1ResponseMPayload: + """Test EzsigndocumentExtractTextV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentExtractTextV1ResponseMPayload` + """ + model = EzsigndocumentExtractTextV1ResponseMPayload() + if include_optional: + return EzsigndocumentExtractTextV1ResponseMPayload( + s_text = 'Text extract from document' + ) + else: + return EzsigndocumentExtractTextV1ResponseMPayload( + s_text = 'Text extract from document', + ) + """ + + def testEzsigndocumentExtractTextV1ResponseMPayload(self): + """Test EzsigndocumentExtractTextV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_flatten_v1_response.py b/test/test_ezsigndocument_flatten_v1_response.py index 7d0cac768..4d6c29edb 100644 --- a/test/test_ezsigndocument_flatten_v1_response.py +++ b/test/test_ezsigndocument_flatten_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentFlattenV1Response: """Test EzsigndocumentFlattenV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentFlattenV1Response` diff --git a/test/test_ezsigndocument_get_actionable_elements_v1_response.py b/test/test_ezsigndocument_get_actionable_elements_v1_response.py index e33a4de72..ab5c02ea3 100644 --- a/test/test_ezsigndocument_get_actionable_elements_v1_response.py +++ b/test/test_ezsigndocument_get_actionable_elements_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetActionableElementsV1Response: """Test EzsigndocumentGetActionableElementsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetActionableElementsV1Response` diff --git a/test/test_ezsigndocument_get_actionable_elements_v1_response_m_payload.py b/test/test_ezsigndocument_get_actionable_elements_v1_response_m_payload.py index d996288cc..70f3c89d7 100644 --- a/test/test_ezsigndocument_get_actionable_elements_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_actionable_elements_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetActionableElementsV1ResponseMPayload: """Test EzsigndocumentGetActionableElementsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetActionableElementsV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_attachments_v1_response.py b/test/test_ezsigndocument_get_attachments_v1_response.py index 295b57e26..27a85d340 100644 --- a/test/test_ezsigndocument_get_attachments_v1_response.py +++ b/test/test_ezsigndocument_get_attachments_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetAttachmentsV1Response: """Test EzsigndocumentGetAttachmentsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetAttachmentsV1Response` diff --git a/test/test_ezsigndocument_get_attachments_v1_response_m_payload.py b/test/test_ezsigndocument_get_attachments_v1_response_m_payload.py index 12173f57e..b43ca69ac 100644 --- a/test/test_ezsigndocument_get_attachments_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_attachments_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetAttachmentsV1ResponseMPayload: """Test EzsigndocumentGetAttachmentsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetAttachmentsV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_completed_elements_v1_response.py b/test/test_ezsigndocument_get_completed_elements_v1_response.py index dfd1b39fe..9c5d69b74 100644 --- a/test/test_ezsigndocument_get_completed_elements_v1_response.py +++ b/test/test_ezsigndocument_get_completed_elements_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetCompletedElementsV1Response: """Test EzsigndocumentGetCompletedElementsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetCompletedElementsV1Response` diff --git a/test/test_ezsigndocument_get_completed_elements_v1_response_m_payload.py b/test/test_ezsigndocument_get_completed_elements_v1_response_m_payload.py index d0296ced7..9aa4faf5c 100644 --- a/test/test_ezsigndocument_get_completed_elements_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_completed_elements_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetCompletedElementsV1ResponseMPayload: """Test EzsigndocumentGetCompletedElementsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetCompletedElementsV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_download_url_v1_response.py b/test/test_ezsigndocument_get_download_url_v1_response.py index 4cb46532a..a98343f1e 100644 --- a/test/test_ezsigndocument_get_download_url_v1_response.py +++ b/test/test_ezsigndocument_get_download_url_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetDownloadUrlV1Response: """Test EzsigndocumentGetDownloadUrlV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetDownloadUrlV1Response` diff --git a/test/test_ezsigndocument_get_download_url_v1_response_m_payload.py b/test/test_ezsigndocument_get_download_url_v1_response_m_payload.py index 10129c4f4..b08d96d56 100644 --- a/test/test_ezsigndocument_get_download_url_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_download_url_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetDownloadUrlV1ResponseMPayload: """Test EzsigndocumentGetDownloadUrlV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetDownloadUrlV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_ezsignannotations_v1_response.py b/test/test_ezsigndocument_get_ezsignannotations_v1_response.py index 0a1ce387e..d9c24a174 100644 --- a/test/test_ezsigndocument_get_ezsignannotations_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignannotations_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsignannotationsV1Response: """Test EzsigndocumentGetEzsignannotationsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsignannotationsV1Response` diff --git a/test/test_ezsigndocument_get_ezsignannotations_v1_response_m_payload.py b/test/test_ezsigndocument_get_ezsignannotations_v1_response_m_payload.py index ec09c4640..4506d7ca7 100644 --- a/test/test_ezsigndocument_get_ezsignannotations_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_ezsignannotations_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsignannotationsV1ResponseMPayload: """Test EzsigndocumentGetEzsignannotationsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsignannotationsV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_ezsigndiscussions_v1_response.py b/test/test_ezsigndocument_get_ezsigndiscussions_v1_response.py index 13f553967..ae4976137 100644 --- a/test/test_ezsigndocument_get_ezsigndiscussions_v1_response.py +++ b/test/test_ezsigndocument_get_ezsigndiscussions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsigndiscussionsV1Response: """Test EzsigndocumentGetEzsigndiscussionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsigndiscussionsV1Response` diff --git a/test/test_ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.py b/test/test_ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.py index 0e70f2a76..ea4d0c6ab 100644 --- a/test/test_ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload: """Test EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response.py b/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response.py index 208c41c8d..3023eaea0 100644 --- a/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsignformfieldgroupsV1Response: """Test EzsigndocumentGetEzsignformfieldgroupsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsignformfieldgroupsV1Response` diff --git a/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.py b/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.py index 0dec5ddd6..b6b3a70c5 100644 --- a/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload: """Test EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_ezsignpages_v1_response.py b/test/test_ezsigndocument_get_ezsignpages_v1_response.py index 96076df37..9ddda470a 100644 --- a/test/test_ezsigndocument_get_ezsignpages_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignpages_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsignpagesV1Response: """Test EzsigndocumentGetEzsignpagesV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsignpagesV1Response` diff --git a/test/test_ezsigndocument_get_ezsignpages_v1_response_m_payload.py b/test/test_ezsigndocument_get_ezsignpages_v1_response_m_payload.py index 102880bf1..0c487dcf5 100644 --- a/test/test_ezsigndocument_get_ezsignpages_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_ezsignpages_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsignpagesV1ResponseMPayload: """Test EzsigndocumentGetEzsignpagesV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsignpagesV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response.py b/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response.py index 34ba80d01..941f62860 100644 --- a/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsignsignaturesAutomaticV1Response: """Test EzsigndocumentGetEzsignsignaturesAutomaticV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsignsignaturesAutomaticV1Response` diff --git a/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.py b/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.py index 6e0804e79..5c4235ae1 100644 --- a/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload: """Test EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_ezsignsignatures_v1_response.py b/test/test_ezsigndocument_get_ezsignsignatures_v1_response.py index dc798050f..a5a756bc3 100644 --- a/test/test_ezsigndocument_get_ezsignsignatures_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignsignatures_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsignsignaturesV1Response: """Test EzsigndocumentGetEzsignsignaturesV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsignsignaturesV1Response` diff --git a/test/test_ezsigndocument_get_ezsignsignatures_v1_response_m_payload.py b/test/test_ezsigndocument_get_ezsignsignatures_v1_response_m_payload.py index f9c00e3a6..3e23b11fe 100644 --- a/test/test_ezsigndocument_get_ezsignsignatures_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_ezsignsignatures_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetEzsignsignaturesV1ResponseMPayload: """Test EzsigndocumentGetEzsignsignaturesV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetEzsignsignaturesV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_form_data_v1_response.py b/test/test_ezsigndocument_get_form_data_v1_response.py index 4e7538ea3..1bc6504e3 100644 --- a/test/test_ezsigndocument_get_form_data_v1_response.py +++ b/test/test_ezsigndocument_get_form_data_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetFormDataV1Response: """Test EzsigndocumentGetFormDataV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetFormDataV1Response` diff --git a/test/test_ezsigndocument_get_form_data_v1_response_m_payload.py b/test/test_ezsigndocument_get_form_data_v1_response_m_payload.py index 85c6eaa73..0b3ff53aa 100644 --- a/test/test_ezsigndocument_get_form_data_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_form_data_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetFormDataV1ResponseMPayload: """Test EzsigndocumentGetFormDataV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetFormDataV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_object_v1_response.py b/test/test_ezsigndocument_get_object_v1_response.py index 2acfad570..8b3405f3b 100644 --- a/test/test_ezsigndocument_get_object_v1_response.py +++ b/test/test_ezsigndocument_get_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetObjectV1Response: """Test EzsigndocumentGetObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetObjectV1Response` diff --git a/test/test_ezsigndocument_get_object_v1_response_m_payload.py b/test/test_ezsigndocument_get_object_v1_response_m_payload.py index 4e95501ef..11c44431d 100644 --- a/test/test_ezsigndocument_get_object_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetObjectV1ResponseMPayload: """Test EzsigndocumentGetObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetObjectV1ResponseMPayload` @@ -50,6 +50,7 @@ def make_instance(self, include_optional) -> EzsigndocumentGetObjectV1ResponseMP i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, s_ezsigndocument_md5initial = '012345678901234567890123456789AB', t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', s_ezsigndocument_md5signed = '012345678901234567890123456789AB', @@ -91,8 +92,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetObjectV1ResponseMP e_ezsignsignaturestatus_steptype = 'Form', i_ezsignsignaturestatus_step = 1, i_ezsignsignaturestatus_total = 2, - i_ezsignsignaturestatus_signed = 1, ) + i_ezsignsignaturestatus_signed = 1, + i_ezsignsignaturestatus_conditional = 1, ) ], ) + ], + a_obj_ezsigndocumentdependency = [ + eZmaxApi.models.ezsigndocumentdependency_response.ezsigndocumentdependency-Response( + pki_ezsigndocumentdependency_id = 87, + fki_ezsigndocument_i_ddependency = 97, ) ] ) else: @@ -106,6 +113,7 @@ def make_instance(self, include_optional) -> EzsigndocumentGetObjectV1ResponseMP i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, i_ezsigndocument_ezsignsignatureattachmenttotal = 3, i_ezsigndocument_ezsigndiscussiontotal = 14, e_ezsigndocument_steptype = 'Sign', @@ -124,7 +132,8 @@ def make_instance(self, include_optional) -> EzsigndocumentGetObjectV1ResponseMP e_ezsignsignaturestatus_steptype = 'Form', i_ezsignsignaturestatus_step = 1, i_ezsignsignaturestatus_total = 2, - i_ezsignsignaturestatus_signed = 1, ) + i_ezsignsignaturestatus_signed = 1, + i_ezsignsignaturestatus_conditional = 1, ) ], ) ], ) diff --git a/test/test_ezsigndocument_get_object_v2_response.py b/test/test_ezsigndocument_get_object_v2_response.py index 702c70bd2..099ec49c8 100644 --- a/test/test_ezsigndocument_get_object_v2_response.py +++ b/test/test_ezsigndocument_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetObjectV2Response: """Test EzsigndocumentGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetObjectV2Response` diff --git a/test/test_ezsigndocument_get_object_v2_response_m_payload.py b/test/test_ezsigndocument_get_object_v2_response_m_payload.py index a0ffa9c5b..0feb445bd 100644 --- a/test/test_ezsigndocument_get_object_v2_response_m_payload.py +++ b/test/test_ezsigndocument_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetObjectV2ResponseMPayload: """Test EzsigndocumentGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetObjectV2ResponseMPayload` diff --git a/test/test_ezsigndocument_get_temporary_proof_v1_response.py b/test/test_ezsigndocument_get_temporary_proof_v1_response.py index e2dfbeaa3..2db4e97c9 100644 --- a/test/test_ezsigndocument_get_temporary_proof_v1_response.py +++ b/test/test_ezsigndocument_get_temporary_proof_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetTemporaryProofV1Response: """Test EzsigndocumentGetTemporaryProofV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetTemporaryProofV1Response` diff --git a/test/test_ezsigndocument_get_temporary_proof_v1_response_m_payload.py b/test/test_ezsigndocument_get_temporary_proof_v1_response_m_payload.py index f74c0747b..4198569dd 100644 --- a/test/test_ezsigndocument_get_temporary_proof_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_temporary_proof_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetTemporaryProofV1ResponseMPayload: """Test EzsigndocumentGetTemporaryProofV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetTemporaryProofV1ResponseMPayload` diff --git a/test/test_ezsigndocument_get_words_positions_v1_request.py b/test/test_ezsigndocument_get_words_positions_v1_request.py index 07dea7a8e..697a040d5 100644 --- a/test/test_ezsigndocument_get_words_positions_v1_request.py +++ b/test/test_ezsigndocument_get_words_positions_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetWordsPositionsV1Request: """Test EzsigndocumentGetWordsPositionsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetWordsPositionsV1Request` diff --git a/test/test_ezsigndocument_get_words_positions_v1_response.py b/test/test_ezsigndocument_get_words_positions_v1_response.py index 99ca7c3eb..71f73eb3b 100644 --- a/test/test_ezsigndocument_get_words_positions_v1_response.py +++ b/test/test_ezsigndocument_get_words_positions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentGetWordsPositionsV1Response: """Test EzsigndocumentGetWordsPositionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentGetWordsPositionsV1Response` diff --git a/test/test_ezsigndocument_matchingtemplate_v3_response.py b/test/test_ezsigndocument_matchingtemplate_v3_response.py new file mode 100644 index 000000000..9ad073bed --- /dev/null +++ b/test/test_ezsigndocument_matchingtemplate_v3_response.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocument_matchingtemplate_v3_response import EzsigndocumentMatchingtemplateV3Response + +class TestEzsigndocumentMatchingtemplateV3Response(unittest.TestCase): + """EzsigndocumentMatchingtemplateV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentMatchingtemplateV3Response: + """Test EzsigndocumentMatchingtemplateV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentMatchingtemplateV3Response` + """ + model = EzsigndocumentMatchingtemplateV3Response() + if include_optional: + return EzsigndocumentMatchingtemplateV3Response( + pki_ezsigntemplate_id = 36, + pki_ezsigntemplateglobal_id = 36 + ) + else: + return EzsigndocumentMatchingtemplateV3Response( + ) + """ + + def testEzsigndocumentMatchingtemplateV3Response(self): + """Test EzsigndocumentMatchingtemplateV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocument_patch_object_v1_request.py b/test/test_ezsigndocument_patch_object_v1_request.py index 73639f20a..abcf90bc2 100644 --- a/test/test_ezsigndocument_patch_object_v1_request.py +++ b/test/test_ezsigndocument_patch_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentPatchObjectV1Request: """Test EzsigndocumentPatchObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentPatchObjectV1Request` diff --git a/test/test_ezsigndocument_patch_object_v1_response.py b/test/test_ezsigndocument_patch_object_v1_response.py index 60344c6e4..a1b6bb7bb 100644 --- a/test/test_ezsigndocument_patch_object_v1_response.py +++ b/test/test_ezsigndocument_patch_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentPatchObjectV1Response: """Test EzsigndocumentPatchObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentPatchObjectV1Response` diff --git a/test/test_ezsigndocument_request.py b/test/test_ezsigndocument_request.py index b0f1cecad..2a450fd05 100644 --- a/test/test_ezsigndocument_request.py +++ b/test/test_ezsigndocument_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentRequest: """Test EzsigndocumentRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentRequest` @@ -43,7 +43,7 @@ def make_instance(self, include_optional) -> EzsigndocumentRequest: fki_language_id = 2, e_ezsigndocument_source = 'Base64', e_ezsigndocument_format = 'Pdf', - s_ezsigndocument_base64 = '[B@172ca72b', + s_ezsigndocument_base64 = '[B@a77614d', s_ezsigndocument_url = 'http://www.example.com/document.pdf', b_ezsigndocument_forcerepair = True, s_ezsigndocument_password = 'SecretPassword123', diff --git a/test/test_ezsigndocument_request_compound.py b/test/test_ezsigndocument_request_compound.py index 33308e442..3617d5573 100644 --- a/test/test_ezsigndocument_request_compound.py +++ b/test/test_ezsigndocument_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentRequestCompound: """Test EzsigndocumentRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentRequestCompound` diff --git a/test/test_ezsigndocument_request_patch.py b/test/test_ezsigndocument_request_patch.py index 16e4c5749..bb3917edc 100644 --- a/test/test_ezsigndocument_request_patch.py +++ b/test/test_ezsigndocument_request_patch.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentRequestPatch: """Test EzsigndocumentRequestPatch - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentRequestPatch` diff --git a/test/test_ezsigndocument_response.py b/test/test_ezsigndocument_response.py index f3dcca5cd..27256a49d 100644 --- a/test/test_ezsigndocument_response.py +++ b/test/test_ezsigndocument_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentResponse: """Test EzsigndocumentResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentResponse` @@ -50,6 +50,7 @@ def make_instance(self, include_optional) -> EzsigndocumentResponse: i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, s_ezsigndocument_md5initial = '012345678901234567890123456789AB', t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', s_ezsigndocument_md5signed = '012345678901234567890123456789AB', @@ -87,6 +88,7 @@ def make_instance(self, include_optional) -> EzsigndocumentResponse: i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, i_ezsigndocument_ezsignsignatureattachmenttotal = 3, i_ezsigndocument_ezsigndiscussiontotal = 14, ) diff --git a/test/test_ezsigndocument_response_compound.py b/test/test_ezsigndocument_response_compound.py index fa015d8a6..444618657 100644 --- a/test/test_ezsigndocument_response_compound.py +++ b/test/test_ezsigndocument_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentResponseCompound: """Test EzsigndocumentResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentResponseCompound` @@ -50,6 +50,7 @@ def make_instance(self, include_optional) -> EzsigndocumentResponseCompound: i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, s_ezsigndocument_md5initial = '012345678901234567890123456789AB', t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', s_ezsigndocument_md5signed = '012345678901234567890123456789AB', @@ -91,8 +92,14 @@ def make_instance(self, include_optional) -> EzsigndocumentResponseCompound: e_ezsignsignaturestatus_steptype = 'Form', i_ezsignsignaturestatus_step = 1, i_ezsignsignaturestatus_total = 2, - i_ezsignsignaturestatus_signed = 1, ) + i_ezsignsignaturestatus_signed = 1, + i_ezsignsignaturestatus_conditional = 1, ) ], ) + ], + a_obj_ezsigndocumentdependency = [ + eZmaxApi.models.ezsigndocumentdependency_response.ezsigndocumentdependency-Response( + pki_ezsigndocumentdependency_id = 87, + fki_ezsigndocument_i_ddependency = 97, ) ] ) else: @@ -106,6 +113,7 @@ def make_instance(self, include_optional) -> EzsigndocumentResponseCompound: i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, i_ezsigndocument_ezsignsignatureattachmenttotal = 3, i_ezsigndocument_ezsigndiscussiontotal = 14, e_ezsigndocument_steptype = 'Sign', @@ -124,7 +132,8 @@ def make_instance(self, include_optional) -> EzsigndocumentResponseCompound: e_ezsignsignaturestatus_steptype = 'Form', i_ezsignsignaturestatus_step = 1, i_ezsignsignaturestatus_total = 2, - i_ezsignsignaturestatus_signed = 1, ) + i_ezsignsignaturestatus_signed = 1, + i_ezsignsignaturestatus_conditional = 1, ) ], ) ], ) diff --git a/test/test_ezsigndocument_submit_ezsignform_v1_request.py b/test/test_ezsigndocument_submit_ezsignform_v1_request.py index a06914905..7f2984d3e 100644 --- a/test/test_ezsigndocument_submit_ezsignform_v1_request.py +++ b/test/test_ezsigndocument_submit_ezsignform_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentSubmitEzsignformV1Request: """Test EzsigndocumentSubmitEzsignformV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentSubmitEzsignformV1Request` diff --git a/test/test_ezsigndocument_submit_ezsignform_v1_response.py b/test/test_ezsigndocument_submit_ezsignform_v1_response.py index 38e8ea2ca..13e649250 100644 --- a/test/test_ezsigndocument_submit_ezsignform_v1_response.py +++ b/test/test_ezsigndocument_submit_ezsignform_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentSubmitEzsignformV1Response: """Test EzsigndocumentSubmitEzsignformV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentSubmitEzsignformV1Response` diff --git a/test/test_ezsigndocument_unsend_v1_response.py b/test/test_ezsigndocument_unsend_v1_response.py index 42414167c..28c868f64 100644 --- a/test/test_ezsigndocument_unsend_v1_response.py +++ b/test/test_ezsigndocument_unsend_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentUnsendV1Response: """Test EzsigndocumentUnsendV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentUnsendV1Response` diff --git a/test/test_ezsigndocumentdependency_request.py b/test/test_ezsigndocumentdependency_request.py new file mode 100644 index 000000000..a078256f9 --- /dev/null +++ b/test/test_ezsigndocumentdependency_request.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocumentdependency_request import EzsigndocumentdependencyRequest + +class TestEzsigndocumentdependencyRequest(unittest.TestCase): + """EzsigndocumentdependencyRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentdependencyRequest: + """Test EzsigndocumentdependencyRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentdependencyRequest` + """ + model = EzsigndocumentdependencyRequest() + if include_optional: + return EzsigndocumentdependencyRequest( + pki_ezsigndocumentdependency_id = 87, + fki_ezsigndocument_i_ddependency = 97 + ) + else: + return EzsigndocumentdependencyRequest( + fki_ezsigndocument_i_ddependency = 97, + ) + """ + + def testEzsigndocumentdependencyRequest(self): + """Test EzsigndocumentdependencyRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocumentdependency_request_compound.py b/test/test_ezsigndocumentdependency_request_compound.py new file mode 100644 index 000000000..036dec512 --- /dev/null +++ b/test/test_ezsigndocumentdependency_request_compound.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocumentdependency_request_compound import EzsigndocumentdependencyRequestCompound + +class TestEzsigndocumentdependencyRequestCompound(unittest.TestCase): + """EzsigndocumentdependencyRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentdependencyRequestCompound: + """Test EzsigndocumentdependencyRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentdependencyRequestCompound` + """ + model = EzsigndocumentdependencyRequestCompound() + if include_optional: + return EzsigndocumentdependencyRequestCompound( + pki_ezsigndocumentdependency_id = 87, + fki_ezsigndocument_i_ddependency = 97 + ) + else: + return EzsigndocumentdependencyRequestCompound( + fki_ezsigndocument_i_ddependency = 97, + ) + """ + + def testEzsigndocumentdependencyRequestCompound(self): + """Test EzsigndocumentdependencyRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocumentdependency_response.py b/test/test_ezsigndocumentdependency_response.py new file mode 100644 index 000000000..17f641db6 --- /dev/null +++ b/test/test_ezsigndocumentdependency_response.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigndocumentdependency_response import EzsigndocumentdependencyResponse + +class TestEzsigndocumentdependencyResponse(unittest.TestCase): + """EzsigndocumentdependencyResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigndocumentdependencyResponse: + """Test EzsigndocumentdependencyResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigndocumentdependencyResponse` + """ + model = EzsigndocumentdependencyResponse() + if include_optional: + return EzsigndocumentdependencyResponse( + pki_ezsigndocumentdependency_id = 87, + fki_ezsigndocument_i_ddependency = 97 + ) + else: + return EzsigndocumentdependencyResponse( + pki_ezsigndocumentdependency_id = 87, + fki_ezsigndocument_i_ddependency = 97, + ) + """ + + def testEzsigndocumentdependencyResponse(self): + """Test EzsigndocumentdependencyResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigndocumentlog_response.py b/test/test_ezsigndocumentlog_response.py index 86b00a537..eb12cd018 100644 --- a/test/test_ezsigndocumentlog_response.py +++ b/test/test_ezsigndocumentlog_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentlogResponse: """Test EzsigndocumentlogResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentlogResponse` diff --git a/test/test_ezsigndocumentlog_response_compound.py b/test/test_ezsigndocumentlog_response_compound.py index e27bbad35..ead521cb4 100644 --- a/test/test_ezsigndocumentlog_response_compound.py +++ b/test/test_ezsigndocumentlog_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigndocumentlogResponseCompound: """Test EzsigndocumentlogResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigndocumentlogResponseCompound` diff --git a/test/test_ezsignelementdependency_request.py b/test/test_ezsignelementdependency_request.py index c6a1b5a84..18b063cbf 100644 --- a/test/test_ezsignelementdependency_request.py +++ b/test/test_ezsignelementdependency_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignelementdependencyRequest: """Test EzsignelementdependencyRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignelementdependencyRequest` diff --git a/test/test_ezsignelementdependency_request_compound.py b/test/test_ezsignelementdependency_request_compound.py index 0cfeb7fcf..9c6a2371f 100644 --- a/test/test_ezsignelementdependency_request_compound.py +++ b/test/test_ezsignelementdependency_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignelementdependencyRequestCompound: """Test EzsignelementdependencyRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignelementdependencyRequestCompound` diff --git a/test/test_ezsignelementdependency_response.py b/test/test_ezsignelementdependency_response.py index 4b0da87b5..012b9d93e 100644 --- a/test/test_ezsignelementdependency_response.py +++ b/test/test_ezsignelementdependency_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignelementdependencyResponse: """Test EzsignelementdependencyResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignelementdependencyResponse` diff --git a/test/test_ezsignelementdependency_response_compound.py b/test/test_ezsignelementdependency_response_compound.py index bcfdda568..90a732c76 100644 --- a/test/test_ezsignelementdependency_response_compound.py +++ b/test/test_ezsignelementdependency_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignelementdependencyResponseCompound: """Test EzsignelementdependencyResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignelementdependencyResponseCompound` diff --git a/test/test_ezsignfolder_archive_v1_response.py b/test/test_ezsignfolder_archive_v1_response.py index 9065cf49d..8e0356fa8 100644 --- a/test/test_ezsignfolder_archive_v1_response.py +++ b/test/test_ezsignfolder_archive_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderArchiveV1Response: """Test EzsignfolderArchiveV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderArchiveV1Response` diff --git a/test/test_ezsignfolder_batch_download_v1_request.py b/test/test_ezsignfolder_batch_download_v1_request.py index f3c5c0512..c617231b9 100644 --- a/test/test_ezsignfolder_batch_download_v1_request.py +++ b/test/test_ezsignfolder_batch_download_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderBatchDownloadV1Request: """Test EzsignfolderBatchDownloadV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderBatchDownloadV1Request` diff --git a/test/test_ezsignfolder_create_object_v1_request.py b/test/test_ezsignfolder_create_object_v1_request.py index b7e1980b4..100690185 100644 --- a/test/test_ezsignfolder_create_object_v1_request.py +++ b/test/test_ezsignfolder_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderCreateObjectV1Request: """Test EzsignfolderCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderCreateObjectV1Request` @@ -39,6 +39,7 @@ def make_instance(self, include_optional) -> EzsignfolderCreateObjectV1Request: obj_ezsignfolder = eZmaxApi.models.ezsignfolder_request.ezsignfolder-Request( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, + fki_timezone_id = 247, fki_ezsigntsarequirement_id = 1, s_ezsignfolder_description = 'Test eZsign Folder', t_ezsignfolder_note = 'This is a note', diff --git a/test/test_ezsignfolder_create_object_v1_response.py b/test/test_ezsignfolder_create_object_v1_response.py index 5c7447980..fa1df7563 100644 --- a/test/test_ezsignfolder_create_object_v1_response.py +++ b/test/test_ezsignfolder_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderCreateObjectV1Response: """Test EzsignfolderCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderCreateObjectV1Response` diff --git a/test/test_ezsignfolder_create_object_v1_response_m_payload.py b/test/test_ezsignfolder_create_object_v1_response_m_payload.py index e6c4cb0c1..a65510038 100644 --- a/test/test_ezsignfolder_create_object_v1_response_m_payload.py +++ b/test/test_ezsignfolder_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderCreateObjectV1ResponseMPayload: """Test EzsignfolderCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsignfolder_create_object_v2_request.py b/test/test_ezsignfolder_create_object_v2_request.py index f14260041..7c56ba108 100644 --- a/test/test_ezsignfolder_create_object_v2_request.py +++ b/test/test_ezsignfolder_create_object_v2_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderCreateObjectV2Request: """Test EzsignfolderCreateObjectV2Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderCreateObjectV2Request` diff --git a/test/test_ezsignfolder_create_object_v2_response.py b/test/test_ezsignfolder_create_object_v2_response.py index 4ae836174..3bf9dce65 100644 --- a/test/test_ezsignfolder_create_object_v2_response.py +++ b/test/test_ezsignfolder_create_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderCreateObjectV2Response: """Test EzsignfolderCreateObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderCreateObjectV2Response` diff --git a/test/test_ezsignfolder_create_object_v2_response_m_payload.py b/test/test_ezsignfolder_create_object_v2_response_m_payload.py index 21b076973..32b20e428 100644 --- a/test/test_ezsignfolder_create_object_v2_response_m_payload.py +++ b/test/test_ezsignfolder_create_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderCreateObjectV2ResponseMPayload: """Test EzsignfolderCreateObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderCreateObjectV2ResponseMPayload` diff --git a/test/test_ezsignfolder_create_object_v3_request.py b/test/test_ezsignfolder_create_object_v3_request.py new file mode 100644 index 000000000..351fa35d2 --- /dev/null +++ b/test/test_ezsignfolder_create_object_v3_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_create_object_v3_request import EzsignfolderCreateObjectV3Request + +class TestEzsignfolderCreateObjectV3Request(unittest.TestCase): + """EzsignfolderCreateObjectV3Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderCreateObjectV3Request: + """Test EzsignfolderCreateObjectV3Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderCreateObjectV3Request` + """ + model = EzsignfolderCreateObjectV3Request() + if include_optional: + return EzsignfolderCreateObjectV3Request( + a_obj_ezsignfolder = [ + eZmaxApi.models.ezsignfolder_request_compound_v3.ezsignfolder-RequestCompoundV3() + ] + ) + else: + return EzsignfolderCreateObjectV3Request( + a_obj_ezsignfolder = [ + eZmaxApi.models.ezsignfolder_request_compound_v3.ezsignfolder-RequestCompoundV3() + ], + ) + """ + + def testEzsignfolderCreateObjectV3Request(self): + """Test EzsignfolderCreateObjectV3Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_create_object_v3_response.py b/test/test_ezsignfolder_create_object_v3_response.py new file mode 100644 index 000000000..be9f8dc33 --- /dev/null +++ b/test/test_ezsignfolder_create_object_v3_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_create_object_v3_response import EzsignfolderCreateObjectV3Response + +class TestEzsignfolderCreateObjectV3Response(unittest.TestCase): + """EzsignfolderCreateObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderCreateObjectV3Response: + """Test EzsignfolderCreateObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderCreateObjectV3Response` + """ + model = EzsignfolderCreateObjectV3Response() + if include_optional: + return EzsignfolderCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignfolder_create_object_v3_response_m_payload.ezsignfolder-createObject-v3-Response-mPayload( + a_pki_ezsignfolder_id = [ + 33 + ], ) + ) + else: + return EzsignfolderCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignfolder_create_object_v3_response_m_payload.ezsignfolder-createObject-v3-Response-mPayload( + a_pki_ezsignfolder_id = [ + 33 + ], ), + ) + """ + + def testEzsignfolderCreateObjectV3Response(self): + """Test EzsignfolderCreateObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_create_object_v3_response_m_payload.py b/test/test_ezsignfolder_create_object_v3_response_m_payload.py new file mode 100644 index 000000000..8bc279f9a --- /dev/null +++ b/test/test_ezsignfolder_create_object_v3_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_create_object_v3_response_m_payload import EzsignfolderCreateObjectV3ResponseMPayload + +class TestEzsignfolderCreateObjectV3ResponseMPayload(unittest.TestCase): + """EzsignfolderCreateObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderCreateObjectV3ResponseMPayload: + """Test EzsignfolderCreateObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderCreateObjectV3ResponseMPayload` + """ + model = EzsignfolderCreateObjectV3ResponseMPayload() + if include_optional: + return EzsignfolderCreateObjectV3ResponseMPayload( + a_pki_ezsignfolder_id = [ + 33 + ] + ) + else: + return EzsignfolderCreateObjectV3ResponseMPayload( + a_pki_ezsignfolder_id = [ + 33 + ], + ) + """ + + def testEzsignfolderCreateObjectV3ResponseMPayload(self): + """Test EzsignfolderCreateObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_delete_object_v1_response.py b/test/test_ezsignfolder_delete_object_v1_response.py index 5b087870d..97dc842e1 100644 --- a/test/test_ezsignfolder_delete_object_v1_response.py +++ b/test/test_ezsignfolder_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderDeleteObjectV1Response: """Test EzsignfolderDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderDeleteObjectV1Response` diff --git a/test/test_ezsignfolder_dispose_ezsignfolders_v1_request.py b/test/test_ezsignfolder_dispose_ezsignfolders_v1_request.py index 0d14c47a3..716a6b5ff 100644 --- a/test/test_ezsignfolder_dispose_ezsignfolders_v1_request.py +++ b/test/test_ezsignfolder_dispose_ezsignfolders_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderDisposeEzsignfoldersV1Request: """Test EzsignfolderDisposeEzsignfoldersV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderDisposeEzsignfoldersV1Request` diff --git a/test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py b/test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py index 6a1e30ede..0841d1ee9 100644 --- a/test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py +++ b/test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderDisposeEzsignfoldersV1Response: """Test EzsignfolderDisposeEzsignfoldersV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderDisposeEzsignfoldersV1Response` diff --git a/test/test_ezsignfolder_dispose_v1_response.py b/test/test_ezsignfolder_dispose_v1_response.py index 9caee7f3c..f8a4944f7 100644 --- a/test/test_ezsignfolder_dispose_v1_response.py +++ b/test/test_ezsignfolder_dispose_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderDisposeV1Response: """Test EzsignfolderDisposeV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderDisposeV1Response` diff --git a/test/test_ezsignfolder_edit_object_v1_request.py b/test/test_ezsignfolder_edit_object_v1_request.py deleted file mode 100644 index 05daa28b2..000000000 --- a/test/test_ezsignfolder_edit_object_v1_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfolder_edit_object_v1_request import EzsignfolderEditObjectV1Request - -class TestEzsignfolderEditObjectV1Request(unittest.TestCase): - """EzsignfolderEditObjectV1Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfolderEditObjectV1Request: - """Test EzsignfolderEditObjectV1Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfolderEditObjectV1Request` - """ - model = EzsignfolderEditObjectV1Request() - if include_optional: - return EzsignfolderEditObjectV1Request( - obj_ezsignfolder = eZmaxApi.models.ezsignfolder_request_compound.ezsignfolder-RequestCompound() - ) - else: - return EzsignfolderEditObjectV1Request( - obj_ezsignfolder = eZmaxApi.models.ezsignfolder_request_compound.ezsignfolder-RequestCompound(), - ) - """ - - def testEzsignfolderEditObjectV1Request(self): - """Test EzsignfolderEditObjectV1Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfolder_edit_object_v1_response.py b/test/test_ezsignfolder_edit_object_v1_response.py deleted file mode 100644 index c0713408e..000000000 --- a/test/test_ezsignfolder_edit_object_v1_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfolder_edit_object_v1_response import EzsignfolderEditObjectV1Response - -class TestEzsignfolderEditObjectV1Response(unittest.TestCase): - """EzsignfolderEditObjectV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfolderEditObjectV1Response: - """Test EzsignfolderEditObjectV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfolderEditObjectV1Response` - """ - model = EzsignfolderEditObjectV1Response() - if include_optional: - return EzsignfolderEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} - ) - else: - return EzsignfolderEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - ) - """ - - def testEzsignfolderEditObjectV1Response(self): - """Test EzsignfolderEditObjectV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfolder_edit_object_v3_request.py b/test/test_ezsignfolder_edit_object_v3_request.py new file mode 100644 index 000000000..adf95f429 --- /dev/null +++ b/test/test_ezsignfolder_edit_object_v3_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_edit_object_v3_request import EzsignfolderEditObjectV3Request + +class TestEzsignfolderEditObjectV3Request(unittest.TestCase): + """EzsignfolderEditObjectV3Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderEditObjectV3Request: + """Test EzsignfolderEditObjectV3Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderEditObjectV3Request` + """ + model = EzsignfolderEditObjectV3Request() + if include_optional: + return EzsignfolderEditObjectV3Request( + obj_ezsignfolder = eZmaxApi.models.ezsignfolder_request_compound_v3.ezsignfolder-RequestCompoundV3() + ) + else: + return EzsignfolderEditObjectV3Request( + obj_ezsignfolder = eZmaxApi.models.ezsignfolder_request_compound_v3.ezsignfolder-RequestCompoundV3(), + ) + """ + + def testEzsignfolderEditObjectV3Request(self): + """Test EzsignfolderEditObjectV3Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_edit_object_v3_response.py b/test/test_ezsignfolder_edit_object_v3_response.py new file mode 100644 index 000000000..d9d54eceb --- /dev/null +++ b/test/test_ezsignfolder_edit_object_v3_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_edit_object_v3_response import EzsignfolderEditObjectV3Response + +class TestEzsignfolderEditObjectV3Response(unittest.TestCase): + """EzsignfolderEditObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderEditObjectV3Response: + """Test EzsignfolderEditObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderEditObjectV3Response` + """ + model = EzsignfolderEditObjectV3Response() + if include_optional: + return EzsignfolderEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsignfolderEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsignfolderEditObjectV3Response(self): + """Test EzsignfolderEditObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_end_prematurely_v1_response.py b/test/test_ezsignfolder_end_prematurely_v1_response.py index 918563a74..c117b2617 100644 --- a/test/test_ezsignfolder_end_prematurely_v1_response.py +++ b/test/test_ezsignfolder_end_prematurely_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderEndPrematurelyV1Response: """Test EzsignfolderEndPrematurelyV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderEndPrematurelyV1Response` diff --git a/test/test_ezsignfolder_get_actionable_elements_v1_response.py b/test/test_ezsignfolder_get_actionable_elements_v1_response.py index 546ad31e8..d5d07ba97 100644 --- a/test/test_ezsignfolder_get_actionable_elements_v1_response.py +++ b/test/test_ezsignfolder_get_actionable_elements_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetActionableElementsV1Response: """Test EzsignfolderGetActionableElementsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetActionableElementsV1Response` diff --git a/test/test_ezsignfolder_get_actionable_elements_v1_response_m_payload.py b/test/test_ezsignfolder_get_actionable_elements_v1_response_m_payload.py index f788a4a49..e30f263c0 100644 --- a/test/test_ezsignfolder_get_actionable_elements_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_actionable_elements_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetActionableElementsV1ResponseMPayload: """Test EzsignfolderGetActionableElementsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetActionableElementsV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_attachment_count_v1_response.py b/test/test_ezsignfolder_get_attachment_count_v1_response.py index c01724d05..d60720782 100644 --- a/test/test_ezsignfolder_get_attachment_count_v1_response.py +++ b/test/test_ezsignfolder_get_attachment_count_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetAttachmentCountV1Response: """Test EzsignfolderGetAttachmentCountV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetAttachmentCountV1Response` diff --git a/test/test_ezsignfolder_get_attachment_count_v1_response_m_payload.py b/test/test_ezsignfolder_get_attachment_count_v1_response_m_payload.py index d763c9cf4..f3a822e95 100644 --- a/test/test_ezsignfolder_get_attachment_count_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_attachment_count_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetAttachmentCountV1ResponseMPayload: """Test EzsignfolderGetAttachmentCountV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetAttachmentCountV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_attachments_v1_response.py b/test/test_ezsignfolder_get_attachments_v1_response.py index 22a2982b8..a05063105 100644 --- a/test/test_ezsignfolder_get_attachments_v1_response.py +++ b/test/test_ezsignfolder_get_attachments_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetAttachmentsV1Response: """Test EzsignfolderGetAttachmentsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetAttachmentsV1Response` diff --git a/test/test_ezsignfolder_get_attachments_v1_response_m_payload.py b/test/test_ezsignfolder_get_attachments_v1_response_m_payload.py index 09b9958c3..e3547456e 100644 --- a/test/test_ezsignfolder_get_attachments_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_attachments_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetAttachmentsV1ResponseMPayload: """Test EzsignfolderGetAttachmentsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetAttachmentsV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_communication_count_v1_response.py b/test/test_ezsignfolder_get_communication_count_v1_response.py index b4ee618da..06f2d48d7 100644 --- a/test/test_ezsignfolder_get_communication_count_v1_response.py +++ b/test/test_ezsignfolder_get_communication_count_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetCommunicationCountV1Response: """Test EzsignfolderGetCommunicationCountV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetCommunicationCountV1Response` diff --git a/test/test_ezsignfolder_get_communication_count_v1_response_m_payload.py b/test/test_ezsignfolder_get_communication_count_v1_response_m_payload.py index 6df506526..2d17c808c 100644 --- a/test/test_ezsignfolder_get_communication_count_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_communication_count_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetCommunicationCountV1ResponseMPayload: """Test EzsignfolderGetCommunicationCountV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetCommunicationCountV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_communication_list_v1_response.py b/test/test_ezsignfolder_get_communication_list_v1_response.py index 9fd58d963..96fe014b0 100644 --- a/test/test_ezsignfolder_get_communication_list_v1_response.py +++ b/test/test_ezsignfolder_get_communication_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetCommunicationListV1Response: """Test EzsignfolderGetCommunicationListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetCommunicationListV1Response` diff --git a/test/test_ezsignfolder_get_communication_list_v1_response_m_payload.py b/test/test_ezsignfolder_get_communication_list_v1_response_m_payload.py index 64ab276e5..ed39d012d 100644 --- a/test/test_ezsignfolder_get_communication_list_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_communication_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetCommunicationListV1ResponseMPayload: """Test EzsignfolderGetCommunicationListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetCommunicationListV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_communicationrecipients_v1_response.py b/test/test_ezsignfolder_get_communicationrecipients_v1_response.py index 0cd72c30f..a341d2dd7 100644 --- a/test/test_ezsignfolder_get_communicationrecipients_v1_response.py +++ b/test/test_ezsignfolder_get_communicationrecipients_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetCommunicationrecipientsV1Response: """Test EzsignfolderGetCommunicationrecipientsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetCommunicationrecipientsV1Response` diff --git a/test/test_ezsignfolder_get_communicationrecipients_v1_response_m_payload.py b/test/test_ezsignfolder_get_communicationrecipients_v1_response_m_payload.py index e5fde4b74..7accdb2d0 100644 --- a/test/test_ezsignfolder_get_communicationrecipients_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_communicationrecipients_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetCommunicationrecipientsV1ResponseMPayload: """Test EzsignfolderGetCommunicationrecipientsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetCommunicationrecipientsV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_communicationsenders_v1_response.py b/test/test_ezsignfolder_get_communicationsenders_v1_response.py index 3f311c89b..9932f1ed4 100644 --- a/test/test_ezsignfolder_get_communicationsenders_v1_response.py +++ b/test/test_ezsignfolder_get_communicationsenders_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetCommunicationsendersV1Response: """Test EzsignfolderGetCommunicationsendersV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetCommunicationsendersV1Response` diff --git a/test/test_ezsignfolder_get_communicationsenders_v1_response_m_payload.py b/test/test_ezsignfolder_get_communicationsenders_v1_response_m_payload.py index 9aaa78fd8..ae95d0a7e 100644 --- a/test/test_ezsignfolder_get_communicationsenders_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_communicationsenders_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetCommunicationsendersV1ResponseMPayload: """Test EzsignfolderGetCommunicationsendersV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetCommunicationsendersV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_ezsigndocuments_v1_response.py b/test/test_ezsignfolder_get_ezsigndocuments_v1_response.py index 8e77b8d8d..72784f1c9 100644 --- a/test/test_ezsignfolder_get_ezsigndocuments_v1_response.py +++ b/test/test_ezsignfolder_get_ezsigndocuments_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetEzsigndocumentsV1Response: """Test EzsignfolderGetEzsigndocumentsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetEzsigndocumentsV1Response` diff --git a/test/test_ezsignfolder_get_ezsigndocuments_v1_response_m_payload.py b/test/test_ezsignfolder_get_ezsigndocuments_v1_response_m_payload.py index 839707860..630adbca4 100644 --- a/test/test_ezsignfolder_get_ezsigndocuments_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_ezsigndocuments_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetEzsigndocumentsV1ResponseMPayload: """Test EzsignfolderGetEzsigndocumentsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetEzsigndocumentsV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py b/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py index 10faa9dd9..2b7f91ddb 100644 --- a/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py +++ b/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetEzsignfoldersignerassociationsV1Response: """Test EzsignfolderGetEzsignfoldersignerassociationsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetEzsignfoldersignerassociationsV1Response` diff --git a/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.py b/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.py index d9cce4115..53746519b 100644 --- a/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload: """Test EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response.py b/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response.py index 6422a8424..7a27b35ee 100644 --- a/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetEzsignsignaturesAutomaticV1Response: """Test EzsignfolderGetEzsignsignaturesAutomaticV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetEzsignsignaturesAutomaticV1Response` diff --git a/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.py b/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.py index b2df6686b..7f5a1c366 100644 --- a/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload: """Test EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_forms_data_v1_response.py b/test/test_ezsignfolder_get_forms_data_v1_response.py index 95e3668d8..43d8ab984 100644 --- a/test/test_ezsignfolder_get_forms_data_v1_response.py +++ b/test/test_ezsignfolder_get_forms_data_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetFormsDataV1Response: """Test EzsignfolderGetFormsDataV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetFormsDataV1Response` diff --git a/test/test_ezsignfolder_get_forms_data_v1_response_m_payload.py b/test/test_ezsignfolder_get_forms_data_v1_response_m_payload.py index fc88c6659..6f2d7ddb4 100644 --- a/test/test_ezsignfolder_get_forms_data_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_forms_data_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetFormsDataV1ResponseMPayload: """Test EzsignfolderGetFormsDataV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetFormsDataV1ResponseMPayload` diff --git a/test/test_ezsignfolder_get_list_v1_response.py b/test/test_ezsignfolder_get_list_v1_response.py index e5d983191..b2f3c5bf8 100644 --- a/test/test_ezsignfolder_get_list_v1_response.py +++ b/test/test_ezsignfolder_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetListV1Response: """Test EzsignfolderGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetListV1Response` diff --git a/test/test_ezsignfolder_get_list_v1_response_m_payload.py b/test/test_ezsignfolder_get_list_v1_response_m_payload.py index 33c1728bd..97510c55e 100644 --- a/test/test_ezsignfolder_get_list_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetListV1ResponseMPayload: """Test EzsignfolderGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetListV1ResponseMPayload` @@ -57,7 +57,10 @@ def make_instance(self, include_optional) -> EzsignfolderGetListV1ResponseMPaylo i_ezsignformfieldgroup = 56, i_ezsignformfieldgroup_completed = 56, b_ezsignform_hasdependencies = True, - d_ezsignfolder_completedpercentage = '-072.88', ) + d_ezsignfolder_completedpercentage = '-072.88', + d_ezsignfolder_formcompletedpercentage = '-072.88', + d_ezsignfolder_signaturecompletedpercentage = '-072.88', + b_ezsignfolder_signer = True, ) ] ) else: @@ -83,7 +86,10 @@ def make_instance(self, include_optional) -> EzsignfolderGetListV1ResponseMPaylo i_ezsignformfieldgroup = 56, i_ezsignformfieldgroup_completed = 56, b_ezsignform_hasdependencies = True, - d_ezsignfolder_completedpercentage = '-072.88', ) + d_ezsignfolder_completedpercentage = '-072.88', + d_ezsignfolder_formcompletedpercentage = '-072.88', + d_ezsignfolder_signaturecompletedpercentage = '-072.88', + b_ezsignfolder_signer = True, ) ], ) """ diff --git a/test/test_ezsignfolder_get_object_v1_response.py b/test/test_ezsignfolder_get_object_v1_response.py index 82fd3723e..49773fcb6 100644 --- a/test/test_ezsignfolder_get_object_v1_response.py +++ b/test/test_ezsignfolder_get_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetObjectV1Response: """Test EzsignfolderGetObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetObjectV1Response` diff --git a/test/test_ezsignfolder_get_object_v1_response_m_payload.py b/test/test_ezsignfolder_get_object_v1_response_m_payload.py index 4b9add587..675e1893f 100644 --- a/test/test_ezsignfolder_get_object_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetObjectV1ResponseMPayload: """Test EzsignfolderGetObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetObjectV1ResponseMPayload` @@ -39,6 +39,7 @@ def make_instance(self, include_optional) -> EzsignfolderGetObjectV1ResponseMPay pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -49,6 +50,8 @@ def make_instance(self, include_optional) -> EzsignfolderGetObjectV1ResponseMPay t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', @@ -82,7 +85,10 @@ def make_instance(self, include_optional) -> EzsignfolderGetObjectV1ResponseMPay s_user_firstname = 'John', s_apikey_description_x = 'Project X', dt_auditdetail_date = '2020-12-31 23:59:59', ), ), - s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}' + s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', + obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( + s_timezone_name = '', + s_code = 'EST', ) ) else: return EzsignfolderGetObjectV1ResponseMPayload( diff --git a/test/test_ezsignfolder_get_object_v2_response.py b/test/test_ezsignfolder_get_object_v2_response.py index 718b53634..83d1aface 100644 --- a/test/test_ezsignfolder_get_object_v2_response.py +++ b/test/test_ezsignfolder_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetObjectV2Response: """Test EzsignfolderGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetObjectV2Response` diff --git a/test/test_ezsignfolder_get_object_v2_response_m_payload.py b/test/test_ezsignfolder_get_object_v2_response_m_payload.py index 9ee387549..c3f834772 100644 --- a/test/test_ezsignfolder_get_object_v2_response_m_payload.py +++ b/test/test_ezsignfolder_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderGetObjectV2ResponseMPayload: """Test EzsignfolderGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignfolder_get_object_v3_response.py b/test/test_ezsignfolder_get_object_v3_response.py new file mode 100644 index 000000000..874ddb0b2 --- /dev/null +++ b/test/test_ezsignfolder_get_object_v3_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_get_object_v3_response import EzsignfolderGetObjectV3Response + +class TestEzsignfolderGetObjectV3Response(unittest.TestCase): + """EzsignfolderGetObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderGetObjectV3Response: + """Test EzsignfolderGetObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderGetObjectV3Response` + """ + model = EzsignfolderGetObjectV3Response() + if include_optional: + return EzsignfolderGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignfolder_get_object_v3_response_m_payload.ezsignfolder-getObject-v3-Response-mPayload( + obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response_compound_v3.ezsignfolder-ResponseCompoundV3(), ) + ) + else: + return EzsignfolderGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignfolder_get_object_v3_response_m_payload.ezsignfolder-getObject-v3-Response-mPayload( + obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response_compound_v3.ezsignfolder-ResponseCompoundV3(), ), + ) + """ + + def testEzsignfolderGetObjectV3Response(self): + """Test EzsignfolderGetObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_get_object_v3_response_m_payload.py b/test/test_ezsignfolder_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..21e35b94e --- /dev/null +++ b/test/test_ezsignfolder_get_object_v3_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_get_object_v3_response_m_payload import EzsignfolderGetObjectV3ResponseMPayload + +class TestEzsignfolderGetObjectV3ResponseMPayload(unittest.TestCase): + """EzsignfolderGetObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderGetObjectV3ResponseMPayload: + """Test EzsignfolderGetObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderGetObjectV3ResponseMPayload` + """ + model = EzsignfolderGetObjectV3ResponseMPayload() + if include_optional: + return EzsignfolderGetObjectV3ResponseMPayload( + obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response_compound_v3.ezsignfolder-ResponseCompoundV3() + ) + else: + return EzsignfolderGetObjectV3ResponseMPayload( + obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response_compound_v3.ezsignfolder-ResponseCompoundV3(), + ) + """ + + def testEzsignfolderGetObjectV3ResponseMPayload(self): + """Test EzsignfolderGetObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_request.py b/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_request.py index 81719a858..cf2d11b3c 100644 --- a/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_request.py +++ b/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderImportEzsignfoldersignerassociationsV1Request: """Test EzsignfolderImportEzsignfoldersignerassociationsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderImportEzsignfoldersignerassociationsV1Request` diff --git a/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py b/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py index caa53f710..a7a3266f2 100644 --- a/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py +++ b/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderImportEzsignfoldersignerassociationsV1Response: """Test EzsignfolderImportEzsignfoldersignerassociationsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderImportEzsignfoldersignerassociationsV1Response` diff --git a/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload.py b/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload.py index 4f982fd92..4a809f86f 100644 --- a/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload.py +++ b/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload: """Test EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload` diff --git a/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_request.py b/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_request.py index a017b787a..49b57267c 100644 --- a/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_request.py +++ b/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderImportEzsigntemplatepackageV1Request: """Test EzsignfolderImportEzsigntemplatepackageV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderImportEzsigntemplatepackageV1Request` diff --git a/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response.py b/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response.py index c23d76cd2..028bfc9de 100644 --- a/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response.py +++ b/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderImportEzsigntemplatepackageV1Response: """Test EzsignfolderImportEzsigntemplatepackageV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderImportEzsigntemplatepackageV1Response` diff --git a/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.py b/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.py index d8e884654..b6bf11486 100644 --- a/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.py +++ b/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload: """Test EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload` diff --git a/test/test_ezsignfolder_list_element.py b/test/test_ezsignfolder_list_element.py index 9f1c0483a..57bfc27e0 100644 --- a/test/test_ezsignfolder_list_element.py +++ b/test/test_ezsignfolder_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderListElement: """Test EzsignfolderListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderListElement` @@ -53,7 +53,10 @@ def make_instance(self, include_optional) -> EzsignfolderListElement: i_ezsignformfieldgroup = 56, i_ezsignformfieldgroup_completed = 56, b_ezsignform_hasdependencies = True, - d_ezsignfolder_completedpercentage = '-072.88' + d_ezsignfolder_completedpercentage = '-072.88', + d_ezsignfolder_formcompletedpercentage = '-072.88', + d_ezsignfolder_signaturecompletedpercentage = '-072.88', + b_ezsignfolder_signer = True ) else: return EzsignfolderListElement( @@ -71,6 +74,8 @@ def make_instance(self, include_optional) -> EzsignfolderListElement: i_ezsignformfieldgroup = 56, i_ezsignformfieldgroup_completed = 56, d_ezsignfolder_completedpercentage = '-072.88', + d_ezsignfolder_formcompletedpercentage = '-072.88', + d_ezsignfolder_signaturecompletedpercentage = '-072.88', ) """ diff --git a/test/test_ezsignfolder_reorder_v1_request.py b/test/test_ezsignfolder_reorder_v1_request.py index e128b633c..63bf68d43 100644 --- a/test/test_ezsignfolder_reorder_v1_request.py +++ b/test/test_ezsignfolder_reorder_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderReorderV1Request: """Test EzsignfolderReorderV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderReorderV1Request` diff --git a/test/test_ezsignfolder_reorder_v1_response.py b/test/test_ezsignfolder_reorder_v1_response.py index 5a5a927bd..447169cfc 100644 --- a/test/test_ezsignfolder_reorder_v1_response.py +++ b/test/test_ezsignfolder_reorder_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderReorderV1Response: """Test EzsignfolderReorderV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderReorderV1Response` diff --git a/test/test_ezsignfolder_reorder_v2_request.py b/test/test_ezsignfolder_reorder_v2_request.py new file mode 100644 index 000000000..ae9462150 --- /dev/null +++ b/test/test_ezsignfolder_reorder_v2_request.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_reorder_v2_request import EzsignfolderReorderV2Request + +class TestEzsignfolderReorderV2Request(unittest.TestCase): + """EzsignfolderReorderV2Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderReorderV2Request: + """Test EzsignfolderReorderV2Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderReorderV2Request` + """ + model = EzsignfolderReorderV2Request() + if include_optional: + return EzsignfolderReorderV2Request( + e_ezsignfolder_documentdependency = 'All', + a_obj_ezsigndocument = [ + eZmaxApi.models.custom_ezsigndocument_request.Custom-Ezsigndocument-Request( + pki_ezsigndocument_id = 97, + a_obj_ezsigndocumentdependency = [ + eZmaxApi.models.ezsigndocumentdependency_request_compound.ezsigndocumentdependency-RequestCompound() + ], ) + ] + ) + else: + return EzsignfolderReorderV2Request( + a_obj_ezsigndocument = [ + eZmaxApi.models.custom_ezsigndocument_request.Custom-Ezsigndocument-Request( + pki_ezsigndocument_id = 97, + a_obj_ezsigndocumentdependency = [ + eZmaxApi.models.ezsigndocumentdependency_request_compound.ezsigndocumentdependency-RequestCompound() + ], ) + ], + ) + """ + + def testEzsignfolderReorderV2Request(self): + """Test EzsignfolderReorderV2Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_reorder_v2_response.py b/test/test_ezsignfolder_reorder_v2_response.py new file mode 100644 index 000000000..ae9ac3b75 --- /dev/null +++ b/test/test_ezsignfolder_reorder_v2_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_reorder_v2_response import EzsignfolderReorderV2Response + +class TestEzsignfolderReorderV2Response(unittest.TestCase): + """EzsignfolderReorderV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderReorderV2Response: + """Test EzsignfolderReorderV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderReorderV2Response` + """ + model = EzsignfolderReorderV2Response() + if include_optional: + return EzsignfolderReorderV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsignfolderReorderV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsignfolderReorderV2Response(self): + """Test EzsignfolderReorderV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_request.py b/test/test_ezsignfolder_request.py index 76c9e6a45..9fa12be78 100644 --- a/test/test_ezsignfolder_request.py +++ b/test/test_ezsignfolder_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderRequest: """Test EzsignfolderRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderRequest` @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> EzsignfolderRequest: return EzsignfolderRequest( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, + fki_timezone_id = 247, fki_ezsigntsarequirement_id = 1, s_ezsignfolder_description = 'Test eZsign Folder', t_ezsignfolder_note = 'This is a note', diff --git a/test/test_ezsignfolder_request_compound.py b/test/test_ezsignfolder_request_compound.py index ce3633cbe..7facd3480 100644 --- a/test/test_ezsignfolder_request_compound.py +++ b/test/test_ezsignfolder_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderRequestCompound: """Test EzsignfolderRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderRequestCompound` @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> EzsignfolderRequestCompound: return EzsignfolderRequestCompound( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, + fki_timezone_id = 247, fki_ezsigntsarequirement_id = 1, s_ezsignfolder_description = 'Test eZsign Folder', t_ezsignfolder_note = 'This is a note', diff --git a/test/test_ezsignfolder_request_compound_v3.py b/test/test_ezsignfolder_request_compound_v3.py new file mode 100644 index 000000000..dbf393e74 --- /dev/null +++ b/test/test_ezsignfolder_request_compound_v3.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_request_compound_v3 import EzsignfolderRequestCompoundV3 + +class TestEzsignfolderRequestCompoundV3(unittest.TestCase): + """EzsignfolderRequestCompoundV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderRequestCompoundV3: + """Test EzsignfolderRequestCompoundV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderRequestCompoundV3` + """ + model = EzsignfolderRequestCompoundV3() + if include_optional: + return EzsignfolderRequestCompoundV3( + pki_ezsignfolder_id = 33, + fki_ezsignfoldertype_id = 5, + fki_timezone_id = 247, + fki_ezsigntsarequirement_id = 1, + e_ezsignfolder_documentdependency = 'All', + s_ezsignfolder_description = 'Test eZsign Folder', + t_ezsignfolder_note = 'This is a note', + t_ezsignfolder_message = 'Hi everyone, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}' + ) + else: + return EzsignfolderRequestCompoundV3( + fki_ezsignfoldertype_id = 5, + s_ezsignfolder_description = 'Test eZsign Folder', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + ) + """ + + def testEzsignfolderRequestCompoundV3(self): + """Test EzsignfolderRequestCompoundV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_request_v3.py b/test/test_ezsignfolder_request_v3.py new file mode 100644 index 000000000..8c74e2c8f --- /dev/null +++ b/test/test_ezsignfolder_request_v3.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_request_v3 import EzsignfolderRequestV3 + +class TestEzsignfolderRequestV3(unittest.TestCase): + """EzsignfolderRequestV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderRequestV3: + """Test EzsignfolderRequestV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderRequestV3` + """ + model = EzsignfolderRequestV3() + if include_optional: + return EzsignfolderRequestV3( + pki_ezsignfolder_id = 33, + fki_ezsignfoldertype_id = 5, + fki_timezone_id = 247, + fki_ezsigntsarequirement_id = 1, + e_ezsignfolder_documentdependency = 'All', + s_ezsignfolder_description = 'Test eZsign Folder', + t_ezsignfolder_note = 'This is a note', + t_ezsignfolder_message = 'Hi everyone, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}' + ) + else: + return EzsignfolderRequestV3( + fki_ezsignfoldertype_id = 5, + s_ezsignfolder_description = 'Test eZsign Folder', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + ) + """ + + def testEzsignfolderRequestV3(self): + """Test EzsignfolderRequestV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_response.py b/test/test_ezsignfolder_response.py index b8fe471ea..c9dc100ff 100644 --- a/test/test_ezsignfolder_response.py +++ b/test/test_ezsignfolder_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderResponse: """Test EzsignfolderResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderResponse` @@ -39,6 +39,7 @@ def make_instance(self, include_optional) -> EzsignfolderResponse: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -49,6 +50,8 @@ def make_instance(self, include_optional) -> EzsignfolderResponse: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', diff --git a/test/test_ezsignfolder_response_compound.py b/test/test_ezsignfolder_response_compound.py index ba8269329..4003c2413 100644 --- a/test/test_ezsignfolder_response_compound.py +++ b/test/test_ezsignfolder_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderResponseCompound: """Test EzsignfolderResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderResponseCompound` @@ -39,6 +39,7 @@ def make_instance(self, include_optional) -> EzsignfolderResponseCompound: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -49,6 +50,8 @@ def make_instance(self, include_optional) -> EzsignfolderResponseCompound: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', @@ -82,7 +85,10 @@ def make_instance(self, include_optional) -> EzsignfolderResponseCompound: s_user_firstname = 'John', s_apikey_description_x = 'Project X', dt_auditdetail_date = '2020-12-31 23:59:59', ), ), - s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}' + s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', + obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( + s_timezone_name = '', + s_code = 'EST', ) ) else: return EzsignfolderResponseCompound( diff --git a/test/test_ezsignfolder_response_compound_v3.py b/test/test_ezsignfolder_response_compound_v3.py new file mode 100644 index 000000000..cae7de530 --- /dev/null +++ b/test/test_ezsignfolder_response_compound_v3.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_response_compound_v3 import EzsignfolderResponseCompoundV3 + +class TestEzsignfolderResponseCompoundV3(unittest.TestCase): + """EzsignfolderResponseCompoundV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderResponseCompoundV3: + """Test EzsignfolderResponseCompoundV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderResponseCompoundV3` + """ + model = EzsignfolderResponseCompoundV3() + if include_optional: + return EzsignfolderResponseCompoundV3( + pki_ezsignfolder_id = 33, + fki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, + e_ezsignfolder_completion = 'PerEzsigndocument', + e_ezsignfolder_documentdependency = 'All', + s_ezsignfoldertype_name_x = '', + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + fki_ezsigntsarequirement_id = 1, + s_ezsigntsarequirement_description_x = 'No', + s_ezsignfolder_description = 'Test eZsign Folder', + t_ezsignfolder_note = 'This is a note', + b_ezsignfolder_isdisposable = False, + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', + dt_ezsignfolder_duedate = '2020-12-31 23:59:59', + dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', + dt_ezsignfolder_scheduledarchive = '2020-12-31 23:59:59', + dt_ezsignfolder_scheduleddispose = '2020-12-31', + e_ezsignfolder_step = 'Completed', + dt_ezsignfolder_close = '2020-12-31 23:59:59', + t_ezsignfolder_message = 'Hi everyone, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', + e_ezsignfolder_access = 'Full', + obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( + s_timezone_name = '', + s_code = 'EST', ) + ) + else: + return EzsignfolderResponseCompoundV3( + pki_ezsignfolder_id = 33, + e_ezsignfolder_completion = 'PerEzsigndocument', + s_ezsignfolder_description = 'Test eZsign Folder', + ) + """ + + def testEzsignfolderResponseCompoundV3(self): + """Test EzsignfolderResponseCompoundV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_response_v3.py b/test/test_ezsignfolder_response_v3.py new file mode 100644 index 000000000..4707956f5 --- /dev/null +++ b/test/test_ezsignfolder_response_v3.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfolder_response_v3 import EzsignfolderResponseV3 + +class TestEzsignfolderResponseV3(unittest.TestCase): + """EzsignfolderResponseV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderResponseV3: + """Test EzsignfolderResponseV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfolderResponseV3` + """ + model = EzsignfolderResponseV3() + if include_optional: + return EzsignfolderResponseV3( + pki_ezsignfolder_id = 33, + fki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, + e_ezsignfolder_completion = 'PerEzsigndocument', + e_ezsignfolder_documentdependency = 'All', + s_ezsignfoldertype_name_x = '', + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + fki_ezsigntsarequirement_id = 1, + s_ezsigntsarequirement_description_x = 'No', + s_ezsignfolder_description = 'Test eZsign Folder', + t_ezsignfolder_note = 'This is a note', + b_ezsignfolder_isdisposable = False, + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', + dt_ezsignfolder_duedate = '2020-12-31 23:59:59', + dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', + dt_ezsignfolder_scheduledarchive = '2020-12-31 23:59:59', + dt_ezsignfolder_scheduleddispose = '2020-12-31', + e_ezsignfolder_step = 'Completed', + dt_ezsignfolder_close = '2020-12-31 23:59:59', + t_ezsignfolder_message = 'Hi everyone, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', + e_ezsignfolder_access = 'Full' + ) + else: + return EzsignfolderResponseV3( + pki_ezsignfolder_id = 33, + e_ezsignfolder_completion = 'PerEzsigndocument', + s_ezsignfolder_description = 'Test eZsign Folder', + ) + """ + + def testEzsignfolderResponseV3(self): + """Test EzsignfolderResponseV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfolder_send_v1_request.py b/test/test_ezsignfolder_send_v1_request.py index d1ecf5b2b..8b792b3f2 100644 --- a/test/test_ezsignfolder_send_v1_request.py +++ b/test/test_ezsignfolder_send_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderSendV1Request: """Test EzsignfolderSendV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderSendV1Request` diff --git a/test/test_ezsignfolder_send_v1_response.py b/test/test_ezsignfolder_send_v1_response.py index 4c5d7739c..1e6aa0407 100644 --- a/test/test_ezsignfolder_send_v1_response.py +++ b/test/test_ezsignfolder_send_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderSendV1Response: """Test EzsignfolderSendV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderSendV1Response` diff --git a/test/test_ezsignfolder_send_v3_request.py b/test/test_ezsignfolder_send_v3_request.py index b243b62a7..ca8fe0e29 100644 --- a/test/test_ezsignfolder_send_v3_request.py +++ b/test/test_ezsignfolder_send_v3_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderSendV3Request: """Test EzsignfolderSendV3Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderSendV3Request` @@ -45,6 +45,7 @@ def make_instance(self, include_optional) -> EzsignfolderSendV3Request: Best Regards. Mary', + e_ezsignfolder_messageorder = 'GlobalFirst', dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', a_fki_ezsignfoldersignerassociation_id = [ 20 diff --git a/test/test_ezsignfolder_send_v3_response.py b/test/test_ezsignfolder_send_v3_response.py index 79a444cfe..822bd2ae4 100644 --- a/test/test_ezsignfolder_send_v3_response.py +++ b/test/test_ezsignfolder_send_v3_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderSendV3Response: """Test EzsignfolderSendV3Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderSendV3Response` diff --git a/test/test_ezsignfolder_unsend_v1_response.py b/test/test_ezsignfolder_unsend_v1_response.py index 4a5c8d55f..1ecfc6c5a 100644 --- a/test/test_ezsignfolder_unsend_v1_response.py +++ b/test/test_ezsignfolder_unsend_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfolderUnsendV1Response: """Test EzsignfolderUnsendV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfolderUnsendV1Response` diff --git a/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_request.py b/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_request.py index 22315a3d4..a0400971c 100644 --- a/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_request.py +++ b/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreateEmbeddedUrlV1Request: """Test EzsignfoldersignerassociationCreateEmbeddedUrlV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationCreateEmbeddedUrlV1Request` diff --git a/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response.py b/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response.py index e8eb4fabf..3577e7b71 100644 --- a/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreateEmbeddedUrlV1Response: """Test EzsignfoldersignerassociationCreateEmbeddedUrlV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationCreateEmbeddedUrlV1Response` diff --git a/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload.py b/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload.py index b49978ebc..c4038dd86 100644 --- a/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload.py +++ b/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload: """Test EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload` diff --git a/test/test_ezsignfoldersignerassociation_create_object_v1_request.py b/test/test_ezsignfoldersignerassociation_create_object_v1_request.py index 8c5deaa50..1f4010dba 100644 --- a/test/test_ezsignfoldersignerassociation_create_object_v1_request.py +++ b/test/test_ezsignfoldersignerassociation_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreateObjectV1Request: """Test EzsignfoldersignerassociationCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationCreateObjectV1Request` diff --git a/test/test_ezsignfoldersignerassociation_create_object_v1_response.py b/test/test_ezsignfoldersignerassociation_create_object_v1_response.py index 5f228bb68..b3118ed1d 100644 --- a/test/test_ezsignfoldersignerassociation_create_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreateObjectV1Response: """Test EzsignfoldersignerassociationCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationCreateObjectV1Response` diff --git a/test/test_ezsignfoldersignerassociation_create_object_v1_response_m_payload.py b/test/test_ezsignfoldersignerassociation_create_object_v1_response_m_payload.py index 5e6eb54f5..2d8d91b52 100644 --- a/test/test_ezsignfoldersignerassociation_create_object_v1_response_m_payload.py +++ b/test/test_ezsignfoldersignerassociation_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreateObjectV1ResponseMPayload: """Test EzsignfoldersignerassociationCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsignfoldersignerassociation_create_object_v2_request.py b/test/test_ezsignfoldersignerassociation_create_object_v2_request.py index b8b04266c..8d38dc08f 100644 --- a/test/test_ezsignfoldersignerassociation_create_object_v2_request.py +++ b/test/test_ezsignfoldersignerassociation_create_object_v2_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreateObjectV2Request: """Test EzsignfoldersignerassociationCreateObjectV2Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationCreateObjectV2Request` diff --git a/test/test_ezsignfoldersignerassociation_create_object_v2_response.py b/test/test_ezsignfoldersignerassociation_create_object_v2_response.py index a38ff5750..f413f47d1 100644 --- a/test/test_ezsignfoldersignerassociation_create_object_v2_response.py +++ b/test/test_ezsignfoldersignerassociation_create_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreateObjectV2Response: """Test EzsignfoldersignerassociationCreateObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationCreateObjectV2Response` diff --git a/test/test_ezsignfoldersignerassociation_create_object_v2_response_m_payload.py b/test/test_ezsignfoldersignerassociation_create_object_v2_response_m_payload.py index 28cf0a3da..e467d7428 100644 --- a/test/test_ezsignfoldersignerassociation_create_object_v2_response_m_payload.py +++ b/test/test_ezsignfoldersignerassociation_create_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreateObjectV2ResponseMPayload: """Test EzsignfoldersignerassociationCreateObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationCreateObjectV2ResponseMPayload` diff --git a/test/test_ezsignfoldersignerassociation_delete_object_v1_response.py b/test/test_ezsignfoldersignerassociation_delete_object_v1_response.py index 69e43cd03..c73f6a904 100644 --- a/test/test_ezsignfoldersignerassociation_delete_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationDeleteObjectV1Response: """Test EzsignfoldersignerassociationDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationDeleteObjectV1Response` diff --git a/test/test_ezsignfoldersignerassociation_edit_object_v1_request.py b/test/test_ezsignfoldersignerassociation_edit_object_v1_request.py index 4f18c6025..fc9e75129 100644 --- a/test/test_ezsignfoldersignerassociation_edit_object_v1_request.py +++ b/test/test_ezsignfoldersignerassociation_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationEditObjectV1Request: """Test EzsignfoldersignerassociationEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationEditObjectV1Request` diff --git a/test/test_ezsignfoldersignerassociation_edit_object_v1_response.py b/test/test_ezsignfoldersignerassociation_edit_object_v1_response.py index 4ca0c6d63..f083197dc 100644 --- a/test/test_ezsignfoldersignerassociation_edit_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationEditObjectV1Response: """Test EzsignfoldersignerassociationEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationEditObjectV1Response` diff --git a/test/test_ezsignfoldersignerassociation_force_disconnect_v1_response.py b/test/test_ezsignfoldersignerassociation_force_disconnect_v1_response.py index 1b30c5384..6d89a9dbe 100644 --- a/test/test_ezsignfoldersignerassociation_force_disconnect_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_force_disconnect_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationForceDisconnectV1Response: """Test EzsignfoldersignerassociationForceDisconnectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationForceDisconnectV1Response` diff --git a/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py b/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py index b5a6fc20a..5a2b7276b 100644 --- a/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetInPersonLoginUrlV1Response: """Test EzsignfoldersignerassociationGetInPersonLoginUrlV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationGetInPersonLoginUrlV1Response` diff --git a/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload.py b/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload.py index 3a13cd18b..655c9c08a 100644 --- a/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload.py +++ b/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload: """Test EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload` diff --git a/test/test_ezsignfoldersignerassociation_get_object_v1_response.py b/test/test_ezsignfoldersignerassociation_get_object_v1_response.py index 4df4ae692..e9cc28b2f 100644 --- a/test/test_ezsignfoldersignerassociation_get_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_get_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetObjectV1Response: """Test EzsignfoldersignerassociationGetObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationGetObjectV1Response` diff --git a/test/test_ezsignfoldersignerassociation_get_object_v1_response_m_payload.py b/test/test_ezsignfoldersignerassociation_get_object_v1_response_m_payload.py index acbc33600..79830fb69 100644 --- a/test/test_ezsignfoldersignerassociation_get_object_v1_response_m_payload.py +++ b/test/test_ezsignfoldersignerassociation_get_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetObjectV1ResponseMPayload: """Test EzsignfoldersignerassociationGetObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationGetObjectV1ResponseMPayload` diff --git a/test/test_ezsignfoldersignerassociation_get_object_v2_response.py b/test/test_ezsignfoldersignerassociation_get_object_v2_response.py index 8060cbbd9..958108a20 100644 --- a/test/test_ezsignfoldersignerassociation_get_object_v2_response.py +++ b/test/test_ezsignfoldersignerassociation_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetObjectV2Response: """Test EzsignfoldersignerassociationGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationGetObjectV2Response` diff --git a/test/test_ezsignfoldersignerassociation_get_object_v2_response_m_payload.py b/test/test_ezsignfoldersignerassociation_get_object_v2_response_m_payload.py index 715641836..0a4b92af8 100644 --- a/test/test_ezsignfoldersignerassociation_get_object_v2_response_m_payload.py +++ b/test/test_ezsignfoldersignerassociation_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetObjectV2ResponseMPayload: """Test EzsignfoldersignerassociationGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignfoldersignerassociation_patch_object_v1_request.py b/test/test_ezsignfoldersignerassociation_patch_object_v1_request.py index fd107226d..39ecae67a 100644 --- a/test/test_ezsignfoldersignerassociation_patch_object_v1_request.py +++ b/test/test_ezsignfoldersignerassociation_patch_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationPatchObjectV1Request: """Test EzsignfoldersignerassociationPatchObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationPatchObjectV1Request` diff --git a/test/test_ezsignfoldersignerassociation_patch_object_v1_response.py b/test/test_ezsignfoldersignerassociation_patch_object_v1_response.py index 4388f1d9f..77038d365 100644 --- a/test/test_ezsignfoldersignerassociation_patch_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_patch_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationPatchObjectV1Response: """Test EzsignfoldersignerassociationPatchObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationPatchObjectV1Response` diff --git a/test/test_ezsignfoldersignerassociation_reassign_v1_request.py b/test/test_ezsignfoldersignerassociation_reassign_v1_request.py new file mode 100644 index 000000000..3b786b3e3 --- /dev/null +++ b/test/test_ezsignfoldersignerassociation_reassign_v1_request.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_request import EzsignfoldersignerassociationReassignV1Request + +class TestEzsignfoldersignerassociationReassignV1Request(unittest.TestCase): + """EzsignfoldersignerassociationReassignV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldersignerassociationReassignV1Request: + """Test EzsignfoldersignerassociationReassignV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldersignerassociationReassignV1Request` + """ + model = EzsignfoldersignerassociationReassignV1Request() + if include_optional: + return EzsignfoldersignerassociationReassignV1Request( + fki_ezsignfoldersignerassociation_id = 20 + ) + else: + return EzsignfoldersignerassociationReassignV1Request( + ) + """ + + def testEzsignfoldersignerassociationReassignV1Request(self): + """Test EzsignfoldersignerassociationReassignV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldersignerassociation_reassign_v1_response.py b/test/test_ezsignfoldersignerassociation_reassign_v1_response.py new file mode 100644 index 000000000..5cfe83341 --- /dev/null +++ b/test/test_ezsignfoldersignerassociation_reassign_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_response import EzsignfoldersignerassociationReassignV1Response + +class TestEzsignfoldersignerassociationReassignV1Response(unittest.TestCase): + """EzsignfoldersignerassociationReassignV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldersignerassociationReassignV1Response: + """Test EzsignfoldersignerassociationReassignV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldersignerassociationReassignV1Response` + """ + model = EzsignfoldersignerassociationReassignV1Response() + if include_optional: + return EzsignfoldersignerassociationReassignV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsignfoldersignerassociationReassignV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsignfoldersignerassociationReassignV1Response(self): + """Test EzsignfoldersignerassociationReassignV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldersignerassociation_request.py b/test/test_ezsignfoldersignerassociation_request.py index 2a244f2e0..85f1488fd 100644 --- a/test/test_ezsignfoldersignerassociation_request.py +++ b/test/test_ezsignfoldersignerassociation_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationRequest: """Test EzsignfoldersignerassociationRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationRequest` diff --git a/test/test_ezsignfoldersignerassociation_request_compound.py b/test/test_ezsignfoldersignerassociation_request_compound.py index bf1f44b36..8daa11965 100644 --- a/test/test_ezsignfoldersignerassociation_request_compound.py +++ b/test/test_ezsignfoldersignerassociation_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationRequestCompound: """Test EzsignfoldersignerassociationRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationRequestCompound` diff --git a/test/test_ezsignfoldersignerassociation_request_patch.py b/test/test_ezsignfoldersignerassociation_request_patch.py index 71a7b9d98..8918e5460 100644 --- a/test/test_ezsignfoldersignerassociation_request_patch.py +++ b/test/test_ezsignfoldersignerassociation_request_patch.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationRequestPatch: """Test EzsignfoldersignerassociationRequestPatch - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationRequestPatch` diff --git a/test/test_ezsignfoldersignerassociation_response.py b/test/test_ezsignfoldersignerassociation_response.py index aa8940600..e8126fdf7 100644 --- a/test/test_ezsignfoldersignerassociation_response.py +++ b/test/test_ezsignfoldersignerassociation_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationResponse: """Test EzsignfoldersignerassociationResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationResponse` diff --git a/test/test_ezsignfoldersignerassociation_response_compound.py b/test/test_ezsignfoldersignerassociation_response_compound.py index ea0312589..70651abdd 100644 --- a/test/test_ezsignfoldersignerassociation_response_compound.py +++ b/test/test_ezsignfoldersignerassociation_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationResponseCompound: """Test EzsignfoldersignerassociationResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationResponseCompound` diff --git a/test/test_ezsignfoldersignerassociation_response_compound_user.py b/test/test_ezsignfoldersignerassociation_response_compound_user.py index 07b23a1fd..6308633f1 100644 --- a/test/test_ezsignfoldersignerassociation_response_compound_user.py +++ b/test/test_ezsignfoldersignerassociation_response_compound_user.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldersignerassociationResponseCompoundUser: """Test EzsignfoldersignerassociationResponseCompoundUser - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldersignerassociationResponseCompoundUser` diff --git a/test/test_ezsignfoldertype_autocomplete_element_response.py b/test/test_ezsignfoldertype_autocomplete_element_response.py index 57bdf47bc..28e49a008 100644 --- a/test/test_ezsignfoldertype_autocomplete_element_response.py +++ b/test/test_ezsignfoldertype_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldertypeAutocompleteElementResponse: """Test EzsignfoldertypeAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldertypeAutocompleteElementResponse` diff --git a/test/test_ezsignfoldertype_create_object_v2_request.py b/test/test_ezsignfoldertype_create_object_v2_request.py deleted file mode 100644 index de71e8a56..000000000 --- a/test/test_ezsignfoldertype_create_object_v2_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_create_object_v2_request import EzsignfoldertypeCreateObjectV2Request - -class TestEzsignfoldertypeCreateObjectV2Request(unittest.TestCase): - """EzsignfoldertypeCreateObjectV2Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeCreateObjectV2Request: - """Test EzsignfoldertypeCreateObjectV2Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeCreateObjectV2Request` - """ - model = EzsignfoldertypeCreateObjectV2Request() - if include_optional: - return EzsignfoldertypeCreateObjectV2Request( - a_obj_ezsignfoldertype = [ - eZmaxApi.models.ezsignfoldertype_request_compound_v2.ezsignfoldertype-RequestCompoundV2() - ] - ) - else: - return EzsignfoldertypeCreateObjectV2Request( - a_obj_ezsignfoldertype = [ - eZmaxApi.models.ezsignfoldertype_request_compound_v2.ezsignfoldertype-RequestCompoundV2() - ], - ) - """ - - def testEzsignfoldertypeCreateObjectV2Request(self): - """Test EzsignfoldertypeCreateObjectV2Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_create_object_v2_response.py b/test/test_ezsignfoldertype_create_object_v2_response.py deleted file mode 100644 index 73bbf90c4..000000000 --- a/test/test_ezsignfoldertype_create_object_v2_response.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response import EzsignfoldertypeCreateObjectV2Response - -class TestEzsignfoldertypeCreateObjectV2Response(unittest.TestCase): - """EzsignfoldertypeCreateObjectV2Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeCreateObjectV2Response: - """Test EzsignfoldertypeCreateObjectV2Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeCreateObjectV2Response` - """ - model = EzsignfoldertypeCreateObjectV2Response() - if include_optional: - return EzsignfoldertypeCreateObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsignfoldertype_create_object_v2_response_m_payload.ezsignfoldertype-createObject-v2-Response-mPayload( - a_pki_ezsignfoldertype_id = [ - 5 - ], ) - ) - else: - return EzsignfoldertypeCreateObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsignfoldertype_create_object_v2_response_m_payload.ezsignfoldertype-createObject-v2-Response-mPayload( - a_pki_ezsignfoldertype_id = [ - 5 - ], ), - ) - """ - - def testEzsignfoldertypeCreateObjectV2Response(self): - """Test EzsignfoldertypeCreateObjectV2Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_create_object_v2_response_m_payload.py b/test/test_ezsignfoldertype_create_object_v2_response_m_payload.py deleted file mode 100644 index 7f1d62e60..000000000 --- a/test/test_ezsignfoldertype_create_object_v2_response_m_payload.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_create_object_v2_response_m_payload import EzsignfoldertypeCreateObjectV2ResponseMPayload - -class TestEzsignfoldertypeCreateObjectV2ResponseMPayload(unittest.TestCase): - """EzsignfoldertypeCreateObjectV2ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeCreateObjectV2ResponseMPayload: - """Test EzsignfoldertypeCreateObjectV2ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeCreateObjectV2ResponseMPayload` - """ - model = EzsignfoldertypeCreateObjectV2ResponseMPayload() - if include_optional: - return EzsignfoldertypeCreateObjectV2ResponseMPayload( - a_pki_ezsignfoldertype_id = [ - 5 - ] - ) - else: - return EzsignfoldertypeCreateObjectV2ResponseMPayload( - a_pki_ezsignfoldertype_id = [ - 5 - ], - ) - """ - - def testEzsignfoldertypeCreateObjectV2ResponseMPayload(self): - """Test EzsignfoldertypeCreateObjectV2ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_create_object_v3_request.py b/test/test_ezsignfoldertype_create_object_v3_request.py new file mode 100644 index 000000000..714b25f55 --- /dev/null +++ b/test/test_ezsignfoldertype_create_object_v3_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_create_object_v3_request import EzsignfoldertypeCreateObjectV3Request + +class TestEzsignfoldertypeCreateObjectV3Request(unittest.TestCase): + """EzsignfoldertypeCreateObjectV3Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeCreateObjectV3Request: + """Test EzsignfoldertypeCreateObjectV3Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeCreateObjectV3Request` + """ + model = EzsignfoldertypeCreateObjectV3Request() + if include_optional: + return EzsignfoldertypeCreateObjectV3Request( + a_obj_ezsignfoldertype = [ + eZmaxApi.models.ezsignfoldertype_request_compound_v3.ezsignfoldertype-RequestCompoundV3() + ] + ) + else: + return EzsignfoldertypeCreateObjectV3Request( + a_obj_ezsignfoldertype = [ + eZmaxApi.models.ezsignfoldertype_request_compound_v3.ezsignfoldertype-RequestCompoundV3() + ], + ) + """ + + def testEzsignfoldertypeCreateObjectV3Request(self): + """Test EzsignfoldertypeCreateObjectV3Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldertype_create_object_v3_response.py b/test/test_ezsignfoldertype_create_object_v3_response.py new file mode 100644 index 000000000..7e373e072 --- /dev/null +++ b/test/test_ezsignfoldertype_create_object_v3_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response import EzsignfoldertypeCreateObjectV3Response + +class TestEzsignfoldertypeCreateObjectV3Response(unittest.TestCase): + """EzsignfoldertypeCreateObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeCreateObjectV3Response: + """Test EzsignfoldertypeCreateObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeCreateObjectV3Response` + """ + model = EzsignfoldertypeCreateObjectV3Response() + if include_optional: + return EzsignfoldertypeCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignfoldertype_create_object_v3_response_m_payload.ezsignfoldertype-createObject-v3-Response-mPayload( + a_pki_ezsignfoldertype_id = [ + 5 + ], ) + ) + else: + return EzsignfoldertypeCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignfoldertype_create_object_v3_response_m_payload.ezsignfoldertype-createObject-v3-Response-mPayload( + a_pki_ezsignfoldertype_id = [ + 5 + ], ), + ) + """ + + def testEzsignfoldertypeCreateObjectV3Response(self): + """Test EzsignfoldertypeCreateObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldertype_create_object_v3_response_m_payload.py b/test/test_ezsignfoldertype_create_object_v3_response_m_payload.py new file mode 100644 index 000000000..00ced30c7 --- /dev/null +++ b/test/test_ezsignfoldertype_create_object_v3_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_create_object_v3_response_m_payload import EzsignfoldertypeCreateObjectV3ResponseMPayload + +class TestEzsignfoldertypeCreateObjectV3ResponseMPayload(unittest.TestCase): + """EzsignfoldertypeCreateObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeCreateObjectV3ResponseMPayload: + """Test EzsignfoldertypeCreateObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeCreateObjectV3ResponseMPayload` + """ + model = EzsignfoldertypeCreateObjectV3ResponseMPayload() + if include_optional: + return EzsignfoldertypeCreateObjectV3ResponseMPayload( + a_pki_ezsignfoldertype_id = [ + 5 + ] + ) + else: + return EzsignfoldertypeCreateObjectV3ResponseMPayload( + a_pki_ezsignfoldertype_id = [ + 5 + ], + ) + """ + + def testEzsignfoldertypeCreateObjectV3ResponseMPayload(self): + """Test EzsignfoldertypeCreateObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldertype_edit_object_v1_request.py b/test/test_ezsignfoldertype_edit_object_v1_request.py deleted file mode 100644 index 4a41ab69e..000000000 --- a/test/test_ezsignfoldertype_edit_object_v1_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_request import EzsignfoldertypeEditObjectV1Request - -class TestEzsignfoldertypeEditObjectV1Request(unittest.TestCase): - """EzsignfoldertypeEditObjectV1Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeEditObjectV1Request: - """Test EzsignfoldertypeEditObjectV1Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeEditObjectV1Request` - """ - model = EzsignfoldertypeEditObjectV1Request() - if include_optional: - return EzsignfoldertypeEditObjectV1Request( - obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_request_compound.ezsignfoldertype-RequestCompound() - ) - else: - return EzsignfoldertypeEditObjectV1Request( - obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_request_compound.ezsignfoldertype-RequestCompound(), - ) - """ - - def testEzsignfoldertypeEditObjectV1Request(self): - """Test EzsignfoldertypeEditObjectV1Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_edit_object_v1_response.py b/test/test_ezsignfoldertype_edit_object_v1_response.py deleted file mode 100644 index 5ff714cd0..000000000 --- a/test/test_ezsignfoldertype_edit_object_v1_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_edit_object_v1_response import EzsignfoldertypeEditObjectV1Response - -class TestEzsignfoldertypeEditObjectV1Response(unittest.TestCase): - """EzsignfoldertypeEditObjectV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeEditObjectV1Response: - """Test EzsignfoldertypeEditObjectV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeEditObjectV1Response` - """ - model = EzsignfoldertypeEditObjectV1Response() - if include_optional: - return EzsignfoldertypeEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} - ) - else: - return EzsignfoldertypeEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - ) - """ - - def testEzsignfoldertypeEditObjectV1Response(self): - """Test EzsignfoldertypeEditObjectV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_edit_object_v2_request.py b/test/test_ezsignfoldertype_edit_object_v2_request.py deleted file mode 100644 index be4238f17..000000000 --- a/test/test_ezsignfoldertype_edit_object_v2_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_request import EzsignfoldertypeEditObjectV2Request - -class TestEzsignfoldertypeEditObjectV2Request(unittest.TestCase): - """EzsignfoldertypeEditObjectV2Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeEditObjectV2Request: - """Test EzsignfoldertypeEditObjectV2Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeEditObjectV2Request` - """ - model = EzsignfoldertypeEditObjectV2Request() - if include_optional: - return EzsignfoldertypeEditObjectV2Request( - obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_request_compound_v2.ezsignfoldertype-RequestCompoundV2() - ) - else: - return EzsignfoldertypeEditObjectV2Request( - obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_request_compound_v2.ezsignfoldertype-RequestCompoundV2(), - ) - """ - - def testEzsignfoldertypeEditObjectV2Request(self): - """Test EzsignfoldertypeEditObjectV2Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_edit_object_v2_response.py b/test/test_ezsignfoldertype_edit_object_v2_response.py deleted file mode 100644 index b881cc38a..000000000 --- a/test/test_ezsignfoldertype_edit_object_v2_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_edit_object_v2_response import EzsignfoldertypeEditObjectV2Response - -class TestEzsignfoldertypeEditObjectV2Response(unittest.TestCase): - """EzsignfoldertypeEditObjectV2Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeEditObjectV2Response: - """Test EzsignfoldertypeEditObjectV2Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeEditObjectV2Response` - """ - model = EzsignfoldertypeEditObjectV2Response() - if include_optional: - return EzsignfoldertypeEditObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} - ) - else: - return EzsignfoldertypeEditObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - ) - """ - - def testEzsignfoldertypeEditObjectV2Response(self): - """Test EzsignfoldertypeEditObjectV2Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_edit_object_v3_request.py b/test/test_ezsignfoldertype_edit_object_v3_request.py new file mode 100644 index 000000000..4fdc61155 --- /dev/null +++ b/test/test_ezsignfoldertype_edit_object_v3_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_request import EzsignfoldertypeEditObjectV3Request + +class TestEzsignfoldertypeEditObjectV3Request(unittest.TestCase): + """EzsignfoldertypeEditObjectV3Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeEditObjectV3Request: + """Test EzsignfoldertypeEditObjectV3Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeEditObjectV3Request` + """ + model = EzsignfoldertypeEditObjectV3Request() + if include_optional: + return EzsignfoldertypeEditObjectV3Request( + obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_request_compound_v3.ezsignfoldertype-RequestCompoundV3() + ) + else: + return EzsignfoldertypeEditObjectV3Request( + obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_request_compound_v3.ezsignfoldertype-RequestCompoundV3(), + ) + """ + + def testEzsignfoldertypeEditObjectV3Request(self): + """Test EzsignfoldertypeEditObjectV3Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldertype_edit_object_v3_response.py b/test/test_ezsignfoldertype_edit_object_v3_response.py new file mode 100644 index 000000000..3901e2415 --- /dev/null +++ b/test/test_ezsignfoldertype_edit_object_v3_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_response import EzsignfoldertypeEditObjectV3Response + +class TestEzsignfoldertypeEditObjectV3Response(unittest.TestCase): + """EzsignfoldertypeEditObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeEditObjectV3Response: + """Test EzsignfoldertypeEditObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeEditObjectV3Response` + """ + model = EzsignfoldertypeEditObjectV3Response() + if include_optional: + return EzsignfoldertypeEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsignfoldertypeEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsignfoldertypeEditObjectV3Response(self): + """Test EzsignfoldertypeEditObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldertype_get_autocomplete_v2_response.py b/test/test_ezsignfoldertype_get_autocomplete_v2_response.py index 7babccfc3..edd0bb313 100644 --- a/test/test_ezsignfoldertype_get_autocomplete_v2_response.py +++ b/test/test_ezsignfoldertype_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldertypeGetAutocompleteV2Response: """Test EzsignfoldertypeGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldertypeGetAutocompleteV2Response` diff --git a/test/test_ezsignfoldertype_get_autocomplete_v2_response_m_payload.py b/test/test_ezsignfoldertype_get_autocomplete_v2_response_m_payload.py index b2de7b52e..64b30d5e3 100644 --- a/test/test_ezsignfoldertype_get_autocomplete_v2_response_m_payload.py +++ b/test/test_ezsignfoldertype_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldertypeGetAutocompleteV2ResponseMPayload: """Test EzsignfoldertypeGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldertypeGetAutocompleteV2ResponseMPayload` diff --git a/test/test_ezsignfoldertype_get_list_v1_response.py b/test/test_ezsignfoldertype_get_list_v1_response.py index 8c175295b..422ec271c 100644 --- a/test/test_ezsignfoldertype_get_list_v1_response.py +++ b/test/test_ezsignfoldertype_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldertypeGetListV1Response: """Test EzsignfoldertypeGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldertypeGetListV1Response` diff --git a/test/test_ezsignfoldertype_get_list_v1_response_m_payload.py b/test/test_ezsignfoldertype_get_list_v1_response_m_payload.py index e9293e5f5..02a9b8dbe 100644 --- a/test/test_ezsignfoldertype_get_list_v1_response_m_payload.py +++ b/test/test_ezsignfoldertype_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldertypeGetListV1ResponseMPayload: """Test EzsignfoldertypeGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldertypeGetListV1ResponseMPayload` diff --git a/test/test_ezsignfoldertype_get_object_v2_response.py b/test/test_ezsignfoldertype_get_object_v2_response.py index 9c0b312e5..02d3d3cf4 100644 --- a/test/test_ezsignfoldertype_get_object_v2_response.py +++ b/test/test_ezsignfoldertype_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldertypeGetObjectV2Response: """Test EzsignfoldertypeGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldertypeGetObjectV2Response` diff --git a/test/test_ezsignfoldertype_get_object_v2_response_m_payload.py b/test/test_ezsignfoldertype_get_object_v2_response_m_payload.py index f995a5820..59ebd3388 100644 --- a/test/test_ezsignfoldertype_get_object_v2_response_m_payload.py +++ b/test/test_ezsignfoldertype_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldertypeGetObjectV2ResponseMPayload: """Test EzsignfoldertypeGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldertypeGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignfoldertype_get_object_v3_response.py b/test/test_ezsignfoldertype_get_object_v3_response.py deleted file mode 100644 index 07fc7690c..000000000 --- a/test/test_ezsignfoldertype_get_object_v3_response.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response import EzsignfoldertypeGetObjectV3Response - -class TestEzsignfoldertypeGetObjectV3Response(unittest.TestCase): - """EzsignfoldertypeGetObjectV3Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeGetObjectV3Response: - """Test EzsignfoldertypeGetObjectV3Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeGetObjectV3Response` - """ - model = EzsignfoldertypeGetObjectV3Response() - if include_optional: - return EzsignfoldertypeGetObjectV3Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsignfoldertype_get_object_v3_response_m_payload.ezsignfoldertype-getObject-v3-Response-mPayload( - obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound_v3.ezsignfoldertype-ResponseCompoundV3(), ) - ) - else: - return EzsignfoldertypeGetObjectV3Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsignfoldertype_get_object_v3_response_m_payload.ezsignfoldertype-getObject-v3-Response-mPayload( - obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound_v3.ezsignfoldertype-ResponseCompoundV3(), ), - ) - """ - - def testEzsignfoldertypeGetObjectV3Response(self): - """Test EzsignfoldertypeGetObjectV3Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_get_object_v3_response_m_payload.py b/test/test_ezsignfoldertype_get_object_v3_response_m_payload.py deleted file mode 100644 index 382c5ab9b..000000000 --- a/test/test_ezsignfoldertype_get_object_v3_response_m_payload.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_get_object_v3_response_m_payload import EzsignfoldertypeGetObjectV3ResponseMPayload - -class TestEzsignfoldertypeGetObjectV3ResponseMPayload(unittest.TestCase): - """EzsignfoldertypeGetObjectV3ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeGetObjectV3ResponseMPayload: - """Test EzsignfoldertypeGetObjectV3ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeGetObjectV3ResponseMPayload` - """ - model = EzsignfoldertypeGetObjectV3ResponseMPayload() - if include_optional: - return EzsignfoldertypeGetObjectV3ResponseMPayload( - obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound_v3.ezsignfoldertype-ResponseCompoundV3() - ) - else: - return EzsignfoldertypeGetObjectV3ResponseMPayload( - obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound_v3.ezsignfoldertype-ResponseCompoundV3(), - ) - """ - - def testEzsignfoldertypeGetObjectV3ResponseMPayload(self): - """Test EzsignfoldertypeGetObjectV3ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_get_object_v4_response.py b/test/test_ezsignfoldertype_get_object_v4_response.py new file mode 100644 index 000000000..c55e99eb3 --- /dev/null +++ b/test/test_ezsignfoldertype_get_object_v4_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response import EzsignfoldertypeGetObjectV4Response + +class TestEzsignfoldertypeGetObjectV4Response(unittest.TestCase): + """EzsignfoldertypeGetObjectV4Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeGetObjectV4Response: + """Test EzsignfoldertypeGetObjectV4Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeGetObjectV4Response` + """ + model = EzsignfoldertypeGetObjectV4Response() + if include_optional: + return EzsignfoldertypeGetObjectV4Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignfoldertype_get_object_v4_response_m_payload.ezsignfoldertype-getObject-v4-Response-mPayload( + obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound_v4.ezsignfoldertype-ResponseCompoundV4(), ) + ) + else: + return EzsignfoldertypeGetObjectV4Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignfoldertype_get_object_v4_response_m_payload.ezsignfoldertype-getObject-v4-Response-mPayload( + obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound_v4.ezsignfoldertype-ResponseCompoundV4(), ), + ) + """ + + def testEzsignfoldertypeGetObjectV4Response(self): + """Test EzsignfoldertypeGetObjectV4Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldertype_get_object_v4_response_m_payload.py b/test/test_ezsignfoldertype_get_object_v4_response_m_payload.py new file mode 100644 index 000000000..a16d906d3 --- /dev/null +++ b/test/test_ezsignfoldertype_get_object_v4_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_get_object_v4_response_m_payload import EzsignfoldertypeGetObjectV4ResponseMPayload + +class TestEzsignfoldertypeGetObjectV4ResponseMPayload(unittest.TestCase): + """EzsignfoldertypeGetObjectV4ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeGetObjectV4ResponseMPayload: + """Test EzsignfoldertypeGetObjectV4ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeGetObjectV4ResponseMPayload` + """ + model = EzsignfoldertypeGetObjectV4ResponseMPayload() + if include_optional: + return EzsignfoldertypeGetObjectV4ResponseMPayload( + obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound_v4.ezsignfoldertype-ResponseCompoundV4() + ) + else: + return EzsignfoldertypeGetObjectV4ResponseMPayload( + obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound_v4.ezsignfoldertype-ResponseCompoundV4(), + ) + """ + + def testEzsignfoldertypeGetObjectV4ResponseMPayload(self): + """Test EzsignfoldertypeGetObjectV4ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldertype_list_element.py b/test/test_ezsignfoldertype_list_element.py index c309aaf0b..dfa6d1fbf 100644 --- a/test/test_ezsignfoldertype_list_element.py +++ b/test/test_ezsignfoldertype_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldertypeListElement: """Test EzsignfoldertypeListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldertypeListElement` diff --git a/test/test_ezsignfoldertype_request.py b/test/test_ezsignfoldertype_request.py deleted file mode 100644 index 0a1dcc340..000000000 --- a/test/test_ezsignfoldertype_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_request import EzsignfoldertypeRequest - -class TestEzsignfoldertypeRequest(unittest.TestCase): - """EzsignfoldertypeRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeRequest: - """Test EzsignfoldertypeRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeRequest` - """ - model = EzsignfoldertypeRequest() - if include_optional: - return EzsignfoldertypeRequest( - pki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - fki_billingentityinternal_id = 1, - fki_usergroup_id = 2, - fki_usergroup_id_restricted = 2, - fki_ezsigntsarequirement_id = 1, - s_email_address_signed = 'email@example.com', - s_email_address_summary = 'email@example.com', - e_ezsignfoldertype_privacylevel = 'User', - e_ezsignfoldertype_sendreminderfrequency = 'None', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_disposaldays = 365, - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_delegate = True, - b_ezsignfoldertype_discussion = True, - b_ezsignfoldertype_reassignezsignsigner = True, - b_ezsignfoldertype_reassignuser = True, - b_ezsignfoldertype_sendsignedtoezsignsigner = False, - b_ezsignfoldertype_sendsignedtouser = False, - b_ezsignfoldertype_sendattachmentezsignsigner = False, - b_ezsignfoldertype_sendproofezsignsigner = False, - b_ezsignfoldertype_sendattachmentuser = False, - b_ezsignfoldertype_sendproofuser = False, - b_ezsignfoldertype_sendproofemail = False, - b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, - b_ezsignfoldertype_allowdownloadproofezsignsigner = False, - b_ezsignfoldertype_sendproofreceivealldocument = False, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtofullgroup = False, - b_ezsignfoldertype_sendsignedtolimitedgroup = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytofullgroup = False, - b_ezsignfoldertype_sendsummarytolimitedgroup = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True - ) - else: - return EzsignfoldertypeRequest( - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - e_ezsignfoldertype_privacylevel = 'User', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True, - ) - """ - - def testEzsignfoldertypeRequest(self): - """Test EzsignfoldertypeRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_request_compound.py b/test/test_ezsignfoldertype_request_compound.py deleted file mode 100644 index aa070808d..000000000 --- a/test/test_ezsignfoldertype_request_compound.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_request_compound import EzsignfoldertypeRequestCompound - -class TestEzsignfoldertypeRequestCompound(unittest.TestCase): - """EzsignfoldertypeRequestCompound unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeRequestCompound: - """Test EzsignfoldertypeRequestCompound - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeRequestCompound` - """ - model = EzsignfoldertypeRequestCompound() - if include_optional: - return EzsignfoldertypeRequestCompound( - pki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - fki_billingentityinternal_id = 1, - fki_usergroup_id = 2, - fki_usergroup_id_restricted = 2, - fki_ezsigntsarequirement_id = 1, - s_email_address_signed = 'email@example.com', - s_email_address_summary = 'email@example.com', - e_ezsignfoldertype_privacylevel = 'User', - e_ezsignfoldertype_sendreminderfrequency = 'None', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_disposaldays = 365, - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_delegate = True, - b_ezsignfoldertype_discussion = True, - b_ezsignfoldertype_reassignezsignsigner = True, - b_ezsignfoldertype_reassignuser = True, - b_ezsignfoldertype_sendsignedtoezsignsigner = False, - b_ezsignfoldertype_sendsignedtouser = False, - b_ezsignfoldertype_sendattachmentezsignsigner = False, - b_ezsignfoldertype_sendproofezsignsigner = False, - b_ezsignfoldertype_sendattachmentuser = False, - b_ezsignfoldertype_sendproofuser = False, - b_ezsignfoldertype_sendproofemail = False, - b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, - b_ezsignfoldertype_allowdownloadproofezsignsigner = False, - b_ezsignfoldertype_sendproofreceivealldocument = False, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtofullgroup = False, - b_ezsignfoldertype_sendsignedtolimitedgroup = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytofullgroup = False, - b_ezsignfoldertype_sendsummarytolimitedgroup = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True, - a_fki_user_id_signed = [ - 70 - ], - a_fki_user_id_summary = [ - 70 - ] - ) - else: - return EzsignfoldertypeRequestCompound( - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - e_ezsignfoldertype_privacylevel = 'User', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True, - ) - """ - - def testEzsignfoldertypeRequestCompound(self): - """Test EzsignfoldertypeRequestCompound""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_request_compound_v2.py b/test/test_ezsignfoldertype_request_compound_v2.py deleted file mode 100644 index 75edb0329..000000000 --- a/test/test_ezsignfoldertype_request_compound_v2.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_request_compound_v2 import EzsignfoldertypeRequestCompoundV2 - -class TestEzsignfoldertypeRequestCompoundV2(unittest.TestCase): - """EzsignfoldertypeRequestCompoundV2 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeRequestCompoundV2: - """Test EzsignfoldertypeRequestCompoundV2 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeRequestCompoundV2` - """ - model = EzsignfoldertypeRequestCompoundV2() - if include_optional: - return EzsignfoldertypeRequestCompoundV2( - pki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - fki_billingentityinternal_id = 1, - fki_ezsigntsarequirement_id = 1, - a_fki_userlogintype_id = [ - 2 - ], - a_fki_usergroup_id_all = [ - 2 - ], - a_fki_usergroup_id_restricted = [ - 2 - ], - a_fki_usergroup_id_template = [ - 2 - ], - s_email_address_signed = 'email@example.com', - s_email_address_summary = 'email@example.com', - e_ezsignfoldertype_privacylevel = 'User', - e_ezsignfoldertype_sendreminderfrequency = 'None', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_disposaldays = 365, - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_delegate = True, - b_ezsignfoldertype_discussion = True, - b_ezsignfoldertype_reassignezsignsigner = True, - b_ezsignfoldertype_reassignuser = True, - b_ezsignfoldertype_sendsignedtoezsignsigner = False, - b_ezsignfoldertype_sendsignedtouser = False, - b_ezsignfoldertype_sendattachmentezsignsigner = False, - b_ezsignfoldertype_sendproofezsignsigner = False, - b_ezsignfoldertype_sendattachmentuser = False, - b_ezsignfoldertype_sendproofuser = False, - b_ezsignfoldertype_sendproofemail = False, - b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, - b_ezsignfoldertype_allowdownloadproofezsignsigner = False, - b_ezsignfoldertype_sendproofreceivealldocument = False, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtofullgroup = False, - b_ezsignfoldertype_sendsignedtolimitedgroup = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytofullgroup = False, - b_ezsignfoldertype_sendsummarytolimitedgroup = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True, - a_fki_user_id_signed = [ - 70 - ], - a_fki_user_id_summary = [ - 70 - ] - ) - else: - return EzsignfoldertypeRequestCompoundV2( - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - a_fki_userlogintype_id = [ - 2 - ], - e_ezsignfoldertype_privacylevel = 'User', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True, - ) - """ - - def testEzsignfoldertypeRequestCompoundV2(self): - """Test EzsignfoldertypeRequestCompoundV2""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_request_compound_v3.py b/test/test_ezsignfoldertype_request_compound_v3.py new file mode 100644 index 000000000..59e0260e7 --- /dev/null +++ b/test/test_ezsignfoldertype_request_compound_v3.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_request_compound_v3 import EzsignfoldertypeRequestCompoundV3 + +class TestEzsignfoldertypeRequestCompoundV3(unittest.TestCase): + """EzsignfoldertypeRequestCompoundV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeRequestCompoundV3: + """Test EzsignfoldertypeRequestCompoundV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeRequestCompoundV3` + """ + model = EzsignfoldertypeRequestCompoundV3() + if include_optional: + return EzsignfoldertypeRequestCompoundV3( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + fki_billingentityinternal_id = 1, + fki_ezsigntsarequirement_id = 1, + fki_font_id_annotation = 1, + fki_font_id_formfield = 1, + fki_font_id_signature = 1, + fki_pdfalevel_id_convert = 102, + a_fki_pdfalevel_id = [ + 102 + ], + a_fki_userlogintype_id = [ + 2 + ], + a_fki_usergroup_id_all = [ + 2 + ], + a_fki_usergroup_id_restricted = [ + 2 + ], + a_fki_usergroup_id_template = [ + 2 + ], + e_ezsignfoldertype_documentdependency = 'All', + s_email_address_signed = 'email@example.com', + s_email_address_summary = 'email@example.com', + e_ezsignfoldertype_pdfarequirement = 'None', + e_ezsignfoldertype_pdfanoncompliantaction = 'Reject', + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_fontsizeannotation = 10, + i_ezsignfoldertype_fontsizeformfield = 12, + i_ezsignfoldertype_sendreminderfirstdays = 30, + i_ezsignfoldertype_sendreminderotherdays = 30, + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_disposaldays = 365, + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_prematurelyendautomatically = True, + i_ezsignfoldertype_prematurelyendautomaticallydays = 5, + b_ezsignfoldertype_automaticsignature = False, + b_ezsignfoldertype_delegate = True, + b_ezsignfoldertype_discussion = True, + b_ezsignfoldertype_logrecipientinproof = False, + b_ezsignfoldertype_reassignezsignsigner = True, + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + b_ezsignfoldertype_sendsignedtoezsignsigner = False, + b_ezsignfoldertype_sendsignedtouser = False, + b_ezsignfoldertype_sendattachmentezsignsigner = False, + b_ezsignfoldertype_sendproofezsignsigner = False, + b_ezsignfoldertype_sendattachmentuser = False, + b_ezsignfoldertype_sendproofuser = False, + b_ezsignfoldertype_sendproofemail = False, + b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, + b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_sendproofreceivealldocument = False, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtofullgroup = False, + b_ezsignfoldertype_sendsignedtolimitedgroup = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytofullgroup = False, + b_ezsignfoldertype_sendsummarytolimitedgroup = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + e_ezsignfoldertype_signeraccess = 'No', + b_ezsignfoldertype_isactive = True, + a_fki_user_id_signed = [ + 70 + ], + a_fki_user_id_summary = [ + 70 + ] + ) + else: + return EzsignfoldertypeRequestCompoundV3( + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + a_fki_userlogintype_id = [ + 2 + ], + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + b_ezsignfoldertype_isactive = True, + ) + """ + + def testEzsignfoldertypeRequestCompoundV3(self): + """Test EzsignfoldertypeRequestCompoundV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldertype_request_v2.py b/test/test_ezsignfoldertype_request_v2.py deleted file mode 100644 index db8cb7b8d..000000000 --- a/test/test_ezsignfoldertype_request_v2.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_request_v2 import EzsignfoldertypeRequestV2 - -class TestEzsignfoldertypeRequestV2(unittest.TestCase): - """EzsignfoldertypeRequestV2 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeRequestV2: - """Test EzsignfoldertypeRequestV2 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeRequestV2` - """ - model = EzsignfoldertypeRequestV2() - if include_optional: - return EzsignfoldertypeRequestV2( - pki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - fki_billingentityinternal_id = 1, - fki_ezsigntsarequirement_id = 1, - a_fki_userlogintype_id = [ - 2 - ], - a_fki_usergroup_id_all = [ - 2 - ], - a_fki_usergroup_id_restricted = [ - 2 - ], - a_fki_usergroup_id_template = [ - 2 - ], - s_email_address_signed = 'email@example.com', - s_email_address_summary = 'email@example.com', - e_ezsignfoldertype_privacylevel = 'User', - e_ezsignfoldertype_sendreminderfrequency = 'None', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_disposaldays = 365, - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_delegate = True, - b_ezsignfoldertype_discussion = True, - b_ezsignfoldertype_reassignezsignsigner = True, - b_ezsignfoldertype_reassignuser = True, - b_ezsignfoldertype_sendsignedtoezsignsigner = False, - b_ezsignfoldertype_sendsignedtouser = False, - b_ezsignfoldertype_sendattachmentezsignsigner = False, - b_ezsignfoldertype_sendproofezsignsigner = False, - b_ezsignfoldertype_sendattachmentuser = False, - b_ezsignfoldertype_sendproofuser = False, - b_ezsignfoldertype_sendproofemail = False, - b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, - b_ezsignfoldertype_allowdownloadproofezsignsigner = False, - b_ezsignfoldertype_sendproofreceivealldocument = False, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtofullgroup = False, - b_ezsignfoldertype_sendsignedtolimitedgroup = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytofullgroup = False, - b_ezsignfoldertype_sendsummarytolimitedgroup = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True - ) - else: - return EzsignfoldertypeRequestV2( - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - a_fki_userlogintype_id = [ - 2 - ], - e_ezsignfoldertype_privacylevel = 'User', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True, - ) - """ - - def testEzsignfoldertypeRequestV2(self): - """Test EzsignfoldertypeRequestV2""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_request_v3.py b/test/test_ezsignfoldertype_request_v3.py new file mode 100644 index 000000000..85242eb48 --- /dev/null +++ b/test/test_ezsignfoldertype_request_v3.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_request_v3 import EzsignfoldertypeRequestV3 + +class TestEzsignfoldertypeRequestV3(unittest.TestCase): + """EzsignfoldertypeRequestV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeRequestV3: + """Test EzsignfoldertypeRequestV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeRequestV3` + """ + model = EzsignfoldertypeRequestV3() + if include_optional: + return EzsignfoldertypeRequestV3( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + fki_billingentityinternal_id = 1, + fki_ezsigntsarequirement_id = 1, + fki_font_id_annotation = 1, + fki_font_id_formfield = 1, + fki_font_id_signature = 1, + fki_pdfalevel_id_convert = 102, + a_fki_pdfalevel_id = [ + 102 + ], + a_fki_userlogintype_id = [ + 2 + ], + a_fki_usergroup_id_all = [ + 2 + ], + a_fki_usergroup_id_restricted = [ + 2 + ], + a_fki_usergroup_id_template = [ + 2 + ], + e_ezsignfoldertype_documentdependency = 'All', + s_email_address_signed = 'email@example.com', + s_email_address_summary = 'email@example.com', + e_ezsignfoldertype_pdfarequirement = 'None', + e_ezsignfoldertype_pdfanoncompliantaction = 'Reject', + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_fontsizeannotation = 10, + i_ezsignfoldertype_fontsizeformfield = 12, + i_ezsignfoldertype_sendreminderfirstdays = 30, + i_ezsignfoldertype_sendreminderotherdays = 30, + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_disposaldays = 365, + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_prematurelyendautomatically = True, + i_ezsignfoldertype_prematurelyendautomaticallydays = 5, + b_ezsignfoldertype_automaticsignature = False, + b_ezsignfoldertype_delegate = True, + b_ezsignfoldertype_discussion = True, + b_ezsignfoldertype_logrecipientinproof = False, + b_ezsignfoldertype_reassignezsignsigner = True, + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + b_ezsignfoldertype_sendsignedtoezsignsigner = False, + b_ezsignfoldertype_sendsignedtouser = False, + b_ezsignfoldertype_sendattachmentezsignsigner = False, + b_ezsignfoldertype_sendproofezsignsigner = False, + b_ezsignfoldertype_sendattachmentuser = False, + b_ezsignfoldertype_sendproofuser = False, + b_ezsignfoldertype_sendproofemail = False, + b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, + b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_sendproofreceivealldocument = False, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtofullgroup = False, + b_ezsignfoldertype_sendsignedtolimitedgroup = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytofullgroup = False, + b_ezsignfoldertype_sendsummarytolimitedgroup = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + e_ezsignfoldertype_signeraccess = 'No', + b_ezsignfoldertype_isactive = True + ) + else: + return EzsignfoldertypeRequestV3( + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + a_fki_userlogintype_id = [ + 2 + ], + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + b_ezsignfoldertype_isactive = True, + ) + """ + + def testEzsignfoldertypeRequestV3(self): + """Test EzsignfoldertypeRequestV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldertype_response.py b/test/test_ezsignfoldertype_response.py index 76b342a66..c1dd90c3f 100644 --- a/test/test_ezsignfoldertype_response.py +++ b/test/test_ezsignfoldertype_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldertypeResponse: """Test EzsignfoldertypeResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldertypeResponse` @@ -59,10 +59,12 @@ def make_instance(self, include_optional) -> EzsignfoldertypeResponse: e_ezsignfoldertype_completion = 'PerEzsigndocument', i_ezsignfoldertype_disposaldays = 365, i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_automaticsignature = False, b_ezsignfoldertype_delegate = True, b_ezsignfoldertype_discussion = True, b_ezsignfoldertype_reassignezsignsigner = True, b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, b_ezsignfoldertype_sendsignedtoezsignsigner = False, b_ezsignfoldertype_sendsignedtouser = False, b_ezsignfoldertype_sendattachmentezsignsigner = False, diff --git a/test/test_ezsignfoldertype_response_compound.py b/test/test_ezsignfoldertype_response_compound.py index d3ea152f2..00a7a491c 100644 --- a/test/test_ezsignfoldertype_response_compound.py +++ b/test/test_ezsignfoldertype_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignfoldertypeResponseCompound: """Test EzsignfoldertypeResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignfoldertypeResponseCompound` @@ -59,10 +59,12 @@ def make_instance(self, include_optional) -> EzsignfoldertypeResponseCompound: e_ezsignfoldertype_completion = 'PerEzsigndocument', i_ezsignfoldertype_disposaldays = 365, i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_automaticsignature = False, b_ezsignfoldertype_delegate = True, b_ezsignfoldertype_discussion = True, b_ezsignfoldertype_reassignezsignsigner = True, b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, b_ezsignfoldertype_sendsignedtoezsignsigner = False, b_ezsignfoldertype_sendsignedtouser = False, b_ezsignfoldertype_sendattachmentezsignsigner = False, diff --git a/test/test_ezsignfoldertype_response_compound_v3.py b/test/test_ezsignfoldertype_response_compound_v3.py deleted file mode 100644 index 156ef72f2..000000000 --- a/test/test_ezsignfoldertype_response_compound_v3.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_response_compound_v3 import EzsignfoldertypeResponseCompoundV3 - -class TestEzsignfoldertypeResponseCompoundV3(unittest.TestCase): - """EzsignfoldertypeResponseCompoundV3 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeResponseCompoundV3: - """Test EzsignfoldertypeResponseCompoundV3 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeResponseCompoundV3` - """ - model = EzsignfoldertypeResponseCompoundV3() - if include_optional: - return EzsignfoldertypeResponseCompoundV3( - pki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - fki_billingentityinternal_id = 1, - fki_ezsigntsarequirement_id = 1, - s_branding_description_x = 'Company X', - s_billingentityinternal_description_x = 'Default', - s_ezsigntsarequirement_description_x = 'No', - s_email_address_signed = 'email@example.com', - s_email_address_summary = 'email@example.com', - e_ezsignfoldertype_privacylevel = 'User', - e_ezsignfoldertype_sendreminderfrequency = 'None', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_disposaldays = 365, - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_delegate = True, - b_ezsignfoldertype_discussion = True, - b_ezsignfoldertype_reassignezsignsigner = True, - b_ezsignfoldertype_reassignuser = True, - b_ezsignfoldertype_sendsignedtoezsignsigner = False, - b_ezsignfoldertype_sendsignedtouser = False, - b_ezsignfoldertype_sendattachmentezsignsigner = False, - b_ezsignfoldertype_sendproofezsignsigner = False, - b_ezsignfoldertype_sendattachmentuser = False, - b_ezsignfoldertype_sendproofuser = False, - b_ezsignfoldertype_sendproofemail = False, - b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, - b_ezsignfoldertype_allowdownloadproofezsignsigner = False, - b_ezsignfoldertype_sendproofreceivealldocument = False, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtofullgroup = False, - b_ezsignfoldertype_sendsignedtolimitedgroup = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytofullgroup = False, - b_ezsignfoldertype_sendsummarytolimitedgroup = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True, - a_obj_userlogintype = [ - eZmaxApi.models.userlogintype_response.userlogintype-Response( - pki_userlogintype_id = 2, - obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( - s_userlogintype_description1 = 'Courriel et téléphone ou SMS', - s_userlogintype_description2 = 'Email and phone or SMS', ), - s_userlogintype_description_x = 'Email and phone or SMS', ) - ], - a_obj_usergroup_all = [ - eZmaxApi.models.usergroup_response.usergroup-Response( - pki_usergroup_id = 2, - obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( - s_usergroup_name1 = 'Direction', - s_usergroup_name2 = 'Management', ), - s_usergroup_name_x = 'Administration', ) - ], - a_obj_usergroup_restricted = [ - eZmaxApi.models.usergroup_response.usergroup-Response( - pki_usergroup_id = 2, - obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( - s_usergroup_name1 = 'Direction', - s_usergroup_name2 = 'Management', ), - s_usergroup_name_x = 'Administration', ) - ], - a_obj_usergroup_template = [ - eZmaxApi.models.usergroup_response.usergroup-Response( - pki_usergroup_id = 2, - obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( - s_usergroup_name1 = 'Direction', - s_usergroup_name2 = 'Management', ), - s_usergroup_name_x = 'Administration', ) - ], - a_fki_user_id_signed = [ - 70 - ], - a_fki_user_id_summary = [ - 70 - ] - ) - else: - return EzsignfoldertypeResponseCompoundV3( - pki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - s_branding_description_x = 'Company X', - e_ezsignfoldertype_privacylevel = 'User', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True, - a_obj_userlogintype = [ - eZmaxApi.models.userlogintype_response.userlogintype-Response( - pki_userlogintype_id = 2, - obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( - s_userlogintype_description1 = 'Courriel et téléphone ou SMS', - s_userlogintype_description2 = 'Email and phone or SMS', ), - s_userlogintype_description_x = 'Email and phone or SMS', ) - ], - ) - """ - - def testEzsignfoldertypeResponseCompoundV3(self): - """Test EzsignfoldertypeResponseCompoundV3""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_response_compound_v4.py b/test/test_ezsignfoldertype_response_compound_v4.py new file mode 100644 index 000000000..6f0dc9d6f --- /dev/null +++ b/test/test_ezsignfoldertype_response_compound_v4.py @@ -0,0 +1,224 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_response_compound_v4 import EzsignfoldertypeResponseCompoundV4 + +class TestEzsignfoldertypeResponseCompoundV4(unittest.TestCase): + """EzsignfoldertypeResponseCompoundV4 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeResponseCompoundV4: + """Test EzsignfoldertypeResponseCompoundV4 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeResponseCompoundV4` + """ + model = EzsignfoldertypeResponseCompoundV4() + if include_optional: + return EzsignfoldertypeResponseCompoundV4( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + fki_billingentityinternal_id = 1, + fki_ezsigntsarequirement_id = 1, + fki_font_id_annotation = 1, + fki_font_id_formfield = 1, + fki_font_id_signature = 1, + fki_pdfalevel_id_convert = 102, + e_ezsignfoldertype_documentdependency = 'All', + s_branding_description_x = 'Company X', + s_billingentityinternal_description_x = 'Default', + s_ezsigntsarequirement_description_x = 'No', + s_email_address_signed = 'email@example.com', + s_email_address_summary = 'email@example.com', + e_ezsignfoldertype_pdfarequirement = 'None', + e_ezsignfoldertype_pdfanoncompliantaction = 'Reject', + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_fontsizeannotation = 10, + i_ezsignfoldertype_fontsizeformfield = 12, + i_ezsignfoldertype_sendreminderfirstdays = 30, + i_ezsignfoldertype_sendreminderotherdays = 30, + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_disposaldays = 365, + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_prematurelyendautomatically = True, + i_ezsignfoldertype_prematurelyendautomaticallydays = 5, + b_ezsignfoldertype_automaticsignature = False, + b_ezsignfoldertype_delegate = True, + b_ezsignfoldertype_discussion = True, + b_ezsignfoldertype_logrecipientinproof = False, + b_ezsignfoldertype_reassignezsignsigner = True, + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + b_ezsignfoldertype_sendsignedtoezsignsigner = False, + b_ezsignfoldertype_sendsignedtouser = False, + b_ezsignfoldertype_sendattachmentezsignsigner = False, + b_ezsignfoldertype_sendproofezsignsigner = False, + b_ezsignfoldertype_sendattachmentuser = False, + b_ezsignfoldertype_sendproofuser = False, + b_ezsignfoldertype_sendproofemail = False, + b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, + b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_sendproofreceivealldocument = False, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtofullgroup = False, + b_ezsignfoldertype_sendsignedtolimitedgroup = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytofullgroup = False, + b_ezsignfoldertype_sendsummarytolimitedgroup = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + e_ezsignfoldertype_signeraccess = 'No', + b_ezsignfoldertype_isactive = True, + a_fki_pdfalevel_id = [ + 102 + ], + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_response.userlogintype-Response( + pki_userlogintype_id = 2, + obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( + s_userlogintype_description1 = 'Courriel et téléphone ou SMS', + s_userlogintype_description2 = 'Email and phone or SMS', ), + s_userlogintype_description_x = 'Email and phone or SMS', ) + ], + a_obj_usergroup_all = [ + eZmaxApi.models.usergroup_response.usergroup-Response( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), ) + ], + a_obj_usergroup_restricted = [ + eZmaxApi.models.usergroup_response.usergroup-Response( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), ) + ], + a_obj_usergroup_template = [ + eZmaxApi.models.usergroup_response.usergroup-Response( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), ) + ], + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + a_fki_user_id_signed = [ + 70 + ], + a_fki_user_id_summary = [ + 70 + ] + ) + else: + return EzsignfoldertypeResponseCompoundV4( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + s_branding_description_x = 'Company X', + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + b_ezsignfoldertype_isactive = True, + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_response.userlogintype-Response( + pki_userlogintype_id = 2, + obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( + s_userlogintype_description1 = 'Courriel et téléphone ou SMS', + s_userlogintype_description2 = 'Email and phone or SMS', ), + s_userlogintype_description_x = 'Email and phone or SMS', ) + ], + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + ) + """ + + def testEzsignfoldertypeResponseCompoundV4(self): + """Test EzsignfoldertypeResponseCompoundV4""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignfoldertype_response_v3.py b/test/test_ezsignfoldertype_response_v3.py deleted file mode 100644 index d3ba0543f..000000000 --- a/test/test_ezsignfoldertype_response_v3.py +++ /dev/null @@ -1,153 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignfoldertype_response_v3 import EzsignfoldertypeResponseV3 - -class TestEzsignfoldertypeResponseV3(unittest.TestCase): - """EzsignfoldertypeResponseV3 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignfoldertypeResponseV3: - """Test EzsignfoldertypeResponseV3 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignfoldertypeResponseV3` - """ - model = EzsignfoldertypeResponseV3() - if include_optional: - return EzsignfoldertypeResponseV3( - pki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - fki_billingentityinternal_id = 1, - fki_ezsigntsarequirement_id = 1, - s_branding_description_x = 'Company X', - s_billingentityinternal_description_x = 'Default', - s_ezsigntsarequirement_description_x = 'No', - s_email_address_signed = 'email@example.com', - s_email_address_summary = 'email@example.com', - e_ezsignfoldertype_privacylevel = 'User', - e_ezsignfoldertype_sendreminderfrequency = 'None', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_disposaldays = 365, - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_delegate = True, - b_ezsignfoldertype_discussion = True, - b_ezsignfoldertype_reassignezsignsigner = True, - b_ezsignfoldertype_reassignuser = True, - b_ezsignfoldertype_sendsignedtoezsignsigner = False, - b_ezsignfoldertype_sendsignedtouser = False, - b_ezsignfoldertype_sendattachmentezsignsigner = False, - b_ezsignfoldertype_sendproofezsignsigner = False, - b_ezsignfoldertype_sendattachmentuser = False, - b_ezsignfoldertype_sendproofuser = False, - b_ezsignfoldertype_sendproofemail = False, - b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, - b_ezsignfoldertype_allowdownloadproofezsignsigner = False, - b_ezsignfoldertype_sendproofreceivealldocument = False, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtofullgroup = False, - b_ezsignfoldertype_sendsignedtolimitedgroup = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytofullgroup = False, - b_ezsignfoldertype_sendsummarytolimitedgroup = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True, - a_obj_userlogintype = [ - eZmaxApi.models.userlogintype_response.userlogintype-Response( - pki_userlogintype_id = 2, - obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( - s_userlogintype_description1 = 'Courriel et téléphone ou SMS', - s_userlogintype_description2 = 'Email and phone or SMS', ), - s_userlogintype_description_x = 'Email and phone or SMS', ) - ], - a_obj_usergroup_all = [ - eZmaxApi.models.usergroup_response.usergroup-Response( - pki_usergroup_id = 2, - obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( - s_usergroup_name1 = 'Direction', - s_usergroup_name2 = 'Management', ), - s_usergroup_name_x = 'Administration', ) - ], - a_obj_usergroup_restricted = [ - eZmaxApi.models.usergroup_response.usergroup-Response( - pki_usergroup_id = 2, - obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( - s_usergroup_name1 = 'Direction', - s_usergroup_name2 = 'Management', ), - s_usergroup_name_x = 'Administration', ) - ], - a_obj_usergroup_template = [ - eZmaxApi.models.usergroup_response.usergroup-Response( - pki_usergroup_id = 2, - obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( - s_usergroup_name1 = 'Direction', - s_usergroup_name2 = 'Management', ), - s_usergroup_name_x = 'Administration', ) - ] - ) - else: - return EzsignfoldertypeResponseV3( - pki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( - s_ezsignfoldertype_name1 = 'Embauche', - s_ezsignfoldertype_name2 = 'Recruitment', ), - fki_branding_id = 78, - s_branding_description_x = 'Company X', - e_ezsignfoldertype_privacylevel = 'User', - i_ezsignfoldertype_archivaldays = 30, - e_ezsignfoldertype_disposal = 'Manual', - e_ezsignfoldertype_completion = 'PerEzsigndocument', - i_ezsignfoldertype_deadlinedays = 5, - b_ezsignfoldertype_sendsignedtodocumentowner = False, - b_ezsignfoldertype_sendsignedtofolderowner = False, - b_ezsignfoldertype_sendsignedtocolleague = False, - b_ezsignfoldertype_sendsummarytodocumentowner = False, - b_ezsignfoldertype_sendsummarytofolderowner = False, - b_ezsignfoldertype_sendsummarytocolleague = False, - b_ezsignfoldertype_isactive = True, - a_obj_userlogintype = [ - eZmaxApi.models.userlogintype_response.userlogintype-Response( - pki_userlogintype_id = 2, - obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( - s_userlogintype_description1 = 'Courriel et téléphone ou SMS', - s_userlogintype_description2 = 'Email and phone or SMS', ), - s_userlogintype_description_x = 'Email and phone or SMS', ) - ], - ) - """ - - def testEzsignfoldertypeResponseV3(self): - """Test EzsignfoldertypeResponseV3""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignfoldertype_response_v4.py b/test/test_ezsignfoldertype_response_v4.py new file mode 100644 index 000000000..d3dabdcf5 --- /dev/null +++ b/test/test_ezsignfoldertype_response_v4.py @@ -0,0 +1,218 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignfoldertype_response_v4 import EzsignfoldertypeResponseV4 + +class TestEzsignfoldertypeResponseV4(unittest.TestCase): + """EzsignfoldertypeResponseV4 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfoldertypeResponseV4: + """Test EzsignfoldertypeResponseV4 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignfoldertypeResponseV4` + """ + model = EzsignfoldertypeResponseV4() + if include_optional: + return EzsignfoldertypeResponseV4( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + fki_billingentityinternal_id = 1, + fki_ezsigntsarequirement_id = 1, + fki_font_id_annotation = 1, + fki_font_id_formfield = 1, + fki_font_id_signature = 1, + fki_pdfalevel_id_convert = 102, + e_ezsignfoldertype_documentdependency = 'All', + s_branding_description_x = 'Company X', + s_billingentityinternal_description_x = 'Default', + s_ezsigntsarequirement_description_x = 'No', + s_email_address_signed = 'email@example.com', + s_email_address_summary = 'email@example.com', + e_ezsignfoldertype_pdfarequirement = 'None', + e_ezsignfoldertype_pdfanoncompliantaction = 'Reject', + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_fontsizeannotation = 10, + i_ezsignfoldertype_fontsizeformfield = 12, + i_ezsignfoldertype_sendreminderfirstdays = 30, + i_ezsignfoldertype_sendreminderotherdays = 30, + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_disposaldays = 365, + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_prematurelyendautomatically = True, + i_ezsignfoldertype_prematurelyendautomaticallydays = 5, + b_ezsignfoldertype_automaticsignature = False, + b_ezsignfoldertype_delegate = True, + b_ezsignfoldertype_discussion = True, + b_ezsignfoldertype_logrecipientinproof = False, + b_ezsignfoldertype_reassignezsignsigner = True, + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + b_ezsignfoldertype_sendsignedtoezsignsigner = False, + b_ezsignfoldertype_sendsignedtouser = False, + b_ezsignfoldertype_sendattachmentezsignsigner = False, + b_ezsignfoldertype_sendproofezsignsigner = False, + b_ezsignfoldertype_sendattachmentuser = False, + b_ezsignfoldertype_sendproofuser = False, + b_ezsignfoldertype_sendproofemail = False, + b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, + b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_sendproofreceivealldocument = False, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtofullgroup = False, + b_ezsignfoldertype_sendsignedtolimitedgroup = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytofullgroup = False, + b_ezsignfoldertype_sendsummarytolimitedgroup = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + e_ezsignfoldertype_signeraccess = 'No', + b_ezsignfoldertype_isactive = True, + a_fki_pdfalevel_id = [ + 102 + ], + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_response.userlogintype-Response( + pki_userlogintype_id = 2, + obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( + s_userlogintype_description1 = 'Courriel et téléphone ou SMS', + s_userlogintype_description2 = 'Email and phone or SMS', ), + s_userlogintype_description_x = 'Email and phone or SMS', ) + ], + a_obj_usergroup_all = [ + eZmaxApi.models.usergroup_response.usergroup-Response( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), ) + ], + a_obj_usergroup_restricted = [ + eZmaxApi.models.usergroup_response.usergroup-Response( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), ) + ], + a_obj_usergroup_template = [ + eZmaxApi.models.usergroup_response.usergroup-Response( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), ) + ], + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) + ) + else: + return EzsignfoldertypeResponseV4( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + s_branding_description_x = 'Company X', + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + b_ezsignfoldertype_isactive = True, + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_response.userlogintype-Response( + pki_userlogintype_id = 2, + obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( + s_userlogintype_description1 = 'Courriel et téléphone ou SMS', + s_userlogintype_description2 = 'Email and phone or SMS', ), + s_userlogintype_description_x = 'Email and phone or SMS', ) + ], + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + ) + """ + + def testEzsignfoldertypeResponseV4(self): + """Test EzsignfoldertypeResponseV4""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignformfield_request.py b/test/test_ezsignformfield_request.py index aaaa8afd4..5b113a5ea 100644 --- a/test/test_ezsignformfield_request.py +++ b/test/test_ezsignformfield_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldRequest: """Test EzsignformfieldRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldRequest` @@ -47,7 +47,9 @@ def make_instance(self, include_optional) -> EzsignformfieldRequest: b_ezsignformfield_autocomplete = True, b_ezsignformfield_selected = True, s_ezsignformfield_enteredvalue = 'Montreal', - e_ezsignformfield_dependencyrequirement = 'AllOf' + e_ezsignformfield_dependencyrequirement = 'AllOf', + e_ezsignformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_request_compound.textstylestatic-RequestCompound() ) else: return EzsignformfieldRequest( diff --git a/test/test_ezsignformfield_request_compound.py b/test/test_ezsignformfield_request_compound.py index 6933e3864..84e456209 100644 --- a/test/test_ezsignformfield_request_compound.py +++ b/test/test_ezsignformfield_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldRequestCompound: """Test EzsignformfieldRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldRequestCompound` @@ -48,6 +48,8 @@ def make_instance(self, include_optional) -> EzsignformfieldRequestCompound: b_ezsignformfield_selected = True, s_ezsignformfield_enteredvalue = 'Montreal', e_ezsignformfield_dependencyrequirement = 'AllOf', + e_ezsignformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_request_compound.textstylestatic-RequestCompound(), a_obj_ezsignelementdependency = [ eZmaxApi.models.ezsignelementdependency_request_compound.ezsignelementdependency-RequestCompound() ] diff --git a/test/test_ezsignformfield_response.py b/test/test_ezsignformfield_response.py index 4182f1db8..f29272c90 100644 --- a/test/test_ezsignformfield_response.py +++ b/test/test_ezsignformfield_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldResponse: """Test EzsignformfieldResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldResponse` @@ -47,7 +47,9 @@ def make_instance(self, include_optional) -> EzsignformfieldResponse: b_ezsignformfield_autocomplete = True, b_ezsignformfield_selected = True, s_ezsignformfield_enteredvalue = 'Montreal', - e_ezsignformfield_dependencyrequirement = 'AllOf' + e_ezsignformfield_dependencyrequirement = 'AllOf', + e_ezsignformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_response_compound.textstylestatic-ResponseCompound() ) else: return EzsignformfieldResponse( diff --git a/test/test_ezsignformfield_response_compound.py b/test/test_ezsignformfield_response_compound.py index e166f8c2a..772739e6f 100644 --- a/test/test_ezsignformfield_response_compound.py +++ b/test/test_ezsignformfield_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldResponseCompound: """Test EzsignformfieldResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldResponseCompound` @@ -48,6 +48,8 @@ def make_instance(self, include_optional) -> EzsignformfieldResponseCompound: b_ezsignformfield_selected = True, s_ezsignformfield_enteredvalue = 'Montreal', e_ezsignformfield_dependencyrequirement = 'AllOf', + e_ezsignformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_response_compound.textstylestatic-ResponseCompound(), a_obj_ezsignelementdependency = [ eZmaxApi.models.ezsignelementdependency_response_compound.ezsignelementdependency-ResponseCompound() ] diff --git a/test/test_ezsignformfieldgroup_create_object_v1_request.py b/test/test_ezsignformfieldgroup_create_object_v1_request.py index 10bfc00b9..d5ec04821 100644 --- a/test/test_ezsignformfieldgroup_create_object_v1_request.py +++ b/test/test_ezsignformfieldgroup_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupCreateObjectV1Request: """Test EzsignformfieldgroupCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupCreateObjectV1Request` diff --git a/test/test_ezsignformfieldgroup_create_object_v1_response.py b/test/test_ezsignformfieldgroup_create_object_v1_response.py index 8b7d520cd..fefce3fdb 100644 --- a/test/test_ezsignformfieldgroup_create_object_v1_response.py +++ b/test/test_ezsignformfieldgroup_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupCreateObjectV1Response: """Test EzsignformfieldgroupCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupCreateObjectV1Response` diff --git a/test/test_ezsignformfieldgroup_create_object_v1_response_m_payload.py b/test/test_ezsignformfieldgroup_create_object_v1_response_m_payload.py index 820494d63..268120bf5 100644 --- a/test/test_ezsignformfieldgroup_create_object_v1_response_m_payload.py +++ b/test/test_ezsignformfieldgroup_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupCreateObjectV1ResponseMPayload: """Test EzsignformfieldgroupCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsignformfieldgroup_delete_object_v1_response.py b/test/test_ezsignformfieldgroup_delete_object_v1_response.py index 81a6700ff..bbf85f707 100644 --- a/test/test_ezsignformfieldgroup_delete_object_v1_response.py +++ b/test/test_ezsignformfieldgroup_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupDeleteObjectV1Response: """Test EzsignformfieldgroupDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupDeleteObjectV1Response` diff --git a/test/test_ezsignformfieldgroup_edit_object_v1_request.py b/test/test_ezsignformfieldgroup_edit_object_v1_request.py index 11cabe25d..65dd0d310 100644 --- a/test/test_ezsignformfieldgroup_edit_object_v1_request.py +++ b/test/test_ezsignformfieldgroup_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupEditObjectV1Request: """Test EzsignformfieldgroupEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupEditObjectV1Request` diff --git a/test/test_ezsignformfieldgroup_edit_object_v1_response.py b/test/test_ezsignformfieldgroup_edit_object_v1_response.py index 6456527c7..08dd90d6b 100644 --- a/test/test_ezsignformfieldgroup_edit_object_v1_response.py +++ b/test/test_ezsignformfieldgroup_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupEditObjectV1Response: """Test EzsignformfieldgroupEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupEditObjectV1Response` diff --git a/test/test_ezsignformfieldgroup_get_object_v2_response.py b/test/test_ezsignformfieldgroup_get_object_v2_response.py index 511e50cc9..e7b949ec3 100644 --- a/test/test_ezsignformfieldgroup_get_object_v2_response.py +++ b/test/test_ezsignformfieldgroup_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupGetObjectV2Response: """Test EzsignformfieldgroupGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupGetObjectV2Response` diff --git a/test/test_ezsignformfieldgroup_get_object_v2_response_m_payload.py b/test/test_ezsignformfieldgroup_get_object_v2_response_m_payload.py index 6278ee524..e1be1b00b 100644 --- a/test/test_ezsignformfieldgroup_get_object_v2_response_m_payload.py +++ b/test/test_ezsignformfieldgroup_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupGetObjectV2ResponseMPayload: """Test EzsignformfieldgroupGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignformfieldgroup_request.py b/test/test_ezsignformfieldgroup_request.py index b6b5f80ef..358f63afa 100644 --- a/test/test_ezsignformfieldgroup_request.py +++ b/test/test_ezsignformfieldgroup_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupRequest: """Test EzsignformfieldgroupRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupRequest` @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupRequest: i_ezsignformfieldgroup_maxlength = 75, b_ezsignformfieldgroup_encrypted = True, s_ezsignformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsignformfieldgroup_textvalidationcustommessage = 'Phone number', t_ezsignformfieldgroup_tooltip = 'Please enter a valid email address', e_ezsignformfieldgroup_tooltipposition = 'TopLeft', e_ezsignformfieldgroup_textvalidation = 'None' diff --git a/test/test_ezsignformfieldgroup_request_compound.py b/test/test_ezsignformfieldgroup_request_compound.py index 1795faa48..fdda7a183 100644 --- a/test/test_ezsignformfieldgroup_request_compound.py +++ b/test/test_ezsignformfieldgroup_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupRequestCompound: """Test EzsignformfieldgroupRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupRequestCompound` @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupRequestCompound i_ezsignformfieldgroup_maxlength = 75, b_ezsignformfieldgroup_encrypted = True, s_ezsignformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsignformfieldgroup_textvalidationcustommessage = 'Phone number', t_ezsignformfieldgroup_tooltip = 'Please enter a valid email address', e_ezsignformfieldgroup_tooltipposition = 'TopLeft', e_ezsignformfieldgroup_textvalidation = 'None', diff --git a/test/test_ezsignformfieldgroup_response.py b/test/test_ezsignformfieldgroup_response.py index a4080926a..a834bc64c 100644 --- a/test/test_ezsignformfieldgroup_response.py +++ b/test/test_ezsignformfieldgroup_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupResponse: """Test EzsignformfieldgroupResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupResponse` @@ -50,6 +50,7 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupResponse: b_ezsignformfieldgroup_encrypted = True, e_ezsignformfieldgroup_textvalidation = 'None', s_ezsignformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsignformfieldgroup_textvalidationcustommessage = 'Phone number', t_ezsignformfieldgroup_tooltip = 'Please enter a valid email address', e_ezsignformfieldgroup_tooltipposition = 'TopLeft' ) diff --git a/test/test_ezsignformfieldgroup_response_compound.py b/test/test_ezsignformfieldgroup_response_compound.py index 218d1b5cf..d0a21c5ba 100644 --- a/test/test_ezsignformfieldgroup_response_compound.py +++ b/test/test_ezsignformfieldgroup_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupResponseCompound: """Test EzsignformfieldgroupResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupResponseCompound` @@ -50,6 +50,7 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupResponseCompoun b_ezsignformfieldgroup_encrypted = True, e_ezsignformfieldgroup_textvalidation = 'None', s_ezsignformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsignformfieldgroup_textvalidationcustommessage = 'Phone number', t_ezsignformfieldgroup_tooltip = 'Please enter a valid email address', e_ezsignformfieldgroup_tooltipposition = 'TopLeft', a_obj_ezsignformfield = [ diff --git a/test/test_ezsignformfieldgroupsigner_request.py b/test/test_ezsignformfieldgroupsigner_request.py index ead82588f..cc213147e 100644 --- a/test/test_ezsignformfieldgroupsigner_request.py +++ b/test/test_ezsignformfieldgroupsigner_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupsignerRequest: """Test EzsignformfieldgroupsignerRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupsignerRequest` diff --git a/test/test_ezsignformfieldgroupsigner_request_compound.py b/test/test_ezsignformfieldgroupsigner_request_compound.py index e16d7b866..5c87ebfaf 100644 --- a/test/test_ezsignformfieldgroupsigner_request_compound.py +++ b/test/test_ezsignformfieldgroupsigner_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupsignerRequestCompound: """Test EzsignformfieldgroupsignerRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupsignerRequestCompound` diff --git a/test/test_ezsignformfieldgroupsigner_response.py b/test/test_ezsignformfieldgroupsigner_response.py index 52ef08e78..32840de67 100644 --- a/test/test_ezsignformfieldgroupsigner_response.py +++ b/test/test_ezsignformfieldgroupsigner_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupsignerResponse: """Test EzsignformfieldgroupsignerResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupsignerResponse` diff --git a/test/test_ezsignformfieldgroupsigner_response_compound.py b/test/test_ezsignformfieldgroupsigner_response_compound.py index a9ea28c40..78496feb3 100644 --- a/test/test_ezsignformfieldgroupsigner_response_compound.py +++ b/test/test_ezsignformfieldgroupsigner_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignformfieldgroupsignerResponseCompound: """Test EzsignformfieldgroupsignerResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignformfieldgroupsignerResponseCompound` diff --git a/test/test_ezsignpage_consult_v1_response.py b/test/test_ezsignpage_consult_v1_response.py index 6da9f63f6..79558d322 100644 --- a/test/test_ezsignpage_consult_v1_response.py +++ b/test/test_ezsignpage_consult_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignpageConsultV1Response: """Test EzsignpageConsultV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignpageConsultV1Response` diff --git a/test/test_ezsignpage_response.py b/test/test_ezsignpage_response.py index 86129c06e..797f8093a 100644 --- a/test/test_ezsignpage_response.py +++ b/test/test_ezsignpage_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignpageResponse: """Test EzsignpageResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignpageResponse` diff --git a/test/test_ezsignpage_response_compound.py b/test/test_ezsignpage_response_compound.py index 12ef63cb1..9ba0e0055 100644 --- a/test/test_ezsignpage_response_compound.py +++ b/test/test_ezsignpage_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignpageResponseCompound: """Test EzsignpageResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignpageResponseCompound` diff --git a/test/test_ezsignsignature_create_object_v1_request.py b/test/test_ezsignsignature_create_object_v1_request.py index c38647c16..20395c77e 100644 --- a/test/test_ezsignsignature_create_object_v1_request.py +++ b/test/test_ezsignsignature_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV1Request: """Test EzsignsignatureCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureCreateObjectV1Request` @@ -51,12 +51,17 @@ def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV1Reques e_ezsignsignature_tooltipposition = 'TopLeft', e_ezsignsignature_font = 'Normal', fki_ezsignfoldersignerassociation_id_validation = 20, + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, b_ezsignsignature_required = True, e_ezsignsignature_attachmentnamesource = 'Description', s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_consultationtrigger = 'Manual', i_ezsignsignature_validationstep = 1, i_ezsignsignature_maxlength = 75, + s_ezsignsignature_defaultvalue = 'Foo', e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', e_ezsignsignature_dependencyrequirement = 'AllOf', ), obj_ezsignsignature_compound = eZmaxApi.models.ezsignsignature_request_compound.ezsignsignature-RequestCompound() diff --git a/test/test_ezsignsignature_create_object_v1_response.py b/test/test_ezsignsignature_create_object_v1_response.py index 5d33d2c5d..1742ca428 100644 --- a/test/test_ezsignsignature_create_object_v1_response.py +++ b/test/test_ezsignsignature_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV1Response: """Test EzsignsignatureCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureCreateObjectV1Response` diff --git a/test/test_ezsignsignature_create_object_v1_response_m_payload.py b/test/test_ezsignsignature_create_object_v1_response_m_payload.py index af2810567..fd72a69aa 100644 --- a/test/test_ezsignsignature_create_object_v1_response_m_payload.py +++ b/test/test_ezsignsignature_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV1ResponseMPayload: """Test EzsignsignatureCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsignsignature_create_object_v2_request.py b/test/test_ezsignsignature_create_object_v2_request.py index 80d25a1e3..c5e71aedd 100644 --- a/test/test_ezsignsignature_create_object_v2_request.py +++ b/test/test_ezsignsignature_create_object_v2_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV2Request: """Test EzsignsignatureCreateObjectV2Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureCreateObjectV2Request` diff --git a/test/test_ezsignsignature_create_object_v2_response.py b/test/test_ezsignsignature_create_object_v2_response.py index e5ce365c7..8fc8e88c8 100644 --- a/test/test_ezsignsignature_create_object_v2_response.py +++ b/test/test_ezsignsignature_create_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV2Response: """Test EzsignsignatureCreateObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureCreateObjectV2Response` diff --git a/test/test_ezsignsignature_create_object_v2_response_m_payload.py b/test/test_ezsignsignature_create_object_v2_response_m_payload.py index e225486c7..ef1b1bd25 100644 --- a/test/test_ezsignsignature_create_object_v2_response_m_payload.py +++ b/test/test_ezsignsignature_create_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV2ResponseMPayload: """Test EzsignsignatureCreateObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureCreateObjectV2ResponseMPayload` diff --git a/test/test_ezsignsignature_create_object_v3_request.py b/test/test_ezsignsignature_create_object_v3_request.py new file mode 100644 index 000000000..05c0ba748 --- /dev/null +++ b/test/test_ezsignsignature_create_object_v3_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignature_create_object_v3_request import EzsignsignatureCreateObjectV3Request + +class TestEzsignsignatureCreateObjectV3Request(unittest.TestCase): + """EzsignsignatureCreateObjectV3Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV3Request: + """Test EzsignsignatureCreateObjectV3Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignatureCreateObjectV3Request` + """ + model = EzsignsignatureCreateObjectV3Request() + if include_optional: + return EzsignsignatureCreateObjectV3Request( + a_obj_ezsignsignature = [ + eZmaxApi.models.ezsignsignature_request_compound_v2.ezsignsignature-RequestCompoundV2() + ] + ) + else: + return EzsignsignatureCreateObjectV3Request( + a_obj_ezsignsignature = [ + eZmaxApi.models.ezsignsignature_request_compound_v2.ezsignsignature-RequestCompoundV2() + ], + ) + """ + + def testEzsignsignatureCreateObjectV3Request(self): + """Test EzsignsignatureCreateObjectV3Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignature_create_object_v3_response.py b/test/test_ezsignsignature_create_object_v3_response.py new file mode 100644 index 000000000..ade2e5bc9 --- /dev/null +++ b/test/test_ezsignsignature_create_object_v3_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignature_create_object_v3_response import EzsignsignatureCreateObjectV3Response + +class TestEzsignsignatureCreateObjectV3Response(unittest.TestCase): + """EzsignsignatureCreateObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV3Response: + """Test EzsignsignatureCreateObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignatureCreateObjectV3Response` + """ + model = EzsignsignatureCreateObjectV3Response() + if include_optional: + return EzsignsignatureCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignsignature_create_object_v3_response_m_payload.ezsignsignature-createObject-v3-Response-mPayload( + a_pki_ezsignsignature_id = [ + 49 + ], ) + ) + else: + return EzsignsignatureCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignsignature_create_object_v3_response_m_payload.ezsignsignature-createObject-v3-Response-mPayload( + a_pki_ezsignsignature_id = [ + 49 + ], ), + ) + """ + + def testEzsignsignatureCreateObjectV3Response(self): + """Test EzsignsignatureCreateObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignature_create_object_v3_response_m_payload.py b/test/test_ezsignsignature_create_object_v3_response_m_payload.py new file mode 100644 index 000000000..4453f284f --- /dev/null +++ b/test/test_ezsignsignature_create_object_v3_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignature_create_object_v3_response_m_payload import EzsignsignatureCreateObjectV3ResponseMPayload + +class TestEzsignsignatureCreateObjectV3ResponseMPayload(unittest.TestCase): + """EzsignsignatureCreateObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV3ResponseMPayload: + """Test EzsignsignatureCreateObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignatureCreateObjectV3ResponseMPayload` + """ + model = EzsignsignatureCreateObjectV3ResponseMPayload() + if include_optional: + return EzsignsignatureCreateObjectV3ResponseMPayload( + a_pki_ezsignsignature_id = [ + 49 + ] + ) + else: + return EzsignsignatureCreateObjectV3ResponseMPayload( + a_pki_ezsignsignature_id = [ + 49 + ], + ) + """ + + def testEzsignsignatureCreateObjectV3ResponseMPayload(self): + """Test EzsignsignatureCreateObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignature_delete_object_v1_response.py b/test/test_ezsignsignature_delete_object_v1_response.py index 716a207af..dde124127 100644 --- a/test/test_ezsignsignature_delete_object_v1_response.py +++ b/test/test_ezsignsignature_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureDeleteObjectV1Response: """Test EzsignsignatureDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureDeleteObjectV1Response` diff --git a/test/test_ezsignsignature_edit_object_v1_request.py b/test/test_ezsignsignature_edit_object_v1_request.py deleted file mode 100644 index 035789a51..000000000 --- a/test/test_ezsignsignature_edit_object_v1_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignsignature_edit_object_v1_request import EzsignsignatureEditObjectV1Request - -class TestEzsignsignatureEditObjectV1Request(unittest.TestCase): - """EzsignsignatureEditObjectV1Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignsignatureEditObjectV1Request: - """Test EzsignsignatureEditObjectV1Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignsignatureEditObjectV1Request` - """ - model = EzsignsignatureEditObjectV1Request() - if include_optional: - return EzsignsignatureEditObjectV1Request( - obj_ezsignsignature = eZmaxApi.models.ezsignsignature_request_compound.ezsignsignature-RequestCompound() - ) - else: - return EzsignsignatureEditObjectV1Request( - obj_ezsignsignature = eZmaxApi.models.ezsignsignature_request_compound.ezsignsignature-RequestCompound(), - ) - """ - - def testEzsignsignatureEditObjectV1Request(self): - """Test EzsignsignatureEditObjectV1Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignsignature_edit_object_v1_response.py b/test/test_ezsignsignature_edit_object_v1_response.py deleted file mode 100644 index d9b0f003b..000000000 --- a/test/test_ezsignsignature_edit_object_v1_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignsignature_edit_object_v1_response import EzsignsignatureEditObjectV1Response - -class TestEzsignsignatureEditObjectV1Response(unittest.TestCase): - """EzsignsignatureEditObjectV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignsignatureEditObjectV1Response: - """Test EzsignsignatureEditObjectV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignsignatureEditObjectV1Response` - """ - model = EzsignsignatureEditObjectV1Response() - if include_optional: - return EzsignsignatureEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} - ) - else: - return EzsignsignatureEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - ) - """ - - def testEzsignsignatureEditObjectV1Response(self): - """Test EzsignsignatureEditObjectV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignsignature_edit_object_v2_request.py b/test/test_ezsignsignature_edit_object_v2_request.py new file mode 100644 index 000000000..6048bf4d1 --- /dev/null +++ b/test/test_ezsignsignature_edit_object_v2_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignature_edit_object_v2_request import EzsignsignatureEditObjectV2Request + +class TestEzsignsignatureEditObjectV2Request(unittest.TestCase): + """EzsignsignatureEditObjectV2Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignatureEditObjectV2Request: + """Test EzsignsignatureEditObjectV2Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignatureEditObjectV2Request` + """ + model = EzsignsignatureEditObjectV2Request() + if include_optional: + return EzsignsignatureEditObjectV2Request( + obj_ezsignsignature = eZmaxApi.models.ezsignsignature_request_compound_v2.ezsignsignature-RequestCompoundV2() + ) + else: + return EzsignsignatureEditObjectV2Request( + obj_ezsignsignature = eZmaxApi.models.ezsignsignature_request_compound_v2.ezsignsignature-RequestCompoundV2(), + ) + """ + + def testEzsignsignatureEditObjectV2Request(self): + """Test EzsignsignatureEditObjectV2Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignature_edit_object_v2_response.py b/test/test_ezsignsignature_edit_object_v2_response.py new file mode 100644 index 000000000..adc55dfba --- /dev/null +++ b/test/test_ezsignsignature_edit_object_v2_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignature_edit_object_v2_response import EzsignsignatureEditObjectV2Response + +class TestEzsignsignatureEditObjectV2Response(unittest.TestCase): + """EzsignsignatureEditObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignatureEditObjectV2Response: + """Test EzsignsignatureEditObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignatureEditObjectV2Response` + """ + model = EzsignsignatureEditObjectV2Response() + if include_optional: + return EzsignsignatureEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsignsignatureEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsignsignatureEditObjectV2Response(self): + """Test EzsignsignatureEditObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py b/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py index 66ffcb4d2..dcbce520a 100644 --- a/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py +++ b/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureGetEzsignsignatureattachmentV1Response: """Test EzsignsignatureGetEzsignsignatureattachmentV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureGetEzsignsignatureattachmentV1Response` diff --git a/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.py b/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.py index 99371fe83..10c488c78 100644 --- a/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.py +++ b/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload: """Test EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload` diff --git a/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py b/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py index c8fad812d..11723627c 100644 --- a/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureGetEzsignsignaturesAutomaticV1Response: """Test EzsignsignatureGetEzsignsignaturesAutomaticV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureGetEzsignsignaturesAutomaticV1Response` diff --git a/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.py b/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.py index 968f074bb..83b9ba475 100644 --- a/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.py +++ b/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload: """Test EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload` diff --git a/test/test_ezsignsignature_get_object_v2_response.py b/test/test_ezsignsignature_get_object_v2_response.py deleted file mode 100644 index cb95cabf2..000000000 --- a/test/test_ezsignsignature_get_object_v2_response.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignsignature_get_object_v2_response import EzsignsignatureGetObjectV2Response - -class TestEzsignsignatureGetObjectV2Response(unittest.TestCase): - """EzsignsignatureGetObjectV2Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignsignatureGetObjectV2Response: - """Test EzsignsignatureGetObjectV2Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignsignatureGetObjectV2Response` - """ - model = EzsignsignatureGetObjectV2Response() - if include_optional: - return EzsignsignatureGetObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsignsignature_get_object_v2_response_m_payload.ezsignsignature-getObject-v2-Response-mPayload( - obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound(), ) - ) - else: - return EzsignsignatureGetObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsignsignature_get_object_v2_response_m_payload.ezsignsignature-getObject-v2-Response-mPayload( - obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound(), ), - ) - """ - - def testEzsignsignatureGetObjectV2Response(self): - """Test EzsignsignatureGetObjectV2Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignsignature_get_object_v2_response_m_payload.py b/test/test_ezsignsignature_get_object_v2_response_m_payload.py deleted file mode 100644 index 047987390..000000000 --- a/test/test_ezsignsignature_get_object_v2_response_m_payload.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsignsignature_get_object_v2_response_m_payload import EzsignsignatureGetObjectV2ResponseMPayload - -class TestEzsignsignatureGetObjectV2ResponseMPayload(unittest.TestCase): - """EzsignsignatureGetObjectV2ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsignsignatureGetObjectV2ResponseMPayload: - """Test EzsignsignatureGetObjectV2ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsignsignatureGetObjectV2ResponseMPayload` - """ - model = EzsignsignatureGetObjectV2ResponseMPayload() - if include_optional: - return EzsignsignatureGetObjectV2ResponseMPayload( - obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound() - ) - else: - return EzsignsignatureGetObjectV2ResponseMPayload( - obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound(), - ) - """ - - def testEzsignsignatureGetObjectV2ResponseMPayload(self): - """Test EzsignsignatureGetObjectV2ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsignsignature_get_object_v3_response.py b/test/test_ezsignsignature_get_object_v3_response.py new file mode 100644 index 000000000..cff114ccb --- /dev/null +++ b/test/test_ezsignsignature_get_object_v3_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignature_get_object_v3_response import EzsignsignatureGetObjectV3Response + +class TestEzsignsignatureGetObjectV3Response(unittest.TestCase): + """EzsignsignatureGetObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignatureGetObjectV3Response: + """Test EzsignsignatureGetObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignatureGetObjectV3Response` + """ + model = EzsignsignatureGetObjectV3Response() + if include_optional: + return EzsignsignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignsignature_get_object_v3_response_m_payload.ezsignsignature-getObject-v3-Response-mPayload( + obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response_compound_v3.ezsignsignature-ResponseCompoundV3(), ) + ) + else: + return EzsignsignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignsignature_get_object_v3_response_m_payload.ezsignsignature-getObject-v3-Response-mPayload( + obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response_compound_v3.ezsignsignature-ResponseCompoundV3(), ), + ) + """ + + def testEzsignsignatureGetObjectV3Response(self): + """Test EzsignsignatureGetObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignature_get_object_v3_response_m_payload.py b/test/test_ezsignsignature_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..b5ae34599 --- /dev/null +++ b/test/test_ezsignsignature_get_object_v3_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignature_get_object_v3_response_m_payload import EzsignsignatureGetObjectV3ResponseMPayload + +class TestEzsignsignatureGetObjectV3ResponseMPayload(unittest.TestCase): + """EzsignsignatureGetObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignatureGetObjectV3ResponseMPayload: + """Test EzsignsignatureGetObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignatureGetObjectV3ResponseMPayload` + """ + model = EzsignsignatureGetObjectV3ResponseMPayload() + if include_optional: + return EzsignsignatureGetObjectV3ResponseMPayload( + obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response_compound_v3.ezsignsignature-ResponseCompoundV3() + ) + else: + return EzsignsignatureGetObjectV3ResponseMPayload( + obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response_compound_v3.ezsignsignature-ResponseCompoundV3(), + ) + """ + + def testEzsignsignatureGetObjectV3ResponseMPayload(self): + """Test EzsignsignatureGetObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignature_request.py b/test/test_ezsignsignature_request.py index 96434391e..eb4c9365b 100644 --- a/test/test_ezsignsignature_request.py +++ b/test/test_ezsignsignature_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureRequest: """Test EzsignsignatureRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureRequest` @@ -50,12 +50,17 @@ def make_instance(self, include_optional) -> EzsignsignatureRequest: e_ezsignsignature_tooltipposition = 'TopLeft', e_ezsignsignature_font = 'Normal', fki_ezsignfoldersignerassociation_id_validation = 20, + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, b_ezsignsignature_required = True, e_ezsignsignature_attachmentnamesource = 'Description', s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_consultationtrigger = 'Manual', i_ezsignsignature_validationstep = 1, i_ezsignsignature_maxlength = 75, + s_ezsignsignature_defaultvalue = 'Foo', e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', e_ezsignsignature_dependencyrequirement = 'AllOf' ) diff --git a/test/test_ezsignsignature_request_compound.py b/test/test_ezsignsignature_request_compound.py index 2224430cb..5229b5321 100644 --- a/test/test_ezsignsignature_request_compound.py +++ b/test/test_ezsignsignature_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureRequestCompound: """Test EzsignsignatureRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureRequestCompound` @@ -50,12 +50,17 @@ def make_instance(self, include_optional) -> EzsignsignatureRequestCompound: e_ezsignsignature_tooltipposition = 'TopLeft', e_ezsignsignature_font = 'Normal', fki_ezsignfoldersignerassociation_id_validation = 20, + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, b_ezsignsignature_required = True, e_ezsignsignature_attachmentnamesource = 'Description', s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_consultationtrigger = 'Manual', i_ezsignsignature_validationstep = 1, i_ezsignsignature_maxlength = 75, + s_ezsignsignature_defaultvalue = 'Foo', e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', e_ezsignsignature_dependencyrequirement = 'AllOf', b_ezsignsignature_customdate = True, diff --git a/test/test_ezsignsignature_request_compound_v2.py b/test/test_ezsignsignature_request_compound_v2.py new file mode 100644 index 000000000..3684efd63 --- /dev/null +++ b/test/test_ezsignsignature_request_compound_v2.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignature_request_compound_v2 import EzsignsignatureRequestCompoundV2 + +class TestEzsignsignatureRequestCompoundV2(unittest.TestCase): + """EzsignsignatureRequestCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignatureRequestCompoundV2: + """Test EzsignsignatureRequestCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignatureRequestCompoundV2` + """ + model = EzsignsignatureRequestCompoundV2() + if include_optional: + return EzsignsignatureRequestCompoundV2( + pki_ezsignsignature_id = 49, + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_width = 200, + i_ezsignsignature_height = 200, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + fki_ezsigndocument_id = 97, + t_ezsignsignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsignsignature_tooltipposition = 'TopLeft', + e_ezsignsignature_font = 'Normal', + fki_ezsignfoldersignerassociation_id_validation = 20, + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, + b_ezsignsignature_required = True, + e_ezsignsignature_attachmentnamesource = 'Description', + s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_consultationtrigger = 'Manual', + i_ezsignsignature_validationstep = 1, + i_ezsignsignature_maxlength = 75, + s_ezsignsignature_defaultvalue = 'Foo', + e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', + s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + e_ezsignsignature_dependencyrequirement = 'AllOf', + b_ezsignsignature_customdate = True, + a_obj_ezsignsignaturecustomdate = [ + eZmaxApi.models.ezsignsignaturecustomdate_request_compound_v2.ezsignsignaturecustomdate-RequestCompoundV2() + ], + a_obj_ezsignelementdependency = [ + eZmaxApi.models.ezsignelementdependency_request_compound.ezsignelementdependency-RequestCompound() + ] + ) + else: + return EzsignsignatureRequestCompoundV2( + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + fki_ezsigndocument_id = 97, + ) + """ + + def testEzsignsignatureRequestCompoundV2(self): + """Test EzsignsignatureRequestCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignature_response.py b/test/test_ezsignsignature_response.py index 17c807442..06f7df5f6 100644 --- a/test/test_ezsignsignature_response.py +++ b/test/test_ezsignsignature_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureResponse: """Test EzsignsignatureResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureResponse` @@ -40,6 +40,7 @@ def make_instance(self, include_optional) -> EzsignsignatureResponse: fki_ezsigndocument_id = 97, fki_ezsignfoldersignerassociation_id = 20, fki_ezsignsigningreason_id = 194, + fki_font_id = 1, s_ezsignsigningreason_description_x = 'I approve this document', i_ezsignpage_pagenumber = 1, i_ezsignsignature_x = 200, @@ -55,6 +56,9 @@ def make_instance(self, include_optional) -> EzsignsignatureResponse: i_ezsignsignature_validationstep = 1, s_ezsignsignature_attachmentdescription = 'Attachment', e_ezsignsignature_attachmentnamesource = 'Description', + e_ezsignsignature_consultationtrigger = 'Manual', + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, b_ezsignsignature_required = True, fki_ezsignfoldersignerassociation_id_validation = 20, dt_ezsignsignature_date = '2020-12-31 23:59:59', @@ -62,7 +66,9 @@ def make_instance(self, include_optional) -> EzsignsignatureResponse: s_ezsignsignature_description = 'Montreal', i_ezsignsignature_maxlength = 75, e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', e_ezsignsignature_dependencyrequirement = 'AllOf', + s_ezsignsignature_defaultvalue = 'Foo', s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( s_contact_firstname = 'John', diff --git a/test/test_ezsignsignature_response_compound.py b/test/test_ezsignsignature_response_compound.py index 42c532749..d0d96f620 100644 --- a/test/test_ezsignsignature_response_compound.py +++ b/test/test_ezsignsignature_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureResponseCompound: """Test EzsignsignatureResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureResponseCompound` @@ -40,6 +40,7 @@ def make_instance(self, include_optional) -> EzsignsignatureResponseCompound: fki_ezsigndocument_id = 97, fki_ezsignfoldersignerassociation_id = 20, fki_ezsignsigningreason_id = 194, + fki_font_id = 1, s_ezsignsigningreason_description_x = 'I approve this document', i_ezsignpage_pagenumber = 1, i_ezsignsignature_x = 200, @@ -55,6 +56,9 @@ def make_instance(self, include_optional) -> EzsignsignatureResponseCompound: i_ezsignsignature_validationstep = 1, s_ezsignsignature_attachmentdescription = 'Attachment', e_ezsignsignature_attachmentnamesource = 'Description', + e_ezsignsignature_consultationtrigger = 'Manual', + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, b_ezsignsignature_required = True, fki_ezsignfoldersignerassociation_id_validation = 20, dt_ezsignsignature_date = '2020-12-31 23:59:59', @@ -62,7 +66,9 @@ def make_instance(self, include_optional) -> EzsignsignatureResponseCompound: s_ezsignsignature_description = 'Montreal', i_ezsignsignature_maxlength = 75, e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', e_ezsignsignature_dependencyrequirement = 'AllOf', + s_ezsignsignature_defaultvalue = 'Foo', s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( s_contact_firstname = 'John', @@ -73,6 +79,7 @@ def make_instance(self, include_optional) -> EzsignsignatureResponseCompound: s_contact_lastname = 'Doe', s_contact_company = 'eZmax Solutions Inc.', ), obj_signature = eZmaxApi.models.signature_response_compound.signature-ResponseCompound(), + dt_ezsignsignature_date_in_folder_timezone = '2020-12-31 23:59:59', b_ezsignsignature_customdate = True, a_obj_ezsignsignaturecustomdate = [ eZmaxApi.models.ezsignsignaturecustomdate_response_compound.ezsignsignaturecustomdate-ResponseCompound() @@ -84,7 +91,10 @@ def make_instance(self, include_optional) -> EzsignsignatureResponseCompound: s_creditcardtransaction_referencenumber = '651447854715478415', ), a_obj_ezsignelementdependency = [ eZmaxApi.models.ezsignelementdependency_response_compound.ezsignelementdependency-ResponseCompound() - ] + ], + obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( + s_timezone_name = '', + s_code = 'EST', ) ) else: return EzsignsignatureResponseCompound( diff --git a/test/test_ezsignsignature_response_compound_v3.py b/test/test_ezsignsignature_response_compound_v3.py new file mode 100644 index 000000000..1d3e83adb --- /dev/null +++ b/test/test_ezsignsignature_response_compound_v3.py @@ -0,0 +1,118 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignature_response_compound_v3 import EzsignsignatureResponseCompoundV3 + +class TestEzsignsignatureResponseCompoundV3(unittest.TestCase): + """EzsignsignatureResponseCompoundV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignatureResponseCompoundV3: + """Test EzsignsignatureResponseCompoundV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignatureResponseCompoundV3` + """ + model = EzsignsignatureResponseCompoundV3() + if include_optional: + return EzsignsignatureResponseCompoundV3( + pki_ezsignsignature_id = 49, + fki_ezsigndocument_id = 97, + fki_ezsignfoldersignerassociation_id = 20, + fki_ezsignsigningreason_id = 194, + fki_font_id = 1, + s_ezsignsigningreason_description_x = 'I approve this document', + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_height = 200, + i_ezsignsignature_width = 200, + i_ezsignsignature_step = 1, + i_ezsignsignature_stepadjusted = 1, + e_ezsignsignature_type = 'Name', + t_ezsignsignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsignsignature_tooltipposition = 'TopLeft', + e_ezsignsignature_font = 'Normal', + i_ezsignsignature_validationstep = 1, + s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_attachmentnamesource = 'Description', + e_ezsignsignature_consultationtrigger = 'Manual', + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, + b_ezsignsignature_required = True, + fki_ezsignfoldersignerassociation_id_validation = 20, + dt_ezsignsignature_date = '2020-12-31 23:59:59', + i_ezsignsignatureattachment_count = 7, + s_ezsignsignature_description = 'Montreal', + i_ezsignsignature_maxlength = 75, + e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', + e_ezsignsignature_dependencyrequirement = 'AllOf', + s_ezsignsignature_defaultvalue = 'Foo', + s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_contact_name_delegation = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_signature = eZmaxApi.models.signature_response_compound.signature-ResponseCompound(), + b_ezsignsignature_customdate = True, + a_obj_ezsignsignaturecustomdate = [ + eZmaxApi.models.ezsignsignaturecustomdate_response_compound_v2.ezsignsignaturecustomdate-ResponseCompoundV2() + ], + obj_creditcardtransaction = eZmaxApi.models.custom_creditcardtransaction_response.Custom-Creditcardtransaction-Response( + e_creditcardtype_codename = 'visa', + d_creditcardtransaction_amount = '167.58', + s_creditcardtransaction_partiallydecryptednumber = 'XXXX XXXX XXXX 1234', + s_creditcardtransaction_referencenumber = '651447854715478415', ), + a_obj_ezsignelementdependency = [ + eZmaxApi.models.ezsignelementdependency_response_compound.ezsignelementdependency-ResponseCompound() + ] + ) + else: + return EzsignsignatureResponseCompoundV3( + pki_ezsignsignature_id = 49, + fki_ezsigndocument_id = 97, + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + ) + """ + + def testEzsignsignatureResponseCompoundV3(self): + """Test EzsignsignatureResponseCompoundV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignature_sign_v1_request.py b/test/test_ezsignsignature_sign_v1_request.py index bac5d16ab..d3649a859 100644 --- a/test/test_ezsignsignature_sign_v1_request.py +++ b/test/test_ezsignsignature_sign_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureSignV1Request: """Test EzsignsignatureSignV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureSignV1Request` @@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> EzsignsignatureSignV1Request: if include_optional: return EzsignsignatureSignV1Request( fki_ezsignsigningreason_id = 194, + fki_font_id = 1, s_value = '', e_attachments_confirmation_decision = 'Accepted', s_attachments_refusal_reason = '', @@ -45,7 +46,7 @@ def make_instance(self, include_optional) -> EzsignsignatureSignV1Request: eZmaxApi.models.common_file.Common-File( s_file_name = 'example.pdf', s_file_url = '', - s_file_base64 = '[B@63c5efee', + s_file_base64 = '[B@7807ac2c', e_file_source = 'Base64', ) ], b_is_automatic = True diff --git a/test/test_ezsignsignature_sign_v1_response.py b/test/test_ezsignsignature_sign_v1_response.py index 620b7207e..e763f7db8 100644 --- a/test/test_ezsignsignature_sign_v1_response.py +++ b/test/test_ezsignsignature_sign_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureSignV1Response: """Test EzsignsignatureSignV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureSignV1Response` @@ -44,7 +44,12 @@ def make_instance(self, include_optional) -> EzsignsignatureSignV1Response: ], b_version_deprecated = False, dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignsignature_sign_v1_response_m_payload.ezsignsignature-sign-v1-Response-mPayload( + dt_ezsignsignature_date_in_folder_timezone = '2020-12-31 23:59:59', + obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( + s_timezone_name = '', + s_code = 'EST', ), ) ) else: return EzsignsignatureSignV1Response( @@ -56,6 +61,11 @@ def make_instance(self, include_optional) -> EzsignsignatureSignV1Response: ], b_version_deprecated = False, dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignsignature_sign_v1_response_m_payload.ezsignsignature-sign-v1-Response-mPayload( + dt_ezsignsignature_date_in_folder_timezone = '2020-12-31 23:59:59', + obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( + s_timezone_name = '', + s_code = 'EST', ), ), ) """ diff --git a/test/test_ezsignsignature_sign_v1_response_m_payload.py b/test/test_ezsignsignature_sign_v1_response_m_payload.py new file mode 100644 index 000000000..418b4ea70 --- /dev/null +++ b/test/test_ezsignsignature_sign_v1_response_m_payload.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignature_sign_v1_response_m_payload import EzsignsignatureSignV1ResponseMPayload + +class TestEzsignsignatureSignV1ResponseMPayload(unittest.TestCase): + """EzsignsignatureSignV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignatureSignV1ResponseMPayload: + """Test EzsignsignatureSignV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignatureSignV1ResponseMPayload` + """ + model = EzsignsignatureSignV1ResponseMPayload() + if include_optional: + return EzsignsignatureSignV1ResponseMPayload( + dt_ezsignsignature_date_in_folder_timezone = '2020-12-31 23:59:59', + obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( + s_timezone_name = '', + s_code = 'EST', ) + ) + else: + return EzsignsignatureSignV1ResponseMPayload( + dt_ezsignsignature_date_in_folder_timezone = '2020-12-31 23:59:59', + ) + """ + + def testEzsignsignatureSignV1ResponseMPayload(self): + """Test EzsignsignatureSignV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignatureattachment_response.py b/test/test_ezsignsignatureattachment_response.py index a4c8bd5d5..1f473e36b 100644 --- a/test/test_ezsignsignatureattachment_response.py +++ b/test/test_ezsignsignatureattachment_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignatureattachmentResponse: """Test EzsignsignatureattachmentResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignatureattachmentResponse` diff --git a/test/test_ezsignsignaturecustomdate_request.py b/test/test_ezsignsignaturecustomdate_request.py index acd507d5e..61375033c 100644 --- a/test/test_ezsignsignaturecustomdate_request.py +++ b/test/test_ezsignsignaturecustomdate_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignaturecustomdateRequest: """Test EzsignsignaturecustomdateRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignaturecustomdateRequest` diff --git a/test/test_ezsignsignaturecustomdate_request_compound.py b/test/test_ezsignsignaturecustomdate_request_compound.py index 215b3260c..e6295a321 100644 --- a/test/test_ezsignsignaturecustomdate_request_compound.py +++ b/test/test_ezsignsignaturecustomdate_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignaturecustomdateRequestCompound: """Test EzsignsignaturecustomdateRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignaturecustomdateRequestCompound` diff --git a/test/test_ezsignsignaturecustomdate_request_compound_v2.py b/test/test_ezsignsignaturecustomdate_request_compound_v2.py new file mode 100644 index 000000000..f476fe095 --- /dev/null +++ b/test/test_ezsignsignaturecustomdate_request_compound_v2.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignaturecustomdate_request_compound_v2 import EzsignsignaturecustomdateRequestCompoundV2 + +class TestEzsignsignaturecustomdateRequestCompoundV2(unittest.TestCase): + """EzsignsignaturecustomdateRequestCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignaturecustomdateRequestCompoundV2: + """Test EzsignsignaturecustomdateRequestCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignaturecustomdateRequestCompoundV2` + """ + model = EzsignsignaturecustomdateRequestCompoundV2() + if include_optional: + return EzsignsignaturecustomdateRequestCompoundV2( + pki_ezsignsignaturecustomdate_id = 27, + i_ezsignsignaturecustomdate_offsetx = 200, + i_ezsignsignaturecustomdate_offsety = 300, + s_ezsignsignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}' + ) + else: + return EzsignsignaturecustomdateRequestCompoundV2( + i_ezsignsignaturecustomdate_offsetx = 200, + i_ezsignsignaturecustomdate_offsety = 300, + s_ezsignsignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}', + ) + """ + + def testEzsignsignaturecustomdateRequestCompoundV2(self): + """Test EzsignsignaturecustomdateRequestCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignaturecustomdate_request_v2.py b/test/test_ezsignsignaturecustomdate_request_v2.py new file mode 100644 index 000000000..9ec7c2d0a --- /dev/null +++ b/test/test_ezsignsignaturecustomdate_request_v2.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignaturecustomdate_request_v2 import EzsignsignaturecustomdateRequestV2 + +class TestEzsignsignaturecustomdateRequestV2(unittest.TestCase): + """EzsignsignaturecustomdateRequestV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignaturecustomdateRequestV2: + """Test EzsignsignaturecustomdateRequestV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignaturecustomdateRequestV2` + """ + model = EzsignsignaturecustomdateRequestV2() + if include_optional: + return EzsignsignaturecustomdateRequestV2( + pki_ezsignsignaturecustomdate_id = 27, + i_ezsignsignaturecustomdate_offsetx = 200, + i_ezsignsignaturecustomdate_offsety = 300, + s_ezsignsignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}' + ) + else: + return EzsignsignaturecustomdateRequestV2( + i_ezsignsignaturecustomdate_offsetx = 200, + i_ezsignsignaturecustomdate_offsety = 300, + s_ezsignsignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}', + ) + """ + + def testEzsignsignaturecustomdateRequestV2(self): + """Test EzsignsignaturecustomdateRequestV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignaturecustomdate_response.py b/test/test_ezsignsignaturecustomdate_response.py index dfa0c95ab..56b08c0ab 100644 --- a/test/test_ezsignsignaturecustomdate_response.py +++ b/test/test_ezsignsignaturecustomdate_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignaturecustomdateResponse: """Test EzsignsignaturecustomdateResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignaturecustomdateResponse` diff --git a/test/test_ezsignsignaturecustomdate_response_compound.py b/test/test_ezsignsignaturecustomdate_response_compound.py index 2e9662cba..64c882671 100644 --- a/test/test_ezsignsignaturecustomdate_response_compound.py +++ b/test/test_ezsignsignaturecustomdate_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignaturecustomdateResponseCompound: """Test EzsignsignaturecustomdateResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignaturecustomdateResponseCompound` diff --git a/test/test_ezsignsignaturecustomdate_response_compound_v2.py b/test/test_ezsignsignaturecustomdate_response_compound_v2.py new file mode 100644 index 000000000..2a64f0dc8 --- /dev/null +++ b/test/test_ezsignsignaturecustomdate_response_compound_v2.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignaturecustomdate_response_compound_v2 import EzsignsignaturecustomdateResponseCompoundV2 + +class TestEzsignsignaturecustomdateResponseCompoundV2(unittest.TestCase): + """EzsignsignaturecustomdateResponseCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignaturecustomdateResponseCompoundV2: + """Test EzsignsignaturecustomdateResponseCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignaturecustomdateResponseCompoundV2` + """ + model = EzsignsignaturecustomdateResponseCompoundV2() + if include_optional: + return EzsignsignaturecustomdateResponseCompoundV2( + pki_ezsignsignaturecustomdate_id = 27, + i_ezsignsignaturecustomdate_offsetx = 200, + i_ezsignsignaturecustomdate_offsety = 300, + s_ezsignsignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}' + ) + else: + return EzsignsignaturecustomdateResponseCompoundV2( + pki_ezsignsignaturecustomdate_id = 27, + i_ezsignsignaturecustomdate_offsetx = 200, + i_ezsignsignaturecustomdate_offsety = 300, + s_ezsignsignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}', + ) + """ + + def testEzsignsignaturecustomdateResponseCompoundV2(self): + """Test EzsignsignaturecustomdateResponseCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsignaturecustomdate_response_v2.py b/test/test_ezsignsignaturecustomdate_response_v2.py new file mode 100644 index 000000000..adc219812 --- /dev/null +++ b/test/test_ezsignsignaturecustomdate_response_v2.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignsignaturecustomdate_response_v2 import EzsignsignaturecustomdateResponseV2 + +class TestEzsignsignaturecustomdateResponseV2(unittest.TestCase): + """EzsignsignaturecustomdateResponseV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignsignaturecustomdateResponseV2: + """Test EzsignsignaturecustomdateResponseV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignsignaturecustomdateResponseV2` + """ + model = EzsignsignaturecustomdateResponseV2() + if include_optional: + return EzsignsignaturecustomdateResponseV2( + pki_ezsignsignaturecustomdate_id = 27, + i_ezsignsignaturecustomdate_offsetx = 200, + i_ezsignsignaturecustomdate_offsety = 300, + s_ezsignsignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}' + ) + else: + return EzsignsignaturecustomdateResponseV2( + pki_ezsignsignaturecustomdate_id = 27, + i_ezsignsignaturecustomdate_offsetx = 200, + i_ezsignsignaturecustomdate_offsety = 300, + s_ezsignsignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}', + ) + """ + + def testEzsignsignaturecustomdateResponseV2(self): + """Test EzsignsignaturecustomdateResponseV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignsigner_request.py b/test/test_ezsignsigner_request.py index 4c542ce29..5263c5b2f 100644 --- a/test/test_ezsignsigner_request.py +++ b/test/test_ezsignsigner_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignerRequest: """Test EzsignsignerRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignerRequest` diff --git a/test/test_ezsignsigner_request_compound.py b/test/test_ezsignsigner_request_compound.py index 9aefd1201..8a45124f1 100644 --- a/test/test_ezsignsigner_request_compound.py +++ b/test/test_ezsignsigner_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignerRequestCompound: """Test EzsignsignerRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignerRequestCompound` diff --git a/test/test_ezsignsigner_request_compound_contact.py b/test/test_ezsignsigner_request_compound_contact.py index 8b3761227..a2dc065e7 100644 --- a/test/test_ezsignsigner_request_compound_contact.py +++ b/test/test_ezsignsigner_request_compound_contact.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignerRequestCompoundContact: """Test EzsignsignerRequestCompoundContact - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignerRequestCompoundContact` diff --git a/test/test_ezsignsigner_response.py b/test/test_ezsignsigner_response.py index c685ac45d..d68d6ea50 100644 --- a/test/test_ezsignsigner_response.py +++ b/test/test_ezsignsigner_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignerResponse: """Test EzsignsignerResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignerResponse` diff --git a/test/test_ezsignsigner_response_compound.py b/test/test_ezsignsigner_response_compound.py index f6ed30077..c055e2e5a 100644 --- a/test/test_ezsignsigner_response_compound.py +++ b/test/test_ezsignsigner_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignerResponseCompound: """Test EzsignsignerResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignerResponseCompound` diff --git a/test/test_ezsignsigner_response_compound_contact.py b/test/test_ezsignsigner_response_compound_contact.py index 2d9aa8955..0d2dce070 100644 --- a/test/test_ezsignsigner_response_compound_contact.py +++ b/test/test_ezsignsigner_response_compound_contact.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignerResponseCompoundContact: """Test EzsignsignerResponseCompoundContact - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignerResponseCompoundContact` diff --git a/test/test_ezsignsignergroup_create_object_v1_request.py b/test/test_ezsignsignergroup_create_object_v1_request.py index fe75f8228..667442771 100644 --- a/test/test_ezsignsignergroup_create_object_v1_request.py +++ b/test/test_ezsignsignergroup_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupCreateObjectV1Request: """Test EzsignsignergroupCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupCreateObjectV1Request` diff --git a/test/test_ezsignsignergroup_create_object_v1_response.py b/test/test_ezsignsignergroup_create_object_v1_response.py index 01c5767f7..f6f24283c 100644 --- a/test/test_ezsignsignergroup_create_object_v1_response.py +++ b/test/test_ezsignsignergroup_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupCreateObjectV1Response: """Test EzsignsignergroupCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupCreateObjectV1Response` diff --git a/test/test_ezsignsignergroup_create_object_v1_response_m_payload.py b/test/test_ezsignsignergroup_create_object_v1_response_m_payload.py index 10cc20ddb..fa1415f72 100644 --- a/test/test_ezsignsignergroup_create_object_v1_response_m_payload.py +++ b/test/test_ezsignsignergroup_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupCreateObjectV1ResponseMPayload: """Test EzsignsignergroupCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsignsignergroup_delete_object_v1_response.py b/test/test_ezsignsignergroup_delete_object_v1_response.py index b74ed8f7a..f7abd2e6e 100644 --- a/test/test_ezsignsignergroup_delete_object_v1_response.py +++ b/test/test_ezsignsignergroup_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupDeleteObjectV1Response: """Test EzsignsignergroupDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupDeleteObjectV1Response` diff --git a/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request.py b/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request.py index dd8f1601c..e2dd24e4a 100644 --- a/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request.py +++ b/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupEditEzsignsignergroupmembershipsV1Request: """Test EzsignsignergroupEditEzsignsignergroupmembershipsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupEditEzsignsignergroupmembershipsV1Request` diff --git a/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py b/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py index 60f70c6b4..1c86209af 100644 --- a/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py +++ b/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupEditEzsignsignergroupmembershipsV1Response: """Test EzsignsignergroupEditEzsignsignergroupmembershipsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupEditEzsignsignergroupmembershipsV1Response` diff --git a/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload.py b/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload.py index b14a99bd4..4bc7c33bb 100644 --- a/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload.py +++ b/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload: """Test EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload` diff --git a/test/test_ezsignsignergroup_edit_object_v1_request.py b/test/test_ezsignsignergroup_edit_object_v1_request.py index a8b6df430..1b6acb382 100644 --- a/test/test_ezsignsignergroup_edit_object_v1_request.py +++ b/test/test_ezsignsignergroup_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupEditObjectV1Request: """Test EzsignsignergroupEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupEditObjectV1Request` diff --git a/test/test_ezsignsignergroup_edit_object_v1_response.py b/test/test_ezsignsignergroup_edit_object_v1_response.py index d74f0d5e0..29baf15dd 100644 --- a/test/test_ezsignsignergroup_edit_object_v1_response.py +++ b/test/test_ezsignsignergroup_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupEditObjectV1Response: """Test EzsignsignergroupEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupEditObjectV1Response` diff --git a/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py b/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py index 40ffbf552..c5d844f6b 100644 --- a/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py +++ b/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupGetEzsignsignergroupmembershipsV1Response: """Test EzsignsignergroupGetEzsignsignergroupmembershipsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupGetEzsignsignergroupmembershipsV1Response` diff --git a/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.py b/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.py index 92248e2c2..f9194b36c 100644 --- a/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.py +++ b/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload: """Test EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload` diff --git a/test/test_ezsignsignergroup_get_object_v2_response.py b/test/test_ezsignsignergroup_get_object_v2_response.py index 8a9c594ff..995d27a9f 100644 --- a/test/test_ezsignsignergroup_get_object_v2_response.py +++ b/test/test_ezsignsignergroup_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupGetObjectV2Response: """Test EzsignsignergroupGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupGetObjectV2Response` diff --git a/test/test_ezsignsignergroup_get_object_v2_response_m_payload.py b/test/test_ezsignsignergroup_get_object_v2_response_m_payload.py index 437abcb9d..585e3370d 100644 --- a/test/test_ezsignsignergroup_get_object_v2_response_m_payload.py +++ b/test/test_ezsignsignergroup_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupGetObjectV2ResponseMPayload: """Test EzsignsignergroupGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignsignergroup_request.py b/test/test_ezsignsignergroup_request.py index 8775ac68a..6327f84c1 100644 --- a/test/test_ezsignsignergroup_request.py +++ b/test/test_ezsignsignergroup_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupRequest: """Test EzsignsignergroupRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupRequest` diff --git a/test/test_ezsignsignergroup_request_compound.py b/test/test_ezsignsignergroup_request_compound.py index d3adb1144..df06958ff 100644 --- a/test/test_ezsignsignergroup_request_compound.py +++ b/test/test_ezsignsignergroup_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupRequestCompound: """Test EzsignsignergroupRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupRequestCompound` diff --git a/test/test_ezsignsignergroup_response.py b/test/test_ezsignsignergroup_response.py index b94f462c3..f4d664f74 100644 --- a/test/test_ezsignsignergroup_response.py +++ b/test/test_ezsignsignergroup_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupResponse: """Test EzsignsignergroupResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupResponse` diff --git a/test/test_ezsignsignergroup_response_compound.py b/test/test_ezsignsignergroup_response_compound.py index 9002180b1..d56cce33f 100644 --- a/test/test_ezsignsignergroup_response_compound.py +++ b/test/test_ezsignsignergroup_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupResponseCompound: """Test EzsignsignergroupResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupResponseCompound` diff --git a/test/test_ezsignsignergroupmembership_create_object_v1_request.py b/test/test_ezsignsignergroupmembership_create_object_v1_request.py index da90cc9bd..a03c012b2 100644 --- a/test/test_ezsignsignergroupmembership_create_object_v1_request.py +++ b/test/test_ezsignsignergroupmembership_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupmembershipCreateObjectV1Request: """Test EzsignsignergroupmembershipCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupmembershipCreateObjectV1Request` diff --git a/test/test_ezsignsignergroupmembership_create_object_v1_response.py b/test/test_ezsignsignergroupmembership_create_object_v1_response.py index bf7faf68c..1311b8efa 100644 --- a/test/test_ezsignsignergroupmembership_create_object_v1_response.py +++ b/test/test_ezsignsignergroupmembership_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupmembershipCreateObjectV1Response: """Test EzsignsignergroupmembershipCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupmembershipCreateObjectV1Response` diff --git a/test/test_ezsignsignergroupmembership_create_object_v1_response_m_payload.py b/test/test_ezsignsignergroupmembership_create_object_v1_response_m_payload.py index 67636c132..73ff9f823 100644 --- a/test/test_ezsignsignergroupmembership_create_object_v1_response_m_payload.py +++ b/test/test_ezsignsignergroupmembership_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupmembershipCreateObjectV1ResponseMPayload: """Test EzsignsignergroupmembershipCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupmembershipCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsignsignergroupmembership_delete_object_v1_response.py b/test/test_ezsignsignergroupmembership_delete_object_v1_response.py index 9805d309c..a5b2e4a98 100644 --- a/test/test_ezsignsignergroupmembership_delete_object_v1_response.py +++ b/test/test_ezsignsignergroupmembership_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupmembershipDeleteObjectV1Response: """Test EzsignsignergroupmembershipDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupmembershipDeleteObjectV1Response` diff --git a/test/test_ezsignsignergroupmembership_get_object_v2_response.py b/test/test_ezsignsignergroupmembership_get_object_v2_response.py index 2906353a6..62f6b2a29 100644 --- a/test/test_ezsignsignergroupmembership_get_object_v2_response.py +++ b/test/test_ezsignsignergroupmembership_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupmembershipGetObjectV2Response: """Test EzsignsignergroupmembershipGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupmembershipGetObjectV2Response` diff --git a/test/test_ezsignsignergroupmembership_get_object_v2_response_m_payload.py b/test/test_ezsignsignergroupmembership_get_object_v2_response_m_payload.py index b03dbec6a..11cb48bb0 100644 --- a/test/test_ezsignsignergroupmembership_get_object_v2_response_m_payload.py +++ b/test/test_ezsignsignergroupmembership_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupmembershipGetObjectV2ResponseMPayload: """Test EzsignsignergroupmembershipGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupmembershipGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignsignergroupmembership_request.py b/test/test_ezsignsignergroupmembership_request.py index 3d2586d99..e89c5e118 100644 --- a/test/test_ezsignsignergroupmembership_request.py +++ b/test/test_ezsignsignergroupmembership_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupmembershipRequest: """Test EzsignsignergroupmembershipRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupmembershipRequest` diff --git a/test/test_ezsignsignergroupmembership_request_compound.py b/test/test_ezsignsignergroupmembership_request_compound.py index 9f164b40e..c3e548e03 100644 --- a/test/test_ezsignsignergroupmembership_request_compound.py +++ b/test/test_ezsignsignergroupmembership_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupmembershipRequestCompound: """Test EzsignsignergroupmembershipRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupmembershipRequestCompound` diff --git a/test/test_ezsignsignergroupmembership_response.py b/test/test_ezsignsignergroupmembership_response.py index ae2170a87..d175aa781 100644 --- a/test/test_ezsignsignergroupmembership_response.py +++ b/test/test_ezsignsignergroupmembership_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupmembershipResponse: """Test EzsignsignergroupmembershipResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupmembershipResponse` diff --git a/test/test_ezsignsignergroupmembership_response_compound.py b/test/test_ezsignsignergroupmembership_response_compound.py index 6398aefde..4d5195a19 100644 --- a/test/test_ezsignsignergroupmembership_response_compound.py +++ b/test/test_ezsignsignergroupmembership_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsignergroupmembershipResponseCompound: """Test EzsignsignergroupmembershipResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsignergroupmembershipResponseCompound` diff --git a/test/test_ezsignsigningreason_autocomplete_element_response.py b/test/test_ezsignsigningreason_autocomplete_element_response.py index 3270caf02..67b5e6276 100644 --- a/test/test_ezsignsigningreason_autocomplete_element_response.py +++ b/test/test_ezsignsigningreason_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonAutocompleteElementResponse: """Test EzsignsigningreasonAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonAutocompleteElementResponse` diff --git a/test/test_ezsignsigningreason_create_object_v1_request.py b/test/test_ezsignsigningreason_create_object_v1_request.py index 950eedce1..69a3adfbd 100644 --- a/test/test_ezsignsigningreason_create_object_v1_request.py +++ b/test/test_ezsignsigningreason_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonCreateObjectV1Request: """Test EzsignsigningreasonCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonCreateObjectV1Request` diff --git a/test/test_ezsignsigningreason_create_object_v1_response.py b/test/test_ezsignsigningreason_create_object_v1_response.py index 755fbd8d0..85f7c40c8 100644 --- a/test/test_ezsignsigningreason_create_object_v1_response.py +++ b/test/test_ezsignsigningreason_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonCreateObjectV1Response: """Test EzsignsigningreasonCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonCreateObjectV1Response` diff --git a/test/test_ezsignsigningreason_create_object_v1_response_m_payload.py b/test/test_ezsignsigningreason_create_object_v1_response_m_payload.py index 77dc3bc3c..c96f58126 100644 --- a/test/test_ezsignsigningreason_create_object_v1_response_m_payload.py +++ b/test/test_ezsignsigningreason_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonCreateObjectV1ResponseMPayload: """Test EzsignsigningreasonCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsignsigningreason_edit_object_v1_request.py b/test/test_ezsignsigningreason_edit_object_v1_request.py index 43f793ad7..3ca7961eb 100644 --- a/test/test_ezsignsigningreason_edit_object_v1_request.py +++ b/test/test_ezsignsigningreason_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonEditObjectV1Request: """Test EzsignsigningreasonEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonEditObjectV1Request` diff --git a/test/test_ezsignsigningreason_edit_object_v1_response.py b/test/test_ezsignsigningreason_edit_object_v1_response.py index 95a4dc87e..22bc33c4c 100644 --- a/test/test_ezsignsigningreason_edit_object_v1_response.py +++ b/test/test_ezsignsigningreason_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonEditObjectV1Response: """Test EzsignsigningreasonEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonEditObjectV1Response` diff --git a/test/test_ezsignsigningreason_get_autocomplete_v2_response.py b/test/test_ezsignsigningreason_get_autocomplete_v2_response.py index 03d251b20..ca65a85f7 100644 --- a/test/test_ezsignsigningreason_get_autocomplete_v2_response.py +++ b/test/test_ezsignsigningreason_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonGetAutocompleteV2Response: """Test EzsignsigningreasonGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonGetAutocompleteV2Response` diff --git a/test/test_ezsignsigningreason_get_autocomplete_v2_response_m_payload.py b/test/test_ezsignsigningreason_get_autocomplete_v2_response_m_payload.py index 72b6298aa..7edeb2ded 100644 --- a/test/test_ezsignsigningreason_get_autocomplete_v2_response_m_payload.py +++ b/test/test_ezsignsigningreason_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonGetAutocompleteV2ResponseMPayload: """Test EzsignsigningreasonGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonGetAutocompleteV2ResponseMPayload` diff --git a/test/test_ezsignsigningreason_get_list_v1_response.py b/test/test_ezsignsigningreason_get_list_v1_response.py index 146fa18a8..3c852ccb0 100644 --- a/test/test_ezsignsigningreason_get_list_v1_response.py +++ b/test/test_ezsignsigningreason_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonGetListV1Response: """Test EzsignsigningreasonGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonGetListV1Response` diff --git a/test/test_ezsignsigningreason_get_list_v1_response_m_payload.py b/test/test_ezsignsigningreason_get_list_v1_response_m_payload.py index 3a93c15cc..c810acb41 100644 --- a/test/test_ezsignsigningreason_get_list_v1_response_m_payload.py +++ b/test/test_ezsignsigningreason_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonGetListV1ResponseMPayload: """Test EzsignsigningreasonGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonGetListV1ResponseMPayload` diff --git a/test/test_ezsignsigningreason_get_object_v2_response.py b/test/test_ezsignsigningreason_get_object_v2_response.py index 69b3cf4cc..f1e2f4ec0 100644 --- a/test/test_ezsignsigningreason_get_object_v2_response.py +++ b/test/test_ezsignsigningreason_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonGetObjectV2Response: """Test EzsignsigningreasonGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonGetObjectV2Response` diff --git a/test/test_ezsignsigningreason_get_object_v2_response_m_payload.py b/test/test_ezsignsigningreason_get_object_v2_response_m_payload.py index 36ee27d41..b42951857 100644 --- a/test/test_ezsignsigningreason_get_object_v2_response_m_payload.py +++ b/test/test_ezsignsigningreason_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonGetObjectV2ResponseMPayload: """Test EzsignsigningreasonGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonGetObjectV2ResponseMPayload` diff --git a/test/test_ezsignsigningreason_list_element.py b/test/test_ezsignsigningreason_list_element.py index e79aec8a9..7a3606b95 100644 --- a/test/test_ezsignsigningreason_list_element.py +++ b/test/test_ezsignsigningreason_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonListElement: """Test EzsignsigningreasonListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonListElement` diff --git a/test/test_ezsignsigningreason_request.py b/test/test_ezsignsigningreason_request.py index b98b571e1..cffc1193d 100644 --- a/test/test_ezsignsigningreason_request.py +++ b/test/test_ezsignsigningreason_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonRequest: """Test EzsignsigningreasonRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonRequest` diff --git a/test/test_ezsignsigningreason_request_compound.py b/test/test_ezsignsigningreason_request_compound.py index 2b4def16f..0bfb5d0bf 100644 --- a/test/test_ezsignsigningreason_request_compound.py +++ b/test/test_ezsignsigningreason_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonRequestCompound: """Test EzsignsigningreasonRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonRequestCompound` diff --git a/test/test_ezsignsigningreason_response.py b/test/test_ezsignsigningreason_response.py index 8d7e8cf58..88656601a 100644 --- a/test/test_ezsignsigningreason_response.py +++ b/test/test_ezsignsigningreason_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonResponse: """Test EzsignsigningreasonResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonResponse` diff --git a/test/test_ezsignsigningreason_response_compound.py b/test/test_ezsignsigningreason_response_compound.py index 0ec0bba1a..72376047f 100644 --- a/test/test_ezsignsigningreason_response_compound.py +++ b/test/test_ezsignsigningreason_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsignsigningreasonResponseCompound: """Test EzsignsigningreasonResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsignsigningreasonResponseCompound` diff --git a/test/test_ezsigntemplate_autocomplete_element_response.py b/test/test_ezsigntemplate_autocomplete_element_response.py index 00a744a1f..3b4b20de3 100644 --- a/test/test_ezsigntemplate_autocomplete_element_response.py +++ b/test/test_ezsigntemplate_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateAutocompleteElementResponse: """Test EzsigntemplateAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateAutocompleteElementResponse` diff --git a/test/test_ezsigntemplate_copy_v1_request.py b/test/test_ezsigntemplate_copy_v1_request.py index 67db25182..d2b379274 100644 --- a/test/test_ezsigntemplate_copy_v1_request.py +++ b/test/test_ezsigntemplate_copy_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateCopyV1Request: """Test EzsigntemplateCopyV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateCopyV1Request` @@ -38,13 +38,12 @@ def make_instance(self, include_optional) -> EzsigntemplateCopyV1Request: return EzsigntemplateCopyV1Request( a_fki_ezsignfoldertype_id = [ 5 - ] + ], + b_copy_company = True, + b_copy_user = True ) else: return EzsigntemplateCopyV1Request( - a_fki_ezsignfoldertype_id = [ - 5 - ], ) """ diff --git a/test/test_ezsigntemplate_copy_v1_response.py b/test/test_ezsigntemplate_copy_v1_response.py index 9560dac0b..428cf6791 100644 --- a/test/test_ezsigntemplate_copy_v1_response.py +++ b/test/test_ezsigntemplate_copy_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateCopyV1Response: """Test EzsigntemplateCopyV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateCopyV1Response` diff --git a/test/test_ezsigntemplate_copy_v1_response_m_payload.py b/test/test_ezsigntemplate_copy_v1_response_m_payload.py index 36b154eae..4b6f10e35 100644 --- a/test/test_ezsigntemplate_copy_v1_response_m_payload.py +++ b/test/test_ezsigntemplate_copy_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateCopyV1ResponseMPayload: """Test EzsigntemplateCopyV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateCopyV1ResponseMPayload` diff --git a/test/test_ezsigntemplate_create_object_v1_request.py b/test/test_ezsigntemplate_create_object_v1_request.py deleted file mode 100644 index ce47d6f73..000000000 --- a/test/test_ezsigntemplate_create_object_v1_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_create_object_v1_request import EzsigntemplateCreateObjectV1Request - -class TestEzsigntemplateCreateObjectV1Request(unittest.TestCase): - """EzsigntemplateCreateObjectV1Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV1Request: - """Test EzsigntemplateCreateObjectV1Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateCreateObjectV1Request` - """ - model = EzsigntemplateCreateObjectV1Request() - if include_optional: - return EzsigntemplateCreateObjectV1Request( - a_obj_ezsigntemplate = [ - eZmaxApi.models.ezsigntemplate_request_compound.ezsigntemplate-RequestCompound() - ] - ) - else: - return EzsigntemplateCreateObjectV1Request( - a_obj_ezsigntemplate = [ - eZmaxApi.models.ezsigntemplate_request_compound.ezsigntemplate-RequestCompound() - ], - ) - """ - - def testEzsigntemplateCreateObjectV1Request(self): - """Test EzsigntemplateCreateObjectV1Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_create_object_v1_response.py b/test/test_ezsigntemplate_create_object_v1_response.py deleted file mode 100644 index 560a69274..000000000 --- a/test/test_ezsigntemplate_create_object_v1_response.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_create_object_v1_response import EzsigntemplateCreateObjectV1Response - -class TestEzsigntemplateCreateObjectV1Response(unittest.TestCase): - """EzsigntemplateCreateObjectV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV1Response: - """Test EzsigntemplateCreateObjectV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateCreateObjectV1Response` - """ - model = EzsigntemplateCreateObjectV1Response() - if include_optional: - return EzsigntemplateCreateObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsigntemplate_create_object_v1_response_m_payload.ezsigntemplate-createObject-v1-Response-mPayload( - a_pki_ezsigntemplate_id = [ - 36 - ], ) - ) - else: - return EzsigntemplateCreateObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsigntemplate_create_object_v1_response_m_payload.ezsigntemplate-createObject-v1-Response-mPayload( - a_pki_ezsigntemplate_id = [ - 36 - ], ), - ) - """ - - def testEzsigntemplateCreateObjectV1Response(self): - """Test EzsigntemplateCreateObjectV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_create_object_v1_response_m_payload.py b/test/test_ezsigntemplate_create_object_v1_response_m_payload.py deleted file mode 100644 index c8fb12cd9..000000000 --- a/test/test_ezsigntemplate_create_object_v1_response_m_payload.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_create_object_v1_response_m_payload import EzsigntemplateCreateObjectV1ResponseMPayload - -class TestEzsigntemplateCreateObjectV1ResponseMPayload(unittest.TestCase): - """EzsigntemplateCreateObjectV1ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV1ResponseMPayload: - """Test EzsigntemplateCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateCreateObjectV1ResponseMPayload` - """ - model = EzsigntemplateCreateObjectV1ResponseMPayload() - if include_optional: - return EzsigntemplateCreateObjectV1ResponseMPayload( - a_pki_ezsigntemplate_id = [ - 36 - ] - ) - else: - return EzsigntemplateCreateObjectV1ResponseMPayload( - a_pki_ezsigntemplate_id = [ - 36 - ], - ) - """ - - def testEzsigntemplateCreateObjectV1ResponseMPayload(self): - """Test EzsigntemplateCreateObjectV1ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_create_object_v2_request.py b/test/test_ezsigntemplate_create_object_v2_request.py deleted file mode 100644 index e4266ea7d..000000000 --- a/test/test_ezsigntemplate_create_object_v2_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_create_object_v2_request import EzsigntemplateCreateObjectV2Request - -class TestEzsigntemplateCreateObjectV2Request(unittest.TestCase): - """EzsigntemplateCreateObjectV2Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV2Request: - """Test EzsigntemplateCreateObjectV2Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateCreateObjectV2Request` - """ - model = EzsigntemplateCreateObjectV2Request() - if include_optional: - return EzsigntemplateCreateObjectV2Request( - a_obj_ezsigntemplate = [ - eZmaxApi.models.ezsigntemplate_request_compound_v2.ezsigntemplate-RequestCompoundV2() - ] - ) - else: - return EzsigntemplateCreateObjectV2Request( - a_obj_ezsigntemplate = [ - eZmaxApi.models.ezsigntemplate_request_compound_v2.ezsigntemplate-RequestCompoundV2() - ], - ) - """ - - def testEzsigntemplateCreateObjectV2Request(self): - """Test EzsigntemplateCreateObjectV2Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_create_object_v2_response.py b/test/test_ezsigntemplate_create_object_v2_response.py deleted file mode 100644 index 75e455879..000000000 --- a/test/test_ezsigntemplate_create_object_v2_response.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_create_object_v2_response import EzsigntemplateCreateObjectV2Response - -class TestEzsigntemplateCreateObjectV2Response(unittest.TestCase): - """EzsigntemplateCreateObjectV2Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV2Response: - """Test EzsigntemplateCreateObjectV2Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateCreateObjectV2Response` - """ - model = EzsigntemplateCreateObjectV2Response() - if include_optional: - return EzsigntemplateCreateObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsigntemplate_create_object_v2_response_m_payload.ezsigntemplate-createObject-v2-Response-mPayload( - a_pki_ezsigntemplate_id = [ - 36 - ], ) - ) - else: - return EzsigntemplateCreateObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsigntemplate_create_object_v2_response_m_payload.ezsigntemplate-createObject-v2-Response-mPayload( - a_pki_ezsigntemplate_id = [ - 36 - ], ), - ) - """ - - def testEzsigntemplateCreateObjectV2Response(self): - """Test EzsigntemplateCreateObjectV2Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_create_object_v2_response_m_payload.py b/test/test_ezsigntemplate_create_object_v2_response_m_payload.py deleted file mode 100644 index c37802e69..000000000 --- a/test/test_ezsigntemplate_create_object_v2_response_m_payload.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_create_object_v2_response_m_payload import EzsigntemplateCreateObjectV2ResponseMPayload - -class TestEzsigntemplateCreateObjectV2ResponseMPayload(unittest.TestCase): - """EzsigntemplateCreateObjectV2ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV2ResponseMPayload: - """Test EzsigntemplateCreateObjectV2ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateCreateObjectV2ResponseMPayload` - """ - model = EzsigntemplateCreateObjectV2ResponseMPayload() - if include_optional: - return EzsigntemplateCreateObjectV2ResponseMPayload( - a_pki_ezsigntemplate_id = [ - 36 - ] - ) - else: - return EzsigntemplateCreateObjectV2ResponseMPayload( - a_pki_ezsigntemplate_id = [ - 36 - ], - ) - """ - - def testEzsigntemplateCreateObjectV2ResponseMPayload(self): - """Test EzsigntemplateCreateObjectV2ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_create_object_v3_request.py b/test/test_ezsigntemplate_create_object_v3_request.py new file mode 100644 index 000000000..f8ea5fe7f --- /dev/null +++ b/test/test_ezsigntemplate_create_object_v3_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_create_object_v3_request import EzsigntemplateCreateObjectV3Request + +class TestEzsigntemplateCreateObjectV3Request(unittest.TestCase): + """EzsigntemplateCreateObjectV3Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV3Request: + """Test EzsigntemplateCreateObjectV3Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateCreateObjectV3Request` + """ + model = EzsigntemplateCreateObjectV3Request() + if include_optional: + return EzsigntemplateCreateObjectV3Request( + a_obj_ezsigntemplate = [ + eZmaxApi.models.ezsigntemplate_request_compound_v3.ezsigntemplate-RequestCompoundV3() + ] + ) + else: + return EzsigntemplateCreateObjectV3Request( + a_obj_ezsigntemplate = [ + eZmaxApi.models.ezsigntemplate_request_compound_v3.ezsigntemplate-RequestCompoundV3() + ], + ) + """ + + def testEzsigntemplateCreateObjectV3Request(self): + """Test EzsigntemplateCreateObjectV3Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplate_create_object_v3_response.py b/test/test_ezsigntemplate_create_object_v3_response.py new file mode 100644 index 000000000..258104425 --- /dev/null +++ b/test/test_ezsigntemplate_create_object_v3_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_create_object_v3_response import EzsigntemplateCreateObjectV3Response + +class TestEzsigntemplateCreateObjectV3Response(unittest.TestCase): + """EzsigntemplateCreateObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV3Response: + """Test EzsigntemplateCreateObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateCreateObjectV3Response` + """ + model = EzsigntemplateCreateObjectV3Response() + if include_optional: + return EzsigntemplateCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplate_create_object_v3_response_m_payload.ezsigntemplate-createObject-v3-Response-mPayload( + a_pki_ezsigntemplate_id = [ + 36 + ], ) + ) + else: + return EzsigntemplateCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplate_create_object_v3_response_m_payload.ezsigntemplate-createObject-v3-Response-mPayload( + a_pki_ezsigntemplate_id = [ + 36 + ], ), + ) + """ + + def testEzsigntemplateCreateObjectV3Response(self): + """Test EzsigntemplateCreateObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplate_create_object_v3_response_m_payload.py b/test/test_ezsigntemplate_create_object_v3_response_m_payload.py new file mode 100644 index 000000000..d05d1fb3d --- /dev/null +++ b/test/test_ezsigntemplate_create_object_v3_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_create_object_v3_response_m_payload import EzsigntemplateCreateObjectV3ResponseMPayload + +class TestEzsigntemplateCreateObjectV3ResponseMPayload(unittest.TestCase): + """EzsigntemplateCreateObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV3ResponseMPayload: + """Test EzsigntemplateCreateObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateCreateObjectV3ResponseMPayload` + """ + model = EzsigntemplateCreateObjectV3ResponseMPayload() + if include_optional: + return EzsigntemplateCreateObjectV3ResponseMPayload( + a_pki_ezsigntemplate_id = [ + 36 + ] + ) + else: + return EzsigntemplateCreateObjectV3ResponseMPayload( + a_pki_ezsigntemplate_id = [ + 36 + ], + ) + """ + + def testEzsigntemplateCreateObjectV3ResponseMPayload(self): + """Test EzsigntemplateCreateObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplate_delete_object_v1_response.py b/test/test_ezsigntemplate_delete_object_v1_response.py index b9ffe13b9..262a6c376 100644 --- a/test/test_ezsigntemplate_delete_object_v1_response.py +++ b/test/test_ezsigntemplate_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateDeleteObjectV1Response: """Test EzsigntemplateDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateDeleteObjectV1Response` diff --git a/test/test_ezsigntemplate_edit_object_v1_request.py b/test/test_ezsigntemplate_edit_object_v1_request.py deleted file mode 100644 index 5ad8bfebc..000000000 --- a/test/test_ezsigntemplate_edit_object_v1_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_edit_object_v1_request import EzsigntemplateEditObjectV1Request - -class TestEzsigntemplateEditObjectV1Request(unittest.TestCase): - """EzsigntemplateEditObjectV1Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateEditObjectV1Request: - """Test EzsigntemplateEditObjectV1Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateEditObjectV1Request` - """ - model = EzsigntemplateEditObjectV1Request() - if include_optional: - return EzsigntemplateEditObjectV1Request( - obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_request_compound.ezsigntemplate-RequestCompound() - ) - else: - return EzsigntemplateEditObjectV1Request( - obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_request_compound.ezsigntemplate-RequestCompound(), - ) - """ - - def testEzsigntemplateEditObjectV1Request(self): - """Test EzsigntemplateEditObjectV1Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_edit_object_v1_response.py b/test/test_ezsigntemplate_edit_object_v1_response.py deleted file mode 100644 index 63735f3f5..000000000 --- a/test/test_ezsigntemplate_edit_object_v1_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_edit_object_v1_response import EzsigntemplateEditObjectV1Response - -class TestEzsigntemplateEditObjectV1Response(unittest.TestCase): - """EzsigntemplateEditObjectV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateEditObjectV1Response: - """Test EzsigntemplateEditObjectV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateEditObjectV1Response` - """ - model = EzsigntemplateEditObjectV1Response() - if include_optional: - return EzsigntemplateEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} - ) - else: - return EzsigntemplateEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - ) - """ - - def testEzsigntemplateEditObjectV1Response(self): - """Test EzsigntemplateEditObjectV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_edit_object_v2_request.py b/test/test_ezsigntemplate_edit_object_v2_request.py deleted file mode 100644 index 2f0a5ad76..000000000 --- a/test/test_ezsigntemplate_edit_object_v2_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_edit_object_v2_request import EzsigntemplateEditObjectV2Request - -class TestEzsigntemplateEditObjectV2Request(unittest.TestCase): - """EzsigntemplateEditObjectV2Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateEditObjectV2Request: - """Test EzsigntemplateEditObjectV2Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateEditObjectV2Request` - """ - model = EzsigntemplateEditObjectV2Request() - if include_optional: - return EzsigntemplateEditObjectV2Request( - obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_request_compound_v2.ezsigntemplate-RequestCompoundV2() - ) - else: - return EzsigntemplateEditObjectV2Request( - obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_request_compound_v2.ezsigntemplate-RequestCompoundV2(), - ) - """ - - def testEzsigntemplateEditObjectV2Request(self): - """Test EzsigntemplateEditObjectV2Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_edit_object_v2_response.py b/test/test_ezsigntemplate_edit_object_v2_response.py deleted file mode 100644 index 754e4f2ef..000000000 --- a/test/test_ezsigntemplate_edit_object_v2_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_edit_object_v2_response import EzsigntemplateEditObjectV2Response - -class TestEzsigntemplateEditObjectV2Response(unittest.TestCase): - """EzsigntemplateEditObjectV2Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateEditObjectV2Response: - """Test EzsigntemplateEditObjectV2Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateEditObjectV2Response` - """ - model = EzsigntemplateEditObjectV2Response() - if include_optional: - return EzsigntemplateEditObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} - ) - else: - return EzsigntemplateEditObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - ) - """ - - def testEzsigntemplateEditObjectV2Response(self): - """Test EzsigntemplateEditObjectV2Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_edit_object_v3_request.py b/test/test_ezsigntemplate_edit_object_v3_request.py new file mode 100644 index 000000000..eb35b16a4 --- /dev/null +++ b/test/test_ezsigntemplate_edit_object_v3_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_edit_object_v3_request import EzsigntemplateEditObjectV3Request + +class TestEzsigntemplateEditObjectV3Request(unittest.TestCase): + """EzsigntemplateEditObjectV3Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateEditObjectV3Request: + """Test EzsigntemplateEditObjectV3Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateEditObjectV3Request` + """ + model = EzsigntemplateEditObjectV3Request() + if include_optional: + return EzsigntemplateEditObjectV3Request( + obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_request_compound_v3.ezsigntemplate-RequestCompoundV3() + ) + else: + return EzsigntemplateEditObjectV3Request( + obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_request_compound_v3.ezsigntemplate-RequestCompoundV3(), + ) + """ + + def testEzsigntemplateEditObjectV3Request(self): + """Test EzsigntemplateEditObjectV3Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplate_edit_object_v3_response.py b/test/test_ezsigntemplate_edit_object_v3_response.py new file mode 100644 index 000000000..d71a43608 --- /dev/null +++ b/test/test_ezsigntemplate_edit_object_v3_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_edit_object_v3_response import EzsigntemplateEditObjectV3Response + +class TestEzsigntemplateEditObjectV3Response(unittest.TestCase): + """EzsigntemplateEditObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateEditObjectV3Response: + """Test EzsigntemplateEditObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateEditObjectV3Response` + """ + model = EzsigntemplateEditObjectV3Response() + if include_optional: + return EzsigntemplateEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsigntemplateEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsigntemplateEditObjectV3Response(self): + """Test EzsigntemplateEditObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplate_get_autocomplete_v2_response.py b/test/test_ezsigntemplate_get_autocomplete_v2_response.py index 247e3edc8..e4cb9f030 100644 --- a/test/test_ezsigntemplate_get_autocomplete_v2_response.py +++ b/test/test_ezsigntemplate_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateGetAutocompleteV2Response: """Test EzsigntemplateGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateGetAutocompleteV2Response` diff --git a/test/test_ezsigntemplate_get_autocomplete_v2_response_m_payload.py b/test/test_ezsigntemplate_get_autocomplete_v2_response_m_payload.py index ccfc46c3f..4df6b97ac 100644 --- a/test/test_ezsigntemplate_get_autocomplete_v2_response_m_payload.py +++ b/test/test_ezsigntemplate_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateGetAutocompleteV2ResponseMPayload: """Test EzsigntemplateGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateGetAutocompleteV2ResponseMPayload` diff --git a/test/test_ezsigntemplate_get_list_v1_response.py b/test/test_ezsigntemplate_get_list_v1_response.py index 8395b90e6..24fbb37ab 100644 --- a/test/test_ezsigntemplate_get_list_v1_response.py +++ b/test/test_ezsigntemplate_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateGetListV1Response: """Test EzsigntemplateGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateGetListV1Response` diff --git a/test/test_ezsigntemplate_get_list_v1_response_m_payload.py b/test/test_ezsigntemplate_get_list_v1_response_m_payload.py index eaf435e94..6d7d8a23c 100644 --- a/test/test_ezsigntemplate_get_list_v1_response_m_payload.py +++ b/test/test_ezsigntemplate_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateGetListV1ResponseMPayload: """Test EzsigntemplateGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateGetListV1ResponseMPayload` @@ -49,7 +49,7 @@ def make_instance(self, include_optional) -> EzsigntemplateGetListV1ResponseMPay i_ezsigntemplate_formfieldtotal = 8, b_ezsigntemplate_incomplete = False, s_ezsignfoldertype_name_x = 'Default', - e_ezsigntemplate_type = 'Usergroup', ) + e_ezsigntemplate_type = 'Ezsignfoldertype', ) ] ) else: @@ -67,7 +67,7 @@ def make_instance(self, include_optional) -> EzsigntemplateGetListV1ResponseMPay i_ezsigntemplate_formfieldtotal = 8, b_ezsigntemplate_incomplete = False, s_ezsignfoldertype_name_x = 'Default', - e_ezsigntemplate_type = 'Usergroup', ) + e_ezsigntemplate_type = 'Ezsignfoldertype', ) ], ) """ diff --git a/test/test_ezsigntemplate_get_object_v1_response.py b/test/test_ezsigntemplate_get_object_v1_response.py deleted file mode 100644 index 667663ee1..000000000 --- a/test/test_ezsigntemplate_get_object_v1_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_get_object_v1_response import EzsigntemplateGetObjectV1Response - -class TestEzsigntemplateGetObjectV1Response(unittest.TestCase): - """EzsigntemplateGetObjectV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateGetObjectV1Response: - """Test EzsigntemplateGetObjectV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateGetObjectV1Response` - """ - model = EzsigntemplateGetObjectV1Response() - if include_optional: - return EzsigntemplateGetObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsigntemplate_get_object_v1_response_m_payload.ezsigntemplate-getObject-v1-Response-mPayload() - ) - else: - return EzsigntemplateGetObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsigntemplate_get_object_v1_response_m_payload.ezsigntemplate-getObject-v1-Response-mPayload(), - ) - """ - - def testEzsigntemplateGetObjectV1Response(self): - """Test EzsigntemplateGetObjectV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_get_object_v1_response_m_payload.py b/test/test_ezsigntemplate_get_object_v1_response_m_payload.py deleted file mode 100644 index af320c0cf..000000000 --- a/test/test_ezsigntemplate_get_object_v1_response_m_payload.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_get_object_v1_response_m_payload import EzsigntemplateGetObjectV1ResponseMPayload - -class TestEzsigntemplateGetObjectV1ResponseMPayload(unittest.TestCase): - """EzsigntemplateGetObjectV1ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateGetObjectV1ResponseMPayload: - """Test EzsigntemplateGetObjectV1ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateGetObjectV1ResponseMPayload` - """ - model = EzsigntemplateGetObjectV1ResponseMPayload() - if include_optional: - return EzsigntemplateGetObjectV1ResponseMPayload( - pki_ezsigntemplate_id = 36, - fki_ezsigntemplatedocument_id = 133, - fki_ezsignfoldertype_id = 5, - fki_language_id = 2, - s_language_name_x = 'English', - s_ezsigntemplate_description = 'Standard Contract', - s_ezsigntemplate_filenamepattern = 'Contract', - b_ezsigntemplate_adminonly = True, - s_ezsignfoldertype_name_x = 'Default', - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), - b_ezsigntemplate_editallowed = True, - e_ezsigntemplate_type = 'Usergroup', - obj_ezsigntemplatedocument = eZmaxApi.models.ezsigntemplatedocument_response.ezsigntemplatedocument-Response( - pki_ezsigntemplatedocument_id = 133, - fki_ezsigntemplate_id = 36, - s_ezsigntemplatedocument_name = 'Standard Contract', - i_ezsigntemplatedocument_pagetotal = 5, - i_ezsigntemplatedocument_signaturetotal = 8, - b_ezsigntemplatedocument_hassignedsignatures = True, ), - a_obj_ezsigntemplatesigner = [ - eZmaxApi.models.ezsigntemplatesigner_response_compound.ezsigntemplatesigner-ResponseCompound() - ] - ) - else: - return EzsigntemplateGetObjectV1ResponseMPayload( - pki_ezsigntemplate_id = 36, - fki_language_id = 2, - s_language_name_x = 'English', - s_ezsigntemplate_description = 'Standard Contract', - b_ezsigntemplate_adminonly = True, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), - b_ezsigntemplate_editallowed = True, - a_obj_ezsigntemplatesigner = [ - eZmaxApi.models.ezsigntemplatesigner_response_compound.ezsigntemplatesigner-ResponseCompound() - ], - ) - """ - - def testEzsigntemplateGetObjectV1ResponseMPayload(self): - """Test EzsigntemplateGetObjectV1ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_get_object_v2_response.py b/test/test_ezsigntemplate_get_object_v2_response.py deleted file mode 100644 index 985c5ef26..000000000 --- a/test/test_ezsigntemplate_get_object_v2_response.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_get_object_v2_response import EzsigntemplateGetObjectV2Response - -class TestEzsigntemplateGetObjectV2Response(unittest.TestCase): - """EzsigntemplateGetObjectV2Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateGetObjectV2Response: - """Test EzsigntemplateGetObjectV2Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateGetObjectV2Response` - """ - model = EzsigntemplateGetObjectV2Response() - if include_optional: - return EzsigntemplateGetObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsigntemplate_get_object_v2_response_m_payload.ezsigntemplate-getObject-v2-Response-mPayload( - obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound(), ) - ) - else: - return EzsigntemplateGetObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsigntemplate_get_object_v2_response_m_payload.ezsigntemplate-getObject-v2-Response-mPayload( - obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound(), ), - ) - """ - - def testEzsigntemplateGetObjectV2Response(self): - """Test EzsigntemplateGetObjectV2Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_get_object_v2_response_m_payload.py b/test/test_ezsigntemplate_get_object_v2_response_m_payload.py deleted file mode 100644 index 9bca89823..000000000 --- a/test/test_ezsigntemplate_get_object_v2_response_m_payload.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_get_object_v2_response_m_payload import EzsigntemplateGetObjectV2ResponseMPayload - -class TestEzsigntemplateGetObjectV2ResponseMPayload(unittest.TestCase): - """EzsigntemplateGetObjectV2ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateGetObjectV2ResponseMPayload: - """Test EzsigntemplateGetObjectV2ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateGetObjectV2ResponseMPayload` - """ - model = EzsigntemplateGetObjectV2ResponseMPayload() - if include_optional: - return EzsigntemplateGetObjectV2ResponseMPayload( - obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound() - ) - else: - return EzsigntemplateGetObjectV2ResponseMPayload( - obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound(), - ) - """ - - def testEzsigntemplateGetObjectV2ResponseMPayload(self): - """Test EzsigntemplateGetObjectV2ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_get_object_v3_response.py b/test/test_ezsigntemplate_get_object_v3_response.py new file mode 100644 index 000000000..5b93daaac --- /dev/null +++ b/test/test_ezsigntemplate_get_object_v3_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_get_object_v3_response import EzsigntemplateGetObjectV3Response + +class TestEzsigntemplateGetObjectV3Response(unittest.TestCase): + """EzsigntemplateGetObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateGetObjectV3Response: + """Test EzsigntemplateGetObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateGetObjectV3Response` + """ + model = EzsigntemplateGetObjectV3Response() + if include_optional: + return EzsigntemplateGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplate_get_object_v3_response_m_payload.ezsigntemplate-getObject-v3-Response-mPayload( + obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound_v3.ezsigntemplate-ResponseCompoundV3(), ) + ) + else: + return EzsigntemplateGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplate_get_object_v3_response_m_payload.ezsigntemplate-getObject-v3-Response-mPayload( + obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound_v3.ezsigntemplate-ResponseCompoundV3(), ), + ) + """ + + def testEzsigntemplateGetObjectV3Response(self): + """Test EzsigntemplateGetObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplate_get_object_v3_response_m_payload.py b/test/test_ezsigntemplate_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..2475dfe19 --- /dev/null +++ b/test/test_ezsigntemplate_get_object_v3_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_get_object_v3_response_m_payload import EzsigntemplateGetObjectV3ResponseMPayload + +class TestEzsigntemplateGetObjectV3ResponseMPayload(unittest.TestCase): + """EzsigntemplateGetObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateGetObjectV3ResponseMPayload: + """Test EzsigntemplateGetObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateGetObjectV3ResponseMPayload` + """ + model = EzsigntemplateGetObjectV3ResponseMPayload() + if include_optional: + return EzsigntemplateGetObjectV3ResponseMPayload( + obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound_v3.ezsigntemplate-ResponseCompoundV3() + ) + else: + return EzsigntemplateGetObjectV3ResponseMPayload( + obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound_v3.ezsigntemplate-ResponseCompoundV3(), + ) + """ + + def testEzsigntemplateGetObjectV3ResponseMPayload(self): + """Test EzsigntemplateGetObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplate_list_element.py b/test/test_ezsigntemplate_list_element.py index afab75fcf..c83e60c29 100644 --- a/test/test_ezsigntemplate_list_element.py +++ b/test/test_ezsigntemplate_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateListElement: """Test EzsigntemplateListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateListElement` @@ -45,7 +45,7 @@ def make_instance(self, include_optional) -> EzsigntemplateListElement: i_ezsigntemplate_formfieldtotal = 8, b_ezsigntemplate_incomplete = False, s_ezsignfoldertype_name_x = 'Default', - e_ezsigntemplate_type = 'Usergroup' + e_ezsigntemplate_type = 'Ezsignfoldertype' ) else: return EzsigntemplateListElement( @@ -53,7 +53,7 @@ def make_instance(self, include_optional) -> EzsigntemplateListElement: fki_language_id = 2, s_ezsigntemplate_description = 'Standard Contract', b_ezsigntemplate_incomplete = False, - e_ezsigntemplate_type = 'Usergroup', + e_ezsigntemplate_type = 'Ezsignfoldertype', ) """ diff --git a/test/test_ezsigntemplate_request.py b/test/test_ezsigntemplate_request.py deleted file mode 100644 index 91067e6f5..000000000 --- a/test/test_ezsigntemplate_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_request import EzsigntemplateRequest - -class TestEzsigntemplateRequest(unittest.TestCase): - """EzsigntemplateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateRequest: - """Test EzsigntemplateRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateRequest` - """ - model = EzsigntemplateRequest() - if include_optional: - return EzsigntemplateRequest( - pki_ezsigntemplate_id = 36, - fki_ezsignfoldertype_id = 5, - fki_language_id = 2, - s_ezsigntemplate_description = 'Standard Contract', - s_ezsigntemplate_filenamepattern = 'Contract', - b_ezsigntemplate_adminonly = True - ) - else: - return EzsigntemplateRequest( - fki_ezsignfoldertype_id = 5, - fki_language_id = 2, - s_ezsigntemplate_description = 'Standard Contract', - b_ezsigntemplate_adminonly = True, - ) - """ - - def testEzsigntemplateRequest(self): - """Test EzsigntemplateRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_request_compound.py b/test/test_ezsigntemplate_request_compound.py deleted file mode 100644 index 29bcf89ef..000000000 --- a/test/test_ezsigntemplate_request_compound.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_request_compound import EzsigntemplateRequestCompound - -class TestEzsigntemplateRequestCompound(unittest.TestCase): - """EzsigntemplateRequestCompound unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateRequestCompound: - """Test EzsigntemplateRequestCompound - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateRequestCompound` - """ - model = EzsigntemplateRequestCompound() - if include_optional: - return EzsigntemplateRequestCompound( - pki_ezsigntemplate_id = 36, - fki_ezsignfoldertype_id = 5, - fki_language_id = 2, - s_ezsigntemplate_description = 'Standard Contract', - s_ezsigntemplate_filenamepattern = 'Contract', - b_ezsigntemplate_adminonly = True - ) - else: - return EzsigntemplateRequestCompound( - fki_ezsignfoldertype_id = 5, - fki_language_id = 2, - s_ezsigntemplate_description = 'Standard Contract', - b_ezsigntemplate_adminonly = True, - ) - """ - - def testEzsigntemplateRequestCompound(self): - """Test EzsigntemplateRequestCompound""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_request_compound_v2.py b/test/test_ezsigntemplate_request_compound_v2.py deleted file mode 100644 index f3489a13e..000000000 --- a/test/test_ezsigntemplate_request_compound_v2.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_request_compound_v2 import EzsigntemplateRequestCompoundV2 - -class TestEzsigntemplateRequestCompoundV2(unittest.TestCase): - """EzsigntemplateRequestCompoundV2 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateRequestCompoundV2: - """Test EzsigntemplateRequestCompoundV2 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateRequestCompoundV2` - """ - model = EzsigntemplateRequestCompoundV2() - if include_optional: - return EzsigntemplateRequestCompoundV2( - pki_ezsigntemplate_id = 36, - fki_ezsignfoldertype_id = 5, - fki_language_id = 2, - s_ezsigntemplate_description = 'Standard Contract', - s_ezsigntemplate_filenamepattern = 'Contract', - b_ezsigntemplate_adminonly = True, - e_ezsigntemplate_type = 'Usergroup' - ) - else: - return EzsigntemplateRequestCompoundV2( - fki_language_id = 2, - s_ezsigntemplate_description = 'Standard Contract', - b_ezsigntemplate_adminonly = True, - e_ezsigntemplate_type = 'Usergroup', - ) - """ - - def testEzsigntemplateRequestCompoundV2(self): - """Test EzsigntemplateRequestCompoundV2""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_request_compound_v3.py b/test/test_ezsigntemplate_request_compound_v3.py new file mode 100644 index 000000000..0b561ec6d --- /dev/null +++ b/test/test_ezsigntemplate_request_compound_v3.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_request_compound_v3 import EzsigntemplateRequestCompoundV3 + +class TestEzsigntemplateRequestCompoundV3(unittest.TestCase): + """EzsigntemplateRequestCompoundV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateRequestCompoundV3: + """Test EzsigntemplateRequestCompoundV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateRequestCompoundV3` + """ + model = EzsigntemplateRequestCompoundV3() + if include_optional: + return EzsigntemplateRequestCompoundV3( + pki_ezsigntemplate_id = 36, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + fki_ezdoctemplatedocument_id = 95, + s_ezsigntemplate_description = 'Standard Contract', + s_ezsigntemplate_externaldescription = 'Test eZsign Folder', + t_ezsigntemplate_comment = '', + e_ezsigntemplate_recognition = 'No', + s_ezsigntemplate_filenameregexp = 'Contract', + b_ezsigntemplate_adminonly = True, + e_ezsigntemplate_type = 'Ezsignfoldertype' + ) + else: + return EzsigntemplateRequestCompoundV3( + fki_language_id = 2, + s_ezsigntemplate_description = 'Standard Contract', + b_ezsigntemplate_adminonly = True, + e_ezsigntemplate_type = 'Ezsignfoldertype', + ) + """ + + def testEzsigntemplateRequestCompoundV3(self): + """Test EzsigntemplateRequestCompoundV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplate_request_v2.py b/test/test_ezsigntemplate_request_v2.py deleted file mode 100644 index eab208d72..000000000 --- a/test/test_ezsigntemplate_request_v2.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplate_request_v2 import EzsigntemplateRequestV2 - -class TestEzsigntemplateRequestV2(unittest.TestCase): - """EzsigntemplateRequestV2 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplateRequestV2: - """Test EzsigntemplateRequestV2 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplateRequestV2` - """ - model = EzsigntemplateRequestV2() - if include_optional: - return EzsigntemplateRequestV2( - pki_ezsigntemplate_id = 36, - fki_ezsignfoldertype_id = 5, - fki_language_id = 2, - s_ezsigntemplate_description = 'Standard Contract', - s_ezsigntemplate_filenamepattern = 'Contract', - b_ezsigntemplate_adminonly = True, - e_ezsigntemplate_type = 'Usergroup' - ) - else: - return EzsigntemplateRequestV2( - fki_language_id = 2, - s_ezsigntemplate_description = 'Standard Contract', - b_ezsigntemplate_adminonly = True, - e_ezsigntemplate_type = 'Usergroup', - ) - """ - - def testEzsigntemplateRequestV2(self): - """Test EzsigntemplateRequestV2""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplate_request_v3.py b/test/test_ezsigntemplate_request_v3.py new file mode 100644 index 000000000..9e717f0be --- /dev/null +++ b/test/test_ezsigntemplate_request_v3.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_request_v3 import EzsigntemplateRequestV3 + +class TestEzsigntemplateRequestV3(unittest.TestCase): + """EzsigntemplateRequestV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateRequestV3: + """Test EzsigntemplateRequestV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateRequestV3` + """ + model = EzsigntemplateRequestV3() + if include_optional: + return EzsigntemplateRequestV3( + pki_ezsigntemplate_id = 36, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + fki_ezdoctemplatedocument_id = 95, + s_ezsigntemplate_description = 'Standard Contract', + s_ezsigntemplate_externaldescription = 'Test eZsign Folder', + t_ezsigntemplate_comment = '', + e_ezsigntemplate_recognition = 'No', + s_ezsigntemplate_filenameregexp = 'Contract', + b_ezsigntemplate_adminonly = True, + e_ezsigntemplate_type = 'Ezsignfoldertype' + ) + else: + return EzsigntemplateRequestV3( + fki_language_id = 2, + s_ezsigntemplate_description = 'Standard Contract', + b_ezsigntemplate_adminonly = True, + e_ezsigntemplate_type = 'Ezsignfoldertype', + ) + """ + + def testEzsigntemplateRequestV3(self): + """Test EzsigntemplateRequestV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplate_response.py b/test/test_ezsigntemplate_response.py index 0cbcf7c63..9fbb1a874 100644 --- a/test/test_ezsigntemplate_response.py +++ b/test/test_ezsigntemplate_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateResponse: """Test EzsigntemplateResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateResponse` @@ -40,8 +40,11 @@ def make_instance(self, include_optional) -> EzsigntemplateResponse: fki_ezsigntemplatedocument_id = 133, fki_ezsignfoldertype_id = 5, fki_language_id = 2, + fki_ezdoctemplatedocument_id = 95, s_language_name_x = 'English', s_ezsigntemplate_description = 'Standard Contract', + s_ezsigntemplate_externaldescription = 'Test eZsign Folder', + t_ezsigntemplate_comment = '', s_ezsigntemplate_filenamepattern = 'Contract', b_ezsigntemplate_adminonly = True, s_ezsignfoldertype_name_x = 'Default', @@ -63,7 +66,7 @@ def make_instance(self, include_optional) -> EzsigntemplateResponse: s_apikey_description_x = 'Project X', dt_auditdetail_date = '2020-12-31 23:59:59', ), ), b_ezsigntemplate_editallowed = True, - e_ezsigntemplate_type = 'Usergroup' + e_ezsigntemplate_type = 'Ezsignfoldertype' ) else: return EzsigntemplateResponse( diff --git a/test/test_ezsigntemplate_response_compound.py b/test/test_ezsigntemplate_response_compound.py index bf99388cb..5fd43fe56 100644 --- a/test/test_ezsigntemplate_response_compound.py +++ b/test/test_ezsigntemplate_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateResponseCompound: """Test EzsigntemplateResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateResponseCompound` @@ -40,8 +40,11 @@ def make_instance(self, include_optional) -> EzsigntemplateResponseCompound: fki_ezsigntemplatedocument_id = 133, fki_ezsignfoldertype_id = 5, fki_language_id = 2, + fki_ezdoctemplatedocument_id = 95, s_language_name_x = 'English', s_ezsigntemplate_description = 'Standard Contract', + s_ezsigntemplate_externaldescription = 'Test eZsign Folder', + t_ezsigntemplate_comment = '', s_ezsigntemplate_filenamepattern = 'Contract', b_ezsigntemplate_adminonly = True, s_ezsignfoldertype_name_x = 'Default', @@ -63,13 +66,14 @@ def make_instance(self, include_optional) -> EzsigntemplateResponseCompound: s_apikey_description_x = 'Project X', dt_auditdetail_date = '2020-12-31 23:59:59', ), ), b_ezsigntemplate_editallowed = True, - e_ezsigntemplate_type = 'Usergroup', + e_ezsigntemplate_type = 'Ezsignfoldertype', obj_ezsigntemplatedocument = eZmaxApi.models.ezsigntemplatedocument_response.ezsigntemplatedocument-Response( pki_ezsigntemplatedocument_id = 133, fki_ezsigntemplate_id = 36, s_ezsigntemplatedocument_name = 'Standard Contract', i_ezsigntemplatedocument_pagetotal = 5, i_ezsigntemplatedocument_signaturetotal = 8, + i_ezsigntemplatedocument_formfieldtotal = 8, b_ezsigntemplatedocument_hassignedsignatures = True, ), a_obj_ezsigntemplatesigner = [ eZmaxApi.models.ezsigntemplatesigner_response_compound.ezsigntemplatesigner-ResponseCompound() diff --git a/test/test_ezsigntemplate_response_compound_v3.py b/test/test_ezsigntemplate_response_compound_v3.py new file mode 100644 index 000000000..818686c8c --- /dev/null +++ b/test/test_ezsigntemplate_response_compound_v3.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_response_compound_v3 import EzsigntemplateResponseCompoundV3 + +class TestEzsigntemplateResponseCompoundV3(unittest.TestCase): + """EzsigntemplateResponseCompoundV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateResponseCompoundV3: + """Test EzsigntemplateResponseCompoundV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateResponseCompoundV3` + """ + model = EzsigntemplateResponseCompoundV3() + if include_optional: + return EzsigntemplateResponseCompoundV3( + pki_ezsigntemplate_id = 36, + fki_ezsigntemplatedocument_id = 133, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + fki_ezdoctemplatedocument_id = 95, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + s_language_name_x = 'English', + s_ezsigntemplate_description = 'Standard Contract', + s_ezsigntemplate_externaldescription = 'Test eZsign Folder', + t_ezsigntemplate_comment = '', + e_ezsigntemplate_recognition = 'No', + s_ezsigntemplate_filenameregexp = 'Contract', + b_ezsigntemplate_adminonly = True, + s_ezsignfoldertype_name_x = 'Default', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + b_ezsigntemplate_editallowed = True, + e_ezsigntemplate_type = 'Ezsignfoldertype', + obj_ezsigntemplatedocument = eZmaxApi.models.ezsigntemplatedocument_response.ezsigntemplatedocument-Response( + pki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplate_id = 36, + s_ezsigntemplatedocument_name = 'Standard Contract', + i_ezsigntemplatedocument_pagetotal = 5, + i_ezsigntemplatedocument_signaturetotal = 8, + i_ezsigntemplatedocument_formfieldtotal = 8, + b_ezsigntemplatedocument_hassignedsignatures = True, ), + a_obj_ezsigntemplatesigner = [ + eZmaxApi.models.ezsigntemplatesigner_response_compound.ezsigntemplatesigner-ResponseCompound() + ] + ) + else: + return EzsigntemplateResponseCompoundV3( + pki_ezsigntemplate_id = 36, + fki_language_id = 2, + s_language_name_x = 'English', + s_ezsigntemplate_description = 'Standard Contract', + b_ezsigntemplate_adminonly = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + b_ezsigntemplate_editallowed = True, + a_obj_ezsigntemplatesigner = [ + eZmaxApi.models.ezsigntemplatesigner_response_compound.ezsigntemplatesigner-ResponseCompound() + ], + ) + """ + + def testEzsigntemplateResponseCompoundV3(self): + """Test EzsigntemplateResponseCompoundV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplate_response_v3.py b/test/test_ezsigntemplate_response_v3.py new file mode 100644 index 000000000..63f9b87f9 --- /dev/null +++ b/test/test_ezsigntemplate_response_v3.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplate_response_v3 import EzsigntemplateResponseV3 + +class TestEzsigntemplateResponseV3(unittest.TestCase): + """EzsigntemplateResponseV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplateResponseV3: + """Test EzsigntemplateResponseV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplateResponseV3` + """ + model = EzsigntemplateResponseV3() + if include_optional: + return EzsigntemplateResponseV3( + pki_ezsigntemplate_id = 36, + fki_ezsigntemplatedocument_id = 133, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + fki_ezdoctemplatedocument_id = 95, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + s_language_name_x = 'English', + s_ezsigntemplate_description = 'Standard Contract', + s_ezsigntemplate_externaldescription = 'Test eZsign Folder', + t_ezsigntemplate_comment = '', + e_ezsigntemplate_recognition = 'No', + s_ezsigntemplate_filenameregexp = 'Contract', + b_ezsigntemplate_adminonly = True, + s_ezsignfoldertype_name_x = 'Default', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + b_ezsigntemplate_editallowed = True, + e_ezsigntemplate_type = 'Ezsignfoldertype' + ) + else: + return EzsigntemplateResponseV3( + pki_ezsigntemplate_id = 36, + fki_language_id = 2, + s_language_name_x = 'English', + s_ezsigntemplate_description = 'Standard Contract', + b_ezsigntemplate_adminonly = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + b_ezsigntemplate_editallowed = True, + ) + """ + + def testEzsigntemplateResponseV3(self): + """Test EzsigntemplateResponseV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocument_create_object_v1_request.py b/test/test_ezsigntemplatedocument_create_object_v1_request.py index a20596a9c..f2b5d1293 100644 --- a/test/test_ezsigntemplatedocument_create_object_v1_request.py +++ b/test/test_ezsigntemplatedocument_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentCreateObjectV1Request: """Test EzsigntemplatedocumentCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentCreateObjectV1Request` diff --git a/test/test_ezsigntemplatedocument_create_object_v1_response.py b/test/test_ezsigntemplatedocument_create_object_v1_response.py index 33256f64d..9cb4fa458 100644 --- a/test/test_ezsigntemplatedocument_create_object_v1_response.py +++ b/test/test_ezsigntemplatedocument_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentCreateObjectV1Response: """Test EzsigntemplatedocumentCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentCreateObjectV1Response` diff --git a/test/test_ezsigntemplatedocument_create_object_v1_response_m_payload.py b/test/test_ezsigntemplatedocument_create_object_v1_response_m_payload.py index 16c190165..f6c2f7db1 100644 --- a/test/test_ezsigntemplatedocument_create_object_v1_response_m_payload.py +++ b/test/test_ezsigntemplatedocument_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentCreateObjectV1ResponseMPayload: """Test EzsigntemplatedocumentCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request.py new file mode 100644 index 000000000..b5f7406a5 --- /dev/null +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request + +class TestEzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request(unittest.TestCase): + """EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request: + """Test EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request` + """ + model = EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request() + if include_optional: + return EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request( + a_obj_ezsigntemplatedocumentpagerecognition = [ + eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound.ezsigntemplatedocumentpagerecognition-RequestCompound() + ] + ) + else: + return EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request( + a_obj_ezsigntemplatedocumentpagerecognition = [ + eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound.ezsigntemplatedocumentpagerecognition-RequestCompound() + ], + ) + """ + + def testEzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request(self): + """Test EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py new file mode 100644 index 000000000..68f81c219 --- /dev/null +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response + +class TestEzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response(unittest.TestCase): + """EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response: + """Test EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response` + """ + model = EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response() + if include_optional: + return EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.ezsigntemplatedocument-editEzsigntemplatedocumentpagerecognitions-v1-Response-mPayload( + a_pki_ezsigntemplatedocumentpagerecognition_id = [ + 126 + ], ) + ) + else: + return EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.ezsigntemplatedocument-editEzsigntemplatedocumentpagerecognitions-v1-Response-mPayload( + a_pki_ezsigntemplatedocumentpagerecognition_id = [ + 126 + ], ), + ) + """ + + def testEzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response(self): + """Test EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py new file mode 100644 index 000000000..f28b6ce21 --- /dev/null +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload + +class TestEzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload: + """Test EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload` + """ + model = EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload() + if include_optional: + return EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload( + a_pki_ezsigntemplatedocumentpagerecognition_id = [ + 126 + ] + ) + else: + return EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload( + a_pki_ezsigntemplatedocumentpagerecognition_id = [ + 126 + ], + ) + """ + + def testEzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload(self): + """Test EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.py index e0982a1dc..9f7b4b1e5 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request: """Test EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Request` diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py index 59fae8b28..88ee37535 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response: """Test EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response` diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload.py index 5040af297..003027942 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload: """Test EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload` diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request.py index 96a7245fd..094090638 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request: """Test EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Request` diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py index 982351f87..cbb5c0848 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response: """Test EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response` diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload.py index 6349f4bde..cf7f4b358 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload: """Test EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload` diff --git a/test/test_ezsigntemplatedocument_edit_object_v1_request.py b/test/test_ezsigntemplatedocument_edit_object_v1_request.py index b4d0aa37c..4d9af8d37 100644 --- a/test/test_ezsigntemplatedocument_edit_object_v1_request.py +++ b/test/test_ezsigntemplatedocument_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentEditObjectV1Request: """Test EzsigntemplatedocumentEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentEditObjectV1Request` diff --git a/test/test_ezsigntemplatedocument_edit_object_v1_response.py b/test/test_ezsigntemplatedocument_edit_object_v1_response.py index 29ed1ca9c..d8c689cd7 100644 --- a/test/test_ezsigntemplatedocument_edit_object_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentEditObjectV1Response: """Test EzsigntemplatedocumentEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentEditObjectV1Response` diff --git a/test/test_ezsigntemplatedocument_extract_text_v1_request.py b/test/test_ezsigntemplatedocument_extract_text_v1_request.py new file mode 100644 index 000000000..09ebf4253 --- /dev/null +++ b/test/test_ezsigntemplatedocument_extract_text_v1_request.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_request import EzsigntemplatedocumentExtractTextV1Request + +class TestEzsigntemplatedocumentExtractTextV1Request(unittest.TestCase): + """EzsigntemplatedocumentExtractTextV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentExtractTextV1Request: + """Test EzsigntemplatedocumentExtractTextV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentExtractTextV1Request` + """ + model = EzsigntemplatedocumentExtractTextV1Request() + if include_optional: + return EzsigntemplatedocumentExtractTextV1Request( + i_page = 1, + e_section = 'Region', + i_x = 1, + i_y = 1, + i_width = 1, + i_height = 1 + ) + else: + return EzsigntemplatedocumentExtractTextV1Request( + i_page = 1, + ) + """ + + def testEzsigntemplatedocumentExtractTextV1Request(self): + """Test EzsigntemplatedocumentExtractTextV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocument_extract_text_v1_response.py b/test/test_ezsigntemplatedocument_extract_text_v1_response.py new file mode 100644 index 000000000..a4db98979 --- /dev/null +++ b/test/test_ezsigntemplatedocument_extract_text_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response import EzsigntemplatedocumentExtractTextV1Response + +class TestEzsigntemplatedocumentExtractTextV1Response(unittest.TestCase): + """EzsigntemplatedocumentExtractTextV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentExtractTextV1Response: + """Test EzsigntemplatedocumentExtractTextV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentExtractTextV1Response` + """ + model = EzsigntemplatedocumentExtractTextV1Response() + if include_optional: + return EzsigntemplatedocumentExtractTextV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response_m_payload.ezsigntemplatedocument-extractText-v1-Response-mPayload( + s_text = 'Text extract from document', ) + ) + else: + return EzsigntemplatedocumentExtractTextV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response_m_payload.ezsigntemplatedocument-extractText-v1-Response-mPayload( + s_text = 'Text extract from document', ), + ) + """ + + def testEzsigntemplatedocumentExtractTextV1Response(self): + """Test EzsigntemplatedocumentExtractTextV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocument_extract_text_v1_response_m_payload.py b/test/test_ezsigntemplatedocument_extract_text_v1_response_m_payload.py new file mode 100644 index 000000000..65967cc66 --- /dev/null +++ b/test/test_ezsigntemplatedocument_extract_text_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response_m_payload import EzsigntemplatedocumentExtractTextV1ResponseMPayload + +class TestEzsigntemplatedocumentExtractTextV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatedocumentExtractTextV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentExtractTextV1ResponseMPayload: + """Test EzsigntemplatedocumentExtractTextV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentExtractTextV1ResponseMPayload` + """ + model = EzsigntemplatedocumentExtractTextV1ResponseMPayload() + if include_optional: + return EzsigntemplatedocumentExtractTextV1ResponseMPayload( + s_text = 'Text extract from document' + ) + else: + return EzsigntemplatedocumentExtractTextV1ResponseMPayload( + s_text = 'Text extract from document', + ) + """ + + def testEzsigntemplatedocumentExtractTextV1ResponseMPayload(self): + """Test EzsigntemplatedocumentExtractTextV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocument_flatten_v1_response.py b/test/test_ezsigntemplatedocument_flatten_v1_response.py index d197202b2..6a0f92d5c 100644 --- a/test/test_ezsigntemplatedocument_flatten_v1_response.py +++ b/test/test_ezsigntemplatedocument_flatten_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentFlattenV1Response: """Test EzsigntemplatedocumentFlattenV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentFlattenV1Response` diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py new file mode 100644 index 000000000..c141ce3d4 --- /dev/null +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response + +class TestEzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response(unittest.TestCase): + """EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response: + """Test EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response` + """ + model = EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response() + if include_optional: + return EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.ezsigntemplatedocument-getEzsigntemplatedocumentpagerecognitions-v1-Response-mPayload( + a_obj_ezsigntemplatedocumentpagerecognition = [ + eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound() + ], ) + ) + else: + return EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.ezsigntemplatedocument-getEzsigntemplatedocumentpagerecognitions-v1-Response-mPayload( + a_obj_ezsigntemplatedocumentpagerecognition = [ + eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound() + ], ), + ) + """ + + def testEzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response(self): + """Test EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py new file mode 100644 index 000000000..c9be544c9 --- /dev/null +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload + +class TestEzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload: + """Test EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload` + """ + model = EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload() + if include_optional: + return EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload( + a_obj_ezsigntemplatedocumentpagerecognition = [ + eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound() + ] + ) + else: + return EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload( + a_obj_ezsigntemplatedocumentpagerecognition = [ + eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound() + ], + ) + """ + + def testEzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload(self): + """Test EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py index 1a63a3dcf..3ac0db546 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response: """Test EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response` diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py index 9fa2875c1..d8d09865a 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload: """Test EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload` diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py b/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py index 0a6516057..ec8df03a6 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response: """Test EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response` diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.py b/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.py index a93bb38a3..ffe0ce470 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload: """Test EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload` diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py b/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py index 5483060d8..cbd278860 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response: """Test EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response` diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.py b/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.py index 9eeede1d4..fcbddf5a1 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload: """Test EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload` diff --git a/test/test_ezsigntemplatedocument_get_object_v2_response.py b/test/test_ezsigntemplatedocument_get_object_v2_response.py index ffb123c3d..cc7f0998f 100644 --- a/test/test_ezsigntemplatedocument_get_object_v2_response.py +++ b/test/test_ezsigntemplatedocument_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentGetObjectV2Response: """Test EzsigntemplatedocumentGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentGetObjectV2Response` diff --git a/test/test_ezsigntemplatedocument_get_object_v2_response_m_payload.py b/test/test_ezsigntemplatedocument_get_object_v2_response_m_payload.py index 8b44af830..9489bbf5a 100644 --- a/test/test_ezsigntemplatedocument_get_object_v2_response_m_payload.py +++ b/test/test_ezsigntemplatedocument_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentGetObjectV2ResponseMPayload: """Test EzsigntemplatedocumentGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentGetObjectV2ResponseMPayload` diff --git a/test/test_ezsigntemplatedocument_get_words_positions_v1_request.py b/test/test_ezsigntemplatedocument_get_words_positions_v1_request.py index 0bae1e928..e253d3d42 100644 --- a/test/test_ezsigntemplatedocument_get_words_positions_v1_request.py +++ b/test/test_ezsigntemplatedocument_get_words_positions_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentGetWordsPositionsV1Request: """Test EzsigntemplatedocumentGetWordsPositionsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentGetWordsPositionsV1Request` diff --git a/test/test_ezsigntemplatedocument_get_words_positions_v1_response.py b/test/test_ezsigntemplatedocument_get_words_positions_v1_response.py index d06459203..8dc95d036 100644 --- a/test/test_ezsigntemplatedocument_get_words_positions_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_words_positions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentGetWordsPositionsV1Response: """Test EzsigntemplatedocumentGetWordsPositionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentGetWordsPositionsV1Response` diff --git a/test/test_ezsigntemplatedocument_patch_object_v1_request.py b/test/test_ezsigntemplatedocument_patch_object_v1_request.py index 5eeacf1b6..fefadd377 100644 --- a/test/test_ezsigntemplatedocument_patch_object_v1_request.py +++ b/test/test_ezsigntemplatedocument_patch_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentPatchObjectV1Request: """Test EzsigntemplatedocumentPatchObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentPatchObjectV1Request` diff --git a/test/test_ezsigntemplatedocument_patch_object_v1_response.py b/test/test_ezsigntemplatedocument_patch_object_v1_response.py index 3515de527..cc9914bff 100644 --- a/test/test_ezsigntemplatedocument_patch_object_v1_response.py +++ b/test/test_ezsigntemplatedocument_patch_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentPatchObjectV1Response: """Test EzsigntemplatedocumentPatchObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentPatchObjectV1Response` diff --git a/test/test_ezsigntemplatedocument_request.py b/test/test_ezsigntemplatedocument_request.py index 1ad3c5bfd..aa7d2c0cb 100644 --- a/test/test_ezsigntemplatedocument_request.py +++ b/test/test_ezsigntemplatedocument_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentRequest: """Test EzsigntemplatedocumentRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentRequest` @@ -43,7 +43,7 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentRequest: s_ezsigntemplatedocument_name = 'Standard Contract', e_ezsigntemplatedocument_source = 'Base64', e_ezsigntemplatedocument_format = 'Pdf', - s_ezsigntemplatedocument_base64 = '[B@5bda80bf', + s_ezsigntemplatedocument_base64 = '[B@4fd4cae3', s_ezsigntemplatedocument_url = 'http://www.example.com/template.pdf', b_ezsigntemplatedocument_forcerepair = True, e_ezsigntemplatedocument_form = 'Keep', diff --git a/test/test_ezsigntemplatedocument_request_compound.py b/test/test_ezsigntemplatedocument_request_compound.py index c6dcf9595..f891a0453 100644 --- a/test/test_ezsigntemplatedocument_request_compound.py +++ b/test/test_ezsigntemplatedocument_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentRequestCompound: """Test EzsigntemplatedocumentRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentRequestCompound` diff --git a/test/test_ezsigntemplatedocument_request_patch.py b/test/test_ezsigntemplatedocument_request_patch.py index 81a072db1..2e8c59145 100644 --- a/test/test_ezsigntemplatedocument_request_patch.py +++ b/test/test_ezsigntemplatedocument_request_patch.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentRequestPatch: """Test EzsigntemplatedocumentRequestPatch - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentRequestPatch` diff --git a/test/test_ezsigntemplatedocument_response.py b/test/test_ezsigntemplatedocument_response.py index 0e0813605..0f1a63fb2 100644 --- a/test/test_ezsigntemplatedocument_response.py +++ b/test/test_ezsigntemplatedocument_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentResponse: """Test EzsigntemplatedocumentResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentResponse` @@ -41,6 +41,7 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentResponse: s_ezsigntemplatedocument_name = 'Standard Contract', i_ezsigntemplatedocument_pagetotal = 5, i_ezsigntemplatedocument_signaturetotal = 8, + i_ezsigntemplatedocument_formfieldtotal = 8, b_ezsigntemplatedocument_hassignedsignatures = True ) else: @@ -50,6 +51,7 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentResponse: s_ezsigntemplatedocument_name = 'Standard Contract', i_ezsigntemplatedocument_pagetotal = 5, i_ezsigntemplatedocument_signaturetotal = 8, + i_ezsigntemplatedocument_formfieldtotal = 8, b_ezsigntemplatedocument_hassignedsignatures = True, ) """ diff --git a/test/test_ezsigntemplatedocument_response_compound.py b/test/test_ezsigntemplatedocument_response_compound.py index edafdd7c9..f17b981fd 100644 --- a/test/test_ezsigntemplatedocument_response_compound.py +++ b/test/test_ezsigntemplatedocument_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentResponseCompound: """Test EzsigntemplatedocumentResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentResponseCompound` @@ -41,6 +41,7 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentResponseCompo s_ezsigntemplatedocument_name = 'Standard Contract', i_ezsigntemplatedocument_pagetotal = 5, i_ezsigntemplatedocument_signaturetotal = 8, + i_ezsigntemplatedocument_formfieldtotal = 8, b_ezsigntemplatedocument_hassignedsignatures = True ) else: @@ -50,6 +51,7 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentResponseCompo s_ezsigntemplatedocument_name = 'Standard Contract', i_ezsigntemplatedocument_pagetotal = 5, i_ezsigntemplatedocument_signaturetotal = 8, + i_ezsigntemplatedocument_formfieldtotal = 8, b_ezsigntemplatedocument_hassignedsignatures = True, ) """ diff --git a/test/test_ezsigntemplatedocumentpage_response.py b/test/test_ezsigntemplatedocumentpage_response.py index 8430bfde6..ef51cc774 100644 --- a/test/test_ezsigntemplatedocumentpage_response.py +++ b/test/test_ezsigntemplatedocumentpage_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentpageResponse: """Test EzsigntemplatedocumentpageResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentpageResponse` diff --git a/test/test_ezsigntemplatedocumentpage_response_compound.py b/test/test_ezsigntemplatedocumentpage_response_compound.py index 6ac2d0531..5e4415da8 100644 --- a/test/test_ezsigntemplatedocumentpage_response_compound.py +++ b/test/test_ezsigntemplatedocumentpage_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatedocumentpageResponseCompound: """Test EzsigntemplatedocumentpageResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatedocumentpageResponseCompound` diff --git a/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_request.py b/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_request.py new file mode 100644 index 000000000..6f920e622 --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_request import EzsigntemplatedocumentpagerecognitionCreateObjectV1Request + +class TestEzsigntemplatedocumentpagerecognitionCreateObjectV1Request(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionCreateObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionCreateObjectV1Request: + """Test EzsigntemplatedocumentpagerecognitionCreateObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionCreateObjectV1Request` + """ + model = EzsigntemplatedocumentpagerecognitionCreateObjectV1Request() + if include_optional: + return EzsigntemplatedocumentpagerecognitionCreateObjectV1Request( + a_obj_ezsigntemplatedocumentpagerecognition = [ + eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound.ezsigntemplatedocumentpagerecognition-RequestCompound() + ] + ) + else: + return EzsigntemplatedocumentpagerecognitionCreateObjectV1Request( + a_obj_ezsigntemplatedocumentpagerecognition = [ + eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound.ezsigntemplatedocumentpagerecognition-RequestCompound() + ], + ) + """ + + def testEzsigntemplatedocumentpagerecognitionCreateObjectV1Request(self): + """Test EzsigntemplatedocumentpagerecognitionCreateObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response.py b/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response.py new file mode 100644 index 000000000..7775cfe5b --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response import EzsigntemplatedocumentpagerecognitionCreateObjectV1Response + +class TestEzsigntemplatedocumentpagerecognitionCreateObjectV1Response(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionCreateObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionCreateObjectV1Response: + """Test EzsigntemplatedocumentpagerecognitionCreateObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionCreateObjectV1Response` + """ + model = EzsigntemplatedocumentpagerecognitionCreateObjectV1Response() + if include_optional: + return EzsigntemplatedocumentpagerecognitionCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.ezsigntemplatedocumentpagerecognition-createObject-v1-Response-mPayload( + a_pki_ezsigntemplatedocumentpagerecognition_id = [ + 126 + ], ) + ) + else: + return EzsigntemplatedocumentpagerecognitionCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.ezsigntemplatedocumentpagerecognition-createObject-v1-Response-mPayload( + a_pki_ezsigntemplatedocumentpagerecognition_id = [ + 126 + ], ), + ) + """ + + def testEzsigntemplatedocumentpagerecognitionCreateObjectV1Response(self): + """Test EzsigntemplatedocumentpagerecognitionCreateObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.py b/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..d0a644c62 --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload import EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload + +class TestEzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload: + """Test EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload` + """ + model = EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload() + if include_optional: + return EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload( + a_pki_ezsigntemplatedocumentpagerecognition_id = [ + 126 + ] + ) + else: + return EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload( + a_pki_ezsigntemplatedocumentpagerecognition_id = [ + 126 + ], + ) + """ + + def testEzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload(self): + """Test EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py b/test/test_ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py new file mode 100644 index 000000000..7bf5ccd48 --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_delete_object_v1_response import EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response + +class TestEzsigntemplatedocumentpagerecognitionDeleteObjectV1Response(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response: + """Test EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response` + """ + model = EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response() + if include_optional: + return EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsigntemplatedocumentpagerecognitionDeleteObjectV1Response(self): + """Test EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_request.py b/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_request.py new file mode 100644 index 000000000..7d51c68f2 --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_request import EzsigntemplatedocumentpagerecognitionEditObjectV1Request + +class TestEzsigntemplatedocumentpagerecognitionEditObjectV1Request(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionEditObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionEditObjectV1Request: + """Test EzsigntemplatedocumentpagerecognitionEditObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionEditObjectV1Request` + """ + model = EzsigntemplatedocumentpagerecognitionEditObjectV1Request() + if include_optional: + return EzsigntemplatedocumentpagerecognitionEditObjectV1Request( + obj_ezsigntemplatedocumentpagerecognition = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound.ezsigntemplatedocumentpagerecognition-RequestCompound() + ) + else: + return EzsigntemplatedocumentpagerecognitionEditObjectV1Request( + obj_ezsigntemplatedocumentpagerecognition = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound.ezsigntemplatedocumentpagerecognition-RequestCompound(), + ) + """ + + def testEzsigntemplatedocumentpagerecognitionEditObjectV1Request(self): + """Test EzsigntemplatedocumentpagerecognitionEditObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py b/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py new file mode 100644 index 000000000..c3e67c297 --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_response import EzsigntemplatedocumentpagerecognitionEditObjectV1Response + +class TestEzsigntemplatedocumentpagerecognitionEditObjectV1Response(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionEditObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionEditObjectV1Response: + """Test EzsigntemplatedocumentpagerecognitionEditObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionEditObjectV1Response` + """ + model = EzsigntemplatedocumentpagerecognitionEditObjectV1Response() + if include_optional: + return EzsigntemplatedocumentpagerecognitionEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsigntemplatedocumentpagerecognitionEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsigntemplatedocumentpagerecognitionEditObjectV1Response(self): + """Test EzsigntemplatedocumentpagerecognitionEditObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response.py b/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response.py new file mode 100644 index 000000000..080aea33e --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response import EzsigntemplatedocumentpagerecognitionGetObjectV2Response + +class TestEzsigntemplatedocumentpagerecognitionGetObjectV2Response(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionGetObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionGetObjectV2Response: + """Test EzsigntemplatedocumentpagerecognitionGetObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionGetObjectV2Response` + """ + model = EzsigntemplatedocumentpagerecognitionGetObjectV2Response() + if include_optional: + return EzsigntemplatedocumentpagerecognitionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.ezsigntemplatedocumentpagerecognition-getObject-v2-Response-mPayload( + obj_ezsigntemplatedocumentpagerecognition = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound(), ) + ) + else: + return EzsigntemplatedocumentpagerecognitionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.ezsigntemplatedocumentpagerecognition-getObject-v2-Response-mPayload( + obj_ezsigntemplatedocumentpagerecognition = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound(), ), + ) + """ + + def testEzsigntemplatedocumentpagerecognitionGetObjectV2Response(self): + """Test EzsigntemplatedocumentpagerecognitionGetObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.py b/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..9933bda6b --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload import EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload + +class TestEzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload: + """Test EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload` + """ + model = EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload() + if include_optional: + return EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload( + obj_ezsigntemplatedocumentpagerecognition = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound() + ) + else: + return EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload( + obj_ezsigntemplatedocumentpagerecognition = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound(), + ) + """ + + def testEzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload(self): + """Test EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_request.py b/test/test_ezsigntemplatedocumentpagerecognition_request.py new file mode 100644 index 000000000..1eca4f39b --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_request.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request import EzsigntemplatedocumentpagerecognitionRequest + +class TestEzsigntemplatedocumentpagerecognitionRequest(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionRequest: + """Test EzsigntemplatedocumentpagerecognitionRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionRequest` + """ + model = EzsigntemplatedocumentpagerecognitionRequest() + if include_optional: + return EzsigntemplatedocumentpagerecognitionRequest( + pki_ezsigntemplatedocumentpagerecognition_id = 126, + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + i_ezsigntemplatedocumentpagerecognition_similarpercentage = 50, + i_ezsigntemplatedocumentpagerecognition_x = 36325, + i_ezsigntemplatedocumentpagerecognition_y = 407, + i_ezsigntemplatedocumentpagerecognition_width = 29232, + i_ezsigntemplatedocumentpagerecognition_height = 42651, + t_ezsigntemplatedocumentpagerecognition_text = 'Contract' + ) + else: + return EzsigntemplatedocumentpagerecognitionRequest( + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + t_ezsigntemplatedocumentpagerecognition_text = 'Contract', + ) + """ + + def testEzsigntemplatedocumentpagerecognitionRequest(self): + """Test EzsigntemplatedocumentpagerecognitionRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_request_compound.py b/test/test_ezsigntemplatedocumentpagerecognition_request_compound.py new file mode 100644 index 000000000..543f0ccd1 --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_request_compound.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request_compound import EzsigntemplatedocumentpagerecognitionRequestCompound + +class TestEzsigntemplatedocumentpagerecognitionRequestCompound(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionRequestCompound: + """Test EzsigntemplatedocumentpagerecognitionRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionRequestCompound` + """ + model = EzsigntemplatedocumentpagerecognitionRequestCompound() + if include_optional: + return EzsigntemplatedocumentpagerecognitionRequestCompound( + pki_ezsigntemplatedocumentpagerecognition_id = 126, + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + i_ezsigntemplatedocumentpagerecognition_similarpercentage = 50, + i_ezsigntemplatedocumentpagerecognition_x = 36325, + i_ezsigntemplatedocumentpagerecognition_y = 407, + i_ezsigntemplatedocumentpagerecognition_width = 29232, + i_ezsigntemplatedocumentpagerecognition_height = 42651, + t_ezsigntemplatedocumentpagerecognition_text = 'Contract' + ) + else: + return EzsigntemplatedocumentpagerecognitionRequestCompound( + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + t_ezsigntemplatedocumentpagerecognition_text = 'Contract', + ) + """ + + def testEzsigntemplatedocumentpagerecognitionRequestCompound(self): + """Test EzsigntemplatedocumentpagerecognitionRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_response.py b/test/test_ezsigntemplatedocumentpagerecognition_response.py new file mode 100644 index 000000000..5ba816172 --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_response.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response import EzsigntemplatedocumentpagerecognitionResponse + +class TestEzsigntemplatedocumentpagerecognitionResponse(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionResponse: + """Test EzsigntemplatedocumentpagerecognitionResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionResponse` + """ + model = EzsigntemplatedocumentpagerecognitionResponse() + if include_optional: + return EzsigntemplatedocumentpagerecognitionResponse( + pki_ezsigntemplatedocumentpagerecognition_id = 126, + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + i_ezsigntemplatedocumentpagerecognition_similarpercentage = 50, + i_ezsigntemplatedocumentpagerecognition_x = 36325, + i_ezsigntemplatedocumentpagerecognition_y = 407, + i_ezsigntemplatedocumentpagerecognition_width = 29232, + i_ezsigntemplatedocumentpagerecognition_height = 42651, + t_ezsigntemplatedocumentpagerecognition_text = 'Contract' + ) + else: + return EzsigntemplatedocumentpagerecognitionResponse( + pki_ezsigntemplatedocumentpagerecognition_id = 126, + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + t_ezsigntemplatedocumentpagerecognition_text = 'Contract', + ) + """ + + def testEzsigntemplatedocumentpagerecognitionResponse(self): + """Test EzsigntemplatedocumentpagerecognitionResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatedocumentpagerecognition_response_compound.py b/test/test_ezsigntemplatedocumentpagerecognition_response_compound.py new file mode 100644 index 000000000..f1ec97bf4 --- /dev/null +++ b/test/test_ezsigntemplatedocumentpagerecognition_response_compound.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound import EzsigntemplatedocumentpagerecognitionResponseCompound + +class TestEzsigntemplatedocumentpagerecognitionResponseCompound(unittest.TestCase): + """EzsigntemplatedocumentpagerecognitionResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatedocumentpagerecognitionResponseCompound: + """Test EzsigntemplatedocumentpagerecognitionResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatedocumentpagerecognitionResponseCompound` + """ + model = EzsigntemplatedocumentpagerecognitionResponseCompound() + if include_optional: + return EzsigntemplatedocumentpagerecognitionResponseCompound( + pki_ezsigntemplatedocumentpagerecognition_id = 126, + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + i_ezsigntemplatedocumentpagerecognition_similarpercentage = 50, + i_ezsigntemplatedocumentpagerecognition_x = 36325, + i_ezsigntemplatedocumentpagerecognition_y = 407, + i_ezsigntemplatedocumentpagerecognition_width = 29232, + i_ezsigntemplatedocumentpagerecognition_height = 42651, + t_ezsigntemplatedocumentpagerecognition_text = 'Contract' + ) + else: + return EzsigntemplatedocumentpagerecognitionResponseCompound( + pki_ezsigntemplatedocumentpagerecognition_id = 126, + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + t_ezsigntemplatedocumentpagerecognition_text = 'Contract', + ) + """ + + def testEzsigntemplatedocumentpagerecognitionResponseCompound(self): + """Test EzsigntemplatedocumentpagerecognitionResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplateelementdependency_request.py b/test/test_ezsigntemplateelementdependency_request.py index be990b320..697b7997d 100644 --- a/test/test_ezsigntemplateelementdependency_request.py +++ b/test/test_ezsigntemplateelementdependency_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateelementdependencyRequest: """Test EzsigntemplateelementdependencyRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateelementdependencyRequest` diff --git a/test/test_ezsigntemplateelementdependency_request_compound.py b/test/test_ezsigntemplateelementdependency_request_compound.py index e3bdc1fb1..549f8cf9a 100644 --- a/test/test_ezsigntemplateelementdependency_request_compound.py +++ b/test/test_ezsigntemplateelementdependency_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateelementdependencyRequestCompound: """Test EzsigntemplateelementdependencyRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateelementdependencyRequestCompound` diff --git a/test/test_ezsigntemplateelementdependency_response.py b/test/test_ezsigntemplateelementdependency_response.py index ad31ff6a9..6949258a9 100644 --- a/test/test_ezsigntemplateelementdependency_response.py +++ b/test/test_ezsigntemplateelementdependency_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateelementdependencyResponse: """Test EzsigntemplateelementdependencyResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateelementdependencyResponse` diff --git a/test/test_ezsigntemplateelementdependency_response_compound.py b/test/test_ezsigntemplateelementdependency_response_compound.py index 92532d428..2f921e364 100644 --- a/test/test_ezsigntemplateelementdependency_response_compound.py +++ b/test/test_ezsigntemplateelementdependency_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateelementdependencyResponseCompound: """Test EzsigntemplateelementdependencyResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateelementdependencyResponseCompound` diff --git a/test/test_ezsigntemplateformfield_request.py b/test/test_ezsigntemplateformfield_request.py index 723cf8c91..d9df635c9 100644 --- a/test/test_ezsigntemplateformfield_request.py +++ b/test/test_ezsigntemplateformfield_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldRequest: """Test EzsigntemplateformfieldRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldRequest` @@ -51,7 +51,9 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldRequest: s_ezsigntemplateformfield_positioningpattern = 'Signature', i_ezsigntemplateformfield_positioningoffsetx = 200, i_ezsigntemplateformfield_positioningoffsety = 200, - e_ezsigntemplateformfield_positioningoccurence = 'All' + e_ezsigntemplateformfield_positioningoccurence = 'All', + e_ezsigntemplateformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_request_compound.textstylestatic-RequestCompound() ) else: return EzsigntemplateformfieldRequest( diff --git a/test/test_ezsigntemplateformfield_request_compound.py b/test/test_ezsigntemplateformfield_request_compound.py index 6a0e6fc2e..c8680acda 100644 --- a/test/test_ezsigntemplateformfield_request_compound.py +++ b/test/test_ezsigntemplateformfield_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldRequestCompound: """Test EzsigntemplateformfieldRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldRequestCompound` @@ -52,6 +52,8 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldRequestCompo i_ezsigntemplateformfield_positioningoffsetx = 200, i_ezsigntemplateformfield_positioningoffsety = 200, e_ezsigntemplateformfield_positioningoccurence = 'All', + e_ezsigntemplateformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_request_compound.textstylestatic-RequestCompound(), a_obj_ezsigntemplateelementdependency = [ eZmaxApi.models.ezsigntemplateelementdependency_request_compound.ezsigntemplateelementdependency-RequestCompound() ] diff --git a/test/test_ezsigntemplateformfield_response.py b/test/test_ezsigntemplateformfield_response.py index 3555dfad2..fac39aaf6 100644 --- a/test/test_ezsigntemplateformfield_response.py +++ b/test/test_ezsigntemplateformfield_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldResponse: """Test EzsigntemplateformfieldResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldResponse` @@ -51,7 +51,9 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldResponse: s_ezsigntemplateformfield_positioningpattern = 'Signature', i_ezsigntemplateformfield_positioningoffsetx = 200, i_ezsigntemplateformfield_positioningoffsety = 200, - e_ezsigntemplateformfield_positioningoccurence = 'All' + e_ezsigntemplateformfield_positioningoccurence = 'All', + e_ezsigntemplateformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_response_compound.textstylestatic-ResponseCompound() ) else: return EzsigntemplateformfieldResponse( diff --git a/test/test_ezsigntemplateformfield_response_compound.py b/test/test_ezsigntemplateformfield_response_compound.py index a6f3825ba..817b0aac9 100644 --- a/test/test_ezsigntemplateformfield_response_compound.py +++ b/test/test_ezsigntemplateformfield_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldResponseCompound: """Test EzsigntemplateformfieldResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldResponseCompound` @@ -52,6 +52,8 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldResponseComp i_ezsigntemplateformfield_positioningoffsetx = 200, i_ezsigntemplateformfield_positioningoffsety = 200, e_ezsigntemplateformfield_positioningoccurence = 'All', + e_ezsigntemplateformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_response_compound.textstylestatic-ResponseCompound(), a_obj_ezsigntemplateelementdependency = [ eZmaxApi.models.ezsigntemplateelementdependency_response_compound.ezsigntemplateelementdependency-ResponseCompound() ] diff --git a/test/test_ezsigntemplateformfieldgroup_create_object_v1_request.py b/test/test_ezsigntemplateformfieldgroup_create_object_v1_request.py index 0e874a386..fc86d466d 100644 --- a/test/test_ezsigntemplateformfieldgroup_create_object_v1_request.py +++ b/test/test_ezsigntemplateformfieldgroup_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupCreateObjectV1Request: """Test EzsigntemplateformfieldgroupCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupCreateObjectV1Request` diff --git a/test/test_ezsigntemplateformfieldgroup_create_object_v1_response.py b/test/test_ezsigntemplateformfieldgroup_create_object_v1_response.py index 7e9027cd7..a0d6b51e5 100644 --- a/test/test_ezsigntemplateformfieldgroup_create_object_v1_response.py +++ b/test/test_ezsigntemplateformfieldgroup_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupCreateObjectV1Response: """Test EzsigntemplateformfieldgroupCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupCreateObjectV1Response` diff --git a/test/test_ezsigntemplateformfieldgroup_create_object_v1_response_m_payload.py b/test/test_ezsigntemplateformfieldgroup_create_object_v1_response_m_payload.py index 89b42337e..7e38e72a2 100644 --- a/test/test_ezsigntemplateformfieldgroup_create_object_v1_response_m_payload.py +++ b/test/test_ezsigntemplateformfieldgroup_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload: """Test EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsigntemplateformfieldgroup_delete_object_v1_response.py b/test/test_ezsigntemplateformfieldgroup_delete_object_v1_response.py index 2e9e4020d..2415df563 100644 --- a/test/test_ezsigntemplateformfieldgroup_delete_object_v1_response.py +++ b/test/test_ezsigntemplateformfieldgroup_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupDeleteObjectV1Response: """Test EzsigntemplateformfieldgroupDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupDeleteObjectV1Response` diff --git a/test/test_ezsigntemplateformfieldgroup_edit_object_v1_request.py b/test/test_ezsigntemplateformfieldgroup_edit_object_v1_request.py index ef7db3f80..c8af53723 100644 --- a/test/test_ezsigntemplateformfieldgroup_edit_object_v1_request.py +++ b/test/test_ezsigntemplateformfieldgroup_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupEditObjectV1Request: """Test EzsigntemplateformfieldgroupEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupEditObjectV1Request` diff --git a/test/test_ezsigntemplateformfieldgroup_edit_object_v1_response.py b/test/test_ezsigntemplateformfieldgroup_edit_object_v1_response.py index 613475cd1..1ee0c0477 100644 --- a/test/test_ezsigntemplateformfieldgroup_edit_object_v1_response.py +++ b/test/test_ezsigntemplateformfieldgroup_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupEditObjectV1Response: """Test EzsigntemplateformfieldgroupEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupEditObjectV1Response` diff --git a/test/test_ezsigntemplateformfieldgroup_get_object_v2_response.py b/test/test_ezsigntemplateformfieldgroup_get_object_v2_response.py index ed8837c35..fd597ad60 100644 --- a/test/test_ezsigntemplateformfieldgroup_get_object_v2_response.py +++ b/test/test_ezsigntemplateformfieldgroup_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupGetObjectV2Response: """Test EzsigntemplateformfieldgroupGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupGetObjectV2Response` diff --git a/test/test_ezsigntemplateformfieldgroup_get_object_v2_response_m_payload.py b/test/test_ezsigntemplateformfieldgroup_get_object_v2_response_m_payload.py index c395ff588..7e1ccbe3f 100644 --- a/test/test_ezsigntemplateformfieldgroup_get_object_v2_response_m_payload.py +++ b/test/test_ezsigntemplateformfieldgroup_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload: """Test EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload` diff --git a/test/test_ezsigntemplateformfieldgroup_request.py b/test/test_ezsigntemplateformfieldgroup_request.py index 100f189ed..fc5dc289b 100644 --- a/test/test_ezsigntemplateformfieldgroup_request.py +++ b/test/test_ezsigntemplateformfieldgroup_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupRequest: """Test EzsigntemplateformfieldgroupRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupRequest` @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupRequest i_ezsigntemplateformfieldgroup_maxlength = 75, b_ezsigntemplateformfieldgroup_encrypted = True, s_ezsigntemplateformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsigntemplateformfieldgroup_textvalidationcustommessage = 'Phone number', e_ezsigntemplateformfieldgroup_textvalidation = 'None', t_ezsigntemplateformfieldgroup_tooltip = 'Please enter a valid email address', e_ezsigntemplateformfieldgroup_tooltipposition = 'TopLeft' diff --git a/test/test_ezsigntemplateformfieldgroup_request_compound.py b/test/test_ezsigntemplateformfieldgroup_request_compound.py index 946d7d328..1bed9d4d1 100644 --- a/test/test_ezsigntemplateformfieldgroup_request_compound.py +++ b/test/test_ezsigntemplateformfieldgroup_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupRequestCompound: """Test EzsigntemplateformfieldgroupRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupRequestCompound` @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupRequest i_ezsigntemplateformfieldgroup_maxlength = 75, b_ezsigntemplateformfieldgroup_encrypted = True, s_ezsigntemplateformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsigntemplateformfieldgroup_textvalidationcustommessage = 'Phone number', e_ezsigntemplateformfieldgroup_textvalidation = 'None', t_ezsigntemplateformfieldgroup_tooltip = 'Please enter a valid email address', e_ezsigntemplateformfieldgroup_tooltipposition = 'TopLeft', diff --git a/test/test_ezsigntemplateformfieldgroup_response.py b/test/test_ezsigntemplateformfieldgroup_response.py index 4b6c39c10..90e84c54e 100644 --- a/test/test_ezsigntemplateformfieldgroup_response.py +++ b/test/test_ezsigntemplateformfieldgroup_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupResponse: """Test EzsigntemplateformfieldgroupResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupResponse` @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupRespons i_ezsigntemplateformfieldgroup_maxlength = 75, b_ezsigntemplateformfieldgroup_encrypted = True, s_ezsigntemplateformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsigntemplateformfieldgroup_textvalidationcustommessage = 'Phone number', e_ezsigntemplateformfieldgroup_textvalidation = 'None', t_ezsigntemplateformfieldgroup_tooltip = 'Please enter a valid email address', e_ezsigntemplateformfieldgroup_tooltipposition = 'TopLeft' diff --git a/test/test_ezsigntemplateformfieldgroup_response_compound.py b/test/test_ezsigntemplateformfieldgroup_response_compound.py index 6df3521c3..c02e9b78e 100644 --- a/test/test_ezsigntemplateformfieldgroup_response_compound.py +++ b/test/test_ezsigntemplateformfieldgroup_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupResponseCompound: """Test EzsigntemplateformfieldgroupResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupResponseCompound` @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupRespons i_ezsigntemplateformfieldgroup_maxlength = 75, b_ezsigntemplateformfieldgroup_encrypted = True, s_ezsigntemplateformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsigntemplateformfieldgroup_textvalidationcustommessage = 'Phone number', e_ezsigntemplateformfieldgroup_textvalidation = 'None', t_ezsigntemplateformfieldgroup_tooltip = 'Please enter a valid email address', e_ezsigntemplateformfieldgroup_tooltipposition = 'TopLeft', diff --git a/test/test_ezsigntemplateformfieldgroupsigner_request.py b/test/test_ezsigntemplateformfieldgroupsigner_request.py index bdca4f480..021bdc66b 100644 --- a/test/test_ezsigntemplateformfieldgroupsigner_request.py +++ b/test/test_ezsigntemplateformfieldgroupsigner_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupsignerRequest: """Test EzsigntemplateformfieldgroupsignerRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupsignerRequest` diff --git a/test/test_ezsigntemplateformfieldgroupsigner_request_compound.py b/test/test_ezsigntemplateformfieldgroupsigner_request_compound.py index 7f4652eb3..77d59cc9e 100644 --- a/test/test_ezsigntemplateformfieldgroupsigner_request_compound.py +++ b/test/test_ezsigntemplateformfieldgroupsigner_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupsignerRequestCompound: """Test EzsigntemplateformfieldgroupsignerRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupsignerRequestCompound` diff --git a/test/test_ezsigntemplateformfieldgroupsigner_response.py b/test/test_ezsigntemplateformfieldgroupsigner_response.py index 64277c088..b416d9765 100644 --- a/test/test_ezsigntemplateformfieldgroupsigner_response.py +++ b/test/test_ezsigntemplateformfieldgroupsigner_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupsignerResponse: """Test EzsigntemplateformfieldgroupsignerResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupsignerResponse` diff --git a/test/test_ezsigntemplateformfieldgroupsigner_response_compound.py b/test/test_ezsigntemplateformfieldgroupsigner_response_compound.py index 91697989d..cec6b12bc 100644 --- a/test/test_ezsigntemplateformfieldgroupsigner_response_compound.py +++ b/test/test_ezsigntemplateformfieldgroupsigner_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupsignerResponseCompound: """Test EzsigntemplateformfieldgroupsignerResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateformfieldgroupsignerResponseCompound` diff --git a/test/test_ezsigntemplateglobal_autocomplete_element_response.py b/test/test_ezsigntemplateglobal_autocomplete_element_response.py index 219f7843b..c4edfcaeb 100644 --- a/test/test_ezsigntemplateglobal_autocomplete_element_response.py +++ b/test/test_ezsigntemplateglobal_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateglobalAutocompleteElementResponse: """Test EzsigntemplateglobalAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateglobalAutocompleteElementResponse` diff --git a/test/test_ezsigntemplateglobal_get_autocomplete_v2_response.py b/test/test_ezsigntemplateglobal_get_autocomplete_v2_response.py index 3eef0cd81..41e101550 100644 --- a/test/test_ezsigntemplateglobal_get_autocomplete_v2_response.py +++ b/test/test_ezsigntemplateglobal_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateglobalGetAutocompleteV2Response: """Test EzsigntemplateglobalGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateglobalGetAutocompleteV2Response` diff --git a/test/test_ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.py b/test/test_ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.py index c21a4a36b..0f983dd2d 100644 --- a/test/test_ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.py +++ b/test/test_ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateglobalGetAutocompleteV2ResponseMPayload: """Test EzsigntemplateglobalGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateglobalGetAutocompleteV2ResponseMPayload` diff --git a/test/test_ezsigntemplateglobal_get_object_v2_response.py b/test/test_ezsigntemplateglobal_get_object_v2_response.py index 60d85a497..aa272f85f 100644 --- a/test/test_ezsigntemplateglobal_get_object_v2_response.py +++ b/test/test_ezsigntemplateglobal_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateglobalGetObjectV2Response: """Test EzsigntemplateglobalGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateglobalGetObjectV2Response` diff --git a/test/test_ezsigntemplateglobal_get_object_v2_response_m_payload.py b/test/test_ezsigntemplateglobal_get_object_v2_response_m_payload.py index 72bc5071a..9b6b05ae2 100644 --- a/test/test_ezsigntemplateglobal_get_object_v2_response_m_payload.py +++ b/test/test_ezsigntemplateglobal_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateglobalGetObjectV2ResponseMPayload: """Test EzsigntemplateglobalGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateglobalGetObjectV2ResponseMPayload` diff --git a/test/test_ezsigntemplateglobal_response.py b/test/test_ezsigntemplateglobal_response.py index bacbf8999..2d211f3a6 100644 --- a/test/test_ezsigntemplateglobal_response.py +++ b/test/test_ezsigntemplateglobal_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateglobalResponse: """Test EzsigntemplateglobalResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateglobalResponse` diff --git a/test/test_ezsigntemplateglobal_response_compound.py b/test/test_ezsigntemplateglobal_response_compound.py index 5516573ad..0e9b94e2e 100644 --- a/test/test_ezsigntemplateglobal_response_compound.py +++ b/test/test_ezsigntemplateglobal_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateglobalResponseCompound: """Test EzsigntemplateglobalResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateglobalResponseCompound` diff --git a/test/test_ezsigntemplateglobaldocument_response.py b/test/test_ezsigntemplateglobaldocument_response.py index 137d44e41..8ceae81d0 100644 --- a/test/test_ezsigntemplateglobaldocument_response.py +++ b/test/test_ezsigntemplateglobaldocument_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateglobaldocumentResponse: """Test EzsigntemplateglobaldocumentResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateglobaldocumentResponse` diff --git a/test/test_ezsigntemplateglobalsigner_response.py b/test/test_ezsigntemplateglobalsigner_response.py index ed719489b..44210c4da 100644 --- a/test/test_ezsigntemplateglobalsigner_response.py +++ b/test/test_ezsigntemplateglobalsigner_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateglobalsignerResponse: """Test EzsigntemplateglobalsignerResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateglobalsignerResponse` diff --git a/test/test_ezsigntemplateglobalsigner_response_compound.py b/test/test_ezsigntemplateglobalsigner_response_compound.py index 7e970ab57..c0c2f6983 100644 --- a/test/test_ezsigntemplateglobalsigner_response_compound.py +++ b/test/test_ezsigntemplateglobalsigner_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplateglobalsignerResponseCompound: """Test EzsigntemplateglobalsignerResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplateglobalsignerResponseCompound` diff --git a/test/test_ezsigntemplatepackage_autocomplete_element_response.py b/test/test_ezsigntemplatepackage_autocomplete_element_response.py index 24ca73cb1..9ae9b5944 100644 --- a/test/test_ezsigntemplatepackage_autocomplete_element_response.py +++ b/test/test_ezsigntemplatepackage_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageAutocompleteElementResponse: """Test EzsigntemplatepackageAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageAutocompleteElementResponse` diff --git a/test/test_ezsigntemplatepackage_create_object_v1_request.py b/test/test_ezsigntemplatepackage_create_object_v1_request.py index b9eecc483..8de46d4dd 100644 --- a/test/test_ezsigntemplatepackage_create_object_v1_request.py +++ b/test/test_ezsigntemplatepackage_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageCreateObjectV1Request: """Test EzsigntemplatepackageCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageCreateObjectV1Request` diff --git a/test/test_ezsigntemplatepackage_create_object_v1_response.py b/test/test_ezsigntemplatepackage_create_object_v1_response.py index 1f026c1ef..7a8d18869 100644 --- a/test/test_ezsigntemplatepackage_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackage_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageCreateObjectV1Response: """Test EzsigntemplatepackageCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageCreateObjectV1Response` diff --git a/test/test_ezsigntemplatepackage_create_object_v1_response_m_payload.py b/test/test_ezsigntemplatepackage_create_object_v1_response_m_payload.py index 6f2478625..9e805af1c 100644 --- a/test/test_ezsigntemplatepackage_create_object_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepackage_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageCreateObjectV1ResponseMPayload: """Test EzsigntemplatepackageCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsigntemplatepackage_delete_object_v1_response.py b/test/test_ezsigntemplatepackage_delete_object_v1_response.py index 7c8909687..67e1d9274 100644 --- a/test/test_ezsigntemplatepackage_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackage_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageDeleteObjectV1Response: """Test EzsigntemplatepackageDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageDeleteObjectV1Response` diff --git a/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request.py b/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request.py index d2e42529a..37363b599 100644 --- a/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request.py +++ b/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request: """Test EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request` diff --git a/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py b/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py index 7486df375..a934fb650 100644 --- a/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py +++ b/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response: """Test EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response` diff --git a/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload.py b/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload.py index c0af73ac3..11a43876b 100644 --- a/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload: """Test EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload` diff --git a/test/test_ezsigntemplatepackage_edit_object_v1_request.py b/test/test_ezsigntemplatepackage_edit_object_v1_request.py index b0cf56035..918f39468 100644 --- a/test/test_ezsigntemplatepackage_edit_object_v1_request.py +++ b/test/test_ezsigntemplatepackage_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageEditObjectV1Request: """Test EzsigntemplatepackageEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageEditObjectV1Request` diff --git a/test/test_ezsigntemplatepackage_edit_object_v1_response.py b/test/test_ezsigntemplatepackage_edit_object_v1_response.py index 8eb718abe..b3084d7e8 100644 --- a/test/test_ezsigntemplatepackage_edit_object_v1_response.py +++ b/test/test_ezsigntemplatepackage_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageEditObjectV1Response: """Test EzsigntemplatepackageEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageEditObjectV1Response` diff --git a/test/test_ezsigntemplatepackage_get_autocomplete_v2_response.py b/test/test_ezsigntemplatepackage_get_autocomplete_v2_response.py index 4bd3a45c1..1ba333f55 100644 --- a/test/test_ezsigntemplatepackage_get_autocomplete_v2_response.py +++ b/test/test_ezsigntemplatepackage_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageGetAutocompleteV2Response: """Test EzsigntemplatepackageGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageGetAutocompleteV2Response` diff --git a/test/test_ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.py b/test/test_ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.py index 0bd13472f..dc6a3be00 100644 --- a/test/test_ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.py +++ b/test/test_ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageGetAutocompleteV2ResponseMPayload: """Test EzsigntemplatepackageGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageGetAutocompleteV2ResponseMPayload` diff --git a/test/test_ezsigntemplatepackage_get_list_v1_response.py b/test/test_ezsigntemplatepackage_get_list_v1_response.py index d04b16c64..c2d412098 100644 --- a/test/test_ezsigntemplatepackage_get_list_v1_response.py +++ b/test/test_ezsigntemplatepackage_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageGetListV1Response: """Test EzsigntemplatepackageGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageGetListV1Response` diff --git a/test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py b/test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py index 3fb4c3ca7..0f642a705 100644 --- a/test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageGetListV1ResponseMPayload: """Test EzsigntemplatepackageGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageGetListV1ResponseMPayload` diff --git a/test/test_ezsigntemplatepackage_get_object_v2_response.py b/test/test_ezsigntemplatepackage_get_object_v2_response.py index e7d6ec194..c3ed2e0d2 100644 --- a/test/test_ezsigntemplatepackage_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackage_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageGetObjectV2Response: """Test EzsigntemplatepackageGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageGetObjectV2Response` diff --git a/test/test_ezsigntemplatepackage_get_object_v2_response_m_payload.py b/test/test_ezsigntemplatepackage_get_object_v2_response_m_payload.py index fd56ae006..b419630e6 100644 --- a/test/test_ezsigntemplatepackage_get_object_v2_response_m_payload.py +++ b/test/test_ezsigntemplatepackage_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageGetObjectV2ResponseMPayload: """Test EzsigntemplatepackageGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageGetObjectV2ResponseMPayload` diff --git a/test/test_ezsigntemplatepackage_list_element.py b/test/test_ezsigntemplatepackage_list_element.py index 392ef1df6..09608aa1b 100644 --- a/test/test_ezsigntemplatepackage_list_element.py +++ b/test/test_ezsigntemplatepackage_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageListElement: """Test EzsigntemplatepackageListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageListElement` diff --git a/test/test_ezsigntemplatepackage_request.py b/test/test_ezsigntemplatepackage_request.py index e69a3de32..2600ff8f3 100644 --- a/test/test_ezsigntemplatepackage_request.py +++ b/test/test_ezsigntemplatepackage_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageRequest: """Test EzsigntemplatepackageRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageRequest` @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageRequest: return EzsigntemplatepackageRequest( pki_ezsigntemplatepackage_id = 99, fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatedocument_id = 95, fki_language_id = 2, s_ezsigntemplatepackage_description = 'Package for new clients', b_ezsigntemplatepackage_adminonly = True, diff --git a/test/test_ezsigntemplatepackage_request_compound.py b/test/test_ezsigntemplatepackage_request_compound.py index a027f6cc4..bcd482e16 100644 --- a/test/test_ezsigntemplatepackage_request_compound.py +++ b/test/test_ezsigntemplatepackage_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageRequestCompound: """Test EzsigntemplatepackageRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageRequestCompound` @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageRequestCompoun return EzsigntemplatepackageRequestCompound( pki_ezsigntemplatepackage_id = 99, fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatedocument_id = 95, fki_language_id = 2, s_ezsigntemplatepackage_description = 'Package for new clients', b_ezsigntemplatepackage_adminonly = True, diff --git a/test/test_ezsigntemplatepackage_response.py b/test/test_ezsigntemplatepackage_response.py index c7c14e2c9..33ce9e2ac 100644 --- a/test/test_ezsigntemplatepackage_response.py +++ b/test/test_ezsigntemplatepackage_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageResponse: """Test EzsigntemplatepackageResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageResponse` @@ -38,7 +38,9 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageResponse: return EzsigntemplatepackageResponse( pki_ezsigntemplatepackage_id = 99, fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatedocument_id = 95, fki_language_id = 2, + s_ezdoctemplatedocument_name_x = 'Standard Contract', s_language_name_x = 'English', s_ezsigntemplatepackage_description = 'Package for new clients', b_ezsigntemplatepackage_adminonly = True, diff --git a/test/test_ezsigntemplatepackage_response_compound.py b/test/test_ezsigntemplatepackage_response_compound.py index d4687deac..e8c40fd6f 100644 --- a/test/test_ezsigntemplatepackage_response_compound.py +++ b/test/test_ezsigntemplatepackage_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackageResponseCompound: """Test EzsigntemplatepackageResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackageResponseCompound` @@ -38,7 +38,9 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageResponseCompou return EzsigntemplatepackageResponseCompound( pki_ezsigntemplatepackage_id = 99, fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatedocument_id = 95, fki_language_id = 2, + s_ezdoctemplatedocument_name_x = 'Standard Contract', s_language_name_x = 'English', s_ezsigntemplatepackage_description = 'Package for new clients', b_ezsigntemplatepackage_adminonly = True, diff --git a/test/test_ezsigntemplatepackagemembership_create_object_v1_request.py b/test/test_ezsigntemplatepackagemembership_create_object_v1_request.py index f13034798..fbaae13c1 100644 --- a/test/test_ezsigntemplatepackagemembership_create_object_v1_request.py +++ b/test/test_ezsigntemplatepackagemembership_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipCreateObjectV1Request: """Test EzsigntemplatepackagemembershipCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagemembershipCreateObjectV1Request` diff --git a/test/test_ezsigntemplatepackagemembership_create_object_v1_response.py b/test/test_ezsigntemplatepackagemembership_create_object_v1_response.py index a1ae1cc98..80760fe0d 100644 --- a/test/test_ezsigntemplatepackagemembership_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackagemembership_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipCreateObjectV1Response: """Test EzsigntemplatepackagemembershipCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagemembershipCreateObjectV1Response` diff --git a/test/test_ezsigntemplatepackagemembership_create_object_v1_response_m_payload.py b/test/test_ezsigntemplatepackagemembership_create_object_v1_response_m_payload.py index 90fd0e43c..67f753867 100644 --- a/test/test_ezsigntemplatepackagemembership_create_object_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepackagemembership_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload: """Test EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsigntemplatepackagemembership_delete_object_v1_response.py b/test/test_ezsigntemplatepackagemembership_delete_object_v1_response.py index ef4929a77..629417ba3 100644 --- a/test/test_ezsigntemplatepackagemembership_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackagemembership_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipDeleteObjectV1Response: """Test EzsigntemplatepackagemembershipDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagemembershipDeleteObjectV1Response` diff --git a/test/test_ezsigntemplatepackagemembership_get_object_v2_response.py b/test/test_ezsigntemplatepackagemembership_get_object_v2_response.py index 56682d2cd..abbbc859e 100644 --- a/test/test_ezsigntemplatepackagemembership_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackagemembership_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipGetObjectV2Response: """Test EzsigntemplatepackagemembershipGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagemembershipGetObjectV2Response` diff --git a/test/test_ezsigntemplatepackagemembership_get_object_v2_response_m_payload.py b/test/test_ezsigntemplatepackagemembership_get_object_v2_response_m_payload.py index b03e06591..fe81d9f2e 100644 --- a/test/test_ezsigntemplatepackagemembership_get_object_v2_response_m_payload.py +++ b/test/test_ezsigntemplatepackagemembership_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload: """Test EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload` diff --git a/test/test_ezsigntemplatepackagemembership_request.py b/test/test_ezsigntemplatepackagemembership_request.py index 0dd6be7a3..4234bf793 100644 --- a/test/test_ezsigntemplatepackagemembership_request.py +++ b/test/test_ezsigntemplatepackagemembership_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipRequest: """Test EzsigntemplatepackagemembershipRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagemembershipRequest` diff --git a/test/test_ezsigntemplatepackagemembership_request_compound.py b/test/test_ezsigntemplatepackagemembership_request_compound.py index 37d8f004c..69630a256 100644 --- a/test/test_ezsigntemplatepackagemembership_request_compound.py +++ b/test/test_ezsigntemplatepackagemembership_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipRequestCompound: """Test EzsigntemplatepackagemembershipRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagemembershipRequestCompound` diff --git a/test/test_ezsigntemplatepackagemembership_response.py b/test/test_ezsigntemplatepackagemembership_response.py index d9f25fe1d..e9fe4a5c6 100644 --- a/test/test_ezsigntemplatepackagemembership_response.py +++ b/test/test_ezsigntemplatepackagemembership_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipResponse: """Test EzsigntemplatepackagemembershipResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagemembershipResponse` diff --git a/test/test_ezsigntemplatepackagemembership_response_compound.py b/test/test_ezsigntemplatepackagemembership_response_compound.py index 1f81344c3..757e948a8 100644 --- a/test/test_ezsigntemplatepackagemembership_response_compound.py +++ b/test/test_ezsigntemplatepackagemembership_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipResponseCompound: """Test EzsigntemplatepackagemembershipResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagemembershipResponseCompound` diff --git a/test/test_ezsigntemplatepackagesigner_create_object_v1_request.py b/test/test_ezsigntemplatepackagesigner_create_object_v1_request.py index ae997991e..8dadf8c2e 100644 --- a/test/test_ezsigntemplatepackagesigner_create_object_v1_request.py +++ b/test/test_ezsigntemplatepackagesigner_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerCreateObjectV1Request: """Test EzsigntemplatepackagesignerCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerCreateObjectV1Request` diff --git a/test/test_ezsigntemplatepackagesigner_create_object_v1_response.py b/test/test_ezsigntemplatepackagesigner_create_object_v1_response.py index 71176fb27..9c57f4fad 100644 --- a/test/test_ezsigntemplatepackagesigner_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesigner_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerCreateObjectV1Response: """Test EzsigntemplatepackagesignerCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerCreateObjectV1Response` diff --git a/test/test_ezsigntemplatepackagesigner_create_object_v1_response_m_payload.py b/test/test_ezsigntemplatepackagesigner_create_object_v1_response_m_payload.py index 590d14789..ad12085be 100644 --- a/test/test_ezsigntemplatepackagesigner_create_object_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepackagesigner_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload: """Test EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsigntemplatepackagesigner_delete_object_v1_response.py b/test/test_ezsigntemplatepackagesigner_delete_object_v1_response.py index e3d16ddc4..4e939f118 100644 --- a/test/test_ezsigntemplatepackagesigner_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesigner_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerDeleteObjectV1Response: """Test EzsigntemplatepackagesignerDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerDeleteObjectV1Response` diff --git a/test/test_ezsigntemplatepackagesigner_delete_object_v1_response_m_payload.py b/test/test_ezsigntemplatepackagesigner_delete_object_v1_response_m_payload.py index 42a4bc05a..bc243c298 100644 --- a/test/test_ezsigntemplatepackagesigner_delete_object_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepackagesigner_delete_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload: """Test EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload` diff --git a/test/test_ezsigntemplatepackagesigner_edit_object_v1_request.py b/test/test_ezsigntemplatepackagesigner_edit_object_v1_request.py index 78fe7b455..08e0b46c4 100644 --- a/test/test_ezsigntemplatepackagesigner_edit_object_v1_request.py +++ b/test/test_ezsigntemplatepackagesigner_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerEditObjectV1Request: """Test EzsigntemplatepackagesignerEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerEditObjectV1Request` diff --git a/test/test_ezsigntemplatepackagesigner_edit_object_v1_response.py b/test/test_ezsigntemplatepackagesigner_edit_object_v1_response.py index a6eaa0f10..486316da3 100644 --- a/test/test_ezsigntemplatepackagesigner_edit_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesigner_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerEditObjectV1Response: """Test EzsigntemplatepackagesignerEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerEditObjectV1Response` diff --git a/test/test_ezsigntemplatepackagesigner_get_object_v2_response.py b/test/test_ezsigntemplatepackagesigner_get_object_v2_response.py index f26468c9c..713c26ce0 100644 --- a/test/test_ezsigntemplatepackagesigner_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackagesigner_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerGetObjectV2Response: """Test EzsigntemplatepackagesignerGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerGetObjectV2Response` diff --git a/test/test_ezsigntemplatepackagesigner_get_object_v2_response_m_payload.py b/test/test_ezsigntemplatepackagesigner_get_object_v2_response_m_payload.py index 579a2bec5..216b4cd24 100644 --- a/test/test_ezsigntemplatepackagesigner_get_object_v2_response_m_payload.py +++ b/test/test_ezsigntemplatepackagesigner_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerGetObjectV2ResponseMPayload: """Test EzsigntemplatepackagesignerGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerGetObjectV2ResponseMPayload` diff --git a/test/test_ezsigntemplatepackagesigner_request.py b/test/test_ezsigntemplatepackagesigner_request.py index f1852046d..7227d1854 100644 --- a/test/test_ezsigntemplatepackagesigner_request.py +++ b/test/test_ezsigntemplatepackagesigner_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerRequest: """Test EzsigntemplatepackagesignerRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerRequest` @@ -38,6 +38,11 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerRequest: return EzsigntemplatepackagesignerRequest( pki_ezsigntemplatepackagesigner_id = 174, fki_ezsigntemplatepackage_id = 99, + fki_ezdoctemplatedocument_id = 95, + fki_user_id = 70, + fki_usergroup_id = 2, + b_ezsigntemplatepackagesigner_receivecopy = True, + e_ezsigntemplatepackagesigner_mapping = 'Manual', s_ezsigntemplatepackagesigner_description = 'Customer' ) else: diff --git a/test/test_ezsigntemplatepackagesigner_request_compound.py b/test/test_ezsigntemplatepackagesigner_request_compound.py index 29a98934e..f1b45a483 100644 --- a/test/test_ezsigntemplatepackagesigner_request_compound.py +++ b/test/test_ezsigntemplatepackagesigner_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerRequestCompound: """Test EzsigntemplatepackagesignerRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerRequestCompound` @@ -38,6 +38,11 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerRequestC return EzsigntemplatepackagesignerRequestCompound( pki_ezsigntemplatepackagesigner_id = 174, fki_ezsigntemplatepackage_id = 99, + fki_ezdoctemplatedocument_id = 95, + fki_user_id = 70, + fki_usergroup_id = 2, + b_ezsigntemplatepackagesigner_receivecopy = True, + e_ezsigntemplatepackagesigner_mapping = 'Manual', s_ezsigntemplatepackagesigner_description = 'Customer' ) else: diff --git a/test/test_ezsigntemplatepackagesigner_response.py b/test/test_ezsigntemplatepackagesigner_response.py index adb5d5e65..89c4b2a66 100644 --- a/test/test_ezsigntemplatepackagesigner_response.py +++ b/test/test_ezsigntemplatepackagesigner_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerResponse: """Test EzsigntemplatepackagesignerResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerResponse` @@ -38,7 +38,15 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerResponse return EzsigntemplatepackagesignerResponse( pki_ezsigntemplatepackagesigner_id = 174, fki_ezsigntemplatepackage_id = 99, - s_ezsigntemplatepackagesigner_description = 'Customer' + fki_ezdoctemplatedocument_id = 95, + fki_user_id = 70, + fki_usergroup_id = 2, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + b_ezsigntemplatepackagesigner_receivecopy = True, + e_ezsigntemplatepackagesigner_mapping = 'Manual', + s_ezsigntemplatepackagesigner_description = 'Customer', + s_user_name = 'Default', + s_usergroup_name_x = 'Administration' ) else: return EzsigntemplatepackagesignerResponse( diff --git a/test/test_ezsigntemplatepackagesigner_response_compound.py b/test/test_ezsigntemplatepackagesigner_response_compound.py index 989cd8b78..6f566c8c8 100644 --- a/test/test_ezsigntemplatepackagesigner_response_compound.py +++ b/test/test_ezsigntemplatepackagesigner_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignerResponseCompound: """Test EzsigntemplatepackagesignerResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignerResponseCompound` @@ -38,7 +38,15 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerResponse return EzsigntemplatepackagesignerResponseCompound( pki_ezsigntemplatepackagesigner_id = 174, fki_ezsigntemplatepackage_id = 99, - s_ezsigntemplatepackagesigner_description = 'Customer' + fki_ezdoctemplatedocument_id = 95, + fki_user_id = 70, + fki_usergroup_id = 2, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + b_ezsigntemplatepackagesigner_receivecopy = True, + e_ezsigntemplatepackagesigner_mapping = 'Manual', + s_ezsigntemplatepackagesigner_description = 'Customer', + s_user_name = 'Default', + s_usergroup_name_x = 'Administration' ) else: return EzsigntemplatepackagesignerResponseCompound( diff --git a/test/test_ezsigntemplatepackagesignermembership_create_object_v1_request.py b/test/test_ezsigntemplatepackagesignermembership_create_object_v1_request.py index 7318c9144..1ca45c3b9 100644 --- a/test/test_ezsigntemplatepackagesignermembership_create_object_v1_request.py +++ b/test/test_ezsigntemplatepackagesignermembership_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipCreateObjectV1Request: """Test EzsigntemplatepackagesignermembershipCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipCreateObjectV1Request` diff --git a/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response.py b/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response.py index 78b15bff9..a79a610a5 100644 --- a/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipCreateObjectV1Response: """Test EzsigntemplatepackagesignermembershipCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipCreateObjectV1Response` diff --git a/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload.py b/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload.py index 77b58a536..490716abe 100644 --- a/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload: """Test EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response.py b/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response.py index f0de8051c..a75d0f562 100644 --- a/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipDeleteObjectV1Response: """Test EzsigntemplatepackagesignermembershipDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipDeleteObjectV1Response` diff --git a/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload.py b/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload.py index 3ce795619..7448d1f19 100644 --- a/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload: """Test EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload` diff --git a/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response.py b/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response.py index e2e8e6d9b..39db7f593 100644 --- a/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipGetObjectV2Response: """Test EzsigntemplatepackagesignermembershipGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipGetObjectV2Response` diff --git a/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload.py b/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload.py index 9c8ff9f81..2e4f6e4e6 100644 --- a/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload.py +++ b/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload: """Test EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload` diff --git a/test/test_ezsigntemplatepackagesignermembership_request.py b/test/test_ezsigntemplatepackagesignermembership_request.py index 8ed4fc1e5..587976832 100644 --- a/test/test_ezsigntemplatepackagesignermembership_request.py +++ b/test/test_ezsigntemplatepackagesignermembership_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipRequest: """Test EzsigntemplatepackagesignermembershipRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipRequest` diff --git a/test/test_ezsigntemplatepackagesignermembership_request_compound.py b/test/test_ezsigntemplatepackagesignermembership_request_compound.py index a7cc06b4c..666d8de20 100644 --- a/test/test_ezsigntemplatepackagesignermembership_request_compound.py +++ b/test/test_ezsigntemplatepackagesignermembership_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipRequestCompound: """Test EzsigntemplatepackagesignermembershipRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipRequestCompound` diff --git a/test/test_ezsigntemplatepackagesignermembership_response.py b/test/test_ezsigntemplatepackagesignermembership_response.py index 6d23187ca..a0c9aefc4 100644 --- a/test/test_ezsigntemplatepackagesignermembership_response.py +++ b/test/test_ezsigntemplatepackagesignermembership_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipResponse: """Test EzsigntemplatepackagesignermembershipResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipResponse` diff --git a/test/test_ezsigntemplatepackagesignermembership_response_compound.py b/test/test_ezsigntemplatepackagesignermembership_response_compound.py index f5bb11133..c84c90de0 100644 --- a/test/test_ezsigntemplatepackagesignermembership_response_compound.py +++ b/test/test_ezsigntemplatepackagesignermembership_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatepackagesignermembershipResponseCompound: """Test EzsigntemplatepackagesignermembershipResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatepackagesignermembershipResponseCompound` diff --git a/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_request.py b/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_request.py new file mode 100644 index 000000000..f947d5895 --- /dev/null +++ b/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_request.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_request import EzsigntemplatepublicCreateEzsignfolderV1Request + +class TestEzsigntemplatepublicCreateEzsignfolderV1Request(unittest.TestCase): + """EzsigntemplatepublicCreateEzsignfolderV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicCreateEzsignfolderV1Request: + """Test EzsigntemplatepublicCreateEzsignfolderV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicCreateEzsignfolderV1Request` + """ + model = EzsigntemplatepublicCreateEzsignfolderV1Request() + if include_optional: + return EzsigntemplatepublicCreateEzsignfolderV1Request( + pks_ezmaxcustomer_code = 'demo', + s_ezsigntemplatepublic_referenceid = '6B29FC40-CA47-1067-B31D-00DD010662DA', + a_s_ezsigntemplatesigner_description = [ + 'http://www.website.com/avatar.jpg' + ], + a_obj_ezsignsigner = [ + eZmaxApi.models.ezsignsigner_request_compound.ezsignsigner-RequestCompound() + ] + ) + else: + return EzsigntemplatepublicCreateEzsignfolderV1Request( + pks_ezmaxcustomer_code = 'demo', + s_ezsigntemplatepublic_referenceid = '6B29FC40-CA47-1067-B31D-00DD010662DA', + a_s_ezsigntemplatesigner_description = [ + 'http://www.website.com/avatar.jpg' + ], + a_obj_ezsignsigner = [ + eZmaxApi.models.ezsignsigner_request_compound.ezsignsigner-RequestCompound() + ], + ) + """ + + def testEzsigntemplatepublicCreateEzsignfolderV1Request(self): + """Test EzsigntemplatepublicCreateEzsignfolderV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response.py b/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response.py new file mode 100644 index 000000000..9b604fca8 --- /dev/null +++ b/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response import EzsigntemplatepublicCreateEzsignfolderV1Response + +class TestEzsigntemplatepublicCreateEzsignfolderV1Response(unittest.TestCase): + """EzsigntemplatepublicCreateEzsignfolderV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicCreateEzsignfolderV1Response: + """Test EzsigntemplatepublicCreateEzsignfolderV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicCreateEzsignfolderV1Response` + """ + model = EzsigntemplatepublicCreateEzsignfolderV1Response() + if include_optional: + return EzsigntemplatepublicCreateEzsignfolderV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.ezsigntemplatepublic-createEzsignfolder-v1-Response-mPayload( + s_ezsigntemplatepublic_signingurl = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', ) + ) + else: + return EzsigntemplatepublicCreateEzsignfolderV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.ezsigntemplatepublic-createEzsignfolder-v1-Response-mPayload( + s_ezsigntemplatepublic_signingurl = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', ), + ) + """ + + def testEzsigntemplatepublicCreateEzsignfolderV1Response(self): + """Test EzsigntemplatepublicCreateEzsignfolderV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.py b/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.py new file mode 100644 index 000000000..b6f1d9ba0 --- /dev/null +++ b/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload import EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload + +class TestEzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload: + """Test EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload` + """ + model = EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload() + if include_optional: + return EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload( + s_ezsigntemplatepublic_signingurl = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}' + ) + else: + return EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload( + ) + """ + + def testEzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload(self): + """Test EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_create_object_v1_request.py b/test/test_ezsigntemplatepublic_create_object_v1_request.py new file mode 100644 index 000000000..f7094fb1a --- /dev/null +++ b/test/test_ezsigntemplatepublic_create_object_v1_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_request import EzsigntemplatepublicCreateObjectV1Request + +class TestEzsigntemplatepublicCreateObjectV1Request(unittest.TestCase): + """EzsigntemplatepublicCreateObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicCreateObjectV1Request: + """Test EzsigntemplatepublicCreateObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicCreateObjectV1Request` + """ + model = EzsigntemplatepublicCreateObjectV1Request() + if include_optional: + return EzsigntemplatepublicCreateObjectV1Request( + a_obj_ezsigntemplatepublic = [ + eZmaxApi.models.ezsigntemplatepublic_request_compound.ezsigntemplatepublic-RequestCompound() + ] + ) + else: + return EzsigntemplatepublicCreateObjectV1Request( + a_obj_ezsigntemplatepublic = [ + eZmaxApi.models.ezsigntemplatepublic_request_compound.ezsigntemplatepublic-RequestCompound() + ], + ) + """ + + def testEzsigntemplatepublicCreateObjectV1Request(self): + """Test EzsigntemplatepublicCreateObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_create_object_v1_response.py b/test/test_ezsigntemplatepublic_create_object_v1_response.py new file mode 100644 index 000000000..0b1871af1 --- /dev/null +++ b/test/test_ezsigntemplatepublic_create_object_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response import EzsigntemplatepublicCreateObjectV1Response + +class TestEzsigntemplatepublicCreateObjectV1Response(unittest.TestCase): + """EzsigntemplatepublicCreateObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicCreateObjectV1Response: + """Test EzsigntemplatepublicCreateObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicCreateObjectV1Response` + """ + model = EzsigntemplatepublicCreateObjectV1Response() + if include_optional: + return EzsigntemplatepublicCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response_m_payload.ezsigntemplatepublic-createObject-v1-Response-mPayload( + a_pki_ezsigntemplatepublic_id = [ + 96 + ], ) + ) + else: + return EzsigntemplatepublicCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response_m_payload.ezsigntemplatepublic-createObject-v1-Response-mPayload( + a_pki_ezsigntemplatepublic_id = [ + 96 + ], ), + ) + """ + + def testEzsigntemplatepublicCreateObjectV1Response(self): + """Test EzsigntemplatepublicCreateObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_create_object_v1_response_m_payload.py b/test/test_ezsigntemplatepublic_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..d1ffe246a --- /dev/null +++ b/test/test_ezsigntemplatepublic_create_object_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response_m_payload import EzsigntemplatepublicCreateObjectV1ResponseMPayload + +class TestEzsigntemplatepublicCreateObjectV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatepublicCreateObjectV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicCreateObjectV1ResponseMPayload: + """Test EzsigntemplatepublicCreateObjectV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicCreateObjectV1ResponseMPayload` + """ + model = EzsigntemplatepublicCreateObjectV1ResponseMPayload() + if include_optional: + return EzsigntemplatepublicCreateObjectV1ResponseMPayload( + a_pki_ezsigntemplatepublic_id = [ + 96 + ] + ) + else: + return EzsigntemplatepublicCreateObjectV1ResponseMPayload( + a_pki_ezsigntemplatepublic_id = [ + 96 + ], + ) + """ + + def testEzsigntemplatepublicCreateObjectV1ResponseMPayload(self): + """Test EzsigntemplatepublicCreateObjectV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_edit_object_v1_request.py b/test/test_ezsigntemplatepublic_edit_object_v1_request.py new file mode 100644 index 000000000..d831c129a --- /dev/null +++ b/test/test_ezsigntemplatepublic_edit_object_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_request import EzsigntemplatepublicEditObjectV1Request + +class TestEzsigntemplatepublicEditObjectV1Request(unittest.TestCase): + """EzsigntemplatepublicEditObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicEditObjectV1Request: + """Test EzsigntemplatepublicEditObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicEditObjectV1Request` + """ + model = EzsigntemplatepublicEditObjectV1Request() + if include_optional: + return EzsigntemplatepublicEditObjectV1Request( + obj_ezsigntemplatepublic = eZmaxApi.models.ezsigntemplatepublic_request_compound.ezsigntemplatepublic-RequestCompound() + ) + else: + return EzsigntemplatepublicEditObjectV1Request( + obj_ezsigntemplatepublic = eZmaxApi.models.ezsigntemplatepublic_request_compound.ezsigntemplatepublic-RequestCompound(), + ) + """ + + def testEzsigntemplatepublicEditObjectV1Request(self): + """Test EzsigntemplatepublicEditObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_edit_object_v1_response.py b/test/test_ezsigntemplatepublic_edit_object_v1_response.py new file mode 100644 index 000000000..68ad2af8b --- /dev/null +++ b/test/test_ezsigntemplatepublic_edit_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_response import EzsigntemplatepublicEditObjectV1Response + +class TestEzsigntemplatepublicEditObjectV1Response(unittest.TestCase): + """EzsigntemplatepublicEditObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicEditObjectV1Response: + """Test EzsigntemplatepublicEditObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicEditObjectV1Response` + """ + model = EzsigntemplatepublicEditObjectV1Response() + if include_optional: + return EzsigntemplatepublicEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsigntemplatepublicEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsigntemplatepublicEditObjectV1Response(self): + """Test EzsigntemplatepublicEditObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request.py b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request.py new file mode 100644 index 000000000..28d12d4d4 --- /dev/null +++ b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request + +class TestEzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request(unittest.TestCase): + """EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request: + """Test EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request` + """ + model = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request() + if include_optional: + return EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request( + pks_ezmaxcustomer_code = 'demo', + s_ezsigntemplatepublic_referenceid = '6B29FC40-CA47-1067-B31D-00DD010662DA' + ) + else: + return EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request( + pks_ezmaxcustomer_code = 'demo', + s_ezsigntemplatepublic_referenceid = '6B29FC40-CA47-1067-B31D-00DD010662DA', + ) + """ + + def testEzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request(self): + """Test EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py new file mode 100644 index 000000000..62c0f776b --- /dev/null +++ b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response + +class TestEzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response(unittest.TestCase): + """EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response: + """Test EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response` + """ + model = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response() + if include_optional: + return EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.ezsigntemplatepublic-getEzsigntemplatepublicDetails-v1-Response-mPayload( + obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response(), + fki_userlogintype_id = 2, + a_s_ezsigntemplatesigner_description = [ + 'http://www.website.com/avatar.jpg' + ], ) + ) + else: + return EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.ezsigntemplatepublic-getEzsigntemplatepublicDetails-v1-Response-mPayload( + obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response(), + fki_userlogintype_id = 2, + a_s_ezsigntemplatesigner_description = [ + 'http://www.website.com/avatar.jpg' + ], ), + ) + """ + + def testEzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response(self): + """Test EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py new file mode 100644 index 000000000..67436fd0a --- /dev/null +++ b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload + +class TestEzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload: + """Test EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload` + """ + model = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload() + if include_optional: + return EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload( + obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response(), + fki_userlogintype_id = 2, + a_s_ezsigntemplatesigner_description = [ + 'http://www.website.com/avatar.jpg' + ] + ) + else: + return EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload( + fki_userlogintype_id = 2, + a_s_ezsigntemplatesigner_description = [ + 'http://www.website.com/avatar.jpg' + ], + ) + """ + + def testEzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload(self): + """Test EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_get_forms_data_v1_response.py b/test/test_ezsigntemplatepublic_get_forms_data_v1_response.py new file mode 100644 index 000000000..236d0ebc4 --- /dev/null +++ b/test/test_ezsigntemplatepublic_get_forms_data_v1_response.py @@ -0,0 +1,126 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response import EzsigntemplatepublicGetFormsDataV1Response + +class TestEzsigntemplatepublicGetFormsDataV1Response(unittest.TestCase): + """EzsigntemplatepublicGetFormsDataV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicGetFormsDataV1Response: + """Test EzsigntemplatepublicGetFormsDataV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicGetFormsDataV1Response` + """ + model = EzsigntemplatepublicGetFormsDataV1Response() + if include_optional: + return EzsigntemplatepublicGetFormsDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response_m_payload.ezsigntemplatepublic-getFormsData-v1-Response-mPayload( + a_obj_forms_data_folder = [ + eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( + pki_ezsignfolder_id = 33, + s_ezsignfolder_description = 'Test eZsign Folder', + a_obj_form_data_document = [ + eZmaxApi.models.custom_form_data_document_response.Custom-FormDataDocument-Response( + pki_ezsigndocument_id = 97, + fki_ezsignfolder_id = 33, + s_ezsigndocument_name = 'Contract #123', + dt_modified_date = '2020-12-31 23:59:59', + a_obj_form_data_signer = [ + eZmaxApi.models.custom_form_data_signer_response.Custom-FormDataSigner-Response( + fki_ezsignfoldersignerassociation_id = 20, + fki_user_id = 70, + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + a_obj_ezsignformfieldgroup = [ + eZmaxApi.models.custom_form_data_ezsignformfieldgroup_response.Custom-FormDataEzsignformfieldgroup-Response( + s_ezsignformfieldgroup_label = 'Allergies', + a_obj_ezsignformfield = [ + eZmaxApi.models.custom_form_data_ezsignformfield_response.Custom-FormDataEzsignformfield-Response( + s_ezsignformfield_label = 'Peanuts', + s_ezsignformfield_value = 'Yes', ) + ], ) + ], ) + ], ) + ], ) + ], ) + ) + else: + return EzsigntemplatepublicGetFormsDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response_m_payload.ezsigntemplatepublic-getFormsData-v1-Response-mPayload( + a_obj_forms_data_folder = [ + eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( + pki_ezsignfolder_id = 33, + s_ezsignfolder_description = 'Test eZsign Folder', + a_obj_form_data_document = [ + eZmaxApi.models.custom_form_data_document_response.Custom-FormDataDocument-Response( + pki_ezsigndocument_id = 97, + fki_ezsignfolder_id = 33, + s_ezsigndocument_name = 'Contract #123', + dt_modified_date = '2020-12-31 23:59:59', + a_obj_form_data_signer = [ + eZmaxApi.models.custom_form_data_signer_response.Custom-FormDataSigner-Response( + fki_ezsignfoldersignerassociation_id = 20, + fki_user_id = 70, + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + a_obj_ezsignformfieldgroup = [ + eZmaxApi.models.custom_form_data_ezsignformfieldgroup_response.Custom-FormDataEzsignformfieldgroup-Response( + s_ezsignformfieldgroup_label = 'Allergies', + a_obj_ezsignformfield = [ + eZmaxApi.models.custom_form_data_ezsignformfield_response.Custom-FormDataEzsignformfield-Response( + s_ezsignformfield_label = 'Peanuts', + s_ezsignformfield_value = 'Yes', ) + ], ) + ], ) + ], ) + ], ) + ], ), + ) + """ + + def testEzsigntemplatepublicGetFormsDataV1Response(self): + """Test EzsigntemplatepublicGetFormsDataV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_get_forms_data_v1_response_m_payload.py b/test/test_ezsigntemplatepublic_get_forms_data_v1_response_m_payload.py new file mode 100644 index 000000000..dc9f85b8d --- /dev/null +++ b/test/test_ezsigntemplatepublic_get_forms_data_v1_response_m_payload.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response_m_payload import EzsigntemplatepublicGetFormsDataV1ResponseMPayload + +class TestEzsigntemplatepublicGetFormsDataV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatepublicGetFormsDataV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicGetFormsDataV1ResponseMPayload: + """Test EzsigntemplatepublicGetFormsDataV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicGetFormsDataV1ResponseMPayload` + """ + model = EzsigntemplatepublicGetFormsDataV1ResponseMPayload() + if include_optional: + return EzsigntemplatepublicGetFormsDataV1ResponseMPayload( + a_obj_forms_data_folder = [ + eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( + pki_ezsignfolder_id = 33, + s_ezsignfolder_description = 'Test eZsign Folder', + a_obj_form_data_document = [ + eZmaxApi.models.custom_form_data_document_response.Custom-FormDataDocument-Response( + pki_ezsigndocument_id = 97, + fki_ezsignfolder_id = 33, + s_ezsigndocument_name = 'Contract #123', + dt_modified_date = '2020-12-31 23:59:59', + a_obj_form_data_signer = [ + eZmaxApi.models.custom_form_data_signer_response.Custom-FormDataSigner-Response( + fki_ezsignfoldersignerassociation_id = 20, + fki_user_id = 70, + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + a_obj_ezsignformfieldgroup = [ + eZmaxApi.models.custom_form_data_ezsignformfieldgroup_response.Custom-FormDataEzsignformfieldgroup-Response( + s_ezsignformfieldgroup_label = 'Allergies', + a_obj_ezsignformfield = [ + eZmaxApi.models.custom_form_data_ezsignformfield_response.Custom-FormDataEzsignformfield-Response( + s_ezsignformfield_label = 'Peanuts', + s_ezsignformfield_value = 'Yes', ) + ], ) + ], ) + ], ) + ], ) + ] + ) + else: + return EzsigntemplatepublicGetFormsDataV1ResponseMPayload( + a_obj_forms_data_folder = [ + eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( + pki_ezsignfolder_id = 33, + s_ezsignfolder_description = 'Test eZsign Folder', + a_obj_form_data_document = [ + eZmaxApi.models.custom_form_data_document_response.Custom-FormDataDocument-Response( + pki_ezsigndocument_id = 97, + fki_ezsignfolder_id = 33, + s_ezsigndocument_name = 'Contract #123', + dt_modified_date = '2020-12-31 23:59:59', + a_obj_form_data_signer = [ + eZmaxApi.models.custom_form_data_signer_response.Custom-FormDataSigner-Response( + fki_ezsignfoldersignerassociation_id = 20, + fki_user_id = 70, + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + a_obj_ezsignformfieldgroup = [ + eZmaxApi.models.custom_form_data_ezsignformfieldgroup_response.Custom-FormDataEzsignformfieldgroup-Response( + s_ezsignformfieldgroup_label = 'Allergies', + a_obj_ezsignformfield = [ + eZmaxApi.models.custom_form_data_ezsignformfield_response.Custom-FormDataEzsignformfield-Response( + s_ezsignformfield_label = 'Peanuts', + s_ezsignformfield_value = 'Yes', ) + ], ) + ], ) + ], ) + ], ) + ], + ) + """ + + def testEzsigntemplatepublicGetFormsDataV1ResponseMPayload(self): + """Test EzsigntemplatepublicGetFormsDataV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_get_list_v1_response.py b/test/test_ezsigntemplatepublic_get_list_v1_response.py new file mode 100644 index 000000000..3b564c538 --- /dev/null +++ b/test/test_ezsigntemplatepublic_get_list_v1_response.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response import EzsigntemplatepublicGetListV1Response + +class TestEzsigntemplatepublicGetListV1Response(unittest.TestCase): + """EzsigntemplatepublicGetListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicGetListV1Response: + """Test EzsigntemplatepublicGetListV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicGetListV1Response` + """ + model = EzsigntemplatepublicGetListV1Response() + if include_optional: + return EzsigntemplatepublicGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload.ezsigntemplatepublic-getList-v1-Response-mPayload() + ) + else: + return EzsigntemplatepublicGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload.ezsigntemplatepublic-getList-v1-Response-mPayload(), + ) + """ + + def testEzsigntemplatepublicGetListV1Response(self): + """Test EzsigntemplatepublicGetListV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_get_list_v1_response_m_payload.py b/test/test_ezsigntemplatepublic_get_list_v1_response_m_payload.py new file mode 100644 index 000000000..bf2c7872b --- /dev/null +++ b/test/test_ezsigntemplatepublic_get_list_v1_response_m_payload.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload import EzsigntemplatepublicGetListV1ResponseMPayload + +class TestEzsigntemplatepublicGetListV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatepublicGetListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicGetListV1ResponseMPayload: + """Test EzsigntemplatepublicGetListV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicGetListV1ResponseMPayload` + """ + model = EzsigntemplatepublicGetListV1ResponseMPayload() + if include_optional: + return EzsigntemplatepublicGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, + a_obj_ezsigntemplatepublic = [ + eZmaxApi.models.ezsigntemplatepublic_list_element.ezsigntemplatepublic-ListElement( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + fki_userlogintype_id = 2, + fki_ezsigntemplate_id = 36, + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepublic_description = 'Inscription form', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + i_ezsigntemplatepublic_limitexceeded = 5, + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + i_ezsignfolder = 56, + i_ezsigndocument = 56, + s_ezsigntemplatepublic_ezsigntemplatedescription = 'jUR,rZ#UM/?R,Fp^l6$AR', ) + ] + ) + else: + return EzsigntemplatepublicGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, + a_obj_ezsigntemplatepublic = [ + eZmaxApi.models.ezsigntemplatepublic_list_element.ezsigntemplatepublic-ListElement( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + fki_userlogintype_id = 2, + fki_ezsigntemplate_id = 36, + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepublic_description = 'Inscription form', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + i_ezsigntemplatepublic_limitexceeded = 5, + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + i_ezsignfolder = 56, + i_ezsigndocument = 56, + s_ezsigntemplatepublic_ezsigntemplatedescription = 'jUR,rZ#UM/?R,Fp^l6$AR', ) + ], + ) + """ + + def testEzsigntemplatepublicGetListV1ResponseMPayload(self): + """Test EzsigntemplatepublicGetListV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_get_object_v2_response.py b/test/test_ezsigntemplatepublic_get_object_v2_response.py new file mode 100644 index 000000000..36c3e1b59 --- /dev/null +++ b/test/test_ezsigntemplatepublic_get_object_v2_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response import EzsigntemplatepublicGetObjectV2Response + +class TestEzsigntemplatepublicGetObjectV2Response(unittest.TestCase): + """EzsigntemplatepublicGetObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicGetObjectV2Response: + """Test EzsigntemplatepublicGetObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicGetObjectV2Response` + """ + model = EzsigntemplatepublicGetObjectV2Response() + if include_optional: + return EzsigntemplatepublicGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response_m_payload.ezsigntemplatepublic-getObject-v2-Response-mPayload( + obj_ezsigntemplatepublic = eZmaxApi.models.ezsigntemplatepublic_response_compound.ezsigntemplatepublic-ResponseCompound(), ) + ) + else: + return EzsigntemplatepublicGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response_m_payload.ezsigntemplatepublic-getObject-v2-Response-mPayload( + obj_ezsigntemplatepublic = eZmaxApi.models.ezsigntemplatepublic_response_compound.ezsigntemplatepublic-ResponseCompound(), ), + ) + """ + + def testEzsigntemplatepublicGetObjectV2Response(self): + """Test EzsigntemplatepublicGetObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_get_object_v2_response_m_payload.py b/test/test_ezsigntemplatepublic_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..d9b8bb9ec --- /dev/null +++ b/test/test_ezsigntemplatepublic_get_object_v2_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response_m_payload import EzsigntemplatepublicGetObjectV2ResponseMPayload + +class TestEzsigntemplatepublicGetObjectV2ResponseMPayload(unittest.TestCase): + """EzsigntemplatepublicGetObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicGetObjectV2ResponseMPayload: + """Test EzsigntemplatepublicGetObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicGetObjectV2ResponseMPayload` + """ + model = EzsigntemplatepublicGetObjectV2ResponseMPayload() + if include_optional: + return EzsigntemplatepublicGetObjectV2ResponseMPayload( + obj_ezsigntemplatepublic = eZmaxApi.models.ezsigntemplatepublic_response_compound.ezsigntemplatepublic-ResponseCompound() + ) + else: + return EzsigntemplatepublicGetObjectV2ResponseMPayload( + obj_ezsigntemplatepublic = eZmaxApi.models.ezsigntemplatepublic_response_compound.ezsigntemplatepublic-ResponseCompound(), + ) + """ + + def testEzsigntemplatepublicGetObjectV2ResponseMPayload(self): + """Test EzsigntemplatepublicGetObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_list_element.py b/test/test_ezsigntemplatepublic_list_element.py new file mode 100644 index 000000000..afe11d14b --- /dev/null +++ b/test/test_ezsigntemplatepublic_list_element.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_list_element import EzsigntemplatepublicListElement + +class TestEzsigntemplatepublicListElement(unittest.TestCase): + """EzsigntemplatepublicListElement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicListElement: + """Test EzsigntemplatepublicListElement + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicListElement` + """ + model = EzsigntemplatepublicListElement() + if include_optional: + return EzsigntemplatepublicListElement( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + fki_userlogintype_id = 2, + fki_ezsigntemplate_id = 36, + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepublic_description = 'Inscription form', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + i_ezsigntemplatepublic_limitexceeded = 5, + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + i_ezsignfolder = 56, + i_ezsigndocument = 56, + s_ezsigntemplatepublic_ezsigntemplatedescription = 'jUR,rZ#UM/?R,Fp^l6$AR' + ) + else: + return EzsigntemplatepublicListElement( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + fki_userlogintype_id = 2, + s_ezsigntemplatepublic_description = 'Inscription form', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + i_ezsigntemplatepublic_limitexceeded = 5, + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + i_ezsignfolder = 56, + i_ezsigndocument = 56, + s_ezsigntemplatepublic_ezsigntemplatedescription = 'jUR,rZ#UM/?R,Fp^l6$AR', + ) + """ + + def testEzsigntemplatepublicListElement(self): + """Test EzsigntemplatepublicListElement""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_request.py b/test/test_ezsigntemplatepublic_request.py new file mode 100644 index 000000000..f811e455a --- /dev/null +++ b/test/test_ezsigntemplatepublic_request.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_request import EzsigntemplatepublicRequest + +class TestEzsigntemplatepublicRequest(unittest.TestCase): + """EzsigntemplatepublicRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicRequest: + """Test EzsigntemplatepublicRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicRequest` + """ + model = EzsigntemplatepublicRequest() + if include_optional: + return EzsigntemplatepublicRequest( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + fki_userlogintype_id = 2, + fki_ezsigntemplate_id = 36, + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepublic_description = 'Inscription form', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10 + ) + else: + return EzsigntemplatepublicRequest( + fki_ezsignfoldertype_id = 5, + fki_userlogintype_id = 2, + s_ezsigntemplatepublic_description = 'Inscription form', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + ) + """ + + def testEzsigntemplatepublicRequest(self): + """Test EzsigntemplatepublicRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_request_compound.py b/test/test_ezsigntemplatepublic_request_compound.py new file mode 100644 index 000000000..eb848b004 --- /dev/null +++ b/test/test_ezsigntemplatepublic_request_compound.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_request_compound import EzsigntemplatepublicRequestCompound + +class TestEzsigntemplatepublicRequestCompound(unittest.TestCase): + """EzsigntemplatepublicRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicRequestCompound: + """Test EzsigntemplatepublicRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicRequestCompound` + """ + model = EzsigntemplatepublicRequestCompound() + if include_optional: + return EzsigntemplatepublicRequestCompound( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + fki_userlogintype_id = 2, + fki_ezsigntemplate_id = 36, + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepublic_description = 'Inscription form', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10 + ) + else: + return EzsigntemplatepublicRequestCompound( + fki_ezsignfoldertype_id = 5, + fki_userlogintype_id = 2, + s_ezsigntemplatepublic_description = 'Inscription form', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + ) + """ + + def testEzsigntemplatepublicRequestCompound(self): + """Test EzsigntemplatepublicRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py b/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py new file mode 100644 index 000000000..e127b1aa9 --- /dev/null +++ b/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response import EzsigntemplatepublicResetLimitExceededCounterV1Response + +class TestEzsigntemplatepublicResetLimitExceededCounterV1Response(unittest.TestCase): + """EzsigntemplatepublicResetLimitExceededCounterV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicResetLimitExceededCounterV1Response: + """Test EzsigntemplatepublicResetLimitExceededCounterV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicResetLimitExceededCounterV1Response` + """ + model = EzsigntemplatepublicResetLimitExceededCounterV1Response() + if include_optional: + return EzsigntemplatepublicResetLimitExceededCounterV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.ezsigntemplatepublic-resetLimitExceededCounter-v1-Response-mPayload( + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', ) + ) + else: + return EzsigntemplatepublicResetLimitExceededCounterV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.ezsigntemplatepublic-resetLimitExceededCounter-v1-Response-mPayload( + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', ), + ) + """ + + def testEzsigntemplatepublicResetLimitExceededCounterV1Response(self): + """Test EzsigntemplatepublicResetLimitExceededCounterV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.py b/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.py new file mode 100644 index 000000000..594f3cca6 --- /dev/null +++ b/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload import EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload + +class TestEzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload: + """Test EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload` + """ + model = EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload() + if include_optional: + return EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload( + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45' + ) + else: + return EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload( + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + ) + """ + + def testEzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload(self): + """Test EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_reset_url_v1_response.py b/test/test_ezsigntemplatepublic_reset_url_v1_response.py new file mode 100644 index 000000000..b7514ac49 --- /dev/null +++ b/test/test_ezsigntemplatepublic_reset_url_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response import EzsigntemplatepublicResetUrlV1Response + +class TestEzsigntemplatepublicResetUrlV1Response(unittest.TestCase): + """EzsigntemplatepublicResetUrlV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicResetUrlV1Response: + """Test EzsigntemplatepublicResetUrlV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicResetUrlV1Response` + """ + model = EzsigntemplatepublicResetUrlV1Response() + if include_optional: + return EzsigntemplatepublicResetUrlV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response_m_payload.ezsigntemplatepublic-resetUrl-v1-Response-mPayload( + s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', ) + ) + else: + return EzsigntemplatepublicResetUrlV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response_m_payload.ezsigntemplatepublic-resetUrl-v1-Response-mPayload( + s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', ), + ) + """ + + def testEzsigntemplatepublicResetUrlV1Response(self): + """Test EzsigntemplatepublicResetUrlV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_reset_url_v1_response_m_payload.py b/test/test_ezsigntemplatepublic_reset_url_v1_response_m_payload.py new file mode 100644 index 000000000..a4a7b264d --- /dev/null +++ b/test/test_ezsigntemplatepublic_reset_url_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response_m_payload import EzsigntemplatepublicResetUrlV1ResponseMPayload + +class TestEzsigntemplatepublicResetUrlV1ResponseMPayload(unittest.TestCase): + """EzsigntemplatepublicResetUrlV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicResetUrlV1ResponseMPayload: + """Test EzsigntemplatepublicResetUrlV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicResetUrlV1ResponseMPayload` + """ + model = EzsigntemplatepublicResetUrlV1ResponseMPayload() + if include_optional: + return EzsigntemplatepublicResetUrlV1ResponseMPayload( + s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}' + ) + else: + return EzsigntemplatepublicResetUrlV1ResponseMPayload( + s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', + ) + """ + + def testEzsigntemplatepublicResetUrlV1ResponseMPayload(self): + """Test EzsigntemplatepublicResetUrlV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_response.py b/test/test_ezsigntemplatepublic_response.py new file mode 100644 index 000000000..2f3990fd5 --- /dev/null +++ b/test/test_ezsigntemplatepublic_response.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_response import EzsigntemplatepublicResponse + +class TestEzsigntemplatepublicResponse(unittest.TestCase): + """EzsigntemplatepublicResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicResponse: + """Test EzsigntemplatepublicResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicResponse` + """ + model = EzsigntemplatepublicResponse() + if include_optional: + return EzsigntemplatepublicResponse( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + fki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + fki_ezsigntemplate_id = 36, + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepublic_description = 'Inscription form', + s_ezsigntemplatepublic_referenceid = '6B29FC40-CA47-1067-B31D-00DD010662DA', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + i_ezsigntemplatepublic_limitexceeded = 5, + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', + s_ezsigntemplatepublic_ezsigntemplatedescription = 'jUR,rZ#UM/?R,Fp^l6$AR', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) + ) + else: + return EzsigntemplatepublicResponse( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + fki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + s_ezsigntemplatepublic_description = 'Inscription form', + s_ezsigntemplatepublic_referenceid = '6B29FC40-CA47-1067-B31D-00DD010662DA', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + i_ezsigntemplatepublic_limitexceeded = 5, + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', + s_ezsigntemplatepublic_ezsigntemplatedescription = 'jUR,rZ#UM/?R,Fp^l6$AR', + ) + """ + + def testEzsigntemplatepublicResponse(self): + """Test EzsigntemplatepublicResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatepublic_response_compound.py b/test/test_ezsigntemplatepublic_response_compound.py new file mode 100644 index 000000000..694eface5 --- /dev/null +++ b/test/test_ezsigntemplatepublic_response_compound.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatepublic_response_compound import EzsigntemplatepublicResponseCompound + +class TestEzsigntemplatepublicResponseCompound(unittest.TestCase): + """EzsigntemplatepublicResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatepublicResponseCompound: + """Test EzsigntemplatepublicResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatepublicResponseCompound` + """ + model = EzsigntemplatepublicResponseCompound() + if include_optional: + return EzsigntemplatepublicResponseCompound( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + fki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + fki_ezsigntemplate_id = 36, + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepublic_description = 'Inscription form', + s_ezsigntemplatepublic_referenceid = '6B29FC40-CA47-1067-B31D-00DD010662DA', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + i_ezsigntemplatepublic_limitexceeded = 5, + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', + s_ezsigntemplatepublic_ezsigntemplatedescription = 'jUR,rZ#UM/?R,Fp^l6$AR', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + a_obj_ezsignfolderezsigntemplatepublic = [ + eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_response.Custom-Ezsignfolderezsigntemplatepublic-Response( + pki_ezsignfolder_id = 33, + s_ezsignfolder_description = 'Test eZsign Folder', + e_ezsignfolder_step = 'Completed', + i_ezsignfolder_signaturetotal = 4, + i_ezsignfolder_formfieldtotal = 4, + i_ezsignfolder_signaturesigned = 3, + a_obj_ezsignfolderezsigntemplatepublic_signer = [ + eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_signer_response.Custom-EzsignfolderezsigntemplatepublicSigner-Response( + fki_user_id = 70, + fki_ezsignsignergroup_id = 27, + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_ezsignsignergroup_description_x = 'HR', ) + ], ) + ] + ) + else: + return EzsigntemplatepublicResponseCompound( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + fki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + s_ezsigntemplatepublic_description = 'Inscription form', + s_ezsigntemplatepublic_referenceid = '6B29FC40-CA47-1067-B31D-00DD010662DA', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + i_ezsigntemplatepublic_limitexceeded = 5, + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', + s_ezsigntemplatepublic_ezsigntemplatedescription = 'jUR,rZ#UM/?R,Fp^l6$AR', + a_obj_ezsignfolderezsigntemplatepublic = [ + eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_response.Custom-Ezsignfolderezsigntemplatepublic-Response( + pki_ezsignfolder_id = 33, + s_ezsignfolder_description = 'Test eZsign Folder', + e_ezsignfolder_step = 'Completed', + i_ezsignfolder_signaturetotal = 4, + i_ezsignfolder_formfieldtotal = 4, + i_ezsignfolder_signaturesigned = 3, + a_obj_ezsignfolderezsigntemplatepublic_signer = [ + eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_signer_response.Custom-EzsignfolderezsigntemplatepublicSigner-Response( + fki_user_id = 70, + fki_ezsignsignergroup_id = 27, + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_ezsignsignergroup_description_x = 'HR', ) + ], ) + ], + ) + """ + + def testEzsigntemplatepublicResponseCompound(self): + """Test EzsigntemplatepublicResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignature_create_object_v1_request.py b/test/test_ezsigntemplatesignature_create_object_v1_request.py deleted file mode 100644 index 6af84a20b..000000000 --- a/test/test_ezsigntemplatesignature_create_object_v1_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_request import EzsigntemplatesignatureCreateObjectV1Request - -class TestEzsigntemplatesignatureCreateObjectV1Request(unittest.TestCase): - """EzsigntemplatesignatureCreateObjectV1Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplatesignatureCreateObjectV1Request: - """Test EzsigntemplatesignatureCreateObjectV1Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplatesignatureCreateObjectV1Request` - """ - model = EzsigntemplatesignatureCreateObjectV1Request() - if include_optional: - return EzsigntemplatesignatureCreateObjectV1Request( - a_obj_ezsigntemplatesignature = [ - eZmaxApi.models.ezsigntemplatesignature_request_compound.ezsigntemplatesignature-RequestCompound() - ] - ) - else: - return EzsigntemplatesignatureCreateObjectV1Request( - a_obj_ezsigntemplatesignature = [ - eZmaxApi.models.ezsigntemplatesignature_request_compound.ezsigntemplatesignature-RequestCompound() - ], - ) - """ - - def testEzsigntemplatesignatureCreateObjectV1Request(self): - """Test EzsigntemplatesignatureCreateObjectV1Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplatesignature_create_object_v1_response.py b/test/test_ezsigntemplatesignature_create_object_v1_response.py deleted file mode 100644 index 71172f8cf..000000000 --- a/test/test_ezsigntemplatesignature_create_object_v1_response.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response import EzsigntemplatesignatureCreateObjectV1Response - -class TestEzsigntemplatesignatureCreateObjectV1Response(unittest.TestCase): - """EzsigntemplatesignatureCreateObjectV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplatesignatureCreateObjectV1Response: - """Test EzsigntemplatesignatureCreateObjectV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplatesignatureCreateObjectV1Response` - """ - model = EzsigntemplatesignatureCreateObjectV1Response() - if include_optional: - return EzsigntemplatesignatureCreateObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response_m_payload.ezsigntemplatesignature-createObject-v1-Response-mPayload( - a_pki_ezsigntemplatesignature_id = [ - 99 - ], ) - ) - else: - return EzsigntemplatesignatureCreateObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response_m_payload.ezsigntemplatesignature-createObject-v1-Response-mPayload( - a_pki_ezsigntemplatesignature_id = [ - 99 - ], ), - ) - """ - - def testEzsigntemplatesignatureCreateObjectV1Response(self): - """Test EzsigntemplatesignatureCreateObjectV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplatesignature_create_object_v1_response_m_payload.py b/test/test_ezsigntemplatesignature_create_object_v1_response_m_payload.py deleted file mode 100644 index 09a3f753e..000000000 --- a/test/test_ezsigntemplatesignature_create_object_v1_response_m_payload.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplatesignature_create_object_v1_response_m_payload import EzsigntemplatesignatureCreateObjectV1ResponseMPayload - -class TestEzsigntemplatesignatureCreateObjectV1ResponseMPayload(unittest.TestCase): - """EzsigntemplatesignatureCreateObjectV1ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplatesignatureCreateObjectV1ResponseMPayload: - """Test EzsigntemplatesignatureCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplatesignatureCreateObjectV1ResponseMPayload` - """ - model = EzsigntemplatesignatureCreateObjectV1ResponseMPayload() - if include_optional: - return EzsigntemplatesignatureCreateObjectV1ResponseMPayload( - a_pki_ezsigntemplatesignature_id = [ - 99 - ] - ) - else: - return EzsigntemplatesignatureCreateObjectV1ResponseMPayload( - a_pki_ezsigntemplatesignature_id = [ - 99 - ], - ) - """ - - def testEzsigntemplatesignatureCreateObjectV1ResponseMPayload(self): - """Test EzsigntemplatesignatureCreateObjectV1ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplatesignature_create_object_v2_request.py b/test/test_ezsigntemplatesignature_create_object_v2_request.py new file mode 100644 index 000000000..3d95a0387 --- /dev/null +++ b/test/test_ezsigntemplatesignature_create_object_v2_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_request import EzsigntemplatesignatureCreateObjectV2Request + +class TestEzsigntemplatesignatureCreateObjectV2Request(unittest.TestCase): + """EzsigntemplatesignatureCreateObjectV2Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignatureCreateObjectV2Request: + """Test EzsigntemplatesignatureCreateObjectV2Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignatureCreateObjectV2Request` + """ + model = EzsigntemplatesignatureCreateObjectV2Request() + if include_optional: + return EzsigntemplatesignatureCreateObjectV2Request( + a_obj_ezsigntemplatesignature = [ + eZmaxApi.models.ezsigntemplatesignature_request_compound_v2.ezsigntemplatesignature-RequestCompoundV2() + ] + ) + else: + return EzsigntemplatesignatureCreateObjectV2Request( + a_obj_ezsigntemplatesignature = [ + eZmaxApi.models.ezsigntemplatesignature_request_compound_v2.ezsigntemplatesignature-RequestCompoundV2() + ], + ) + """ + + def testEzsigntemplatesignatureCreateObjectV2Request(self): + """Test EzsigntemplatesignatureCreateObjectV2Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignature_create_object_v2_response.py b/test/test_ezsigntemplatesignature_create_object_v2_response.py new file mode 100644 index 000000000..0d524af61 --- /dev/null +++ b/test/test_ezsigntemplatesignature_create_object_v2_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response import EzsigntemplatesignatureCreateObjectV2Response + +class TestEzsigntemplatesignatureCreateObjectV2Response(unittest.TestCase): + """EzsigntemplatesignatureCreateObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignatureCreateObjectV2Response: + """Test EzsigntemplatesignatureCreateObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignatureCreateObjectV2Response` + """ + model = EzsigntemplatesignatureCreateObjectV2Response() + if include_optional: + return EzsigntemplatesignatureCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response_m_payload.ezsigntemplatesignature-createObject-v2-Response-mPayload( + a_pki_ezsigntemplatesignature_id = [ + 99 + ], ) + ) + else: + return EzsigntemplatesignatureCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response_m_payload.ezsigntemplatesignature-createObject-v2-Response-mPayload( + a_pki_ezsigntemplatesignature_id = [ + 99 + ], ), + ) + """ + + def testEzsigntemplatesignatureCreateObjectV2Response(self): + """Test EzsigntemplatesignatureCreateObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignature_create_object_v2_response_m_payload.py b/test/test_ezsigntemplatesignature_create_object_v2_response_m_payload.py new file mode 100644 index 000000000..9409a8c2a --- /dev/null +++ b/test/test_ezsigntemplatesignature_create_object_v2_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response_m_payload import EzsigntemplatesignatureCreateObjectV2ResponseMPayload + +class TestEzsigntemplatesignatureCreateObjectV2ResponseMPayload(unittest.TestCase): + """EzsigntemplatesignatureCreateObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignatureCreateObjectV2ResponseMPayload: + """Test EzsigntemplatesignatureCreateObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignatureCreateObjectV2ResponseMPayload` + """ + model = EzsigntemplatesignatureCreateObjectV2ResponseMPayload() + if include_optional: + return EzsigntemplatesignatureCreateObjectV2ResponseMPayload( + a_pki_ezsigntemplatesignature_id = [ + 99 + ] + ) + else: + return EzsigntemplatesignatureCreateObjectV2ResponseMPayload( + a_pki_ezsigntemplatesignature_id = [ + 99 + ], + ) + """ + + def testEzsigntemplatesignatureCreateObjectV2ResponseMPayload(self): + """Test EzsigntemplatesignatureCreateObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignature_delete_object_v1_response.py b/test/test_ezsigntemplatesignature_delete_object_v1_response.py index 63b9c61c8..c0107f644 100644 --- a/test/test_ezsigntemplatesignature_delete_object_v1_response.py +++ b/test/test_ezsigntemplatesignature_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignatureDeleteObjectV1Response: """Test EzsigntemplatesignatureDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignatureDeleteObjectV1Response` diff --git a/test/test_ezsigntemplatesignature_edit_object_v1_request.py b/test/test_ezsigntemplatesignature_edit_object_v1_request.py deleted file mode 100644 index aadb694bb..000000000 --- a/test/test_ezsigntemplatesignature_edit_object_v1_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_request import EzsigntemplatesignatureEditObjectV1Request - -class TestEzsigntemplatesignatureEditObjectV1Request(unittest.TestCase): - """EzsigntemplatesignatureEditObjectV1Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplatesignatureEditObjectV1Request: - """Test EzsigntemplatesignatureEditObjectV1Request - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplatesignatureEditObjectV1Request` - """ - model = EzsigntemplatesignatureEditObjectV1Request() - if include_optional: - return EzsigntemplatesignatureEditObjectV1Request( - obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_request_compound.ezsigntemplatesignature-RequestCompound() - ) - else: - return EzsigntemplatesignatureEditObjectV1Request( - obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_request_compound.ezsigntemplatesignature-RequestCompound(), - ) - """ - - def testEzsigntemplatesignatureEditObjectV1Request(self): - """Test EzsigntemplatesignatureEditObjectV1Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplatesignature_edit_object_v1_response.py b/test/test_ezsigntemplatesignature_edit_object_v1_response.py deleted file mode 100644 index 4223f4444..000000000 --- a/test/test_ezsigntemplatesignature_edit_object_v1_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplatesignature_edit_object_v1_response import EzsigntemplatesignatureEditObjectV1Response - -class TestEzsigntemplatesignatureEditObjectV1Response(unittest.TestCase): - """EzsigntemplatesignatureEditObjectV1Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplatesignatureEditObjectV1Response: - """Test EzsigntemplatesignatureEditObjectV1Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplatesignatureEditObjectV1Response` - """ - model = EzsigntemplatesignatureEditObjectV1Response() - if include_optional: - return EzsigntemplatesignatureEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} - ) - else: - return EzsigntemplatesignatureEditObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - ) - """ - - def testEzsigntemplatesignatureEditObjectV1Response(self): - """Test EzsigntemplatesignatureEditObjectV1Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplatesignature_edit_object_v2_request.py b/test/test_ezsigntemplatesignature_edit_object_v2_request.py new file mode 100644 index 000000000..4ee45bd9f --- /dev/null +++ b/test/test_ezsigntemplatesignature_edit_object_v2_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_request import EzsigntemplatesignatureEditObjectV2Request + +class TestEzsigntemplatesignatureEditObjectV2Request(unittest.TestCase): + """EzsigntemplatesignatureEditObjectV2Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignatureEditObjectV2Request: + """Test EzsigntemplatesignatureEditObjectV2Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignatureEditObjectV2Request` + """ + model = EzsigntemplatesignatureEditObjectV2Request() + if include_optional: + return EzsigntemplatesignatureEditObjectV2Request( + obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_request_compound_v2.ezsigntemplatesignature-RequestCompoundV2() + ) + else: + return EzsigntemplatesignatureEditObjectV2Request( + obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_request_compound_v2.ezsigntemplatesignature-RequestCompoundV2(), + ) + """ + + def testEzsigntemplatesignatureEditObjectV2Request(self): + """Test EzsigntemplatesignatureEditObjectV2Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignature_edit_object_v2_response.py b/test/test_ezsigntemplatesignature_edit_object_v2_response.py new file mode 100644 index 000000000..b4fc599d1 --- /dev/null +++ b/test/test_ezsigntemplatesignature_edit_object_v2_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_response import EzsigntemplatesignatureEditObjectV2Response + +class TestEzsigntemplatesignatureEditObjectV2Response(unittest.TestCase): + """EzsigntemplatesignatureEditObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignatureEditObjectV2Response: + """Test EzsigntemplatesignatureEditObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignatureEditObjectV2Response` + """ + model = EzsigntemplatesignatureEditObjectV2Response() + if include_optional: + return EzsigntemplatesignatureEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsigntemplatesignatureEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsigntemplatesignatureEditObjectV2Response(self): + """Test EzsigntemplatesignatureEditObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignature_get_object_v2_response.py b/test/test_ezsigntemplatesignature_get_object_v2_response.py deleted file mode 100644 index 2d52c00a1..000000000 --- a/test/test_ezsigntemplatesignature_get_object_v2_response.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response import EzsigntemplatesignatureGetObjectV2Response - -class TestEzsigntemplatesignatureGetObjectV2Response(unittest.TestCase): - """EzsigntemplatesignatureGetObjectV2Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplatesignatureGetObjectV2Response: - """Test EzsigntemplatesignatureGetObjectV2Response - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplatesignatureGetObjectV2Response` - """ - model = EzsigntemplatesignatureGetObjectV2Response() - if include_optional: - return EzsigntemplatesignatureGetObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, - m_payload = eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response_m_payload.ezsigntemplatesignature-getObject-v2-Response-mPayload( - obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_response_compound.ezsigntemplatesignature-ResponseCompound(), ) - ) - else: - return EzsigntemplatesignatureGetObjectV2Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - m_payload = eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response_m_payload.ezsigntemplatesignature-getObject-v2-Response-mPayload( - obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_response_compound.ezsigntemplatesignature-ResponseCompound(), ), - ) - """ - - def testEzsigntemplatesignatureGetObjectV2Response(self): - """Test EzsigntemplatesignatureGetObjectV2Response""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplatesignature_get_object_v2_response_m_payload.py b/test/test_ezsigntemplatesignature_get_object_v2_response_m_payload.py deleted file mode 100644 index 8bff2c85e..000000000 --- a/test/test_ezsigntemplatesignature_get_object_v2_response_m_payload.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.ezsigntemplatesignature_get_object_v2_response_m_payload import EzsigntemplatesignatureGetObjectV2ResponseMPayload - -class TestEzsigntemplatesignatureGetObjectV2ResponseMPayload(unittest.TestCase): - """EzsigntemplatesignatureGetObjectV2ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EzsigntemplatesignatureGetObjectV2ResponseMPayload: - """Test EzsigntemplatesignatureGetObjectV2ResponseMPayload - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EzsigntemplatesignatureGetObjectV2ResponseMPayload` - """ - model = EzsigntemplatesignatureGetObjectV2ResponseMPayload() - if include_optional: - return EzsigntemplatesignatureGetObjectV2ResponseMPayload( - obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_response_compound.ezsigntemplatesignature-ResponseCompound() - ) - else: - return EzsigntemplatesignatureGetObjectV2ResponseMPayload( - obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_response_compound.ezsigntemplatesignature-ResponseCompound(), - ) - """ - - def testEzsigntemplatesignatureGetObjectV2ResponseMPayload(self): - """Test EzsigntemplatesignatureGetObjectV2ResponseMPayload""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ezsigntemplatesignature_get_object_v3_response.py b/test/test_ezsigntemplatesignature_get_object_v3_response.py new file mode 100644 index 000000000..3ec25f062 --- /dev/null +++ b/test/test_ezsigntemplatesignature_get_object_v3_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response import EzsigntemplatesignatureGetObjectV3Response + +class TestEzsigntemplatesignatureGetObjectV3Response(unittest.TestCase): + """EzsigntemplatesignatureGetObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignatureGetObjectV3Response: + """Test EzsigntemplatesignatureGetObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignatureGetObjectV3Response` + """ + model = EzsigntemplatesignatureGetObjectV3Response() + if include_optional: + return EzsigntemplatesignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response_m_payload.ezsigntemplatesignature-getObject-v3-Response-mPayload( + obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_response_compound_v3.ezsigntemplatesignature-ResponseCompoundV3(), ) + ) + else: + return EzsigntemplatesignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response_m_payload.ezsigntemplatesignature-getObject-v3-Response-mPayload( + obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_response_compound_v3.ezsigntemplatesignature-ResponseCompoundV3(), ), + ) + """ + + def testEzsigntemplatesignatureGetObjectV3Response(self): + """Test EzsigntemplatesignatureGetObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignature_get_object_v3_response_m_payload.py b/test/test_ezsigntemplatesignature_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..db5d8e5bb --- /dev/null +++ b/test/test_ezsigntemplatesignature_get_object_v3_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response_m_payload import EzsigntemplatesignatureGetObjectV3ResponseMPayload + +class TestEzsigntemplatesignatureGetObjectV3ResponseMPayload(unittest.TestCase): + """EzsigntemplatesignatureGetObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignatureGetObjectV3ResponseMPayload: + """Test EzsigntemplatesignatureGetObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignatureGetObjectV3ResponseMPayload` + """ + model = EzsigntemplatesignatureGetObjectV3ResponseMPayload() + if include_optional: + return EzsigntemplatesignatureGetObjectV3ResponseMPayload( + obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_response_compound_v3.ezsigntemplatesignature-ResponseCompoundV3() + ) + else: + return EzsigntemplatesignatureGetObjectV3ResponseMPayload( + obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_response_compound_v3.ezsigntemplatesignature-ResponseCompoundV3(), + ) + """ + + def testEzsigntemplatesignatureGetObjectV3ResponseMPayload(self): + """Test EzsigntemplatesignatureGetObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignature_request.py b/test/test_ezsigntemplatesignature_request.py index e8222cc9b..1c07b097c 100644 --- a/test/test_ezsigntemplatesignature_request.py +++ b/test/test_ezsigntemplatesignature_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignatureRequest: """Test EzsigntemplatesignatureRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignatureRequest` @@ -40,6 +40,8 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequest: fki_ezsigntemplatedocument_id = 133, fki_ezsigntemplatesigner_id = 9, fki_ezsigntemplatesigner_id_validation = 9, + b_ezsigntemplatesignature_handwritten = True, + b_ezsigntemplatesignature_reason = True, e_ezsigntemplatesignature_positioning = 'PerCoordinates', i_ezsigntemplatedocumentpage_pagenumber = 1, i_ezsigntemplatesignature_x = 200, @@ -47,7 +49,8 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequest: i_ezsigntemplatesignature_width = 200, i_ezsigntemplatesignature_height = 200, i_ezsigntemplatesignature_step = 1, - e_ezsigntemplatesignature_type = 'Name', + e_ezsigntemplatesignature_type = 'Signature', + e_ezsigntemplatesignature_consultationtrigger = 'Manual', t_ezsigntemplatesignature_tooltip = 'Please sign here if you agree to the terms', e_ezsigntemplatesignature_tooltipposition = 'TopLeft', e_ezsigntemplatesignature_font = 'Normal', @@ -56,8 +59,10 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequest: s_ezsigntemplatesignature_attachmentdescription = 'Attachment', i_ezsigntemplatesignature_validationstep = 1, i_ezsigntemplatesignature_maxlength = 75, + s_ezsigntemplatesignature_defaultvalue = 'Foo', s_ezsigntemplatesignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', e_ezsigntemplatesignature_textvalidation = 'None', + s_ezsigntemplatesignature_textvalidationcustommessage = 'Phone number', e_ezsigntemplatesignature_dependencyrequirement = 'AllOf', s_ezsigntemplatesignature_positioningpattern = 'Signature', i_ezsigntemplatesignature_positioningoffsetx = 200, @@ -70,7 +75,7 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequest: fki_ezsigntemplatesigner_id = 9, i_ezsigntemplatedocumentpage_pagenumber = 1, i_ezsigntemplatesignature_step = 1, - e_ezsigntemplatesignature_type = 'Name', + e_ezsigntemplatesignature_type = 'Signature', ) """ diff --git a/test/test_ezsigntemplatesignature_request_compound.py b/test/test_ezsigntemplatesignature_request_compound.py index f6a3b2c78..a700ce6c5 100644 --- a/test/test_ezsigntemplatesignature_request_compound.py +++ b/test/test_ezsigntemplatesignature_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignatureRequestCompound: """Test EzsigntemplatesignatureRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignatureRequestCompound` @@ -40,6 +40,8 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequestCompo fki_ezsigntemplatedocument_id = 133, fki_ezsigntemplatesigner_id = 9, fki_ezsigntemplatesigner_id_validation = 9, + b_ezsigntemplatesignature_handwritten = True, + b_ezsigntemplatesignature_reason = True, e_ezsigntemplatesignature_positioning = 'PerCoordinates', i_ezsigntemplatedocumentpage_pagenumber = 1, i_ezsigntemplatesignature_x = 200, @@ -47,7 +49,8 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequestCompo i_ezsigntemplatesignature_width = 200, i_ezsigntemplatesignature_height = 200, i_ezsigntemplatesignature_step = 1, - e_ezsigntemplatesignature_type = 'Name', + e_ezsigntemplatesignature_type = 'Signature', + e_ezsigntemplatesignature_consultationtrigger = 'Manual', t_ezsigntemplatesignature_tooltip = 'Please sign here if you agree to the terms', e_ezsigntemplatesignature_tooltipposition = 'TopLeft', e_ezsigntemplatesignature_font = 'Normal', @@ -56,8 +59,10 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequestCompo s_ezsigntemplatesignature_attachmentdescription = 'Attachment', i_ezsigntemplatesignature_validationstep = 1, i_ezsigntemplatesignature_maxlength = 75, + s_ezsigntemplatesignature_defaultvalue = 'Foo', s_ezsigntemplatesignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', e_ezsigntemplatesignature_textvalidation = 'None', + s_ezsigntemplatesignature_textvalidationcustommessage = 'Phone number', e_ezsigntemplatesignature_dependencyrequirement = 'AllOf', s_ezsigntemplatesignature_positioningpattern = 'Signature', i_ezsigntemplatesignature_positioningoffsetx = 200, @@ -77,7 +82,7 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequestCompo fki_ezsigntemplatesigner_id = 9, i_ezsigntemplatedocumentpage_pagenumber = 1, i_ezsigntemplatesignature_step = 1, - e_ezsigntemplatesignature_type = 'Name', + e_ezsigntemplatesignature_type = 'Signature', ) """ diff --git a/test/test_ezsigntemplatesignature_request_compound_v2.py b/test/test_ezsigntemplatesignature_request_compound_v2.py new file mode 100644 index 000000000..7e2b3eda5 --- /dev/null +++ b/test/test_ezsigntemplatesignature_request_compound_v2.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignature_request_compound_v2 import EzsigntemplatesignatureRequestCompoundV2 + +class TestEzsigntemplatesignatureRequestCompoundV2(unittest.TestCase): + """EzsigntemplatesignatureRequestCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignatureRequestCompoundV2: + """Test EzsigntemplatesignatureRequestCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignatureRequestCompoundV2` + """ + model = EzsigntemplatesignatureRequestCompoundV2() + if include_optional: + return EzsigntemplatesignatureRequestCompoundV2( + pki_ezsigntemplatesignature_id = 99, + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + fki_ezsigntemplatesigner_id_validation = 9, + b_ezsigntemplatesignature_handwritten = True, + b_ezsigntemplatesignature_reason = True, + e_ezsigntemplatesignature_positioning = 'PerCoordinates', + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_x = 200, + i_ezsigntemplatesignature_y = 300, + i_ezsigntemplatesignature_width = 200, + i_ezsigntemplatesignature_height = 200, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', + e_ezsigntemplatesignature_consultationtrigger = 'Manual', + t_ezsigntemplatesignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsigntemplatesignature_tooltipposition = 'TopLeft', + e_ezsigntemplatesignature_font = 'Normal', + b_ezsigntemplatesignature_required = True, + e_ezsigntemplatesignature_attachmentnamesource = 'Description', + s_ezsigntemplatesignature_attachmentdescription = 'Attachment', + i_ezsigntemplatesignature_validationstep = 1, + i_ezsigntemplatesignature_maxlength = 75, + s_ezsigntemplatesignature_defaultvalue = 'Foo', + s_ezsigntemplatesignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + e_ezsigntemplatesignature_textvalidation = 'None', + s_ezsigntemplatesignature_textvalidationcustommessage = 'Phone number', + e_ezsigntemplatesignature_dependencyrequirement = 'AllOf', + s_ezsigntemplatesignature_positioningpattern = 'Signature', + i_ezsigntemplatesignature_positioningoffsetx = 200, + i_ezsigntemplatesignature_positioningoffsety = 200, + e_ezsigntemplatesignature_positioningoccurence = 'All', + b_ezsigntemplatesignature_customdate = True, + a_obj_ezsigntemplatesignaturecustomdate = [ + eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound_v2.ezsigntemplatesignaturecustomdate-RequestCompoundV2() + ], + a_obj_ezsigntemplateelementdependency = [ + eZmaxApi.models.ezsigntemplateelementdependency_request_compound.ezsigntemplateelementdependency-RequestCompound() + ] + ) + else: + return EzsigntemplatesignatureRequestCompoundV2( + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', + ) + """ + + def testEzsigntemplatesignatureRequestCompoundV2(self): + """Test EzsigntemplatesignatureRequestCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignature_response.py b/test/test_ezsigntemplatesignature_response.py index 9ac8df606..0f0346322 100644 --- a/test/test_ezsigntemplatesignature_response.py +++ b/test/test_ezsigntemplatesignature_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignatureResponse: """Test EzsigntemplatesignatureResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignatureResponse` @@ -40,6 +40,8 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponse: fki_ezsigntemplatedocument_id = 133, fki_ezsigntemplatesigner_id = 9, fki_ezsigntemplatesigner_id_validation = 9, + b_ezsigntemplatesignature_handwritten = True, + b_ezsigntemplatesignature_reason = True, e_ezsigntemplatesignature_positioning = 'PerCoordinates', i_ezsigntemplatedocumentpage_pagenumber = 1, i_ezsigntemplatesignature_x = 200, @@ -47,7 +49,8 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponse: i_ezsigntemplatesignature_width = 200, i_ezsigntemplatesignature_height = 200, i_ezsigntemplatesignature_step = 1, - e_ezsigntemplatesignature_type = 'Name', + e_ezsigntemplatesignature_type = 'Signature', + e_ezsigntemplatesignature_consultationtrigger = 'Manual', t_ezsigntemplatesignature_tooltip = 'Please sign here if you agree to the terms', e_ezsigntemplatesignature_tooltipposition = 'TopLeft', e_ezsigntemplatesignature_font = 'Normal', @@ -56,8 +59,10 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponse: e_ezsigntemplatesignature_attachmentnamesource = 'Description', b_ezsigntemplatesignature_required = True, i_ezsigntemplatesignature_maxlength = 75, + s_ezsigntemplatesignature_defaultvalue = 'Foo', s_ezsigntemplatesignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', e_ezsigntemplatesignature_textvalidation = 'None', + s_ezsigntemplatesignature_textvalidationcustommessage = 'Phone number', e_ezsigntemplatesignature_dependencyrequirement = 'AllOf', s_ezsigntemplatesignature_positioningpattern = 'Signature', i_ezsigntemplatesignature_positioningoffsetx = 200, @@ -71,7 +76,7 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponse: fki_ezsigntemplatesigner_id = 9, i_ezsigntemplatedocumentpage_pagenumber = 1, i_ezsigntemplatesignature_step = 1, - e_ezsigntemplatesignature_type = 'Name', + e_ezsigntemplatesignature_type = 'Signature', ) """ diff --git a/test/test_ezsigntemplatesignature_response_compound.py b/test/test_ezsigntemplatesignature_response_compound.py index 84dc3db05..682280e66 100644 --- a/test/test_ezsigntemplatesignature_response_compound.py +++ b/test/test_ezsigntemplatesignature_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignatureResponseCompound: """Test EzsigntemplatesignatureResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignatureResponseCompound` @@ -40,6 +40,8 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponseComp fki_ezsigntemplatedocument_id = 133, fki_ezsigntemplatesigner_id = 9, fki_ezsigntemplatesigner_id_validation = 9, + b_ezsigntemplatesignature_handwritten = True, + b_ezsigntemplatesignature_reason = True, e_ezsigntemplatesignature_positioning = 'PerCoordinates', i_ezsigntemplatedocumentpage_pagenumber = 1, i_ezsigntemplatesignature_x = 200, @@ -47,7 +49,8 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponseComp i_ezsigntemplatesignature_width = 200, i_ezsigntemplatesignature_height = 200, i_ezsigntemplatesignature_step = 1, - e_ezsigntemplatesignature_type = 'Name', + e_ezsigntemplatesignature_type = 'Signature', + e_ezsigntemplatesignature_consultationtrigger = 'Manual', t_ezsigntemplatesignature_tooltip = 'Please sign here if you agree to the terms', e_ezsigntemplatesignature_tooltipposition = 'TopLeft', e_ezsigntemplatesignature_font = 'Normal', @@ -56,8 +59,10 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponseComp e_ezsigntemplatesignature_attachmentnamesource = 'Description', b_ezsigntemplatesignature_required = True, i_ezsigntemplatesignature_maxlength = 75, + s_ezsigntemplatesignature_defaultvalue = 'Foo', s_ezsigntemplatesignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', e_ezsigntemplatesignature_textvalidation = 'None', + s_ezsigntemplatesignature_textvalidationcustommessage = 'Phone number', e_ezsigntemplatesignature_dependencyrequirement = 'AllOf', s_ezsigntemplatesignature_positioningpattern = 'Signature', i_ezsigntemplatesignature_positioningoffsetx = 200, @@ -78,7 +83,7 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponseComp fki_ezsigntemplatesigner_id = 9, i_ezsigntemplatedocumentpage_pagenumber = 1, i_ezsigntemplatesignature_step = 1, - e_ezsigntemplatesignature_type = 'Name', + e_ezsigntemplatesignature_type = 'Signature', ) """ diff --git a/test/test_ezsigntemplatesignature_response_compound_v3.py b/test/test_ezsigntemplatesignature_response_compound_v3.py new file mode 100644 index 000000000..0e383bfe1 --- /dev/null +++ b/test/test_ezsigntemplatesignature_response_compound_v3.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignature_response_compound_v3 import EzsigntemplatesignatureResponseCompoundV3 + +class TestEzsigntemplatesignatureResponseCompoundV3(unittest.TestCase): + """EzsigntemplatesignatureResponseCompoundV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignatureResponseCompoundV3: + """Test EzsigntemplatesignatureResponseCompoundV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignatureResponseCompoundV3` + """ + model = EzsigntemplatesignatureResponseCompoundV3() + if include_optional: + return EzsigntemplatesignatureResponseCompoundV3( + pki_ezsigntemplatesignature_id = 99, + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + fki_ezsigntemplatesigner_id_validation = 9, + b_ezsigntemplatesignature_handwritten = True, + b_ezsigntemplatesignature_reason = True, + e_ezsigntemplatesignature_positioning = 'PerCoordinates', + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_x = 200, + i_ezsigntemplatesignature_y = 300, + i_ezsigntemplatesignature_width = 200, + i_ezsigntemplatesignature_height = 200, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', + e_ezsigntemplatesignature_consultationtrigger = 'Manual', + t_ezsigntemplatesignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsigntemplatesignature_tooltipposition = 'TopLeft', + e_ezsigntemplatesignature_font = 'Normal', + i_ezsigntemplatesignature_validationstep = 1, + s_ezsigntemplatesignature_attachmentdescription = 'Attachment', + e_ezsigntemplatesignature_attachmentnamesource = 'Description', + b_ezsigntemplatesignature_required = True, + i_ezsigntemplatesignature_maxlength = 75, + s_ezsigntemplatesignature_defaultvalue = 'Foo', + s_ezsigntemplatesignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + e_ezsigntemplatesignature_textvalidation = 'None', + s_ezsigntemplatesignature_textvalidationcustommessage = 'Phone number', + e_ezsigntemplatesignature_dependencyrequirement = 'AllOf', + s_ezsigntemplatesignature_positioningpattern = 'Signature', + i_ezsigntemplatesignature_positioningoffsetx = 200, + i_ezsigntemplatesignature_positioningoffsety = 200, + e_ezsigntemplatesignature_positioningoccurence = 'All', + b_ezsigntemplatesignature_customdate = True, + a_obj_ezsigntemplatesignaturecustomdate = [ + eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound_v2.ezsigntemplatesignaturecustomdate-ResponseCompoundV2() + ], + a_obj_ezsigntemplateelementdependency = [ + eZmaxApi.models.ezsigntemplateelementdependency_response_compound.ezsigntemplateelementdependency-ResponseCompound() + ] + ) + else: + return EzsigntemplatesignatureResponseCompoundV3( + pki_ezsigntemplatesignature_id = 99, + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', + ) + """ + + def testEzsigntemplatesignatureResponseCompoundV3(self): + """Test EzsigntemplatesignatureResponseCompoundV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignaturecustomdate_request.py b/test/test_ezsigntemplatesignaturecustomdate_request.py index 220885bfd..1cf56a8da 100644 --- a/test/test_ezsigntemplatesignaturecustomdate_request.py +++ b/test/test_ezsigntemplatesignaturecustomdate_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignaturecustomdateRequest: """Test EzsigntemplatesignaturecustomdateRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignaturecustomdateRequest` diff --git a/test/test_ezsigntemplatesignaturecustomdate_request_compound.py b/test/test_ezsigntemplatesignaturecustomdate_request_compound.py index aeab16a37..2561f095e 100644 --- a/test/test_ezsigntemplatesignaturecustomdate_request_compound.py +++ b/test/test_ezsigntemplatesignaturecustomdate_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignaturecustomdateRequestCompound: """Test EzsigntemplatesignaturecustomdateRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignaturecustomdateRequestCompound` diff --git a/test/test_ezsigntemplatesignaturecustomdate_request_compound_v2.py b/test/test_ezsigntemplatesignaturecustomdate_request_compound_v2.py new file mode 100644 index 000000000..c0593173c --- /dev/null +++ b/test/test_ezsigntemplatesignaturecustomdate_request_compound_v2.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound_v2 import EzsigntemplatesignaturecustomdateRequestCompoundV2 + +class TestEzsigntemplatesignaturecustomdateRequestCompoundV2(unittest.TestCase): + """EzsigntemplatesignaturecustomdateRequestCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignaturecustomdateRequestCompoundV2: + """Test EzsigntemplatesignaturecustomdateRequestCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignaturecustomdateRequestCompoundV2` + """ + model = EzsigntemplatesignaturecustomdateRequestCompoundV2() + if include_optional: + return EzsigntemplatesignaturecustomdateRequestCompoundV2( + pki_ezsigntemplatesignaturecustomdate_id = 58, + i_ezsigntemplatesignaturecustomdate_offsetx = 200, + i_ezsigntemplatesignaturecustomdate_offsety = 200, + s_ezsigntemplatesignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}' + ) + else: + return EzsigntemplatesignaturecustomdateRequestCompoundV2( + i_ezsigntemplatesignaturecustomdate_offsetx = 200, + i_ezsigntemplatesignaturecustomdate_offsety = 200, + s_ezsigntemplatesignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}', + ) + """ + + def testEzsigntemplatesignaturecustomdateRequestCompoundV2(self): + """Test EzsigntemplatesignaturecustomdateRequestCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignaturecustomdate_request_v2.py b/test/test_ezsigntemplatesignaturecustomdate_request_v2.py new file mode 100644 index 000000000..912de78d8 --- /dev/null +++ b/test/test_ezsigntemplatesignaturecustomdate_request_v2.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_v2 import EzsigntemplatesignaturecustomdateRequestV2 + +class TestEzsigntemplatesignaturecustomdateRequestV2(unittest.TestCase): + """EzsigntemplatesignaturecustomdateRequestV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignaturecustomdateRequestV2: + """Test EzsigntemplatesignaturecustomdateRequestV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignaturecustomdateRequestV2` + """ + model = EzsigntemplatesignaturecustomdateRequestV2() + if include_optional: + return EzsigntemplatesignaturecustomdateRequestV2( + pki_ezsigntemplatesignaturecustomdate_id = 58, + i_ezsigntemplatesignaturecustomdate_offsetx = 200, + i_ezsigntemplatesignaturecustomdate_offsety = 200, + s_ezsigntemplatesignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}' + ) + else: + return EzsigntemplatesignaturecustomdateRequestV2( + i_ezsigntemplatesignaturecustomdate_offsetx = 200, + i_ezsigntemplatesignaturecustomdate_offsety = 200, + s_ezsigntemplatesignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}', + ) + """ + + def testEzsigntemplatesignaturecustomdateRequestV2(self): + """Test EzsigntemplatesignaturecustomdateRequestV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignaturecustomdate_response.py b/test/test_ezsigntemplatesignaturecustomdate_response.py index 4be779c8a..33d92d357 100644 --- a/test/test_ezsigntemplatesignaturecustomdate_response.py +++ b/test/test_ezsigntemplatesignaturecustomdate_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignaturecustomdateResponse: """Test EzsigntemplatesignaturecustomdateResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignaturecustomdateResponse` diff --git a/test/test_ezsigntemplatesignaturecustomdate_response_compound.py b/test/test_ezsigntemplatesignaturecustomdate_response_compound.py index 0368ffb81..36afd4d07 100644 --- a/test/test_ezsigntemplatesignaturecustomdate_response_compound.py +++ b/test/test_ezsigntemplatesignaturecustomdate_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignaturecustomdateResponseCompound: """Test EzsigntemplatesignaturecustomdateResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignaturecustomdateResponseCompound` diff --git a/test/test_ezsigntemplatesignaturecustomdate_response_compound_v2.py b/test/test_ezsigntemplatesignaturecustomdate_response_compound_v2.py new file mode 100644 index 000000000..34c88559a --- /dev/null +++ b/test/test_ezsigntemplatesignaturecustomdate_response_compound_v2.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound_v2 import EzsigntemplatesignaturecustomdateResponseCompoundV2 + +class TestEzsigntemplatesignaturecustomdateResponseCompoundV2(unittest.TestCase): + """EzsigntemplatesignaturecustomdateResponseCompoundV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignaturecustomdateResponseCompoundV2: + """Test EzsigntemplatesignaturecustomdateResponseCompoundV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignaturecustomdateResponseCompoundV2` + """ + model = EzsigntemplatesignaturecustomdateResponseCompoundV2() + if include_optional: + return EzsigntemplatesignaturecustomdateResponseCompoundV2( + pki_ezsigntemplatesignaturecustomdate_id = 58, + i_ezsigntemplatesignaturecustomdate_offsetx = 200, + i_ezsigntemplatesignaturecustomdate_offsety = 200, + s_ezsigntemplatesignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}' + ) + else: + return EzsigntemplatesignaturecustomdateResponseCompoundV2( + pki_ezsigntemplatesignaturecustomdate_id = 58, + i_ezsigntemplatesignaturecustomdate_offsetx = 200, + i_ezsigntemplatesignaturecustomdate_offsety = 200, + s_ezsigntemplatesignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}', + ) + """ + + def testEzsigntemplatesignaturecustomdateResponseCompoundV2(self): + """Test EzsigntemplatesignaturecustomdateResponseCompoundV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesignaturecustomdate_response_v2.py b/test/test_ezsigntemplatesignaturecustomdate_response_v2.py new file mode 100644 index 000000000..e1dca967f --- /dev/null +++ b/test/test_ezsigntemplatesignaturecustomdate_response_v2.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_v2 import EzsigntemplatesignaturecustomdateResponseV2 + +class TestEzsigntemplatesignaturecustomdateResponseV2(unittest.TestCase): + """EzsigntemplatesignaturecustomdateResponseV2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsigntemplatesignaturecustomdateResponseV2: + """Test EzsigntemplatesignaturecustomdateResponseV2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsigntemplatesignaturecustomdateResponseV2` + """ + model = EzsigntemplatesignaturecustomdateResponseV2() + if include_optional: + return EzsigntemplatesignaturecustomdateResponseV2( + pki_ezsigntemplatesignaturecustomdate_id = 58, + i_ezsigntemplatesignaturecustomdate_offsetx = 200, + i_ezsigntemplatesignaturecustomdate_offsety = 200, + s_ezsigntemplatesignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}' + ) + else: + return EzsigntemplatesignaturecustomdateResponseV2( + pki_ezsigntemplatesignaturecustomdate_id = 58, + i_ezsigntemplatesignaturecustomdate_offsetx = 200, + i_ezsigntemplatesignaturecustomdate_offsety = 200, + s_ezsigntemplatesignaturecustomdate_format = 'Signature date: {YYYY}/{MM}/{DD} {hh}:{mm}{ss} {Z}', + ) + """ + + def testEzsigntemplatesignaturecustomdateResponseV2(self): + """Test EzsigntemplatesignaturecustomdateResponseV2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsigntemplatesigner_create_object_v1_request.py b/test/test_ezsigntemplatesigner_create_object_v1_request.py index 2d5482cf4..6223d50b4 100644 --- a/test/test_ezsigntemplatesigner_create_object_v1_request.py +++ b/test/test_ezsigntemplatesigner_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerCreateObjectV1Request: """Test EzsigntemplatesignerCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerCreateObjectV1Request` diff --git a/test/test_ezsigntemplatesigner_create_object_v1_response.py b/test/test_ezsigntemplatesigner_create_object_v1_response.py index 1cdcafa35..d887ba425 100644 --- a/test/test_ezsigntemplatesigner_create_object_v1_response.py +++ b/test/test_ezsigntemplatesigner_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerCreateObjectV1Response: """Test EzsigntemplatesignerCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerCreateObjectV1Response` diff --git a/test/test_ezsigntemplatesigner_create_object_v1_response_m_payload.py b/test/test_ezsigntemplatesigner_create_object_v1_response_m_payload.py index d64c73a9f..ca0d57c26 100644 --- a/test/test_ezsigntemplatesigner_create_object_v1_response_m_payload.py +++ b/test/test_ezsigntemplatesigner_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerCreateObjectV1ResponseMPayload: """Test EzsigntemplatesignerCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerCreateObjectV1ResponseMPayload` diff --git a/test/test_ezsigntemplatesigner_delete_object_v1_response.py b/test/test_ezsigntemplatesigner_delete_object_v1_response.py index df783e029..99b7e167c 100644 --- a/test/test_ezsigntemplatesigner_delete_object_v1_response.py +++ b/test/test_ezsigntemplatesigner_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerDeleteObjectV1Response: """Test EzsigntemplatesignerDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerDeleteObjectV1Response` diff --git a/test/test_ezsigntemplatesigner_edit_object_v1_request.py b/test/test_ezsigntemplatesigner_edit_object_v1_request.py index 33e40642f..743dc4880 100644 --- a/test/test_ezsigntemplatesigner_edit_object_v1_request.py +++ b/test/test_ezsigntemplatesigner_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerEditObjectV1Request: """Test EzsigntemplatesignerEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerEditObjectV1Request` diff --git a/test/test_ezsigntemplatesigner_edit_object_v1_response.py b/test/test_ezsigntemplatesigner_edit_object_v1_response.py index b1c0191ef..53ef297b8 100644 --- a/test/test_ezsigntemplatesigner_edit_object_v1_response.py +++ b/test/test_ezsigntemplatesigner_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerEditObjectV1Response: """Test EzsigntemplatesignerEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerEditObjectV1Response` diff --git a/test/test_ezsigntemplatesigner_get_object_v2_response.py b/test/test_ezsigntemplatesigner_get_object_v2_response.py index 62a9e8d05..6b48f2021 100644 --- a/test/test_ezsigntemplatesigner_get_object_v2_response.py +++ b/test/test_ezsigntemplatesigner_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerGetObjectV2Response: """Test EzsigntemplatesignerGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerGetObjectV2Response` diff --git a/test/test_ezsigntemplatesigner_get_object_v2_response_m_payload.py b/test/test_ezsigntemplatesigner_get_object_v2_response_m_payload.py index b8af6a716..ad36076fd 100644 --- a/test/test_ezsigntemplatesigner_get_object_v2_response_m_payload.py +++ b/test/test_ezsigntemplatesigner_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerGetObjectV2ResponseMPayload: """Test EzsigntemplatesignerGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerGetObjectV2ResponseMPayload` diff --git a/test/test_ezsigntemplatesigner_request.py b/test/test_ezsigntemplatesigner_request.py index b748410bc..5715b1b5f 100644 --- a/test/test_ezsigntemplatesigner_request.py +++ b/test/test_ezsigntemplatesigner_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerRequest: """Test EzsigntemplatesignerRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerRequest` @@ -38,6 +38,11 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerRequest: return EzsigntemplatesignerRequest( pki_ezsigntemplatesigner_id = 9, fki_ezsigntemplate_id = 36, + fki_user_id = 70, + fki_usergroup_id = 2, + fki_ezdoctemplatedocument_id = 95, + b_ezsigntemplatesigner_receivecopy = True, + e_ezsigntemplatesigner_mapping = 'Manual', s_ezsigntemplatesigner_description = 'Customer' ) else: diff --git a/test/test_ezsigntemplatesigner_request_compound.py b/test/test_ezsigntemplatesigner_request_compound.py index 098532134..eb26fc79f 100644 --- a/test/test_ezsigntemplatesigner_request_compound.py +++ b/test/test_ezsigntemplatesigner_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerRequestCompound: """Test EzsigntemplatesignerRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerRequestCompound` @@ -38,6 +38,11 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerRequestCompound return EzsigntemplatesignerRequestCompound( pki_ezsigntemplatesigner_id = 9, fki_ezsigntemplate_id = 36, + fki_user_id = 70, + fki_usergroup_id = 2, + fki_ezdoctemplatedocument_id = 95, + b_ezsigntemplatesigner_receivecopy = True, + e_ezsigntemplatesigner_mapping = 'Manual', s_ezsigntemplatesigner_description = 'Customer' ) else: diff --git a/test/test_ezsigntemplatesigner_response.py b/test/test_ezsigntemplatesigner_response.py index ea29352cf..e4add95ba 100644 --- a/test/test_ezsigntemplatesigner_response.py +++ b/test/test_ezsigntemplatesigner_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerResponse: """Test EzsigntemplatesignerResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerResponse` @@ -38,7 +38,14 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerResponse: return EzsigntemplatesignerResponse( pki_ezsigntemplatesigner_id = 9, fki_ezsigntemplate_id = 36, - s_ezsigntemplatesigner_description = 'Customer' + fki_user_id = 70, + fki_usergroup_id = 2, + fki_ezdoctemplatedocument_id = 95, + b_ezsigntemplatesigner_receivecopy = True, + e_ezsigntemplatesigner_mapping = 'Manual', + s_ezsigntemplatesigner_description = 'Customer', + s_user_name = 'Default', + s_usergroup_name_x = 'Administration' ) else: return EzsigntemplatesignerResponse( diff --git a/test/test_ezsigntemplatesigner_response_compound.py b/test/test_ezsigntemplatesigner_response_compound.py index c3e002eba..e742938b3 100644 --- a/test/test_ezsigntemplatesigner_response_compound.py +++ b/test/test_ezsigntemplatesigner_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntemplatesignerResponseCompound: """Test EzsigntemplatesignerResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntemplatesignerResponseCompound` @@ -38,7 +38,14 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerResponseCompoun return EzsigntemplatesignerResponseCompound( pki_ezsigntemplatesigner_id = 9, fki_ezsigntemplate_id = 36, - s_ezsigntemplatesigner_description = 'Customer' + fki_user_id = 70, + fki_usergroup_id = 2, + fki_ezdoctemplatedocument_id = 95, + b_ezsigntemplatesigner_receivecopy = True, + e_ezsigntemplatesigner_mapping = 'Manual', + s_ezsigntemplatesigner_description = 'Customer', + s_user_name = 'Default', + s_usergroup_name_x = 'Administration' ) else: return EzsigntemplatesignerResponseCompound( diff --git a/test/test_ezsigntsarequirement_autocomplete_element_response.py b/test/test_ezsigntsarequirement_autocomplete_element_response.py index 2d10accb5..818c4b76a 100644 --- a/test/test_ezsigntsarequirement_autocomplete_element_response.py +++ b/test/test_ezsigntsarequirement_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntsarequirementAutocompleteElementResponse: """Test EzsigntsarequirementAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntsarequirementAutocompleteElementResponse` diff --git a/test/test_ezsigntsarequirement_get_autocomplete_v2_response.py b/test/test_ezsigntsarequirement_get_autocomplete_v2_response.py index ffe25157b..42920641d 100644 --- a/test/test_ezsigntsarequirement_get_autocomplete_v2_response.py +++ b/test/test_ezsigntsarequirement_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntsarequirementGetAutocompleteV2Response: """Test EzsigntsarequirementGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntsarequirementGetAutocompleteV2Response` diff --git a/test/test_ezsigntsarequirement_get_autocomplete_v2_response_m_payload.py b/test/test_ezsigntsarequirement_get_autocomplete_v2_response_m_payload.py index 570cda876..b24772b9a 100644 --- a/test/test_ezsigntsarequirement_get_autocomplete_v2_response_m_payload.py +++ b/test/test_ezsigntsarequirement_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> EzsigntsarequirementGetAutocompleteV2ResponseMPayload: """Test EzsigntsarequirementGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `EzsigntsarequirementGetAutocompleteV2ResponseMPayload` diff --git a/test/test_ezsignuser_edit_object_v1_request.py b/test/test_ezsignuser_edit_object_v1_request.py new file mode 100644 index 000000000..8cf5e55e3 --- /dev/null +++ b/test/test_ezsignuser_edit_object_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignuser_edit_object_v1_request import EzsignuserEditObjectV1Request + +class TestEzsignuserEditObjectV1Request(unittest.TestCase): + """EzsignuserEditObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignuserEditObjectV1Request: + """Test EzsignuserEditObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignuserEditObjectV1Request` + """ + model = EzsignuserEditObjectV1Request() + if include_optional: + return EzsignuserEditObjectV1Request( + obj_ezsignuser = eZmaxApi.models.ezsignuser_request_compound.ezsignuser-RequestCompound() + ) + else: + return EzsignuserEditObjectV1Request( + obj_ezsignuser = eZmaxApi.models.ezsignuser_request_compound.ezsignuser-RequestCompound(), + ) + """ + + def testEzsignuserEditObjectV1Request(self): + """Test EzsignuserEditObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignuser_edit_object_v1_response.py b/test/test_ezsignuser_edit_object_v1_response.py new file mode 100644 index 000000000..1eed19216 --- /dev/null +++ b/test/test_ezsignuser_edit_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignuser_edit_object_v1_response import EzsignuserEditObjectV1Response + +class TestEzsignuserEditObjectV1Response(unittest.TestCase): + """EzsignuserEditObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignuserEditObjectV1Response: + """Test EzsignuserEditObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignuserEditObjectV1Response` + """ + model = EzsignuserEditObjectV1Response() + if include_optional: + return EzsignuserEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return EzsignuserEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testEzsignuserEditObjectV1Response(self): + """Test EzsignuserEditObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignuser_get_object_v2_response.py b/test/test_ezsignuser_get_object_v2_response.py new file mode 100644 index 000000000..942a5631a --- /dev/null +++ b/test/test_ezsignuser_get_object_v2_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignuser_get_object_v2_response import EzsignuserGetObjectV2Response + +class TestEzsignuserGetObjectV2Response(unittest.TestCase): + """EzsignuserGetObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignuserGetObjectV2Response: + """Test EzsignuserGetObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignuserGetObjectV2Response` + """ + model = EzsignuserGetObjectV2Response() + if include_optional: + return EzsignuserGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignuser_get_object_v2_response_m_payload.ezsignuser-getObject-v2-Response-mPayload( + obj_ezsignuser = eZmaxApi.models.ezsignuser_response_compound.ezsignuser-ResponseCompound(), ) + ) + else: + return EzsignuserGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignuser_get_object_v2_response_m_payload.ezsignuser-getObject-v2-Response-mPayload( + obj_ezsignuser = eZmaxApi.models.ezsignuser_response_compound.ezsignuser-ResponseCompound(), ), + ) + """ + + def testEzsignuserGetObjectV2Response(self): + """Test EzsignuserGetObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignuser_get_object_v2_response_m_payload.py b/test/test_ezsignuser_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..8093ee86a --- /dev/null +++ b/test/test_ezsignuser_get_object_v2_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignuser_get_object_v2_response_m_payload import EzsignuserGetObjectV2ResponseMPayload + +class TestEzsignuserGetObjectV2ResponseMPayload(unittest.TestCase): + """EzsignuserGetObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignuserGetObjectV2ResponseMPayload: + """Test EzsignuserGetObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignuserGetObjectV2ResponseMPayload` + """ + model = EzsignuserGetObjectV2ResponseMPayload() + if include_optional: + return EzsignuserGetObjectV2ResponseMPayload( + obj_ezsignuser = eZmaxApi.models.ezsignuser_response_compound.ezsignuser-ResponseCompound() + ) + else: + return EzsignuserGetObjectV2ResponseMPayload( + obj_ezsignuser = eZmaxApi.models.ezsignuser_response_compound.ezsignuser-ResponseCompound(), + ) + """ + + def testEzsignuserGetObjectV2ResponseMPayload(self): + """Test EzsignuserGetObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignuser_request.py b/test/test_ezsignuser_request.py new file mode 100644 index 000000000..f2e0704a6 --- /dev/null +++ b/test/test_ezsignuser_request.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignuser_request import EzsignuserRequest + +class TestEzsignuserRequest(unittest.TestCase): + """EzsignuserRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignuserRequest: + """Test EzsignuserRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignuserRequest` + """ + model = EzsignuserRequest() + if include_optional: + return EzsignuserRequest( + pki_ezsignuser_id = 94, + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_request_compound_v2.contact-RequestCompoundV2() + ) + else: + return EzsignuserRequest( + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_request_compound_v2.contact-RequestCompoundV2(), + ) + """ + + def testEzsignuserRequest(self): + """Test EzsignuserRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignuser_request_compound.py b/test/test_ezsignuser_request_compound.py new file mode 100644 index 000000000..b00713cde --- /dev/null +++ b/test/test_ezsignuser_request_compound.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignuser_request_compound import EzsignuserRequestCompound + +class TestEzsignuserRequestCompound(unittest.TestCase): + """EzsignuserRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignuserRequestCompound: + """Test EzsignuserRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignuserRequestCompound` + """ + model = EzsignuserRequestCompound() + if include_optional: + return EzsignuserRequestCompound( + pki_ezsignuser_id = 94, + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_request_compound_v2.contact-RequestCompoundV2() + ) + else: + return EzsignuserRequestCompound( + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_request_compound_v2.contact-RequestCompoundV2(), + ) + """ + + def testEzsignuserRequestCompound(self): + """Test EzsignuserRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignuser_response.py b/test/test_ezsignuser_response.py new file mode 100644 index 000000000..2c0ad8b3d --- /dev/null +++ b/test/test_ezsignuser_response.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignuser_response import EzsignuserResponse + +class TestEzsignuserResponse(unittest.TestCase): + """EzsignuserResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignuserResponse: + """Test EzsignuserResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignuserResponse` + """ + model = EzsignuserResponse() + if include_optional: + return EzsignuserResponse( + pki_ezsignuser_id = 94, + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_response_compound.contact-ResponseCompound(), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) + ) + else: + return EzsignuserResponse( + pki_ezsignuser_id = 94, + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_response_compound.contact-ResponseCompound(), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + ) + """ + + def testEzsignuserResponse(self): + """Test EzsignuserResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ezsignuser_response_compound.py b/test/test_ezsignuser_response_compound.py new file mode 100644 index 000000000..5db0e5097 --- /dev/null +++ b/test/test_ezsignuser_response_compound.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.ezsignuser_response_compound import EzsignuserResponseCompound + +class TestEzsignuserResponseCompound(unittest.TestCase): + """EzsignuserResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignuserResponseCompound: + """Test EzsignuserResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EzsignuserResponseCompound` + """ + model = EzsignuserResponseCompound() + if include_optional: + return EzsignuserResponseCompound( + pki_ezsignuser_id = 94, + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_response_compound.contact-ResponseCompound(), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) + ) + else: + return EzsignuserResponseCompound( + pki_ezsignuser_id = 94, + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_response_compound.contact-ResponseCompound(), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + ) + """ + + def testEzsignuserResponseCompound(self): + """Test EzsignuserResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_activesession_ezsign.py b/test/test_field_e_activesession_ezsign.py new file mode 100644 index 000000000..6f99b530b --- /dev/null +++ b/test/test_field_e_activesession_ezsign.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_activesession_ezsign import FieldEActivesessionEzsign + +class TestFieldEActivesessionEzsign(unittest.TestCase): + """FieldEActivesessionEzsign unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEActivesessionEzsign(self): + """Test FieldEActivesessionEzsign""" + # inst = FieldEActivesessionEzsign() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_activesession_ezsignaccess.py b/test/test_field_e_activesession_ezsignaccess.py new file mode 100644 index 000000000..5e783ef08 --- /dev/null +++ b/test/test_field_e_activesession_ezsignaccess.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_activesession_ezsignaccess import FieldEActivesessionEzsignaccess + +class TestFieldEActivesessionEzsignaccess(unittest.TestCase): + """FieldEActivesessionEzsignaccess unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEActivesessionEzsignaccess(self): + """Test FieldEActivesessionEzsignaccess""" + # inst = FieldEActivesessionEzsignaccess() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_activesession_ezsignprepaid.py b/test/test_field_e_activesession_ezsignprepaid.py new file mode 100644 index 000000000..c7c0f2296 --- /dev/null +++ b/test/test_field_e_activesession_ezsignprepaid.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_activesession_ezsignprepaid import FieldEActivesessionEzsignprepaid + +class TestFieldEActivesessionEzsignprepaid(unittest.TestCase): + """FieldEActivesessionEzsignprepaid unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEActivesessionEzsignprepaid(self): + """Test FieldEActivesessionEzsignprepaid""" + # inst = FieldEActivesessionEzsignprepaid() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_activesession_realestateinprogress.py b/test/test_field_e_activesession_realestateinprogress.py new file mode 100644 index 000000000..837c0598f --- /dev/null +++ b/test/test_field_e_activesession_realestateinprogress.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_activesession_realestateinprogress import FieldEActivesessionRealestateinprogress + +class TestFieldEActivesessionRealestateinprogress(unittest.TestCase): + """FieldEActivesessionRealestateinprogress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEActivesessionRealestateinprogress(self): + """Test FieldEActivesessionRealestateinprogress""" + # inst = FieldEActivesessionRealestateinprogress() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_authenticationexternal_type.py b/test/test_field_e_authenticationexternal_type.py new file mode 100644 index 000000000..bfbccb978 --- /dev/null +++ b/test/test_field_e_authenticationexternal_type.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType + +class TestFieldEAuthenticationexternalType(unittest.TestCase): + """FieldEAuthenticationexternalType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEAuthenticationexternalType(self): + """Test FieldEAuthenticationexternalType""" + # inst = FieldEAuthenticationexternalType() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_branding_alignlogo.py b/test/test_field_e_branding_alignlogo.py new file mode 100644 index 000000000..eea3725b8 --- /dev/null +++ b/test/test_field_e_branding_alignlogo.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_branding_alignlogo import FieldEBrandingAlignlogo + +class TestFieldEBrandingAlignlogo(unittest.TestCase): + """FieldEBrandingAlignlogo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEBrandingAlignlogo(self): + """Test FieldEBrandingAlignlogo""" + # inst = FieldEBrandingAlignlogo() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_branding_logointerface.py b/test/test_field_e_branding_logointerface.py deleted file mode 100644 index 80073c7a9..000000000 --- a/test/test_field_e_branding_logointerface.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.models.field_e_branding_logointerface import FieldEBrandingLogointerface - -class TestFieldEBrandingLogointerface(unittest.TestCase): - """FieldEBrandingLogointerface unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFieldEBrandingLogointerface(self): - """Test FieldEBrandingLogointerface""" - # inst = FieldEBrandingLogointerface() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_field_e_colleague_ezsign.py b/test/test_field_e_colleague_ezsign.py new file mode 100644 index 000000000..fc43c01df --- /dev/null +++ b/test/test_field_e_colleague_ezsign.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_colleague_ezsign import FieldEColleagueEzsign + +class TestFieldEColleagueEzsign(unittest.TestCase): + """FieldEColleagueEzsign unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEColleagueEzsign(self): + """Test FieldEColleagueEzsign""" + # inst = FieldEColleagueEzsign() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_colleague_realestateinprogess.py b/test/test_field_e_colleague_realestateinprogess.py new file mode 100644 index 000000000..687b09ced --- /dev/null +++ b/test/test_field_e_colleague_realestateinprogess.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_colleague_realestateinprogess import FieldEColleagueRealestateinprogess + +class TestFieldEColleagueRealestateinprogess(unittest.TestCase): + """FieldEColleagueRealestateinprogess unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEColleagueRealestateinprogess(self): + """Test FieldEColleagueRealestateinprogess""" + # inst = FieldEColleagueRealestateinprogess() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_contact_type.py b/test/test_field_e_contact_type.py new file mode 100644 index 000000000..baaa97523 --- /dev/null +++ b/test/test_field_e_contact_type.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_contact_type import FieldEContactType + +class TestFieldEContactType(unittest.TestCase): + """FieldEContactType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEContactType(self): + """Test FieldEContactType""" + # inst = FieldEContactType() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_contactinformations_type.py b/test/test_field_e_contactinformations_type.py new file mode 100644 index 000000000..7d62933dd --- /dev/null +++ b/test/test_field_e_contactinformations_type.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType + +class TestFieldEContactinformationsType(unittest.TestCase): + """FieldEContactinformationsType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEContactinformationsType(self): + """Test FieldEContactinformationsType""" + # inst = FieldEContactinformationsType() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_creditcardtransaction_avsresult.py b/test/test_field_e_creditcardtransaction_avsresult.py new file mode 100644 index 000000000..ed37ef32d --- /dev/null +++ b/test/test_field_e_creditcardtransaction_avsresult.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_creditcardtransaction_avsresult import FieldECreditcardtransactionAvsresult + +class TestFieldECreditcardtransactionAvsresult(unittest.TestCase): + """FieldECreditcardtransactionAvsresult unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldECreditcardtransactionAvsresult(self): + """Test FieldECreditcardtransactionAvsresult""" + # inst = FieldECreditcardtransactionAvsresult() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_creditcardtransaction_cvdresult.py b/test/test_field_e_creditcardtransaction_cvdresult.py new file mode 100644 index 000000000..e01568345 --- /dev/null +++ b/test/test_field_e_creditcardtransaction_cvdresult.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_creditcardtransaction_cvdresult import FieldECreditcardtransactionCvdresult + +class TestFieldECreditcardtransactionCvdresult(unittest.TestCase): + """FieldECreditcardtransactionCvdresult unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldECreditcardtransactionCvdresult(self): + """Test FieldECreditcardtransactionCvdresult""" + # inst = FieldECreditcardtransactionCvdresult() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_customer_marketingcorrespondence.py b/test/test_field_e_customer_marketingcorrespondence.py new file mode 100644 index 000000000..8f0fac418 --- /dev/null +++ b/test/test_field_e_customer_marketingcorrespondence.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence + +class TestFieldECustomerMarketingcorrespondence(unittest.TestCase): + """FieldECustomerMarketingcorrespondence unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldECustomerMarketingcorrespondence(self): + """Test FieldECustomerMarketingcorrespondence""" + # inst = FieldECustomerMarketingcorrespondence() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_customer_type.py b/test/test_field_e_customer_type.py new file mode 100644 index 000000000..9a0271e32 --- /dev/null +++ b/test/test_field_e_customer_type.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_customer_type import FieldECustomerType + +class TestFieldECustomerType(unittest.TestCase): + """FieldECustomerType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldECustomerType(self): + """Test FieldECustomerType""" + # inst = FieldECustomerType() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezdoctemplatedocument_privacylevel.py b/test/test_field_e_ezdoctemplatedocument_privacylevel.py new file mode 100644 index 000000000..e9b203565 --- /dev/null +++ b/test/test_field_e_ezdoctemplatedocument_privacylevel.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel + +class TestFieldEEzdoctemplatedocumentPrivacylevel(unittest.TestCase): + """FieldEEzdoctemplatedocumentPrivacylevel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzdoctemplatedocumentPrivacylevel(self): + """Test FieldEEzdoctemplatedocumentPrivacylevel""" + # inst = FieldEEzdoctemplatedocumentPrivacylevel() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsignfolder_documentdependency.py b/test/test_field_e_ezsignfolder_documentdependency.py new file mode 100644 index 000000000..5cad2abab --- /dev/null +++ b/test/test_field_e_ezsignfolder_documentdependency.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency + +class TestFieldEEzsignfolderDocumentdependency(unittest.TestCase): + """FieldEEzsignfolderDocumentdependency unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsignfolderDocumentdependency(self): + """Test FieldEEzsignfolderDocumentdependency""" + # inst = FieldEEzsignfolderDocumentdependency() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsignfolder_messageorder.py b/test/test_field_e_ezsignfolder_messageorder.py new file mode 100644 index 000000000..b6a00a8fb --- /dev/null +++ b/test/test_field_e_ezsignfolder_messageorder.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsignfolder_messageorder import FieldEEzsignfolderMessageorder + +class TestFieldEEzsignfolderMessageorder(unittest.TestCase): + """FieldEEzsignfolderMessageorder unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsignfolderMessageorder(self): + """Test FieldEEzsignfolderMessageorder""" + # inst = FieldEEzsignfolderMessageorder() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsignfoldertype_documentdependency.py b/test/test_field_e_ezsignfoldertype_documentdependency.py new file mode 100644 index 000000000..0914f1439 --- /dev/null +++ b/test/test_field_e_ezsignfoldertype_documentdependency.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsignfoldertype_documentdependency import FieldEEzsignfoldertypeDocumentdependency + +class TestFieldEEzsignfoldertypeDocumentdependency(unittest.TestCase): + """FieldEEzsignfoldertypeDocumentdependency unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsignfoldertypeDocumentdependency(self): + """Test FieldEEzsignfoldertypeDocumentdependency""" + # inst = FieldEEzsignfoldertypeDocumentdependency() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsignfoldertype_pdfanoncompliantaction.py b/test/test_field_e_ezsignfoldertype_pdfanoncompliantaction.py new file mode 100644 index 000000000..356961756 --- /dev/null +++ b/test/test_field_e_ezsignfoldertype_pdfanoncompliantaction.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsignfoldertype_pdfanoncompliantaction import FieldEEzsignfoldertypePdfanoncompliantaction + +class TestFieldEEzsignfoldertypePdfanoncompliantaction(unittest.TestCase): + """FieldEEzsignfoldertypePdfanoncompliantaction unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsignfoldertypePdfanoncompliantaction(self): + """Test FieldEEzsignfoldertypePdfanoncompliantaction""" + # inst = FieldEEzsignfoldertypePdfanoncompliantaction() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsignfoldertype_pdfarequirement.py b/test/test_field_e_ezsignfoldertype_pdfarequirement.py new file mode 100644 index 000000000..c3bc2581e --- /dev/null +++ b/test/test_field_e_ezsignfoldertype_pdfarequirement.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsignfoldertype_pdfarequirement import FieldEEzsignfoldertypePdfarequirement + +class TestFieldEEzsignfoldertypePdfarequirement(unittest.TestCase): + """FieldEEzsignfoldertypePdfarequirement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsignfoldertypePdfarequirement(self): + """Test FieldEEzsignfoldertypePdfarequirement""" + # inst = FieldEEzsignfoldertypePdfarequirement() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsignfoldertype_signeraccess.py b/test/test_field_e_ezsignfoldertype_signeraccess.py new file mode 100644 index 000000000..db765a8ba --- /dev/null +++ b/test/test_field_e_ezsignfoldertype_signeraccess.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsignfoldertype_signeraccess import FieldEEzsignfoldertypeSigneraccess + +class TestFieldEEzsignfoldertypeSigneraccess(unittest.TestCase): + """FieldEEzsignfoldertypeSigneraccess unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsignfoldertypeSigneraccess(self): + """Test FieldEEzsignfoldertypeSigneraccess""" + # inst = FieldEEzsignfoldertypeSigneraccess() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsignsignature_consultationtrigger.py b/test/test_field_e_ezsignsignature_consultationtrigger.py new file mode 100644 index 000000000..54b11f1b4 --- /dev/null +++ b/test/test_field_e_ezsignsignature_consultationtrigger.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger + +class TestFieldEEzsignsignatureConsultationtrigger(unittest.TestCase): + """FieldEEzsignsignatureConsultationtrigger unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsignsignatureConsultationtrigger(self): + """Test FieldEEzsignsignatureConsultationtrigger""" + # inst = FieldEEzsignsignatureConsultationtrigger() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsigntemplate_recognition.py b/test/test_field_e_ezsigntemplate_recognition.py new file mode 100644 index 000000000..2325d84aa --- /dev/null +++ b/test/test_field_e_ezsigntemplate_recognition.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsigntemplate_recognition import FieldEEzsigntemplateRecognition + +class TestFieldEEzsigntemplateRecognition(unittest.TestCase): + """FieldEEzsigntemplateRecognition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsigntemplateRecognition(self): + """Test FieldEEzsigntemplateRecognition""" + # inst = FieldEEzsigntemplateRecognition() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsigntemplatedocumentpagerecognition_operator.py b/test/test_field_e_ezsigntemplatedocumentpagerecognition_operator.py new file mode 100644 index 000000000..675bdab25 --- /dev/null +++ b/test/test_field_e_ezsigntemplatedocumentpagerecognition_operator.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator + +class TestFieldEEzsigntemplatedocumentpagerecognitionOperator(unittest.TestCase): + """FieldEEzsigntemplatedocumentpagerecognitionOperator unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsigntemplatedocumentpagerecognitionOperator(self): + """Test FieldEEzsigntemplatedocumentpagerecognitionOperator""" + # inst = FieldEEzsigntemplatedocumentpagerecognitionOperator() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsigntemplatedocumentpagerecognition_section.py b/test/test_field_e_ezsigntemplatedocumentpagerecognition_section.py new file mode 100644 index 000000000..c3e68c3de --- /dev/null +++ b/test/test_field_e_ezsigntemplatedocumentpagerecognition_section.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection + +class TestFieldEEzsigntemplatedocumentpagerecognitionSection(unittest.TestCase): + """FieldEEzsigntemplatedocumentpagerecognitionSection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsigntemplatedocumentpagerecognitionSection(self): + """Test FieldEEzsigntemplatedocumentpagerecognitionSection""" + # inst = FieldEEzsigntemplatedocumentpagerecognitionSection() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsigntemplatepackagesigner_mapping.py b/test/test_field_e_ezsigntemplatepackagesigner_mapping.py new file mode 100644 index 000000000..e8cb05882 --- /dev/null +++ b/test/test_field_e_ezsigntemplatepackagesigner_mapping.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping + +class TestFieldEEzsigntemplatepackagesignerMapping(unittest.TestCase): + """FieldEEzsigntemplatepackagesignerMapping unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsigntemplatepackagesignerMapping(self): + """Test FieldEEzsigntemplatepackagesignerMapping""" + # inst = FieldEEzsigntemplatepackagesignerMapping() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsigntemplatepublic_limittype.py b/test/test_field_e_ezsigntemplatepublic_limittype.py new file mode 100644 index 000000000..bc1c51ff4 --- /dev/null +++ b/test/test_field_e_ezsigntemplatepublic_limittype.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype + +class TestFieldEEzsigntemplatepublicLimittype(unittest.TestCase): + """FieldEEzsigntemplatepublicLimittype unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsigntemplatepublicLimittype(self): + """Test FieldEEzsigntemplatepublicLimittype""" + # inst = FieldEEzsigntemplatepublicLimittype() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsigntemplatesignature_consultationtrigger.py b/test/test_field_e_ezsigntemplatesignature_consultationtrigger.py new file mode 100644 index 000000000..6c0867a5e --- /dev/null +++ b/test/test_field_e_ezsigntemplatesignature_consultationtrigger.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger + +class TestFieldEEzsigntemplatesignatureConsultationtrigger(unittest.TestCase): + """FieldEEzsigntemplatesignatureConsultationtrigger unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsigntemplatesignatureConsultationtrigger(self): + """Test FieldEEzsigntemplatesignatureConsultationtrigger""" + # inst = FieldEEzsigntemplatesignatureConsultationtrigger() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_ezsigntemplatesigner_mapping.py b/test/test_field_e_ezsigntemplatesigner_mapping.py new file mode 100644 index 000000000..9f880fd72 --- /dev/null +++ b/test/test_field_e_ezsigntemplatesigner_mapping.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping + +class TestFieldEEzsigntemplatesignerMapping(unittest.TestCase): + """FieldEEzsigntemplatesignerMapping unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldEEzsigntemplatesignerMapping(self): + """Test FieldEEzsigntemplatesignerMapping""" + # inst = FieldEEzsigntemplatesignerMapping() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_field_e_signature_preference.py b/test/test_field_e_signature_preference.py new file mode 100644 index 000000000..524957163 --- /dev/null +++ b/test/test_field_e_signature_preference.py @@ -0,0 +1,34 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.field_e_signature_preference import FieldESignaturePreference + +class TestFieldESignaturePreference(unittest.TestCase): + """FieldESignaturePreference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFieldESignaturePreference(self): + """Test FieldESignaturePreference""" + # inst = FieldESignaturePreference() + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_font_autocomplete_element_response.py b/test/test_font_autocomplete_element_response.py index c29ec017e..766a291e2 100644 --- a/test/test_font_autocomplete_element_response.py +++ b/test/test_font_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FontAutocompleteElementResponse: """Test FontAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FontAutocompleteElementResponse` diff --git a/test/test_font_get_autocomplete_v2_response.py b/test/test_font_get_autocomplete_v2_response.py index 206392352..9e7d99e38 100644 --- a/test/test_font_get_autocomplete_v2_response.py +++ b/test/test_font_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FontGetAutocompleteV2Response: """Test FontGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FontGetAutocompleteV2Response` diff --git a/test/test_font_get_autocomplete_v2_response_m_payload.py b/test/test_font_get_autocomplete_v2_response_m_payload.py index b379f1413..67328ec44 100644 --- a/test/test_font_get_autocomplete_v2_response_m_payload.py +++ b/test/test_font_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FontGetAutocompleteV2ResponseMPayload: """Test FontGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FontGetAutocompleteV2ResponseMPayload` diff --git a/test/test_franchisebroker_autocomplete_element_response.py b/test/test_franchisebroker_autocomplete_element_response.py index d3e5baafe..5acebf4da 100644 --- a/test/test_franchisebroker_autocomplete_element_response.py +++ b/test/test_franchisebroker_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchisebrokerAutocompleteElementResponse: """Test FranchisebrokerAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchisebrokerAutocompleteElementResponse` diff --git a/test/test_franchisebroker_get_autocomplete_v2_response.py b/test/test_franchisebroker_get_autocomplete_v2_response.py index a6795f945..4b8a08246 100644 --- a/test/test_franchisebroker_get_autocomplete_v2_response.py +++ b/test/test_franchisebroker_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchisebrokerGetAutocompleteV2Response: """Test FranchisebrokerGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchisebrokerGetAutocompleteV2Response` diff --git a/test/test_franchisebroker_get_autocomplete_v2_response_m_payload.py b/test/test_franchisebroker_get_autocomplete_v2_response_m_payload.py index 32417bfdd..2e25a8702 100644 --- a/test/test_franchisebroker_get_autocomplete_v2_response_m_payload.py +++ b/test/test_franchisebroker_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchisebrokerGetAutocompleteV2ResponseMPayload: """Test FranchisebrokerGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchisebrokerGetAutocompleteV2ResponseMPayload` diff --git a/test/test_franchiseoffice_autocomplete_element_response.py b/test/test_franchiseoffice_autocomplete_element_response.py index cb7be4c46..054fe18ea 100644 --- a/test/test_franchiseoffice_autocomplete_element_response.py +++ b/test/test_franchiseoffice_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchiseofficeAutocompleteElementResponse: """Test FranchiseofficeAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchiseofficeAutocompleteElementResponse` diff --git a/test/test_franchiseoffice_get_autocomplete_v2_response.py b/test/test_franchiseoffice_get_autocomplete_v2_response.py index a14af3ced..1871e48bd 100644 --- a/test/test_franchiseoffice_get_autocomplete_v2_response.py +++ b/test/test_franchiseoffice_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchiseofficeGetAutocompleteV2Response: """Test FranchiseofficeGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchiseofficeGetAutocompleteV2Response` diff --git a/test/test_franchiseoffice_get_autocomplete_v2_response_m_payload.py b/test/test_franchiseoffice_get_autocomplete_v2_response_m_payload.py index 06fefc315..bbbb12112 100644 --- a/test/test_franchiseoffice_get_autocomplete_v2_response_m_payload.py +++ b/test/test_franchiseoffice_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchiseofficeGetAutocompleteV2ResponseMPayload: """Test FranchiseofficeGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchiseofficeGetAutocompleteV2ResponseMPayload` diff --git a/test/test_franchisereferalincome_create_object_v2_request.py b/test/test_franchisereferalincome_create_object_v2_request.py index 59f84cfeb..8690182b7 100644 --- a/test/test_franchisereferalincome_create_object_v2_request.py +++ b/test/test_franchisereferalincome_create_object_v2_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchisereferalincomeCreateObjectV2Request: """Test FranchisereferalincomeCreateObjectV2Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchisereferalincomeCreateObjectV2Request` diff --git a/test/test_franchisereferalincome_create_object_v2_response.py b/test/test_franchisereferalincome_create_object_v2_response.py index 70b5c0420..55ad4f937 100644 --- a/test/test_franchisereferalincome_create_object_v2_response.py +++ b/test/test_franchisereferalincome_create_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchisereferalincomeCreateObjectV2Response: """Test FranchisereferalincomeCreateObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchisereferalincomeCreateObjectV2Response` diff --git a/test/test_franchisereferalincome_create_object_v2_response_m_payload.py b/test/test_franchisereferalincome_create_object_v2_response_m_payload.py index 3de066db7..2c1e351b7 100644 --- a/test/test_franchisereferalincome_create_object_v2_response_m_payload.py +++ b/test/test_franchisereferalincome_create_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchisereferalincomeCreateObjectV2ResponseMPayload: """Test FranchisereferalincomeCreateObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchisereferalincomeCreateObjectV2ResponseMPayload` diff --git a/test/test_franchisereferalincome_request.py b/test/test_franchisereferalincome_request.py index afcacac20..af8e6523c 100644 --- a/test/test_franchisereferalincome_request.py +++ b/test/test_franchisereferalincome_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchisereferalincomeRequest: """Test FranchisereferalincomeRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchisereferalincomeRequest` diff --git a/test/test_franchisereferalincome_request_compound.py b/test/test_franchisereferalincome_request_compound.py index 4d88fca39..1e323dedf 100644 --- a/test/test_franchisereferalincome_request_compound.py +++ b/test/test_franchisereferalincome_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> FranchisereferalincomeRequestCompound: """Test FranchisereferalincomeRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `FranchisereferalincomeRequestCompound` @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> FranchisereferalincomeRequestCompou fki_franchiseoffice_id = 50, s_franchisereferalincome_remoteid = '', obj_address = eZmaxApi.models.address_request.address-Request( + pki_address_id = 142, fki_addresstype_id = 1, s_address_civic = '2540', s_address_street = 'Daniel-Johnson Blvd.', diff --git a/test/test_glaccount_autocomplete_element_response.py b/test/test_glaccount_autocomplete_element_response.py new file mode 100644 index 000000000..13c5c7cd2 --- /dev/null +++ b/test/test_glaccount_autocomplete_element_response.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.glaccount_autocomplete_element_response import GlaccountAutocompleteElementResponse + +class TestGlaccountAutocompleteElementResponse(unittest.TestCase): + """GlaccountAutocompleteElementResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GlaccountAutocompleteElementResponse: + """Test GlaccountAutocompleteElementResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `GlaccountAutocompleteElementResponse` + """ + model = GlaccountAutocompleteElementResponse() + if include_optional: + return GlaccountAutocompleteElementResponse( + pki_glaccount_id = 35, + i_glaccount_code = 2000, + s_glaccount_description_x = 'Supplies income', + b_glaccount_isactive = True + ) + else: + return GlaccountAutocompleteElementResponse( + pki_glaccount_id = 35, + i_glaccount_code = 2000, + s_glaccount_description_x = 'Supplies income', + b_glaccount_isactive = True, + ) + """ + + def testGlaccountAutocompleteElementResponse(self): + """Test GlaccountAutocompleteElementResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_glaccount_get_autocomplete_v2_response.py b/test/test_glaccount_get_autocomplete_v2_response.py new file mode 100644 index 000000000..d71a3f08a --- /dev/null +++ b/test/test_glaccount_get_autocomplete_v2_response.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.glaccount_get_autocomplete_v2_response import GlaccountGetAutocompleteV2Response + +class TestGlaccountGetAutocompleteV2Response(unittest.TestCase): + """GlaccountGetAutocompleteV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GlaccountGetAutocompleteV2Response: + """Test GlaccountGetAutocompleteV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `GlaccountGetAutocompleteV2Response` + """ + model = GlaccountGetAutocompleteV2Response() + if include_optional: + return GlaccountGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.glaccount_get_autocomplete_v2_response_m_payload.glaccount-getAutocomplete-v2-Response-mPayload( + a_obj_glaccount = [ + eZmaxApi.models.glaccount_autocomplete_element_response.glaccount-AutocompleteElement-Response( + pki_glaccount_id = 35, + i_glaccount_code = 2000, + s_glaccount_description_x = 'Supplies income', + b_glaccount_isactive = True, ) + ], ) + ) + else: + return GlaccountGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.glaccount_get_autocomplete_v2_response_m_payload.glaccount-getAutocomplete-v2-Response-mPayload( + a_obj_glaccount = [ + eZmaxApi.models.glaccount_autocomplete_element_response.glaccount-AutocompleteElement-Response( + pki_glaccount_id = 35, + i_glaccount_code = 2000, + s_glaccount_description_x = 'Supplies income', + b_glaccount_isactive = True, ) + ], ), + ) + """ + + def testGlaccountGetAutocompleteV2Response(self): + """Test GlaccountGetAutocompleteV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_glaccount_get_autocomplete_v2_response_m_payload.py b/test/test_glaccount_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..7a5fa8efd --- /dev/null +++ b/test/test_glaccount_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.glaccount_get_autocomplete_v2_response_m_payload import GlaccountGetAutocompleteV2ResponseMPayload + +class TestGlaccountGetAutocompleteV2ResponseMPayload(unittest.TestCase): + """GlaccountGetAutocompleteV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GlaccountGetAutocompleteV2ResponseMPayload: + """Test GlaccountGetAutocompleteV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `GlaccountGetAutocompleteV2ResponseMPayload` + """ + model = GlaccountGetAutocompleteV2ResponseMPayload() + if include_optional: + return GlaccountGetAutocompleteV2ResponseMPayload( + a_obj_glaccount = [ + eZmaxApi.models.glaccount_autocomplete_element_response.glaccount-AutocompleteElement-Response( + pki_glaccount_id = 35, + i_glaccount_code = 2000, + s_glaccount_description_x = 'Supplies income', + b_glaccount_isactive = True, ) + ] + ) + else: + return GlaccountGetAutocompleteV2ResponseMPayload( + a_obj_glaccount = [ + eZmaxApi.models.glaccount_autocomplete_element_response.glaccount-AutocompleteElement-Response( + pki_glaccount_id = 35, + i_glaccount_code = 2000, + s_glaccount_description_x = 'Supplies income', + b_glaccount_isactive = True, ) + ], + ) + """ + + def testGlaccountGetAutocompleteV2ResponseMPayload(self): + """Test GlaccountGetAutocompleteV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_glaccountcontainer_autocomplete_element_response.py b/test/test_glaccountcontainer_autocomplete_element_response.py new file mode 100644 index 000000000..754d0949a --- /dev/null +++ b/test/test_glaccountcontainer_autocomplete_element_response.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.glaccountcontainer_autocomplete_element_response import GlaccountcontainerAutocompleteElementResponse + +class TestGlaccountcontainerAutocompleteElementResponse(unittest.TestCase): + """GlaccountcontainerAutocompleteElementResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GlaccountcontainerAutocompleteElementResponse: + """Test GlaccountcontainerAutocompleteElementResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `GlaccountcontainerAutocompleteElementResponse` + """ + model = GlaccountcontainerAutocompleteElementResponse() + if include_optional: + return GlaccountcontainerAutocompleteElementResponse( + pki_glaccountcontainer_id = 66, + s_glaccountcontainer_longcode = '5170.BARE1', + s_glaccountcontainer_longdescription_x = 'Quebec', + b_glaccountcontainer_isactive = True + ) + else: + return GlaccountcontainerAutocompleteElementResponse( + pki_glaccountcontainer_id = 66, + s_glaccountcontainer_longcode = '5170.BARE1', + s_glaccountcontainer_longdescription_x = 'Quebec', + b_glaccountcontainer_isactive = True, + ) + """ + + def testGlaccountcontainerAutocompleteElementResponse(self): + """Test GlaccountcontainerAutocompleteElementResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_glaccountcontainer_get_autocomplete_v2_response.py b/test/test_glaccountcontainer_get_autocomplete_v2_response.py new file mode 100644 index 000000000..b5a10cc81 --- /dev/null +++ b/test/test_glaccountcontainer_get_autocomplete_v2_response.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response import GlaccountcontainerGetAutocompleteV2Response + +class TestGlaccountcontainerGetAutocompleteV2Response(unittest.TestCase): + """GlaccountcontainerGetAutocompleteV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GlaccountcontainerGetAutocompleteV2Response: + """Test GlaccountcontainerGetAutocompleteV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `GlaccountcontainerGetAutocompleteV2Response` + """ + model = GlaccountcontainerGetAutocompleteV2Response() + if include_optional: + return GlaccountcontainerGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response_m_payload.glaccountcontainer-getAutocomplete-v2-Response-mPayload( + a_obj_glaccountcontainer = [ + eZmaxApi.models.glaccountcontainer_autocomplete_element_response.glaccountcontainer-AutocompleteElement-Response( + pki_glaccountcontainer_id = 66, + s_glaccountcontainer_longcode = '5170.BARE1', + s_glaccountcontainer_longdescription_x = 'Quebec', + b_glaccountcontainer_isactive = True, ) + ], ) + ) + else: + return GlaccountcontainerGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response_m_payload.glaccountcontainer-getAutocomplete-v2-Response-mPayload( + a_obj_glaccountcontainer = [ + eZmaxApi.models.glaccountcontainer_autocomplete_element_response.glaccountcontainer-AutocompleteElement-Response( + pki_glaccountcontainer_id = 66, + s_glaccountcontainer_longcode = '5170.BARE1', + s_glaccountcontainer_longdescription_x = 'Quebec', + b_glaccountcontainer_isactive = True, ) + ], ), + ) + """ + + def testGlaccountcontainerGetAutocompleteV2Response(self): + """Test GlaccountcontainerGetAutocompleteV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_glaccountcontainer_get_autocomplete_v2_response_m_payload.py b/test/test_glaccountcontainer_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..6402ef087 --- /dev/null +++ b/test/test_glaccountcontainer_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response_m_payload import GlaccountcontainerGetAutocompleteV2ResponseMPayload + +class TestGlaccountcontainerGetAutocompleteV2ResponseMPayload(unittest.TestCase): + """GlaccountcontainerGetAutocompleteV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GlaccountcontainerGetAutocompleteV2ResponseMPayload: + """Test GlaccountcontainerGetAutocompleteV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `GlaccountcontainerGetAutocompleteV2ResponseMPayload` + """ + model = GlaccountcontainerGetAutocompleteV2ResponseMPayload() + if include_optional: + return GlaccountcontainerGetAutocompleteV2ResponseMPayload( + a_obj_glaccountcontainer = [ + eZmaxApi.models.glaccountcontainer_autocomplete_element_response.glaccountcontainer-AutocompleteElement-Response( + pki_glaccountcontainer_id = 66, + s_glaccountcontainer_longcode = '5170.BARE1', + s_glaccountcontainer_longdescription_x = 'Quebec', + b_glaccountcontainer_isactive = True, ) + ] + ) + else: + return GlaccountcontainerGetAutocompleteV2ResponseMPayload( + a_obj_glaccountcontainer = [ + eZmaxApi.models.glaccountcontainer_autocomplete_element_response.glaccountcontainer-AutocompleteElement-Response( + pki_glaccountcontainer_id = 66, + s_glaccountcontainer_longcode = '5170.BARE1', + s_glaccountcontainer_longdescription_x = 'Quebec', + b_glaccountcontainer_isactive = True, ) + ], + ) + """ + + def testGlaccountcontainerGetAutocompleteV2ResponseMPayload(self): + """Test GlaccountcontainerGetAutocompleteV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_global_customer_get_endpoint_v1_response.py b/test/test_global_customer_get_endpoint_v1_response.py index 47d54b151..9690a6db5 100644 --- a/test/test_global_customer_get_endpoint_v1_response.py +++ b/test/test_global_customer_get_endpoint_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> GlobalCustomerGetEndpointV1Response: """Test GlobalCustomerGetEndpointV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `GlobalCustomerGetEndpointV1Response` diff --git a/test/test_global_ezmaxclient_version_v1_response.py b/test/test_global_ezmaxclient_version_v1_response.py index a5b2fa4bd..7082b318f 100644 --- a/test/test_global_ezmaxclient_version_v1_response.py +++ b/test/test_global_ezmaxclient_version_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> GlobalEzmaxclientVersionV1Response: """Test GlobalEzmaxclientVersionV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `GlobalEzmaxclientVersionV1Response` diff --git a/test/test_global_ezmaxcustomer_get_configuration_v1_response.py b/test/test_global_ezmaxcustomer_get_configuration_v1_response.py index e3df47d7e..5c5d2b985 100644 --- a/test/test_global_ezmaxcustomer_get_configuration_v1_response.py +++ b/test/test_global_ezmaxcustomer_get_configuration_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> GlobalEzmaxcustomerGetConfigurationV1Response: """Test GlobalEzmaxcustomerGetConfigurationV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `GlobalEzmaxcustomerGetConfigurationV1Response` diff --git a/test/test_inscription_get_attachments_v1_response.py b/test/test_inscription_get_attachments_v1_response.py index 16cdd205d..0bb2fb74e 100644 --- a/test/test_inscription_get_attachments_v1_response.py +++ b/test/test_inscription_get_attachments_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InscriptionGetAttachmentsV1Response: """Test InscriptionGetAttachmentsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InscriptionGetAttachmentsV1Response` diff --git a/test/test_inscription_get_attachments_v1_response_m_payload.py b/test/test_inscription_get_attachments_v1_response_m_payload.py index 119455cb4..2f7b2a425 100644 --- a/test/test_inscription_get_attachments_v1_response_m_payload.py +++ b/test/test_inscription_get_attachments_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InscriptionGetAttachmentsV1ResponseMPayload: """Test InscriptionGetAttachmentsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InscriptionGetAttachmentsV1ResponseMPayload` diff --git a/test/test_inscription_get_communication_count_v1_response.py b/test/test_inscription_get_communication_count_v1_response.py new file mode 100644 index 000000000..95342b01a --- /dev/null +++ b/test/test_inscription_get_communication_count_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscription_get_communication_count_v1_response import InscriptionGetCommunicationCountV1Response + +class TestInscriptionGetCommunicationCountV1Response(unittest.TestCase): + """InscriptionGetCommunicationCountV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionGetCommunicationCountV1Response: + """Test InscriptionGetCommunicationCountV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptionGetCommunicationCountV1Response` + """ + model = InscriptionGetCommunicationCountV1Response() + if include_optional: + return InscriptionGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.inscription_get_communication_count_v1_response_m_payload.inscription-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ) + ) + else: + return InscriptionGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.inscription_get_communication_count_v1_response_m_payload.inscription-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ), + ) + """ + + def testInscriptionGetCommunicationCountV1Response(self): + """Test InscriptionGetCommunicationCountV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscription_get_communication_count_v1_response_m_payload.py b/test/test_inscription_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..f540df6c8 --- /dev/null +++ b/test/test_inscription_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscription_get_communication_count_v1_response_m_payload import InscriptionGetCommunicationCountV1ResponseMPayload + +class TestInscriptionGetCommunicationCountV1ResponseMPayload(unittest.TestCase): + """InscriptionGetCommunicationCountV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionGetCommunicationCountV1ResponseMPayload: + """Test InscriptionGetCommunicationCountV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptionGetCommunicationCountV1ResponseMPayload` + """ + model = InscriptionGetCommunicationCountV1ResponseMPayload() + if include_optional: + return InscriptionGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8 + ) + else: + return InscriptionGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8, + ) + """ + + def testInscriptionGetCommunicationCountV1ResponseMPayload(self): + """Test InscriptionGetCommunicationCountV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscription_get_communication_list_v1_response.py b/test/test_inscription_get_communication_list_v1_response.py index c5a4b237c..1c26db26e 100644 --- a/test/test_inscription_get_communication_list_v1_response.py +++ b/test/test_inscription_get_communication_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InscriptionGetCommunicationListV1Response: """Test InscriptionGetCommunicationListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InscriptionGetCommunicationListV1Response` diff --git a/test/test_inscription_get_communication_list_v1_response_m_payload.py b/test/test_inscription_get_communication_list_v1_response_m_payload.py index 3b8ef9ce8..696720a51 100644 --- a/test/test_inscription_get_communication_list_v1_response_m_payload.py +++ b/test/test_inscription_get_communication_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InscriptionGetCommunicationListV1ResponseMPayload: """Test InscriptionGetCommunicationListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InscriptionGetCommunicationListV1ResponseMPayload` diff --git a/test/test_inscription_get_communicationrecipients_v1_response.py b/test/test_inscription_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..d0380eccc --- /dev/null +++ b/test/test_inscription_get_communicationrecipients_v1_response.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response import InscriptionGetCommunicationrecipientsV1Response + +class TestInscriptionGetCommunicationrecipientsV1Response(unittest.TestCase): + """InscriptionGetCommunicationrecipientsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionGetCommunicationrecipientsV1Response: + """Test InscriptionGetCommunicationrecipientsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptionGetCommunicationrecipientsV1Response` + """ + model = InscriptionGetCommunicationrecipientsV1Response() + if include_optional: + return InscriptionGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.inscription_get_communicationrecipients_v1_response_m_payload.inscription-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ) + ) + else: + return InscriptionGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.inscription_get_communicationrecipients_v1_response_m_payload.inscription-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ), + ) + """ + + def testInscriptionGetCommunicationrecipientsV1Response(self): + """Test InscriptionGetCommunicationrecipientsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscription_get_communicationrecipients_v1_response_m_payload.py b/test/test_inscription_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..95c6c7a57 --- /dev/null +++ b/test/test_inscription_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscription_get_communicationrecipients_v1_response_m_payload import InscriptionGetCommunicationrecipientsV1ResponseMPayload + +class TestInscriptionGetCommunicationrecipientsV1ResponseMPayload(unittest.TestCase): + """InscriptionGetCommunicationrecipientsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionGetCommunicationrecipientsV1ResponseMPayload: + """Test InscriptionGetCommunicationrecipientsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptionGetCommunicationrecipientsV1ResponseMPayload` + """ + model = InscriptionGetCommunicationrecipientsV1ResponseMPayload() + if include_optional: + return InscriptionGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ] + ) + else: + return InscriptionGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], + ) + """ + + def testInscriptionGetCommunicationrecipientsV1ResponseMPayload(self): + """Test InscriptionGetCommunicationrecipientsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscription_get_communicationsenders_v1_response.py b/test/test_inscription_get_communicationsenders_v1_response.py index e25f5259f..672c67a1f 100644 --- a/test/test_inscription_get_communicationsenders_v1_response.py +++ b/test/test_inscription_get_communicationsenders_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InscriptionGetCommunicationsendersV1Response: """Test InscriptionGetCommunicationsendersV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InscriptionGetCommunicationsendersV1Response` diff --git a/test/test_inscription_get_communicationsenders_v1_response_m_payload.py b/test/test_inscription_get_communicationsenders_v1_response_m_payload.py index 058a9a561..2a9dadc0f 100644 --- a/test/test_inscription_get_communicationsenders_v1_response_m_payload.py +++ b/test/test_inscription_get_communicationsenders_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InscriptionGetCommunicationsendersV1ResponseMPayload: """Test InscriptionGetCommunicationsendersV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InscriptionGetCommunicationsendersV1ResponseMPayload` diff --git a/test/test_inscriptionnotauthenticated_get_communication_count_v1_response.py b/test/test_inscriptionnotauthenticated_get_communication_count_v1_response.py new file mode 100644 index 000000000..4e8371773 --- /dev/null +++ b/test/test_inscriptionnotauthenticated_get_communication_count_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response import InscriptionnotauthenticatedGetCommunicationCountV1Response + +class TestInscriptionnotauthenticatedGetCommunicationCountV1Response(unittest.TestCase): + """InscriptionnotauthenticatedGetCommunicationCountV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommunicationCountV1Response: + """Test InscriptionnotauthenticatedGetCommunicationCountV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptionnotauthenticatedGetCommunicationCountV1Response` + """ + model = InscriptionnotauthenticatedGetCommunicationCountV1Response() + if include_optional: + return InscriptionnotauthenticatedGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ) + ) + else: + return InscriptionnotauthenticatedGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ), + ) + """ + + def testInscriptionnotauthenticatedGetCommunicationCountV1Response(self): + """Test InscriptionnotauthenticatedGetCommunicationCountV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.py b/test/test_inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..b1177ba72 --- /dev/null +++ b/test/test_inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload + +class TestInscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload(unittest.TestCase): + """InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload: + """Test InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload` + """ + model = InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload() + if include_optional: + return InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8 + ) + else: + return InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8, + ) + """ + + def testInscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload(self): + """Test InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py b/test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py index 34e129de2..a7f3ab811 100644 --- a/test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py +++ b/test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommunicationListV1Response: """Test InscriptionnotauthenticatedGetCommunicationListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InscriptionnotauthenticatedGetCommunicationListV1Response` diff --git a/test/test_inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py b/test/test_inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py index 4b6361f73..4ee73b9fd 100644 --- a/test/test_inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py +++ b/test/test_inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload: """Test InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload` diff --git a/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response.py b/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..5b4bc545f --- /dev/null +++ b/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response import InscriptionnotauthenticatedGetCommunicationrecipientsV1Response + +class TestInscriptionnotauthenticatedGetCommunicationrecipientsV1Response(unittest.TestCase): + """InscriptionnotauthenticatedGetCommunicationrecipientsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommunicationrecipientsV1Response: + """Test InscriptionnotauthenticatedGetCommunicationrecipientsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptionnotauthenticatedGetCommunicationrecipientsV1Response` + """ + model = InscriptionnotauthenticatedGetCommunicationrecipientsV1Response() + if include_optional: + return InscriptionnotauthenticatedGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ) + ) + else: + return InscriptionnotauthenticatedGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ), + ) + """ + + def testInscriptionnotauthenticatedGetCommunicationrecipientsV1Response(self): + """Test InscriptionnotauthenticatedGetCommunicationrecipientsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.py b/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..7fa3fe537 --- /dev/null +++ b/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload + +class TestInscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload(unittest.TestCase): + """InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload: + """Test InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload` + """ + model = InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload() + if include_optional: + return InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ] + ) + else: + return InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], + ) + """ + + def testInscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload(self): + """Test InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response.py b/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..730c88ec5 --- /dev/null +++ b/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response import InscriptionnotauthenticatedGetCommunicationsendersV1Response + +class TestInscriptionnotauthenticatedGetCommunicationsendersV1Response(unittest.TestCase): + """InscriptionnotauthenticatedGetCommunicationsendersV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommunicationsendersV1Response: + """Test InscriptionnotauthenticatedGetCommunicationsendersV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptionnotauthenticatedGetCommunicationsendersV1Response` + """ + model = InscriptionnotauthenticatedGetCommunicationsendersV1Response() + if include_optional: + return InscriptionnotauthenticatedGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ) + else: + return InscriptionnotauthenticatedGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ), + ) + """ + + def testInscriptionnotauthenticatedGetCommunicationsendersV1Response(self): + """Test InscriptionnotauthenticatedGetCommunicationsendersV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.py b/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..5f22a0540 --- /dev/null +++ b/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload + +class TestInscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload(unittest.TestCase): + """InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload: + """Test InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload` + """ + model = InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload() + if include_optional: + return InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ] + ) + else: + return InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], + ) + """ + + def testInscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload(self): + """Test InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptiontemp_get_communication_count_v1_response.py b/test/test_inscriptiontemp_get_communication_count_v1_response.py new file mode 100644 index 000000000..7c2c805a1 --- /dev/null +++ b/test/test_inscriptiontemp_get_communication_count_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response import InscriptiontempGetCommunicationCountV1Response + +class TestInscriptiontempGetCommunicationCountV1Response(unittest.TestCase): + """InscriptiontempGetCommunicationCountV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptiontempGetCommunicationCountV1Response: + """Test InscriptiontempGetCommunicationCountV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptiontempGetCommunicationCountV1Response` + """ + model = InscriptiontempGetCommunicationCountV1Response() + if include_optional: + return InscriptiontempGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response_m_payload.inscriptiontemp-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ) + ) + else: + return InscriptiontempGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response_m_payload.inscriptiontemp-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ), + ) + """ + + def testInscriptiontempGetCommunicationCountV1Response(self): + """Test InscriptiontempGetCommunicationCountV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptiontemp_get_communication_count_v1_response_m_payload.py b/test/test_inscriptiontemp_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..98a566260 --- /dev/null +++ b/test/test_inscriptiontemp_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response_m_payload import InscriptiontempGetCommunicationCountV1ResponseMPayload + +class TestInscriptiontempGetCommunicationCountV1ResponseMPayload(unittest.TestCase): + """InscriptiontempGetCommunicationCountV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptiontempGetCommunicationCountV1ResponseMPayload: + """Test InscriptiontempGetCommunicationCountV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptiontempGetCommunicationCountV1ResponseMPayload` + """ + model = InscriptiontempGetCommunicationCountV1ResponseMPayload() + if include_optional: + return InscriptiontempGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8 + ) + else: + return InscriptiontempGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8, + ) + """ + + def testInscriptiontempGetCommunicationCountV1ResponseMPayload(self): + """Test InscriptiontempGetCommunicationCountV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptiontemp_get_communication_list_v1_response.py b/test/test_inscriptiontemp_get_communication_list_v1_response.py index de92a8792..2b28d8d93 100644 --- a/test/test_inscriptiontemp_get_communication_list_v1_response.py +++ b/test/test_inscriptiontemp_get_communication_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InscriptiontempGetCommunicationListV1Response: """Test InscriptiontempGetCommunicationListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InscriptiontempGetCommunicationListV1Response` diff --git a/test/test_inscriptiontemp_get_communication_list_v1_response_m_payload.py b/test/test_inscriptiontemp_get_communication_list_v1_response_m_payload.py index 1390fa096..ac45c26e1 100644 --- a/test/test_inscriptiontemp_get_communication_list_v1_response_m_payload.py +++ b/test/test_inscriptiontemp_get_communication_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InscriptiontempGetCommunicationListV1ResponseMPayload: """Test InscriptiontempGetCommunicationListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InscriptiontempGetCommunicationListV1ResponseMPayload` diff --git a/test/test_inscriptiontemp_get_communicationrecipients_v1_response.py b/test/test_inscriptiontemp_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..5cca2e240 --- /dev/null +++ b/test/test_inscriptiontemp_get_communicationrecipients_v1_response.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response import InscriptiontempGetCommunicationrecipientsV1Response + +class TestInscriptiontempGetCommunicationrecipientsV1Response(unittest.TestCase): + """InscriptiontempGetCommunicationrecipientsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptiontempGetCommunicationrecipientsV1Response: + """Test InscriptiontempGetCommunicationrecipientsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptiontempGetCommunicationrecipientsV1Response` + """ + model = InscriptiontempGetCommunicationrecipientsV1Response() + if include_optional: + return InscriptiontempGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response_m_payload.inscriptiontemp-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ) + ) + else: + return InscriptiontempGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response_m_payload.inscriptiontemp-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ), + ) + """ + + def testInscriptiontempGetCommunicationrecipientsV1Response(self): + """Test InscriptiontempGetCommunicationrecipientsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptiontemp_get_communicationrecipients_v1_response_m_payload.py b/test/test_inscriptiontemp_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..b60958cd1 --- /dev/null +++ b/test/test_inscriptiontemp_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response_m_payload import InscriptiontempGetCommunicationrecipientsV1ResponseMPayload + +class TestInscriptiontempGetCommunicationrecipientsV1ResponseMPayload(unittest.TestCase): + """InscriptiontempGetCommunicationrecipientsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptiontempGetCommunicationrecipientsV1ResponseMPayload: + """Test InscriptiontempGetCommunicationrecipientsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptiontempGetCommunicationrecipientsV1ResponseMPayload` + """ + model = InscriptiontempGetCommunicationrecipientsV1ResponseMPayload() + if include_optional: + return InscriptiontempGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ] + ) + else: + return InscriptiontempGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], + ) + """ + + def testInscriptiontempGetCommunicationrecipientsV1ResponseMPayload(self): + """Test InscriptiontempGetCommunicationrecipientsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptiontemp_get_communicationsenders_v1_response.py b/test/test_inscriptiontemp_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..2d5bf374f --- /dev/null +++ b/test/test_inscriptiontemp_get_communicationsenders_v1_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response import InscriptiontempGetCommunicationsendersV1Response + +class TestInscriptiontempGetCommunicationsendersV1Response(unittest.TestCase): + """InscriptiontempGetCommunicationsendersV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptiontempGetCommunicationsendersV1Response: + """Test InscriptiontempGetCommunicationsendersV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptiontempGetCommunicationsendersV1Response` + """ + model = InscriptiontempGetCommunicationsendersV1Response() + if include_optional: + return InscriptiontempGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response_m_payload.inscriptiontemp-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ) + else: + return InscriptiontempGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response_m_payload.inscriptiontemp-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ), + ) + """ + + def testInscriptiontempGetCommunicationsendersV1Response(self): + """Test InscriptiontempGetCommunicationsendersV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inscriptiontemp_get_communicationsenders_v1_response_m_payload.py b/test/test_inscriptiontemp_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..bbdbc8d92 --- /dev/null +++ b/test/test_inscriptiontemp_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response_m_payload import InscriptiontempGetCommunicationsendersV1ResponseMPayload + +class TestInscriptiontempGetCommunicationsendersV1ResponseMPayload(unittest.TestCase): + """InscriptiontempGetCommunicationsendersV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptiontempGetCommunicationsendersV1ResponseMPayload: + """Test InscriptiontempGetCommunicationsendersV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InscriptiontempGetCommunicationsendersV1ResponseMPayload` + """ + model = InscriptiontempGetCommunicationsendersV1ResponseMPayload() + if include_optional: + return InscriptiontempGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ] + ) + else: + return InscriptiontempGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], + ) + """ + + def testInscriptiontempGetCommunicationsendersV1ResponseMPayload(self): + """Test InscriptiontempGetCommunicationsendersV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_invoice_get_attachments_v1_response.py b/test/test_invoice_get_attachments_v1_response.py index 834473956..d9dad27fe 100644 --- a/test/test_invoice_get_attachments_v1_response.py +++ b/test/test_invoice_get_attachments_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InvoiceGetAttachmentsV1Response: """Test InvoiceGetAttachmentsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InvoiceGetAttachmentsV1Response` diff --git a/test/test_invoice_get_attachments_v1_response_m_payload.py b/test/test_invoice_get_attachments_v1_response_m_payload.py index 3fad3faa8..f30c83040 100644 --- a/test/test_invoice_get_attachments_v1_response_m_payload.py +++ b/test/test_invoice_get_attachments_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InvoiceGetAttachmentsV1ResponseMPayload: """Test InvoiceGetAttachmentsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InvoiceGetAttachmentsV1ResponseMPayload` diff --git a/test/test_invoice_get_communication_count_v1_response.py b/test/test_invoice_get_communication_count_v1_response.py new file mode 100644 index 000000000..80a2623ea --- /dev/null +++ b/test/test_invoice_get_communication_count_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.invoice_get_communication_count_v1_response import InvoiceGetCommunicationCountV1Response + +class TestInvoiceGetCommunicationCountV1Response(unittest.TestCase): + """InvoiceGetCommunicationCountV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InvoiceGetCommunicationCountV1Response: + """Test InvoiceGetCommunicationCountV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InvoiceGetCommunicationCountV1Response` + """ + model = InvoiceGetCommunicationCountV1Response() + if include_optional: + return InvoiceGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.invoice_get_communication_count_v1_response_m_payload.invoice-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ) + ) + else: + return InvoiceGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.invoice_get_communication_count_v1_response_m_payload.invoice-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ), + ) + """ + + def testInvoiceGetCommunicationCountV1Response(self): + """Test InvoiceGetCommunicationCountV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_invoice_get_communication_count_v1_response_m_payload.py b/test/test_invoice_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..a1ae0dd81 --- /dev/null +++ b/test/test_invoice_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.invoice_get_communication_count_v1_response_m_payload import InvoiceGetCommunicationCountV1ResponseMPayload + +class TestInvoiceGetCommunicationCountV1ResponseMPayload(unittest.TestCase): + """InvoiceGetCommunicationCountV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InvoiceGetCommunicationCountV1ResponseMPayload: + """Test InvoiceGetCommunicationCountV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InvoiceGetCommunicationCountV1ResponseMPayload` + """ + model = InvoiceGetCommunicationCountV1ResponseMPayload() + if include_optional: + return InvoiceGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8 + ) + else: + return InvoiceGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8, + ) + """ + + def testInvoiceGetCommunicationCountV1ResponseMPayload(self): + """Test InvoiceGetCommunicationCountV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_invoice_get_communication_list_v1_response.py b/test/test_invoice_get_communication_list_v1_response.py index a53f3562c..af77737d8 100644 --- a/test/test_invoice_get_communication_list_v1_response.py +++ b/test/test_invoice_get_communication_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InvoiceGetCommunicationListV1Response: """Test InvoiceGetCommunicationListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InvoiceGetCommunicationListV1Response` diff --git a/test/test_invoice_get_communication_list_v1_response_m_payload.py b/test/test_invoice_get_communication_list_v1_response_m_payload.py index 5f7df2188..500416144 100644 --- a/test/test_invoice_get_communication_list_v1_response_m_payload.py +++ b/test/test_invoice_get_communication_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> InvoiceGetCommunicationListV1ResponseMPayload: """Test InvoiceGetCommunicationListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `InvoiceGetCommunicationListV1ResponseMPayload` diff --git a/test/test_invoice_get_communicationrecipients_v1_response.py b/test/test_invoice_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..70f7f5431 --- /dev/null +++ b/test/test_invoice_get_communicationrecipients_v1_response.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response import InvoiceGetCommunicationrecipientsV1Response + +class TestInvoiceGetCommunicationrecipientsV1Response(unittest.TestCase): + """InvoiceGetCommunicationrecipientsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InvoiceGetCommunicationrecipientsV1Response: + """Test InvoiceGetCommunicationrecipientsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InvoiceGetCommunicationrecipientsV1Response` + """ + model = InvoiceGetCommunicationrecipientsV1Response() + if include_optional: + return InvoiceGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.invoice_get_communicationrecipients_v1_response_m_payload.invoice-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ) + ) + else: + return InvoiceGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.invoice_get_communicationrecipients_v1_response_m_payload.invoice-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ), + ) + """ + + def testInvoiceGetCommunicationrecipientsV1Response(self): + """Test InvoiceGetCommunicationrecipientsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_invoice_get_communicationrecipients_v1_response_m_payload.py b/test/test_invoice_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..65f87793c --- /dev/null +++ b/test/test_invoice_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.invoice_get_communicationrecipients_v1_response_m_payload import InvoiceGetCommunicationrecipientsV1ResponseMPayload + +class TestInvoiceGetCommunicationrecipientsV1ResponseMPayload(unittest.TestCase): + """InvoiceGetCommunicationrecipientsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InvoiceGetCommunicationrecipientsV1ResponseMPayload: + """Test InvoiceGetCommunicationrecipientsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InvoiceGetCommunicationrecipientsV1ResponseMPayload` + """ + model = InvoiceGetCommunicationrecipientsV1ResponseMPayload() + if include_optional: + return InvoiceGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ] + ) + else: + return InvoiceGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], + ) + """ + + def testInvoiceGetCommunicationrecipientsV1ResponseMPayload(self): + """Test InvoiceGetCommunicationrecipientsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_invoice_get_communicationsenders_v1_response.py b/test/test_invoice_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..302e45ef1 --- /dev/null +++ b/test/test_invoice_get_communicationsenders_v1_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.invoice_get_communicationsenders_v1_response import InvoiceGetCommunicationsendersV1Response + +class TestInvoiceGetCommunicationsendersV1Response(unittest.TestCase): + """InvoiceGetCommunicationsendersV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InvoiceGetCommunicationsendersV1Response: + """Test InvoiceGetCommunicationsendersV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InvoiceGetCommunicationsendersV1Response` + """ + model = InvoiceGetCommunicationsendersV1Response() + if include_optional: + return InvoiceGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.invoice_get_communicationsenders_v1_response_m_payload.invoice-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ) + else: + return InvoiceGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.invoice_get_communicationsenders_v1_response_m_payload.invoice-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ), + ) + """ + + def testInvoiceGetCommunicationsendersV1Response(self): + """Test InvoiceGetCommunicationsendersV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_invoice_get_communicationsenders_v1_response_m_payload.py b/test/test_invoice_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..26971292c --- /dev/null +++ b/test/test_invoice_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.invoice_get_communicationsenders_v1_response_m_payload import InvoiceGetCommunicationsendersV1ResponseMPayload + +class TestInvoiceGetCommunicationsendersV1ResponseMPayload(unittest.TestCase): + """InvoiceGetCommunicationsendersV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InvoiceGetCommunicationsendersV1ResponseMPayload: + """Test InvoiceGetCommunicationsendersV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `InvoiceGetCommunicationsendersV1ResponseMPayload` + """ + model = InvoiceGetCommunicationsendersV1ResponseMPayload() + if include_optional: + return InvoiceGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ] + ) + else: + return InvoiceGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], + ) + """ + + def testInvoiceGetCommunicationsendersV1ResponseMPayload(self): + """Test InvoiceGetCommunicationsendersV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_language_autocomplete_element_response.py b/test/test_language_autocomplete_element_response.py index 6544eee58..2a17c1433 100644 --- a/test/test_language_autocomplete_element_response.py +++ b/test/test_language_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> LanguageAutocompleteElementResponse: """Test LanguageAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `LanguageAutocompleteElementResponse` diff --git a/test/test_language_get_autocomplete_v2_response.py b/test/test_language_get_autocomplete_v2_response.py index 0f354950c..1bb9f6502 100644 --- a/test/test_language_get_autocomplete_v2_response.py +++ b/test/test_language_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> LanguageGetAutocompleteV2Response: """Test LanguageGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `LanguageGetAutocompleteV2Response` diff --git a/test/test_language_get_autocomplete_v2_response_m_payload.py b/test/test_language_get_autocomplete_v2_response_m_payload.py index ab075a05e..788d9a8f7 100644 --- a/test/test_language_get_autocomplete_v2_response_m_payload.py +++ b/test/test_language_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> LanguageGetAutocompleteV2ResponseMPayload: """Test LanguageGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `LanguageGetAutocompleteV2ResponseMPayload` diff --git a/test/test_module_autocomplete_element_response.py b/test/test_module_autocomplete_element_response.py index 533dbeddb..fae3ad62d 100644 --- a/test/test_module_autocomplete_element_response.py +++ b/test/test_module_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModuleAutocompleteElementResponse: """Test ModuleAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModuleAutocompleteElementResponse` diff --git a/test/test_module_ezsign_api.py b/test/test_module_ezsign_api.py deleted file mode 100644 index 7da5a66e5..000000000 --- a/test/test_module_ezsign_api.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding: utf-8 - -""" - eZmax API Definition (Full) - - This API expose all the functionnalities for the eZmax and eZsign applications. - - The version of the OpenAPI document: 1.2.1 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from eZmaxApi.api.module_ezsign_api import ModuleEzsignApi - - -class TestModuleEzsignApi(unittest.TestCase): - """ModuleEzsignApi unit test stubs""" - - def setUp(self) -> None: - self.api = ModuleEzsignApi() - - def tearDown(self) -> None: - pass - - def test_ezsign_suggest_signers_v1(self) -> None: - """Test case for ezsign_suggest_signers_v1 - - Suggest signers - """ - pass - - def test_ezsign_suggest_templates_v1(self) -> None: - """Test case for ezsign_suggest_templates_v1 - - Suggest templates - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_module_get_autocomplete_v2_response.py b/test/test_module_get_autocomplete_v2_response.py index becad9ea2..6441da767 100644 --- a/test/test_module_get_autocomplete_v2_response.py +++ b/test/test_module_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModuleGetAutocompleteV2Response: """Test ModuleGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModuleGetAutocompleteV2Response` diff --git a/test/test_module_get_autocomplete_v2_response_m_payload.py b/test/test_module_get_autocomplete_v2_response_m_payload.py index fa8dab50b..f6b251f68 100644 --- a/test/test_module_get_autocomplete_v2_response_m_payload.py +++ b/test/test_module_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModuleGetAutocompleteV2ResponseMPayload: """Test ModuleGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModuleGetAutocompleteV2ResponseMPayload` diff --git a/test/test_module_response.py b/test/test_module_response.py index b217377f4..a74778548 100644 --- a/test/test_module_response.py +++ b/test/test_module_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModuleResponse: """Test ModuleResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModuleResponse` diff --git a/test/test_module_response_compound.py b/test/test_module_response_compound.py index e77322912..78e9a8228 100644 --- a/test/test_module_response_compound.py +++ b/test/test_module_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModuleResponseCompound: """Test ModuleResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModuleResponseCompound` diff --git a/test/test_modulegroup_get_all_v1_response.py b/test/test_modulegroup_get_all_v1_response.py index c35ec679b..05a073746 100644 --- a/test/test_modulegroup_get_all_v1_response.py +++ b/test/test_modulegroup_get_all_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModulegroupGetAllV1Response: """Test ModulegroupGetAllV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModulegroupGetAllV1Response` diff --git a/test/test_modulegroup_get_all_v1_response_m_payload.py b/test/test_modulegroup_get_all_v1_response_m_payload.py index 9bf36f25b..e8f236d96 100644 --- a/test/test_modulegroup_get_all_v1_response_m_payload.py +++ b/test/test_modulegroup_get_all_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModulegroupGetAllV1ResponseMPayload: """Test ModulegroupGetAllV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModulegroupGetAllV1ResponseMPayload` diff --git a/test/test_modulegroup_response.py b/test/test_modulegroup_response.py index 4910de302..4a50d4b85 100644 --- a/test/test_modulegroup_response.py +++ b/test/test_modulegroup_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModulegroupResponse: """Test ModulegroupResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModulegroupResponse` diff --git a/test/test_modulegroup_response_compound.py b/test/test_modulegroup_response_compound.py index 00e9e0b78..575a62c67 100644 --- a/test/test_modulegroup_response_compound.py +++ b/test/test_modulegroup_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModulegroupResponseCompound: """Test ModulegroupResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModulegroupResponseCompound` diff --git a/test/test_modulesection_response.py b/test/test_modulesection_response.py index ebaba6aad..8e81a29f4 100644 --- a/test/test_modulesection_response.py +++ b/test/test_modulesection_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModulesectionResponse: """Test ModulesectionResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModulesectionResponse` diff --git a/test/test_modulesection_response_compound.py b/test/test_modulesection_response_compound.py index f4e1ceebb..a8400e50d 100644 --- a/test/test_modulesection_response_compound.py +++ b/test/test_modulesection_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ModulesectionResponseCompound: """Test ModulesectionResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ModulesectionResponseCompound` diff --git a/test/test_multilingual_apikey_description.py b/test/test_multilingual_apikey_description.py index d11948623..3c629937e 100644 --- a/test/test_multilingual_apikey_description.py +++ b/test/test_multilingual_apikey_description.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualApikeyDescription: """Test MultilingualApikeyDescription - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualApikeyDescription` diff --git a/test/test_multilingual_billingentityinternal_description.py b/test/test_multilingual_billingentityinternal_description.py index 5df1c2a2b..fcecb1c5f 100644 --- a/test/test_multilingual_billingentityinternal_description.py +++ b/test/test_multilingual_billingentityinternal_description.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualBillingentityinternalDescription: """Test MultilingualBillingentityinternalDescription - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualBillingentityinternalDescription` diff --git a/test/test_multilingual_branding_description.py b/test/test_multilingual_branding_description.py index 9edb7e895..62b55bdf0 100644 --- a/test/test_multilingual_branding_description.py +++ b/test/test_multilingual_branding_description.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualBrandingDescription: """Test MultilingualBrandingDescription - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualBrandingDescription` diff --git a/test/test_multilingual_ezdoctemplatedocument_name.py b/test/test_multilingual_ezdoctemplatedocument_name.py new file mode 100644 index 000000000..6809be6ed --- /dev/null +++ b/test/test_multilingual_ezdoctemplatedocument_name.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName + +class TestMultilingualEzdoctemplatedocumentName(unittest.TestCase): + """MultilingualEzdoctemplatedocumentName unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MultilingualEzdoctemplatedocumentName: + """Test MultilingualEzdoctemplatedocumentName + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `MultilingualEzdoctemplatedocumentName` + """ + model = MultilingualEzdoctemplatedocumentName() + if include_optional: + return MultilingualEzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract' + ) + else: + return MultilingualEzdoctemplatedocumentName( + ) + """ + + def testMultilingualEzdoctemplatedocumentName(self): + """Test MultilingualEzdoctemplatedocumentName""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_multilingual_ezmaxinvoicingsummaryinternal_description.py b/test/test_multilingual_ezmaxinvoicingsummaryinternal_description.py index d20a4cc40..f66f5baab 100644 --- a/test/test_multilingual_ezmaxinvoicingsummaryinternal_description.py +++ b/test/test_multilingual_ezmaxinvoicingsummaryinternal_description.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualEzmaxinvoicingsummaryinternalDescription: """Test MultilingualEzmaxinvoicingsummaryinternalDescription - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualEzmaxinvoicingsummaryinternalDescription` diff --git a/test/test_multilingual_ezsignfoldertype_name.py b/test/test_multilingual_ezsignfoldertype_name.py index 76b74dbc5..0fb471354 100644 --- a/test/test_multilingual_ezsignfoldertype_name.py +++ b/test/test_multilingual_ezsignfoldertype_name.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualEzsignfoldertypeName: """Test MultilingualEzsignfoldertypeName - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualEzsignfoldertypeName` diff --git a/test/test_multilingual_ezsignsignergroup_description.py b/test/test_multilingual_ezsignsignergroup_description.py index 795c73ad3..8ec9b3760 100644 --- a/test/test_multilingual_ezsignsignergroup_description.py +++ b/test/test_multilingual_ezsignsignergroup_description.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualEzsignsignergroupDescription: """Test MultilingualEzsignsignergroupDescription - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualEzsignsignergroupDescription` diff --git a/test/test_multilingual_ezsignsigningreason_description.py b/test/test_multilingual_ezsignsigningreason_description.py index 93406fb43..03cbca3a5 100644 --- a/test/test_multilingual_ezsignsigningreason_description.py +++ b/test/test_multilingual_ezsignsigningreason_description.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualEzsignsigningreasonDescription: """Test MultilingualEzsignsigningreasonDescription - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualEzsignsigningreasonDescription` diff --git a/test/test_multilingual_notificationsubsection_name.py b/test/test_multilingual_notificationsubsection_name.py index bf5b1a10b..7f2879021 100644 --- a/test/test_multilingual_notificationsubsection_name.py +++ b/test/test_multilingual_notificationsubsection_name.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualNotificationsubsectionName: """Test MultilingualNotificationsubsectionName - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualNotificationsubsectionName` diff --git a/test/test_multilingual_notificationtest_name.py b/test/test_multilingual_notificationtest_name.py index cc9d8cdbe..0fdc2278e 100644 --- a/test/test_multilingual_notificationtest_name.py +++ b/test/test_multilingual_notificationtest_name.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualNotificationtestName: """Test MultilingualNotificationtestName - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualNotificationtestName` diff --git a/test/test_multilingual_paymentterm_description.py b/test/test_multilingual_paymentterm_description.py index 4f24bcb97..987023dd4 100644 --- a/test/test_multilingual_paymentterm_description.py +++ b/test/test_multilingual_paymentterm_description.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualPaymenttermDescription: """Test MultilingualPaymenttermDescription - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualPaymenttermDescription` diff --git a/test/test_multilingual_subnet_description.py b/test/test_multilingual_subnet_description.py index 68a61a244..e8ecdf9fd 100644 --- a/test/test_multilingual_subnet_description.py +++ b/test/test_multilingual_subnet_description.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualSubnetDescription: """Test MultilingualSubnetDescription - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualSubnetDescription` diff --git a/test/test_multilingual_supply_description.py b/test/test_multilingual_supply_description.py new file mode 100644 index 000000000..3ca531427 --- /dev/null +++ b/test/test_multilingual_supply_description.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.multilingual_supply_description import MultilingualSupplyDescription + +class TestMultilingualSupplyDescription(unittest.TestCase): + """MultilingualSupplyDescription unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MultilingualSupplyDescription: + """Test MultilingualSupplyDescription + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `MultilingualSupplyDescription` + """ + model = MultilingualSupplyDescription() + if include_optional: + return MultilingualSupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package' + ) + else: + return MultilingualSupplyDescription( + ) + """ + + def testMultilingualSupplyDescription(self): + """Test MultilingualSupplyDescription""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_multilingual_usergroup_name.py b/test/test_multilingual_usergroup_name.py index 2a0678819..444723696 100644 --- a/test/test_multilingual_usergroup_name.py +++ b/test/test_multilingual_usergroup_name.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualUsergroupName: """Test MultilingualUsergroupName - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualUsergroupName` diff --git a/test/test_multilingual_userlogintype_description.py b/test/test_multilingual_userlogintype_description.py index 417fb211a..12e2d7e44 100644 --- a/test/test_multilingual_userlogintype_description.py +++ b/test/test_multilingual_userlogintype_description.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualUserlogintypeDescription: """Test MultilingualUserlogintypeDescription - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualUserlogintypeDescription` diff --git a/test/test_multilingual_variableexpense_description.py b/test/test_multilingual_variableexpense_description.py index 42a8e1106..5afec3ea4 100644 --- a/test/test_multilingual_variableexpense_description.py +++ b/test/test_multilingual_variableexpense_description.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualVariableexpenseDescription: """Test MultilingualVariableexpenseDescription - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualVariableexpenseDescription` diff --git a/test/test_multilingual_versionhistory_detail.py b/test/test_multilingual_versionhistory_detail.py index be3aa26d7..2b8d3d027 100644 --- a/test/test_multilingual_versionhistory_detail.py +++ b/test/test_multilingual_versionhistory_detail.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> MultilingualVersionhistoryDetail: """Test MultilingualVersionhistoryDetail - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `MultilingualVersionhistoryDetail` diff --git a/test/test_notificationsection_get_notificationtests_v1_response.py b/test/test_notificationsection_get_notificationtests_v1_response.py index 8a8a67ad5..d7fd00b86 100644 --- a/test/test_notificationsection_get_notificationtests_v1_response.py +++ b/test/test_notificationsection_get_notificationtests_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> NotificationsectionGetNotificationtestsV1Response: """Test NotificationsectionGetNotificationtestsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `NotificationsectionGetNotificationtestsV1Response` diff --git a/test/test_notificationsection_get_notificationtests_v1_response_m_payload.py b/test/test_notificationsection_get_notificationtests_v1_response_m_payload.py index fea332747..838845b05 100644 --- a/test/test_notificationsection_get_notificationtests_v1_response_m_payload.py +++ b/test/test_notificationsection_get_notificationtests_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> NotificationsectionGetNotificationtestsV1ResponseMPayload: """Test NotificationsectionGetNotificationtestsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `NotificationsectionGetNotificationtestsV1ResponseMPayload` diff --git a/test/test_notificationsubsection_response.py b/test/test_notificationsubsection_response.py index 778546da5..72d20fae1 100644 --- a/test/test_notificationsubsection_response.py +++ b/test/test_notificationsubsection_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> NotificationsubsectionResponse: """Test NotificationsubsectionResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `NotificationsubsectionResponse` diff --git a/test/test_notificationtest_get_elements_v1_response.py b/test/test_notificationtest_get_elements_v1_response.py index 6337c6f8b..78ce96dda 100644 --- a/test/test_notificationtest_get_elements_v1_response.py +++ b/test/test_notificationtest_get_elements_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> NotificationtestGetElementsV1Response: """Test NotificationtestGetElementsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `NotificationtestGetElementsV1Response` diff --git a/test/test_notificationtest_get_elements_v1_response_m_payload.py b/test/test_notificationtest_get_elements_v1_response_m_payload.py index 5f781dc10..2b2c9be80 100644 --- a/test/test_notificationtest_get_elements_v1_response_m_payload.py +++ b/test/test_notificationtest_get_elements_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> NotificationtestGetElementsV1ResponseMPayload: """Test NotificationtestGetElementsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `NotificationtestGetElementsV1ResponseMPayload` diff --git a/test/test_notificationtest_response.py b/test/test_notificationtest_response.py index 4c10ab948..0278410b8 100644 --- a/test/test_notificationtest_response.py +++ b/test/test_notificationtest_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> NotificationtestResponse: """Test NotificationtestResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `NotificationtestResponse` diff --git a/test/test_object_activesession_api.py b/test/test_object_activesession_api.py index 974e7e519..4dabc26ef 100644 --- a/test/test_object_activesession_api.py +++ b/test/test_object_activesession_api.py @@ -27,6 +27,13 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_activesession_generate_federation_token_v1(self) -> None: + """Test case for activesession_generate_federation_token_v1 + + Generate a federation token + """ + pass + def test_activesession_get_current_v1(self) -> None: """Test case for activesession_get_current_v1 diff --git a/test/test_object_apikey_api.py b/test/test_object_apikey_api.py index e0fd43934..09cbced47 100644 --- a/test/test_object_apikey_api.py +++ b/test/test_object_apikey_api.py @@ -48,6 +48,13 @@ def test_apikey_edit_permissions_v1(self) -> None: """ pass + def test_apikey_generate_delegated_credentials_v1(self) -> None: + """Test case for apikey_generate_delegated_credentials_v1 + + Generate a delegated credentials + """ + pass + def test_apikey_get_cors_v1(self) -> None: """Test case for apikey_get_cors_v1 diff --git a/test/test_object_attachment_api.py b/test/test_object_attachment_api.py index 377d71999..2fd04c589 100644 --- a/test/test_object_attachment_api.py +++ b/test/test_object_attachment_api.py @@ -41,13 +41,6 @@ def test_attachment_get_attachmentlogs_v1(self) -> None: """ pass - def test_attachment_get_download_url_v1(self) -> None: - """Test case for attachment_get_download_url_v1 - - Retrieve a URL to download attachments. - """ - pass - if __name__ == '__main__': unittest.main() diff --git a/test/test_object_authenticationexternal_api.py b/test/test_object_authenticationexternal_api.py new file mode 100644 index 000000000..6b6e6827b --- /dev/null +++ b/test/test_object_authenticationexternal_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_authenticationexternal_api import ObjectAuthenticationexternalApi + + +class TestObjectAuthenticationexternalApi(unittest.TestCase): + """ObjectAuthenticationexternalApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectAuthenticationexternalApi() + + def tearDown(self) -> None: + pass + + def test_authenticationexternal_create_object_v1(self) -> None: + """Test case for authenticationexternal_create_object_v1 + + Create a new Authenticationexternal + """ + pass + + def test_authenticationexternal_delete_object_v1(self) -> None: + """Test case for authenticationexternal_delete_object_v1 + + Delete an existing Authenticationexternal + """ + pass + + def test_authenticationexternal_edit_object_v1(self) -> None: + """Test case for authenticationexternal_edit_object_v1 + + Edit an existing Authenticationexternal + """ + pass + + def test_authenticationexternal_get_autocomplete_v2(self) -> None: + """Test case for authenticationexternal_get_autocomplete_v2 + + Retrieve Authenticationexternals and IDs + """ + pass + + def test_authenticationexternal_get_list_v1(self) -> None: + """Test case for authenticationexternal_get_list_v1 + + Retrieve Authenticationexternal list + """ + pass + + def test_authenticationexternal_get_object_v2(self) -> None: + """Test case for authenticationexternal_get_object_v2 + + Retrieve an existing Authenticationexternal + """ + pass + + def test_authenticationexternal_reset_authorization_v1(self) -> None: + """Test case for authenticationexternal_reset_authorization_v1 + + Reset the Authenticationexternal authorization + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_billingentityexternal_api.py b/test/test_object_billingentityexternal_api.py index a23d5ff98..daefc3921 100644 --- a/test/test_object_billingentityexternal_api.py +++ b/test/test_object_billingentityexternal_api.py @@ -27,6 +27,13 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_billingentityexternal_generate_federation_token_v1(self) -> None: + """Test case for billingentityexternal_generate_federation_token_v1 + + Generate a federation token + """ + pass + def test_billingentityexternal_get_autocomplete_v2(self) -> None: """Test case for billingentityexternal_get_autocomplete_v2 diff --git a/test/test_object_branding_api.py b/test/test_object_branding_api.py index b7945ef55..a8b057976 100644 --- a/test/test_object_branding_api.py +++ b/test/test_object_branding_api.py @@ -27,15 +27,15 @@ def setUp(self) -> None: def tearDown(self) -> None: pass - def test_branding_create_object_v1(self) -> None: - """Test case for branding_create_object_v1 + def test_branding_create_object_v2(self) -> None: + """Test case for branding_create_object_v2 Create a new Branding """ pass - def test_branding_edit_object_v1(self) -> None: - """Test case for branding_edit_object_v1 + def test_branding_edit_object_v2(self) -> None: + """Test case for branding_edit_object_v2 Edit an existing Branding """ @@ -55,8 +55,8 @@ def test_branding_get_list_v1(self) -> None: """ pass - def test_branding_get_object_v2(self) -> None: - """Test case for branding_get_object_v2 + def test_branding_get_object_v3(self) -> None: + """Test case for branding_get_object_v3 Retrieve an existing Branding """ diff --git a/test/test_object_buyercontract_api.py b/test/test_object_buyercontract_api.py index 4ccb51eaa..a8a83381a 100644 --- a/test/test_object_buyercontract_api.py +++ b/test/test_object_buyercontract_api.py @@ -27,6 +27,13 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_buyercontract_get_communication_count_v1(self) -> None: + """Test case for buyercontract_get_communication_count_v1 + + Retrieve Communication count + """ + pass + def test_buyercontract_get_communication_list_v1(self) -> None: """Test case for buyercontract_get_communication_list_v1 @@ -34,6 +41,20 @@ def test_buyercontract_get_communication_list_v1(self) -> None: """ pass + def test_buyercontract_get_communicationrecipients_v1(self) -> None: + """Test case for buyercontract_get_communicationrecipients_v1 + + Retrieve Buyercontract's Communicationrecipient + """ + pass + + def test_buyercontract_get_communicationsenders_v1(self) -> None: + """Test case for buyercontract_get_communicationsenders_v1 + + Retrieve Buyercontract's Communicationsender + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_object_communication_api.py b/test/test_object_communication_api.py index 7c8c91782..21747ca45 100644 --- a/test/test_object_communication_api.py +++ b/test/test_object_communication_api.py @@ -27,6 +27,13 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_communication_get_communication_body_v1(self) -> None: + """Test case for communication_get_communication_body_v1 + + Retrieve the communication body. + """ + pass + def test_communication_send_v1(self) -> None: """Test case for communication_send_v1 diff --git a/test/test_object_contacttitle_api.py b/test/test_object_contacttitle_api.py new file mode 100644 index 000000000..25e5efc0a --- /dev/null +++ b/test/test_object_contacttitle_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_contacttitle_api import ObjectContacttitleApi + + +class TestObjectContacttitleApi(unittest.TestCase): + """ObjectContacttitleApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectContacttitleApi() + + def tearDown(self) -> None: + pass + + def test_contacttitle_get_autocomplete_v2(self) -> None: + """Test case for contacttitle_get_autocomplete_v2 + + Retrieve Contacttitles and IDs + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_creditcardclient_api.py b/test/test_object_creditcardclient_api.py index 60b3224b2..46bb8cddf 100644 --- a/test/test_object_creditcardclient_api.py +++ b/test/test_object_creditcardclient_api.py @@ -69,6 +69,13 @@ def test_creditcardclient_get_object_v2(self) -> None: """ pass + def test_creditcardclient_patch_object_v1(self) -> None: + """Test case for creditcardclient_patch_object_v1 + + Patch an existing Creditcardclient + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_object_customer_api.py b/test/test_object_customer_api.py new file mode 100644 index 000000000..8be710922 --- /dev/null +++ b/test/test_object_customer_api.py @@ -0,0 +1,46 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_customer_api import ObjectCustomerApi + + +class TestObjectCustomerApi(unittest.TestCase): + """ObjectCustomerApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectCustomerApi() + + def tearDown(self) -> None: + pass + + def test_customer_create_object_v1(self) -> None: + """Test case for customer_create_object_v1 + + Create a new Customer + """ + pass + + def test_customer_get_object_v2(self) -> None: + """Test case for customer_get_object_v2 + + Retrieve an existing Customer + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_domain_api.py b/test/test_object_domain_api.py new file mode 100644 index 000000000..35c63fec0 --- /dev/null +++ b/test/test_object_domain_api.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_domain_api import ObjectDomainApi + + +class TestObjectDomainApi(unittest.TestCase): + """ObjectDomainApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectDomainApi() + + def tearDown(self) -> None: + pass + + def test_domain_create_object_v1(self) -> None: + """Test case for domain_create_object_v1 + + Create a new Domain + """ + pass + + def test_domain_delete_object_v1(self) -> None: + """Test case for domain_delete_object_v1 + + Delete an existing Domain + """ + pass + + def test_domain_get_list_v1(self) -> None: + """Test case for domain_get_list_v1 + + Retrieve Domain list + """ + pass + + def test_domain_get_object_v2(self) -> None: + """Test case for domain_get_object_v2 + + Retrieve an existing Domain + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_electronicfundstransfer_api.py b/test/test_object_electronicfundstransfer_api.py index c5dfb6354..9ce2ad5ff 100644 --- a/test/test_object_electronicfundstransfer_api.py +++ b/test/test_object_electronicfundstransfer_api.py @@ -27,6 +27,13 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_electronicfundstransfer_get_communication_count_v1(self) -> None: + """Test case for electronicfundstransfer_get_communication_count_v1 + + Retrieve Communication count + """ + pass + def test_electronicfundstransfer_get_communication_list_v1(self) -> None: """Test case for electronicfundstransfer_get_communication_list_v1 @@ -34,6 +41,20 @@ def test_electronicfundstransfer_get_communication_list_v1(self) -> None: """ pass + def test_electronicfundstransfer_get_communicationrecipients_v1(self) -> None: + """Test case for electronicfundstransfer_get_communicationrecipients_v1 + + Retrieve Electronicfundstransfer's Communicationrecipient + """ + pass + + def test_electronicfundstransfer_get_communicationsenders_v1(self) -> None: + """Test case for electronicfundstransfer_get_communicationsenders_v1 + + Retrieve Electronicfundstransfer's Communicationsender + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_object_ezdoctemplatedocument_api.py b/test/test_object_ezdoctemplatedocument_api.py new file mode 100644 index 000000000..4edc1b8f0 --- /dev/null +++ b/test/test_object_ezdoctemplatedocument_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_ezdoctemplatedocument_api import ObjectEzdoctemplatedocumentApi + + +class TestObjectEzdoctemplatedocumentApi(unittest.TestCase): + """ObjectEzdoctemplatedocumentApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectEzdoctemplatedocumentApi() + + def tearDown(self) -> None: + pass + + def test_ezdoctemplatedocument_create_object_v1(self) -> None: + """Test case for ezdoctemplatedocument_create_object_v1 + + Create a new Ezdoctemplatedocument + """ + pass + + def test_ezdoctemplatedocument_download_v1(self) -> None: + """Test case for ezdoctemplatedocument_download_v1 + + Retrieve the content + """ + pass + + def test_ezdoctemplatedocument_edit_object_v1(self) -> None: + """Test case for ezdoctemplatedocument_edit_object_v1 + + Edit an existing Ezdoctemplatedocument + """ + pass + + def test_ezdoctemplatedocument_get_autocomplete_v2(self) -> None: + """Test case for ezdoctemplatedocument_get_autocomplete_v2 + + Retrieve Ezdoctemplatedocuments and IDs + """ + pass + + def test_ezdoctemplatedocument_get_list_v1(self) -> None: + """Test case for ezdoctemplatedocument_get_list_v1 + + Retrieve Ezdoctemplatedocument list + """ + pass + + def test_ezdoctemplatedocument_get_object_v2(self) -> None: + """Test case for ezdoctemplatedocument_get_object_v2 + + Retrieve an existing Ezdoctemplatedocument + """ + pass + + def test_ezdoctemplatedocument_patch_object_v1(self) -> None: + """Test case for ezdoctemplatedocument_patch_object_v1 + + Patch an existing Ezdoctemplatedocument + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_ezdoctemplatefieldtypecategory_api.py b/test/test_object_ezdoctemplatefieldtypecategory_api.py new file mode 100644 index 000000000..38ce48a6e --- /dev/null +++ b/test/test_object_ezdoctemplatefieldtypecategory_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_ezdoctemplatefieldtypecategory_api import ObjectEzdoctemplatefieldtypecategoryApi + + +class TestObjectEzdoctemplatefieldtypecategoryApi(unittest.TestCase): + """ObjectEzdoctemplatefieldtypecategoryApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectEzdoctemplatefieldtypecategoryApi() + + def tearDown(self) -> None: + pass + + def test_ezdoctemplatefieldtypecategory_get_autocomplete_v2(self) -> None: + """Test case for ezdoctemplatefieldtypecategory_get_autocomplete_v2 + + Retrieve Ezdoctemplatefieldtypecategorys and IDs + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_ezdoctemplatetype_api.py b/test/test_object_ezdoctemplatetype_api.py new file mode 100644 index 000000000..979564a8d --- /dev/null +++ b/test/test_object_ezdoctemplatetype_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_ezdoctemplatetype_api import ObjectEzdoctemplatetypeApi + + +class TestObjectEzdoctemplatetypeApi(unittest.TestCase): + """ObjectEzdoctemplatetypeApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectEzdoctemplatetypeApi() + + def tearDown(self) -> None: + pass + + def test_ezdoctemplatetype_get_autocomplete_v2(self) -> None: + """Test case for ezdoctemplatetype_get_autocomplete_v2 + + Retrieve Ezdoctemplatetypes and IDs + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_ezsignannotation_api.py b/test/test_object_ezsignannotation_api.py new file mode 100644 index 000000000..17ad25268 --- /dev/null +++ b/test/test_object_ezsignannotation_api.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_ezsignannotation_api import ObjectEzsignannotationApi + + +class TestObjectEzsignannotationApi(unittest.TestCase): + """ObjectEzsignannotationApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectEzsignannotationApi() + + def tearDown(self) -> None: + pass + + def test_ezsignannotation_create_object_v1(self) -> None: + """Test case for ezsignannotation_create_object_v1 + + Create a new Ezsignannotation + """ + pass + + def test_ezsignannotation_delete_object_v1(self) -> None: + """Test case for ezsignannotation_delete_object_v1 + + Delete an existing Ezsignannotation + """ + pass + + def test_ezsignannotation_edit_object_v1(self) -> None: + """Test case for ezsignannotation_edit_object_v1 + + Edit an existing Ezsignannotation + """ + pass + + def test_ezsignannotation_get_object_v2(self) -> None: + """Test case for ezsignannotation_get_object_v2 + + Retrieve an existing Ezsignannotation + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_ezsignbulksend_api.py b/test/test_object_ezsignbulksend_api.py index a638591e7..d2cd41cac 100644 --- a/test/test_object_ezsignbulksend_api.py +++ b/test/test_object_ezsignbulksend_api.py @@ -27,8 +27,8 @@ def setUp(self) -> None: def tearDown(self) -> None: pass - def test_ezsignbulksend_create_ezsignbulksendtransmission_v1(self) -> None: - """Test case for ezsignbulksend_create_ezsignbulksendtransmission_v1 + def test_ezsignbulksend_create_ezsignbulksendtransmission_v2(self) -> None: + """Test case for ezsignbulksend_create_ezsignbulksendtransmission_v2 Create a new Ezsignbulksendtransmission in the Ezsignbulksend """ diff --git a/test/test_object_ezsigndocument_api.py b/test/test_object_ezsigndocument_api.py index 2b87a4682..c96fe0ba7 100644 --- a/test/test_object_ezsigndocument_api.py +++ b/test/test_object_ezsigndocument_api.py @@ -69,6 +69,13 @@ def test_ezsigndocument_create_object_v2(self) -> None: """ pass + def test_ezsigndocument_create_object_v3(self) -> None: + """Test case for ezsigndocument_create_object_v3 + + Create a new Ezsigndocument + """ + pass + def test_ezsigndocument_decline_to_sign_v1(self) -> None: """Test case for ezsigndocument_decline_to_sign_v1 @@ -83,6 +90,13 @@ def test_ezsigndocument_delete_object_v1(self) -> None: """ pass + def test_ezsigndocument_edit_ezsignannotations_v1(self) -> None: + """Test case for ezsigndocument_edit_ezsignannotations_v1 + + Edit multiple Ezsignannotations + """ + pass + def test_ezsigndocument_edit_ezsignformfieldgroups_v1(self) -> None: """Test case for ezsigndocument_edit_ezsignformfieldgroups_v1 @@ -97,6 +111,13 @@ def test_ezsigndocument_edit_ezsignsignatures_v1(self) -> None: """ pass + def test_ezsigndocument_edit_object_v1(self) -> None: + """Test case for ezsigndocument_edit_object_v1 + + Edit an existing Ezsigndocument + """ + pass + def test_ezsigndocument_end_prematurely_v1(self) -> None: """Test case for ezsigndocument_end_prematurely_v1 @@ -104,6 +125,13 @@ def test_ezsigndocument_end_prematurely_v1(self) -> None: """ pass + def test_ezsigndocument_extract_text_v1(self) -> None: + """Test case for ezsigndocument_extract_text_v1 + + Extract text from Ezsigndocument area + """ + pass + def test_ezsigndocument_flatten_v1(self) -> None: """Test case for ezsigndocument_flatten_v1 diff --git a/test/test_object_ezsignfolder_api.py b/test/test_object_ezsignfolder_api.py index 185bf2070..49389e9db 100644 --- a/test/test_object_ezsignfolder_api.py +++ b/test/test_object_ezsignfolder_api.py @@ -55,6 +55,13 @@ def test_ezsignfolder_create_object_v2(self) -> None: """ pass + def test_ezsignfolder_create_object_v3(self) -> None: + """Test case for ezsignfolder_create_object_v3 + + Create a new Ezsignfolder + """ + pass + def test_ezsignfolder_delete_object_v1(self) -> None: """Test case for ezsignfolder_delete_object_v1 @@ -76,8 +83,8 @@ def test_ezsignfolder_dispose_v1(self) -> None: """ pass - def test_ezsignfolder_edit_object_v1(self) -> None: - """Test case for ezsignfolder_edit_object_v1 + def test_ezsignfolder_edit_object_v3(self) -> None: + """Test case for ezsignfolder_edit_object_v3 Edit an existing Ezsignfolder """ @@ -188,6 +195,13 @@ def test_ezsignfolder_get_object_v2(self) -> None: """ pass + def test_ezsignfolder_get_object_v3(self) -> None: + """Test case for ezsignfolder_get_object_v3 + + Retrieve an existing Ezsignfolder + """ + pass + def test_ezsignfolder_import_ezsignfoldersignerassociations_v1(self) -> None: """Test case for ezsignfolder_import_ezsignfoldersignerassociations_v1 @@ -209,6 +223,13 @@ def test_ezsignfolder_reorder_v1(self) -> None: """ pass + def test_ezsignfolder_reorder_v2(self) -> None: + """Test case for ezsignfolder_reorder_v2 + + Reorder Ezsigndocuments in the Ezsignfolder + """ + pass + def test_ezsignfolder_send_v1(self) -> None: """Test case for ezsignfolder_send_v1 diff --git a/test/test_object_ezsignfoldersignerassociation_api.py b/test/test_object_ezsignfoldersignerassociation_api.py index b174ccf2a..61d16c0dd 100644 --- a/test/test_object_ezsignfoldersignerassociation_api.py +++ b/test/test_object_ezsignfoldersignerassociation_api.py @@ -97,6 +97,13 @@ def test_ezsignfoldersignerassociation_patch_object_v1(self) -> None: """ pass + def test_ezsignfoldersignerassociation_reassign_v1(self) -> None: + """Test case for ezsignfoldersignerassociation_reassign_v1 + + Reassign remaining unsigned signatures and forms + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_object_ezsignfoldertype_api.py b/test/test_object_ezsignfoldertype_api.py index 60de605cf..7e944bded 100644 --- a/test/test_object_ezsignfoldertype_api.py +++ b/test/test_object_ezsignfoldertype_api.py @@ -27,22 +27,15 @@ def setUp(self) -> None: def tearDown(self) -> None: pass - def test_ezsignfoldertype_create_object_v2(self) -> None: - """Test case for ezsignfoldertype_create_object_v2 + def test_ezsignfoldertype_create_object_v3(self) -> None: + """Test case for ezsignfoldertype_create_object_v3 Create a new Ezsignfoldertype """ pass - def test_ezsignfoldertype_edit_object_v1(self) -> None: - """Test case for ezsignfoldertype_edit_object_v1 - - Edit an existing Ezsignfoldertype - """ - pass - - def test_ezsignfoldertype_edit_object_v2(self) -> None: - """Test case for ezsignfoldertype_edit_object_v2 + def test_ezsignfoldertype_edit_object_v3(self) -> None: + """Test case for ezsignfoldertype_edit_object_v3 Edit an existing Ezsignfoldertype """ @@ -69,8 +62,8 @@ def test_ezsignfoldertype_get_object_v2(self) -> None: """ pass - def test_ezsignfoldertype_get_object_v3(self) -> None: - """Test case for ezsignfoldertype_get_object_v3 + def test_ezsignfoldertype_get_object_v4(self) -> None: + """Test case for ezsignfoldertype_get_object_v4 Retrieve an existing Ezsignfoldertype """ diff --git a/test/test_object_ezsignsignature_api.py b/test/test_object_ezsignsignature_api.py index 9814cb22a..31d1718fa 100644 --- a/test/test_object_ezsignsignature_api.py +++ b/test/test_object_ezsignsignature_api.py @@ -41,6 +41,13 @@ def test_ezsignsignature_create_object_v2(self) -> None: """ pass + def test_ezsignsignature_create_object_v3(self) -> None: + """Test case for ezsignsignature_create_object_v3 + + Create a new Ezsignsignature + """ + pass + def test_ezsignsignature_delete_object_v1(self) -> None: """Test case for ezsignsignature_delete_object_v1 @@ -48,8 +55,8 @@ def test_ezsignsignature_delete_object_v1(self) -> None: """ pass - def test_ezsignsignature_edit_object_v1(self) -> None: - """Test case for ezsignsignature_edit_object_v1 + def test_ezsignsignature_edit_object_v2(self) -> None: + """Test case for ezsignsignature_edit_object_v2 Edit an existing Ezsignsignature """ @@ -69,8 +76,8 @@ def test_ezsignsignature_get_ezsignsignatures_automatic_v1(self) -> None: """ pass - def test_ezsignsignature_get_object_v2(self) -> None: - """Test case for ezsignsignature_get_object_v2 + def test_ezsignsignature_get_object_v3(self) -> None: + """Test case for ezsignsignature_get_object_v3 Retrieve an existing Ezsignsignature """ diff --git a/test/test_object_ezsigntemplate_api.py b/test/test_object_ezsigntemplate_api.py index 0cfd9829a..a2f7667a9 100644 --- a/test/test_object_ezsigntemplate_api.py +++ b/test/test_object_ezsigntemplate_api.py @@ -34,15 +34,8 @@ def test_ezsigntemplate_copy_v1(self) -> None: """ pass - def test_ezsigntemplate_create_object_v1(self) -> None: - """Test case for ezsigntemplate_create_object_v1 - - Create a new Ezsigntemplate - """ - pass - - def test_ezsigntemplate_create_object_v2(self) -> None: - """Test case for ezsigntemplate_create_object_v2 + def test_ezsigntemplate_create_object_v3(self) -> None: + """Test case for ezsigntemplate_create_object_v3 Create a new Ezsigntemplate """ @@ -55,15 +48,8 @@ def test_ezsigntemplate_delete_object_v1(self) -> None: """ pass - def test_ezsigntemplate_edit_object_v1(self) -> None: - """Test case for ezsigntemplate_edit_object_v1 - - Edit an existing Ezsigntemplate - """ - pass - - def test_ezsigntemplate_edit_object_v2(self) -> None: - """Test case for ezsigntemplate_edit_object_v2 + def test_ezsigntemplate_edit_object_v3(self) -> None: + """Test case for ezsigntemplate_edit_object_v3 Edit an existing Ezsigntemplate """ @@ -83,15 +69,8 @@ def test_ezsigntemplate_get_list_v1(self) -> None: """ pass - def test_ezsigntemplate_get_object_v1(self) -> None: - """Test case for ezsigntemplate_get_object_v1 - - Retrieve an existing Ezsigntemplate - """ - pass - - def test_ezsigntemplate_get_object_v2(self) -> None: - """Test case for ezsigntemplate_get_object_v2 + def test_ezsigntemplate_get_object_v3(self) -> None: + """Test case for ezsigntemplate_get_object_v3 Retrieve an existing Ezsigntemplate """ diff --git a/test/test_object_ezsigntemplatedocument_api.py b/test/test_object_ezsigntemplatedocument_api.py index c0f224b90..20810858e 100644 --- a/test/test_object_ezsigntemplatedocument_api.py +++ b/test/test_object_ezsigntemplatedocument_api.py @@ -34,6 +34,13 @@ def test_ezsigntemplatedocument_create_object_v1(self) -> None: """ pass + def test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1(self) -> None: + """Test case for ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1 + + Edit multiple Ezsigntemplatedocumentpagerecognitions + """ + pass + def test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1(self) -> None: """Test case for ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1 @@ -55,6 +62,13 @@ def test_ezsigntemplatedocument_edit_object_v1(self) -> None: """ pass + def test_ezsigntemplatedocument_extract_text_v1(self) -> None: + """Test case for ezsigntemplatedocument_extract_text_v1 + + Extract text from Ezsigntemplatedocument area + """ + pass + def test_ezsigntemplatedocument_flatten_v1(self) -> None: """Test case for ezsigntemplatedocument_flatten_v1 @@ -62,6 +76,13 @@ def test_ezsigntemplatedocument_flatten_v1(self) -> None: """ pass + def test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1(self) -> None: + """Test case for ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1 + + Retrieve an existing Ezsigntemplatedocument's Ezsigntemplatedocumentpagerecognitions + """ + pass + def test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1(self) -> None: """Test case for ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1 diff --git a/test/test_object_ezsigntemplatedocumentpagerecognition_api.py b/test/test_object_ezsigntemplatedocumentpagerecognition_api.py new file mode 100644 index 000000000..ac2c61795 --- /dev/null +++ b/test/test_object_ezsigntemplatedocumentpagerecognition_api.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_ezsigntemplatedocumentpagerecognition_api import ObjectEzsigntemplatedocumentpagerecognitionApi + + +class TestObjectEzsigntemplatedocumentpagerecognitionApi(unittest.TestCase): + """ObjectEzsigntemplatedocumentpagerecognitionApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectEzsigntemplatedocumentpagerecognitionApi() + + def tearDown(self) -> None: + pass + + def test_ezsigntemplatedocumentpagerecognition_create_object_v1(self) -> None: + """Test case for ezsigntemplatedocumentpagerecognition_create_object_v1 + + Create a new Ezsigntemplatedocumentpagerecognition + """ + pass + + def test_ezsigntemplatedocumentpagerecognition_delete_object_v1(self) -> None: + """Test case for ezsigntemplatedocumentpagerecognition_delete_object_v1 + + Delete an existing Ezsigntemplatedocumentpagerecognition + """ + pass + + def test_ezsigntemplatedocumentpagerecognition_edit_object_v1(self) -> None: + """Test case for ezsigntemplatedocumentpagerecognition_edit_object_v1 + + Edit an existing Ezsigntemplatedocumentpagerecognition + """ + pass + + def test_ezsigntemplatedocumentpagerecognition_get_object_v2(self) -> None: + """Test case for ezsigntemplatedocumentpagerecognition_get_object_v2 + + Retrieve an existing Ezsigntemplatedocumentpagerecognition + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_ezsigntemplatepublic_api.py b/test/test_object_ezsigntemplatepublic_api.py new file mode 100644 index 000000000..78eed0d06 --- /dev/null +++ b/test/test_object_ezsigntemplatepublic_api.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_ezsigntemplatepublic_api import ObjectEzsigntemplatepublicApi + + +class TestObjectEzsigntemplatepublicApi(unittest.TestCase): + """ObjectEzsigntemplatepublicApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectEzsigntemplatepublicApi() + + def tearDown(self) -> None: + pass + + def test_ezsigntemplatepublic_create_ezsignfolder_v1(self) -> None: + """Test case for ezsigntemplatepublic_create_ezsignfolder_v1 + + Create an Ezsignfolder + """ + pass + + def test_ezsigntemplatepublic_create_object_v1(self) -> None: + """Test case for ezsigntemplatepublic_create_object_v1 + + Create a new Ezsigntemplatepublic + """ + pass + + def test_ezsigntemplatepublic_edit_object_v1(self) -> None: + """Test case for ezsigntemplatepublic_edit_object_v1 + + Edit an existing Ezsigntemplatepublic + """ + pass + + def test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1(self) -> None: + """Test case for ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1 + + Retrieve the Ezsigntemplatepublic details + """ + pass + + def test_ezsigntemplatepublic_get_forms_data_v1(self) -> None: + """Test case for ezsigntemplatepublic_get_forms_data_v1 + + Retrieve an existing Ezsigntemplatepublic's forms data + """ + pass + + def test_ezsigntemplatepublic_get_list_v1(self) -> None: + """Test case for ezsigntemplatepublic_get_list_v1 + + Retrieve Ezsigntemplatepublic list + """ + pass + + def test_ezsigntemplatepublic_get_object_v2(self) -> None: + """Test case for ezsigntemplatepublic_get_object_v2 + + Retrieve an existing Ezsigntemplatepublic + """ + pass + + def test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1(self) -> None: + """Test case for ezsigntemplatepublic_reset_limit_exceeded_counter_v1 + + Reset the limit exceeded counter + """ + pass + + def test_ezsigntemplatepublic_reset_url_v1(self) -> None: + """Test case for ezsigntemplatepublic_reset_url_v1 + + Reset the Ezsigntemplatepublic url + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_ezsigntemplatesignature_api.py b/test/test_object_ezsigntemplatesignature_api.py index c6ae6e8c8..7018734ed 100644 --- a/test/test_object_ezsigntemplatesignature_api.py +++ b/test/test_object_ezsigntemplatesignature_api.py @@ -27,8 +27,8 @@ def setUp(self) -> None: def tearDown(self) -> None: pass - def test_ezsigntemplatesignature_create_object_v1(self) -> None: - """Test case for ezsigntemplatesignature_create_object_v1 + def test_ezsigntemplatesignature_create_object_v2(self) -> None: + """Test case for ezsigntemplatesignature_create_object_v2 Create a new Ezsigntemplatesignature """ @@ -41,15 +41,15 @@ def test_ezsigntemplatesignature_delete_object_v1(self) -> None: """ pass - def test_ezsigntemplatesignature_edit_object_v1(self) -> None: - """Test case for ezsigntemplatesignature_edit_object_v1 + def test_ezsigntemplatesignature_edit_object_v2(self) -> None: + """Test case for ezsigntemplatesignature_edit_object_v2 Edit an existing Ezsigntemplatesignature """ pass - def test_ezsigntemplatesignature_get_object_v2(self) -> None: - """Test case for ezsigntemplatesignature_get_object_v2 + def test_ezsigntemplatesignature_get_object_v3(self) -> None: + """Test case for ezsigntemplatesignature_get_object_v3 Retrieve an existing Ezsigntemplatesignature """ diff --git a/test/test_object_ezsignuser_api.py b/test/test_object_ezsignuser_api.py new file mode 100644 index 000000000..87654cf0f --- /dev/null +++ b/test/test_object_ezsignuser_api.py @@ -0,0 +1,46 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_ezsignuser_api import ObjectEzsignuserApi + + +class TestObjectEzsignuserApi(unittest.TestCase): + """ObjectEzsignuserApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectEzsignuserApi() + + def tearDown(self) -> None: + pass + + def test_ezsignuser_edit_object_v1(self) -> None: + """Test case for ezsignuser_edit_object_v1 + + Edit an existing Ezsignuser + """ + pass + + def test_ezsignuser_get_object_v2(self) -> None: + """Test case for ezsignuser_get_object_v2 + + Retrieve an existing Ezsignuser + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_glaccount_api.py b/test/test_object_glaccount_api.py new file mode 100644 index 000000000..2763898b9 --- /dev/null +++ b/test/test_object_glaccount_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_glaccount_api import ObjectGlaccountApi + + +class TestObjectGlaccountApi(unittest.TestCase): + """ObjectGlaccountApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectGlaccountApi() + + def tearDown(self) -> None: + pass + + def test_glaccount_get_autocomplete_v2(self) -> None: + """Test case for glaccount_get_autocomplete_v2 + + Retrieve Glaccounts and IDs + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_glaccountcontainer_api.py b/test/test_object_glaccountcontainer_api.py new file mode 100644 index 000000000..7faeb6c35 --- /dev/null +++ b/test/test_object_glaccountcontainer_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_glaccountcontainer_api import ObjectGlaccountcontainerApi + + +class TestObjectGlaccountcontainerApi(unittest.TestCase): + """ObjectGlaccountcontainerApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectGlaccountcontainerApi() + + def tearDown(self) -> None: + pass + + def test_glaccountcontainer_get_autocomplete_v2(self) -> None: + """Test case for glaccountcontainer_get_autocomplete_v2 + + Retrieve Glaccountcontainers and IDs + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_inscription_api.py b/test/test_object_inscription_api.py index f4378e129..1ef8d4cc5 100644 --- a/test/test_object_inscription_api.py +++ b/test/test_object_inscription_api.py @@ -34,6 +34,13 @@ def test_inscription_get_attachments_v1(self) -> None: """ pass + def test_inscription_get_communication_count_v1(self) -> None: + """Test case for inscription_get_communication_count_v1 + + Retrieve Communication count + """ + pass + def test_inscription_get_communication_list_v1(self) -> None: """Test case for inscription_get_communication_list_v1 @@ -41,6 +48,13 @@ def test_inscription_get_communication_list_v1(self) -> None: """ pass + def test_inscription_get_communicationrecipients_v1(self) -> None: + """Test case for inscription_get_communicationrecipients_v1 + + Retrieve Inscription's Communicationrecipient + """ + pass + def test_inscription_get_communicationsenders_v1(self) -> None: """Test case for inscription_get_communicationsenders_v1 diff --git a/test/test_object_inscriptionnotauthenticated_api.py b/test/test_object_inscriptionnotauthenticated_api.py index 4fadd5a24..3335183a7 100644 --- a/test/test_object_inscriptionnotauthenticated_api.py +++ b/test/test_object_inscriptionnotauthenticated_api.py @@ -27,6 +27,13 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_inscriptionnotauthenticated_get_communication_count_v1(self) -> None: + """Test case for inscriptionnotauthenticated_get_communication_count_v1 + + Retrieve Communication count + """ + pass + def test_inscriptionnotauthenticated_get_communication_list_v1(self) -> None: """Test case for inscriptionnotauthenticated_get_communication_list_v1 @@ -34,6 +41,20 @@ def test_inscriptionnotauthenticated_get_communication_list_v1(self) -> None: """ pass + def test_inscriptionnotauthenticated_get_communicationrecipients_v1(self) -> None: + """Test case for inscriptionnotauthenticated_get_communicationrecipients_v1 + + Retrieve Inscriptionnotauthenticated's Communicationrecipient + """ + pass + + def test_inscriptionnotauthenticated_get_communicationsenders_v1(self) -> None: + """Test case for inscriptionnotauthenticated_get_communicationsenders_v1 + + Retrieve Inscriptionnotauthenticated's Communicationsender + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_object_inscriptiontemp_api.py b/test/test_object_inscriptiontemp_api.py index ae2ca5694..1648e4591 100644 --- a/test/test_object_inscriptiontemp_api.py +++ b/test/test_object_inscriptiontemp_api.py @@ -27,6 +27,13 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_inscriptiontemp_get_communication_count_v1(self) -> None: + """Test case for inscriptiontemp_get_communication_count_v1 + + Retrieve Communication count + """ + pass + def test_inscriptiontemp_get_communication_list_v1(self) -> None: """Test case for inscriptiontemp_get_communication_list_v1 @@ -34,6 +41,20 @@ def test_inscriptiontemp_get_communication_list_v1(self) -> None: """ pass + def test_inscriptiontemp_get_communicationrecipients_v1(self) -> None: + """Test case for inscriptiontemp_get_communicationrecipients_v1 + + Retrieve Inscriptiontemp's Communicationrecipient + """ + pass + + def test_inscriptiontemp_get_communicationsenders_v1(self) -> None: + """Test case for inscriptiontemp_get_communicationsenders_v1 + + Retrieve Inscriptiontemp's Communicationsender + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_object_invoice_api.py b/test/test_object_invoice_api.py index 516f285b7..0de91d5d2 100644 --- a/test/test_object_invoice_api.py +++ b/test/test_object_invoice_api.py @@ -34,6 +34,13 @@ def test_invoice_get_attachments_v1(self) -> None: """ pass + def test_invoice_get_communication_count_v1(self) -> None: + """Test case for invoice_get_communication_count_v1 + + Retrieve Communication count + """ + pass + def test_invoice_get_communication_list_v1(self) -> None: """Test case for invoice_get_communication_list_v1 @@ -41,6 +48,20 @@ def test_invoice_get_communication_list_v1(self) -> None: """ pass + def test_invoice_get_communicationrecipients_v1(self) -> None: + """Test case for invoice_get_communicationrecipients_v1 + + Retrieve Invoice's Communicationrecipient + """ + pass + + def test_invoice_get_communicationsenders_v1(self) -> None: + """Test case for invoice_get_communicationsenders_v1 + + Retrieve Invoice's Communicationsender + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_object_otherincome_api.py b/test/test_object_otherincome_api.py index 4b91e028c..efce13d81 100644 --- a/test/test_object_otherincome_api.py +++ b/test/test_object_otherincome_api.py @@ -27,6 +27,13 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_otherincome_get_communication_count_v1(self) -> None: + """Test case for otherincome_get_communication_count_v1 + + Retrieve Communication count + """ + pass + def test_otherincome_get_communication_list_v1(self) -> None: """Test case for otherincome_get_communication_list_v1 @@ -34,6 +41,20 @@ def test_otherincome_get_communication_list_v1(self) -> None: """ pass + def test_otherincome_get_communicationrecipients_v1(self) -> None: + """Test case for otherincome_get_communicationrecipients_v1 + + Retrieve Otherincome's Communicationrecipient + """ + pass + + def test_otherincome_get_communicationsenders_v1(self) -> None: + """Test case for otherincome_get_communicationsenders_v1 + + Retrieve Otherincome's Communicationsender + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_object_pdfalevel_api.py b/test/test_object_pdfalevel_api.py new file mode 100644 index 000000000..e6f0d4d41 --- /dev/null +++ b/test/test_object_pdfalevel_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_pdfalevel_api import ObjectPdfalevelApi + + +class TestObjectPdfalevelApi(unittest.TestCase): + """ObjectPdfalevelApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectPdfalevelApi() + + def tearDown(self) -> None: + pass + + def test_pdfalevel_get_autocomplete_v2(self) -> None: + """Test case for pdfalevel_get_autocomplete_v2 + + Retrieve Pdfalevels and IDs + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_rejectedoffertopurchase_api.py b/test/test_object_rejectedoffertopurchase_api.py index 4d94a4779..ece63c595 100644 --- a/test/test_object_rejectedoffertopurchase_api.py +++ b/test/test_object_rejectedoffertopurchase_api.py @@ -27,6 +27,13 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_rejectedoffertopurchase_get_communication_count_v1(self) -> None: + """Test case for rejectedoffertopurchase_get_communication_count_v1 + + Retrieve Communication count + """ + pass + def test_rejectedoffertopurchase_get_communication_list_v1(self) -> None: """Test case for rejectedoffertopurchase_get_communication_list_v1 @@ -34,6 +41,20 @@ def test_rejectedoffertopurchase_get_communication_list_v1(self) -> None: """ pass + def test_rejectedoffertopurchase_get_communicationrecipients_v1(self) -> None: + """Test case for rejectedoffertopurchase_get_communicationrecipients_v1 + + Retrieve Rejectedoffertopurchase's Communicationrecipient + """ + pass + + def test_rejectedoffertopurchase_get_communicationsenders_v1(self) -> None: + """Test case for rejectedoffertopurchase_get_communicationsenders_v1 + + Retrieve Rejectedoffertopurchase's Communicationsender + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_object_signature_api.py b/test/test_object_signature_api.py index a78b79fbf..6525c5dad 100644 --- a/test/test_object_signature_api.py +++ b/test/test_object_signature_api.py @@ -55,6 +55,27 @@ def test_signature_get_object_v2(self) -> None: """ pass + def test_signature_get_object_v3(self) -> None: + """Test case for signature_get_object_v3 + + Retrieve an existing Signature + """ + pass + + def test_signature_get_svg_initials_v1(self) -> None: + """Test case for signature_get_svg_initials_v1 + + Retrieve an existing Signature initial SVG + """ + pass + + def test_signature_get_svg_signature_v1(self) -> None: + """Test case for signature_get_svg_signature_v1 + + Retrieve an existing Signature SVG + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_object_supply_api.py b/test/test_object_supply_api.py new file mode 100644 index 000000000..7242e27da --- /dev/null +++ b/test/test_object_supply_api.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_supply_api import ObjectSupplyApi + + +class TestObjectSupplyApi(unittest.TestCase): + """ObjectSupplyApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectSupplyApi() + + def tearDown(self) -> None: + pass + + def test_supply_create_object_v1(self) -> None: + """Test case for supply_create_object_v1 + + Create a new Supply + """ + pass + + def test_supply_delete_object_v1(self) -> None: + """Test case for supply_delete_object_v1 + + Delete an existing Supply + """ + pass + + def test_supply_edit_object_v1(self) -> None: + """Test case for supply_edit_object_v1 + + Edit an existing Supply + """ + pass + + def test_supply_get_autocomplete_v2(self) -> None: + """Test case for supply_get_autocomplete_v2 + + Retrieve Supplys and IDs + """ + pass + + def test_supply_get_list_v1(self) -> None: + """Test case for supply_get_list_v1 + + Retrieve Supply list + """ + pass + + def test_supply_get_object_v2(self) -> None: + """Test case for supply_get_object_v2 + + Retrieve an existing Supply + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_tranqcontract_api.py b/test/test_object_tranqcontract_api.py new file mode 100644 index 000000000..9b6e8d89d --- /dev/null +++ b/test/test_object_tranqcontract_api.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_tranqcontract_api import ObjectTranqcontractApi + + +class TestObjectTranqcontractApi(unittest.TestCase): + """ObjectTranqcontractApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectTranqcontractApi() + + def tearDown(self) -> None: + pass + + def test_tranqcontract_get_communication_count_v1(self) -> None: + """Test case for tranqcontract_get_communication_count_v1 + + Retrieve Communication count + """ + pass + + def test_tranqcontract_get_communication_list_v1(self) -> None: + """Test case for tranqcontract_get_communication_list_v1 + + Retrieve Communication list + """ + pass + + def test_tranqcontract_get_communicationrecipients_v1(self) -> None: + """Test case for tranqcontract_get_communicationrecipients_v1 + + Retrieve Tranqcontract's Communicationrecipient + """ + pass + + def test_tranqcontract_get_communicationsenders_v1(self) -> None: + """Test case for tranqcontract_get_communicationsenders_v1 + + Retrieve Tranqcontract's Communicationsender + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_user_api.py b/test/test_object_user_api.py index c5506ee43..fd3c92741 100644 --- a/test/test_object_user_api.py +++ b/test/test_object_user_api.py @@ -41,6 +41,13 @@ def test_user_create_object_v2(self) -> None: """ pass + def test_user_edit_colleagues_v2(self) -> None: + """Test case for user_edit_colleagues_v2 + + Edit multiple Colleagues + """ + pass + def test_user_edit_object_v1(self) -> None: """Test case for user_edit_object_v1 @@ -69,6 +76,13 @@ def test_user_get_autocomplete_v2(self) -> None: """ pass + def test_user_get_colleagues_v2(self) -> None: + """Test case for user_get_colleagues_v2 + + Retrieve an existing User's Colleagues + """ + pass + def test_user_get_effective_permissions_v1(self) -> None: """Test case for user_get_effective_permissions_v1 diff --git a/test/test_object_webhook_api.py b/test/test_object_webhook_api.py index 3f120771a..3acfbd75f 100644 --- a/test/test_object_webhook_api.py +++ b/test/test_object_webhook_api.py @@ -76,6 +76,13 @@ def test_webhook_regenerate_apikey_v1(self) -> None: """ pass + def test_webhook_send_webhook_v1(self) -> None: + """Test case for webhook_send_webhook_v1 + + Emit a Webhook event + """ + pass + def test_webhook_test_v1(self) -> None: """Test case for webhook_test_v1 diff --git a/test/test_otherincome_get_communication_count_v1_response.py b/test/test_otherincome_get_communication_count_v1_response.py new file mode 100644 index 000000000..45424b281 --- /dev/null +++ b/test/test_otherincome_get_communication_count_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.otherincome_get_communication_count_v1_response import OtherincomeGetCommunicationCountV1Response + +class TestOtherincomeGetCommunicationCountV1Response(unittest.TestCase): + """OtherincomeGetCommunicationCountV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OtherincomeGetCommunicationCountV1Response: + """Test OtherincomeGetCommunicationCountV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `OtherincomeGetCommunicationCountV1Response` + """ + model = OtherincomeGetCommunicationCountV1Response() + if include_optional: + return OtherincomeGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.otherincome_get_communication_count_v1_response_m_payload.otherincome-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ) + ) + else: + return OtherincomeGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.otherincome_get_communication_count_v1_response_m_payload.otherincome-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ), + ) + """ + + def testOtherincomeGetCommunicationCountV1Response(self): + """Test OtherincomeGetCommunicationCountV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_otherincome_get_communication_count_v1_response_m_payload.py b/test/test_otherincome_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..c333f8cb1 --- /dev/null +++ b/test/test_otherincome_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.otherincome_get_communication_count_v1_response_m_payload import OtherincomeGetCommunicationCountV1ResponseMPayload + +class TestOtherincomeGetCommunicationCountV1ResponseMPayload(unittest.TestCase): + """OtherincomeGetCommunicationCountV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OtherincomeGetCommunicationCountV1ResponseMPayload: + """Test OtherincomeGetCommunicationCountV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `OtherincomeGetCommunicationCountV1ResponseMPayload` + """ + model = OtherincomeGetCommunicationCountV1ResponseMPayload() + if include_optional: + return OtherincomeGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8 + ) + else: + return OtherincomeGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8, + ) + """ + + def testOtherincomeGetCommunicationCountV1ResponseMPayload(self): + """Test OtherincomeGetCommunicationCountV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_otherincome_get_communication_list_v1_response.py b/test/test_otherincome_get_communication_list_v1_response.py index d9b01b788..d59baf943 100644 --- a/test/test_otherincome_get_communication_list_v1_response.py +++ b/test/test_otherincome_get_communication_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> OtherincomeGetCommunicationListV1Response: """Test OtherincomeGetCommunicationListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `OtherincomeGetCommunicationListV1Response` diff --git a/test/test_otherincome_get_communication_list_v1_response_m_payload.py b/test/test_otherincome_get_communication_list_v1_response_m_payload.py index 6fe2dc9e9..2bc062a29 100644 --- a/test/test_otherincome_get_communication_list_v1_response_m_payload.py +++ b/test/test_otherincome_get_communication_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> OtherincomeGetCommunicationListV1ResponseMPayload: """Test OtherincomeGetCommunicationListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `OtherincomeGetCommunicationListV1ResponseMPayload` diff --git a/test/test_otherincome_get_communicationrecipients_v1_response.py b/test/test_otherincome_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..f3fecf473 --- /dev/null +++ b/test/test_otherincome_get_communicationrecipients_v1_response.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response import OtherincomeGetCommunicationrecipientsV1Response + +class TestOtherincomeGetCommunicationrecipientsV1Response(unittest.TestCase): + """OtherincomeGetCommunicationrecipientsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OtherincomeGetCommunicationrecipientsV1Response: + """Test OtherincomeGetCommunicationrecipientsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `OtherincomeGetCommunicationrecipientsV1Response` + """ + model = OtherincomeGetCommunicationrecipientsV1Response() + if include_optional: + return OtherincomeGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.otherincome_get_communicationrecipients_v1_response_m_payload.otherincome-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ) + ) + else: + return OtherincomeGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.otherincome_get_communicationrecipients_v1_response_m_payload.otherincome-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ), + ) + """ + + def testOtherincomeGetCommunicationrecipientsV1Response(self): + """Test OtherincomeGetCommunicationrecipientsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_otherincome_get_communicationrecipients_v1_response_m_payload.py b/test/test_otherincome_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..b2ab468bd --- /dev/null +++ b/test/test_otherincome_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response_m_payload import OtherincomeGetCommunicationrecipientsV1ResponseMPayload + +class TestOtherincomeGetCommunicationrecipientsV1ResponseMPayload(unittest.TestCase): + """OtherincomeGetCommunicationrecipientsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OtherincomeGetCommunicationrecipientsV1ResponseMPayload: + """Test OtherincomeGetCommunicationrecipientsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `OtherincomeGetCommunicationrecipientsV1ResponseMPayload` + """ + model = OtherincomeGetCommunicationrecipientsV1ResponseMPayload() + if include_optional: + return OtherincomeGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ] + ) + else: + return OtherincomeGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], + ) + """ + + def testOtherincomeGetCommunicationrecipientsV1ResponseMPayload(self): + """Test OtherincomeGetCommunicationrecipientsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_otherincome_get_communicationsenders_v1_response.py b/test/test_otherincome_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..09f987587 --- /dev/null +++ b/test/test_otherincome_get_communicationsenders_v1_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response import OtherincomeGetCommunicationsendersV1Response + +class TestOtherincomeGetCommunicationsendersV1Response(unittest.TestCase): + """OtherincomeGetCommunicationsendersV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OtherincomeGetCommunicationsendersV1Response: + """Test OtherincomeGetCommunicationsendersV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `OtherincomeGetCommunicationsendersV1Response` + """ + model = OtherincomeGetCommunicationsendersV1Response() + if include_optional: + return OtherincomeGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.otherincome_get_communicationsenders_v1_response_m_payload.otherincome-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ) + else: + return OtherincomeGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.otherincome_get_communicationsenders_v1_response_m_payload.otherincome-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ), + ) + """ + + def testOtherincomeGetCommunicationsendersV1Response(self): + """Test OtherincomeGetCommunicationsendersV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_otherincome_get_communicationsenders_v1_response_m_payload.py b/test/test_otherincome_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..8af8a915a --- /dev/null +++ b/test/test_otherincome_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.otherincome_get_communicationsenders_v1_response_m_payload import OtherincomeGetCommunicationsendersV1ResponseMPayload + +class TestOtherincomeGetCommunicationsendersV1ResponseMPayload(unittest.TestCase): + """OtherincomeGetCommunicationsendersV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OtherincomeGetCommunicationsendersV1ResponseMPayload: + """Test OtherincomeGetCommunicationsendersV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `OtherincomeGetCommunicationsendersV1ResponseMPayload` + """ + model = OtherincomeGetCommunicationsendersV1ResponseMPayload() + if include_optional: + return OtherincomeGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ] + ) + else: + return OtherincomeGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], + ) + """ + + def testOtherincomeGetCommunicationsendersV1ResponseMPayload(self): + """Test OtherincomeGetCommunicationsendersV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_paymentterm_autocomplete_element_response.py b/test/test_paymentterm_autocomplete_element_response.py index 5c1b9d48b..7d1e6c65a 100644 --- a/test/test_paymentterm_autocomplete_element_response.py +++ b/test/test_paymentterm_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermAutocompleteElementResponse: """Test PaymenttermAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermAutocompleteElementResponse` diff --git a/test/test_paymentterm_create_object_v1_request.py b/test/test_paymentterm_create_object_v1_request.py index bb003c2e7..c035dc3c7 100644 --- a/test/test_paymentterm_create_object_v1_request.py +++ b/test/test_paymentterm_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermCreateObjectV1Request: """Test PaymenttermCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermCreateObjectV1Request` diff --git a/test/test_paymentterm_create_object_v1_response.py b/test/test_paymentterm_create_object_v1_response.py index c6e9411f8..01a895ec9 100644 --- a/test/test_paymentterm_create_object_v1_response.py +++ b/test/test_paymentterm_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermCreateObjectV1Response: """Test PaymenttermCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermCreateObjectV1Response` diff --git a/test/test_paymentterm_create_object_v1_response_m_payload.py b/test/test_paymentterm_create_object_v1_response_m_payload.py index bd4236b5e..94b060fcf 100644 --- a/test/test_paymentterm_create_object_v1_response_m_payload.py +++ b/test/test_paymentterm_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermCreateObjectV1ResponseMPayload: """Test PaymenttermCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermCreateObjectV1ResponseMPayload` diff --git a/test/test_paymentterm_edit_object_v1_request.py b/test/test_paymentterm_edit_object_v1_request.py index f7bde8eed..bf6d9bdcc 100644 --- a/test/test_paymentterm_edit_object_v1_request.py +++ b/test/test_paymentterm_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermEditObjectV1Request: """Test PaymenttermEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermEditObjectV1Request` diff --git a/test/test_paymentterm_edit_object_v1_response.py b/test/test_paymentterm_edit_object_v1_response.py index f9dc57a9d..bef191027 100644 --- a/test/test_paymentterm_edit_object_v1_response.py +++ b/test/test_paymentterm_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermEditObjectV1Response: """Test PaymenttermEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermEditObjectV1Response` diff --git a/test/test_paymentterm_get_autocomplete_v2_response.py b/test/test_paymentterm_get_autocomplete_v2_response.py index d02fc9f9d..2e96be8e4 100644 --- a/test/test_paymentterm_get_autocomplete_v2_response.py +++ b/test/test_paymentterm_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermGetAutocompleteV2Response: """Test PaymenttermGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermGetAutocompleteV2Response` diff --git a/test/test_paymentterm_get_autocomplete_v2_response_m_payload.py b/test/test_paymentterm_get_autocomplete_v2_response_m_payload.py index 670d310df..c8a41015b 100644 --- a/test/test_paymentterm_get_autocomplete_v2_response_m_payload.py +++ b/test/test_paymentterm_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermGetAutocompleteV2ResponseMPayload: """Test PaymenttermGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermGetAutocompleteV2ResponseMPayload` diff --git a/test/test_paymentterm_get_list_v1_response.py b/test/test_paymentterm_get_list_v1_response.py index 90a254946..a974bb11a 100644 --- a/test/test_paymentterm_get_list_v1_response.py +++ b/test/test_paymentterm_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermGetListV1Response: """Test PaymenttermGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermGetListV1Response` diff --git a/test/test_paymentterm_get_list_v1_response_m_payload.py b/test/test_paymentterm_get_list_v1_response_m_payload.py index 7fe40380f..abd97577b 100644 --- a/test/test_paymentterm_get_list_v1_response_m_payload.py +++ b/test/test_paymentterm_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermGetListV1ResponseMPayload: """Test PaymenttermGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermGetListV1ResponseMPayload` diff --git a/test/test_paymentterm_get_object_v2_response.py b/test/test_paymentterm_get_object_v2_response.py index 43842f443..3a6558b58 100644 --- a/test/test_paymentterm_get_object_v2_response.py +++ b/test/test_paymentterm_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermGetObjectV2Response: """Test PaymenttermGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermGetObjectV2Response` diff --git a/test/test_paymentterm_get_object_v2_response_m_payload.py b/test/test_paymentterm_get_object_v2_response_m_payload.py index 637fc50e9..d4296a647 100644 --- a/test/test_paymentterm_get_object_v2_response_m_payload.py +++ b/test/test_paymentterm_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermGetObjectV2ResponseMPayload: """Test PaymenttermGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermGetObjectV2ResponseMPayload` diff --git a/test/test_paymentterm_list_element.py b/test/test_paymentterm_list_element.py index 48d34c8f4..a1b184639 100644 --- a/test/test_paymentterm_list_element.py +++ b/test/test_paymentterm_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermListElement: """Test PaymenttermListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermListElement` diff --git a/test/test_paymentterm_request.py b/test/test_paymentterm_request.py index 1cd39bacb..184c23391 100644 --- a/test/test_paymentterm_request.py +++ b/test/test_paymentterm_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermRequest: """Test PaymenttermRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermRequest` diff --git a/test/test_paymentterm_request_compound.py b/test/test_paymentterm_request_compound.py index 33602d524..3c7a451ce 100644 --- a/test/test_paymentterm_request_compound.py +++ b/test/test_paymentterm_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermRequestCompound: """Test PaymenttermRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermRequestCompound` diff --git a/test/test_paymentterm_response.py b/test/test_paymentterm_response.py index bec8b39ab..34344cffe 100644 --- a/test/test_paymentterm_response.py +++ b/test/test_paymentterm_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermResponse: """Test PaymenttermResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermResponse` diff --git a/test/test_paymentterm_response_compound.py b/test/test_paymentterm_response_compound.py index 89f4dc44f..da543aabe 100644 --- a/test/test_paymentterm_response_compound.py +++ b/test/test_paymentterm_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PaymenttermResponseCompound: """Test PaymenttermResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PaymenttermResponseCompound` diff --git a/test/test_pdfalevel_autocomplete_element_response.py b/test/test_pdfalevel_autocomplete_element_response.py new file mode 100644 index 000000000..db928700c --- /dev/null +++ b/test/test_pdfalevel_autocomplete_element_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.pdfalevel_autocomplete_element_response import PdfalevelAutocompleteElementResponse + +class TestPdfalevelAutocompleteElementResponse(unittest.TestCase): + """PdfalevelAutocompleteElementResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PdfalevelAutocompleteElementResponse: + """Test PdfalevelAutocompleteElementResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `PdfalevelAutocompleteElementResponse` + """ + model = PdfalevelAutocompleteElementResponse() + if include_optional: + return PdfalevelAutocompleteElementResponse( + pki_pdfalevel_id = 102, + s_pdfalevel_name = 'PDF/A-1a', + b_pdfalevel_isactive = True + ) + else: + return PdfalevelAutocompleteElementResponse( + pki_pdfalevel_id = 102, + s_pdfalevel_name = 'PDF/A-1a', + b_pdfalevel_isactive = True, + ) + """ + + def testPdfalevelAutocompleteElementResponse(self): + """Test PdfalevelAutocompleteElementResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_pdfalevel_get_autocomplete_v2_response.py b/test/test_pdfalevel_get_autocomplete_v2_response.py new file mode 100644 index 000000000..3250b5cd4 --- /dev/null +++ b/test/test_pdfalevel_get_autocomplete_v2_response.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response import PdfalevelGetAutocompleteV2Response + +class TestPdfalevelGetAutocompleteV2Response(unittest.TestCase): + """PdfalevelGetAutocompleteV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PdfalevelGetAutocompleteV2Response: + """Test PdfalevelGetAutocompleteV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `PdfalevelGetAutocompleteV2Response` + """ + model = PdfalevelGetAutocompleteV2Response() + if include_optional: + return PdfalevelGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.pdfalevel_get_autocomplete_v2_response_m_payload.pdfalevel-getAutocomplete-v2-Response-mPayload( + a_obj_pdfalevel = [ + eZmaxApi.models.pdfalevel_autocomplete_element_response.pdfalevel-AutocompleteElement-Response( + pki_pdfalevel_id = 102, + s_pdfalevel_name = 'PDF/A-1a', + b_pdfalevel_isactive = True, ) + ], ) + ) + else: + return PdfalevelGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.pdfalevel_get_autocomplete_v2_response_m_payload.pdfalevel-getAutocomplete-v2-Response-mPayload( + a_obj_pdfalevel = [ + eZmaxApi.models.pdfalevel_autocomplete_element_response.pdfalevel-AutocompleteElement-Response( + pki_pdfalevel_id = 102, + s_pdfalevel_name = 'PDF/A-1a', + b_pdfalevel_isactive = True, ) + ], ), + ) + """ + + def testPdfalevelGetAutocompleteV2Response(self): + """Test PdfalevelGetAutocompleteV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_pdfalevel_get_autocomplete_v2_response_m_payload.py b/test/test_pdfalevel_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..c49833897 --- /dev/null +++ b/test/test_pdfalevel_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response_m_payload import PdfalevelGetAutocompleteV2ResponseMPayload + +class TestPdfalevelGetAutocompleteV2ResponseMPayload(unittest.TestCase): + """PdfalevelGetAutocompleteV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PdfalevelGetAutocompleteV2ResponseMPayload: + """Test PdfalevelGetAutocompleteV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `PdfalevelGetAutocompleteV2ResponseMPayload` + """ + model = PdfalevelGetAutocompleteV2ResponseMPayload() + if include_optional: + return PdfalevelGetAutocompleteV2ResponseMPayload( + a_obj_pdfalevel = [ + eZmaxApi.models.pdfalevel_autocomplete_element_response.pdfalevel-AutocompleteElement-Response( + pki_pdfalevel_id = 102, + s_pdfalevel_name = 'PDF/A-1a', + b_pdfalevel_isactive = True, ) + ] + ) + else: + return PdfalevelGetAutocompleteV2ResponseMPayload( + a_obj_pdfalevel = [ + eZmaxApi.models.pdfalevel_autocomplete_element_response.pdfalevel-AutocompleteElement-Response( + pki_pdfalevel_id = 102, + s_pdfalevel_name = 'PDF/A-1a', + b_pdfalevel_isactive = True, ) + ], + ) + """ + + def testPdfalevelGetAutocompleteV2ResponseMPayload(self): + """Test PdfalevelGetAutocompleteV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_period_autocomplete_element_response.py b/test/test_period_autocomplete_element_response.py index f377ff5d4..ddaa1c520 100644 --- a/test/test_period_autocomplete_element_response.py +++ b/test/test_period_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PeriodAutocompleteElementResponse: """Test PeriodAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PeriodAutocompleteElementResponse` diff --git a/test/test_period_get_autocomplete_v2_response.py b/test/test_period_get_autocomplete_v2_response.py index 9ad6d959c..4c1c6aefe 100644 --- a/test/test_period_get_autocomplete_v2_response.py +++ b/test/test_period_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PeriodGetAutocompleteV2Response: """Test PeriodGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PeriodGetAutocompleteV2Response` diff --git a/test/test_period_get_autocomplete_v2_response_m_payload.py b/test/test_period_get_autocomplete_v2_response_m_payload.py index 15634a418..fe5c15870 100644 --- a/test/test_period_get_autocomplete_v2_response_m_payload.py +++ b/test/test_period_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PeriodGetAutocompleteV2ResponseMPayload: """Test PeriodGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PeriodGetAutocompleteV2ResponseMPayload` diff --git a/test/test_permission_create_object_v1_request.py b/test/test_permission_create_object_v1_request.py index 93813d8d9..164798e37 100644 --- a/test/test_permission_create_object_v1_request.py +++ b/test/test_permission_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionCreateObjectV1Request: """Test PermissionCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionCreateObjectV1Request` diff --git a/test/test_permission_create_object_v1_response.py b/test/test_permission_create_object_v1_response.py index cfb304158..7743ecb50 100644 --- a/test/test_permission_create_object_v1_response.py +++ b/test/test_permission_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionCreateObjectV1Response: """Test PermissionCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionCreateObjectV1Response` diff --git a/test/test_permission_create_object_v1_response_m_payload.py b/test/test_permission_create_object_v1_response_m_payload.py index 5fa7b1f34..50e1de4e6 100644 --- a/test/test_permission_create_object_v1_response_m_payload.py +++ b/test/test_permission_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionCreateObjectV1ResponseMPayload: """Test PermissionCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionCreateObjectV1ResponseMPayload` diff --git a/test/test_permission_delete_object_v1_response.py b/test/test_permission_delete_object_v1_response.py index 82be53ed0..2a6f0ad34 100644 --- a/test/test_permission_delete_object_v1_response.py +++ b/test/test_permission_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionDeleteObjectV1Response: """Test PermissionDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionDeleteObjectV1Response` diff --git a/test/test_permission_edit_object_v1_request.py b/test/test_permission_edit_object_v1_request.py index f3a90937a..2dfcb5c33 100644 --- a/test/test_permission_edit_object_v1_request.py +++ b/test/test_permission_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionEditObjectV1Request: """Test PermissionEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionEditObjectV1Request` diff --git a/test/test_permission_edit_object_v1_response.py b/test/test_permission_edit_object_v1_response.py index a5b9e523d..cae609c51 100644 --- a/test/test_permission_edit_object_v1_response.py +++ b/test/test_permission_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionEditObjectV1Response: """Test PermissionEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionEditObjectV1Response` diff --git a/test/test_permission_get_object_v2_response.py b/test/test_permission_get_object_v2_response.py index 0dc28e276..fba6c735c 100644 --- a/test/test_permission_get_object_v2_response.py +++ b/test/test_permission_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionGetObjectV2Response: """Test PermissionGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionGetObjectV2Response` diff --git a/test/test_permission_get_object_v2_response_m_payload.py b/test/test_permission_get_object_v2_response_m_payload.py index c9e4f5900..c6c3b1889 100644 --- a/test/test_permission_get_object_v2_response_m_payload.py +++ b/test/test_permission_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionGetObjectV2ResponseMPayload: """Test PermissionGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionGetObjectV2ResponseMPayload` diff --git a/test/test_permission_request.py b/test/test_permission_request.py index 9fb7e66f7..079f52c26 100644 --- a/test/test_permission_request.py +++ b/test/test_permission_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionRequest: """Test PermissionRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionRequest` diff --git a/test/test_permission_request_compound.py b/test/test_permission_request_compound.py index 65ad8a0a9..387869536 100644 --- a/test/test_permission_request_compound.py +++ b/test/test_permission_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionRequestCompound: """Test PermissionRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionRequestCompound` diff --git a/test/test_permission_response.py b/test/test_permission_response.py index 83a878246..d4547d207 100644 --- a/test/test_permission_response.py +++ b/test/test_permission_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionResponse: """Test PermissionResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionResponse` diff --git a/test/test_permission_response_compound.py b/test/test_permission_response_compound.py index 7683f5532..1d0ee4e17 100644 --- a/test/test_permission_response_compound.py +++ b/test/test_permission_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PermissionResponseCompound: """Test PermissionResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PermissionResponseCompound` diff --git a/test/test_phone_request.py b/test/test_phone_request.py index 4317a1be1..cbc8fe320 100644 --- a/test/test_phone_request.py +++ b/test/test_phone_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PhoneRequest: """Test PhoneRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PhoneRequest` diff --git a/test/test_phone_request_compound.py b/test/test_phone_request_compound.py index 742d42521..f75d26437 100644 --- a/test/test_phone_request_compound.py +++ b/test/test_phone_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PhoneRequestCompound: """Test PhoneRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PhoneRequestCompound` diff --git a/test/test_phone_request_compound_v2.py b/test/test_phone_request_compound_v2.py index 10c515b3d..e2d4c434f 100644 --- a/test/test_phone_request_compound_v2.py +++ b/test/test_phone_request_compound_v2.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PhoneRequestCompoundV2: """Test PhoneRequestCompoundV2 - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PhoneRequestCompoundV2` diff --git a/test/test_phone_request_v2.py b/test/test_phone_request_v2.py index 9bfb8c00f..5d9cdea86 100644 --- a/test/test_phone_request_v2.py +++ b/test/test_phone_request_v2.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PhoneRequestV2: """Test PhoneRequestV2 - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PhoneRequestV2` diff --git a/test/test_phone_response.py b/test/test_phone_response.py index 41d1757cf..0433bdd88 100644 --- a/test/test_phone_response.py +++ b/test/test_phone_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PhoneResponse: """Test PhoneResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PhoneResponse` diff --git a/test/test_phone_response_compound.py b/test/test_phone_response_compound.py index 0f8da12e4..78982dbad 100644 --- a/test/test_phone_response_compound.py +++ b/test/test_phone_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PhoneResponseCompound: """Test PhoneResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PhoneResponseCompound` diff --git a/test/test_phonetype_autocomplete_element_response.py b/test/test_phonetype_autocomplete_element_response.py index 7fb14edc4..2128036d5 100644 --- a/test/test_phonetype_autocomplete_element_response.py +++ b/test/test_phonetype_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PhonetypeAutocompleteElementResponse: """Test PhonetypeAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PhonetypeAutocompleteElementResponse` diff --git a/test/test_phonetype_get_autocomplete_v2_response.py b/test/test_phonetype_get_autocomplete_v2_response.py index 9a5953ccc..99aa7370b 100644 --- a/test/test_phonetype_get_autocomplete_v2_response.py +++ b/test/test_phonetype_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PhonetypeGetAutocompleteV2Response: """Test PhonetypeGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PhonetypeGetAutocompleteV2Response` diff --git a/test/test_phonetype_get_autocomplete_v2_response_m_payload.py b/test/test_phonetype_get_autocomplete_v2_response_m_payload.py index 53e636234..dcc1bf513 100644 --- a/test/test_phonetype_get_autocomplete_v2_response_m_payload.py +++ b/test/test_phonetype_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> PhonetypeGetAutocompleteV2ResponseMPayload: """Test PhonetypeGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `PhonetypeGetAutocompleteV2ResponseMPayload` diff --git a/test/test_province_autocomplete_element_response.py b/test/test_province_autocomplete_element_response.py index 25ca332ee..dd6c7aceb 100644 --- a/test/test_province_autocomplete_element_response.py +++ b/test/test_province_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ProvinceAutocompleteElementResponse: """Test ProvinceAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ProvinceAutocompleteElementResponse` diff --git a/test/test_province_get_autocomplete_v2_response.py b/test/test_province_get_autocomplete_v2_response.py index 48728df9d..938fc1816 100644 --- a/test/test_province_get_autocomplete_v2_response.py +++ b/test/test_province_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ProvinceGetAutocompleteV2Response: """Test ProvinceGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ProvinceGetAutocompleteV2Response` diff --git a/test/test_province_get_autocomplete_v2_response_m_payload.py b/test/test_province_get_autocomplete_v2_response_m_payload.py index f546957a7..76b6fb9b2 100644 --- a/test/test_province_get_autocomplete_v2_response_m_payload.py +++ b/test/test_province_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ProvinceGetAutocompleteV2ResponseMPayload: """Test ProvinceGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ProvinceGetAutocompleteV2ResponseMPayload` diff --git a/test/test_rejectedoffertopurchase_get_communication_count_v1_response.py b/test/test_rejectedoffertopurchase_get_communication_count_v1_response.py new file mode 100644 index 000000000..c5ee43d3a --- /dev/null +++ b/test/test_rejectedoffertopurchase_get_communication_count_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response import RejectedoffertopurchaseGetCommunicationCountV1Response + +class TestRejectedoffertopurchaseGetCommunicationCountV1Response(unittest.TestCase): + """RejectedoffertopurchaseGetCommunicationCountV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunicationCountV1Response: + """Test RejectedoffertopurchaseGetCommunicationCountV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `RejectedoffertopurchaseGetCommunicationCountV1Response` + """ + model = RejectedoffertopurchaseGetCommunicationCountV1Response() + if include_optional: + return RejectedoffertopurchaseGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response_m_payload.rejectedoffertopurchase-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ) + ) + else: + return RejectedoffertopurchaseGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response_m_payload.rejectedoffertopurchase-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ), + ) + """ + + def testRejectedoffertopurchaseGetCommunicationCountV1Response(self): + """Test RejectedoffertopurchaseGetCommunicationCountV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_rejectedoffertopurchase_get_communication_count_v1_response_m_payload.py b/test/test_rejectedoffertopurchase_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..cf6e356fa --- /dev/null +++ b/test/test_rejectedoffertopurchase_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload + +class TestRejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload(unittest.TestCase): + """RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload: + """Test RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload` + """ + model = RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload() + if include_optional: + return RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8 + ) + else: + return RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8, + ) + """ + + def testRejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload(self): + """Test RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_rejectedoffertopurchase_get_communication_list_v1_response.py b/test/test_rejectedoffertopurchase_get_communication_list_v1_response.py index c2e681f6a..4e7718ba7 100644 --- a/test/test_rejectedoffertopurchase_get_communication_list_v1_response.py +++ b/test/test_rejectedoffertopurchase_get_communication_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunicationListV1Response: """Test RejectedoffertopurchaseGetCommunicationListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `RejectedoffertopurchaseGetCommunicationListV1Response` diff --git a/test/test_rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py b/test/test_rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py index a51204d09..9958286e7 100644 --- a/test/test_rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py +++ b/test/test_rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload: """Test RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload` diff --git a/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response.py b/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..b5bab2c9b --- /dev/null +++ b/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response import RejectedoffertopurchaseGetCommunicationrecipientsV1Response + +class TestRejectedoffertopurchaseGetCommunicationrecipientsV1Response(unittest.TestCase): + """RejectedoffertopurchaseGetCommunicationrecipientsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunicationrecipientsV1Response: + """Test RejectedoffertopurchaseGetCommunicationrecipientsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `RejectedoffertopurchaseGetCommunicationrecipientsV1Response` + """ + model = RejectedoffertopurchaseGetCommunicationrecipientsV1Response() + if include_optional: + return RejectedoffertopurchaseGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.rejectedoffertopurchase-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ) + ) + else: + return RejectedoffertopurchaseGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.rejectedoffertopurchase-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ), + ) + """ + + def testRejectedoffertopurchaseGetCommunicationrecipientsV1Response(self): + """Test RejectedoffertopurchaseGetCommunicationrecipientsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.py b/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..69a82c66e --- /dev/null +++ b/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload + +class TestRejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload(unittest.TestCase): + """RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload: + """Test RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload` + """ + model = RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload() + if include_optional: + return RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ] + ) + else: + return RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], + ) + """ + + def testRejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload(self): + """Test RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response.py b/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..2ac97a2b4 --- /dev/null +++ b/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response import RejectedoffertopurchaseGetCommunicationsendersV1Response + +class TestRejectedoffertopurchaseGetCommunicationsendersV1Response(unittest.TestCase): + """RejectedoffertopurchaseGetCommunicationsendersV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunicationsendersV1Response: + """Test RejectedoffertopurchaseGetCommunicationsendersV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `RejectedoffertopurchaseGetCommunicationsendersV1Response` + """ + model = RejectedoffertopurchaseGetCommunicationsendersV1Response() + if include_optional: + return RejectedoffertopurchaseGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.rejectedoffertopurchase-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ) + else: + return RejectedoffertopurchaseGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.rejectedoffertopurchase-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ), + ) + """ + + def testRejectedoffertopurchaseGetCommunicationsendersV1Response(self): + """Test RejectedoffertopurchaseGetCommunicationsendersV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.py b/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..59c74d6dd --- /dev/null +++ b/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload + +class TestRejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload(unittest.TestCase): + """RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload: + """Test RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload` + """ + model = RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload() + if include_optional: + return RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ] + ) + else: + return RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], + ) + """ + + def testRejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload(self): + """Test RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_scim_authentication_scheme.py b/test/test_scim_authentication_scheme.py index 578b0d5bc..de5876d2e 100644 --- a/test/test_scim_authentication_scheme.py +++ b/test/test_scim_authentication_scheme.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimAuthenticationScheme: """Test ScimAuthenticationScheme - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimAuthenticationScheme` diff --git a/test/test_scim_email.py b/test/test_scim_email.py index 65fa6d6c8..cd51d1c86 100644 --- a/test/test_scim_email.py +++ b/test/test_scim_email.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimEmail: """Test ScimEmail - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimEmail` diff --git a/test/test_scim_group.py b/test/test_scim_group.py index 71f61c0f6..18e560046 100644 --- a/test/test_scim_group.py +++ b/test/test_scim_group.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimGroup: """Test ScimGroup - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimGroup` diff --git a/test/test_scim_group_member.py b/test/test_scim_group_member.py index bfc525156..da24a5d51 100644 --- a/test/test_scim_group_member.py +++ b/test/test_scim_group_member.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimGroupMember: """Test ScimGroupMember - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimGroupMember` diff --git a/test/test_scim_service_provider_config.py b/test/test_scim_service_provider_config.py index 3e6c092e8..2c34ea4d0 100644 --- a/test/test_scim_service_provider_config.py +++ b/test/test_scim_service_provider_config.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimServiceProviderConfig: """Test ScimServiceProviderConfig - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimServiceProviderConfig` diff --git a/test/test_scim_service_provider_config_bulk.py b/test/test_scim_service_provider_config_bulk.py index 3e613f2d8..0dd085882 100644 --- a/test/test_scim_service_provider_config_bulk.py +++ b/test/test_scim_service_provider_config_bulk.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimServiceProviderConfigBulk: """Test ScimServiceProviderConfigBulk - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimServiceProviderConfigBulk` diff --git a/test/test_scim_service_provider_config_change_password.py b/test/test_scim_service_provider_config_change_password.py index 526726319..bdac3143f 100644 --- a/test/test_scim_service_provider_config_change_password.py +++ b/test/test_scim_service_provider_config_change_password.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimServiceProviderConfigChangePassword: """Test ScimServiceProviderConfigChangePassword - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimServiceProviderConfigChangePassword` diff --git a/test/test_scim_service_provider_config_etag.py b/test/test_scim_service_provider_config_etag.py index a5f7fc903..29a2fa7b9 100644 --- a/test/test_scim_service_provider_config_etag.py +++ b/test/test_scim_service_provider_config_etag.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimServiceProviderConfigEtag: """Test ScimServiceProviderConfigEtag - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimServiceProviderConfigEtag` diff --git a/test/test_scim_service_provider_config_filter.py b/test/test_scim_service_provider_config_filter.py index df44b0890..a21e29bc9 100644 --- a/test/test_scim_service_provider_config_filter.py +++ b/test/test_scim_service_provider_config_filter.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimServiceProviderConfigFilter: """Test ScimServiceProviderConfigFilter - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimServiceProviderConfigFilter` diff --git a/test/test_scim_service_provider_config_patch.py b/test/test_scim_service_provider_config_patch.py index 6451e14a2..ec86b7356 100644 --- a/test/test_scim_service_provider_config_patch.py +++ b/test/test_scim_service_provider_config_patch.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimServiceProviderConfigPatch: """Test ScimServiceProviderConfigPatch - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimServiceProviderConfigPatch` diff --git a/test/test_scim_service_provider_config_sort.py b/test/test_scim_service_provider_config_sort.py index ee6076837..f35e47c25 100644 --- a/test/test_scim_service_provider_config_sort.py +++ b/test/test_scim_service_provider_config_sort.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimServiceProviderConfigSort: """Test ScimServiceProviderConfigSort - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimServiceProviderConfigSort` diff --git a/test/test_scim_user.py b/test/test_scim_user.py index a1a3d897e..acc565f3f 100644 --- a/test/test_scim_user.py +++ b/test/test_scim_user.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimUser: """Test ScimUser - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimUser` diff --git a/test/test_scim_user_list.py b/test/test_scim_user_list.py index 8043e2b5f..91924297e 100644 --- a/test/test_scim_user_list.py +++ b/test/test_scim_user_list.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> ScimUserList: """Test ScimUserList - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `ScimUserList` diff --git a/test/test_secretquestion_autocomplete_element_response.py b/test/test_secretquestion_autocomplete_element_response.py index 20fd7a239..978419ffd 100644 --- a/test/test_secretquestion_autocomplete_element_response.py +++ b/test/test_secretquestion_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SecretquestionAutocompleteElementResponse: """Test SecretquestionAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SecretquestionAutocompleteElementResponse` diff --git a/test/test_secretquestion_get_autocomplete_v2_response.py b/test/test_secretquestion_get_autocomplete_v2_response.py index a2275ec92..1d5e3c684 100644 --- a/test/test_secretquestion_get_autocomplete_v2_response.py +++ b/test/test_secretquestion_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SecretquestionGetAutocompleteV2Response: """Test SecretquestionGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SecretquestionGetAutocompleteV2Response` diff --git a/test/test_secretquestion_get_autocomplete_v2_response_m_payload.py b/test/test_secretquestion_get_autocomplete_v2_response_m_payload.py index 1108147ed..b9432a364 100644 --- a/test/test_secretquestion_get_autocomplete_v2_response_m_payload.py +++ b/test/test_secretquestion_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SecretquestionGetAutocompleteV2ResponseMPayload: """Test SecretquestionGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SecretquestionGetAutocompleteV2ResponseMPayload` diff --git a/test/test_sessionhistory_get_list_v1_response.py b/test/test_sessionhistory_get_list_v1_response.py index 9323bec07..41450818f 100644 --- a/test/test_sessionhistory_get_list_v1_response.py +++ b/test/test_sessionhistory_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SessionhistoryGetListV1Response: """Test SessionhistoryGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SessionhistoryGetListV1Response` diff --git a/test/test_sessionhistory_get_list_v1_response_m_payload.py b/test/test_sessionhistory_get_list_v1_response_m_payload.py index f1978baa1..4ddec65d6 100644 --- a/test/test_sessionhistory_get_list_v1_response_m_payload.py +++ b/test/test_sessionhistory_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SessionhistoryGetListV1ResponseMPayload: """Test SessionhistoryGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SessionhistoryGetListV1ResponseMPayload` diff --git a/test/test_sessionhistory_list_element.py b/test/test_sessionhistory_list_element.py index 086bdd3f5..ca1bb18fa 100644 --- a/test/test_sessionhistory_list_element.py +++ b/test/test_sessionhistory_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SessionhistoryListElement: """Test SessionhistoryListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SessionhistoryListElement` diff --git a/test/test_signature_create_object_v1_request.py b/test/test_signature_create_object_v1_request.py index 41964ece9..ce6144757 100644 --- a/test/test_signature_create_object_v1_request.py +++ b/test/test_signature_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureCreateObjectV1Request: """Test SignatureCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureCreateObjectV1Request` diff --git a/test/test_signature_create_object_v1_response.py b/test/test_signature_create_object_v1_response.py index c534f74cf..a605f4ae4 100644 --- a/test/test_signature_create_object_v1_response.py +++ b/test/test_signature_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureCreateObjectV1Response: """Test SignatureCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureCreateObjectV1Response` diff --git a/test/test_signature_create_object_v1_response_m_payload.py b/test/test_signature_create_object_v1_response_m_payload.py index 2ec44f4de..8dbf7a23d 100644 --- a/test/test_signature_create_object_v1_response_m_payload.py +++ b/test/test_signature_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureCreateObjectV1ResponseMPayload: """Test SignatureCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureCreateObjectV1ResponseMPayload` diff --git a/test/test_signature_delete_object_v1_response.py b/test/test_signature_delete_object_v1_response.py index 5ac1b38a3..16bb317a9 100644 --- a/test/test_signature_delete_object_v1_response.py +++ b/test/test_signature_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureDeleteObjectV1Response: """Test SignatureDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureDeleteObjectV1Response` diff --git a/test/test_signature_edit_object_v1_request.py b/test/test_signature_edit_object_v1_request.py index 90cb67afb..53c098bb6 100644 --- a/test/test_signature_edit_object_v1_request.py +++ b/test/test_signature_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureEditObjectV1Request: """Test SignatureEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureEditObjectV1Request` diff --git a/test/test_signature_edit_object_v1_response.py b/test/test_signature_edit_object_v1_response.py index 4f7b74425..b0aae0c89 100644 --- a/test/test_signature_edit_object_v1_response.py +++ b/test/test_signature_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureEditObjectV1Response: """Test SignatureEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureEditObjectV1Response` diff --git a/test/test_signature_get_object_v2_response.py b/test/test_signature_get_object_v2_response.py index 19ce1813d..de99b7bfb 100644 --- a/test/test_signature_get_object_v2_response.py +++ b/test/test_signature_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureGetObjectV2Response: """Test SignatureGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureGetObjectV2Response` diff --git a/test/test_signature_get_object_v2_response_m_payload.py b/test/test_signature_get_object_v2_response_m_payload.py index f7da5f61f..0c512bbf8 100644 --- a/test/test_signature_get_object_v2_response_m_payload.py +++ b/test/test_signature_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureGetObjectV2ResponseMPayload: """Test SignatureGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureGetObjectV2ResponseMPayload` diff --git a/test/test_signature_get_object_v3_response.py b/test/test_signature_get_object_v3_response.py new file mode 100644 index 000000000..2cd11631c --- /dev/null +++ b/test/test_signature_get_object_v3_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.signature_get_object_v3_response import SignatureGetObjectV3Response + +class TestSignatureGetObjectV3Response(unittest.TestCase): + """SignatureGetObjectV3Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SignatureGetObjectV3Response: + """Test SignatureGetObjectV3Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SignatureGetObjectV3Response` + """ + model = SignatureGetObjectV3Response() + if include_optional: + return SignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.signature_get_object_v3_response_m_payload.signature-getObject-v3-Response-mPayload( + obj_signature = eZmaxApi.models.signature_response_compound_v3.signature-ResponseCompoundV3(), ) + ) + else: + return SignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.signature_get_object_v3_response_m_payload.signature-getObject-v3-Response-mPayload( + obj_signature = eZmaxApi.models.signature_response_compound_v3.signature-ResponseCompoundV3(), ), + ) + """ + + def testSignatureGetObjectV3Response(self): + """Test SignatureGetObjectV3Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_signature_get_object_v3_response_m_payload.py b/test/test_signature_get_object_v3_response_m_payload.py new file mode 100644 index 000000000..f158ed880 --- /dev/null +++ b/test/test_signature_get_object_v3_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.signature_get_object_v3_response_m_payload import SignatureGetObjectV3ResponseMPayload + +class TestSignatureGetObjectV3ResponseMPayload(unittest.TestCase): + """SignatureGetObjectV3ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SignatureGetObjectV3ResponseMPayload: + """Test SignatureGetObjectV3ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SignatureGetObjectV3ResponseMPayload` + """ + model = SignatureGetObjectV3ResponseMPayload() + if include_optional: + return SignatureGetObjectV3ResponseMPayload( + obj_signature = eZmaxApi.models.signature_response_compound_v3.signature-ResponseCompoundV3() + ) + else: + return SignatureGetObjectV3ResponseMPayload( + obj_signature = eZmaxApi.models.signature_response_compound_v3.signature-ResponseCompoundV3(), + ) + """ + + def testSignatureGetObjectV3ResponseMPayload(self): + """Test SignatureGetObjectV3ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_signature_request.py b/test/test_signature_request.py index 3cd8c1263..7e26f6453 100644 --- a/test/test_signature_request.py +++ b/test/test_signature_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureRequest: """Test SignatureRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureRequest` @@ -37,11 +37,15 @@ def make_instance(self, include_optional) -> SignatureRequest: if include_optional: return SignatureRequest( pki_signature_id = 12, - t_signature_svg = '{"$ref":"#/components/examples/Svg/value"}' + fki_font_id = 1, + e_signature_preference = 'Text', + t_signature_svg = '{"$ref":"#/components/examples/Svg/value"}', + t_signature_svginitials = '{"$ref":"#/components/examples/Svg/value"}' ) else: return SignatureRequest( - t_signature_svg = '{"$ref":"#/components/examples/Svg/value"}', + fki_font_id = 1, + e_signature_preference = 'Text', ) """ diff --git a/test/test_signature_request_compound.py b/test/test_signature_request_compound.py index ee6a2f76e..74dfd6947 100644 --- a/test/test_signature_request_compound.py +++ b/test/test_signature_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureRequestCompound: """Test SignatureRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureRequestCompound` @@ -37,11 +37,15 @@ def make_instance(self, include_optional) -> SignatureRequestCompound: if include_optional: return SignatureRequestCompound( pki_signature_id = 12, - t_signature_svg = '{"$ref":"#/components/examples/Svg/value"}' + fki_font_id = 1, + e_signature_preference = 'Text', + t_signature_svg = '{"$ref":"#/components/examples/Svg/value"}', + t_signature_svginitials = '{"$ref":"#/components/examples/Svg/value"}' ) else: return SignatureRequestCompound( - t_signature_svg = '{"$ref":"#/components/examples/Svg/value"}', + fki_font_id = 1, + e_signature_preference = 'Text', ) """ diff --git a/test/test_signature_response.py b/test/test_signature_response.py index 26c05ebfa..8f07abe13 100644 --- a/test/test_signature_response.py +++ b/test/test_signature_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureResponse: """Test SignatureResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureResponse` @@ -37,12 +37,13 @@ def make_instance(self, include_optional) -> SignatureResponse: if include_optional: return SignatureResponse( pki_signature_id = 12, - s_signature_url = 'https://www.example.com/signature.svg' + fki_font_id = 1, + s_signature_url = 'https://www.example.com/signature.svg', + s_signature_urlinitials = 'https://www.example.com/signature.svg' ) else: return SignatureResponse( pki_signature_id = 12, - s_signature_url = 'https://www.example.com/signature.svg', ) """ diff --git a/test/test_signature_response_compound.py b/test/test_signature_response_compound.py index 7b50cdf46..7527c4233 100644 --- a/test/test_signature_response_compound.py +++ b/test/test_signature_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SignatureResponseCompound: """Test SignatureResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SignatureResponseCompound` @@ -37,12 +37,13 @@ def make_instance(self, include_optional) -> SignatureResponseCompound: if include_optional: return SignatureResponseCompound( pki_signature_id = 12, - s_signature_url = 'https://www.example.com/signature.svg' + fki_font_id = 1, + s_signature_url = 'https://www.example.com/signature.svg', + s_signature_urlinitials = 'https://www.example.com/signature.svg' ) else: return SignatureResponseCompound( pki_signature_id = 12, - s_signature_url = 'https://www.example.com/signature.svg', ) """ diff --git a/test/test_signature_response_compound_v3.py b/test/test_signature_response_compound_v3.py new file mode 100644 index 000000000..bb83c5c51 --- /dev/null +++ b/test/test_signature_response_compound_v3.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.signature_response_compound_v3 import SignatureResponseCompoundV3 + +class TestSignatureResponseCompoundV3(unittest.TestCase): + """SignatureResponseCompoundV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SignatureResponseCompoundV3: + """Test SignatureResponseCompoundV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SignatureResponseCompoundV3` + """ + model = SignatureResponseCompoundV3() + if include_optional: + return SignatureResponseCompoundV3( + pki_signature_id = 12, + fki_font_id = 1, + e_signature_preference = 'Text', + b_signature_svg = False, + b_signature_svginitials = False + ) + else: + return SignatureResponseCompoundV3( + pki_signature_id = 12, + fki_font_id = 1, + e_signature_preference = 'Text', + b_signature_svg = False, + b_signature_svginitials = False, + ) + """ + + def testSignatureResponseCompoundV3(self): + """Test SignatureResponseCompoundV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_signature_response_v3.py b/test/test_signature_response_v3.py new file mode 100644 index 000000000..8d051d0fe --- /dev/null +++ b/test/test_signature_response_v3.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.signature_response_v3 import SignatureResponseV3 + +class TestSignatureResponseV3(unittest.TestCase): + """SignatureResponseV3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SignatureResponseV3: + """Test SignatureResponseV3 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SignatureResponseV3` + """ + model = SignatureResponseV3() + if include_optional: + return SignatureResponseV3( + pki_signature_id = 12, + fki_font_id = 1, + e_signature_preference = 'Text', + b_signature_svg = False, + b_signature_svginitials = False + ) + else: + return SignatureResponseV3( + pki_signature_id = 12, + fki_font_id = 1, + e_signature_preference = 'Text', + b_signature_svg = False, + b_signature_svginitials = False, + ) + """ + + def testSignatureResponseV3(self): + """Test SignatureResponseV3""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_subnet_create_object_v1_request.py b/test/test_subnet_create_object_v1_request.py index 5f2fa5f13..72fd44185 100644 --- a/test/test_subnet_create_object_v1_request.py +++ b/test/test_subnet_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetCreateObjectV1Request: """Test SubnetCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetCreateObjectV1Request` diff --git a/test/test_subnet_create_object_v1_response.py b/test/test_subnet_create_object_v1_response.py index ecea67ed8..3a4f538c5 100644 --- a/test/test_subnet_create_object_v1_response.py +++ b/test/test_subnet_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetCreateObjectV1Response: """Test SubnetCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetCreateObjectV1Response` diff --git a/test/test_subnet_create_object_v1_response_m_payload.py b/test/test_subnet_create_object_v1_response_m_payload.py index ab6c06938..ae574f1bb 100644 --- a/test/test_subnet_create_object_v1_response_m_payload.py +++ b/test/test_subnet_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetCreateObjectV1ResponseMPayload: """Test SubnetCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetCreateObjectV1ResponseMPayload` diff --git a/test/test_subnet_delete_object_v1_response.py b/test/test_subnet_delete_object_v1_response.py index c55c246ae..b00cc9f2c 100644 --- a/test/test_subnet_delete_object_v1_response.py +++ b/test/test_subnet_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetDeleteObjectV1Response: """Test SubnetDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetDeleteObjectV1Response` diff --git a/test/test_subnet_edit_object_v1_request.py b/test/test_subnet_edit_object_v1_request.py index de9a27d6a..1c88eb7e5 100644 --- a/test/test_subnet_edit_object_v1_request.py +++ b/test/test_subnet_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetEditObjectV1Request: """Test SubnetEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetEditObjectV1Request` diff --git a/test/test_subnet_edit_object_v1_response.py b/test/test_subnet_edit_object_v1_response.py index 225495a20..2b91e6125 100644 --- a/test/test_subnet_edit_object_v1_response.py +++ b/test/test_subnet_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetEditObjectV1Response: """Test SubnetEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetEditObjectV1Response` diff --git a/test/test_subnet_get_object_v2_response.py b/test/test_subnet_get_object_v2_response.py index 84434d1a8..6d543c0d0 100644 --- a/test/test_subnet_get_object_v2_response.py +++ b/test/test_subnet_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetGetObjectV2Response: """Test SubnetGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetGetObjectV2Response` diff --git a/test/test_subnet_get_object_v2_response_m_payload.py b/test/test_subnet_get_object_v2_response_m_payload.py index faf38652e..2e1196c05 100644 --- a/test/test_subnet_get_object_v2_response_m_payload.py +++ b/test/test_subnet_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetGetObjectV2ResponseMPayload: """Test SubnetGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetGetObjectV2ResponseMPayload` diff --git a/test/test_subnet_request.py b/test/test_subnet_request.py index cfc7ebfb5..a966065e4 100644 --- a/test/test_subnet_request.py +++ b/test/test_subnet_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetRequest: """Test SubnetRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetRequest` diff --git a/test/test_subnet_request_compound.py b/test/test_subnet_request_compound.py index 42fb9cdb5..0cd27f468 100644 --- a/test/test_subnet_request_compound.py +++ b/test/test_subnet_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetRequestCompound: """Test SubnetRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetRequestCompound` diff --git a/test/test_subnet_response.py b/test/test_subnet_response.py index 70ea92c22..62db34dfc 100644 --- a/test/test_subnet_response.py +++ b/test/test_subnet_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetResponse: """Test SubnetResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetResponse` diff --git a/test/test_subnet_response_compound.py b/test/test_subnet_response_compound.py index f767804e6..341edfd2a 100644 --- a/test/test_subnet_response_compound.py +++ b/test/test_subnet_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SubnetResponseCompound: """Test SubnetResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SubnetResponseCompound` diff --git a/test/test_supply_autocomplete_element_response.py b/test/test_supply_autocomplete_element_response.py new file mode 100644 index 000000000..50c4bd98e --- /dev/null +++ b/test/test_supply_autocomplete_element_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_autocomplete_element_response import SupplyAutocompleteElementResponse + +class TestSupplyAutocompleteElementResponse(unittest.TestCase): + """SupplyAutocompleteElementResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyAutocompleteElementResponse: + """Test SupplyAutocompleteElementResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyAutocompleteElementResponse` + """ + model = SupplyAutocompleteElementResponse() + if include_optional: + return SupplyAutocompleteElementResponse( + pki_supply_id = 85, + s_supply_description_x = 'Letter paper package', + b_supply_isactive = True + ) + else: + return SupplyAutocompleteElementResponse( + pki_supply_id = 85, + s_supply_description_x = 'Letter paper package', + b_supply_isactive = True, + ) + """ + + def testSupplyAutocompleteElementResponse(self): + """Test SupplyAutocompleteElementResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_create_object_v1_request.py b/test/test_supply_create_object_v1_request.py new file mode 100644 index 000000000..9ef4728cc --- /dev/null +++ b/test/test_supply_create_object_v1_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_create_object_v1_request import SupplyCreateObjectV1Request + +class TestSupplyCreateObjectV1Request(unittest.TestCase): + """SupplyCreateObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyCreateObjectV1Request: + """Test SupplyCreateObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyCreateObjectV1Request` + """ + model = SupplyCreateObjectV1Request() + if include_optional: + return SupplyCreateObjectV1Request( + a_obj_supply = [ + eZmaxApi.models.supply_request_compound.supply-RequestCompound() + ] + ) + else: + return SupplyCreateObjectV1Request( + a_obj_supply = [ + eZmaxApi.models.supply_request_compound.supply-RequestCompound() + ], + ) + """ + + def testSupplyCreateObjectV1Request(self): + """Test SupplyCreateObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_create_object_v1_response.py b/test/test_supply_create_object_v1_response.py new file mode 100644 index 000000000..7907a24cc --- /dev/null +++ b/test/test_supply_create_object_v1_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_create_object_v1_response import SupplyCreateObjectV1Response + +class TestSupplyCreateObjectV1Response(unittest.TestCase): + """SupplyCreateObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyCreateObjectV1Response: + """Test SupplyCreateObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyCreateObjectV1Response` + """ + model = SupplyCreateObjectV1Response() + if include_optional: + return SupplyCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.supply_create_object_v1_response_m_payload.supply-createObject-v1-Response-mPayload( + a_pki_supply_id = [ + 85 + ], ) + ) + else: + return SupplyCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.supply_create_object_v1_response_m_payload.supply-createObject-v1-Response-mPayload( + a_pki_supply_id = [ + 85 + ], ), + ) + """ + + def testSupplyCreateObjectV1Response(self): + """Test SupplyCreateObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_create_object_v1_response_m_payload.py b/test/test_supply_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..ec7104478 --- /dev/null +++ b/test/test_supply_create_object_v1_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_create_object_v1_response_m_payload import SupplyCreateObjectV1ResponseMPayload + +class TestSupplyCreateObjectV1ResponseMPayload(unittest.TestCase): + """SupplyCreateObjectV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyCreateObjectV1ResponseMPayload: + """Test SupplyCreateObjectV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyCreateObjectV1ResponseMPayload` + """ + model = SupplyCreateObjectV1ResponseMPayload() + if include_optional: + return SupplyCreateObjectV1ResponseMPayload( + a_pki_supply_id = [ + 85 + ] + ) + else: + return SupplyCreateObjectV1ResponseMPayload( + a_pki_supply_id = [ + 85 + ], + ) + """ + + def testSupplyCreateObjectV1ResponseMPayload(self): + """Test SupplyCreateObjectV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_delete_object_v1_response.py b/test/test_supply_delete_object_v1_response.py new file mode 100644 index 000000000..5b45d2df1 --- /dev/null +++ b/test/test_supply_delete_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_delete_object_v1_response import SupplyDeleteObjectV1Response + +class TestSupplyDeleteObjectV1Response(unittest.TestCase): + """SupplyDeleteObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyDeleteObjectV1Response: + """Test SupplyDeleteObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyDeleteObjectV1Response` + """ + model = SupplyDeleteObjectV1Response() + if include_optional: + return SupplyDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return SupplyDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testSupplyDeleteObjectV1Response(self): + """Test SupplyDeleteObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_edit_object_v1_request.py b/test/test_supply_edit_object_v1_request.py new file mode 100644 index 000000000..804151d96 --- /dev/null +++ b/test/test_supply_edit_object_v1_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_edit_object_v1_request import SupplyEditObjectV1Request + +class TestSupplyEditObjectV1Request(unittest.TestCase): + """SupplyEditObjectV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyEditObjectV1Request: + """Test SupplyEditObjectV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyEditObjectV1Request` + """ + model = SupplyEditObjectV1Request() + if include_optional: + return SupplyEditObjectV1Request( + obj_supply = eZmaxApi.models.supply_request_compound.supply-RequestCompound() + ) + else: + return SupplyEditObjectV1Request( + obj_supply = eZmaxApi.models.supply_request_compound.supply-RequestCompound(), + ) + """ + + def testSupplyEditObjectV1Request(self): + """Test SupplyEditObjectV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_edit_object_v1_response.py b/test/test_supply_edit_object_v1_response.py new file mode 100644 index 000000000..e234bfbee --- /dev/null +++ b/test/test_supply_edit_object_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_edit_object_v1_response import SupplyEditObjectV1Response + +class TestSupplyEditObjectV1Response(unittest.TestCase): + """SupplyEditObjectV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyEditObjectV1Response: + """Test SupplyEditObjectV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyEditObjectV1Response` + """ + model = SupplyEditObjectV1Response() + if include_optional: + return SupplyEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return SupplyEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testSupplyEditObjectV1Response(self): + """Test SupplyEditObjectV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_get_autocomplete_v2_response.py b/test/test_supply_get_autocomplete_v2_response.py new file mode 100644 index 000000000..f7ac164b4 --- /dev/null +++ b/test/test_supply_get_autocomplete_v2_response.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_get_autocomplete_v2_response import SupplyGetAutocompleteV2Response + +class TestSupplyGetAutocompleteV2Response(unittest.TestCase): + """SupplyGetAutocompleteV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyGetAutocompleteV2Response: + """Test SupplyGetAutocompleteV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyGetAutocompleteV2Response` + """ + model = SupplyGetAutocompleteV2Response() + if include_optional: + return SupplyGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.supply_get_autocomplete_v2_response_m_payload.supply-getAutocomplete-v2-Response-mPayload( + a_obj_supply = [ + eZmaxApi.models.supply_autocomplete_element_response.supply-AutocompleteElement-Response( + pki_supply_id = 85, + s_supply_description_x = 'Letter paper package', + b_supply_isactive = True, ) + ], ) + ) + else: + return SupplyGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.supply_get_autocomplete_v2_response_m_payload.supply-getAutocomplete-v2-Response-mPayload( + a_obj_supply = [ + eZmaxApi.models.supply_autocomplete_element_response.supply-AutocompleteElement-Response( + pki_supply_id = 85, + s_supply_description_x = 'Letter paper package', + b_supply_isactive = True, ) + ], ), + ) + """ + + def testSupplyGetAutocompleteV2Response(self): + """Test SupplyGetAutocompleteV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_get_autocomplete_v2_response_m_payload.py b/test/test_supply_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 000000000..430b6e1c3 --- /dev/null +++ b/test/test_supply_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_get_autocomplete_v2_response_m_payload import SupplyGetAutocompleteV2ResponseMPayload + +class TestSupplyGetAutocompleteV2ResponseMPayload(unittest.TestCase): + """SupplyGetAutocompleteV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyGetAutocompleteV2ResponseMPayload: + """Test SupplyGetAutocompleteV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyGetAutocompleteV2ResponseMPayload` + """ + model = SupplyGetAutocompleteV2ResponseMPayload() + if include_optional: + return SupplyGetAutocompleteV2ResponseMPayload( + a_obj_supply = [ + eZmaxApi.models.supply_autocomplete_element_response.supply-AutocompleteElement-Response( + pki_supply_id = 85, + s_supply_description_x = 'Letter paper package', + b_supply_isactive = True, ) + ] + ) + else: + return SupplyGetAutocompleteV2ResponseMPayload( + a_obj_supply = [ + eZmaxApi.models.supply_autocomplete_element_response.supply-AutocompleteElement-Response( + pki_supply_id = 85, + s_supply_description_x = 'Letter paper package', + b_supply_isactive = True, ) + ], + ) + """ + + def testSupplyGetAutocompleteV2ResponseMPayload(self): + """Test SupplyGetAutocompleteV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_get_list_v1_response.py b/test/test_supply_get_list_v1_response.py new file mode 100644 index 000000000..efeb63ed9 --- /dev/null +++ b/test/test_supply_get_list_v1_response.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_get_list_v1_response import SupplyGetListV1Response + +class TestSupplyGetListV1Response(unittest.TestCase): + """SupplyGetListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyGetListV1Response: + """Test SupplyGetListV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyGetListV1Response` + """ + model = SupplyGetListV1Response() + if include_optional: + return SupplyGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.supply_get_list_v1_response_m_payload.supply-getList-v1-Response-mPayload() + ) + else: + return SupplyGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.supply_get_list_v1_response_m_payload.supply-getList-v1-Response-mPayload(), + ) + """ + + def testSupplyGetListV1Response(self): + """Test SupplyGetListV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_get_list_v1_response_m_payload.py b/test/test_supply_get_list_v1_response_m_payload.py new file mode 100644 index 000000000..d2d6d907d --- /dev/null +++ b/test/test_supply_get_list_v1_response_m_payload.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_get_list_v1_response_m_payload import SupplyGetListV1ResponseMPayload + +class TestSupplyGetListV1ResponseMPayload(unittest.TestCase): + """SupplyGetListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyGetListV1ResponseMPayload: + """Test SupplyGetListV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyGetListV1ResponseMPayload` + """ + model = SupplyGetListV1ResponseMPayload() + if include_optional: + return SupplyGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, + a_obj_supply = [ + eZmaxApi.models.supply_list_element.supply-ListElement( + pki_supply_id = 85, + fki_glaccount_id = 35, + fki_glaccountcontainer_id = 66, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + s_supply_description_x = 'Letter paper package', + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + s_glaccount_description_x = 'Supplies income', + s_glaccountcontainer_longdescription_x = 'Quebec', + s_variableexpense_description_x = 'Équipements de bureau', ) + ] + ) + else: + return SupplyGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, + a_obj_supply = [ + eZmaxApi.models.supply_list_element.supply-ListElement( + pki_supply_id = 85, + fki_glaccount_id = 35, + fki_glaccountcontainer_id = 66, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + s_supply_description_x = 'Letter paper package', + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + s_glaccount_description_x = 'Supplies income', + s_glaccountcontainer_longdescription_x = 'Quebec', + s_variableexpense_description_x = 'Équipements de bureau', ) + ], + ) + """ + + def testSupplyGetListV1ResponseMPayload(self): + """Test SupplyGetListV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_get_object_v2_response.py b/test/test_supply_get_object_v2_response.py new file mode 100644 index 000000000..5a195473f --- /dev/null +++ b/test/test_supply_get_object_v2_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_get_object_v2_response import SupplyGetObjectV2Response + +class TestSupplyGetObjectV2Response(unittest.TestCase): + """SupplyGetObjectV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyGetObjectV2Response: + """Test SupplyGetObjectV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyGetObjectV2Response` + """ + model = SupplyGetObjectV2Response() + if include_optional: + return SupplyGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.supply_get_object_v2_response_m_payload.supply-getObject-v2-Response-mPayload( + obj_supply = eZmaxApi.models.supply_response_compound.supply-ResponseCompound(), ) + ) + else: + return SupplyGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.supply_get_object_v2_response_m_payload.supply-getObject-v2-Response-mPayload( + obj_supply = eZmaxApi.models.supply_response_compound.supply-ResponseCompound(), ), + ) + """ + + def testSupplyGetObjectV2Response(self): + """Test SupplyGetObjectV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_get_object_v2_response_m_payload.py b/test/test_supply_get_object_v2_response_m_payload.py new file mode 100644 index 000000000..f93166e31 --- /dev/null +++ b/test/test_supply_get_object_v2_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_get_object_v2_response_m_payload import SupplyGetObjectV2ResponseMPayload + +class TestSupplyGetObjectV2ResponseMPayload(unittest.TestCase): + """SupplyGetObjectV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyGetObjectV2ResponseMPayload: + """Test SupplyGetObjectV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyGetObjectV2ResponseMPayload` + """ + model = SupplyGetObjectV2ResponseMPayload() + if include_optional: + return SupplyGetObjectV2ResponseMPayload( + obj_supply = eZmaxApi.models.supply_response_compound.supply-ResponseCompound() + ) + else: + return SupplyGetObjectV2ResponseMPayload( + obj_supply = eZmaxApi.models.supply_response_compound.supply-ResponseCompound(), + ) + """ + + def testSupplyGetObjectV2ResponseMPayload(self): + """Test SupplyGetObjectV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_list_element.py b/test/test_supply_list_element.py new file mode 100644 index 000000000..d0d103aad --- /dev/null +++ b/test/test_supply_list_element.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_list_element import SupplyListElement + +class TestSupplyListElement(unittest.TestCase): + """SupplyListElement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyListElement: + """Test SupplyListElement + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyListElement` + """ + model = SupplyListElement() + if include_optional: + return SupplyListElement( + pki_supply_id = 85, + fki_glaccount_id = 35, + fki_glaccountcontainer_id = 66, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + s_supply_description_x = 'Letter paper package', + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + s_glaccount_description_x = 'Supplies income', + s_glaccountcontainer_longdescription_x = 'Quebec', + s_variableexpense_description_x = 'Équipements de bureau' + ) + else: + return SupplyListElement( + pki_supply_id = 85, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + s_supply_description_x = 'Letter paper package', + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + ) + """ + + def testSupplyListElement(self): + """Test SupplyListElement""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_request.py b/test/test_supply_request.py new file mode 100644 index 000000000..56cecc5a2 --- /dev/null +++ b/test/test_supply_request.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_request import SupplyRequest + +class TestSupplyRequest(unittest.TestCase): + """SupplyRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyRequest: + """Test SupplyRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyRequest` + """ + model = SupplyRequest() + if include_optional: + return SupplyRequest( + pki_supply_id = 85, + fki_glaccount_id = 35, + fki_glaccountcontainer_id = 66, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True + ) + else: + return SupplyRequest( + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + ) + """ + + def testSupplyRequest(self): + """Test SupplyRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_request_compound.py b/test/test_supply_request_compound.py new file mode 100644 index 000000000..c094292eb --- /dev/null +++ b/test/test_supply_request_compound.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_request_compound import SupplyRequestCompound + +class TestSupplyRequestCompound(unittest.TestCase): + """SupplyRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyRequestCompound: + """Test SupplyRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyRequestCompound` + """ + model = SupplyRequestCompound() + if include_optional: + return SupplyRequestCompound( + pki_supply_id = 85, + fki_glaccount_id = 35, + fki_glaccountcontainer_id = 66, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True + ) + else: + return SupplyRequestCompound( + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + ) + """ + + def testSupplyRequestCompound(self): + """Test SupplyRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_response.py b/test/test_supply_response.py new file mode 100644 index 000000000..f450d2b3c --- /dev/null +++ b/test/test_supply_response.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_response import SupplyResponse + +class TestSupplyResponse(unittest.TestCase): + """SupplyResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyResponse: + """Test SupplyResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyResponse` + """ + model = SupplyResponse() + if include_optional: + return SupplyResponse( + pki_supply_id = 85, + fki_glaccount_id = 35, + fki_glaccountcontainer_id = 66, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + s_glaccount_description_x = 'Supplies income', + s_glaccountcontainer_longdescription_x = 'Quebec', + s_variableexpense_description_x = 'Équipements de bureau' + ) + else: + return SupplyResponse( + pki_supply_id = 85, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + ) + """ + + def testSupplyResponse(self): + """Test SupplyResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_supply_response_compound.py b/test/test_supply_response_compound.py new file mode 100644 index 000000000..435dadcbf --- /dev/null +++ b/test/test_supply_response_compound.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.supply_response_compound import SupplyResponseCompound + +class TestSupplyResponseCompound(unittest.TestCase): + """SupplyResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupplyResponseCompound: + """Test SupplyResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SupplyResponseCompound` + """ + model = SupplyResponseCompound() + if include_optional: + return SupplyResponseCompound( + pki_supply_id = 85, + fki_glaccount_id = 35, + fki_glaccountcontainer_id = 66, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + s_glaccount_description_x = 'Supplies income', + s_glaccountcontainer_longdescription_x = 'Quebec', + s_variableexpense_description_x = 'Équipements de bureau' + ) + else: + return SupplyResponseCompound( + pki_supply_id = 85, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + ) + """ + + def testSupplyResponseCompound(self): + """Test SupplyResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_systemconfiguration_edit_object_v1_request.py b/test/test_systemconfiguration_edit_object_v1_request.py index 1a39b7197..c489e23ea 100644 --- a/test/test_systemconfiguration_edit_object_v1_request.py +++ b/test/test_systemconfiguration_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SystemconfigurationEditObjectV1Request: """Test SystemconfigurationEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SystemconfigurationEditObjectV1Request` diff --git a/test/test_systemconfiguration_edit_object_v1_response.py b/test/test_systemconfiguration_edit_object_v1_response.py index 4b9b02551..9f307a079 100644 --- a/test/test_systemconfiguration_edit_object_v1_response.py +++ b/test/test_systemconfiguration_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SystemconfigurationEditObjectV1Response: """Test SystemconfigurationEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SystemconfigurationEditObjectV1Response` diff --git a/test/test_systemconfiguration_get_object_v2_response.py b/test/test_systemconfiguration_get_object_v2_response.py index e4f6c0580..696e0c458 100644 --- a/test/test_systemconfiguration_get_object_v2_response.py +++ b/test/test_systemconfiguration_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SystemconfigurationGetObjectV2Response: """Test SystemconfigurationGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SystemconfigurationGetObjectV2Response` diff --git a/test/test_systemconfiguration_get_object_v2_response_m_payload.py b/test/test_systemconfiguration_get_object_v2_response_m_payload.py index efdefdbad..6d3407ed1 100644 --- a/test/test_systemconfiguration_get_object_v2_response_m_payload.py +++ b/test/test_systemconfiguration_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SystemconfigurationGetObjectV2ResponseMPayload: """Test SystemconfigurationGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SystemconfigurationGetObjectV2ResponseMPayload` diff --git a/test/test_systemconfiguration_request.py b/test/test_systemconfiguration_request.py index b6c376fc6..f029bb47b 100644 --- a/test/test_systemconfiguration_request.py +++ b/test/test_systemconfiguration_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SystemconfigurationRequest: """Test SystemconfigurationRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SystemconfigurationRequest` @@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> SystemconfigurationRequest: if include_optional: return SystemconfigurationRequest( pki_systemconfiguration_id = 1, + fki_branding_id = 78, e_systemconfiguration_newexternaluseraction = 'Stage', e_systemconfiguration_language1 = 'fr_QC', e_systemconfiguration_language2 = 'en_CA', diff --git a/test/test_systemconfiguration_request_compound.py b/test/test_systemconfiguration_request_compound.py index 155639b7d..e083f8978 100644 --- a/test/test_systemconfiguration_request_compound.py +++ b/test/test_systemconfiguration_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SystemconfigurationRequestCompound: """Test SystemconfigurationRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SystemconfigurationRequestCompound` @@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> SystemconfigurationRequestCompound: if include_optional: return SystemconfigurationRequestCompound( pki_systemconfiguration_id = 1, + fki_branding_id = 78, e_systemconfiguration_newexternaluseraction = 'Stage', e_systemconfiguration_language1 = 'fr_QC', e_systemconfiguration_language2 = 'en_CA', diff --git a/test/test_systemconfiguration_response.py b/test/test_systemconfiguration_response.py index 20649d34e..7b55602dd 100644 --- a/test/test_systemconfiguration_response.py +++ b/test/test_systemconfiguration_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SystemconfigurationResponse: """Test SystemconfigurationResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SystemconfigurationResponse` @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> SystemconfigurationResponse: return SystemconfigurationResponse( pki_systemconfiguration_id = 1, fki_systemconfigurationtype_id = 28, + fki_branding_id = 78, s_systemconfigurationtype_description_x = 'eZsign (Pro)', e_systemconfiguration_newexternaluseraction = 'Stage', e_systemconfiguration_language1 = 'fr_QC', @@ -46,10 +47,12 @@ def make_instance(self, include_optional) -> SystemconfigurationResponse: e_systemconfiguration_ezsignofficeplan = 'Standard', b_systemconfiguration_ezsignpaidbyoffice = True, b_systemconfiguration_ezsignpersonnal = True, + b_systemconfiguration_hascreditcardmerchant = True, b_systemconfiguration_isdisposalactive = True, b_systemconfiguration_sspr = True, dt_systemconfiguration_readonlyexpirationstart = '2020-12-31', - dt_systemconfiguration_readonlyexpirationend = '2021-12-31' + dt_systemconfiguration_readonlyexpirationend = '2021-12-31', + obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response() ) else: return SystemconfigurationResponse( diff --git a/test/test_systemconfiguration_response_compound.py b/test/test_systemconfiguration_response_compound.py index e7cdd7089..a11e46f31 100644 --- a/test/test_systemconfiguration_response_compound.py +++ b/test/test_systemconfiguration_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> SystemconfigurationResponseCompound: """Test SystemconfigurationResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `SystemconfigurationResponseCompound` @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> SystemconfigurationResponseCompound return SystemconfigurationResponseCompound( pki_systemconfiguration_id = 1, fki_systemconfigurationtype_id = 28, + fki_branding_id = 78, s_systemconfigurationtype_description_x = 'eZsign (Pro)', e_systemconfiguration_newexternaluseraction = 'Stage', e_systemconfiguration_language1 = 'fr_QC', @@ -46,10 +47,12 @@ def make_instance(self, include_optional) -> SystemconfigurationResponseCompound e_systemconfiguration_ezsignofficeplan = 'Standard', b_systemconfiguration_ezsignpaidbyoffice = True, b_systemconfiguration_ezsignpersonnal = True, + b_systemconfiguration_hascreditcardmerchant = True, b_systemconfiguration_isdisposalactive = True, b_systemconfiguration_sspr = True, dt_systemconfiguration_readonlyexpirationstart = '2020-12-31', - dt_systemconfiguration_readonlyexpirationend = '2021-12-31' + dt_systemconfiguration_readonlyexpirationend = '2021-12-31', + obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response() ) else: return SystemconfigurationResponseCompound( diff --git a/test/test_taxassignment_autocomplete_element_response.py b/test/test_taxassignment_autocomplete_element_response.py index 7278edee6..8588e7cfd 100644 --- a/test/test_taxassignment_autocomplete_element_response.py +++ b/test/test_taxassignment_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> TaxassignmentAutocompleteElementResponse: """Test TaxassignmentAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `TaxassignmentAutocompleteElementResponse` diff --git a/test/test_taxassignment_get_autocomplete_v2_response.py b/test/test_taxassignment_get_autocomplete_v2_response.py index 4cddde982..1e85cc245 100644 --- a/test/test_taxassignment_get_autocomplete_v2_response.py +++ b/test/test_taxassignment_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> TaxassignmentGetAutocompleteV2Response: """Test TaxassignmentGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `TaxassignmentGetAutocompleteV2Response` diff --git a/test/test_taxassignment_get_autocomplete_v2_response_m_payload.py b/test/test_taxassignment_get_autocomplete_v2_response_m_payload.py index 2e2d4c48e..0574b3043 100644 --- a/test/test_taxassignment_get_autocomplete_v2_response_m_payload.py +++ b/test/test_taxassignment_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> TaxassignmentGetAutocompleteV2ResponseMPayload: """Test TaxassignmentGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `TaxassignmentGetAutocompleteV2ResponseMPayload` diff --git a/test/test_textstylestatic_request.py b/test/test_textstylestatic_request.py new file mode 100644 index 000000000..a931e340c --- /dev/null +++ b/test/test_textstylestatic_request.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.textstylestatic_request import TextstylestaticRequest + +class TestTextstylestaticRequest(unittest.TestCase): + """TextstylestaticRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TextstylestaticRequest: + """Test TextstylestaticRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `TextstylestaticRequest` + """ + model = TextstylestaticRequest() + if include_optional: + return TextstylestaticRequest( + fki_font_id = 1, + b_textstylestatic_bold = True, + b_textstylestatic_underline = True, + b_textstylestatic_italic = True, + b_textstylestatic_strikethrough = True, + i_textstylestatic_fontcolor = 3752795, + i_textstylestatic_size = 12 + ) + else: + return TextstylestaticRequest( + fki_font_id = 1, + b_textstylestatic_bold = True, + b_textstylestatic_underline = True, + b_textstylestatic_italic = True, + b_textstylestatic_strikethrough = True, + i_textstylestatic_fontcolor = 3752795, + i_textstylestatic_size = 12, + ) + """ + + def testTextstylestaticRequest(self): + """Test TextstylestaticRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_textstylestatic_request_compound.py b/test/test_textstylestatic_request_compound.py new file mode 100644 index 000000000..85c60ea38 --- /dev/null +++ b/test/test_textstylestatic_request_compound.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound + +class TestTextstylestaticRequestCompound(unittest.TestCase): + """TextstylestaticRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TextstylestaticRequestCompound: + """Test TextstylestaticRequestCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `TextstylestaticRequestCompound` + """ + model = TextstylestaticRequestCompound() + if include_optional: + return TextstylestaticRequestCompound( + fki_font_id = 1, + b_textstylestatic_bold = True, + b_textstylestatic_underline = True, + b_textstylestatic_italic = True, + b_textstylestatic_strikethrough = True, + i_textstylestatic_fontcolor = 3752795, + i_textstylestatic_size = 12 + ) + else: + return TextstylestaticRequestCompound( + fki_font_id = 1, + b_textstylestatic_bold = True, + b_textstylestatic_underline = True, + b_textstylestatic_italic = True, + b_textstylestatic_strikethrough = True, + i_textstylestatic_fontcolor = 3752795, + i_textstylestatic_size = 12, + ) + """ + + def testTextstylestaticRequestCompound(self): + """Test TextstylestaticRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_textstylestatic_response.py b/test/test_textstylestatic_response.py index bbdadf69a..73535d4bf 100644 --- a/test/test_textstylestatic_response.py +++ b/test/test_textstylestatic_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> TextstylestaticResponse: """Test TextstylestaticResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `TextstylestaticResponse` @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> TextstylestaticResponse: return TextstylestaticResponse( pki_textstylestatic_id = 216, fki_font_id = 1, + s_font_name = 'Arial', b_textstylestatic_bold = True, b_textstylestatic_underline = True, b_textstylestatic_italic = True, @@ -48,6 +49,7 @@ def make_instance(self, include_optional) -> TextstylestaticResponse: else: return TextstylestaticResponse( fki_font_id = 1, + s_font_name = 'Arial', b_textstylestatic_bold = True, b_textstylestatic_underline = True, b_textstylestatic_italic = True, diff --git a/test/test_textstylestatic_response_compound.py b/test/test_textstylestatic_response_compound.py index 20e34c4ff..aecc27300 100644 --- a/test/test_textstylestatic_response_compound.py +++ b/test/test_textstylestatic_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> TextstylestaticResponseCompound: """Test TextstylestaticResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `TextstylestaticResponseCompound` @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> TextstylestaticResponseCompound: return TextstylestaticResponseCompound( pki_textstylestatic_id = 216, fki_font_id = 1, + s_font_name = 'Arial', b_textstylestatic_bold = True, b_textstylestatic_underline = True, b_textstylestatic_italic = True, @@ -48,6 +49,7 @@ def make_instance(self, include_optional) -> TextstylestaticResponseCompound: else: return TextstylestaticResponseCompound( fki_font_id = 1, + s_font_name = 'Arial', b_textstylestatic_bold = True, b_textstylestatic_underline = True, b_textstylestatic_italic = True, diff --git a/test/test_timezone_autocomplete_element_response.py b/test/test_timezone_autocomplete_element_response.py index 21f71d4d1..0b8d134f3 100644 --- a/test/test_timezone_autocomplete_element_response.py +++ b/test/test_timezone_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> TimezoneAutocompleteElementResponse: """Test TimezoneAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `TimezoneAutocompleteElementResponse` diff --git a/test/test_timezone_get_autocomplete_v2_response.py b/test/test_timezone_get_autocomplete_v2_response.py index baf8f3539..5c18df54b 100644 --- a/test/test_timezone_get_autocomplete_v2_response.py +++ b/test/test_timezone_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> TimezoneGetAutocompleteV2Response: """Test TimezoneGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `TimezoneGetAutocompleteV2Response` diff --git a/test/test_timezone_get_autocomplete_v2_response_m_payload.py b/test/test_timezone_get_autocomplete_v2_response_m_payload.py index e347be6f5..ebe2091bf 100644 --- a/test/test_timezone_get_autocomplete_v2_response_m_payload.py +++ b/test/test_timezone_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> TimezoneGetAutocompleteV2ResponseMPayload: """Test TimezoneGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `TimezoneGetAutocompleteV2ResponseMPayload` diff --git a/test/test_tranqcontract_get_communication_count_v1_response.py b/test/test_tranqcontract_get_communication_count_v1_response.py new file mode 100644 index 000000000..68d5a7c34 --- /dev/null +++ b/test/test_tranqcontract_get_communication_count_v1_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response import TranqcontractGetCommunicationCountV1Response + +class TestTranqcontractGetCommunicationCountV1Response(unittest.TestCase): + """TranqcontractGetCommunicationCountV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TranqcontractGetCommunicationCountV1Response: + """Test TranqcontractGetCommunicationCountV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `TranqcontractGetCommunicationCountV1Response` + """ + model = TranqcontractGetCommunicationCountV1Response() + if include_optional: + return TranqcontractGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.tranqcontract_get_communication_count_v1_response_m_payload.tranqcontract-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ) + ) + else: + return TranqcontractGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.tranqcontract_get_communication_count_v1_response_m_payload.tranqcontract-getCommunicationCount-v1-Response-mPayload( + i_communication_count = 8, ), + ) + """ + + def testTranqcontractGetCommunicationCountV1Response(self): + """Test TranqcontractGetCommunicationCountV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tranqcontract_get_communication_count_v1_response_m_payload.py b/test/test_tranqcontract_get_communication_count_v1_response_m_payload.py new file mode 100644 index 000000000..37f9e24f0 --- /dev/null +++ b/test/test_tranqcontract_get_communication_count_v1_response_m_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.tranqcontract_get_communication_count_v1_response_m_payload import TranqcontractGetCommunicationCountV1ResponseMPayload + +class TestTranqcontractGetCommunicationCountV1ResponseMPayload(unittest.TestCase): + """TranqcontractGetCommunicationCountV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TranqcontractGetCommunicationCountV1ResponseMPayload: + """Test TranqcontractGetCommunicationCountV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `TranqcontractGetCommunicationCountV1ResponseMPayload` + """ + model = TranqcontractGetCommunicationCountV1ResponseMPayload() + if include_optional: + return TranqcontractGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8 + ) + else: + return TranqcontractGetCommunicationCountV1ResponseMPayload( + i_communication_count = 8, + ) + """ + + def testTranqcontractGetCommunicationCountV1ResponseMPayload(self): + """Test TranqcontractGetCommunicationCountV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tranqcontract_get_communication_list_v1_response.py b/test/test_tranqcontract_get_communication_list_v1_response.py new file mode 100644 index 000000000..f943a1d81 --- /dev/null +++ b/test/test_tranqcontract_get_communication_list_v1_response.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response import TranqcontractGetCommunicationListV1Response + +class TestTranqcontractGetCommunicationListV1Response(unittest.TestCase): + """TranqcontractGetCommunicationListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TranqcontractGetCommunicationListV1Response: + """Test TranqcontractGetCommunicationListV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `TranqcontractGetCommunicationListV1Response` + """ + model = TranqcontractGetCommunicationListV1Response() + if include_optional: + return TranqcontractGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload.tranqcontract-getCommunicationList-v1-Response-mPayload() + ) + else: + return TranqcontractGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload.tranqcontract-getCommunicationList-v1-Response-mPayload(), + ) + """ + + def testTranqcontractGetCommunicationListV1Response(self): + """Test TranqcontractGetCommunicationListV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tranqcontract_get_communication_list_v1_response_m_payload.py b/test/test_tranqcontract_get_communication_list_v1_response_m_payload.py new file mode 100644 index 000000000..79eae9cdb --- /dev/null +++ b/test/test_tranqcontract_get_communication_list_v1_response_m_payload.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload import TranqcontractGetCommunicationListV1ResponseMPayload + +class TestTranqcontractGetCommunicationListV1ResponseMPayload(unittest.TestCase): + """TranqcontractGetCommunicationListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TranqcontractGetCommunicationListV1ResponseMPayload: + """Test TranqcontractGetCommunicationListV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `TranqcontractGetCommunicationListV1ResponseMPayload` + """ + model = TranqcontractGetCommunicationListV1ResponseMPayload() + if include_optional: + return TranqcontractGetCommunicationListV1ResponseMPayload( + a_obj_communication = [ + eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( + pki_communication_id = 1, + dt_created_date = '2020-12-31 23:59:59', + e_communication_direction = 'Outbound', + e_communication_importance = 'Normal', + e_communication_type = 'Email', + i_communicationrecipient_count = 8, + s_communication_subject = 'This is an example of subject', + s_communication_sender = 'John Doe', + s_communication_recipient = 'Jane Doe', ) + ] + ) + else: + return TranqcontractGetCommunicationListV1ResponseMPayload( + a_obj_communication = [ + eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( + pki_communication_id = 1, + dt_created_date = '2020-12-31 23:59:59', + e_communication_direction = 'Outbound', + e_communication_importance = 'Normal', + e_communication_type = 'Email', + i_communicationrecipient_count = 8, + s_communication_subject = 'This is an example of subject', + s_communication_sender = 'John Doe', + s_communication_recipient = 'Jane Doe', ) + ], + ) + """ + + def testTranqcontractGetCommunicationListV1ResponseMPayload(self): + """Test TranqcontractGetCommunicationListV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tranqcontract_get_communicationrecipients_v1_response.py b/test/test_tranqcontract_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..36ec1d19e --- /dev/null +++ b/test/test_tranqcontract_get_communicationrecipients_v1_response.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response import TranqcontractGetCommunicationrecipientsV1Response + +class TestTranqcontractGetCommunicationrecipientsV1Response(unittest.TestCase): + """TranqcontractGetCommunicationrecipientsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TranqcontractGetCommunicationrecipientsV1Response: + """Test TranqcontractGetCommunicationrecipientsV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `TranqcontractGetCommunicationrecipientsV1Response` + """ + model = TranqcontractGetCommunicationrecipientsV1Response() + if include_optional: + return TranqcontractGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response_m_payload.tranqcontract-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ) + ) + else: + return TranqcontractGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response_m_payload.tranqcontract-getCommunicationrecipients-v1-Response-mPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], ), + ) + """ + + def testTranqcontractGetCommunicationrecipientsV1Response(self): + """Test TranqcontractGetCommunicationrecipientsV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tranqcontract_get_communicationrecipients_v1_response_m_payload.py b/test/test_tranqcontract_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..7448ae590 --- /dev/null +++ b/test/test_tranqcontract_get_communicationrecipients_v1_response_m_payload.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response_m_payload import TranqcontractGetCommunicationrecipientsV1ResponseMPayload + +class TestTranqcontractGetCommunicationrecipientsV1ResponseMPayload(unittest.TestCase): + """TranqcontractGetCommunicationrecipientsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TranqcontractGetCommunicationrecipientsV1ResponseMPayload: + """Test TranqcontractGetCommunicationrecipientsV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `TranqcontractGetCommunicationrecipientsV1ResponseMPayload` + """ + model = TranqcontractGetCommunicationrecipientsV1ResponseMPayload() + if include_optional: + return TranqcontractGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ] + ) + else: + return TranqcontractGetCommunicationrecipientsV1ResponseMPayload( + a_obj_communicationrecipientsgroup = [ + eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( + s_communicationrecipientsgroup_label = '', + a_obj_communicationrecipientsrecipient = [ + eZmaxApi.models.custom_communicationrecipientsrecipient_response.Custom-Communicationrecipientsrecipient-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + fki_customer_id = 18, + fki_employee_id = 31, + fki_ezsignsigner_id = 89, + fki_franchiseoffice_id = 50, + fki_user_id = 70, + fki_agentincorporation_id = 1, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezcomagent_id = 1, + fki_notary_id = 1, + fki_rewardmember_id = 1, + fki_supplier_id = 1, + e_communicationrecipientsrecipient_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ], + ) + """ + + def testTranqcontractGetCommunicationrecipientsV1ResponseMPayload(self): + """Test TranqcontractGetCommunicationrecipientsV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tranqcontract_get_communicationsenders_v1_response.py b/test/test_tranqcontract_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..f3c1a374a --- /dev/null +++ b/test/test_tranqcontract_get_communicationsenders_v1_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response import TranqcontractGetCommunicationsendersV1Response + +class TestTranqcontractGetCommunicationsendersV1Response(unittest.TestCase): + """TranqcontractGetCommunicationsendersV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TranqcontractGetCommunicationsendersV1Response: + """Test TranqcontractGetCommunicationsendersV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `TranqcontractGetCommunicationsendersV1Response` + """ + model = TranqcontractGetCommunicationsendersV1Response() + if include_optional: + return TranqcontractGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response_m_payload.tranqcontract-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ) + ) + else: + return TranqcontractGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response_m_payload.tranqcontract-getCommunicationsenders-v1-Response-mPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], ), + ) + """ + + def testTranqcontractGetCommunicationsendersV1Response(self): + """Test TranqcontractGetCommunicationsendersV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tranqcontract_get_communicationsenders_v1_response_m_payload.py b/test/test_tranqcontract_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..eee761a90 --- /dev/null +++ b/test/test_tranqcontract_get_communicationsenders_v1_response_m_payload.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response_m_payload import TranqcontractGetCommunicationsendersV1ResponseMPayload + +class TestTranqcontractGetCommunicationsendersV1ResponseMPayload(unittest.TestCase): + """TranqcontractGetCommunicationsendersV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TranqcontractGetCommunicationsendersV1ResponseMPayload: + """Test TranqcontractGetCommunicationsendersV1ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `TranqcontractGetCommunicationsendersV1ResponseMPayload` + """ + model = TranqcontractGetCommunicationsendersV1ResponseMPayload() + if include_optional: + return TranqcontractGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ] + ) + else: + return TranqcontractGetCommunicationsendersV1ResponseMPayload( + a_obj_communicationsenders = [ + eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationsender_objecttype = 'User', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_phone_fax = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), ) + ], + ) + """ + + def testTranqcontractGetCommunicationsendersV1ResponseMPayload(self): + """Test TranqcontractGetCommunicationsendersV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_user_autocomplete_element_response.py b/test/test_user_autocomplete_element_response.py index 8a04dd9d9..4eb7b6bbc 100644 --- a/test/test_user_autocomplete_element_response.py +++ b/test/test_user_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserAutocompleteElementResponse: """Test UserAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserAutocompleteElementResponse` diff --git a/test/test_user_create_ezsignuser_v1_request.py b/test/test_user_create_ezsignuser_v1_request.py index b717de51f..9b1ab39e7 100644 --- a/test/test_user_create_ezsignuser_v1_request.py +++ b/test/test_user_create_ezsignuser_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserCreateEzsignuserV1Request: """Test UserCreateEzsignuserV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserCreateEzsignuserV1Request` diff --git a/test/test_user_create_ezsignuser_v1_response.py b/test/test_user_create_ezsignuser_v1_response.py index be51070ca..34e799eed 100644 --- a/test/test_user_create_ezsignuser_v1_response.py +++ b/test/test_user_create_ezsignuser_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserCreateEzsignuserV1Response: """Test UserCreateEzsignuserV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserCreateEzsignuserV1Response` diff --git a/test/test_user_create_ezsignuser_v1_response_m_payload.py b/test/test_user_create_ezsignuser_v1_response_m_payload.py index abb0c4334..19bbe107f 100644 --- a/test/test_user_create_ezsignuser_v1_response_m_payload.py +++ b/test/test_user_create_ezsignuser_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserCreateEzsignuserV1ResponseMPayload: """Test UserCreateEzsignuserV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserCreateEzsignuserV1ResponseMPayload` diff --git a/test/test_user_create_object_v1_request.py b/test/test_user_create_object_v1_request.py index d9297a4bb..a562d2afd 100644 --- a/test/test_user_create_object_v1_request.py +++ b/test/test_user_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserCreateObjectV1Request: """Test UserCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserCreateObjectV1Request` diff --git a/test/test_user_create_object_v1_response.py b/test/test_user_create_object_v1_response.py index ee7f4e4d4..92d0c91e2 100644 --- a/test/test_user_create_object_v1_response.py +++ b/test/test_user_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserCreateObjectV1Response: """Test UserCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserCreateObjectV1Response` diff --git a/test/test_user_create_object_v1_response_m_payload.py b/test/test_user_create_object_v1_response_m_payload.py index bce948535..51192e0d2 100644 --- a/test/test_user_create_object_v1_response_m_payload.py +++ b/test/test_user_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserCreateObjectV1ResponseMPayload: """Test UserCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserCreateObjectV1ResponseMPayload` diff --git a/test/test_user_create_object_v2_request.py b/test/test_user_create_object_v2_request.py index 61d7b3f55..a02d4782c 100644 --- a/test/test_user_create_object_v2_request.py +++ b/test/test_user_create_object_v2_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserCreateObjectV2Request: """Test UserCreateObjectV2Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserCreateObjectV2Request` diff --git a/test/test_user_create_object_v2_response.py b/test/test_user_create_object_v2_response.py index 7f62c8873..33b3f8f91 100644 --- a/test/test_user_create_object_v2_response.py +++ b/test/test_user_create_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserCreateObjectV2Response: """Test UserCreateObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserCreateObjectV2Response` diff --git a/test/test_user_create_object_v2_response_m_payload.py b/test/test_user_create_object_v2_response_m_payload.py index d4d328d6b..907abcd97 100644 --- a/test/test_user_create_object_v2_response_m_payload.py +++ b/test/test_user_create_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserCreateObjectV2ResponseMPayload: """Test UserCreateObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserCreateObjectV2ResponseMPayload` diff --git a/test/test_user_edit_colleagues_v2_request.py b/test/test_user_edit_colleagues_v2_request.py new file mode 100644 index 000000000..e76a09aac --- /dev/null +++ b/test/test_user_edit_colleagues_v2_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.user_edit_colleagues_v2_request import UserEditColleaguesV2Request + +class TestUserEditColleaguesV2Request(unittest.TestCase): + """UserEditColleaguesV2Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserEditColleaguesV2Request: + """Test UserEditColleaguesV2Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `UserEditColleaguesV2Request` + """ + model = UserEditColleaguesV2Request() + if include_optional: + return UserEditColleaguesV2Request( + a_obj_colleague = [ + eZmaxApi.models.colleague_request_compound_v2.colleague-RequestCompoundV2() + ] + ) + else: + return UserEditColleaguesV2Request( + a_obj_colleague = [ + eZmaxApi.models.colleague_request_compound_v2.colleague-RequestCompoundV2() + ], + ) + """ + + def testUserEditColleaguesV2Request(self): + """Test UserEditColleaguesV2Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_user_edit_colleagues_v2_response.py b/test/test_user_edit_colleagues_v2_response.py new file mode 100644 index 000000000..0608a432d --- /dev/null +++ b/test/test_user_edit_colleagues_v2_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.user_edit_colleagues_v2_response import UserEditColleaguesV2Response + +class TestUserEditColleaguesV2Response(unittest.TestCase): + """UserEditColleaguesV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserEditColleaguesV2Response: + """Test UserEditColleaguesV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `UserEditColleaguesV2Response` + """ + model = UserEditColleaguesV2Response() + if include_optional: + return UserEditColleaguesV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.user_edit_colleagues_v2_response_m_payload.user-editColleagues-v2-Response-mPayload( + a_pki_colleague_id = [ + 60 + ], ) + ) + else: + return UserEditColleaguesV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.user_edit_colleagues_v2_response_m_payload.user-editColleagues-v2-Response-mPayload( + a_pki_colleague_id = [ + 60 + ], ), + ) + """ + + def testUserEditColleaguesV2Response(self): + """Test UserEditColleaguesV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_user_edit_colleagues_v2_response_m_payload.py b/test/test_user_edit_colleagues_v2_response_m_payload.py new file mode 100644 index 000000000..69d55e836 --- /dev/null +++ b/test/test_user_edit_colleagues_v2_response_m_payload.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.user_edit_colleagues_v2_response_m_payload import UserEditColleaguesV2ResponseMPayload + +class TestUserEditColleaguesV2ResponseMPayload(unittest.TestCase): + """UserEditColleaguesV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserEditColleaguesV2ResponseMPayload: + """Test UserEditColleaguesV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `UserEditColleaguesV2ResponseMPayload` + """ + model = UserEditColleaguesV2ResponseMPayload() + if include_optional: + return UserEditColleaguesV2ResponseMPayload( + a_pki_colleague_id = [ + 60 + ] + ) + else: + return UserEditColleaguesV2ResponseMPayload( + a_pki_colleague_id = [ + 60 + ], + ) + """ + + def testUserEditColleaguesV2ResponseMPayload(self): + """Test UserEditColleaguesV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_user_edit_object_v1_request.py b/test/test_user_edit_object_v1_request.py index 7519431ec..a0a0f0a5d 100644 --- a/test/test_user_edit_object_v1_request.py +++ b/test/test_user_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserEditObjectV1Request: """Test UserEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserEditObjectV1Request` diff --git a/test/test_user_edit_object_v1_response.py b/test/test_user_edit_object_v1_response.py index d5757f9b4..7f974e592 100644 --- a/test/test_user_edit_object_v1_response.py +++ b/test/test_user_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserEditObjectV1Response: """Test UserEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserEditObjectV1Response` diff --git a/test/test_user_edit_permissions_v1_request.py b/test/test_user_edit_permissions_v1_request.py index 223c806ec..3b127444d 100644 --- a/test/test_user_edit_permissions_v1_request.py +++ b/test/test_user_edit_permissions_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserEditPermissionsV1Request: """Test UserEditPermissionsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserEditPermissionsV1Request` diff --git a/test/test_user_edit_permissions_v1_response.py b/test/test_user_edit_permissions_v1_response.py index 78a85a5b3..41fc3deee 100644 --- a/test/test_user_edit_permissions_v1_response.py +++ b/test/test_user_edit_permissions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserEditPermissionsV1Response: """Test UserEditPermissionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserEditPermissionsV1Response` diff --git a/test/test_user_edit_permissions_v1_response_m_payload.py b/test/test_user_edit_permissions_v1_response_m_payload.py index f2195997c..98c6516a1 100644 --- a/test/test_user_edit_permissions_v1_response_m_payload.py +++ b/test/test_user_edit_permissions_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserEditPermissionsV1ResponseMPayload: """Test UserEditPermissionsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserEditPermissionsV1ResponseMPayload` diff --git a/test/test_user_get_apikeys_v1_response.py b/test/test_user_get_apikeys_v1_response.py index 3a88d7463..fb0ce8a87 100644 --- a/test/test_user_get_apikeys_v1_response.py +++ b/test/test_user_get_apikeys_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetApikeysV1Response: """Test UserGetApikeysV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetApikeysV1Response` diff --git a/test/test_user_get_apikeys_v1_response_m_payload.py b/test/test_user_get_apikeys_v1_response_m_payload.py index b3bec7c6a..ddcbe4967 100644 --- a/test/test_user_get_apikeys_v1_response_m_payload.py +++ b/test/test_user_get_apikeys_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetApikeysV1ResponseMPayload: """Test UserGetApikeysV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetApikeysV1ResponseMPayload` diff --git a/test/test_user_get_autocomplete_v2_response.py b/test/test_user_get_autocomplete_v2_response.py index e62603a5d..fe91e18ff 100644 --- a/test/test_user_get_autocomplete_v2_response.py +++ b/test/test_user_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetAutocompleteV2Response: """Test UserGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetAutocompleteV2Response` diff --git a/test/test_user_get_autocomplete_v2_response_m_payload.py b/test/test_user_get_autocomplete_v2_response_m_payload.py index 1362855c7..cd96208f1 100644 --- a/test/test_user_get_autocomplete_v2_response_m_payload.py +++ b/test/test_user_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetAutocompleteV2ResponseMPayload: """Test UserGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetAutocompleteV2ResponseMPayload` diff --git a/test/test_user_get_colleagues_v2_response.py b/test/test_user_get_colleagues_v2_response.py new file mode 100644 index 000000000..1b4e2112c --- /dev/null +++ b/test/test_user_get_colleagues_v2_response.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.user_get_colleagues_v2_response import UserGetColleaguesV2Response + +class TestUserGetColleaguesV2Response(unittest.TestCase): + """UserGetColleaguesV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGetColleaguesV2Response: + """Test UserGetColleaguesV2Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `UserGetColleaguesV2Response` + """ + model = UserGetColleaguesV2Response() + if include_optional: + return UserGetColleaguesV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.user_get_colleagues_v2_response_m_payload.user-getColleagues-v2-Response-mPayload( + a_obj_colleague = [ + eZmaxApi.models.colleague_response_compound_v2.colleague-ResponseCompoundV2() + ], + a_obj_colleague_clonable = [ + eZmaxApi.models.colleague_response_compound_v2.colleague-ResponseCompoundV2() + ], ) + ) + else: + return UserGetColleaguesV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.user_get_colleagues_v2_response_m_payload.user-getColleagues-v2-Response-mPayload( + a_obj_colleague = [ + eZmaxApi.models.colleague_response_compound_v2.colleague-ResponseCompoundV2() + ], + a_obj_colleague_clonable = [ + eZmaxApi.models.colleague_response_compound_v2.colleague-ResponseCompoundV2() + ], ), + ) + """ + + def testUserGetColleaguesV2Response(self): + """Test UserGetColleaguesV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_user_get_colleagues_v2_response_m_payload.py b/test/test_user_get_colleagues_v2_response_m_payload.py new file mode 100644 index 000000000..651181a2c --- /dev/null +++ b/test/test_user_get_colleagues_v2_response_m_payload.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.user_get_colleagues_v2_response_m_payload import UserGetColleaguesV2ResponseMPayload + +class TestUserGetColleaguesV2ResponseMPayload(unittest.TestCase): + """UserGetColleaguesV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGetColleaguesV2ResponseMPayload: + """Test UserGetColleaguesV2ResponseMPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `UserGetColleaguesV2ResponseMPayload` + """ + model = UserGetColleaguesV2ResponseMPayload() + if include_optional: + return UserGetColleaguesV2ResponseMPayload( + a_obj_colleague = [ + eZmaxApi.models.colleague_response_compound_v2.colleague-ResponseCompoundV2() + ], + a_obj_colleague_clonable = [ + eZmaxApi.models.colleague_response_compound_v2.colleague-ResponseCompoundV2() + ] + ) + else: + return UserGetColleaguesV2ResponseMPayload( + a_obj_colleague = [ + eZmaxApi.models.colleague_response_compound_v2.colleague-ResponseCompoundV2() + ], + a_obj_colleague_clonable = [ + eZmaxApi.models.colleague_response_compound_v2.colleague-ResponseCompoundV2() + ], + ) + """ + + def testUserGetColleaguesV2ResponseMPayload(self): + """Test UserGetColleaguesV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_user_get_effective_permissions_v1_response.py b/test/test_user_get_effective_permissions_v1_response.py index 2fd467cc0..2a3561bfa 100644 --- a/test/test_user_get_effective_permissions_v1_response.py +++ b/test/test_user_get_effective_permissions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetEffectivePermissionsV1Response: """Test UserGetEffectivePermissionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetEffectivePermissionsV1Response` diff --git a/test/test_user_get_effective_permissions_v1_response_m_payload.py b/test/test_user_get_effective_permissions_v1_response_m_payload.py index a20546e19..940ecae64 100644 --- a/test/test_user_get_effective_permissions_v1_response_m_payload.py +++ b/test/test_user_get_effective_permissions_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetEffectivePermissionsV1ResponseMPayload: """Test UserGetEffectivePermissionsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetEffectivePermissionsV1ResponseMPayload` diff --git a/test/test_user_get_list_v1_response.py b/test/test_user_get_list_v1_response.py index 286f8ba20..cd97b3b09 100644 --- a/test/test_user_get_list_v1_response.py +++ b/test/test_user_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetListV1Response: """Test UserGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetListV1Response` diff --git a/test/test_user_get_list_v1_response_m_payload.py b/test/test_user_get_list_v1_response_m_payload.py index 46b7d6807..908b5b394 100644 --- a/test/test_user_get_list_v1_response_m_payload.py +++ b/test/test_user_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetListV1ResponseMPayload: """Test UserGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetListV1ResponseMPayload` diff --git a/test/test_user_get_object_v2_response.py b/test/test_user_get_object_v2_response.py index a33276dfe..bd4e6a81c 100644 --- a/test/test_user_get_object_v2_response.py +++ b/test/test_user_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetObjectV2Response: """Test UserGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetObjectV2Response` diff --git a/test/test_user_get_object_v2_response_m_payload.py b/test/test_user_get_object_v2_response_m_payload.py index 73395ffea..4f7e19b00 100644 --- a/test/test_user_get_object_v2_response_m_payload.py +++ b/test/test_user_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetObjectV2ResponseMPayload: """Test UserGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetObjectV2ResponseMPayload` diff --git a/test/test_user_get_permissions_v1_response.py b/test/test_user_get_permissions_v1_response.py index 2422a6a61..dc1374321 100644 --- a/test/test_user_get_permissions_v1_response.py +++ b/test/test_user_get_permissions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetPermissionsV1Response: """Test UserGetPermissionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetPermissionsV1Response` diff --git a/test/test_user_get_permissions_v1_response_m_payload.py b/test/test_user_get_permissions_v1_response_m_payload.py index 71e443f93..81246b851 100644 --- a/test/test_user_get_permissions_v1_response_m_payload.py +++ b/test/test_user_get_permissions_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetPermissionsV1ResponseMPayload: """Test UserGetPermissionsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetPermissionsV1ResponseMPayload` diff --git a/test/test_user_get_subnets_v1_response.py b/test/test_user_get_subnets_v1_response.py index 3dcdcec05..155bc95e7 100644 --- a/test/test_user_get_subnets_v1_response.py +++ b/test/test_user_get_subnets_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetSubnetsV1Response: """Test UserGetSubnetsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetSubnetsV1Response` diff --git a/test/test_user_get_subnets_v1_response_m_payload.py b/test/test_user_get_subnets_v1_response_m_payload.py index 1a0ab92ee..7b70ac217 100644 --- a/test/test_user_get_subnets_v1_response_m_payload.py +++ b/test/test_user_get_subnets_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetSubnetsV1ResponseMPayload: """Test UserGetSubnetsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetSubnetsV1ResponseMPayload` diff --git a/test/test_user_get_usergroupexternals_v1_response.py b/test/test_user_get_usergroupexternals_v1_response.py index be170d268..558d2ffbd 100644 --- a/test/test_user_get_usergroupexternals_v1_response.py +++ b/test/test_user_get_usergroupexternals_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetUsergroupexternalsV1Response: """Test UserGetUsergroupexternalsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetUsergroupexternalsV1Response` diff --git a/test/test_user_get_usergroupexternals_v1_response_m_payload.py b/test/test_user_get_usergroupexternals_v1_response_m_payload.py index b18952594..c6a1f3597 100644 --- a/test/test_user_get_usergroupexternals_v1_response_m_payload.py +++ b/test/test_user_get_usergroupexternals_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetUsergroupexternalsV1ResponseMPayload: """Test UserGetUsergroupexternalsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetUsergroupexternalsV1ResponseMPayload` diff --git a/test/test_user_get_usergroups_v1_response.py b/test/test_user_get_usergroups_v1_response.py index bbb70f59e..9832ce458 100644 --- a/test/test_user_get_usergroups_v1_response.py +++ b/test/test_user_get_usergroups_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetUsergroupsV1Response: """Test UserGetUsergroupsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetUsergroupsV1Response` diff --git a/test/test_user_get_usergroups_v1_response_m_payload.py b/test/test_user_get_usergroups_v1_response_m_payload.py index 350e4aafb..35ac04d9b 100644 --- a/test/test_user_get_usergroups_v1_response_m_payload.py +++ b/test/test_user_get_usergroups_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserGetUsergroupsV1ResponseMPayload: """Test UserGetUsergroupsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserGetUsergroupsV1ResponseMPayload` diff --git a/test/test_user_list_element.py b/test/test_user_list_element.py index ead367fc1..71e80b51e 100644 --- a/test/test_user_list_element.py +++ b/test/test_user_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserListElement: """Test UserListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserListElement` diff --git a/test/test_user_request.py b/test/test_user_request.py index 67bdd7723..4dcba637a 100644 --- a/test/test_user_request.py +++ b/test/test_user_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserRequest: """Test UserRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserRequest` diff --git a/test/test_user_request_compound.py b/test/test_user_request_compound.py index de1d796b8..4af899b2c 100644 --- a/test/test_user_request_compound.py +++ b/test/test_user_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserRequestCompound: """Test UserRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserRequestCompound` diff --git a/test/test_user_request_compound_v2.py b/test/test_user_request_compound_v2.py index 539a9dee5..2fbed01ea 100644 --- a/test/test_user_request_compound_v2.py +++ b/test/test_user_request_compound_v2.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserRequestCompoundV2: """Test UserRequestCompoundV2 - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserRequestCompoundV2` diff --git a/test/test_user_request_v2.py b/test/test_user_request_v2.py index e60bda01e..1da9d1669 100644 --- a/test/test_user_request_v2.py +++ b/test/test_user_request_v2.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserRequestV2: """Test UserRequestV2 - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserRequestV2` diff --git a/test/test_user_response.py b/test/test_user_response.py index e64cb6ef6..996f2a0e4 100644 --- a/test/test_user_response.py +++ b/test/test_user_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserResponse: """Test UserResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserResponse` diff --git a/test/test_user_response_compound.py b/test/test_user_response_compound.py index 746357a7d..2a44a6ed0 100644 --- a/test/test_user_response_compound.py +++ b/test/test_user_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserResponseCompound: """Test UserResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserResponseCompound` diff --git a/test/test_user_send_password_reset_v1_response.py b/test/test_user_send_password_reset_v1_response.py index cda8f6ed2..b96f473ce 100644 --- a/test/test_user_send_password_reset_v1_response.py +++ b/test/test_user_send_password_reset_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserSendPasswordResetV1Response: """Test UserSendPasswordResetV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserSendPasswordResetV1Response` diff --git a/test/test_usergroup_autocomplete_element_response.py b/test/test_usergroup_autocomplete_element_response.py index 7b73d9714..826fd9f3f 100644 --- a/test/test_usergroup_autocomplete_element_response.py +++ b/test/test_usergroup_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupAutocompleteElementResponse: """Test UsergroupAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupAutocompleteElementResponse` diff --git a/test/test_usergroup_create_object_v1_request.py b/test/test_usergroup_create_object_v1_request.py index 09c848a7e..30aea87cb 100644 --- a/test/test_usergroup_create_object_v1_request.py +++ b/test/test_usergroup_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupCreateObjectV1Request: """Test UsergroupCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupCreateObjectV1Request` diff --git a/test/test_usergroup_create_object_v1_response.py b/test/test_usergroup_create_object_v1_response.py index c95850742..3a47f85b3 100644 --- a/test/test_usergroup_create_object_v1_response.py +++ b/test/test_usergroup_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupCreateObjectV1Response: """Test UsergroupCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupCreateObjectV1Response` diff --git a/test/test_usergroup_create_object_v1_response_m_payload.py b/test/test_usergroup_create_object_v1_response_m_payload.py index 70d62ef65..63ce5e798 100644 --- a/test/test_usergroup_create_object_v1_response_m_payload.py +++ b/test/test_usergroup_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupCreateObjectV1ResponseMPayload: """Test UsergroupCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupCreateObjectV1ResponseMPayload` diff --git a/test/test_usergroup_edit_object_v1_request.py b/test/test_usergroup_edit_object_v1_request.py index 721c898fd..9d5bc1ff4 100644 --- a/test/test_usergroup_edit_object_v1_request.py +++ b/test/test_usergroup_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditObjectV1Request: """Test UsergroupEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditObjectV1Request` diff --git a/test/test_usergroup_edit_object_v1_response.py b/test/test_usergroup_edit_object_v1_response.py index be45f2854..81fe22b5f 100644 --- a/test/test_usergroup_edit_object_v1_response.py +++ b/test/test_usergroup_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditObjectV1Response: """Test UsergroupEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditObjectV1Response` diff --git a/test/test_usergroup_edit_permissions_v1_request.py b/test/test_usergroup_edit_permissions_v1_request.py index c294e534e..59205efd2 100644 --- a/test/test_usergroup_edit_permissions_v1_request.py +++ b/test/test_usergroup_edit_permissions_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditPermissionsV1Request: """Test UsergroupEditPermissionsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditPermissionsV1Request` diff --git a/test/test_usergroup_edit_permissions_v1_response.py b/test/test_usergroup_edit_permissions_v1_response.py index e5b207d95..4f78ab4ad 100644 --- a/test/test_usergroup_edit_permissions_v1_response.py +++ b/test/test_usergroup_edit_permissions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditPermissionsV1Response: """Test UsergroupEditPermissionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditPermissionsV1Response` diff --git a/test/test_usergroup_edit_permissions_v1_response_m_payload.py b/test/test_usergroup_edit_permissions_v1_response_m_payload.py index e629d12bc..20fb605eb 100644 --- a/test/test_usergroup_edit_permissions_v1_response_m_payload.py +++ b/test/test_usergroup_edit_permissions_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditPermissionsV1ResponseMPayload: """Test UsergroupEditPermissionsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditPermissionsV1ResponseMPayload` diff --git a/test/test_usergroup_edit_usergroupdelegations_v1_request.py b/test/test_usergroup_edit_usergroupdelegations_v1_request.py index 822defe4b..aa77e1dfa 100644 --- a/test/test_usergroup_edit_usergroupdelegations_v1_request.py +++ b/test/test_usergroup_edit_usergroupdelegations_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditUsergroupdelegationsV1Request: """Test UsergroupEditUsergroupdelegationsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditUsergroupdelegationsV1Request` diff --git a/test/test_usergroup_edit_usergroupdelegations_v1_response.py b/test/test_usergroup_edit_usergroupdelegations_v1_response.py index fe93325af..19462e8f2 100644 --- a/test/test_usergroup_edit_usergroupdelegations_v1_response.py +++ b/test/test_usergroup_edit_usergroupdelegations_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditUsergroupdelegationsV1Response: """Test UsergroupEditUsergroupdelegationsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditUsergroupdelegationsV1Response` diff --git a/test/test_usergroup_edit_usergroupdelegations_v1_response_m_payload.py b/test/test_usergroup_edit_usergroupdelegations_v1_response_m_payload.py index 4b3d2d0b8..30204e34b 100644 --- a/test/test_usergroup_edit_usergroupdelegations_v1_response_m_payload.py +++ b/test/test_usergroup_edit_usergroupdelegations_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditUsergroupdelegationsV1ResponseMPayload: """Test UsergroupEditUsergroupdelegationsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditUsergroupdelegationsV1ResponseMPayload` diff --git a/test/test_usergroup_edit_usergroupmemberships_v1_request.py b/test/test_usergroup_edit_usergroupmemberships_v1_request.py index ae2093823..3f75cd194 100644 --- a/test/test_usergroup_edit_usergroupmemberships_v1_request.py +++ b/test/test_usergroup_edit_usergroupmemberships_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditUsergroupmembershipsV1Request: """Test UsergroupEditUsergroupmembershipsV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditUsergroupmembershipsV1Request` diff --git a/test/test_usergroup_edit_usergroupmemberships_v1_response.py b/test/test_usergroup_edit_usergroupmemberships_v1_response.py index 570ce2b54..bc955aa30 100644 --- a/test/test_usergroup_edit_usergroupmemberships_v1_response.py +++ b/test/test_usergroup_edit_usergroupmemberships_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditUsergroupmembershipsV1Response: """Test UsergroupEditUsergroupmembershipsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditUsergroupmembershipsV1Response` diff --git a/test/test_usergroup_edit_usergroupmemberships_v1_response_m_payload.py b/test/test_usergroup_edit_usergroupmemberships_v1_response_m_payload.py index b755be5c7..1e2b2ff04 100644 --- a/test/test_usergroup_edit_usergroupmemberships_v1_response_m_payload.py +++ b/test/test_usergroup_edit_usergroupmemberships_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupEditUsergroupmembershipsV1ResponseMPayload: """Test UsergroupEditUsergroupmembershipsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupEditUsergroupmembershipsV1ResponseMPayload` diff --git a/test/test_usergroup_get_autocomplete_v2_response.py b/test/test_usergroup_get_autocomplete_v2_response.py index 1bb163668..d235c473d 100644 --- a/test/test_usergroup_get_autocomplete_v2_response.py +++ b/test/test_usergroup_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetAutocompleteV2Response: """Test UsergroupGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetAutocompleteV2Response` diff --git a/test/test_usergroup_get_autocomplete_v2_response_m_payload.py b/test/test_usergroup_get_autocomplete_v2_response_m_payload.py index 19c3eee88..5bd0a4a0e 100644 --- a/test/test_usergroup_get_autocomplete_v2_response_m_payload.py +++ b/test/test_usergroup_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetAutocompleteV2ResponseMPayload: """Test UsergroupGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetAutocompleteV2ResponseMPayload` diff --git a/test/test_usergroup_get_list_v1_response.py b/test/test_usergroup_get_list_v1_response.py index c44431544..8f87f4da0 100644 --- a/test/test_usergroup_get_list_v1_response.py +++ b/test/test_usergroup_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetListV1Response: """Test UsergroupGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetListV1Response` diff --git a/test/test_usergroup_get_list_v1_response_m_payload.py b/test/test_usergroup_get_list_v1_response_m_payload.py index 9178dae7f..927d5f1b9 100644 --- a/test/test_usergroup_get_list_v1_response_m_payload.py +++ b/test/test_usergroup_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetListV1ResponseMPayload: """Test UsergroupGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetListV1ResponseMPayload` diff --git a/test/test_usergroup_get_object_v2_response.py b/test/test_usergroup_get_object_v2_response.py index 18c72563b..d758197c8 100644 --- a/test/test_usergroup_get_object_v2_response.py +++ b/test/test_usergroup_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetObjectV2Response: """Test UsergroupGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetObjectV2Response` diff --git a/test/test_usergroup_get_object_v2_response_m_payload.py b/test/test_usergroup_get_object_v2_response_m_payload.py index 52764e7f4..8a2a76c82 100644 --- a/test/test_usergroup_get_object_v2_response_m_payload.py +++ b/test/test_usergroup_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetObjectV2ResponseMPayload: """Test UsergroupGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetObjectV2ResponseMPayload` diff --git a/test/test_usergroup_get_permissions_v1_response.py b/test/test_usergroup_get_permissions_v1_response.py index dc768baa1..8f0399a6b 100644 --- a/test/test_usergroup_get_permissions_v1_response.py +++ b/test/test_usergroup_get_permissions_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetPermissionsV1Response: """Test UsergroupGetPermissionsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetPermissionsV1Response` diff --git a/test/test_usergroup_get_permissions_v1_response_m_payload.py b/test/test_usergroup_get_permissions_v1_response_m_payload.py index 2d93f41f0..dc54daa46 100644 --- a/test/test_usergroup_get_permissions_v1_response_m_payload.py +++ b/test/test_usergroup_get_permissions_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetPermissionsV1ResponseMPayload: """Test UsergroupGetPermissionsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetPermissionsV1ResponseMPayload` diff --git a/test/test_usergroup_get_usergroupdelegations_v1_response.py b/test/test_usergroup_get_usergroupdelegations_v1_response.py index 30a5fc84b..0c1450300 100644 --- a/test/test_usergroup_get_usergroupdelegations_v1_response.py +++ b/test/test_usergroup_get_usergroupdelegations_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetUsergroupdelegationsV1Response: """Test UsergroupGetUsergroupdelegationsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetUsergroupdelegationsV1Response` diff --git a/test/test_usergroup_get_usergroupdelegations_v1_response_m_payload.py b/test/test_usergroup_get_usergroupdelegations_v1_response_m_payload.py index f2b7a65dc..86c66ee92 100644 --- a/test/test_usergroup_get_usergroupdelegations_v1_response_m_payload.py +++ b/test/test_usergroup_get_usergroupdelegations_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetUsergroupdelegationsV1ResponseMPayload: """Test UsergroupGetUsergroupdelegationsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetUsergroupdelegationsV1ResponseMPayload` diff --git a/test/test_usergroup_get_usergroupmemberships_v1_response.py b/test/test_usergroup_get_usergroupmemberships_v1_response.py index 4ff477018..b1670f542 100644 --- a/test/test_usergroup_get_usergroupmemberships_v1_response.py +++ b/test/test_usergroup_get_usergroupmemberships_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetUsergroupmembershipsV1Response: """Test UsergroupGetUsergroupmembershipsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetUsergroupmembershipsV1Response` diff --git a/test/test_usergroup_get_usergroupmemberships_v1_response_m_payload.py b/test/test_usergroup_get_usergroupmemberships_v1_response_m_payload.py index 30050a900..24757b348 100644 --- a/test/test_usergroup_get_usergroupmemberships_v1_response_m_payload.py +++ b/test/test_usergroup_get_usergroupmemberships_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupGetUsergroupmembershipsV1ResponseMPayload: """Test UsergroupGetUsergroupmembershipsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupGetUsergroupmembershipsV1ResponseMPayload` diff --git a/test/test_usergroup_list_element.py b/test/test_usergroup_list_element.py index 82bc41107..805016146 100644 --- a/test/test_usergroup_list_element.py +++ b/test/test_usergroup_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupListElement: """Test UsergroupListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupListElement` diff --git a/test/test_usergroup_request.py b/test/test_usergroup_request.py index 82bc9b896..a14e7120c 100644 --- a/test/test_usergroup_request.py +++ b/test/test_usergroup_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupRequest: """Test UsergroupRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupRequest` @@ -37,6 +37,10 @@ def make_instance(self, include_optional) -> UsergroupRequest: if include_optional: return UsergroupRequest( pki_usergroup_id = 2, + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( s_usergroup_name1 = 'Direction', s_usergroup_name2 = 'Management', ) diff --git a/test/test_usergroup_request_compound.py b/test/test_usergroup_request_compound.py index 58e3d792e..e818f417f 100644 --- a/test/test_usergroup_request_compound.py +++ b/test/test_usergroup_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupRequestCompound: """Test UsergroupRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupRequestCompound` @@ -37,6 +37,10 @@ def make_instance(self, include_optional) -> UsergroupRequestCompound: if include_optional: return UsergroupRequestCompound( pki_usergroup_id = 2, + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( s_usergroup_name1 = 'Direction', s_usergroup_name2 = 'Management', ) diff --git a/test/test_usergroup_response.py b/test/test_usergroup_response.py index 567719891..3387e8649 100644 --- a/test/test_usergroup_response.py +++ b/test/test_usergroup_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupResponse: """Test UsergroupResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupResponse` @@ -40,7 +40,11 @@ def make_instance(self, include_optional) -> UsergroupResponse: obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( s_usergroup_name1 = 'Direction', s_usergroup_name2 = 'Management', ), - s_usergroup_name_x = 'Administration' + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ) ) else: return UsergroupResponse( diff --git a/test/test_usergroup_response_compound.py b/test/test_usergroup_response_compound.py index 2a5b12a5c..f17cee75d 100644 --- a/test/test_usergroup_response_compound.py +++ b/test/test_usergroup_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupResponseCompound: """Test UsergroupResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupResponseCompound` @@ -40,7 +40,11 @@ def make_instance(self, include_optional) -> UsergroupResponseCompound: obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( s_usergroup_name1 = 'Direction', s_usergroup_name2 = 'Management', ), - s_usergroup_name_x = 'Administration' + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ) ) else: return UsergroupResponseCompound( diff --git a/test/test_usergroupdelegation_create_object_v1_request.py b/test/test_usergroupdelegation_create_object_v1_request.py index 9a909602d..9174e7134 100644 --- a/test/test_usergroupdelegation_create_object_v1_request.py +++ b/test/test_usergroupdelegation_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationCreateObjectV1Request: """Test UsergroupdelegationCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationCreateObjectV1Request` diff --git a/test/test_usergroupdelegation_create_object_v1_response.py b/test/test_usergroupdelegation_create_object_v1_response.py index b7d136846..af651c6a9 100644 --- a/test/test_usergroupdelegation_create_object_v1_response.py +++ b/test/test_usergroupdelegation_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationCreateObjectV1Response: """Test UsergroupdelegationCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationCreateObjectV1Response` diff --git a/test/test_usergroupdelegation_create_object_v1_response_m_payload.py b/test/test_usergroupdelegation_create_object_v1_response_m_payload.py index a0fd79cc1..11336aa7d 100644 --- a/test/test_usergroupdelegation_create_object_v1_response_m_payload.py +++ b/test/test_usergroupdelegation_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationCreateObjectV1ResponseMPayload: """Test UsergroupdelegationCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationCreateObjectV1ResponseMPayload` diff --git a/test/test_usergroupdelegation_delete_object_v1_response.py b/test/test_usergroupdelegation_delete_object_v1_response.py index 9334f33d4..510900c38 100644 --- a/test/test_usergroupdelegation_delete_object_v1_response.py +++ b/test/test_usergroupdelegation_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationDeleteObjectV1Response: """Test UsergroupdelegationDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationDeleteObjectV1Response` diff --git a/test/test_usergroupdelegation_edit_object_v1_request.py b/test/test_usergroupdelegation_edit_object_v1_request.py index 822c1e4f1..8dc286627 100644 --- a/test/test_usergroupdelegation_edit_object_v1_request.py +++ b/test/test_usergroupdelegation_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationEditObjectV1Request: """Test UsergroupdelegationEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationEditObjectV1Request` diff --git a/test/test_usergroupdelegation_edit_object_v1_response.py b/test/test_usergroupdelegation_edit_object_v1_response.py index 2666368cc..989b06527 100644 --- a/test/test_usergroupdelegation_edit_object_v1_response.py +++ b/test/test_usergroupdelegation_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationEditObjectV1Response: """Test UsergroupdelegationEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationEditObjectV1Response` diff --git a/test/test_usergroupdelegation_get_object_v2_response.py b/test/test_usergroupdelegation_get_object_v2_response.py index e13fd85ae..10b3804d2 100644 --- a/test/test_usergroupdelegation_get_object_v2_response.py +++ b/test/test_usergroupdelegation_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationGetObjectV2Response: """Test UsergroupdelegationGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationGetObjectV2Response` diff --git a/test/test_usergroupdelegation_get_object_v2_response_m_payload.py b/test/test_usergroupdelegation_get_object_v2_response_m_payload.py index 8880d976b..24f5af0c8 100644 --- a/test/test_usergroupdelegation_get_object_v2_response_m_payload.py +++ b/test/test_usergroupdelegation_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationGetObjectV2ResponseMPayload: """Test UsergroupdelegationGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationGetObjectV2ResponseMPayload` diff --git a/test/test_usergroupdelegation_request.py b/test/test_usergroupdelegation_request.py index 5f7721d7f..894cf8804 100644 --- a/test/test_usergroupdelegation_request.py +++ b/test/test_usergroupdelegation_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationRequest: """Test UsergroupdelegationRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationRequest` diff --git a/test/test_usergroupdelegation_request_compound.py b/test/test_usergroupdelegation_request_compound.py index 711fbff3e..8a4b8db6a 100644 --- a/test/test_usergroupdelegation_request_compound.py +++ b/test/test_usergroupdelegation_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationRequestCompound: """Test UsergroupdelegationRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationRequestCompound` diff --git a/test/test_usergroupdelegation_response.py b/test/test_usergroupdelegation_response.py index 56db2e11e..b6e8951c7 100644 --- a/test/test_usergroupdelegation_response.py +++ b/test/test_usergroupdelegation_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationResponse: """Test UsergroupdelegationResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationResponse` diff --git a/test/test_usergroupdelegation_response_compound.py b/test/test_usergroupdelegation_response_compound.py index 239e521a3..086055cf0 100644 --- a/test/test_usergroupdelegation_response_compound.py +++ b/test/test_usergroupdelegation_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupdelegationResponseCompound: """Test UsergroupdelegationResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupdelegationResponseCompound` diff --git a/test/test_usergroupexternal_autocomplete_element_response.py b/test/test_usergroupexternal_autocomplete_element_response.py index 5e542fee2..2f176b3a6 100644 --- a/test/test_usergroupexternal_autocomplete_element_response.py +++ b/test/test_usergroupexternal_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalAutocompleteElementResponse: """Test UsergroupexternalAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalAutocompleteElementResponse` diff --git a/test/test_usergroupexternal_create_object_v1_request.py b/test/test_usergroupexternal_create_object_v1_request.py index b3aa71616..7deb970cc 100644 --- a/test/test_usergroupexternal_create_object_v1_request.py +++ b/test/test_usergroupexternal_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalCreateObjectV1Request: """Test UsergroupexternalCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalCreateObjectV1Request` diff --git a/test/test_usergroupexternal_create_object_v1_response.py b/test/test_usergroupexternal_create_object_v1_response.py index 35e696f6f..1a9046159 100644 --- a/test/test_usergroupexternal_create_object_v1_response.py +++ b/test/test_usergroupexternal_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalCreateObjectV1Response: """Test UsergroupexternalCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalCreateObjectV1Response` diff --git a/test/test_usergroupexternal_create_object_v1_response_m_payload.py b/test/test_usergroupexternal_create_object_v1_response_m_payload.py index a30baf7e3..2ae2a00e6 100644 --- a/test/test_usergroupexternal_create_object_v1_response_m_payload.py +++ b/test/test_usergroupexternal_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalCreateObjectV1ResponseMPayload: """Test UsergroupexternalCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalCreateObjectV1ResponseMPayload` diff --git a/test/test_usergroupexternal_delete_object_v1_response.py b/test/test_usergroupexternal_delete_object_v1_response.py index 02541dc69..5936c14f8 100644 --- a/test/test_usergroupexternal_delete_object_v1_response.py +++ b/test/test_usergroupexternal_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalDeleteObjectV1Response: """Test UsergroupexternalDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalDeleteObjectV1Response` diff --git a/test/test_usergroupexternal_edit_object_v1_request.py b/test/test_usergroupexternal_edit_object_v1_request.py index 2fafb9889..3efe14587 100644 --- a/test/test_usergroupexternal_edit_object_v1_request.py +++ b/test/test_usergroupexternal_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalEditObjectV1Request: """Test UsergroupexternalEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalEditObjectV1Request` diff --git a/test/test_usergroupexternal_edit_object_v1_response.py b/test/test_usergroupexternal_edit_object_v1_response.py index 8260c5a64..30dc46409 100644 --- a/test/test_usergroupexternal_edit_object_v1_response.py +++ b/test/test_usergroupexternal_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalEditObjectV1Response: """Test UsergroupexternalEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalEditObjectV1Response` diff --git a/test/test_usergroupexternal_get_autocomplete_v2_response.py b/test/test_usergroupexternal_get_autocomplete_v2_response.py index 424646685..2aceb0c51 100644 --- a/test/test_usergroupexternal_get_autocomplete_v2_response.py +++ b/test/test_usergroupexternal_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalGetAutocompleteV2Response: """Test UsergroupexternalGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalGetAutocompleteV2Response` diff --git a/test/test_usergroupexternal_get_autocomplete_v2_response_m_payload.py b/test/test_usergroupexternal_get_autocomplete_v2_response_m_payload.py index 92725dd29..efda64042 100644 --- a/test/test_usergroupexternal_get_autocomplete_v2_response_m_payload.py +++ b/test/test_usergroupexternal_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalGetAutocompleteV2ResponseMPayload: """Test UsergroupexternalGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalGetAutocompleteV2ResponseMPayload` diff --git a/test/test_usergroupexternal_get_list_v1_response.py b/test/test_usergroupexternal_get_list_v1_response.py index b46f6c1a1..99d45267d 100644 --- a/test/test_usergroupexternal_get_list_v1_response.py +++ b/test/test_usergroupexternal_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalGetListV1Response: """Test UsergroupexternalGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalGetListV1Response` diff --git a/test/test_usergroupexternal_get_list_v1_response_m_payload.py b/test/test_usergroupexternal_get_list_v1_response_m_payload.py index 6c58080d2..0fd9efda2 100644 --- a/test/test_usergroupexternal_get_list_v1_response_m_payload.py +++ b/test/test_usergroupexternal_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalGetListV1ResponseMPayload: """Test UsergroupexternalGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalGetListV1ResponseMPayload` diff --git a/test/test_usergroupexternal_get_object_v2_response.py b/test/test_usergroupexternal_get_object_v2_response.py index b33066841..4e9dae80b 100644 --- a/test/test_usergroupexternal_get_object_v2_response.py +++ b/test/test_usergroupexternal_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalGetObjectV2Response: """Test UsergroupexternalGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalGetObjectV2Response` diff --git a/test/test_usergroupexternal_get_object_v2_response_m_payload.py b/test/test_usergroupexternal_get_object_v2_response_m_payload.py index 43a791517..43da1a781 100644 --- a/test/test_usergroupexternal_get_object_v2_response_m_payload.py +++ b/test/test_usergroupexternal_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalGetObjectV2ResponseMPayload: """Test UsergroupexternalGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalGetObjectV2ResponseMPayload` diff --git a/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response.py b/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response.py index 01bfa4b4f..063d43e66 100644 --- a/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response.py +++ b/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalGetUsergroupexternalmembershipsV1Response: """Test UsergroupexternalGetUsergroupexternalmembershipsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalGetUsergroupexternalmembershipsV1Response` diff --git a/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.py b/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.py index 852bd1bff..e13135618 100644 --- a/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.py +++ b/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload: """Test UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload` diff --git a/test/test_usergroupexternal_get_usergroups_v1_response.py b/test/test_usergroupexternal_get_usergroups_v1_response.py index 37126ca97..9897f392b 100644 --- a/test/test_usergroupexternal_get_usergroups_v1_response.py +++ b/test/test_usergroupexternal_get_usergroups_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalGetUsergroupsV1Response: """Test UsergroupexternalGetUsergroupsV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalGetUsergroupsV1Response` diff --git a/test/test_usergroupexternal_get_usergroups_v1_response_m_payload.py b/test/test_usergroupexternal_get_usergroups_v1_response_m_payload.py index 5f7b34896..41b01bbc0 100644 --- a/test/test_usergroupexternal_get_usergroups_v1_response_m_payload.py +++ b/test/test_usergroupexternal_get_usergroups_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalGetUsergroupsV1ResponseMPayload: """Test UsergroupexternalGetUsergroupsV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalGetUsergroupsV1ResponseMPayload` diff --git a/test/test_usergroupexternal_list_element.py b/test/test_usergroupexternal_list_element.py index f6c171c16..579886885 100644 --- a/test/test_usergroupexternal_list_element.py +++ b/test/test_usergroupexternal_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalListElement: """Test UsergroupexternalListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalListElement` diff --git a/test/test_usergroupexternal_request.py b/test/test_usergroupexternal_request.py index b77c30d57..5760f9e86 100644 --- a/test/test_usergroupexternal_request.py +++ b/test/test_usergroupexternal_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalRequest: """Test UsergroupexternalRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalRequest` diff --git a/test/test_usergroupexternal_request_compound.py b/test/test_usergroupexternal_request_compound.py index 0a27239ee..14b4ed24a 100644 --- a/test/test_usergroupexternal_request_compound.py +++ b/test/test_usergroupexternal_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalRequestCompound: """Test UsergroupexternalRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalRequestCompound` diff --git a/test/test_usergroupexternal_response.py b/test/test_usergroupexternal_response.py index 0e59dd1e3..f9a574d04 100644 --- a/test/test_usergroupexternal_response.py +++ b/test/test_usergroupexternal_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalResponse: """Test UsergroupexternalResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalResponse` diff --git a/test/test_usergroupexternal_response_compound.py b/test/test_usergroupexternal_response_compound.py index c8dd66cab..4e109aae8 100644 --- a/test/test_usergroupexternal_response_compound.py +++ b/test/test_usergroupexternal_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalResponseCompound: """Test UsergroupexternalResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalResponseCompound` diff --git a/test/test_usergroupexternalmembership_response.py b/test/test_usergroupexternalmembership_response.py index 77caac36e..755d44a2b 100644 --- a/test/test_usergroupexternalmembership_response.py +++ b/test/test_usergroupexternalmembership_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalmembershipResponse: """Test UsergroupexternalmembershipResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalmembershipResponse` diff --git a/test/test_usergroupexternalmembership_response_compound.py b/test/test_usergroupexternalmembership_response_compound.py index ac29292ab..de668e720 100644 --- a/test/test_usergroupexternalmembership_response_compound.py +++ b/test/test_usergroupexternalmembership_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupexternalmembershipResponseCompound: """Test UsergroupexternalmembershipResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupexternalmembershipResponseCompound` diff --git a/test/test_usergroupmembership_create_object_v1_request.py b/test/test_usergroupmembership_create_object_v1_request.py index 942e94dbb..fab22b205 100644 --- a/test/test_usergroupmembership_create_object_v1_request.py +++ b/test/test_usergroupmembership_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipCreateObjectV1Request: """Test UsergroupmembershipCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipCreateObjectV1Request` diff --git a/test/test_usergroupmembership_create_object_v1_response.py b/test/test_usergroupmembership_create_object_v1_response.py index 39486f64f..b53378621 100644 --- a/test/test_usergroupmembership_create_object_v1_response.py +++ b/test/test_usergroupmembership_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipCreateObjectV1Response: """Test UsergroupmembershipCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipCreateObjectV1Response` diff --git a/test/test_usergroupmembership_create_object_v1_response_m_payload.py b/test/test_usergroupmembership_create_object_v1_response_m_payload.py index a8d5daa2c..e737b44ad 100644 --- a/test/test_usergroupmembership_create_object_v1_response_m_payload.py +++ b/test/test_usergroupmembership_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipCreateObjectV1ResponseMPayload: """Test UsergroupmembershipCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipCreateObjectV1ResponseMPayload` diff --git a/test/test_usergroupmembership_delete_object_v1_response.py b/test/test_usergroupmembership_delete_object_v1_response.py index bfca0a529..3511b9c57 100644 --- a/test/test_usergroupmembership_delete_object_v1_response.py +++ b/test/test_usergroupmembership_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipDeleteObjectV1Response: """Test UsergroupmembershipDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipDeleteObjectV1Response` diff --git a/test/test_usergroupmembership_edit_object_v1_request.py b/test/test_usergroupmembership_edit_object_v1_request.py index 98e081f4c..26c89fba3 100644 --- a/test/test_usergroupmembership_edit_object_v1_request.py +++ b/test/test_usergroupmembership_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipEditObjectV1Request: """Test UsergroupmembershipEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipEditObjectV1Request` diff --git a/test/test_usergroupmembership_edit_object_v1_response.py b/test/test_usergroupmembership_edit_object_v1_response.py index 74c15839a..4ef0eeffa 100644 --- a/test/test_usergroupmembership_edit_object_v1_response.py +++ b/test/test_usergroupmembership_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipEditObjectV1Response: """Test UsergroupmembershipEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipEditObjectV1Response` diff --git a/test/test_usergroupmembership_get_object_v2_response.py b/test/test_usergroupmembership_get_object_v2_response.py index a20358970..8ae8db356 100644 --- a/test/test_usergroupmembership_get_object_v2_response.py +++ b/test/test_usergroupmembership_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipGetObjectV2Response: """Test UsergroupmembershipGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipGetObjectV2Response` diff --git a/test/test_usergroupmembership_get_object_v2_response_m_payload.py b/test/test_usergroupmembership_get_object_v2_response_m_payload.py index 08a7986ce..57bcf2b2f 100644 --- a/test/test_usergroupmembership_get_object_v2_response_m_payload.py +++ b/test/test_usergroupmembership_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipGetObjectV2ResponseMPayload: """Test UsergroupmembershipGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipGetObjectV2ResponseMPayload` diff --git a/test/test_usergroupmembership_request.py b/test/test_usergroupmembership_request.py index 26c2cebec..53afc3cc4 100644 --- a/test/test_usergroupmembership_request.py +++ b/test/test_usergroupmembership_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipRequest: """Test UsergroupmembershipRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipRequest` diff --git a/test/test_usergroupmembership_request_compound.py b/test/test_usergroupmembership_request_compound.py index b07e4572c..5c47b6d8f 100644 --- a/test/test_usergroupmembership_request_compound.py +++ b/test/test_usergroupmembership_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipRequestCompound: """Test UsergroupmembershipRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipRequestCompound` diff --git a/test/test_usergroupmembership_response.py b/test/test_usergroupmembership_response.py index 91185ce0d..d5c29a277 100644 --- a/test/test_usergroupmembership_response.py +++ b/test/test_usergroupmembership_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipResponse: """Test UsergroupmembershipResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipResponse` diff --git a/test/test_usergroupmembership_response_compound.py b/test/test_usergroupmembership_response_compound.py index c5bde7290..e306de56a 100644 --- a/test/test_usergroupmembership_response_compound.py +++ b/test/test_usergroupmembership_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UsergroupmembershipResponseCompound: """Test UsergroupmembershipResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UsergroupmembershipResponseCompound` diff --git a/test/test_userlogintype_autocomplete_element_response.py b/test/test_userlogintype_autocomplete_element_response.py index 36de429f9..87d56bcf0 100644 --- a/test/test_userlogintype_autocomplete_element_response.py +++ b/test/test_userlogintype_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserlogintypeAutocompleteElementResponse: """Test UserlogintypeAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserlogintypeAutocompleteElementResponse` diff --git a/test/test_userlogintype_get_autocomplete_v2_response.py b/test/test_userlogintype_get_autocomplete_v2_response.py index dbc07801c..0411643c7 100644 --- a/test/test_userlogintype_get_autocomplete_v2_response.py +++ b/test/test_userlogintype_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserlogintypeGetAutocompleteV2Response: """Test UserlogintypeGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserlogintypeGetAutocompleteV2Response` diff --git a/test/test_userlogintype_get_autocomplete_v2_response_m_payload.py b/test/test_userlogintype_get_autocomplete_v2_response_m_payload.py index 6a7f2b898..17af5212e 100644 --- a/test/test_userlogintype_get_autocomplete_v2_response_m_payload.py +++ b/test/test_userlogintype_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserlogintypeGetAutocompleteV2ResponseMPayload: """Test UserlogintypeGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserlogintypeGetAutocompleteV2ResponseMPayload` diff --git a/test/test_userlogintype_response.py b/test/test_userlogintype_response.py index 50ed60260..140dbfcc6 100644 --- a/test/test_userlogintype_response.py +++ b/test/test_userlogintype_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserlogintypeResponse: """Test UserlogintypeResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserlogintypeResponse` diff --git a/test/test_userstaged_create_user_v1_response.py b/test/test_userstaged_create_user_v1_response.py index 9847e0011..4e6cb74e2 100644 --- a/test/test_userstaged_create_user_v1_response.py +++ b/test/test_userstaged_create_user_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedCreateUserV1Response: """Test UserstagedCreateUserV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedCreateUserV1Response` diff --git a/test/test_userstaged_create_user_v1_response_m_payload.py b/test/test_userstaged_create_user_v1_response_m_payload.py index a0f742acc..2709a2c54 100644 --- a/test/test_userstaged_create_user_v1_response_m_payload.py +++ b/test/test_userstaged_create_user_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedCreateUserV1ResponseMPayload: """Test UserstagedCreateUserV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedCreateUserV1ResponseMPayload` diff --git a/test/test_userstaged_delete_object_v1_response.py b/test/test_userstaged_delete_object_v1_response.py index 417ed5c94..9a0acbf6a 100644 --- a/test/test_userstaged_delete_object_v1_response.py +++ b/test/test_userstaged_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedDeleteObjectV1Response: """Test UserstagedDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedDeleteObjectV1Response` diff --git a/test/test_userstaged_get_list_v1_response.py b/test/test_userstaged_get_list_v1_response.py index 41cca5c0c..7114ce465 100644 --- a/test/test_userstaged_get_list_v1_response.py +++ b/test/test_userstaged_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedGetListV1Response: """Test UserstagedGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedGetListV1Response` diff --git a/test/test_userstaged_get_list_v1_response_m_payload.py b/test/test_userstaged_get_list_v1_response_m_payload.py index d5b532a1a..c1c497d31 100644 --- a/test/test_userstaged_get_list_v1_response_m_payload.py +++ b/test/test_userstaged_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedGetListV1ResponseMPayload: """Test UserstagedGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedGetListV1ResponseMPayload` diff --git a/test/test_userstaged_get_object_v2_response.py b/test/test_userstaged_get_object_v2_response.py index f0260b5c1..e55e20fd8 100644 --- a/test/test_userstaged_get_object_v2_response.py +++ b/test/test_userstaged_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedGetObjectV2Response: """Test UserstagedGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedGetObjectV2Response` diff --git a/test/test_userstaged_get_object_v2_response_m_payload.py b/test/test_userstaged_get_object_v2_response_m_payload.py index fee9a7d6a..b986418e7 100644 --- a/test/test_userstaged_get_object_v2_response_m_payload.py +++ b/test/test_userstaged_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedGetObjectV2ResponseMPayload: """Test UserstagedGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedGetObjectV2ResponseMPayload` diff --git a/test/test_userstaged_list_element.py b/test/test_userstaged_list_element.py index 8be9a878a..ff9b01a0a 100644 --- a/test/test_userstaged_list_element.py +++ b/test/test_userstaged_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedListElement: """Test UserstagedListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedListElement` diff --git a/test/test_userstaged_map_v1_request.py b/test/test_userstaged_map_v1_request.py index 94ebe6d7b..30b08aa42 100644 --- a/test/test_userstaged_map_v1_request.py +++ b/test/test_userstaged_map_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedMapV1Request: """Test UserstagedMapV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedMapV1Request` diff --git a/test/test_userstaged_map_v1_response.py b/test/test_userstaged_map_v1_response.py index 6646117eb..c366e2f0d 100644 --- a/test/test_userstaged_map_v1_response.py +++ b/test/test_userstaged_map_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedMapV1Response: """Test UserstagedMapV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedMapV1Response` diff --git a/test/test_userstaged_response.py b/test/test_userstaged_response.py index f821b22b8..d097d736f 100644 --- a/test/test_userstaged_response.py +++ b/test/test_userstaged_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedResponse: """Test UserstagedResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedResponse` diff --git a/test/test_userstaged_response_compound.py b/test/test_userstaged_response_compound.py index 226397498..868514637 100644 --- a/test/test_userstaged_response_compound.py +++ b/test/test_userstaged_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> UserstagedResponseCompound: """Test UserstagedResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `UserstagedResponseCompound` diff --git a/test/test_variableexpense_autocomplete_element_response.py b/test/test_variableexpense_autocomplete_element_response.py index b06aacdd5..5bcfea234 100644 --- a/test/test_variableexpense_autocomplete_element_response.py +++ b/test/test_variableexpense_autocomplete_element_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseAutocompleteElementResponse: """Test VariableexpenseAutocompleteElementResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseAutocompleteElementResponse` diff --git a/test/test_variableexpense_create_object_v1_request.py b/test/test_variableexpense_create_object_v1_request.py index e98286c78..bf6f6f435 100644 --- a/test/test_variableexpense_create_object_v1_request.py +++ b/test/test_variableexpense_create_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseCreateObjectV1Request: """Test VariableexpenseCreateObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseCreateObjectV1Request` diff --git a/test/test_variableexpense_create_object_v1_response.py b/test/test_variableexpense_create_object_v1_response.py index 72001b810..3f655bd07 100644 --- a/test/test_variableexpense_create_object_v1_response.py +++ b/test/test_variableexpense_create_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseCreateObjectV1Response: """Test VariableexpenseCreateObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseCreateObjectV1Response` diff --git a/test/test_variableexpense_create_object_v1_response_m_payload.py b/test/test_variableexpense_create_object_v1_response_m_payload.py index 159b99df0..4e0f0d638 100644 --- a/test/test_variableexpense_create_object_v1_response_m_payload.py +++ b/test/test_variableexpense_create_object_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseCreateObjectV1ResponseMPayload: """Test VariableexpenseCreateObjectV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseCreateObjectV1ResponseMPayload` diff --git a/test/test_variableexpense_edit_object_v1_request.py b/test/test_variableexpense_edit_object_v1_request.py index 3841e8448..5212e5d45 100644 --- a/test/test_variableexpense_edit_object_v1_request.py +++ b/test/test_variableexpense_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseEditObjectV1Request: """Test VariableexpenseEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseEditObjectV1Request` diff --git a/test/test_variableexpense_edit_object_v1_response.py b/test/test_variableexpense_edit_object_v1_response.py index 0e06989f9..930932239 100644 --- a/test/test_variableexpense_edit_object_v1_response.py +++ b/test/test_variableexpense_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseEditObjectV1Response: """Test VariableexpenseEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseEditObjectV1Response` diff --git a/test/test_variableexpense_get_autocomplete_v2_response.py b/test/test_variableexpense_get_autocomplete_v2_response.py index b5a60e341..8c8ad8d29 100644 --- a/test/test_variableexpense_get_autocomplete_v2_response.py +++ b/test/test_variableexpense_get_autocomplete_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseGetAutocompleteV2Response: """Test VariableexpenseGetAutocompleteV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseGetAutocompleteV2Response` diff --git a/test/test_variableexpense_get_autocomplete_v2_response_m_payload.py b/test/test_variableexpense_get_autocomplete_v2_response_m_payload.py index 5fb42fcf4..d5c9c6bcc 100644 --- a/test/test_variableexpense_get_autocomplete_v2_response_m_payload.py +++ b/test/test_variableexpense_get_autocomplete_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseGetAutocompleteV2ResponseMPayload: """Test VariableexpenseGetAutocompleteV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseGetAutocompleteV2ResponseMPayload` diff --git a/test/test_variableexpense_get_list_v1_response.py b/test/test_variableexpense_get_list_v1_response.py index b93c85672..4e2cbb10f 100644 --- a/test/test_variableexpense_get_list_v1_response.py +++ b/test/test_variableexpense_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseGetListV1Response: """Test VariableexpenseGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseGetListV1Response` diff --git a/test/test_variableexpense_get_list_v1_response_m_payload.py b/test/test_variableexpense_get_list_v1_response_m_payload.py index 371231b66..11b05c2af 100644 --- a/test/test_variableexpense_get_list_v1_response_m_payload.py +++ b/test/test_variableexpense_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseGetListV1ResponseMPayload: """Test VariableexpenseGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseGetListV1ResponseMPayload` diff --git a/test/test_variableexpense_get_object_v2_response.py b/test/test_variableexpense_get_object_v2_response.py index d765bf73d..31a26f52a 100644 --- a/test/test_variableexpense_get_object_v2_response.py +++ b/test/test_variableexpense_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseGetObjectV2Response: """Test VariableexpenseGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseGetObjectV2Response` diff --git a/test/test_variableexpense_get_object_v2_response_m_payload.py b/test/test_variableexpense_get_object_v2_response_m_payload.py index 3a3830893..4e4d26536 100644 --- a/test/test_variableexpense_get_object_v2_response_m_payload.py +++ b/test/test_variableexpense_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseGetObjectV2ResponseMPayload: """Test VariableexpenseGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseGetObjectV2ResponseMPayload` diff --git a/test/test_variableexpense_list_element.py b/test/test_variableexpense_list_element.py index b96c39054..db6620c11 100644 --- a/test/test_variableexpense_list_element.py +++ b/test/test_variableexpense_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseListElement: """Test VariableexpenseListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseListElement` diff --git a/test/test_variableexpense_request.py b/test/test_variableexpense_request.py index 869c9e505..9105b0a66 100644 --- a/test/test_variableexpense_request.py +++ b/test/test_variableexpense_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseRequest: """Test VariableexpenseRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseRequest` diff --git a/test/test_variableexpense_request_compound.py b/test/test_variableexpense_request_compound.py index e8bda4bca..de1dcd59a 100644 --- a/test/test_variableexpense_request_compound.py +++ b/test/test_variableexpense_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseRequestCompound: """Test VariableexpenseRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseRequestCompound` diff --git a/test/test_variableexpense_response.py b/test/test_variableexpense_response.py index dfe0e9507..c766b2035 100644 --- a/test/test_variableexpense_response.py +++ b/test/test_variableexpense_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseResponse: """Test VariableexpenseResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseResponse` diff --git a/test/test_variableexpense_response_compound.py b/test/test_variableexpense_response_compound.py index 1ff7a245c..f4de96412 100644 --- a/test/test_variableexpense_response_compound.py +++ b/test/test_variableexpense_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VariableexpenseResponseCompound: """Test VariableexpenseResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VariableexpenseResponseCompound` diff --git a/test/test_versionhistory_get_object_v2_response.py b/test/test_versionhistory_get_object_v2_response.py index 7caff4845..d39926b52 100644 --- a/test/test_versionhistory_get_object_v2_response.py +++ b/test/test_versionhistory_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VersionhistoryGetObjectV2Response: """Test VersionhistoryGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VersionhistoryGetObjectV2Response` diff --git a/test/test_versionhistory_get_object_v2_response_m_payload.py b/test/test_versionhistory_get_object_v2_response_m_payload.py index 7ac719092..2a89339c0 100644 --- a/test/test_versionhistory_get_object_v2_response_m_payload.py +++ b/test/test_versionhistory_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VersionhistoryGetObjectV2ResponseMPayload: """Test VersionhistoryGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VersionhistoryGetObjectV2ResponseMPayload` diff --git a/test/test_versionhistory_response.py b/test/test_versionhistory_response.py index 0b5947c6c..4398091e5 100644 --- a/test/test_versionhistory_response.py +++ b/test/test_versionhistory_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VersionhistoryResponse: """Test VersionhistoryResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VersionhistoryResponse` diff --git a/test/test_versionhistory_response_compound.py b/test/test_versionhistory_response_compound.py index 0e06c9e55..8cce8e86b 100644 --- a/test/test_versionhistory_response_compound.py +++ b/test/test_versionhistory_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> VersionhistoryResponseCompound: """Test VersionhistoryResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `VersionhistoryResponseCompound` diff --git a/test/test_webhook_create_object_v2_request.py b/test/test_webhook_create_object_v2_request.py index 0f92fdb6d..5db15a14d 100644 --- a/test/test_webhook_create_object_v2_request.py +++ b/test/test_webhook_create_object_v2_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookCreateObjectV2Request: """Test WebhookCreateObjectV2Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookCreateObjectV2Request` diff --git a/test/test_webhook_create_object_v2_response.py b/test/test_webhook_create_object_v2_response.py index f94c0deed..18176a04c 100644 --- a/test/test_webhook_create_object_v2_response.py +++ b/test/test_webhook_create_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookCreateObjectV2Response: """Test WebhookCreateObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookCreateObjectV2Response` diff --git a/test/test_webhook_create_object_v2_response_m_payload.py b/test/test_webhook_create_object_v2_response_m_payload.py index 2abd7cc49..a81fe921f 100644 --- a/test/test_webhook_create_object_v2_response_m_payload.py +++ b/test/test_webhook_create_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookCreateObjectV2ResponseMPayload: """Test WebhookCreateObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookCreateObjectV2ResponseMPayload` diff --git a/test/test_webhook_delete_object_v1_response.py b/test/test_webhook_delete_object_v1_response.py index 5e9c76a64..a9b2294fa 100644 --- a/test/test_webhook_delete_object_v1_response.py +++ b/test/test_webhook_delete_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookDeleteObjectV1Response: """Test WebhookDeleteObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookDeleteObjectV1Response` diff --git a/test/test_webhook_edit_object_v1_request.py b/test/test_webhook_edit_object_v1_request.py index 52c87bb18..b2f631999 100644 --- a/test/test_webhook_edit_object_v1_request.py +++ b/test/test_webhook_edit_object_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEditObjectV1Request: """Test WebhookEditObjectV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEditObjectV1Request` diff --git a/test/test_webhook_edit_object_v1_response.py b/test/test_webhook_edit_object_v1_response.py index cc147d61b..fa23b8494 100644 --- a/test/test_webhook_edit_object_v1_response.py +++ b/test/test_webhook_edit_object_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEditObjectV1Response: """Test WebhookEditObjectV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEditObjectV1Response` diff --git a/test/test_webhook_ezsign_document_completed.py b/test/test_webhook_ezsign_document_completed.py index 41268e38b..feef5bd94 100644 --- a/test/test_webhook_ezsign_document_completed.py +++ b/test/test_webhook_ezsign_document_completed.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEzsignDocumentCompleted: """Test WebhookEzsignDocumentCompleted - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEzsignDocumentCompleted` @@ -55,6 +55,7 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentCompleted: i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, s_ezsigndocument_md5initial = '012345678901234567890123456789AB', t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', s_ezsigndocument_md5signed = '012345678901234567890123456789AB', @@ -102,6 +103,7 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentCompleted: i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, s_ezsigndocument_md5initial = '012345678901234567890123456789AB', t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', s_ezsigndocument_md5signed = '012345678901234567890123456789AB', diff --git a/test/test_webhook_ezsign_document_form_completed.py b/test/test_webhook_ezsign_document_form_completed.py index 2bc32e49f..c94e600f1 100644 --- a/test/test_webhook_ezsign_document_form_completed.py +++ b/test/test_webhook_ezsign_document_form_completed.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEzsignDocumentFormCompleted: """Test WebhookEzsignDocumentFormCompleted - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEzsignDocumentFormCompleted` @@ -55,6 +55,7 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentFormCompleted: i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, s_ezsigndocument_md5initial = '012345678901234567890123456789AB', t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', s_ezsigndocument_md5signed = '012345678901234567890123456789AB', @@ -102,6 +103,7 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentFormCompleted: i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, s_ezsigndocument_md5initial = '012345678901234567890123456789AB', t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', s_ezsigndocument_md5signed = '012345678901234567890123456789AB', diff --git a/test/test_webhook_ezsign_document_unsent.py b/test/test_webhook_ezsign_document_unsent.py index 29de49368..860fc4786 100644 --- a/test/test_webhook_ezsign_document_unsent.py +++ b/test/test_webhook_ezsign_document_unsent.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEzsignDocumentUnsent: """Test WebhookEzsignDocumentUnsent - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEzsignDocumentUnsent` @@ -55,6 +55,7 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentUnsent: i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, s_ezsigndocument_md5initial = '012345678901234567890123456789AB', t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', s_ezsigndocument_md5signed = '012345678901234567890123456789AB', @@ -102,6 +103,7 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentUnsent: i_ezsigndocument_pagetotal = 4, i_ezsigndocument_signaturesigned = 3, i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, s_ezsigndocument_md5initial = '012345678901234567890123456789AB', t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', s_ezsigndocument_md5signed = '012345678901234567890123456789AB', diff --git a/test/test_webhook_ezsign_ezsignsigner_acceptclause.py b/test/test_webhook_ezsign_ezsignsigner_acceptclause.py index d09400b15..d31765ff3 100644 --- a/test/test_webhook_ezsign_ezsignsigner_acceptclause.py +++ b/test/test_webhook_ezsign_ezsignsigner_acceptclause.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerAcceptclause: """Test WebhookEzsignEzsignsignerAcceptclause - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEzsignEzsignsignerAcceptclause` @@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerAcceptclau pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -54,6 +55,8 @@ def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerAcceptclau t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', diff --git a/test/test_webhook_ezsign_ezsignsigner_connect.py b/test/test_webhook_ezsign_ezsignsigner_connect.py index 5c51ab5a1..fae771fd0 100644 --- a/test/test_webhook_ezsign_ezsignsigner_connect.py +++ b/test/test_webhook_ezsign_ezsignsigner_connect.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerConnect: """Test WebhookEzsignEzsignsignerConnect - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEzsignEzsignsignerConnect` @@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerConnect: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -54,6 +55,8 @@ def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerConnect: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', diff --git a/test/test_webhook_ezsign_folder_completed.py b/test/test_webhook_ezsign_folder_completed.py index 8b952f454..c59c47e42 100644 --- a/test/test_webhook_ezsign_folder_completed.py +++ b/test/test_webhook_ezsign_folder_completed.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEzsignFolderCompleted: """Test WebhookEzsignFolderCompleted - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEzsignFolderCompleted` @@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderCompleted: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -54,6 +55,8 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderCompleted: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', @@ -99,6 +102,7 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderCompleted: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -109,6 +113,8 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderCompleted: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', diff --git a/test/test_webhook_ezsign_folder_disposed.py b/test/test_webhook_ezsign_folder_disposed.py index b3f982d37..06ff0b64f 100644 --- a/test/test_webhook_ezsign_folder_disposed.py +++ b/test/test_webhook_ezsign_folder_disposed.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEzsignFolderDisposed: """Test WebhookEzsignFolderDisposed - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEzsignFolderDisposed` @@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderDisposed: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -54,6 +55,8 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderDisposed: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', @@ -99,6 +102,7 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderDisposed: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -109,6 +113,8 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderDisposed: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', diff --git a/test/test_webhook_ezsign_folder_sent.py b/test/test_webhook_ezsign_folder_sent.py index 212b55fee..f3293e8ac 100644 --- a/test/test_webhook_ezsign_folder_sent.py +++ b/test/test_webhook_ezsign_folder_sent.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEzsignFolderSent: """Test WebhookEzsignFolderSent - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEzsignFolderSent` @@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderSent: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -54,6 +55,8 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderSent: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', @@ -99,6 +102,7 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderSent: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -109,6 +113,8 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderSent: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', diff --git a/test/test_webhook_ezsign_folder_unsent.py b/test/test_webhook_ezsign_folder_unsent.py index dda1f5247..3eeca1604 100644 --- a/test/test_webhook_ezsign_folder_unsent.py +++ b/test/test_webhook_ezsign_folder_unsent.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEzsignFolderUnsent: """Test WebhookEzsignFolderUnsent - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEzsignFolderUnsent` @@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderUnsent: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -54,6 +55,8 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderUnsent: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', @@ -99,6 +102,7 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderUnsent: pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + fki_timezone_id = 247, e_ezsignfolder_completion = 'PerEzsigndocument', s_ezsignfoldertype_name_x = '', fki_billingentityinternal_id = 1, @@ -109,6 +113,8 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderUnsent: t_ezsignfolder_note = 'This is a note', b_ezsignfolder_isdisposable = False, e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', dt_ezsignfolder_duedate = '2020-12-31 23:59:59', dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', diff --git a/test/test_webhook_ezsign_signature_signed.py b/test/test_webhook_ezsign_signature_signed.py index 7fab83b1c..1bbe5bafc 100644 --- a/test/test_webhook_ezsign_signature_signed.py +++ b/test/test_webhook_ezsign_signature_signed.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookEzsignSignatureSigned: """Test WebhookEzsignSignatureSigned - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookEzsignSignatureSigned` @@ -45,6 +45,7 @@ def make_instance(self, include_optional) -> WebhookEzsignSignatureSigned: fki_ezsigndocument_id = 97, fki_ezsignfoldersignerassociation_id = 20, fki_ezsignsigningreason_id = 194, + fki_font_id = 1, s_ezsignsigningreason_description_x = 'I approve this document', i_ezsignpage_pagenumber = 1, i_ezsignsignature_x = 200, @@ -60,6 +61,9 @@ def make_instance(self, include_optional) -> WebhookEzsignSignatureSigned: i_ezsignsignature_validationstep = 1, s_ezsignsignature_attachmentdescription = 'Attachment', e_ezsignsignature_attachmentnamesource = 'Description', + e_ezsignsignature_consultationtrigger = 'Manual', + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, b_ezsignsignature_required = True, fki_ezsignfoldersignerassociation_id_validation = 20, dt_ezsignsignature_date = '2020-12-31 23:59:59', @@ -67,7 +71,9 @@ def make_instance(self, include_optional) -> WebhookEzsignSignatureSigned: s_ezsignsignature_description = 'Montreal', i_ezsignsignature_maxlength = 75, e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', e_ezsignsignature_dependencyrequirement = 'AllOf', + s_ezsignsignature_defaultvalue = 'Foo', s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( s_contact_firstname = 'John', @@ -90,6 +96,7 @@ def make_instance(self, include_optional) -> WebhookEzsignSignatureSigned: fki_ezsigndocument_id = 97, fki_ezsignfoldersignerassociation_id = 20, fki_ezsignsigningreason_id = 194, + fki_font_id = 1, s_ezsignsigningreason_description_x = 'I approve this document', i_ezsignpage_pagenumber = 1, i_ezsignsignature_x = 200, @@ -105,6 +112,9 @@ def make_instance(self, include_optional) -> WebhookEzsignSignatureSigned: i_ezsignsignature_validationstep = 1, s_ezsignsignature_attachmentdescription = 'Attachment', e_ezsignsignature_attachmentnamesource = 'Description', + e_ezsignsignature_consultationtrigger = 'Manual', + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, b_ezsignsignature_required = True, fki_ezsignfoldersignerassociation_id_validation = 20, dt_ezsignsignature_date = '2020-12-31 23:59:59', @@ -112,7 +122,9 @@ def make_instance(self, include_optional) -> WebhookEzsignSignatureSigned: s_ezsignsignature_description = 'Montreal', i_ezsignsignature_maxlength = 75, e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', e_ezsignsignature_dependencyrequirement = 'AllOf', + s_ezsignsignature_defaultvalue = 'Foo', s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( s_contact_firstname = 'John', diff --git a/test/test_webhook_get_history_v1_response.py b/test/test_webhook_get_history_v1_response.py index 4d7acef33..6e7ac0605 100644 --- a/test/test_webhook_get_history_v1_response.py +++ b/test/test_webhook_get_history_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookGetHistoryV1Response: """Test WebhookGetHistoryV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookGetHistoryV1Response` diff --git a/test/test_webhook_get_history_v1_response_m_payload.py b/test/test_webhook_get_history_v1_response_m_payload.py index a47192e67..6e4b81206 100644 --- a/test/test_webhook_get_history_v1_response_m_payload.py +++ b/test/test_webhook_get_history_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookGetHistoryV1ResponseMPayload: """Test WebhookGetHistoryV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookGetHistoryV1ResponseMPayload` diff --git a/test/test_webhook_get_list_v1_response.py b/test/test_webhook_get_list_v1_response.py index adc783877..3aa0f4cc0 100644 --- a/test/test_webhook_get_list_v1_response.py +++ b/test/test_webhook_get_list_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookGetListV1Response: """Test WebhookGetListV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookGetListV1Response` diff --git a/test/test_webhook_get_list_v1_response_m_payload.py b/test/test_webhook_get_list_v1_response_m_payload.py index 1e5197065..2a1de0c57 100644 --- a/test/test_webhook_get_list_v1_response_m_payload.py +++ b/test/test_webhook_get_list_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookGetListV1ResponseMPayload: """Test WebhookGetListV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookGetListV1ResponseMPayload` diff --git a/test/test_webhook_get_object_v2_response.py b/test/test_webhook_get_object_v2_response.py index 431850416..25f4bbf7a 100644 --- a/test/test_webhook_get_object_v2_response.py +++ b/test/test_webhook_get_object_v2_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookGetObjectV2Response: """Test WebhookGetObjectV2Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookGetObjectV2Response` diff --git a/test/test_webhook_get_object_v2_response_m_payload.py b/test/test_webhook_get_object_v2_response_m_payload.py index c30177975..c14b1e993 100644 --- a/test/test_webhook_get_object_v2_response_m_payload.py +++ b/test/test_webhook_get_object_v2_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookGetObjectV2ResponseMPayload: """Test WebhookGetObjectV2ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookGetObjectV2ResponseMPayload` diff --git a/test/test_webhook_list_element.py b/test/test_webhook_list_element.py index 0cd1e6331..8cb74e272 100644 --- a/test/test_webhook_list_element.py +++ b/test/test_webhook_list_element.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookListElement: """Test WebhookListElement - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookListElement` diff --git a/test/test_webhook_regenerate_apikey_v1_request.py b/test/test_webhook_regenerate_apikey_v1_request.py index 1f5ca7ffe..71e88ca78 100644 --- a/test/test_webhook_regenerate_apikey_v1_request.py +++ b/test/test_webhook_regenerate_apikey_v1_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookRegenerateApikeyV1Request: """Test WebhookRegenerateApikeyV1Request - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookRegenerateApikeyV1Request` diff --git a/test/test_webhook_regenerate_apikey_v1_response.py b/test/test_webhook_regenerate_apikey_v1_response.py index ed56598c8..108a71638 100644 --- a/test/test_webhook_regenerate_apikey_v1_response.py +++ b/test/test_webhook_regenerate_apikey_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookRegenerateApikeyV1Response: """Test WebhookRegenerateApikeyV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookRegenerateApikeyV1Response` diff --git a/test/test_webhook_regenerate_apikey_v1_response_m_payload.py b/test/test_webhook_regenerate_apikey_v1_response_m_payload.py index f0b112321..f3a248995 100644 --- a/test/test_webhook_regenerate_apikey_v1_response_m_payload.py +++ b/test/test_webhook_regenerate_apikey_v1_response_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookRegenerateApikeyV1ResponseMPayload: """Test WebhookRegenerateApikeyV1ResponseMPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookRegenerateApikeyV1ResponseMPayload` diff --git a/test/test_webhook_request.py b/test/test_webhook_request.py index be038a181..e59211463 100644 --- a/test/test_webhook_request.py +++ b/test/test_webhook_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookRequest: """Test WebhookRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookRequest` @@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> WebhookRequest: if include_optional: return WebhookRequest( pki_webhook_id = 77, + fki_authenticationexternal_id = 56, fki_ezsignfoldertype_id = 5, s_webhook_description = 'Import into our system', e_webhook_module = 'Ezsign', diff --git a/test/test_webhook_request_compound.py b/test/test_webhook_request_compound.py index fc6717f57..cf6bf7a88 100644 --- a/test/test_webhook_request_compound.py +++ b/test/test_webhook_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookRequestCompound: """Test WebhookRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookRequestCompound` @@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> WebhookRequestCompound: if include_optional: return WebhookRequestCompound( pki_webhook_id = 77, + fki_authenticationexternal_id = 56, fki_ezsignfoldertype_id = 5, s_webhook_description = 'Import into our system', e_webhook_module = 'Ezsign', diff --git a/test/test_webhook_response.py b/test/test_webhook_response.py index f77daf304..17472ee1b 100644 --- a/test/test_webhook_response.py +++ b/test/test_webhook_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookResponse: """Test WebhookResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookResponse` @@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> WebhookResponse: if include_optional: return WebhookResponse( pki_webhook_id = 77, + fki_authenticationexternal_id = 56, s_webhook_description = 'Import into our system', fki_ezsignfoldertype_id = 5, s_ezsignfoldertype_name_x = 'Default', @@ -50,6 +51,7 @@ def make_instance(self, include_optional) -> WebhookResponse: b_webhook_isactive = True, b_webhook_issigned = True, b_webhook_skipsslvalidation = False, + s_authenticationexternal_description = 'Authentification', obj_audit = eZmaxApi.models.common_audit.Common-Audit( obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( fki_user_id = 70, diff --git a/test/test_webhook_response_compound.py b/test/test_webhook_response_compound.py index 4acdac5b0..40c6b420c 100644 --- a/test/test_webhook_response_compound.py +++ b/test/test_webhook_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookResponseCompound: """Test WebhookResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookResponseCompound` @@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> WebhookResponseCompound: if include_optional: return WebhookResponseCompound( pki_webhook_id = 77, + fki_authenticationexternal_id = 56, s_webhook_description = 'Import into our system', fki_ezsignfoldertype_id = 5, s_ezsignfoldertype_name_x = 'Default', @@ -50,6 +51,7 @@ def make_instance(self, include_optional) -> WebhookResponseCompound: b_webhook_isactive = True, b_webhook_issigned = True, b_webhook_skipsslvalidation = False, + s_authenticationexternal_description = 'Authentification', obj_audit = eZmaxApi.models.common_audit.Common-Audit( obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( fki_user_id = 70, diff --git a/test/test_webhook_send_webhook_v1_request.py b/test/test_webhook_send_webhook_v1_request.py new file mode 100644 index 000000000..8f7a0b41b --- /dev/null +++ b/test/test_webhook_send_webhook_v1_request.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.webhook_send_webhook_v1_request import WebhookSendWebhookV1Request + +class TestWebhookSendWebhookV1Request(unittest.TestCase): + """WebhookSendWebhookV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebhookSendWebhookV1Request: + """Test WebhookSendWebhookV1Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `WebhookSendWebhookV1Request` + """ + model = WebhookSendWebhookV1Request() + if include_optional: + return WebhookSendWebhookV1Request( + e_webhook_module = 'Ezsign', + e_webhook_ezsignevent = 'FolderCompleted', + e_webhook_managementevent = 'UserCreated', + fki_ezsignfolder_id = 33, + fki_ezsigndocument_id = 97, + fki_ezsignsigner_id = 89, + fki_user_id = 70, + fki_userstaged_id = 90 + ) + else: + return WebhookSendWebhookV1Request( + e_webhook_module = 'Ezsign', + ) + """ + + def testWebhookSendWebhookV1Request(self): + """Test WebhookSendWebhookV1Request""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_webhook_send_webhook_v1_response.py b/test/test_webhook_send_webhook_v1_response.py new file mode 100644 index 000000000..26a761d0e --- /dev/null +++ b/test/test_webhook_send_webhook_v1_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.webhook_send_webhook_v1_response import WebhookSendWebhookV1Response + +class TestWebhookSendWebhookV1Response(unittest.TestCase): + """WebhookSendWebhookV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebhookSendWebhookV1Response: + """Test WebhookSendWebhookV1Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `WebhookSendWebhookV1Response` + """ + model = WebhookSendWebhookV1Response() + if include_optional: + return WebhookSendWebhookV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} + ) + else: + return WebhookSendWebhookV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + ) + """ + + def testWebhookSendWebhookV1Response(self): + """Test WebhookSendWebhookV1Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_webhook_test_v1_response.py b/test/test_webhook_test_v1_response.py index 419e5b81e..63caa7eff 100644 --- a/test/test_webhook_test_v1_response.py +++ b/test/test_webhook_test_v1_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookTestV1Response: """Test WebhookTestV1Response - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookTestV1Response` diff --git a/test/test_webhook_user_user_created.py b/test/test_webhook_user_user_created.py index 2f53563a5..f1a1650c5 100644 --- a/test/test_webhook_user_user_created.py +++ b/test/test_webhook_user_user_created.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookUserUserCreated: """Test WebhookUserUserCreated - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookUserUserCreated` diff --git a/test/test_webhook_userstaged_userstaged_created.py b/test/test_webhook_userstaged_userstaged_created.py index c72421a04..55b9f0730 100644 --- a/test/test_webhook_userstaged_userstaged_created.py +++ b/test/test_webhook_userstaged_userstaged_created.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookUserstagedUserstagedCreated: """Test WebhookUserstagedUserstagedCreated - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookUserstagedUserstagedCreated` diff --git a/test/test_webhookheader_request.py b/test/test_webhookheader_request.py index 449c538ab..7be874969 100644 --- a/test/test_webhookheader_request.py +++ b/test/test_webhookheader_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookheaderRequest: """Test WebhookheaderRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookheaderRequest` diff --git a/test/test_webhookheader_request_compound.py b/test/test_webhookheader_request_compound.py index 95777838f..e52ae1301 100644 --- a/test/test_webhookheader_request_compound.py +++ b/test/test_webhookheader_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookheaderRequestCompound: """Test WebhookheaderRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookheaderRequestCompound` diff --git a/test/test_webhookheader_response.py b/test/test_webhookheader_response.py index a644c6487..abb0c7e24 100644 --- a/test/test_webhookheader_response.py +++ b/test/test_webhookheader_response.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookheaderResponse: """Test WebhookheaderResponse - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookheaderResponse` diff --git a/test/test_webhookheader_response_compound.py b/test/test_webhookheader_response_compound.py index b8109bd3c..86d7900bd 100644 --- a/test/test_webhookheader_response_compound.py +++ b/test/test_webhookheader_response_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebhookheaderResponseCompound: """Test WebhookheaderResponseCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebhookheaderResponseCompound` diff --git a/test/test_website_request.py b/test/test_website_request.py index 97bee1b3c..f6ef51d33 100644 --- a/test/test_website_request.py +++ b/test/test_website_request.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebsiteRequest: """Test WebsiteRequest - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebsiteRequest` @@ -36,6 +36,7 @@ def make_instance(self, include_optional) -> WebsiteRequest: model = WebsiteRequest() if include_optional: return WebsiteRequest( + pki_website_id = 145, fki_websitetype_id = 1, s_website_address = 'https://www.example.com' ) diff --git a/test/test_website_request_compound.py b/test/test_website_request_compound.py index 870b3e5bb..b528e7544 100644 --- a/test/test_website_request_compound.py +++ b/test/test_website_request_compound.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebsiteRequestCompound: """Test WebsiteRequestCompound - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebsiteRequestCompound` @@ -36,6 +36,7 @@ def make_instance(self, include_optional) -> WebsiteRequestCompound: model = WebsiteRequestCompound() if include_optional: return WebsiteRequestCompound( + pki_website_id = 145, fki_websitetype_id = 1, s_website_address = 'https://www.example.com' ) diff --git a/test/test_website_response.py b/test/test_website_response.py new file mode 100644 index 000000000..925646ce7 --- /dev/null +++ b/test/test_website_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.website_response import WebsiteResponse + +class TestWebsiteResponse(unittest.TestCase): + """WebsiteResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebsiteResponse: + """Test WebsiteResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `WebsiteResponse` + """ + model = WebsiteResponse() + if include_optional: + return WebsiteResponse( + pki_website_id = 145, + fki_websitetype_id = 1, + s_website_address = 'https://www.example.com' + ) + else: + return WebsiteResponse( + pki_website_id = 145, + fki_websitetype_id = 1, + s_website_address = 'https://www.example.com', + ) + """ + + def testWebsiteResponse(self): + """Test WebsiteResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_website_response_compound.py b/test/test_website_response_compound.py new file mode 100644 index 000000000..ebdb6692f --- /dev/null +++ b/test/test_website_response_compound.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.1 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.models.website_response_compound import WebsiteResponseCompound + +class TestWebsiteResponseCompound(unittest.TestCase): + """WebsiteResponseCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebsiteResponseCompound: + """Test WebsiteResponseCompound + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `WebsiteResponseCompound` + """ + model = WebsiteResponseCompound() + if include_optional: + return WebsiteResponseCompound( + pki_website_id = 145, + fki_websitetype_id = 1, + s_website_address = 'https://www.example.com' + ) + else: + return WebsiteResponseCompound( + pki_website_id = 145, + fki_websitetype_id = 1, + s_website_address = 'https://www.example.com', + ) + """ + + def testWebsiteResponseCompound(self): + """Test WebsiteResponseCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_websocket_request_server_get_websocket_idv1.py b/test/test_websocket_request_server_get_websocket_idv1.py index c0a32165c..cfb677e49 100644 --- a/test/test_websocket_request_server_get_websocket_idv1.py +++ b/test/test_websocket_request_server_get_websocket_idv1.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebsocketRequestServerGetWebsocketIDV1: """Test WebsocketRequestServerGetWebsocketIDV1 - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebsocketRequestServerGetWebsocketIDV1` diff --git a/test/test_websocket_response_error_v1.py b/test/test_websocket_response_error_v1.py index 12f7461e7..5abaf31ba 100644 --- a/test/test_websocket_response_error_v1.py +++ b/test/test_websocket_response_error_v1.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebsocketResponseErrorV1: """Test WebsocketResponseErrorV1 - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebsocketResponseErrorV1` diff --git a/test/test_websocket_response_error_v1_m_payload.py b/test/test_websocket_response_error_v1_m_payload.py index 5fbf77031..21df8438c 100644 --- a/test/test_websocket_response_error_v1_m_payload.py +++ b/test/test_websocket_response_error_v1_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebsocketResponseErrorV1MPayload: """Test WebsocketResponseErrorV1MPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebsocketResponseErrorV1MPayload` diff --git a/test/test_websocket_response_get_websocket_idv1.py b/test/test_websocket_response_get_websocket_idv1.py index dae337ee7..dd2ad5ab3 100644 --- a/test/test_websocket_response_get_websocket_idv1.py +++ b/test/test_websocket_response_get_websocket_idv1.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebsocketResponseGetWebsocketIDV1: """Test WebsocketResponseGetWebsocketIDV1 - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebsocketResponseGetWebsocketIDV1` diff --git a/test/test_websocket_response_get_websocket_idv1_m_payload.py b/test/test_websocket_response_get_websocket_idv1_m_payload.py index cb0235c4d..63198a0bd 100644 --- a/test/test_websocket_response_get_websocket_idv1_m_payload.py +++ b/test/test_websocket_response_get_websocket_idv1_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebsocketResponseGetWebsocketIDV1MPayload: """Test WebsocketResponseGetWebsocketIDV1MPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebsocketResponseGetWebsocketIDV1MPayload` diff --git a/test/test_websocket_response_information_v1.py b/test/test_websocket_response_information_v1.py index 7e181e945..14c44a5f4 100644 --- a/test/test_websocket_response_information_v1.py +++ b/test/test_websocket_response_information_v1.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebsocketResponseInformationV1: """Test WebsocketResponseInformationV1 - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebsocketResponseInformationV1` diff --git a/test/test_websocket_response_information_v1_m_payload.py b/test/test_websocket_response_information_v1_m_payload.py index a42124fb0..3ddcc0687 100644 --- a/test/test_websocket_response_information_v1_m_payload.py +++ b/test/test_websocket_response_information_v1_m_payload.py @@ -28,7 +28,7 @@ def tearDown(self): def make_instance(self, include_optional) -> WebsocketResponseInformationV1MPayload: """Test WebsocketResponseInformationV1MPayload - include_option is a boolean, when False only required + include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ # uncomment below to create an instance of `WebsocketResponseInformationV1MPayload`